re PR libstdc++/55741 (bootstrap fails in libstdc++-v3/src/c++11/thread.cc)
[platform/upstream/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 #  include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #  include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_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*|ppc*-*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           ppc64-*linux*|powerpc64-*linux*)
7140             LD="${LD-ld} -m elf32ppclinux"
7141             ;;
7142           s390x-*linux*)
7143             LD="${LD-ld} -m elf_s390"
7144             ;;
7145           sparc64-*linux*)
7146             LD="${LD-ld} -m elf32_sparc"
7147             ;;
7148         esac
7149         ;;
7150       *64-bit*)
7151         case $host in
7152           x86_64-*kfreebsd*-gnu)
7153             LD="${LD-ld} -m elf_x86_64_fbsd"
7154             ;;
7155           x86_64-*linux*)
7156             LD="${LD-ld} -m elf_x86_64"
7157             ;;
7158           ppc*-*linux*|powerpc*-*linux*)
7159             LD="${LD-ld} -m elf64ppc"
7160             ;;
7161           s390*-*linux*|s390*-*tpf*)
7162             LD="${LD-ld} -m elf64_s390"
7163             ;;
7164           sparc*-*linux*)
7165             LD="${LD-ld} -m elf64_sparc"
7166             ;;
7167         esac
7168         ;;
7169     esac
7170   fi
7171   rm -rf conftest*
7172   ;;
7173
7174 *-*-sco3.2v5*)
7175   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176   SAVE_CFLAGS="$CFLAGS"
7177   CFLAGS="$CFLAGS -belf"
7178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181   $as_echo_n "(cached) " >&6
7182 else
7183   ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188
7189      if test x$gcc_no_link = xyes; then
7190   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7191 fi
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h.  */
7194
7195 int
7196 main ()
7197 {
7198
7199   ;
7200   return 0;
7201 }
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204   lt_cv_cc_needs_belf=yes
7205 else
7206   lt_cv_cc_needs_belf=no
7207 fi
7208 rm -f core conftest.err conftest.$ac_objext \
7209     conftest$ac_exeext conftest.$ac_ext
7210      ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215
7216 fi
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221     CFLAGS="$SAVE_CFLAGS"
7222   fi
7223   ;;
7224 sparc*-*solaris*)
7225   # Find out which ABI we are using.
7226   echo 'int i;' > conftest.$ac_ext
7227   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228   (eval $ac_compile) 2>&5
7229   ac_status=$?
7230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231   test $ac_status = 0; }; then
7232     case `/usr/bin/file conftest.o` in
7233     *64-bit*)
7234       case $lt_cv_prog_gnu_ld in
7235       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7236       *)
7237         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238           LD="${LD-ld} -64"
7239         fi
7240         ;;
7241       esac
7242       ;;
7243     esac
7244   fi
7245   rm -rf conftest*
7246   ;;
7247 esac
7248
7249 need_locks="$enable_libtool_lock"
7250
7251
7252   case $host_os in
7253     rhapsody* | darwin*)
7254     if test -n "$ac_tool_prefix"; then
7255   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260   $as_echo_n "(cached) " >&6
7261 else
7262   if test -n "$DSYMUTIL"; then
7263   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7267 do
7268   IFS=$as_save_IFS
7269   test -z "$as_dir" && as_dir=.
7270     for ac_exec_ext in '' $ac_executable_extensions; do
7271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274     break 2
7275   fi
7276 done
7277   done
7278 IFS=$as_save_IFS
7279
7280 fi
7281 fi
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7289 fi
7290
7291
7292 fi
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294   ac_ct_DSYMUTIL=$DSYMUTIL
7295   # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300   $as_echo_n "(cached) " >&6
7301 else
7302   if test -n "$ac_ct_DSYMUTIL"; then
7303   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308   IFS=$as_save_IFS
7309   test -z "$as_dir" && as_dir=.
7310     for ac_exec_ext in '' $ac_executable_extensions; do
7311   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314     break 2
7315   fi
7316 done
7317   done
7318 IFS=$as_save_IFS
7319
7320 fi
7321 fi
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7329 fi
7330
7331   if test "x$ac_ct_DSYMUTIL" = x; then
7332     DSYMUTIL=":"
7333   else
7334     case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340     DSYMUTIL=$ac_ct_DSYMUTIL
7341   fi
7342 else
7343   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7344 fi
7345
7346     if test -n "$ac_tool_prefix"; then
7347   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352   $as_echo_n "(cached) " >&6
7353 else
7354   if test -n "$NMEDIT"; then
7355   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7359 do
7360   IFS=$as_save_IFS
7361   test -z "$as_dir" && as_dir=.
7362     for ac_exec_ext in '' $ac_executable_extensions; do
7363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366     break 2
7367   fi
7368 done
7369   done
7370 IFS=$as_save_IFS
7371
7372 fi
7373 fi
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7381 fi
7382
7383
7384 fi
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386   ac_ct_NMEDIT=$NMEDIT
7387   # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392   $as_echo_n "(cached) " >&6
7393 else
7394   if test -n "$ac_ct_NMEDIT"; then
7395   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7399 do
7400   IFS=$as_save_IFS
7401   test -z "$as_dir" && as_dir=.
7402     for ac_exec_ext in '' $ac_executable_extensions; do
7403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406     break 2
7407   fi
7408 done
7409   done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7421 fi
7422
7423   if test "x$ac_ct_NMEDIT" = x; then
7424     NMEDIT=":"
7425   else
7426     case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432     NMEDIT=$ac_ct_NMEDIT
7433   fi
7434 else
7435   NMEDIT="$ac_cv_prog_NMEDIT"
7436 fi
7437
7438     if test -n "$ac_tool_prefix"; then
7439   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444   $as_echo_n "(cached) " >&6
7445 else
7446   if test -n "$LIPO"; then
7447   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7451 do
7452   IFS=$as_save_IFS
7453   test -z "$as_dir" && as_dir=.
7454     for ac_exec_ext in '' $ac_executable_extensions; do
7455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458     break 2
7459   fi
7460 done
7461   done
7462 IFS=$as_save_IFS
7463
7464 fi
7465 fi
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7473 fi
7474
7475
7476 fi
7477 if test -z "$ac_cv_prog_LIPO"; then
7478   ac_ct_LIPO=$LIPO
7479   # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484   $as_echo_n "(cached) " >&6
7485 else
7486   if test -n "$ac_ct_LIPO"; then
7487   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7491 do
7492   IFS=$as_save_IFS
7493   test -z "$as_dir" && as_dir=.
7494     for ac_exec_ext in '' $ac_executable_extensions; do
7495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496     ac_cv_prog_ac_ct_LIPO="lipo"
7497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498     break 2
7499   fi
7500 done
7501   done
7502 IFS=$as_save_IFS
7503
7504 fi
7505 fi
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7513 fi
7514
7515   if test "x$ac_ct_LIPO" = x; then
7516     LIPO=":"
7517   else
7518     case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524     LIPO=$ac_ct_LIPO
7525   fi
7526 else
7527   LIPO="$ac_cv_prog_LIPO"
7528 fi
7529
7530     if test -n "$ac_tool_prefix"; then
7531   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536   $as_echo_n "(cached) " >&6
7537 else
7538   if test -n "$OTOOL"; then
7539   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7543 do
7544   IFS=$as_save_IFS
7545   test -z "$as_dir" && as_dir=.
7546     for ac_exec_ext in '' $ac_executable_extensions; do
7547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550     break 2
7551   fi
7552 done
7553   done
7554 IFS=$as_save_IFS
7555
7556 fi
7557 fi
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7565 fi
7566
7567
7568 fi
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570   ac_ct_OTOOL=$OTOOL
7571   # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576   $as_echo_n "(cached) " >&6
7577 else
7578   if test -n "$ac_ct_OTOOL"; then
7579   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7583 do
7584   IFS=$as_save_IFS
7585   test -z "$as_dir" && as_dir=.
7586     for ac_exec_ext in '' $ac_executable_extensions; do
7587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588     ac_cv_prog_ac_ct_OTOOL="otool"
7589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590     break 2
7591   fi
7592 done
7593   done
7594 IFS=$as_save_IFS
7595
7596 fi
7597 fi
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7605 fi
7606
7607   if test "x$ac_ct_OTOOL" = x; then
7608     OTOOL=":"
7609   else
7610     case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616     OTOOL=$ac_ct_OTOOL
7617   fi
7618 else
7619   OTOOL="$ac_cv_prog_OTOOL"
7620 fi
7621
7622     if test -n "$ac_tool_prefix"; then
7623   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628   $as_echo_n "(cached) " >&6
7629 else
7630   if test -n "$OTOOL64"; then
7631   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7635 do
7636   IFS=$as_save_IFS
7637   test -z "$as_dir" && as_dir=.
7638     for ac_exec_ext in '' $ac_executable_extensions; do
7639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642     break 2
7643   fi
7644 done
7645   done
7646 IFS=$as_save_IFS
7647
7648 fi
7649 fi
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7657 fi
7658
7659
7660 fi
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662   ac_ct_OTOOL64=$OTOOL64
7663   # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668   $as_echo_n "(cached) " >&6
7669 else
7670   if test -n "$ac_ct_OTOOL64"; then
7671   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7675 do
7676   IFS=$as_save_IFS
7677   test -z "$as_dir" && as_dir=.
7678     for ac_exec_ext in '' $ac_executable_extensions; do
7679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680     ac_cv_prog_ac_ct_OTOOL64="otool64"
7681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682     break 2
7683   fi
7684 done
7685   done
7686 IFS=$as_save_IFS
7687
7688 fi
7689 fi
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7697 fi
7698
7699   if test "x$ac_ct_OTOOL64" = x; then
7700     OTOOL64=":"
7701   else
7702     case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708     OTOOL64=$ac_ct_OTOOL64
7709   fi
7710 else
7711   OTOOL64="$ac_cv_prog_OTOOL64"
7712 fi
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743   $as_echo_n "(cached) " >&6
7744 else
7745   lt_cv_apple_cc_single_mod=no
7746       if test -z "${LT_MULTI_MODULE}"; then
7747         # By default we will add the -single_module flag. You can override
7748         # by either setting the environment variable LT_MULTI_MODULE
7749         # non-empty at configure time, or by adding -multi_module to the
7750         # link flags.
7751         rm -rf libconftest.dylib*
7752         echo "int foo(void){return 1;}" > conftest.c
7753         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757         _lt_result=$?
7758         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759           lt_cv_apple_cc_single_mod=yes
7760         else
7761           cat conftest.err >&5
7762         fi
7763         rm -rf libconftest.dylib*
7764         rm -f conftest.*
7765       fi
7766 fi
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772   $as_echo_n "(cached) " >&6
7773 else
7774   lt_cv_ld_exported_symbols_list=no
7775       save_LDFLAGS=$LDFLAGS
7776       echo "_main" > conftest.sym
7777       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778       if test x$gcc_no_link = xyes; then
7779   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7780 fi
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h.  */
7783
7784 int
7785 main ()
7786 {
7787
7788   ;
7789   return 0;
7790 }
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793   lt_cv_ld_exported_symbols_list=yes
7794 else
7795   lt_cv_ld_exported_symbols_list=no
7796 fi
7797 rm -f core conftest.err conftest.$ac_objext \
7798     conftest$ac_exeext conftest.$ac_ext
7799         LDFLAGS="$save_LDFLAGS"
7800
7801 fi
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807   $as_echo_n "(cached) " >&6
7808 else
7809   lt_cv_ld_force_load=no
7810       cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815       echo "$AR cru libconftest.a conftest.o" >&5
7816       $AR cru libconftest.a conftest.o 2>&5
7817       cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822       _lt_result=$?
7823       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824         lt_cv_ld_force_load=yes
7825       else
7826         cat conftest.err >&5
7827       fi
7828         rm -f conftest.err libconftest.a conftest conftest.c
7829         rm -rf conftest.dSYM
7830
7831 fi
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834     case $host_os in
7835     rhapsody* | darwin1.[012])
7836       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837     darwin1.*)
7838       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839     darwin*) # darwin 5.x on
7840       # if running on 10.5 or later, the deployment target defaults
7841       # to the OS version, if on x86, and 10.4, the deployment
7842       # target defaults to 10.4. Don't you love it?
7843       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846         10.[012]*)
7847           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848         10.*)
7849           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850       esac
7851     ;;
7852   esac
7853     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854       _lt_dar_single_mod='$single_module'
7855     fi
7856     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858     else
7859       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7860     fi
7861     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862       _lt_dsymutil='~$DSYMUTIL $lib || :'
7863     else
7864       _lt_dsymutil=
7865     fi
7866     ;;
7867   esac
7868
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872   $as_echo_n "(cached) " >&6
7873 else
7874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h.  */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7880
7881 int
7882 main ()
7883 {
7884
7885   ;
7886   return 0;
7887 }
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890   ac_cv_header_stdc=yes
7891 else
7892   ac_cv_header_stdc=no
7893 fi
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895
7896 if test $ac_cv_header_stdc = yes; then
7897   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h.  */
7900 #include <string.h>
7901
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904   $EGREP "memchr" >/dev/null 2>&1; then :
7905
7906 else
7907   ac_cv_header_stdc=no
7908 fi
7909 rm -f conftest*
7910
7911 fi
7912
7913 if test $ac_cv_header_stdc = yes; then
7914   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h.  */
7917 #include <stdlib.h>
7918
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921   $EGREP "free" >/dev/null 2>&1; then :
7922
7923 else
7924   ac_cv_header_stdc=no
7925 fi
7926 rm -f conftest*
7927
7928 fi
7929
7930 if test $ac_cv_header_stdc = yes; then
7931   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932   if test "$cross_compiling" = yes; then :
7933   :
7934 else
7935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h.  */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944                    (('a' <= (c) && (c) <= 'i') \
7945                      || ('j' <= (c) && (c) <= 'r') \
7946                      || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7949
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7951 int
7952 main ()
7953 {
7954   int i;
7955   for (i = 0; i < 256; i++)
7956     if (XOR (islower (i), ISLOWER (i))
7957         || toupper (i) != TOUPPER (i))
7958       return 2;
7959   return 0;
7960 }
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7963
7964 else
7965   ac_cv_header_stdc=no
7966 fi
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968   conftest.$ac_objext conftest.beam conftest.$ac_ext
7969 fi
7970
7971 fi
7972 fi
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7976
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7978
7979 fi
7980
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983                   inttypes.h stdint.h unistd.h
7984 do :
7985   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7987 "
7988 eval as_val=\$$as_ac_Header
7989    if test "x$as_val" = x""yes; then :
7990   cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7993
7994 fi
7995
7996 done
7997
7998
7999 for ac_header in dlfcn.h
8000 do :
8001   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8002 "
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004   cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8007
8008 fi
8009
8010 done
8011
8012
8013
8014
8015
8016
8017 # Set options
8018
8019
8020
8021
8022   enable_win32_dll=no
8023
8024
8025             # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027   enableval=$enable_shared; p=${PACKAGE-default}
8028     case $enableval in
8029     yes) enable_shared=yes ;;
8030     no) enable_shared=no ;;
8031     *)
8032       enable_shared=no
8033       # Look at the argument we got.  We use all the common list separators.
8034       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035       for pkg in $enableval; do
8036         IFS="$lt_save_ifs"
8037         if test "X$pkg" = "X$p"; then
8038           enable_shared=yes
8039         fi
8040       done
8041       IFS="$lt_save_ifs"
8042       ;;
8043     esac
8044 else
8045   enable_shared=yes
8046 fi
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056   # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058   enableval=$enable_static; p=${PACKAGE-default}
8059     case $enableval in
8060     yes) enable_static=yes ;;
8061     no) enable_static=no ;;
8062     *)
8063      enable_static=no
8064       # Look at the argument we got.  We use all the common list separators.
8065       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066       for pkg in $enableval; do
8067         IFS="$lt_save_ifs"
8068         if test "X$pkg" = "X$p"; then
8069           enable_static=yes
8070         fi
8071       done
8072       IFS="$lt_save_ifs"
8073       ;;
8074     esac
8075 else
8076   enable_static=yes
8077 fi
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090   withval=$with_pic; pic_mode="$withval"
8091 else
8092   pic_mode=default
8093 fi
8094
8095
8096 test -z "$pic_mode" && pic_mode=default
8097
8098
8099
8100
8101
8102
8103
8104   # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106   enableval=$enable_fast_install; p=${PACKAGE-default}
8107     case $enableval in
8108     yes) enable_fast_install=yes ;;
8109     no) enable_fast_install=no ;;
8110     *)
8111       enable_fast_install=no
8112       # Look at the argument we got.  We use all the common list separators.
8113       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114       for pkg in $enableval; do
8115         IFS="$lt_save_ifs"
8116         if test "X$pkg" = "X$p"; then
8117           enable_fast_install=yes
8118         fi
8119       done
8120       IFS="$lt_save_ifs"
8121       ;;
8122     esac
8123 else
8124   enable_fast_install=yes
8125 fi
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8139
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168 test -z "$LN_S" && LN_S="ln -s"
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183 if test -n "${ZSH_VERSION+set}" ; then
8184    setopt NO_GLOB_SUBST
8185 fi
8186
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190   $as_echo_n "(cached) " >&6
8191 else
8192   rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195   lt_cv_objdir=.libs
8196 else
8197   # MS-DOS does not allow filenames that begin with a dot.
8198   lt_cv_objdir=_libs
8199 fi
8200 rmdir .libs 2>/dev/null
8201 fi
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8205
8206
8207
8208
8209
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8213
8214
8215
8216
8217 case $host_os in
8218 aix3*)
8219   # AIX sometimes has problems with the GCC collect2 program.  For some
8220   # reason, if we set the COLLECT_NAMES environment variable, the problems
8221   # vanish in a puff of smoke.
8222   if test "X${COLLECT_NAMES+set}" != Xset; then
8223     COLLECT_NAMES=
8224     export COLLECT_NAMES
8225   fi
8226   ;;
8227 esac
8228
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8232
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8236
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8238
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8241
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8248
8249 for cc_temp in $compiler""; do
8250   case $cc_temp in
8251     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253     \-*) ;;
8254     *) break;;
8255   esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8258
8259
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268   $as_echo_n "(cached) " >&6
8269 else
8270   case $MAGIC_CMD in
8271 [\\/*] |  ?:[\\/]*)
8272   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8273   ;;
8274 *)
8275   lt_save_MAGIC_CMD="$MAGIC_CMD"
8276   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278   for ac_dir in $ac_dummy; do
8279     IFS="$lt_save_ifs"
8280     test -z "$ac_dir" && ac_dir=.
8281     if test -f $ac_dir/${ac_tool_prefix}file; then
8282       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283       if test -n "$file_magic_test_file"; then
8284         case $deplibs_check_method in
8285         "file_magic "*)
8286           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289             $EGREP "$file_magic_regex" > /dev/null; then
8290             :
8291           else
8292             cat <<_LT_EOF 1>&2
8293
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such.  This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem.  Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8302
8303 _LT_EOF
8304           fi ;;
8305         esac
8306       fi
8307       break
8308     fi
8309   done
8310   IFS="$lt_save_ifs"
8311   MAGIC_CMD="$lt_save_MAGIC_CMD"
8312   ;;
8313 esac
8314 fi
8315
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8323 fi
8324
8325
8326
8327
8328
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330   if test -n "$ac_tool_prefix"; then
8331     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334   $as_echo_n "(cached) " >&6
8335 else
8336   case $MAGIC_CMD in
8337 [\\/*] |  ?:[\\/]*)
8338   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8339   ;;
8340 *)
8341   lt_save_MAGIC_CMD="$MAGIC_CMD"
8342   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344   for ac_dir in $ac_dummy; do
8345     IFS="$lt_save_ifs"
8346     test -z "$ac_dir" && ac_dir=.
8347     if test -f $ac_dir/file; then
8348       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349       if test -n "$file_magic_test_file"; then
8350         case $deplibs_check_method in
8351         "file_magic "*)
8352           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355             $EGREP "$file_magic_regex" > /dev/null; then
8356             :
8357           else
8358             cat <<_LT_EOF 1>&2
8359
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such.  This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem.  Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8368
8369 _LT_EOF
8370           fi ;;
8371         esac
8372       fi
8373       break
8374     fi
8375   done
8376   IFS="$lt_save_ifs"
8377   MAGIC_CMD="$lt_save_MAGIC_CMD"
8378   ;;
8379 esac
8380 fi
8381
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8389 fi
8390
8391
8392   else
8393     MAGIC_CMD=:
8394   fi
8395 fi
8396
8397   fi
8398   ;;
8399 esac
8400
8401 # Use C for the default configuration in the libtool script
8402
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8409
8410
8411 # Source file extension for C test sources.
8412 ac_ext=c
8413
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8417
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8420
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8423
8424
8425
8426
8427
8428
8429
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8432
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8435
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8438
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8442
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8449
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8455
8456
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8462
8463 lt_prog_compiler_no_builtin_flag=
8464
8465 if test "$GCC" = yes; then
8466   case $cc_basename in
8467   nvcc*)
8468     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8469   *)
8470     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471   esac
8472
8473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476   $as_echo_n "(cached) " >&6
8477 else
8478   lt_cv_prog_compiler_rtti_exceptions=no
8479    ac_outfile=conftest.$ac_objext
8480    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481    lt_compiler_flag="-fno-rtti -fno-exceptions"
8482    # Insert the option either (1) after the last *FLAGS variable, or
8483    # (2) before a word containing "conftest.", or (3) at the end.
8484    # Note that $ac_compile itself does not contain backslashes and begins
8485    # with a dollar sign (not a hyphen), so the echo should work correctly.
8486    # The option is referenced via a variable to avoid confusing sed.
8487    lt_compile=`echo "$ac_compile" | $SED \
8488    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490    -e 's:$: $lt_compiler_flag:'`
8491    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492    (eval "$lt_compile" 2>conftest.err)
8493    ac_status=$?
8494    cat conftest.err >&5
8495    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496    if (exit $ac_status) && test -s "$ac_outfile"; then
8497      # The compiler can only warn and ignore the option if not recognized
8498      # So say no if there are warnings other than the usual output.
8499      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502        lt_cv_prog_compiler_rtti_exceptions=yes
8503      fi
8504    fi
8505    $RM conftest*
8506
8507 fi
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8510
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8514     :
8515 fi
8516
8517 fi
8518
8519
8520
8521
8522
8523
8524   lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8527
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530
8531   if test "$GCC" = yes; then
8532     lt_prog_compiler_wl='-Wl,'
8533     lt_prog_compiler_static='-static'
8534
8535     case $host_os in
8536       aix*)
8537       # All AIX code is PIC.
8538       if test "$host_cpu" = ia64; then
8539         # AIX 5 now supports IA64 processor
8540         lt_prog_compiler_static='-Bstatic'
8541       fi
8542       lt_prog_compiler_pic='-fPIC'
8543       ;;
8544
8545     amigaos*)
8546       case $host_cpu in
8547       powerpc)
8548             # see comment about AmigaOS4 .so support
8549             lt_prog_compiler_pic='-fPIC'
8550         ;;
8551       m68k)
8552             # FIXME: we need at least 68020 code to build shared libraries, but
8553             # adding the `-m68020' flag to GCC prevents building anything better,
8554             # like `-m68040'.
8555             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8556         ;;
8557       esac
8558       ;;
8559
8560     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561       # PIC is the default for these OSes.
8562       ;;
8563
8564     mingw* | cygwin* | pw32* | os2* | cegcc*)
8565       # This hack is so that the source file can tell whether it is being
8566       # built for inclusion in a dll (and should export symbols for example).
8567       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568       # (--disable-auto-import) libraries
8569       lt_prog_compiler_pic='-DDLL_EXPORT'
8570       ;;
8571
8572     darwin* | rhapsody*)
8573       # PIC is the default on this platform
8574       # Common symbols not allowed in MH_DYLIB files
8575       lt_prog_compiler_pic='-fno-common'
8576       ;;
8577
8578     haiku*)
8579       # PIC is the default for Haiku.
8580       # The "-static" flag exists, but is broken.
8581       lt_prog_compiler_static=
8582       ;;
8583
8584     hpux*)
8585       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8587       # sets the default TLS model and affects inlining.
8588       case $host_cpu in
8589       hppa*64*)
8590         # +Z the default
8591         ;;
8592       *)
8593         lt_prog_compiler_pic='-fPIC'
8594         ;;
8595       esac
8596       ;;
8597
8598     interix[3-9]*)
8599       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600       # Instead, we relocate shared libraries at runtime.
8601       ;;
8602
8603     msdosdjgpp*)
8604       # Just because we use GCC doesn't mean we suddenly get shared libraries
8605       # on systems that don't support them.
8606       lt_prog_compiler_can_build_shared=no
8607       enable_shared=no
8608       ;;
8609
8610     *nto* | *qnx*)
8611       # QNX uses GNU C++, but need to define -shared option too, otherwise
8612       # it will coredump.
8613       lt_prog_compiler_pic='-fPIC -shared'
8614       ;;
8615
8616     sysv4*MP*)
8617       if test -d /usr/nec; then
8618         lt_prog_compiler_pic=-Kconform_pic
8619       fi
8620       ;;
8621
8622     *)
8623       lt_prog_compiler_pic='-fPIC'
8624       ;;
8625     esac
8626
8627     case $cc_basename in
8628     nvcc*) # Cuda Compiler Driver 2.2
8629       lt_prog_compiler_wl='-Xlinker '
8630       lt_prog_compiler_pic='-Xcompiler -fPIC'
8631       ;;
8632     esac
8633   else
8634     # PORTME Check for flag to pass linker flags through the system compiler.
8635     case $host_os in
8636     aix*)
8637       lt_prog_compiler_wl='-Wl,'
8638       if test "$host_cpu" = ia64; then
8639         # AIX 5 now supports IA64 processor
8640         lt_prog_compiler_static='-Bstatic'
8641       else
8642         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8643       fi
8644       ;;
8645
8646     mingw* | cygwin* | pw32* | os2* | cegcc*)
8647       # This hack is so that the source file can tell whether it is being
8648       # built for inclusion in a dll (and should export symbols for example).
8649       lt_prog_compiler_pic='-DDLL_EXPORT'
8650       ;;
8651
8652     hpux9* | hpux10* | hpux11*)
8653       lt_prog_compiler_wl='-Wl,'
8654       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655       # not for PA HP-UX.
8656       case $host_cpu in
8657       hppa*64*|ia64*)
8658         # +Z the default
8659         ;;
8660       *)
8661         lt_prog_compiler_pic='+Z'
8662         ;;
8663       esac
8664       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665       lt_prog_compiler_static='${wl}-a ${wl}archive'
8666       ;;
8667
8668     irix5* | irix6* | nonstopux*)
8669       lt_prog_compiler_wl='-Wl,'
8670       # PIC (with -KPIC) is the default.
8671       lt_prog_compiler_static='-non_shared'
8672       ;;
8673
8674     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675       case $cc_basename in
8676       # old Intel for x86_64 which still supported -KPIC.
8677       ecc*)
8678         lt_prog_compiler_wl='-Wl,'
8679         lt_prog_compiler_pic='-KPIC'
8680         lt_prog_compiler_static='-static'
8681         ;;
8682       # icc used to be incompatible with GCC.
8683       # ICC 10 doesn't accept -KPIC any more.
8684       icc* | ifort*)
8685         lt_prog_compiler_wl='-Wl,'
8686         lt_prog_compiler_pic='-fPIC'
8687         lt_prog_compiler_static='-static'
8688         ;;
8689       # Lahey Fortran 8.1.
8690       lf95*)
8691         lt_prog_compiler_wl='-Wl,'
8692         lt_prog_compiler_pic='--shared'
8693         lt_prog_compiler_static='--static'
8694         ;;
8695       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696         # Portland Group compilers (*not* the Pentium gcc compiler,
8697         # which looks to be a dead project)
8698         lt_prog_compiler_wl='-Wl,'
8699         lt_prog_compiler_pic='-fpic'
8700         lt_prog_compiler_static='-Bstatic'
8701         ;;
8702       ccc*)
8703         lt_prog_compiler_wl='-Wl,'
8704         # All Alpha code is PIC.
8705         lt_prog_compiler_static='-non_shared'
8706         ;;
8707       xl* | bgxl* | bgf* | mpixl*)
8708         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709         lt_prog_compiler_wl='-Wl,'
8710         lt_prog_compiler_pic='-qpic'
8711         lt_prog_compiler_static='-qstaticlink'
8712         ;;
8713       *)
8714         case `$CC -V 2>&1 | sed 5q` in
8715         *Sun\ F* | *Sun*Fortran*)
8716           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717           lt_prog_compiler_pic='-KPIC'
8718           lt_prog_compiler_static='-Bstatic'
8719           lt_prog_compiler_wl=''
8720           ;;
8721         *Sun\ C*)
8722           # Sun C 5.9
8723           lt_prog_compiler_pic='-KPIC'
8724           lt_prog_compiler_static='-Bstatic'
8725           lt_prog_compiler_wl='-Wl,'
8726           ;;
8727         esac
8728         ;;
8729       esac
8730       ;;
8731
8732     newsos6)
8733       lt_prog_compiler_pic='-KPIC'
8734       lt_prog_compiler_static='-Bstatic'
8735       ;;
8736
8737     *nto* | *qnx*)
8738       # QNX uses GNU C++, but need to define -shared option too, otherwise
8739       # it will coredump.
8740       lt_prog_compiler_pic='-fPIC -shared'
8741       ;;
8742
8743     osf3* | osf4* | osf5*)
8744       lt_prog_compiler_wl='-Wl,'
8745       # All OSF/1 code is PIC.
8746       lt_prog_compiler_static='-non_shared'
8747       ;;
8748
8749     rdos*)
8750       lt_prog_compiler_static='-non_shared'
8751       ;;
8752
8753     solaris*)
8754       lt_prog_compiler_pic='-KPIC'
8755       lt_prog_compiler_static='-Bstatic'
8756       case $cc_basename in
8757       f77* | f90* | f95*)
8758         lt_prog_compiler_wl='-Qoption ld ';;
8759       *)
8760         lt_prog_compiler_wl='-Wl,';;
8761       esac
8762       ;;
8763
8764     sunos4*)
8765       lt_prog_compiler_wl='-Qoption ld '
8766       lt_prog_compiler_pic='-PIC'
8767       lt_prog_compiler_static='-Bstatic'
8768       ;;
8769
8770     sysv4 | sysv4.2uw2* | sysv4.3*)
8771       lt_prog_compiler_wl='-Wl,'
8772       lt_prog_compiler_pic='-KPIC'
8773       lt_prog_compiler_static='-Bstatic'
8774       ;;
8775
8776     sysv4*MP*)
8777       if test -d /usr/nec ;then
8778         lt_prog_compiler_pic='-Kconform_pic'
8779         lt_prog_compiler_static='-Bstatic'
8780       fi
8781       ;;
8782
8783     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784       lt_prog_compiler_wl='-Wl,'
8785       lt_prog_compiler_pic='-KPIC'
8786       lt_prog_compiler_static='-Bstatic'
8787       ;;
8788
8789     unicos*)
8790       lt_prog_compiler_wl='-Wl,'
8791       lt_prog_compiler_can_build_shared=no
8792       ;;
8793
8794     uts4*)
8795       lt_prog_compiler_pic='-pic'
8796       lt_prog_compiler_static='-Bstatic'
8797       ;;
8798
8799     *)
8800       lt_prog_compiler_can_build_shared=no
8801       ;;
8802     esac
8803   fi
8804
8805 case $host_os in
8806   # For platforms which do not support PIC, -DPIC is meaningless:
8807   *djgpp*)
8808     lt_prog_compiler_pic=
8809     ;;
8810   *)
8811     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8812     ;;
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8816
8817
8818
8819
8820
8821
8822 #
8823 # Check to make sure the PIC flag actually works.
8824 #
8825 if test -n "$lt_prog_compiler_pic"; then
8826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829   $as_echo_n "(cached) " >&6
8830 else
8831   lt_cv_prog_compiler_pic_works=no
8832    ac_outfile=conftest.$ac_objext
8833    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835    # Insert the option either (1) after the last *FLAGS variable, or
8836    # (2) before a word containing "conftest.", or (3) at the end.
8837    # Note that $ac_compile itself does not contain backslashes and begins
8838    # with a dollar sign (not a hyphen), so the echo should work correctly.
8839    # The option is referenced via a variable to avoid confusing sed.
8840    lt_compile=`echo "$ac_compile" | $SED \
8841    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843    -e 's:$: $lt_compiler_flag:'`
8844    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845    (eval "$lt_compile" 2>conftest.err)
8846    ac_status=$?
8847    cat conftest.err >&5
8848    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849    if (exit $ac_status) && test -s "$ac_outfile"; then
8850      # The compiler can only warn and ignore the option if not recognized
8851      # So say no if there are warnings other than the usual output.
8852      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855        lt_cv_prog_compiler_pic_works=yes
8856      fi
8857    fi
8858    $RM conftest*
8859
8860 fi
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8863
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865     case $lt_prog_compiler_pic in
8866      "" | " "*) ;;
8867      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868      esac
8869 else
8870     lt_prog_compiler_pic=
8871      lt_prog_compiler_can_build_shared=no
8872 fi
8873
8874 fi
8875
8876
8877
8878
8879
8880
8881 #
8882 # Check to make sure the static flag actually works.
8883 #
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888   $as_echo_n "(cached) " >&6
8889 else
8890   lt_cv_prog_compiler_static_works=no
8891    save_LDFLAGS="$LDFLAGS"
8892    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895      # The linker can only warn and ignore the option if not recognized
8896      # So say no if there are warnings
8897      if test -s conftest.err; then
8898        # Append any errors to the config.log.
8899        cat conftest.err 1>&5
8900        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902        if diff conftest.exp conftest.er2 >/dev/null; then
8903          lt_cv_prog_compiler_static_works=yes
8904        fi
8905      else
8906        lt_cv_prog_compiler_static_works=yes
8907      fi
8908    fi
8909    $RM -r conftest*
8910    LDFLAGS="$save_LDFLAGS"
8911
8912 fi
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8915
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8917     :
8918 else
8919     lt_prog_compiler_static=
8920 fi
8921
8922
8923
8924
8925
8926
8927
8928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931   $as_echo_n "(cached) " >&6
8932 else
8933   lt_cv_prog_compiler_c_o=no
8934    $RM -r conftest 2>/dev/null
8935    mkdir conftest
8936    cd conftest
8937    mkdir out
8938    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939
8940    lt_compiler_flag="-o out/conftest2.$ac_objext"
8941    # Insert the option either (1) after the last *FLAGS variable, or
8942    # (2) before a word containing "conftest.", or (3) at the end.
8943    # Note that $ac_compile itself does not contain backslashes and begins
8944    # with a dollar sign (not a hyphen), so the echo should work correctly.
8945    lt_compile=`echo "$ac_compile" | $SED \
8946    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948    -e 's:$: $lt_compiler_flag:'`
8949    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950    (eval "$lt_compile" 2>out/conftest.err)
8951    ac_status=$?
8952    cat out/conftest.err >&5
8953    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955    then
8956      # The compiler can only warn and ignore the option if not recognized
8957      # So say no if there are warnings
8958      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961        lt_cv_prog_compiler_c_o=yes
8962      fi
8963    fi
8964    chmod u+w . 2>&5
8965    $RM conftest*
8966    # SGI C++ compiler will create directory out/ii_files/ for
8967    # template instantiation
8968    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969    $RM out/* && rmdir out
8970    cd ..
8971    $RM -r conftest
8972    $RM conftest*
8973
8974 fi
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977
8978
8979
8980
8981
8982
8983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986   $as_echo_n "(cached) " >&6
8987 else
8988   lt_cv_prog_compiler_c_o=no
8989    $RM -r conftest 2>/dev/null
8990    mkdir conftest
8991    cd conftest
8992    mkdir out
8993    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8994
8995    lt_compiler_flag="-o out/conftest2.$ac_objext"
8996    # Insert the option either (1) after the last *FLAGS variable, or
8997    # (2) before a word containing "conftest.", or (3) at the end.
8998    # Note that $ac_compile itself does not contain backslashes and begins
8999    # with a dollar sign (not a hyphen), so the echo should work correctly.
9000    lt_compile=`echo "$ac_compile" | $SED \
9001    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003    -e 's:$: $lt_compiler_flag:'`
9004    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005    (eval "$lt_compile" 2>out/conftest.err)
9006    ac_status=$?
9007    cat out/conftest.err >&5
9008    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010    then
9011      # The compiler can only warn and ignore the option if not recognized
9012      # So say no if there are warnings
9013      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016        lt_cv_prog_compiler_c_o=yes
9017      fi
9018    fi
9019    chmod u+w . 2>&5
9020    $RM conftest*
9021    # SGI C++ compiler will create directory out/ii_files/ for
9022    # template instantiation
9023    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024    $RM out/* && rmdir out
9025    cd ..
9026    $RM -r conftest
9027    $RM conftest*
9028
9029 fi
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9032
9033
9034
9035
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038   # do not overwrite the value of need_locks provided by the user
9039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041   hard_links=yes
9042   $RM conftest*
9043   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044   touch conftest.a
9045   ln conftest.a conftest.b 2>&5 || hard_links=no
9046   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049   if test "$hard_links" = no; then
9050     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052     need_locks=warn
9053   fi
9054 else
9055   need_locks=no
9056 fi
9057
9058
9059
9060
9061
9062
9063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9065
9066   runpath_var=
9067   allow_undefined_flag=
9068   always_export_symbols=no
9069   archive_cmds=
9070   archive_expsym_cmds=
9071   compiler_needs_object=no
9072   enable_shared_with_static_runtimes=no
9073   export_dynamic_flag_spec=
9074   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075   hardcode_automatic=no
9076   hardcode_direct=no
9077   hardcode_direct_absolute=no
9078   hardcode_libdir_flag_spec=
9079   hardcode_libdir_flag_spec_ld=
9080   hardcode_libdir_separator=
9081   hardcode_minus_L=no
9082   hardcode_shlibpath_var=unsupported
9083   inherit_rpath=no
9084   link_all_deplibs=unknown
9085   module_cmds=
9086   module_expsym_cmds=
9087   old_archive_from_new_cmds=
9088   old_archive_from_expsyms_cmds=
9089   thread_safe_flag_spec=
9090   whole_archive_flag_spec=
9091   # include_expsyms should be a list of space-separated symbols to be *always*
9092   # included in the symbol list
9093   include_expsyms=
9094   # exclude_expsyms can be an extended regexp of symbols to exclude
9095   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097   # as well as any symbol that contains `d'.
9098   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100   # platforms (ab)use it in PIC code, but their linkers get confused if
9101   # the symbol is explicitly referenced.  Since portable code cannot
9102   # rely on this symbol name, it's probably fine to never include it in
9103   # preloaded symbol tables.
9104   # Exclude shared library initialization/finalization symbols.
9105   extract_expsyms_cmds=
9106
9107   case $host_os in
9108   cygwin* | mingw* | pw32* | cegcc*)
9109     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110     # When not using gcc, we currently assume that we are using
9111     # Microsoft Visual C++.
9112     if test "$GCC" != yes; then
9113       with_gnu_ld=no
9114     fi
9115     ;;
9116   interix*)
9117     # we just hope/assume this is gcc and not c89 (= MSVC++)
9118     with_gnu_ld=yes
9119     ;;
9120   openbsd*)
9121     with_gnu_ld=no
9122     ;;
9123   esac
9124
9125   ld_shlibs=yes
9126
9127   # On some targets, GNU ld is compatible enough with the native linker
9128   # that we're better off using the native interface for both.
9129   lt_use_gnu_ld_interface=no
9130   if test "$with_gnu_ld" = yes; then
9131     case $host_os in
9132       aix*)
9133         # The AIX port of GNU ld has always aspired to compatibility
9134         # with the native linker.  However, as the warning in the GNU ld
9135         # block says, versions before 2.19.5* couldn't really create working
9136         # shared libraries, regardless of the interface used.
9137         case `$LD -v 2>&1` in
9138           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9141           *)
9142             lt_use_gnu_ld_interface=yes
9143             ;;
9144         esac
9145         ;;
9146       *)
9147         lt_use_gnu_ld_interface=yes
9148         ;;
9149     esac
9150   fi
9151
9152   if test "$lt_use_gnu_ld_interface" = yes; then
9153     # If archive_cmds runs LD, not CC, wlarc should be empty
9154     wlarc='${wl}'
9155
9156     # Set some defaults for GNU ld with shared library support. These
9157     # are reset later if shared libraries are not supported. Putting them
9158     # here allows them to be overridden if necessary.
9159     runpath_var=LD_RUN_PATH
9160     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161     export_dynamic_flag_spec='${wl}--export-dynamic'
9162     # ancient GNU ld didn't support --whole-archive et. al.
9163     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165     else
9166       whole_archive_flag_spec=
9167     fi
9168     supports_anon_versioning=no
9169     case `$LD -v 2>&1` in
9170       *GNU\ gold*) supports_anon_versioning=yes ;;
9171       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174       *\ 2.11.*) ;; # other 2.11 versions
9175       *) supports_anon_versioning=yes ;;
9176     esac
9177
9178     # See if GNU ld supports shared libraries.
9179     case $host_os in
9180     aix[3-9]*)
9181       # On AIX/PPC, the GNU linker is very broken
9182       if test "$host_cpu" != ia64; then
9183         ld_shlibs=no
9184         cat <<_LT_EOF 1>&2
9185
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support.  If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9192
9193 _LT_EOF
9194       fi
9195       ;;
9196
9197     amigaos*)
9198       case $host_cpu in
9199       powerpc)
9200             # see comment about AmigaOS4 .so support
9201             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202             archive_expsym_cmds=''
9203         ;;
9204       m68k)
9205             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)'
9206             hardcode_libdir_flag_spec='-L$libdir'
9207             hardcode_minus_L=yes
9208         ;;
9209       esac
9210       ;;
9211
9212     beos*)
9213       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214         allow_undefined_flag=unsupported
9215         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216         # support --undefined.  This deserves some investigation.  FIXME
9217         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218       else
9219         ld_shlibs=no
9220       fi
9221       ;;
9222
9223     cygwin* | mingw* | pw32* | cegcc*)
9224       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225       # as there is no search path for DLLs.
9226       hardcode_libdir_flag_spec='-L$libdir'
9227       export_dynamic_flag_spec='${wl}--export-all-symbols'
9228       allow_undefined_flag=unsupported
9229       always_export_symbols=no
9230       enable_shared_with_static_runtimes=yes
9231       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9232
9233       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235         # If the export-symbols file already is a .def file (1st line
9236         # is EXPORTS), use it as is; otherwise, prepend...
9237         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238           cp $export_symbols $output_objdir/$soname.def;
9239         else
9240           echo EXPORTS > $output_objdir/$soname.def;
9241           cat $export_symbols >> $output_objdir/$soname.def;
9242         fi~
9243         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244       else
9245         ld_shlibs=no
9246       fi
9247       ;;
9248
9249     haiku*)
9250       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251       link_all_deplibs=yes
9252       ;;
9253
9254     interix[3-9]*)
9255       hardcode_direct=no
9256       hardcode_shlibpath_var=no
9257       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258       export_dynamic_flag_spec='${wl}-E'
9259       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260       # Instead, shared libraries are loaded at an image base (0x10000000 by
9261       # default) and relocated if they conflict, which is a slow very memory
9262       # consuming and fragmenting process.  To avoid this, we pick a random,
9263       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9265       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266       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'
9267       ;;
9268
9269     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270       tmp_diet=no
9271       if test "$host_os" = linux-dietlibc; then
9272         case $cc_basename in
9273           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9274         esac
9275       fi
9276       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277          && test "$tmp_diet" = no
9278       then
9279         tmp_addflag=
9280         tmp_sharedflag='-shared'
9281         case $cc_basename,$host_cpu in
9282         pgcc*)                          # Portland Group C compiler
9283           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'
9284           tmp_addflag=' $pic_flag'
9285           ;;
9286         pgf77* | pgf90* | pgf95* | pgfortran*)
9287                                         # Portland Group f77 and f90 compilers
9288           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'
9289           tmp_addflag=' $pic_flag -Mnomain' ;;
9290         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9291           tmp_addflag=' -i_dynamic' ;;
9292         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9293           tmp_addflag=' -i_dynamic -nofor_main' ;;
9294         ifc* | ifort*)                  # Intel Fortran compiler
9295           tmp_addflag=' -nofor_main' ;;
9296         lf95*)                          # Lahey Fortran 8.1
9297           whole_archive_flag_spec=
9298           tmp_sharedflag='--shared' ;;
9299         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300           tmp_sharedflag='-qmkshrobj'
9301           tmp_addflag= ;;
9302         nvcc*)  # Cuda Compiler Driver 2.2
9303           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'
9304           compiler_needs_object=yes
9305           ;;
9306         esac
9307         case `$CC -V 2>&1 | sed 5q` in
9308         *Sun\ C*)                       # Sun C 5.9
9309           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'
9310           compiler_needs_object=yes
9311           tmp_sharedflag='-G' ;;
9312         *Sun\ F*)                       # Sun Fortran 8.3
9313           tmp_sharedflag='-G' ;;
9314         esac
9315         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316
9317         if test "x$supports_anon_versioning" = xyes; then
9318           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320             echo "local: *; };" >> $output_objdir/$libname.ver~
9321             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9322         fi
9323
9324         case $cc_basename in
9325         xlf* | bgf* | bgxlf* | mpixlf*)
9326           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328           hardcode_libdir_flag_spec=
9329           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331           if test "x$supports_anon_versioning" = xyes; then
9332             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334               echo "local: *; };" >> $output_objdir/$libname.ver~
9335               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9336           fi
9337           ;;
9338         esac
9339       else
9340         ld_shlibs=no
9341       fi
9342       ;;
9343
9344     netbsd*)
9345       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347         wlarc=
9348       else
9349         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9351       fi
9352       ;;
9353
9354     solaris*)
9355       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356         ld_shlibs=no
9357         cat <<_LT_EOF 1>&2
9358
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems.  Therefore, libtool
9361 *** is disabling shared libraries support.  We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer.  Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9365
9366 _LT_EOF
9367       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370       else
9371         ld_shlibs=no
9372       fi
9373       ;;
9374
9375     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376       case `$LD -v 2>&1` in
9377         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378         ld_shlibs=no
9379         cat <<_LT_EOF 1>&2
9380
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9383 *** is disabling shared libraries support.  We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9387
9388 _LT_EOF
9389         ;;
9390         *)
9391           # For security reasons, it is highly recommended that you always
9392           # use absolute paths for naming shared libraries, and exclude the
9393           # DT_RUNPATH tag from executables and libraries.  But doing so
9394           # requires that you compile everything twice, which is a pain.
9395           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399           else
9400             ld_shlibs=no
9401           fi
9402         ;;
9403       esac
9404       ;;
9405
9406     sunos4*)
9407       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408       wlarc=
9409       hardcode_direct=yes
9410       hardcode_shlibpath_var=no
9411       ;;
9412
9413     *)
9414       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417       else
9418         ld_shlibs=no
9419       fi
9420       ;;
9421     esac
9422
9423     if test "$ld_shlibs" = no; then
9424       runpath_var=
9425       hardcode_libdir_flag_spec=
9426       export_dynamic_flag_spec=
9427       whole_archive_flag_spec=
9428     fi
9429   else
9430     # PORTME fill in a description of your system's linker (not GNU ld)
9431     case $host_os in
9432     aix3*)
9433       allow_undefined_flag=unsupported
9434       always_export_symbols=yes
9435       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'
9436       # Note: this linker hardcodes the directories in LIBPATH if there
9437       # are no directories specified by -L.
9438       hardcode_minus_L=yes
9439       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440         # Neither direct hardcoding nor static linking is supported with a
9441         # broken collect2.
9442         hardcode_direct=unsupported
9443       fi
9444       ;;
9445
9446     aix[4-9]*)
9447       if test "$host_cpu" = ia64; then
9448         # On IA64, the linker does run time linking by default, so we don't
9449         # have to do anything special.
9450         aix_use_runtimelinking=no
9451         exp_sym_flag='-Bexport'
9452         no_entry_flag=""
9453       else
9454         # If we're using GNU nm, then we don't want the "-C" option.
9455         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456         # Also, AIX nm treats weak defined symbols like other global
9457         # defined symbols, whereas GNU nm marks them as "W".
9458         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459           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'
9460         else
9461           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'
9462         fi
9463         aix_use_runtimelinking=no
9464
9465         # Test if we are trying to use run time linking or normal
9466         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467         # need to do runtime linking.
9468         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469           for ld_flag in $LDFLAGS; do
9470           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471             aix_use_runtimelinking=yes
9472             break
9473           fi
9474           done
9475           ;;
9476         esac
9477
9478         exp_sym_flag='-bexport'
9479         no_entry_flag='-bnoentry'
9480       fi
9481
9482       # When large executables or shared objects are built, AIX ld can
9483       # have problems creating the table of contents.  If linking a library
9484       # or program results in "error TOC overflow" add -mminimal-toc to
9485       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9486       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9487
9488       archive_cmds=''
9489       hardcode_direct=yes
9490       hardcode_direct_absolute=yes
9491       hardcode_libdir_separator=':'
9492       link_all_deplibs=yes
9493       file_list_spec='${wl}-f,'
9494
9495       if test "$GCC" = yes; then
9496         case $host_os in aix4.[012]|aix4.[012].*)
9497         # We only want to do this on AIX 4.2 and lower, the check
9498         # below for broken collect2 doesn't work under 4.3+
9499           collect2name=`${CC} -print-prog-name=collect2`
9500           if test -f "$collect2name" &&
9501            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502           then
9503           # We have reworked collect2
9504           :
9505           else
9506           # We have old collect2
9507           hardcode_direct=unsupported
9508           # It fails to find uninstalled libraries when the uninstalled
9509           # path is not listed in the libpath.  Setting hardcode_minus_L
9510           # to unsupported forces relinking
9511           hardcode_minus_L=yes
9512           hardcode_libdir_flag_spec='-L$libdir'
9513           hardcode_libdir_separator=
9514           fi
9515           ;;
9516         esac
9517         shared_flag='-shared'
9518         if test "$aix_use_runtimelinking" = yes; then
9519           shared_flag="$shared_flag "'${wl}-G'
9520         fi
9521       else
9522         # not using gcc
9523         if test "$host_cpu" = ia64; then
9524         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525         # chokes on -Wl,-G. The following line is correct:
9526           shared_flag='-G'
9527         else
9528           if test "$aix_use_runtimelinking" = yes; then
9529             shared_flag='${wl}-G'
9530           else
9531             shared_flag='${wl}-bM:SRE'
9532           fi
9533         fi
9534       fi
9535
9536       export_dynamic_flag_spec='${wl}-bexpall'
9537       # It seems that -bexpall does not export symbols beginning with
9538       # underscore (_), so it is better to generate a list of symbols to export.
9539       always_export_symbols=yes
9540       if test "$aix_use_runtimelinking" = yes; then
9541         # Warning - without using the other runtime loading flags (-brtl),
9542         # -berok will link without error, but may produce a broken library.
9543         allow_undefined_flag='-berok'
9544         # Determine the default libpath from the value encoded in an
9545         # empty executable.
9546         if test x$gcc_no_link = xyes; then
9547   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9548 fi
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h.  */
9551
9552 int
9553 main ()
9554 {
9555
9556   ;
9557   return 0;
9558 }
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561
9562 lt_aix_libpath_sed='
9563     /Import File Strings/,/^$/ {
9564         /^0/ {
9565             s/^0  *\(.*\)$/\1/
9566             p
9567         }
9568     }'
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573 fi
9574 fi
9575 rm -f core conftest.err conftest.$ac_objext \
9576     conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9578
9579         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580         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"
9581       else
9582         if test "$host_cpu" = ia64; then
9583           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584           allow_undefined_flag="-z nodefs"
9585           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"
9586         else
9587          # Determine the default libpath from the value encoded in an
9588          # empty executable.
9589          if test x$gcc_no_link = xyes; then
9590   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9591 fi
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h.  */
9594
9595 int
9596 main ()
9597 {
9598
9599   ;
9600   return 0;
9601 }
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604
9605 lt_aix_libpath_sed='
9606     /Import File Strings/,/^$/ {
9607         /^0/ {
9608             s/^0  *\(.*\)$/\1/
9609             p
9610         }
9611     }'
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616 fi
9617 fi
9618 rm -f core conftest.err conftest.$ac_objext \
9619     conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9621
9622          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623           # Warning - without using the other run time loading flags,
9624           # -berok will link without error, but may produce a broken library.
9625           no_undefined_flag=' ${wl}-bernotok'
9626           allow_undefined_flag=' ${wl}-berok'
9627           if test "$with_gnu_ld" = yes; then
9628             # We only use this code for GNU lds that support --whole-archive.
9629             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630           else
9631             # Exported symbols can be pulled into shared objects from archives
9632             whole_archive_flag_spec='$convenience'
9633           fi
9634           archive_cmds_need_lc=yes
9635           # This is similar to how AIX traditionally builds its shared libraries.
9636           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'
9637         fi
9638       fi
9639       ;;
9640
9641     amigaos*)
9642       case $host_cpu in
9643       powerpc)
9644             # see comment about AmigaOS4 .so support
9645             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646             archive_expsym_cmds=''
9647         ;;
9648       m68k)
9649             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)'
9650             hardcode_libdir_flag_spec='-L$libdir'
9651             hardcode_minus_L=yes
9652         ;;
9653       esac
9654       ;;
9655
9656     bsdi[45]*)
9657       export_dynamic_flag_spec=-rdynamic
9658       ;;
9659
9660     cygwin* | mingw* | pw32* | cegcc*)
9661       # When not using gcc, we currently assume that we are using
9662       # Microsoft Visual C++.
9663       # hardcode_libdir_flag_spec is actually meaningless, as there is
9664       # no search path for DLLs.
9665       hardcode_libdir_flag_spec=' '
9666       allow_undefined_flag=unsupported
9667       # Tell ltmain to make .lib files, not .a files.
9668       libext=lib
9669       # Tell ltmain to make .dll files, not .so files.
9670       shrext_cmds=".dll"
9671       # FIXME: Setting linknames here is a bad hack.
9672       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673       # The linker will automatically build a .lib file if we build a DLL.
9674       old_archive_from_new_cmds='true'
9675       # FIXME: Should let the user specify the lib program.
9676       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677       fix_srcfile_path='`cygpath -w "$srcfile"`'
9678       enable_shared_with_static_runtimes=yes
9679       ;;
9680
9681     darwin* | rhapsody*)
9682
9683
9684   archive_cmds_need_lc=no
9685   hardcode_direct=no
9686   hardcode_automatic=yes
9687   hardcode_shlibpath_var=unsupported
9688   if test "$lt_cv_ld_force_load" = "yes"; then
9689     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\"`'
9690   else
9691     whole_archive_flag_spec=''
9692   fi
9693   link_all_deplibs=yes
9694   allow_undefined_flag="$_lt_dar_allow_undefined"
9695   case $cc_basename in
9696      ifort*) _lt_dar_can_shared=yes ;;
9697      *) _lt_dar_can_shared=$GCC ;;
9698   esac
9699   if test "$_lt_dar_can_shared" = "yes"; then
9700     output_verbose_link_cmd=func_echo_all
9701     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703     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}"
9704     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}"
9705
9706   else
9707   ld_shlibs=no
9708   fi
9709
9710       ;;
9711
9712     dgux*)
9713       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714       hardcode_libdir_flag_spec='-L$libdir'
9715       hardcode_shlibpath_var=no
9716       ;;
9717
9718     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719     # support.  Future versions do this automatically, but an explicit c++rt0.o
9720     # does not break anything, and helps significantly (at the cost of a little
9721     # extra space).
9722     freebsd2.2*)
9723       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724       hardcode_libdir_flag_spec='-R$libdir'
9725       hardcode_direct=yes
9726       hardcode_shlibpath_var=no
9727       ;;
9728
9729     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730     freebsd2.*)
9731       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732       hardcode_direct=yes
9733       hardcode_minus_L=yes
9734       hardcode_shlibpath_var=no
9735       ;;
9736
9737     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738     freebsd* | dragonfly*)
9739       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740       hardcode_libdir_flag_spec='-R$libdir'
9741       hardcode_direct=yes
9742       hardcode_shlibpath_var=no
9743       ;;
9744
9745     hpux9*)
9746       if test "$GCC" = yes; then
9747         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'
9748       else
9749         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'
9750       fi
9751       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752       hardcode_libdir_separator=:
9753       hardcode_direct=yes
9754
9755       # hardcode_minus_L: Not really in the search PATH,
9756       # but as the default location of the library.
9757       hardcode_minus_L=yes
9758       export_dynamic_flag_spec='${wl}-E'
9759       ;;
9760
9761     hpux10*)
9762       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764       else
9765         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9766       fi
9767       if test "$with_gnu_ld" = no; then
9768         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769         hardcode_libdir_flag_spec_ld='+b $libdir'
9770         hardcode_libdir_separator=:
9771         hardcode_direct=yes
9772         hardcode_direct_absolute=yes
9773         export_dynamic_flag_spec='${wl}-E'
9774         # hardcode_minus_L: Not really in the search PATH,
9775         # but as the default location of the library.
9776         hardcode_minus_L=yes
9777       fi
9778       ;;
9779
9780     hpux11*)
9781       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782         case $host_cpu in
9783         hppa*64*)
9784           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9785           ;;
9786         ia64*)
9787           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9788           ;;
9789         *)
9790           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791           ;;
9792         esac
9793       else
9794         case $host_cpu in
9795         hppa*64*)
9796           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797           ;;
9798         ia64*)
9799           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9800           ;;
9801         *)
9802
9803           # Older versions of the 11.00 compiler do not understand -b yet
9804           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808   $as_echo_n "(cached) " >&6
9809 else
9810   lt_cv_prog_compiler__b=no
9811    save_LDFLAGS="$LDFLAGS"
9812    LDFLAGS="$LDFLAGS -b"
9813    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815      # The linker can only warn and ignore the option if not recognized
9816      # So say no if there are warnings
9817      if test -s conftest.err; then
9818        # Append any errors to the config.log.
9819        cat conftest.err 1>&5
9820        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822        if diff conftest.exp conftest.er2 >/dev/null; then
9823          lt_cv_prog_compiler__b=yes
9824        fi
9825      else
9826        lt_cv_prog_compiler__b=yes
9827      fi
9828    fi
9829    $RM -r conftest*
9830    LDFLAGS="$save_LDFLAGS"
9831
9832 fi
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9835
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9840 fi
9841
9842           ;;
9843         esac
9844       fi
9845       if test "$with_gnu_ld" = no; then
9846         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847         hardcode_libdir_separator=:
9848
9849         case $host_cpu in
9850         hppa*64*|ia64*)
9851           hardcode_direct=no
9852           hardcode_shlibpath_var=no
9853           ;;
9854         *)
9855           hardcode_direct=yes
9856           hardcode_direct_absolute=yes
9857           export_dynamic_flag_spec='${wl}-E'
9858
9859           # hardcode_minus_L: Not really in the search PATH,
9860           # but as the default location of the library.
9861           hardcode_minus_L=yes
9862           ;;
9863         esac
9864       fi
9865       ;;
9866
9867     irix5* | irix6* | nonstopux*)
9868       if test "$GCC" = yes; then
9869         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'
9870         # Try to use the -exported_symbol ld option, if it does not
9871         # work, assume that -exports_file does not work either and
9872         # implicitly export all symbols.
9873         save_LDFLAGS="$LDFLAGS"
9874         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875         if test x$gcc_no_link = xyes; then
9876   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9877 fi
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h.  */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883   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'
9884
9885 fi
9886 rm -f core conftest.err conftest.$ac_objext \
9887     conftest$ac_exeext conftest.$ac_ext
9888         LDFLAGS="$save_LDFLAGS"
9889       else
9890         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'
9891         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'
9892       fi
9893       archive_cmds_need_lc='no'
9894       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895       hardcode_libdir_separator=:
9896       inherit_rpath=yes
9897       link_all_deplibs=yes
9898       ;;
9899
9900     netbsd*)
9901       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9903       else
9904         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9905       fi
9906       hardcode_libdir_flag_spec='-R$libdir'
9907       hardcode_direct=yes
9908       hardcode_shlibpath_var=no
9909       ;;
9910
9911     newsos6)
9912       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913       hardcode_direct=yes
9914       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915       hardcode_libdir_separator=:
9916       hardcode_shlibpath_var=no
9917       ;;
9918
9919     *nto* | *qnx*)
9920       ;;
9921
9922     openbsd*)
9923       if test -f /usr/libexec/ld.so; then
9924         hardcode_direct=yes
9925         hardcode_shlibpath_var=no
9926         hardcode_direct_absolute=yes
9927         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931           export_dynamic_flag_spec='${wl}-E'
9932         else
9933           case $host_os in
9934            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936              hardcode_libdir_flag_spec='-R$libdir'
9937              ;;
9938            *)
9939              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941              ;;
9942           esac
9943         fi
9944       else
9945         ld_shlibs=no
9946       fi
9947       ;;
9948
9949     os2*)
9950       hardcode_libdir_flag_spec='-L$libdir'
9951       hardcode_minus_L=yes
9952       allow_undefined_flag=unsupported
9953       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'
9954       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9955       ;;
9956
9957     osf3*)
9958       if test "$GCC" = yes; then
9959         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960         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'
9961       else
9962         allow_undefined_flag=' -expect_unresolved \*'
9963         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'
9964       fi
9965       archive_cmds_need_lc='no'
9966       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967       hardcode_libdir_separator=:
9968       ;;
9969
9970     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9971       if test "$GCC" = yes; then
9972         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
9974         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975       else
9976         allow_undefined_flag=' -expect_unresolved \*'
9977         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'
9978         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~
9979         $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'
9980
9981         # Both c and cxx compiler support -rpath directly
9982         hardcode_libdir_flag_spec='-rpath $libdir'
9983       fi
9984       archive_cmds_need_lc='no'
9985       hardcode_libdir_separator=:
9986       ;;
9987
9988     solaris*)
9989       no_undefined_flag=' -z defs'
9990       if test "$GCC" = yes; then
9991         wlarc='${wl}'
9992         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995       else
9996         case `$CC -V 2>&1` in
9997         *"Compilers 5.0"*)
9998           wlarc=''
9999           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10002           ;;
10003         *)
10004           wlarc='${wl}'
10005           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008           ;;
10009         esac
10010       fi
10011       hardcode_libdir_flag_spec='-R$libdir'
10012       hardcode_shlibpath_var=no
10013       case $host_os in
10014       solaris2.[0-5] | solaris2.[0-5].*) ;;
10015       *)
10016         # The compiler driver will combine and reorder linker options,
10017         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10018         # but is careful enough not to reorder.
10019         # Supported since Solaris 2.6 (maybe 2.5.1?)
10020         if test "$GCC" = yes; then
10021           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022         else
10023           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10024         fi
10025         ;;
10026       esac
10027       link_all_deplibs=yes
10028       ;;
10029
10030     sunos4*)
10031       if test "x$host_vendor" = xsequent; then
10032         # Use $CC to link under sequent, because it throws in some extra .o
10033         # files that make .init and .fini sections work.
10034         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035       else
10036         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10037       fi
10038       hardcode_libdir_flag_spec='-L$libdir'
10039       hardcode_direct=yes
10040       hardcode_minus_L=yes
10041       hardcode_shlibpath_var=no
10042       ;;
10043
10044     sysv4)
10045       case $host_vendor in
10046         sni)
10047           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048           hardcode_direct=yes # is this really true???
10049         ;;
10050         siemens)
10051           ## LD is ld it makes a PLAMLIB
10052           ## CC just makes a GrossModule.
10053           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054           reload_cmds='$CC -r -o $output$reload_objs'
10055           hardcode_direct=no
10056         ;;
10057         motorola)
10058           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10060         ;;
10061       esac
10062       runpath_var='LD_RUN_PATH'
10063       hardcode_shlibpath_var=no
10064       ;;
10065
10066     sysv4.3*)
10067       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068       hardcode_shlibpath_var=no
10069       export_dynamic_flag_spec='-Bexport'
10070       ;;
10071
10072     sysv4*MP*)
10073       if test -d /usr/nec; then
10074         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075         hardcode_shlibpath_var=no
10076         runpath_var=LD_RUN_PATH
10077         hardcode_runpath_var=yes
10078         ld_shlibs=yes
10079       fi
10080       ;;
10081
10082     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083       no_undefined_flag='${wl}-z,text'
10084       archive_cmds_need_lc=no
10085       hardcode_shlibpath_var=no
10086       runpath_var='LD_RUN_PATH'
10087
10088       if test "$GCC" = yes; then
10089         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091       else
10092         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094       fi
10095       ;;
10096
10097     sysv5* | sco3.2v5* | sco5v6*)
10098       # Note: We can NOT use -z defs as we might desire, because we do not
10099       # link with -lc, and that would cause any symbols used from libc to
10100       # always be unresolved, which means just about no library would
10101       # ever link correctly.  If we're not using GNU ld we use -z text
10102       # though, which does catch some bad symbols but isn't as heavy-handed
10103       # as -z defs.
10104       no_undefined_flag='${wl}-z,text'
10105       allow_undefined_flag='${wl}-z,nodefs'
10106       archive_cmds_need_lc=no
10107       hardcode_shlibpath_var=no
10108       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109       hardcode_libdir_separator=':'
10110       link_all_deplibs=yes
10111       export_dynamic_flag_spec='${wl}-Bexport'
10112       runpath_var='LD_RUN_PATH'
10113
10114       if test "$GCC" = yes; then
10115         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117       else
10118         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120       fi
10121       ;;
10122
10123     uts4*)
10124       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125       hardcode_libdir_flag_spec='-L$libdir'
10126       hardcode_shlibpath_var=no
10127       ;;
10128
10129     *)
10130       ld_shlibs=no
10131       ;;
10132     esac
10133
10134     if test x$host_vendor = xsni; then
10135       case $host in
10136       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137         export_dynamic_flag_spec='${wl}-Blargedynsym'
10138         ;;
10139       esac
10140     fi
10141   fi
10142
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10146
10147 with_gnu_ld=$with_gnu_ld
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163 #
10164 # Do we need to explicitly link libc?
10165 #
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168   # Assume -lc should be added
10169   archive_cmds_need_lc=yes
10170
10171   if test "$enable_shared" = yes && test "$GCC" = yes; then
10172     case $archive_cmds in
10173     *'~'*)
10174       # FIXME: we may have to deal with multi-command sequences.
10175       ;;
10176     '$CC '*)
10177       # Test whether the compiler implicitly links with -lc since on some
10178       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179       # to ld, don't add -lc before -lgcc.
10180       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183   $as_echo_n "(cached) " >&6
10184 else
10185   $RM conftest*
10186         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10187
10188         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189   (eval $ac_compile) 2>&5
10190   ac_status=$?
10191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192   test $ac_status = 0; } 2>conftest.err; then
10193           soname=conftest
10194           lib=conftest
10195           libobjs=conftest.$ac_objext
10196           deplibs=
10197           wl=$lt_prog_compiler_wl
10198           pic_flag=$lt_prog_compiler_pic
10199           compiler_flags=-v
10200           linker_flags=-v
10201           verstring=
10202           output_objdir=.
10203           libname=conftest
10204           lt_save_allow_undefined_flag=$allow_undefined_flag
10205           allow_undefined_flag=
10206           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208   ac_status=$?
10209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210   test $ac_status = 0; }
10211           then
10212             lt_cv_archive_cmds_need_lc=no
10213           else
10214             lt_cv_archive_cmds_need_lc=yes
10215           fi
10216           allow_undefined_flag=$lt_save_allow_undefined_flag
10217         else
10218           cat conftest.err 1>&5
10219         fi
10220         $RM conftest*
10221
10222 fi
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10226       ;;
10227     esac
10228   fi
10229   ;;
10230 esac
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10390
10391 if test "$GCC" = yes; then
10392   case $host_os in
10393     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394     *) lt_awk_arg="/^libraries:/" ;;
10395   esac
10396   case $host_os in
10397     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398     *) lt_sed_strip_eq="s,=/,/,g" ;;
10399   esac
10400   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401   case $lt_search_path_spec in
10402   *\;*)
10403     # if the path contains ";" then we assume it to be the separator
10404     # otherwise default to the standard path separator (i.e. ":") - it is
10405     # assumed that no part of a normal pathname contains ";" but that should
10406     # okay in the real world where ";" in dirpaths is itself problematic.
10407     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10408     ;;
10409   *)
10410     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10411     ;;
10412   esac
10413   # Ok, now we have the path, separated by spaces, we can step through it
10414   # and add multilib dir if necessary.
10415   lt_tmp_lt_search_path_spec=
10416   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417   for lt_sys_path in $lt_search_path_spec; do
10418     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420     else
10421       test -d "$lt_sys_path" && \
10422         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10423     fi
10424   done
10425   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427   lt_foo="";
10428   lt_count=0;
10429   for (lt_i = NF; lt_i > 0; lt_i--) {
10430     if ($lt_i != "" && $lt_i != ".") {
10431       if ($lt_i == "..") {
10432         lt_count++;
10433       } else {
10434         if (lt_count == 0) {
10435           lt_foo="/" $lt_i lt_foo;
10436         } else {
10437           lt_count--;
10438         }
10439       }
10440     }
10441   }
10442   if (lt_foo != "") { lt_freq[lt_foo]++; }
10443   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10444 }'`
10445   # AWK program above erroneously prepends '/' to C:/dos/paths
10446   # for these hosts.
10447   case $host_os in
10448     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450   esac
10451   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10454 fi
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10470
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10474
10475 case $host_os in
10476 aix3*)
10477   version_type=linux
10478   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479   shlibpath_var=LIBPATH
10480
10481   # AIX 3 has no versioning support, so we append a major version to the name.
10482   soname_spec='${libname}${release}${shared_ext}$major'
10483   ;;
10484
10485 aix[4-9]*)
10486   version_type=linux
10487   need_lib_prefix=no
10488   need_version=no
10489   hardcode_into_libs=yes
10490   if test "$host_cpu" = ia64; then
10491     # AIX 5 supports IA64
10492     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493     shlibpath_var=LD_LIBRARY_PATH
10494   else
10495     # With GCC up to 2.95.x, collect2 would create an import file
10496     # for dependence libraries.  The import file would start with
10497     # the line `#! .'.  This would cause the generated library to
10498     # depend on `.', always an invalid library.  This was fixed in
10499     # development snapshots of GCC prior to 3.0.
10500     case $host_os in
10501       aix4 | aix4.[01] | aix4.[01].*)
10502       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503            echo ' yes '
10504            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10505         :
10506       else
10507         can_build_shared=no
10508       fi
10509       ;;
10510     esac
10511     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512     # soname into executable. Probably we can add versioning support to
10513     # collect2, so additional links can be useful in future.
10514     if test "$aix_use_runtimelinking" = yes; then
10515       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516       # instead of lib<name>.a to let people know that these are not
10517       # typical AIX shared libraries.
10518       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519     else
10520       # We preserve .a as extension for shared libraries through AIX4.2
10521       # and later when we are not doing run time linking.
10522       library_names_spec='${libname}${release}.a $libname.a'
10523       soname_spec='${libname}${release}${shared_ext}$major'
10524     fi
10525     shlibpath_var=LIBPATH
10526   fi
10527   ;;
10528
10529 amigaos*)
10530   case $host_cpu in
10531   powerpc)
10532     # Since July 2007 AmigaOS4 officially supports .so libraries.
10533     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535     ;;
10536   m68k)
10537     library_names_spec='$libname.ixlibrary $libname.a'
10538     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539     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'
10540     ;;
10541   esac
10542   ;;
10543
10544 beos*)
10545   library_names_spec='${libname}${shared_ext}'
10546   dynamic_linker="$host_os ld.so"
10547   shlibpath_var=LIBRARY_PATH
10548   ;;
10549
10550 bsdi[45]*)
10551   version_type=linux
10552   need_version=no
10553   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554   soname_spec='${libname}${release}${shared_ext}$major'
10555   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556   shlibpath_var=LD_LIBRARY_PATH
10557   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559   # the default ld.so.conf also contains /usr/contrib/lib and
10560   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561   # libtool to hard-code these into programs
10562   ;;
10563
10564 cygwin* | mingw* | pw32* | cegcc*)
10565   version_type=windows
10566   shrext_cmds=".dll"
10567   need_version=no
10568   need_lib_prefix=no
10569
10570   case $GCC,$host_os in
10571   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572     library_names_spec='$libname.dll.a'
10573     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574     postinstall_cmds='base_file=`basename \${file}`~
10575       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576       dldir=$destdir/`dirname \$dlpath`~
10577       test -d \$dldir || mkdir -p \$dldir~
10578       $install_prog $dir/$dlname \$dldir/$dlname~
10579       chmod a+x \$dldir/$dlname~
10580       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10582       fi'
10583     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584       dlpath=$dir/\$dldll~
10585        $RM \$dlpath'
10586     shlibpath_overrides_runpath=yes
10587
10588     case $host_os in
10589     cygwin*)
10590       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10592
10593       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10594       ;;
10595     mingw* | cegcc*)
10596       # MinGW DLLs use traditional 'lib' prefix
10597       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598       ;;
10599     pw32*)
10600       # pw32 DLLs use 'pw' prefix rather than 'lib'
10601       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10602       ;;
10603     esac
10604     ;;
10605
10606   *)
10607     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10608     ;;
10609   esac
10610   dynamic_linker='Win32 ld.exe'
10611   # FIXME: first we should search . and the directory the executable is in
10612   shlibpath_var=PATH
10613   ;;
10614
10615 darwin* | rhapsody*)
10616   dynamic_linker="$host_os dyld"
10617   version_type=darwin
10618   need_lib_prefix=no
10619   need_version=no
10620   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621   soname_spec='${libname}${release}${major}$shared_ext'
10622   shlibpath_overrides_runpath=yes
10623   shlibpath_var=DYLD_LIBRARY_PATH
10624   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10625
10626   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10628   ;;
10629
10630 dgux*)
10631   version_type=linux
10632   need_lib_prefix=no
10633   need_version=no
10634   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635   soname_spec='${libname}${release}${shared_ext}$major'
10636   shlibpath_var=LD_LIBRARY_PATH
10637   ;;
10638
10639 freebsd* | dragonfly*)
10640   # DragonFly does not have aout.  When/if they implement a new
10641   # versioning mechanism, adjust this.
10642   if test -x /usr/bin/objformat; then
10643     objformat=`/usr/bin/objformat`
10644   else
10645     case $host_os in
10646     freebsd[23].*) objformat=aout ;;
10647     *) objformat=elf ;;
10648     esac
10649   fi
10650   version_type=freebsd-$objformat
10651   case $version_type in
10652     freebsd-elf*)
10653       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654       need_version=no
10655       need_lib_prefix=no
10656       ;;
10657     freebsd-*)
10658       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659       need_version=yes
10660       ;;
10661   esac
10662   shlibpath_var=LD_LIBRARY_PATH
10663   case $host_os in
10664   freebsd2.*)
10665     shlibpath_overrides_runpath=yes
10666     ;;
10667   freebsd3.[01]* | freebsdelf3.[01]*)
10668     shlibpath_overrides_runpath=yes
10669     hardcode_into_libs=yes
10670     ;;
10671   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673     shlibpath_overrides_runpath=no
10674     hardcode_into_libs=yes
10675     ;;
10676   *) # from 4.6 on, and DragonFly
10677     shlibpath_overrides_runpath=yes
10678     hardcode_into_libs=yes
10679     ;;
10680   esac
10681   ;;
10682
10683 gnu*)
10684   version_type=linux
10685   need_lib_prefix=no
10686   need_version=no
10687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688   soname_spec='${libname}${release}${shared_ext}$major'
10689   shlibpath_var=LD_LIBRARY_PATH
10690   hardcode_into_libs=yes
10691   ;;
10692
10693 haiku*)
10694   version_type=linux
10695   need_lib_prefix=no
10696   need_version=no
10697   dynamic_linker="$host_os runtime_loader"
10698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699   soname_spec='${libname}${release}${shared_ext}$major'
10700   shlibpath_var=LIBRARY_PATH
10701   shlibpath_overrides_runpath=yes
10702   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703   hardcode_into_libs=yes
10704   ;;
10705
10706 hpux9* | hpux10* | hpux11*)
10707   # Give a soname corresponding to the major version so that dld.sl refuses to
10708   # link against other versions.
10709   version_type=sunos
10710   need_lib_prefix=no
10711   need_version=no
10712   case $host_cpu in
10713   ia64*)
10714     shrext_cmds='.so'
10715     hardcode_into_libs=yes
10716     dynamic_linker="$host_os dld.so"
10717     shlibpath_var=LD_LIBRARY_PATH
10718     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720     soname_spec='${libname}${release}${shared_ext}$major'
10721     if test "X$HPUX_IA64_MODE" = X32; then
10722       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723     else
10724       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10725     fi
10726     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10727     ;;
10728   hppa*64*)
10729     shrext_cmds='.sl'
10730     hardcode_into_libs=yes
10731     dynamic_linker="$host_os dld.sl"
10732     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735     soname_spec='${libname}${release}${shared_ext}$major'
10736     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10738     ;;
10739   *)
10740     shrext_cmds='.sl'
10741     dynamic_linker="$host_os dld.sl"
10742     shlibpath_var=SHLIB_PATH
10743     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745     soname_spec='${libname}${release}${shared_ext}$major'
10746     ;;
10747   esac
10748   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749   postinstall_cmds='chmod 555 $lib'
10750   # or fails outright, so override atomically:
10751   install_override_mode=555
10752   ;;
10753
10754 interix[3-9]*)
10755   version_type=linux
10756   need_lib_prefix=no
10757   need_version=no
10758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759   soname_spec='${libname}${release}${shared_ext}$major'
10760   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761   shlibpath_var=LD_LIBRARY_PATH
10762   shlibpath_overrides_runpath=no
10763   hardcode_into_libs=yes
10764   ;;
10765
10766 irix5* | irix6* | nonstopux*)
10767   case $host_os in
10768     nonstopux*) version_type=nonstopux ;;
10769     *)
10770         if test "$lt_cv_prog_gnu_ld" = yes; then
10771                 version_type=linux
10772         else
10773                 version_type=irix
10774         fi ;;
10775   esac
10776   need_lib_prefix=no
10777   need_version=no
10778   soname_spec='${libname}${release}${shared_ext}$major'
10779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780   case $host_os in
10781   irix5* | nonstopux*)
10782     libsuff= shlibsuff=
10783     ;;
10784   *)
10785     case $LD in # libtool.m4 will add one of these switches to LD
10786     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787       libsuff= shlibsuff= libmagic=32-bit;;
10788     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789       libsuff=32 shlibsuff=N32 libmagic=N32;;
10790     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792     *) libsuff= shlibsuff= libmagic=never-match;;
10793     esac
10794     ;;
10795   esac
10796   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797   shlibpath_overrides_runpath=no
10798   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800   hardcode_into_libs=yes
10801   ;;
10802
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805   dynamic_linker=no
10806   ;;
10807
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810   version_type=linux
10811   need_lib_prefix=no
10812   need_version=no
10813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814   soname_spec='${libname}${release}${shared_ext}$major'
10815   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816   shlibpath_var=LD_LIBRARY_PATH
10817   shlibpath_overrides_runpath=no
10818
10819   # Some binutils ld are patched to set DT_RUNPATH
10820   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821   $as_echo_n "(cached) " >&6
10822 else
10823   lt_cv_shlibpath_overrides_runpath=no
10824     save_LDFLAGS=$LDFLAGS
10825     save_libdir=$libdir
10826     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828     if test x$gcc_no_link = xyes; then
10829   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10830 fi
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h.  */
10833
10834 int
10835 main ()
10836 {
10837
10838   ;
10839   return 0;
10840 }
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844   lt_cv_shlibpath_overrides_runpath=yes
10845 fi
10846 fi
10847 rm -f core conftest.err conftest.$ac_objext \
10848     conftest$ac_exeext conftest.$ac_ext
10849     LDFLAGS=$save_LDFLAGS
10850     libdir=$save_libdir
10851
10852 fi
10853
10854   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10855
10856   # This implies no fast_install, which is unacceptable.
10857   # Some rework will be needed to allow for fast_install
10858   # before this can be enabled.
10859   hardcode_into_libs=yes
10860
10861   # Append ld.so.conf contents to the search path
10862   if test -f /etc/ld.so.conf; then
10863     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' ' '`
10864     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10865   fi
10866
10867   # We used to test for /lib/ld.so.1 and disable shared libraries on
10868   # powerpc, because MkLinux only supported shared libraries with the
10869   # GNU dynamic linker.  Since this was broken with cross compilers,
10870   # most powerpc-linux boxes support dynamic linking these days and
10871   # people can always --disable-shared, the test was removed, and we
10872   # assume the GNU/Linux dynamic linker is in use.
10873   dynamic_linker='GNU/Linux ld.so'
10874   ;;
10875
10876 netbsd*)
10877   version_type=sunos
10878   need_lib_prefix=no
10879   need_version=no
10880   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883     dynamic_linker='NetBSD (a.out) ld.so'
10884   else
10885     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886     soname_spec='${libname}${release}${shared_ext}$major'
10887     dynamic_linker='NetBSD ld.elf_so'
10888   fi
10889   shlibpath_var=LD_LIBRARY_PATH
10890   shlibpath_overrides_runpath=yes
10891   hardcode_into_libs=yes
10892   ;;
10893
10894 newsos6)
10895   version_type=linux
10896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897   shlibpath_var=LD_LIBRARY_PATH
10898   shlibpath_overrides_runpath=yes
10899   ;;
10900
10901 *nto* | *qnx*)
10902   version_type=qnx
10903   need_lib_prefix=no
10904   need_version=no
10905   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906   soname_spec='${libname}${release}${shared_ext}$major'
10907   shlibpath_var=LD_LIBRARY_PATH
10908   shlibpath_overrides_runpath=no
10909   hardcode_into_libs=yes
10910   dynamic_linker='ldqnx.so'
10911   ;;
10912
10913 openbsd*)
10914   version_type=sunos
10915   sys_lib_dlsearch_path_spec="/usr/lib"
10916   need_lib_prefix=no
10917   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918   case $host_os in
10919     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10920     *)                          need_version=no  ;;
10921   esac
10922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924   shlibpath_var=LD_LIBRARY_PATH
10925   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926     case $host_os in
10927       openbsd2.[89] | openbsd2.[89].*)
10928         shlibpath_overrides_runpath=no
10929         ;;
10930       *)
10931         shlibpath_overrides_runpath=yes
10932         ;;
10933       esac
10934   else
10935     shlibpath_overrides_runpath=yes
10936   fi
10937   ;;
10938
10939 os2*)
10940   libname_spec='$name'
10941   shrext_cmds=".dll"
10942   need_lib_prefix=no
10943   library_names_spec='$libname${shared_ext} $libname.a'
10944   dynamic_linker='OS/2 ld.exe'
10945   shlibpath_var=LIBPATH
10946   ;;
10947
10948 osf3* | osf4* | osf5*)
10949   version_type=osf
10950   need_lib_prefix=no
10951   need_version=no
10952   soname_spec='${libname}${release}${shared_ext}$major'
10953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954   shlibpath_var=LD_LIBRARY_PATH
10955   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10957   ;;
10958
10959 rdos*)
10960   dynamic_linker=no
10961   ;;
10962
10963 solaris*)
10964   version_type=linux
10965   need_lib_prefix=no
10966   need_version=no
10967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968   soname_spec='${libname}${release}${shared_ext}$major'
10969   shlibpath_var=LD_LIBRARY_PATH
10970   shlibpath_overrides_runpath=yes
10971   hardcode_into_libs=yes
10972   # ldd complains unless libraries are executable
10973   postinstall_cmds='chmod +x $lib'
10974   ;;
10975
10976 sunos4*)
10977   version_type=sunos
10978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980   shlibpath_var=LD_LIBRARY_PATH
10981   shlibpath_overrides_runpath=yes
10982   if test "$with_gnu_ld" = yes; then
10983     need_lib_prefix=no
10984   fi
10985   need_version=yes
10986   ;;
10987
10988 sysv4 | sysv4.3*)
10989   version_type=linux
10990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991   soname_spec='${libname}${release}${shared_ext}$major'
10992   shlibpath_var=LD_LIBRARY_PATH
10993   case $host_vendor in
10994     sni)
10995       shlibpath_overrides_runpath=no
10996       need_lib_prefix=no
10997       runpath_var=LD_RUN_PATH
10998       ;;
10999     siemens)
11000       need_lib_prefix=no
11001       ;;
11002     motorola)
11003       need_lib_prefix=no
11004       need_version=no
11005       shlibpath_overrides_runpath=no
11006       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11007       ;;
11008   esac
11009   ;;
11010
11011 sysv4*MP*)
11012   if test -d /usr/nec ;then
11013     version_type=linux
11014     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015     soname_spec='$libname${shared_ext}.$major'
11016     shlibpath_var=LD_LIBRARY_PATH
11017   fi
11018   ;;
11019
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021   version_type=freebsd-elf
11022   need_lib_prefix=no
11023   need_version=no
11024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025   soname_spec='${libname}${release}${shared_ext}$major'
11026   shlibpath_var=LD_LIBRARY_PATH
11027   shlibpath_overrides_runpath=yes
11028   hardcode_into_libs=yes
11029   if test "$with_gnu_ld" = yes; then
11030     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031   else
11032     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033     case $host_os in
11034       sco3.2v5*)
11035         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11036         ;;
11037     esac
11038   fi
11039   sys_lib_dlsearch_path_spec='/usr/lib'
11040   ;;
11041
11042 tpf*)
11043   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11044   version_type=linux
11045   need_lib_prefix=no
11046   need_version=no
11047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048   shlibpath_var=LD_LIBRARY_PATH
11049   shlibpath_overrides_runpath=no
11050   hardcode_into_libs=yes
11051   ;;
11052
11053 uts4*)
11054   version_type=linux
11055   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056   soname_spec='${libname}${release}${shared_ext}$major'
11057   shlibpath_var=LD_LIBRARY_PATH
11058   ;;
11059
11060 *)
11061   dynamic_linker=no
11062   ;;
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11067
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11071 fi
11072
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11075 fi
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11078 fi
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175    test -n "$runpath_var" ||
11176    test "X$hardcode_automatic" = "Xyes" ; then
11177
11178   # We can hardcode non-existent directories.
11179   if test "$hardcode_direct" != no &&
11180      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181      # have to relink, otherwise we might link with an installed library
11182      # when we should be linking with a yet-to-be-installed one
11183      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184      test "$hardcode_minus_L" != no; then
11185     # Linking always hardcodes the temporary library directory.
11186     hardcode_action=relink
11187   else
11188     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189     hardcode_action=immediate
11190   fi
11191 else
11192   # We cannot hardcode anything, or else we can only hardcode existing
11193   # directories.
11194   hardcode_action=unsupported
11195 fi
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11198
11199 if test "$hardcode_action" = relink ||
11200    test "$inherit_rpath" = yes; then
11201   # Fast installation is not supported
11202   enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204      test "$enable_shared" = no; then
11205   # Fast installation is not necessary
11206   enable_fast_install=needless
11207 fi
11208
11209
11210
11211
11212
11213
11214   if test "x$enable_dlopen" != xyes; then
11215   enable_dlopen=unknown
11216   enable_dlopen_self=unknown
11217   enable_dlopen_self_static=unknown
11218 else
11219   lt_cv_dlopen=no
11220   lt_cv_dlopen_libs=
11221
11222   case $host_os in
11223   beos*)
11224     lt_cv_dlopen="load_add_on"
11225     lt_cv_dlopen_libs=
11226     lt_cv_dlopen_self=yes
11227     ;;
11228
11229   mingw* | pw32* | cegcc*)
11230     lt_cv_dlopen="LoadLibrary"
11231     lt_cv_dlopen_libs=
11232     ;;
11233
11234   cygwin*)
11235     lt_cv_dlopen="dlopen"
11236     lt_cv_dlopen_libs=
11237     ;;
11238
11239   darwin*)
11240   # if libdl is installed we need to link against it
11241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244   $as_echo_n "(cached) " >&6
11245 else
11246   ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl  $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11250 fi
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h.  */
11253
11254 /* Override any GCC internal prototype to avoid an error.
11255    Use char because int might match the return type of a GCC
11256    builtin and then its argument prototype would still apply.  */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11261 int
11262 main ()
11263 {
11264 return dlopen ();
11265   ;
11266   return 0;
11267 }
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270   ac_cv_lib_dl_dlopen=yes
11271 else
11272   ac_cv_lib_dl_dlopen=no
11273 fi
11274 rm -f core conftest.err conftest.$ac_objext \
11275     conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11277 fi
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11283
11284     lt_cv_dlopen="dyld"
11285     lt_cv_dlopen_libs=
11286     lt_cv_dlopen_self=yes
11287
11288 fi
11289
11290     ;;
11291
11292   *)
11293     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295   lt_cv_dlopen="shl_load"
11296 else
11297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300   $as_echo_n "(cached) " >&6
11301 else
11302   ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld  $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11306 fi
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h.  */
11309
11310 /* Override any GCC internal prototype to avoid an error.
11311    Use char because int might match the return type of a GCC
11312    builtin and then its argument prototype would still apply.  */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11317 int
11318 main ()
11319 {
11320 return shl_load ();
11321   ;
11322   return 0;
11323 }
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326   ac_cv_lib_dld_shl_load=yes
11327 else
11328   ac_cv_lib_dld_shl_load=no
11329 fi
11330 rm -f core conftest.err conftest.$ac_objext \
11331     conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11333 fi
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341   lt_cv_dlopen="dlopen"
11342 else
11343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346   $as_echo_n "(cached) " >&6
11347 else
11348   ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl  $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11352 fi
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h.  */
11355
11356 /* Override any GCC internal prototype to avoid an error.
11357    Use char because int might match the return type of a GCC
11358    builtin and then its argument prototype would still apply.  */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11363 int
11364 main ()
11365 {
11366 return dlopen ();
11367   ;
11368   return 0;
11369 }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372   ac_cv_lib_dl_dlopen=yes
11373 else
11374   ac_cv_lib_dl_dlopen=no
11375 fi
11376 rm -f core conftest.err conftest.$ac_objext \
11377     conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388   $as_echo_n "(cached) " >&6
11389 else
11390   ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld  $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11394 fi
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h.  */
11397
11398 /* Override any GCC internal prototype to avoid an error.
11399    Use char because int might match the return type of a GCC
11400    builtin and then its argument prototype would still apply.  */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11405 int
11406 main ()
11407 {
11408 return dlopen ();
11409   ;
11410   return 0;
11411 }
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414   ac_cv_lib_svld_dlopen=yes
11415 else
11416   ac_cv_lib_svld_dlopen=no
11417 fi
11418 rm -f core conftest.err conftest.$ac_objext \
11419     conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11421 fi
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430   $as_echo_n "(cached) " >&6
11431 else
11432   ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld  $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 fi
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h.  */
11439
11440 /* Override any GCC internal prototype to avoid an error.
11441    Use char because int might match the return type of a GCC
11442    builtin and then its argument prototype would still apply.  */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11447 int
11448 main ()
11449 {
11450 return dld_link ();
11451   ;
11452   return 0;
11453 }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456   ac_cv_lib_dld_dld_link=yes
11457 else
11458   ac_cv_lib_dld_dld_link=no
11459 fi
11460 rm -f core conftest.err conftest.$ac_objext \
11461     conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11463 fi
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11468 fi
11469
11470
11471 fi
11472
11473
11474 fi
11475
11476
11477 fi
11478
11479
11480 fi
11481
11482
11483 fi
11484
11485     ;;
11486   esac
11487
11488   if test "x$lt_cv_dlopen" != xno; then
11489     enable_dlopen=yes
11490   else
11491     enable_dlopen=no
11492   fi
11493
11494   case $lt_cv_dlopen in
11495   dlopen)
11496     save_CPPFLAGS="$CPPFLAGS"
11497     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11498
11499     save_LDFLAGS="$LDFLAGS"
11500     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11501
11502     save_LIBS="$LIBS"
11503     LIBS="$lt_cv_dlopen_libs $LIBS"
11504
11505     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508   $as_echo_n "(cached) " >&6
11509 else
11510           if test "$cross_compiling" = yes; then :
11511   lt_cv_dlopen_self=cross
11512 else
11513   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514   lt_status=$lt_dlunknown
11515   cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11518
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11522
11523 #include <stdio.h>
11524
11525 #ifdef RTLD_GLOBAL
11526 #  define LT_DLGLOBAL           RTLD_GLOBAL
11527 #else
11528 #  ifdef DL_GLOBAL
11529 #    define LT_DLGLOBAL         DL_GLOBAL
11530 #  else
11531 #    define LT_DLGLOBAL         0
11532 #  endif
11533 #endif
11534
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536    find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 #  ifdef RTLD_LAZY
11539 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11540 #  else
11541 #    ifdef DL_LAZY
11542 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11543 #    else
11544 #      ifdef RTLD_NOW
11545 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11546 #      else
11547 #        ifdef DL_NOW
11548 #          define LT_DLLAZY_OR_NOW      DL_NOW
11549 #        else
11550 #          define LT_DLLAZY_OR_NOW      0
11551 #        endif
11552 #      endif
11553 #    endif
11554 #  endif
11555 #endif
11556
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558    correspondingly for the symbols needed.  */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11562
11563 void fnord () { int i=42; }
11564 int main ()
11565 {
11566   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567   int status = $lt_dlunknown;
11568
11569   if (self)
11570     {
11571       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11572       else
11573         {
11574           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11575           else puts (dlerror ());
11576         }
11577       /* dlclose (self); */
11578     }
11579   else
11580     puts (dlerror ());
11581
11582   return status;
11583 }
11584 _LT_EOF
11585   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586   (eval $ac_link) 2>&5
11587   ac_status=$?
11588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590     (./conftest; exit; ) >&5 2>/dev/null
11591     lt_status=$?
11592     case x$lt_status in
11593       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596     esac
11597   else :
11598     # compilation failed
11599     lt_cv_dlopen_self=no
11600   fi
11601 fi
11602 rm -fr conftest*
11603
11604
11605 fi
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11608
11609     if test "x$lt_cv_dlopen_self" = xyes; then
11610       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614   $as_echo_n "(cached) " >&6
11615 else
11616           if test "$cross_compiling" = yes; then :
11617   lt_cv_dlopen_self_static=cross
11618 else
11619   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620   lt_status=$lt_dlunknown
11621   cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11624
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11628
11629 #include <stdio.h>
11630
11631 #ifdef RTLD_GLOBAL
11632 #  define LT_DLGLOBAL           RTLD_GLOBAL
11633 #else
11634 #  ifdef DL_GLOBAL
11635 #    define LT_DLGLOBAL         DL_GLOBAL
11636 #  else
11637 #    define LT_DLGLOBAL         0
11638 #  endif
11639 #endif
11640
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642    find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 #  ifdef RTLD_LAZY
11645 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11646 #  else
11647 #    ifdef DL_LAZY
11648 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11649 #    else
11650 #      ifdef RTLD_NOW
11651 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11652 #      else
11653 #        ifdef DL_NOW
11654 #          define LT_DLLAZY_OR_NOW      DL_NOW
11655 #        else
11656 #          define LT_DLLAZY_OR_NOW      0
11657 #        endif
11658 #      endif
11659 #    endif
11660 #  endif
11661 #endif
11662
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664    correspondingly for the symbols needed.  */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11668
11669 void fnord () { int i=42; }
11670 int main ()
11671 {
11672   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673   int status = $lt_dlunknown;
11674
11675   if (self)
11676     {
11677       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11678       else
11679         {
11680           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11681           else puts (dlerror ());
11682         }
11683       /* dlclose (self); */
11684     }
11685   else
11686     puts (dlerror ());
11687
11688   return status;
11689 }
11690 _LT_EOF
11691   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692   (eval $ac_link) 2>&5
11693   ac_status=$?
11694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696     (./conftest; exit; ) >&5 2>/dev/null
11697     lt_status=$?
11698     case x$lt_status in
11699       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702     esac
11703   else :
11704     # compilation failed
11705     lt_cv_dlopen_self_static=no
11706   fi
11707 fi
11708 rm -fr conftest*
11709
11710
11711 fi
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11714     fi
11715
11716     CPPFLAGS="$save_CPPFLAGS"
11717     LDFLAGS="$save_LDFLAGS"
11718     LIBS="$save_LIBS"
11719     ;;
11720   esac
11721
11722   case $lt_cv_dlopen_self in
11723   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724   *) enable_dlopen_self=unknown ;;
11725   esac
11726
11727   case $lt_cv_dlopen_self_static in
11728   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729   *) enable_dlopen_self_static=unknown ;;
11730   esac
11731 fi
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760   case $host_os in
11761   darwin*)
11762     if test -n "$STRIP" ; then
11763       striplib="$STRIP -x"
11764       old_striplib="$STRIP -S"
11765       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767     else
11768       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11770     fi
11771     ;;
11772   *)
11773     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11775     ;;
11776   esac
11777 fi
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790   # Report which library types will actually be built
11791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11795
11796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798   test "$can_build_shared" = "no" && enable_shared=no
11799
11800   # On AIX, shared libraries and static libraries use the same namespace, and
11801   # are all built from PIC.
11802   case $host_os in
11803   aix3*)
11804     test "$enable_shared" = yes && enable_static=no
11805     if test -n "$RANLIB"; then
11806       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807       postinstall_cmds='$RANLIB $lib'
11808     fi
11809     ;;
11810
11811   aix[4-9]*)
11812     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813       test "$enable_shared" = yes && enable_static=no
11814     fi
11815     ;;
11816   esac
11817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11819
11820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822   # Make sure either enable_shared or enable_static is yes.
11823   test "$enable_shared" = yes || enable_static=yes
11824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11826
11827
11828
11829
11830 fi
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11836
11837 CC="$lt_save_CC"
11838
11839       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841     (test "X$CXX" != "Xg++"))) ; then
11842   ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851   $as_echo_n "(cached) " >&6
11852 else
11853       # Double quotes because CXXCPP needs to be expanded
11854     for CXXCPP in "$CXX -E" "/lib/cpp"
11855     do
11856       ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11858 do
11859   # Use a header file that comes with gcc, so configuring glibc
11860   # with a fresh cross-compiler works.
11861   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862   # <limits.h> exists even on freestanding compilers.
11863   # On the NeXT, cc -E runs the code through the compiler's parser,
11864   # not just through cpp. "Syntax error" is here to catch this case.
11865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h.  */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872                      Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11875
11876 else
11877   # Broken: fails on valid input.
11878 continue
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882   # OK, works on sane cases.  Now check whether nonexistent headers
11883   # can be detected and how.
11884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h.  */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889   # Broken: success on invalid input.
11890 continue
11891 else
11892   # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11895 fi
11896 rm -f conftest.err conftest.$ac_ext
11897
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902   break
11903 fi
11904
11905     done
11906     ac_cv_prog_CXXCPP=$CXXCPP
11907
11908 fi
11909   CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911   ac_cv_prog_CXXCPP=$CXXCPP
11912 fi
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11917 do
11918   # Use a header file that comes with gcc, so configuring glibc
11919   # with a fresh cross-compiler works.
11920   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921   # <limits.h> exists even on freestanding compilers.
11922   # On the NeXT, cc -E runs the code through the compiler's parser,
11923   # not just through cpp. "Syntax error" is here to catch this case.
11924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h.  */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931                      Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11934
11935 else
11936   # Broken: fails on valid input.
11937 continue
11938 fi
11939 rm -f conftest.err conftest.$ac_ext
11940
11941   # OK, works on sane cases.  Now check whether nonexistent headers
11942   # can be detected and how.
11943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h.  */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948   # Broken: success on invalid input.
11949 continue
11950 else
11951   # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11954 fi
11955 rm -f conftest.err conftest.$ac_ext
11956
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11961
11962 else
11963   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11967 fi
11968
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974
11975 else
11976   _lt_caught_CXX_error=yes
11977 fi
11978
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11984
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12009
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12012
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12016
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working.  Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022   # Code to be used in simple compile tests
12023   lt_simple_compile_test_code="int some_variable = 0;"
12024
12025   # Code to be used in simple link tests
12026   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12027
12028   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12029
12030
12031
12032
12033
12034
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12037
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12040
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12043
12044
12045   # save warnings/boilerplate of simple test code
12046   ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12051
12052   ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12057
12058
12059   # Allow CC to be a program name with arguments.
12060   lt_save_CC=$CC
12061   lt_save_LD=$LD
12062   lt_save_GCC=$GCC
12063   GCC=$GXX
12064   lt_save_with_gnu_ld=$with_gnu_ld
12065   lt_save_path_LD=$lt_cv_path_LD
12066   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068   else
12069     $as_unset lt_cv_prog_gnu_ld
12070   fi
12071   if test -n "${lt_cv_path_LDCXX+set}"; then
12072     lt_cv_path_LD=$lt_cv_path_LDCXX
12073   else
12074     $as_unset lt_cv_path_LD
12075   fi
12076   test -z "${LDCXX+set}" || LD=$LDCXX
12077   CC=${CXX-"c++"}
12078   compiler=$CC
12079   compiler_CXX=$CC
12080   for cc_temp in $compiler""; do
12081   case $cc_temp in
12082     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084     \-*) ;;
12085     *) break;;
12086   esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12089
12090
12091   if test -n "$compiler"; then
12092     # We don't want -fno-exception when compiling C++ code, so set the
12093     # no_builtin_flag separately
12094     if test "$GXX" = yes; then
12095       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096     else
12097       lt_prog_compiler_no_builtin_flag_CXX=
12098     fi
12099
12100     if test "$GXX" = yes; then
12101       # Set up default GNU C++ configuration
12102
12103
12104
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109   with_gnu_ld=no
12110 fi
12111
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114   # Check if gcc -print-prog-name=ld gives a path.
12115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117   case $host in
12118   *-*-mingw*)
12119     # gcc leaves a trailing carriage return which upsets mingw
12120     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12121   *)
12122     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123   esac
12124   case $ac_prog in
12125     # Accept absolute paths.
12126     [\\/]* | ?:[\\/]*)
12127       re_direlt='/[^/][^/]*/\.\./'
12128       # Canonicalize the pathname of ld
12129       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132       done
12133       test -z "$LD" && LD="$ac_prog"
12134       ;;
12135   "")
12136     # If it fails, then pretend we aren't using GCC.
12137     ac_prog=ld
12138     ;;
12139   *)
12140     # If it is relative, then search for the first ld in PATH.
12141     with_gnu_ld=unknown
12142     ;;
12143   esac
12144 elif test "$with_gnu_ld" = yes; then
12145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12150 fi
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152   $as_echo_n "(cached) " >&6
12153 else
12154   if test -z "$LD"; then
12155   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156   for ac_dir in $PATH; do
12157     IFS="$lt_save_ifs"
12158     test -z "$ac_dir" && ac_dir=.
12159     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160       lt_cv_path_LD="$ac_dir/$ac_prog"
12161       # Check to see if the program is GNU ld.  I'd rather use --version,
12162       # but apparently some variants of GNU ld only accept -v.
12163       # Break only if it was the GNU/non-GNU ld that we prefer.
12164       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165       *GNU* | *'with BFD'*)
12166         test "$with_gnu_ld" != no && break
12167         ;;
12168       *)
12169         test "$with_gnu_ld" != yes && break
12170         ;;
12171       esac
12172     fi
12173   done
12174   IFS="$lt_save_ifs"
12175 else
12176   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12177 fi
12178 fi
12179
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12187 fi
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192   $as_echo_n "(cached) " >&6
12193 else
12194   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197   lt_cv_prog_gnu_ld=yes
12198   ;;
12199 *)
12200   lt_cv_prog_gnu_ld=no
12201   ;;
12202 esac
12203 fi
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12207
12208
12209
12210
12211
12212
12213
12214       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215       # archiving commands below assume that GNU ld is being used.
12216       if test "$with_gnu_ld" = yes; then
12217         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218         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'
12219
12220         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12222
12223         # If archive_cmds runs LD, not CC, wlarc should be empty
12224         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225         #     investigate it a little bit more. (MM)
12226         wlarc='${wl}'
12227
12228         # ancient GNU ld didn't support --whole-archive et. al.
12229         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230           $GREP 'no-whole-archive' > /dev/null; then
12231           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232         else
12233           whole_archive_flag_spec_CXX=
12234         fi
12235       else
12236         with_gnu_ld=no
12237         wlarc=
12238
12239         # A generic and very simple default shared library creation
12240         # command for GNU C++ for the case where it uses the native
12241         # linker, instead of GNU ld.  If possible, this setting should
12242         # overridden to take advantage of the native linker features on
12243         # the platform it is being used on.
12244         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12245       fi
12246
12247       # Commands to make compiler produce verbose output that lists
12248       # what "hidden" libraries, object files and flags are used when
12249       # linking a shared library.
12250       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12251
12252     else
12253       GXX=no
12254       with_gnu_ld=no
12255       wlarc=
12256     fi
12257
12258     # PORTME: fill in a description of your system's C++ link characteristics
12259     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261     ld_shlibs_CXX=yes
12262     case $host_os in
12263       aix3*)
12264         # FIXME: insert proper C++ library support
12265         ld_shlibs_CXX=no
12266         ;;
12267       aix[4-9]*)
12268         if test "$host_cpu" = ia64; then
12269           # On IA64, the linker does run time linking by default, so we don't
12270           # have to do anything special.
12271           aix_use_runtimelinking=no
12272           exp_sym_flag='-Bexport'
12273           no_entry_flag=""
12274         else
12275           aix_use_runtimelinking=no
12276
12277           # Test if we are trying to use run time linking or normal
12278           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279           # need to do runtime linking.
12280           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281             for ld_flag in $LDFLAGS; do
12282               case $ld_flag in
12283               *-brtl*)
12284                 aix_use_runtimelinking=yes
12285                 break
12286                 ;;
12287               esac
12288             done
12289             ;;
12290           esac
12291
12292           exp_sym_flag='-bexport'
12293           no_entry_flag='-bnoentry'
12294         fi
12295
12296         # When large executables or shared objects are built, AIX ld can
12297         # have problems creating the table of contents.  If linking a library
12298         # or program results in "error TOC overflow" add -mminimal-toc to
12299         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12300         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12301
12302         archive_cmds_CXX=''
12303         hardcode_direct_CXX=yes
12304         hardcode_direct_absolute_CXX=yes
12305         hardcode_libdir_separator_CXX=':'
12306         link_all_deplibs_CXX=yes
12307         file_list_spec_CXX='${wl}-f,'
12308
12309         if test "$GXX" = yes; then
12310           case $host_os in aix4.[012]|aix4.[012].*)
12311           # We only want to do this on AIX 4.2 and lower, the check
12312           # below for broken collect2 doesn't work under 4.3+
12313           collect2name=`${CC} -print-prog-name=collect2`
12314           if test -f "$collect2name" &&
12315              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316           then
12317             # We have reworked collect2
12318             :
12319           else
12320             # We have old collect2
12321             hardcode_direct_CXX=unsupported
12322             # It fails to find uninstalled libraries when the uninstalled
12323             # path is not listed in the libpath.  Setting hardcode_minus_L
12324             # to unsupported forces relinking
12325             hardcode_minus_L_CXX=yes
12326             hardcode_libdir_flag_spec_CXX='-L$libdir'
12327             hardcode_libdir_separator_CXX=
12328           fi
12329           esac
12330           shared_flag='-shared'
12331           if test "$aix_use_runtimelinking" = yes; then
12332             shared_flag="$shared_flag "'${wl}-G'
12333           fi
12334         else
12335           # not using gcc
12336           if test "$host_cpu" = ia64; then
12337           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338           # chokes on -Wl,-G. The following line is correct:
12339           shared_flag='-G'
12340           else
12341             if test "$aix_use_runtimelinking" = yes; then
12342               shared_flag='${wl}-G'
12343             else
12344               shared_flag='${wl}-bM:SRE'
12345             fi
12346           fi
12347         fi
12348
12349         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350         # It seems that -bexpall does not export symbols beginning with
12351         # underscore (_), so it is better to generate a list of symbols to
12352         # export.
12353         always_export_symbols_CXX=yes
12354         if test "$aix_use_runtimelinking" = yes; then
12355           # Warning - without using the other runtime loading flags (-brtl),
12356           # -berok will link without error, but may produce a broken library.
12357           allow_undefined_flag_CXX='-berok'
12358           # Determine the default libpath from the value encoded in an empty
12359           # executable.
12360           if test x$gcc_no_link = xyes; then
12361   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12362 fi
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h.  */
12365
12366 int
12367 main ()
12368 {
12369
12370   ;
12371   return 0;
12372 }
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12375
12376 lt_aix_libpath_sed='
12377     /Import File Strings/,/^$/ {
12378         /^0/ {
12379             s/^0  *\(.*\)$/\1/
12380             p
12381         }
12382     }'
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12387 fi
12388 fi
12389 rm -f core conftest.err conftest.$ac_objext \
12390     conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12392
12393           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12394
12395           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"
12396         else
12397           if test "$host_cpu" = ia64; then
12398             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399             allow_undefined_flag_CXX="-z nodefs"
12400             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"
12401           else
12402             # Determine the default libpath from the value encoded in an
12403             # empty executable.
12404             if test x$gcc_no_link = xyes; then
12405   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12406 fi
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h.  */
12409
12410 int
12411 main ()
12412 {
12413
12414   ;
12415   return 0;
12416 }
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12419
12420 lt_aix_libpath_sed='
12421     /Import File Strings/,/^$/ {
12422         /^0/ {
12423             s/^0  *\(.*\)$/\1/
12424             p
12425         }
12426     }'
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12431 fi
12432 fi
12433 rm -f core conftest.err conftest.$ac_objext \
12434     conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12436
12437             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438             # Warning - without using the other run time loading flags,
12439             # -berok will link without error, but may produce a broken library.
12440             no_undefined_flag_CXX=' ${wl}-bernotok'
12441             allow_undefined_flag_CXX=' ${wl}-berok'
12442             if test "$with_gnu_ld" = yes; then
12443               # We only use this code for GNU lds that support --whole-archive.
12444               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445             else
12446               # Exported symbols can be pulled into shared objects from archives
12447               whole_archive_flag_spec_CXX='$convenience'
12448             fi
12449             archive_cmds_need_lc_CXX=yes
12450             # This is similar to how AIX traditionally builds its shared
12451             # libraries.
12452             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'
12453           fi
12454         fi
12455         ;;
12456
12457       beos*)
12458         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459           allow_undefined_flag_CXX=unsupported
12460           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461           # support --undefined.  This deserves some investigation.  FIXME
12462           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463         else
12464           ld_shlibs_CXX=no
12465         fi
12466         ;;
12467
12468       chorus*)
12469         case $cc_basename in
12470           *)
12471           # FIXME: insert proper C++ library support
12472           ld_shlibs_CXX=no
12473           ;;
12474         esac
12475         ;;
12476
12477       cygwin* | mingw* | pw32* | cegcc*)
12478         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479         # as there is no search path for DLLs.
12480         hardcode_libdir_flag_spec_CXX='-L$libdir'
12481         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482         allow_undefined_flag_CXX=unsupported
12483         always_export_symbols_CXX=no
12484         enable_shared_with_static_runtimes_CXX=yes
12485
12486         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487           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'
12488           # If the export-symbols file already is a .def file (1st line
12489           # is EXPORTS), use it as is; otherwise, prepend...
12490           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491             cp $export_symbols $output_objdir/$soname.def;
12492           else
12493             echo EXPORTS > $output_objdir/$soname.def;
12494             cat $export_symbols >> $output_objdir/$soname.def;
12495           fi~
12496           $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'
12497         else
12498           ld_shlibs_CXX=no
12499         fi
12500         ;;
12501       darwin* | rhapsody*)
12502
12503
12504   archive_cmds_need_lc_CXX=no
12505   hardcode_direct_CXX=no
12506   hardcode_automatic_CXX=yes
12507   hardcode_shlibpath_var_CXX=unsupported
12508   if test "$lt_cv_ld_force_load" = "yes"; then
12509     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\"`'
12510   else
12511     whole_archive_flag_spec_CXX=''
12512   fi
12513   link_all_deplibs_CXX=yes
12514   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515   case $cc_basename in
12516      ifort*) _lt_dar_can_shared=yes ;;
12517      *) _lt_dar_can_shared=$GCC ;;
12518   esac
12519   if test "$_lt_dar_can_shared" = "yes"; then
12520     output_verbose_link_cmd=func_echo_all
12521     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}"
12522     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523     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}"
12524     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}"
12525        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526       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}"
12527       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}"
12528     fi
12529
12530   else
12531   ld_shlibs_CXX=no
12532   fi
12533
12534         ;;
12535
12536       dgux*)
12537         case $cc_basename in
12538           ec++*)
12539             # FIXME: insert proper C++ library support
12540             ld_shlibs_CXX=no
12541             ;;
12542           ghcx*)
12543             # Green Hills C++ Compiler
12544             # FIXME: insert proper C++ library support
12545             ld_shlibs_CXX=no
12546             ;;
12547           *)
12548             # FIXME: insert proper C++ library support
12549             ld_shlibs_CXX=no
12550             ;;
12551         esac
12552         ;;
12553
12554       freebsd2.*)
12555         # C++ shared libraries reported to be fairly broken before
12556         # switch to ELF
12557         ld_shlibs_CXX=no
12558         ;;
12559
12560       freebsd-elf*)
12561         archive_cmds_need_lc_CXX=no
12562         ;;
12563
12564       freebsd* | dragonfly*)
12565         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566         # conventions
12567         ld_shlibs_CXX=yes
12568         ;;
12569
12570       gnu*)
12571         ;;
12572
12573       haiku*)
12574         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575         link_all_deplibs_CXX=yes
12576         ;;
12577
12578       hpux9*)
12579         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580         hardcode_libdir_separator_CXX=:
12581         export_dynamic_flag_spec_CXX='${wl}-E'
12582         hardcode_direct_CXX=yes
12583         hardcode_minus_L_CXX=yes # Not in the search PATH,
12584                                              # but as the default
12585                                              # location of the library.
12586
12587         case $cc_basename in
12588           CC*)
12589             # FIXME: insert proper C++ library support
12590             ld_shlibs_CXX=no
12591             ;;
12592           aCC*)
12593             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'
12594             # Commands to make compiler produce verbose output that lists
12595             # what "hidden" libraries, object files and flags are used when
12596             # linking a shared library.
12597             #
12598             # There doesn't appear to be a way to prevent this compiler from
12599             # explicitly linking system object files so we need to strip them
12600             # from the output so that they don't get included in the library
12601             # dependencies.
12602             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"'
12603             ;;
12604           *)
12605             if test "$GXX" = yes; then
12606               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'
12607             else
12608               # FIXME: insert proper C++ library support
12609               ld_shlibs_CXX=no
12610             fi
12611             ;;
12612         esac
12613         ;;
12614
12615       hpux10*|hpux11*)
12616         if test $with_gnu_ld = no; then
12617           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618           hardcode_libdir_separator_CXX=:
12619
12620           case $host_cpu in
12621             hppa*64*|ia64*)
12622               ;;
12623             *)
12624               export_dynamic_flag_spec_CXX='${wl}-E'
12625               ;;
12626           esac
12627         fi
12628         case $host_cpu in
12629           hppa*64*|ia64*)
12630             hardcode_direct_CXX=no
12631             hardcode_shlibpath_var_CXX=no
12632             ;;
12633           *)
12634             hardcode_direct_CXX=yes
12635             hardcode_direct_absolute_CXX=yes
12636             hardcode_minus_L_CXX=yes # Not in the search PATH,
12637                                                  # but as the default
12638                                                  # location of the library.
12639             ;;
12640         esac
12641
12642         case $cc_basename in
12643           CC*)
12644             # FIXME: insert proper C++ library support
12645             ld_shlibs_CXX=no
12646             ;;
12647           aCC*)
12648             case $host_cpu in
12649               hppa*64*)
12650                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651                 ;;
12652               ia64*)
12653                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654                 ;;
12655               *)
12656                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657                 ;;
12658             esac
12659             # Commands to make compiler produce verbose output that lists
12660             # what "hidden" libraries, object files and flags are used when
12661             # linking a shared library.
12662             #
12663             # There doesn't appear to be a way to prevent this compiler from
12664             # explicitly linking system object files so we need to strip them
12665             # from the output so that they don't get included in the library
12666             # dependencies.
12667             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"'
12668             ;;
12669           *)
12670             if test "$GXX" = yes; then
12671               if test $with_gnu_ld = no; then
12672                 case $host_cpu in
12673                   hppa*64*)
12674                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675                     ;;
12676                   ia64*)
12677                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12678                     ;;
12679                   *)
12680                     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'
12681                     ;;
12682                 esac
12683               fi
12684             else
12685               # FIXME: insert proper C++ library support
12686               ld_shlibs_CXX=no
12687             fi
12688             ;;
12689         esac
12690         ;;
12691
12692       interix[3-9]*)
12693         hardcode_direct_CXX=no
12694         hardcode_shlibpath_var_CXX=no
12695         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696         export_dynamic_flag_spec_CXX='${wl}-E'
12697         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698         # Instead, shared libraries are loaded at an image base (0x10000000 by
12699         # default) and relocated if they conflict, which is a slow very memory
12700         # consuming and fragmenting process.  To avoid this, we pick a random,
12701         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12703         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'
12704         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'
12705         ;;
12706       irix5* | irix6*)
12707         case $cc_basename in
12708           CC*)
12709             # SGI C++
12710             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'
12711
12712             # Archives containing C++ object files must be created using
12713             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12714             # necessary to make sure instantiated templates are included
12715             # in the archive.
12716             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12717             ;;
12718           *)
12719             if test "$GXX" = yes; then
12720               if test "$with_gnu_ld" = no; then
12721                 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'
12722               else
12723                 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'
12724               fi
12725             fi
12726             link_all_deplibs_CXX=yes
12727             ;;
12728         esac
12729         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730         hardcode_libdir_separator_CXX=:
12731         inherit_rpath_CXX=yes
12732         ;;
12733
12734       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735         case $cc_basename in
12736           KCC*)
12737             # Kuck and Associates, Inc. (KAI) C++ Compiler
12738
12739             # KCC will only create a shared library if the output file
12740             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741             # to its proper name (with version) after linking.
12742             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'
12743             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'
12744             # Commands to make compiler produce verbose output that lists
12745             # what "hidden" libraries, object files and flags are used when
12746             # linking a shared library.
12747             #
12748             # There doesn't appear to be a way to prevent this compiler from
12749             # explicitly linking system object files so we need to strip them
12750             # from the output so that they don't get included in the library
12751             # dependencies.
12752             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"'
12753
12754             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756
12757             # Archives containing C++ object files must be created using
12758             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12760             ;;
12761           icpc* | ecpc* )
12762             # Intel C++
12763             with_gnu_ld=yes
12764             # version 8.0 and above of icpc choke on multiply defined symbols
12765             # if we add $predep_objects and $postdep_objects, however 7.1 and
12766             # earlier do not add the objects themselves.
12767             case `$CC -V 2>&1` in
12768               *"Version 7."*)
12769                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770                 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'
12771                 ;;
12772               *)  # Version 8.0 or newer
12773                 tmp_idyn=
12774                 case $host_cpu in
12775                   ia64*) tmp_idyn=' -i_dynamic';;
12776                 esac
12777                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778                 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'
12779                 ;;
12780             esac
12781             archive_cmds_need_lc_CXX=no
12782             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12785             ;;
12786           pgCC* | pgcpp*)
12787             # Portland Group C++ compiler
12788             case `$CC -V` in
12789             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790               prelink_cmds_CXX='tpldir=Template.dir~
12791                 rm -rf $tpldir~
12792                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794               old_archive_cmds_CXX='tpldir=Template.dir~
12795                 rm -rf $tpldir~
12796                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798                 $RANLIB $oldlib'
12799               archive_cmds_CXX='tpldir=Template.dir~
12800                 rm -rf $tpldir~
12801                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803               archive_expsym_cmds_CXX='tpldir=Template.dir~
12804                 rm -rf $tpldir~
12805                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806                 $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'
12807               ;;
12808             *) # Version 6 and above use weak symbols
12809               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810               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'
12811               ;;
12812             esac
12813
12814             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816             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'
12817             ;;
12818           cxx*)
12819             # Compaq C++
12820             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821             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'
12822
12823             runpath_var=LD_RUN_PATH
12824             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825             hardcode_libdir_separator_CXX=:
12826
12827             # Commands to make compiler produce verbose output that lists
12828             # what "hidden" libraries, object files and flags are used when
12829             # linking a shared library.
12830             #
12831             # There doesn't appear to be a way to prevent this compiler from
12832             # explicitly linking system object files so we need to strip them
12833             # from the output so that they don't get included in the library
12834             # dependencies.
12835             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'
12836             ;;
12837           xl* | mpixl* | bgxl*)
12838             # IBM XL 8.0 on PPC, with GNU ld
12839             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842             if test "x$supports_anon_versioning" = xyes; then
12843               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845                 echo "local: *; };" >> $output_objdir/$libname.ver~
12846                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12847             fi
12848             ;;
12849           *)
12850             case `$CC -V 2>&1 | sed 5q` in
12851             *Sun\ C*)
12852               # Sun C++ 5.9
12853               no_undefined_flag_CXX=' -zdefs'
12854               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855               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'
12856               hardcode_libdir_flag_spec_CXX='-R$libdir'
12857               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'
12858               compiler_needs_object_CXX=yes
12859
12860               # Not sure whether something based on
12861               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862               # would be better.
12863               output_verbose_link_cmd='func_echo_all'
12864
12865               # Archives containing C++ object files must be created using
12866               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12867               # necessary to make sure instantiated templates are included
12868               # in the archive.
12869               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12870               ;;
12871             esac
12872             ;;
12873         esac
12874         ;;
12875
12876       lynxos*)
12877         # FIXME: insert proper C++ library support
12878         ld_shlibs_CXX=no
12879         ;;
12880
12881       m88k*)
12882         # FIXME: insert proper C++ library support
12883         ld_shlibs_CXX=no
12884         ;;
12885
12886       mvs*)
12887         case $cc_basename in
12888           cxx*)
12889             # FIXME: insert proper C++ library support
12890             ld_shlibs_CXX=no
12891             ;;
12892           *)
12893             # FIXME: insert proper C++ library support
12894             ld_shlibs_CXX=no
12895             ;;
12896         esac
12897         ;;
12898
12899       netbsd*)
12900         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902           wlarc=
12903           hardcode_libdir_flag_spec_CXX='-R$libdir'
12904           hardcode_direct_CXX=yes
12905           hardcode_shlibpath_var_CXX=no
12906         fi
12907         # Workaround some broken pre-1.5 toolchains
12908         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12909         ;;
12910
12911       *nto* | *qnx*)
12912         ld_shlibs_CXX=yes
12913         ;;
12914
12915       openbsd2*)
12916         # C++ shared libraries are fairly broken
12917         ld_shlibs_CXX=no
12918         ;;
12919
12920       openbsd*)
12921         if test -f /usr/libexec/ld.so; then
12922           hardcode_direct_CXX=yes
12923           hardcode_shlibpath_var_CXX=no
12924           hardcode_direct_absolute_CXX=yes
12925           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929             export_dynamic_flag_spec_CXX='${wl}-E'
12930             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12931           fi
12932           output_verbose_link_cmd=func_echo_all
12933         else
12934           ld_shlibs_CXX=no
12935         fi
12936         ;;
12937
12938       osf3* | osf4* | osf5*)
12939         case $cc_basename in
12940           KCC*)
12941             # Kuck and Associates, Inc. (KAI) C++ Compiler
12942
12943             # KCC will only create a shared library if the output file
12944             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945             # to its proper name (with version) after linking.
12946             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'
12947
12948             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949             hardcode_libdir_separator_CXX=:
12950
12951             # Archives containing C++ object files must be created using
12952             # the KAI C++ compiler.
12953             case $host in
12954               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956             esac
12957             ;;
12958           RCC*)
12959             # Rational C++ 2.4.1
12960             # FIXME: insert proper C++ library support
12961             ld_shlibs_CXX=no
12962             ;;
12963           cxx*)
12964             case $host in
12965               osf3*)
12966                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967                 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'
12968                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12969                 ;;
12970               *)
12971                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972                 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'
12973                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974                   echo "-hidden">> $lib.exp~
12975                   $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~
12976                   $RM $lib.exp'
12977                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12978                 ;;
12979             esac
12980
12981             hardcode_libdir_separator_CXX=:
12982
12983             # Commands to make compiler produce verbose output that lists
12984             # what "hidden" libraries, object files and flags are used when
12985             # linking a shared library.
12986             #
12987             # There doesn't appear to be a way to prevent this compiler from
12988             # explicitly linking system object files so we need to strip them
12989             # from the output so that they don't get included in the library
12990             # dependencies.
12991             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"'
12992             ;;
12993           *)
12994             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996               case $host in
12997                 osf3*)
12998                   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'
12999                   ;;
13000                 *)
13001                   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'
13002                   ;;
13003               esac
13004
13005               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006               hardcode_libdir_separator_CXX=:
13007
13008               # Commands to make compiler produce verbose output that lists
13009               # what "hidden" libraries, object files and flags are used when
13010               # linking a shared library.
13011               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13012
13013             else
13014               # FIXME: insert proper C++ library support
13015               ld_shlibs_CXX=no
13016             fi
13017             ;;
13018         esac
13019         ;;
13020
13021       psos*)
13022         # FIXME: insert proper C++ library support
13023         ld_shlibs_CXX=no
13024         ;;
13025
13026       sunos4*)
13027         case $cc_basename in
13028           CC*)
13029             # Sun C++ 4.x
13030             # FIXME: insert proper C++ library support
13031             ld_shlibs_CXX=no
13032             ;;
13033           lcc*)
13034             # Lucid
13035             # FIXME: insert proper C++ library support
13036             ld_shlibs_CXX=no
13037             ;;
13038           *)
13039             # FIXME: insert proper C++ library support
13040             ld_shlibs_CXX=no
13041             ;;
13042         esac
13043         ;;
13044
13045       solaris*)
13046         case $cc_basename in
13047           CC*)
13048             # Sun C++ 4.2, 5.x and Centerline C++
13049             archive_cmds_need_lc_CXX=yes
13050             no_undefined_flag_CXX=' -zdefs'
13051             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053               $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'
13054
13055             hardcode_libdir_flag_spec_CXX='-R$libdir'
13056             hardcode_shlibpath_var_CXX=no
13057             case $host_os in
13058               solaris2.[0-5] | solaris2.[0-5].*) ;;
13059               *)
13060                 # The compiler driver will combine and reorder linker options,
13061                 # but understands `-z linker_flag'.
13062                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13064                 ;;
13065             esac
13066             link_all_deplibs_CXX=yes
13067
13068             output_verbose_link_cmd='func_echo_all'
13069
13070             # Archives containing C++ object files must be created using
13071             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13072             # necessary to make sure instantiated templates are included
13073             # in the archive.
13074             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13075             ;;
13076           gcx*)
13077             # Green Hills C++ Compiler
13078             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079
13080             # The C++ compiler must be used to create the archive.
13081             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13082             ;;
13083           *)
13084             # GNU C++ compiler with Solaris linker
13085             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13091
13092                 # Commands to make compiler produce verbose output that lists
13093                 # what "hidden" libraries, object files and flags are used when
13094                 # linking a shared library.
13095                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096               else
13097                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098                 # platform.
13099                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13102
13103                 # Commands to make compiler produce verbose output that lists
13104                 # what "hidden" libraries, object files and flags are used when
13105                 # linking a shared library.
13106                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107               fi
13108
13109               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110               case $host_os in
13111                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13112                 *)
13113                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13114                   ;;
13115               esac
13116             fi
13117             ;;
13118         esac
13119         ;;
13120
13121     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122       no_undefined_flag_CXX='${wl}-z,text'
13123       archive_cmds_need_lc_CXX=no
13124       hardcode_shlibpath_var_CXX=no
13125       runpath_var='LD_RUN_PATH'
13126
13127       case $cc_basename in
13128         CC*)
13129           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131           ;;
13132         *)
13133           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135           ;;
13136       esac
13137       ;;
13138
13139       sysv5* | sco3.2v5* | sco5v6*)
13140         # Note: We can NOT use -z defs as we might desire, because we do not
13141         # link with -lc, and that would cause any symbols used from libc to
13142         # always be unresolved, which means just about no library would
13143         # ever link correctly.  If we're not using GNU ld we use -z text
13144         # though, which does catch some bad symbols but isn't as heavy-handed
13145         # as -z defs.
13146         no_undefined_flag_CXX='${wl}-z,text'
13147         allow_undefined_flag_CXX='${wl}-z,nodefs'
13148         archive_cmds_need_lc_CXX=no
13149         hardcode_shlibpath_var_CXX=no
13150         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151         hardcode_libdir_separator_CXX=':'
13152         link_all_deplibs_CXX=yes
13153         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154         runpath_var='LD_RUN_PATH'
13155
13156         case $cc_basename in
13157           CC*)
13158             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161               '"$old_archive_cmds_CXX"
13162             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163               '"$reload_cmds_CXX"
13164             ;;
13165           *)
13166             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13168             ;;
13169         esac
13170       ;;
13171
13172       tandem*)
13173         case $cc_basename in
13174           NCC*)
13175             # NonStop-UX NCC 3.20
13176             # FIXME: insert proper C++ library support
13177             ld_shlibs_CXX=no
13178             ;;
13179           *)
13180             # FIXME: insert proper C++ library support
13181             ld_shlibs_CXX=no
13182             ;;
13183         esac
13184         ;;
13185
13186       vxworks*)
13187         # FIXME: insert proper C++ library support
13188         ld_shlibs_CXX=no
13189         ;;
13190
13191       *)
13192         # FIXME: insert proper C++ library support
13193         ld_shlibs_CXX=no
13194         ;;
13195     esac
13196
13197     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199     test "$ld_shlibs_CXX" = no && can_build_shared=no
13200
13201     GCC_CXX="$GXX"
13202     LD_CXX="$LD"
13203
13204     ## CAVEAT EMPTOR:
13205     ## There is no encapsulation within the following macros, do not change
13206     ## the running order or otherwise move them around unless you know exactly
13207     ## what you are doing...
13208     # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13214
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13217 {
13218 public:
13219   Foo (void) { a = 0; }
13220 private:
13221   int a;
13222 };
13223 _LT_EOF
13224
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226   (eval $ac_compile) 2>&5
13227   ac_status=$?
13228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229   test $ac_status = 0; }; then
13230   # Parse the compiler output and extract the necessary
13231   # objects, libraries and library flags.
13232
13233   # Sentinel used to keep track of whether or not we are before
13234   # the conftest object file.
13235   pre_test_object_deps_done=no
13236
13237   for p in `eval "$output_verbose_link_cmd"`; do
13238     case $p in
13239
13240     -L* | -R* | -l*)
13241        # Some compilers place space between "-{L,R}" and the path.
13242        # Remove the space.
13243        if test $p = "-L" ||
13244           test $p = "-R"; then
13245          prev=$p
13246          continue
13247        else
13248          prev=
13249        fi
13250
13251        if test "$pre_test_object_deps_done" = no; then
13252          case $p in
13253          -L* | -R*)
13254            # Internal compiler library paths should come after those
13255            # provided the user.  The postdeps already come after the
13256            # user supplied libs so there is no need to process them.
13257            if test -z "$compiler_lib_search_path_CXX"; then
13258              compiler_lib_search_path_CXX="${prev}${p}"
13259            else
13260              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13261            fi
13262            ;;
13263          # The "-l" case would never come before the object being
13264          # linked, so don't bother handling this case.
13265          esac
13266        else
13267          if test -z "$postdeps_CXX"; then
13268            postdeps_CXX="${prev}${p}"
13269          else
13270            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13271          fi
13272        fi
13273        ;;
13274
13275     *.$objext)
13276        # This assumes that the test object file only shows up
13277        # once in the compiler output.
13278        if test "$p" = "conftest.$objext"; then
13279          pre_test_object_deps_done=yes
13280          continue
13281        fi
13282
13283        if test "$pre_test_object_deps_done" = no; then
13284          if test -z "$predep_objects_CXX"; then
13285            predep_objects_CXX="$p"
13286          else
13287            predep_objects_CXX="$predep_objects_CXX $p"
13288          fi
13289        else
13290          if test -z "$postdep_objects_CXX"; then
13291            postdep_objects_CXX="$p"
13292          else
13293            postdep_objects_CXX="$postdep_objects_CXX $p"
13294          fi
13295        fi
13296        ;;
13297
13298     *) ;; # Ignore the rest.
13299
13300     esac
13301   done
13302
13303   # Clean up.
13304   rm -f a.out a.exe
13305 else
13306   echo "libtool.m4: error: problem compiling CXX test program"
13307 fi
13308
13309 $RM -f confest.$objext
13310
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315   # hack all around it, let's just trust "g++" to DTRT.
13316   predep_objects_CXX=
13317   postdep_objects_CXX=
13318   postdeps_CXX=
13319   ;;
13320
13321 linux*)
13322   case `$CC -V 2>&1 | sed 5q` in
13323   *Sun\ C*)
13324     # Sun C++ 5.9
13325
13326     # The more standards-conforming stlport4 library is
13327     # incompatible with the Cstd library. Avoid specifying
13328     # it if it's in CXXFLAGS. Ignore libCrun as
13329     # -library=stlport4 depends on it.
13330     case " $CXX $CXXFLAGS " in
13331     *" -library=stlport4 "*)
13332       solaris_use_stlport4=yes
13333       ;;
13334     esac
13335
13336     if test "$solaris_use_stlport4" != yes; then
13337       postdeps_CXX='-library=Cstd -library=Crun'
13338     fi
13339     ;;
13340   esac
13341   ;;
13342
13343 solaris*)
13344   case $cc_basename in
13345   CC*)
13346     # The more standards-conforming stlport4 library is
13347     # incompatible with the Cstd library. Avoid specifying
13348     # it if it's in CXXFLAGS. Ignore libCrun as
13349     # -library=stlport4 depends on it.
13350     case " $CXX $CXXFLAGS " in
13351     *" -library=stlport4 "*)
13352       solaris_use_stlport4=yes
13353       ;;
13354     esac
13355
13356     # Adding this requires a known-good setup of shared libraries for
13357     # Sun compiler versions before 5.6, else PIC objects from an old
13358     # archive will be linked into the output, leading to subtle bugs.
13359     if test "$solaris_use_stlport4" != yes; then
13360       postdeps_CXX='-library=Cstd -library=Crun'
13361     fi
13362     ;;
13363   esac
13364   ;;
13365 esac
13366
13367
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371  compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13374 fi
13375
13376
13377
13378
13379
13380
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     lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13409
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13412
13413   # C++ specific cases for pic, static, wl, etc.
13414   if test "$GXX" = yes; then
13415     lt_prog_compiler_wl_CXX='-Wl,'
13416     lt_prog_compiler_static_CXX='-static'
13417
13418     case $host_os in
13419     aix*)
13420       # All AIX code is PIC.
13421       if test "$host_cpu" = ia64; then
13422         # AIX 5 now supports IA64 processor
13423         lt_prog_compiler_static_CXX='-Bstatic'
13424       fi
13425       lt_prog_compiler_pic_CXX='-fPIC'
13426       ;;
13427
13428     amigaos*)
13429       case $host_cpu in
13430       powerpc)
13431             # see comment about AmigaOS4 .so support
13432             lt_prog_compiler_pic_CXX='-fPIC'
13433         ;;
13434       m68k)
13435             # FIXME: we need at least 68020 code to build shared libraries, but
13436             # adding the `-m68020' flag to GCC prevents building anything better,
13437             # like `-m68040'.
13438             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13439         ;;
13440       esac
13441       ;;
13442
13443     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444       # PIC is the default for these OSes.
13445       ;;
13446     mingw* | cygwin* | os2* | pw32* | cegcc*)
13447       # This hack is so that the source file can tell whether it is being
13448       # built for inclusion in a dll (and should export symbols for example).
13449       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450       # (--disable-auto-import) libraries
13451       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13452       ;;
13453     darwin* | rhapsody*)
13454       # PIC is the default on this platform
13455       # Common symbols not allowed in MH_DYLIB files
13456       lt_prog_compiler_pic_CXX='-fno-common'
13457       ;;
13458     *djgpp*)
13459       # DJGPP does not support shared libraries at all
13460       lt_prog_compiler_pic_CXX=
13461       ;;
13462     haiku*)
13463       # PIC is the default for Haiku.
13464       # The "-static" flag exists, but is broken.
13465       lt_prog_compiler_static_CXX=
13466       ;;
13467     interix[3-9]*)
13468       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469       # Instead, we relocate shared libraries at runtime.
13470       ;;
13471     sysv4*MP*)
13472       if test -d /usr/nec; then
13473         lt_prog_compiler_pic_CXX=-Kconform_pic
13474       fi
13475       ;;
13476     hpux*)
13477       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13479       # sets the default TLS model and affects inlining.
13480       case $host_cpu in
13481       hppa*64*)
13482         ;;
13483       *)
13484         lt_prog_compiler_pic_CXX='-fPIC'
13485         ;;
13486       esac
13487       ;;
13488     *qnx* | *nto*)
13489       # QNX uses GNU C++, but need to define -shared option too, otherwise
13490       # it will coredump.
13491       lt_prog_compiler_pic_CXX='-fPIC -shared'
13492       ;;
13493     *)
13494       lt_prog_compiler_pic_CXX='-fPIC'
13495       ;;
13496     esac
13497   else
13498     case $host_os in
13499       aix[4-9]*)
13500         # All AIX code is PIC.
13501         if test "$host_cpu" = ia64; then
13502           # AIX 5 now supports IA64 processor
13503           lt_prog_compiler_static_CXX='-Bstatic'
13504         else
13505           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13506         fi
13507         ;;
13508       chorus*)
13509         case $cc_basename in
13510         cxch68*)
13511           # Green Hills C++ Compiler
13512           # _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"
13513           ;;
13514         esac
13515         ;;
13516       dgux*)
13517         case $cc_basename in
13518           ec++*)
13519             lt_prog_compiler_pic_CXX='-KPIC'
13520             ;;
13521           ghcx*)
13522             # Green Hills C++ Compiler
13523             lt_prog_compiler_pic_CXX='-pic'
13524             ;;
13525           *)
13526             ;;
13527         esac
13528         ;;
13529       freebsd* | dragonfly*)
13530         # FreeBSD uses GNU C++
13531         ;;
13532       hpux9* | hpux10* | hpux11*)
13533         case $cc_basename in
13534           CC*)
13535             lt_prog_compiler_wl_CXX='-Wl,'
13536             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537             if test "$host_cpu" != ia64; then
13538               lt_prog_compiler_pic_CXX='+Z'
13539             fi
13540             ;;
13541           aCC*)
13542             lt_prog_compiler_wl_CXX='-Wl,'
13543             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544             case $host_cpu in
13545             hppa*64*|ia64*)
13546               # +Z the default
13547               ;;
13548             *)
13549               lt_prog_compiler_pic_CXX='+Z'
13550               ;;
13551             esac
13552             ;;
13553           *)
13554             ;;
13555         esac
13556         ;;
13557       interix*)
13558         # This is c89, which is MS Visual C++ (no shared libs)
13559         # Anyone wants to do a port?
13560         ;;
13561       irix5* | irix6* | nonstopux*)
13562         case $cc_basename in
13563           CC*)
13564             lt_prog_compiler_wl_CXX='-Wl,'
13565             lt_prog_compiler_static_CXX='-non_shared'
13566             # CC pic flag -KPIC is the default.
13567             ;;
13568           *)
13569             ;;
13570         esac
13571         ;;
13572       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573         case $cc_basename in
13574           KCC*)
13575             # KAI C++ Compiler
13576             lt_prog_compiler_wl_CXX='--backend -Wl,'
13577             lt_prog_compiler_pic_CXX='-fPIC'
13578             ;;
13579           ecpc* )
13580             # old Intel C++ for x86_64 which still supported -KPIC.
13581             lt_prog_compiler_wl_CXX='-Wl,'
13582             lt_prog_compiler_pic_CXX='-KPIC'
13583             lt_prog_compiler_static_CXX='-static'
13584             ;;
13585           icpc* )
13586             # Intel C++, used to be incompatible with GCC.
13587             # ICC 10 doesn't accept -KPIC any more.
13588             lt_prog_compiler_wl_CXX='-Wl,'
13589             lt_prog_compiler_pic_CXX='-fPIC'
13590             lt_prog_compiler_static_CXX='-static'
13591             ;;
13592           pgCC* | pgcpp*)
13593             # Portland Group C++ compiler
13594             lt_prog_compiler_wl_CXX='-Wl,'
13595             lt_prog_compiler_pic_CXX='-fpic'
13596             lt_prog_compiler_static_CXX='-Bstatic'
13597             ;;
13598           cxx*)
13599             # Compaq C++
13600             # Make sure the PIC flag is empty.  It appears that all Alpha
13601             # Linux and Compaq Tru64 Unix objects are PIC.
13602             lt_prog_compiler_pic_CXX=
13603             lt_prog_compiler_static_CXX='-non_shared'
13604             ;;
13605           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606             # IBM XL 8.0, 9.0 on PPC and BlueGene
13607             lt_prog_compiler_wl_CXX='-Wl,'
13608             lt_prog_compiler_pic_CXX='-qpic'
13609             lt_prog_compiler_static_CXX='-qstaticlink'
13610             ;;
13611           *)
13612             case `$CC -V 2>&1 | sed 5q` in
13613             *Sun\ C*)
13614               # Sun C++ 5.9
13615               lt_prog_compiler_pic_CXX='-KPIC'
13616               lt_prog_compiler_static_CXX='-Bstatic'
13617               lt_prog_compiler_wl_CXX='-Qoption ld '
13618               ;;
13619             esac
13620             ;;
13621         esac
13622         ;;
13623       lynxos*)
13624         ;;
13625       m88k*)
13626         ;;
13627       mvs*)
13628         case $cc_basename in
13629           cxx*)
13630             lt_prog_compiler_pic_CXX='-W c,exportall'
13631             ;;
13632           *)
13633             ;;
13634         esac
13635         ;;
13636       netbsd*)
13637         ;;
13638       *qnx* | *nto*)
13639         # QNX uses GNU C++, but need to define -shared option too, otherwise
13640         # it will coredump.
13641         lt_prog_compiler_pic_CXX='-fPIC -shared'
13642         ;;
13643       osf3* | osf4* | osf5*)
13644         case $cc_basename in
13645           KCC*)
13646             lt_prog_compiler_wl_CXX='--backend -Wl,'
13647             ;;
13648           RCC*)
13649             # Rational C++ 2.4.1
13650             lt_prog_compiler_pic_CXX='-pic'
13651             ;;
13652           cxx*)
13653             # Digital/Compaq C++
13654             lt_prog_compiler_wl_CXX='-Wl,'
13655             # Make sure the PIC flag is empty.  It appears that all Alpha
13656             # Linux and Compaq Tru64 Unix objects are PIC.
13657             lt_prog_compiler_pic_CXX=
13658             lt_prog_compiler_static_CXX='-non_shared'
13659             ;;
13660           *)
13661             ;;
13662         esac
13663         ;;
13664       psos*)
13665         ;;
13666       solaris*)
13667         case $cc_basename in
13668           CC*)
13669             # Sun C++ 4.2, 5.x and Centerline C++
13670             lt_prog_compiler_pic_CXX='-KPIC'
13671             lt_prog_compiler_static_CXX='-Bstatic'
13672             lt_prog_compiler_wl_CXX='-Qoption ld '
13673             ;;
13674           gcx*)
13675             # Green Hills C++ Compiler
13676             lt_prog_compiler_pic_CXX='-PIC'
13677             ;;
13678           *)
13679             ;;
13680         esac
13681         ;;
13682       sunos4*)
13683         case $cc_basename in
13684           CC*)
13685             # Sun C++ 4.x
13686             lt_prog_compiler_pic_CXX='-pic'
13687             lt_prog_compiler_static_CXX='-Bstatic'
13688             ;;
13689           lcc*)
13690             # Lucid
13691             lt_prog_compiler_pic_CXX='-pic'
13692             ;;
13693           *)
13694             ;;
13695         esac
13696         ;;
13697       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698         case $cc_basename in
13699           CC*)
13700             lt_prog_compiler_wl_CXX='-Wl,'
13701             lt_prog_compiler_pic_CXX='-KPIC'
13702             lt_prog_compiler_static_CXX='-Bstatic'
13703             ;;
13704         esac
13705         ;;
13706       tandem*)
13707         case $cc_basename in
13708           NCC*)
13709             # NonStop-UX NCC 3.20
13710             lt_prog_compiler_pic_CXX='-KPIC'
13711             ;;
13712           *)
13713             ;;
13714         esac
13715         ;;
13716       vxworks*)
13717         ;;
13718       *)
13719         lt_prog_compiler_can_build_shared_CXX=no
13720         ;;
13721     esac
13722   fi
13723
13724 case $host_os in
13725   # For platforms which do not support PIC, -DPIC is meaningless:
13726   *djgpp*)
13727     lt_prog_compiler_pic_CXX=
13728     ;;
13729   *)
13730     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13731     ;;
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13735
13736
13737
13738 #
13739 # Check to make sure the PIC flag actually works.
13740 #
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745   $as_echo_n "(cached) " >&6
13746 else
13747   lt_cv_prog_compiler_pic_works_CXX=no
13748    ac_outfile=conftest.$ac_objext
13749    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751    # Insert the option either (1) after the last *FLAGS variable, or
13752    # (2) before a word containing "conftest.", or (3) at the end.
13753    # Note that $ac_compile itself does not contain backslashes and begins
13754    # with a dollar sign (not a hyphen), so the echo should work correctly.
13755    # The option is referenced via a variable to avoid confusing sed.
13756    lt_compile=`echo "$ac_compile" | $SED \
13757    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759    -e 's:$: $lt_compiler_flag:'`
13760    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761    (eval "$lt_compile" 2>conftest.err)
13762    ac_status=$?
13763    cat conftest.err >&5
13764    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765    if (exit $ac_status) && test -s "$ac_outfile"; then
13766      # The compiler can only warn and ignore the option if not recognized
13767      # So say no if there are warnings other than the usual output.
13768      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771        lt_cv_prog_compiler_pic_works_CXX=yes
13772      fi
13773    fi
13774    $RM conftest*
13775
13776 fi
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13779
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781     case $lt_prog_compiler_pic_CXX in
13782      "" | " "*) ;;
13783      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784      esac
13785 else
13786     lt_prog_compiler_pic_CXX=
13787      lt_prog_compiler_can_build_shared_CXX=no
13788 fi
13789
13790 fi
13791
13792
13793
13794 #
13795 # Check to make sure the static flag actually works.
13796 #
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801   $as_echo_n "(cached) " >&6
13802 else
13803   lt_cv_prog_compiler_static_works_CXX=no
13804    save_LDFLAGS="$LDFLAGS"
13805    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808      # The linker can only warn and ignore the option if not recognized
13809      # So say no if there are warnings
13810      if test -s conftest.err; then
13811        # Append any errors to the config.log.
13812        cat conftest.err 1>&5
13813        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815        if diff conftest.exp conftest.er2 >/dev/null; then
13816          lt_cv_prog_compiler_static_works_CXX=yes
13817        fi
13818      else
13819        lt_cv_prog_compiler_static_works_CXX=yes
13820      fi
13821    fi
13822    $RM -r conftest*
13823    LDFLAGS="$save_LDFLAGS"
13824
13825 fi
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13828
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13830     :
13831 else
13832     lt_prog_compiler_static_CXX=
13833 fi
13834
13835
13836
13837
13838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841   $as_echo_n "(cached) " >&6
13842 else
13843   lt_cv_prog_compiler_c_o_CXX=no
13844    $RM -r conftest 2>/dev/null
13845    mkdir conftest
13846    cd conftest
13847    mkdir out
13848    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13849
13850    lt_compiler_flag="-o out/conftest2.$ac_objext"
13851    # Insert the option either (1) after the last *FLAGS variable, or
13852    # (2) before a word containing "conftest.", or (3) at the end.
13853    # Note that $ac_compile itself does not contain backslashes and begins
13854    # with a dollar sign (not a hyphen), so the echo should work correctly.
13855    lt_compile=`echo "$ac_compile" | $SED \
13856    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858    -e 's:$: $lt_compiler_flag:'`
13859    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860    (eval "$lt_compile" 2>out/conftest.err)
13861    ac_status=$?
13862    cat out/conftest.err >&5
13863    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865    then
13866      # The compiler can only warn and ignore the option if not recognized
13867      # So say no if there are warnings
13868      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871        lt_cv_prog_compiler_c_o_CXX=yes
13872      fi
13873    fi
13874    chmod u+w . 2>&5
13875    $RM conftest*
13876    # SGI C++ compiler will create directory out/ii_files/ for
13877    # template instantiation
13878    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879    $RM out/* && rmdir out
13880    cd ..
13881    $RM -r conftest
13882    $RM conftest*
13883
13884 fi
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13887
13888
13889
13890     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893   $as_echo_n "(cached) " >&6
13894 else
13895   lt_cv_prog_compiler_c_o_CXX=no
13896    $RM -r conftest 2>/dev/null
13897    mkdir conftest
13898    cd conftest
13899    mkdir out
13900    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13901
13902    lt_compiler_flag="-o out/conftest2.$ac_objext"
13903    # Insert the option either (1) after the last *FLAGS variable, or
13904    # (2) before a word containing "conftest.", or (3) at the end.
13905    # Note that $ac_compile itself does not contain backslashes and begins
13906    # with a dollar sign (not a hyphen), so the echo should work correctly.
13907    lt_compile=`echo "$ac_compile" | $SED \
13908    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910    -e 's:$: $lt_compiler_flag:'`
13911    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912    (eval "$lt_compile" 2>out/conftest.err)
13913    ac_status=$?
13914    cat out/conftest.err >&5
13915    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917    then
13918      # The compiler can only warn and ignore the option if not recognized
13919      # So say no if there are warnings
13920      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923        lt_cv_prog_compiler_c_o_CXX=yes
13924      fi
13925    fi
13926    chmod u+w . 2>&5
13927    $RM conftest*
13928    # SGI C++ compiler will create directory out/ii_files/ for
13929    # template instantiation
13930    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931    $RM out/* && rmdir out
13932    cd ..
13933    $RM -r conftest
13934    $RM conftest*
13935
13936 fi
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13939
13940
13941
13942
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945   # do not overwrite the value of need_locks provided by the user
13946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948   hard_links=yes
13949   $RM conftest*
13950   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951   touch conftest.a
13952   ln conftest.a conftest.b 2>&5 || hard_links=no
13953   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956   if test "$hard_links" = no; then
13957     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959     need_locks=warn
13960   fi
13961 else
13962   need_locks=no
13963 fi
13964
13965
13966
13967     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13969
13970   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971   case $host_os in
13972   aix[4-9]*)
13973     # If we're using GNU nm, then we don't want the "-C" option.
13974     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975     # Also, AIX nm treats weak defined symbols like other global defined
13976     # symbols, whereas GNU nm marks them as "W".
13977     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978       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'
13979     else
13980       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'
13981     fi
13982     ;;
13983   pw32*)
13984     export_symbols_cmds_CXX="$ltdll_cmds"
13985   ;;
13986   cygwin* | mingw* | cegcc*)
13987     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'
13988   ;;
13989   *)
13990     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13991   ;;
13992   esac
13993   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13994
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13998
13999 with_gnu_ld_CXX=$with_gnu_ld
14000
14001
14002
14003
14004
14005
14006 #
14007 # Do we need to explicitly link libc?
14008 #
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011   # Assume -lc should be added
14012   archive_cmds_need_lc_CXX=yes
14013
14014   if test "$enable_shared" = yes && test "$GCC" = yes; then
14015     case $archive_cmds_CXX in
14016     *'~'*)
14017       # FIXME: we may have to deal with multi-command sequences.
14018       ;;
14019     '$CC '*)
14020       # Test whether the compiler implicitly links with -lc since on some
14021       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022       # to ld, don't add -lc before -lgcc.
14023       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026   $as_echo_n "(cached) " >&6
14027 else
14028   $RM conftest*
14029         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14030
14031         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032   (eval $ac_compile) 2>&5
14033   ac_status=$?
14034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035   test $ac_status = 0; } 2>conftest.err; then
14036           soname=conftest
14037           lib=conftest
14038           libobjs=conftest.$ac_objext
14039           deplibs=
14040           wl=$lt_prog_compiler_wl_CXX
14041           pic_flag=$lt_prog_compiler_pic_CXX
14042           compiler_flags=-v
14043           linker_flags=-v
14044           verstring=
14045           output_objdir=.
14046           libname=conftest
14047           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048           allow_undefined_flag_CXX=
14049           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051   ac_status=$?
14052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053   test $ac_status = 0; }
14054           then
14055             lt_cv_archive_cmds_need_lc_CXX=no
14056           else
14057             lt_cv_archive_cmds_need_lc_CXX=yes
14058           fi
14059           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060         else
14061           cat conftest.err 1>&5
14062         fi
14063         $RM conftest*
14064
14065 fi
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14069       ;;
14070     esac
14071   fi
14072   ;;
14073 esac
14074
14075
14076
14077
14078
14079
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14140
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14156
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14160
14161 case $host_os in
14162 aix3*)
14163   version_type=linux
14164   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165   shlibpath_var=LIBPATH
14166
14167   # AIX 3 has no versioning support, so we append a major version to the name.
14168   soname_spec='${libname}${release}${shared_ext}$major'
14169   ;;
14170
14171 aix[4-9]*)
14172   version_type=linux
14173   need_lib_prefix=no
14174   need_version=no
14175   hardcode_into_libs=yes
14176   if test "$host_cpu" = ia64; then
14177     # AIX 5 supports IA64
14178     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179     shlibpath_var=LD_LIBRARY_PATH
14180   else
14181     # With GCC up to 2.95.x, collect2 would create an import file
14182     # for dependence libraries.  The import file would start with
14183     # the line `#! .'.  This would cause the generated library to
14184     # depend on `.', always an invalid library.  This was fixed in
14185     # development snapshots of GCC prior to 3.0.
14186     case $host_os in
14187       aix4 | aix4.[01] | aix4.[01].*)
14188       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189            echo ' yes '
14190            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14191         :
14192       else
14193         can_build_shared=no
14194       fi
14195       ;;
14196     esac
14197     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198     # soname into executable. Probably we can add versioning support to
14199     # collect2, so additional links can be useful in future.
14200     if test "$aix_use_runtimelinking" = yes; then
14201       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202       # instead of lib<name>.a to let people know that these are not
14203       # typical AIX shared libraries.
14204       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205     else
14206       # We preserve .a as extension for shared libraries through AIX4.2
14207       # and later when we are not doing run time linking.
14208       library_names_spec='${libname}${release}.a $libname.a'
14209       soname_spec='${libname}${release}${shared_ext}$major'
14210     fi
14211     shlibpath_var=LIBPATH
14212   fi
14213   ;;
14214
14215 amigaos*)
14216   case $host_cpu in
14217   powerpc)
14218     # Since July 2007 AmigaOS4 officially supports .so libraries.
14219     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221     ;;
14222   m68k)
14223     library_names_spec='$libname.ixlibrary $libname.a'
14224     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225     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'
14226     ;;
14227   esac
14228   ;;
14229
14230 beos*)
14231   library_names_spec='${libname}${shared_ext}'
14232   dynamic_linker="$host_os ld.so"
14233   shlibpath_var=LIBRARY_PATH
14234   ;;
14235
14236 bsdi[45]*)
14237   version_type=linux
14238   need_version=no
14239   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240   soname_spec='${libname}${release}${shared_ext}$major'
14241   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242   shlibpath_var=LD_LIBRARY_PATH
14243   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245   # the default ld.so.conf also contains /usr/contrib/lib and
14246   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247   # libtool to hard-code these into programs
14248   ;;
14249
14250 cygwin* | mingw* | pw32* | cegcc*)
14251   version_type=windows
14252   shrext_cmds=".dll"
14253   need_version=no
14254   need_lib_prefix=no
14255
14256   case $GCC,$host_os in
14257   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258     library_names_spec='$libname.dll.a'
14259     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260     postinstall_cmds='base_file=`basename \${file}`~
14261       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262       dldir=$destdir/`dirname \$dlpath`~
14263       test -d \$dldir || mkdir -p \$dldir~
14264       $install_prog $dir/$dlname \$dldir/$dlname~
14265       chmod a+x \$dldir/$dlname~
14266       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14268       fi'
14269     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270       dlpath=$dir/\$dldll~
14271        $RM \$dlpath'
14272     shlibpath_overrides_runpath=yes
14273
14274     case $host_os in
14275     cygwin*)
14276       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14278
14279       ;;
14280     mingw* | cegcc*)
14281       # MinGW DLLs use traditional 'lib' prefix
14282       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14283       ;;
14284     pw32*)
14285       # pw32 DLLs use 'pw' prefix rather than 'lib'
14286       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14287       ;;
14288     esac
14289     ;;
14290
14291   *)
14292     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14293     ;;
14294   esac
14295   dynamic_linker='Win32 ld.exe'
14296   # FIXME: first we should search . and the directory the executable is in
14297   shlibpath_var=PATH
14298   ;;
14299
14300 darwin* | rhapsody*)
14301   dynamic_linker="$host_os dyld"
14302   version_type=darwin
14303   need_lib_prefix=no
14304   need_version=no
14305   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306   soname_spec='${libname}${release}${major}$shared_ext'
14307   shlibpath_overrides_runpath=yes
14308   shlibpath_var=DYLD_LIBRARY_PATH
14309   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14310
14311   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14312   ;;
14313
14314 dgux*)
14315   version_type=linux
14316   need_lib_prefix=no
14317   need_version=no
14318   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319   soname_spec='${libname}${release}${shared_ext}$major'
14320   shlibpath_var=LD_LIBRARY_PATH
14321   ;;
14322
14323 freebsd* | dragonfly*)
14324   # DragonFly does not have aout.  When/if they implement a new
14325   # versioning mechanism, adjust this.
14326   if test -x /usr/bin/objformat; then
14327     objformat=`/usr/bin/objformat`
14328   else
14329     case $host_os in
14330     freebsd[23].*) objformat=aout ;;
14331     *) objformat=elf ;;
14332     esac
14333   fi
14334   version_type=freebsd-$objformat
14335   case $version_type in
14336     freebsd-elf*)
14337       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338       need_version=no
14339       need_lib_prefix=no
14340       ;;
14341     freebsd-*)
14342       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343       need_version=yes
14344       ;;
14345   esac
14346   shlibpath_var=LD_LIBRARY_PATH
14347   case $host_os in
14348   freebsd2.*)
14349     shlibpath_overrides_runpath=yes
14350     ;;
14351   freebsd3.[01]* | freebsdelf3.[01]*)
14352     shlibpath_overrides_runpath=yes
14353     hardcode_into_libs=yes
14354     ;;
14355   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357     shlibpath_overrides_runpath=no
14358     hardcode_into_libs=yes
14359     ;;
14360   *) # from 4.6 on, and DragonFly
14361     shlibpath_overrides_runpath=yes
14362     hardcode_into_libs=yes
14363     ;;
14364   esac
14365   ;;
14366
14367 gnu*)
14368   version_type=linux
14369   need_lib_prefix=no
14370   need_version=no
14371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372   soname_spec='${libname}${release}${shared_ext}$major'
14373   shlibpath_var=LD_LIBRARY_PATH
14374   hardcode_into_libs=yes
14375   ;;
14376
14377 haiku*)
14378   version_type=linux
14379   need_lib_prefix=no
14380   need_version=no
14381   dynamic_linker="$host_os runtime_loader"
14382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383   soname_spec='${libname}${release}${shared_ext}$major'
14384   shlibpath_var=LIBRARY_PATH
14385   shlibpath_overrides_runpath=yes
14386   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387   hardcode_into_libs=yes
14388   ;;
14389
14390 hpux9* | hpux10* | hpux11*)
14391   # Give a soname corresponding to the major version so that dld.sl refuses to
14392   # link against other versions.
14393   version_type=sunos
14394   need_lib_prefix=no
14395   need_version=no
14396   case $host_cpu in
14397   ia64*)
14398     shrext_cmds='.so'
14399     hardcode_into_libs=yes
14400     dynamic_linker="$host_os dld.so"
14401     shlibpath_var=LD_LIBRARY_PATH
14402     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404     soname_spec='${libname}${release}${shared_ext}$major'
14405     if test "X$HPUX_IA64_MODE" = X32; then
14406       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407     else
14408       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14409     fi
14410     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14411     ;;
14412   hppa*64*)
14413     shrext_cmds='.sl'
14414     hardcode_into_libs=yes
14415     dynamic_linker="$host_os dld.sl"
14416     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419     soname_spec='${libname}${release}${shared_ext}$major'
14420     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14422     ;;
14423   *)
14424     shrext_cmds='.sl'
14425     dynamic_linker="$host_os dld.sl"
14426     shlibpath_var=SHLIB_PATH
14427     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429     soname_spec='${libname}${release}${shared_ext}$major'
14430     ;;
14431   esac
14432   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433   postinstall_cmds='chmod 555 $lib'
14434   # or fails outright, so override atomically:
14435   install_override_mode=555
14436   ;;
14437
14438 interix[3-9]*)
14439   version_type=linux
14440   need_lib_prefix=no
14441   need_version=no
14442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443   soname_spec='${libname}${release}${shared_ext}$major'
14444   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445   shlibpath_var=LD_LIBRARY_PATH
14446   shlibpath_overrides_runpath=no
14447   hardcode_into_libs=yes
14448   ;;
14449
14450 irix5* | irix6* | nonstopux*)
14451   case $host_os in
14452     nonstopux*) version_type=nonstopux ;;
14453     *)
14454         if test "$lt_cv_prog_gnu_ld" = yes; then
14455                 version_type=linux
14456         else
14457                 version_type=irix
14458         fi ;;
14459   esac
14460   need_lib_prefix=no
14461   need_version=no
14462   soname_spec='${libname}${release}${shared_ext}$major'
14463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464   case $host_os in
14465   irix5* | nonstopux*)
14466     libsuff= shlibsuff=
14467     ;;
14468   *)
14469     case $LD in # libtool.m4 will add one of these switches to LD
14470     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471       libsuff= shlibsuff= libmagic=32-bit;;
14472     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473       libsuff=32 shlibsuff=N32 libmagic=N32;;
14474     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476     *) libsuff= shlibsuff= libmagic=never-match;;
14477     esac
14478     ;;
14479   esac
14480   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481   shlibpath_overrides_runpath=no
14482   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484   hardcode_into_libs=yes
14485   ;;
14486
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489   dynamic_linker=no
14490   ;;
14491
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494   version_type=linux
14495   need_lib_prefix=no
14496   need_version=no
14497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498   soname_spec='${libname}${release}${shared_ext}$major'
14499   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500   shlibpath_var=LD_LIBRARY_PATH
14501   shlibpath_overrides_runpath=no
14502
14503   # Some binutils ld are patched to set DT_RUNPATH
14504   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505   $as_echo_n "(cached) " >&6
14506 else
14507   lt_cv_shlibpath_overrides_runpath=no
14508     save_LDFLAGS=$LDFLAGS
14509     save_libdir=$libdir
14510     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512     if test x$gcc_no_link = xyes; then
14513   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14514 fi
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h.  */
14517
14518 int
14519 main ()
14520 {
14521
14522   ;
14523   return 0;
14524 }
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528   lt_cv_shlibpath_overrides_runpath=yes
14529 fi
14530 fi
14531 rm -f core conftest.err conftest.$ac_objext \
14532     conftest$ac_exeext conftest.$ac_ext
14533     LDFLAGS=$save_LDFLAGS
14534     libdir=$save_libdir
14535
14536 fi
14537
14538   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14539
14540   # This implies no fast_install, which is unacceptable.
14541   # Some rework will be needed to allow for fast_install
14542   # before this can be enabled.
14543   hardcode_into_libs=yes
14544
14545   # Append ld.so.conf contents to the search path
14546   if test -f /etc/ld.so.conf; then
14547     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' ' '`
14548     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14549   fi
14550
14551   # We used to test for /lib/ld.so.1 and disable shared libraries on
14552   # powerpc, because MkLinux only supported shared libraries with the
14553   # GNU dynamic linker.  Since this was broken with cross compilers,
14554   # most powerpc-linux boxes support dynamic linking these days and
14555   # people can always --disable-shared, the test was removed, and we
14556   # assume the GNU/Linux dynamic linker is in use.
14557   dynamic_linker='GNU/Linux ld.so'
14558   ;;
14559
14560 netbsd*)
14561   version_type=sunos
14562   need_lib_prefix=no
14563   need_version=no
14564   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567     dynamic_linker='NetBSD (a.out) ld.so'
14568   else
14569     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570     soname_spec='${libname}${release}${shared_ext}$major'
14571     dynamic_linker='NetBSD ld.elf_so'
14572   fi
14573   shlibpath_var=LD_LIBRARY_PATH
14574   shlibpath_overrides_runpath=yes
14575   hardcode_into_libs=yes
14576   ;;
14577
14578 newsos6)
14579   version_type=linux
14580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581   shlibpath_var=LD_LIBRARY_PATH
14582   shlibpath_overrides_runpath=yes
14583   ;;
14584
14585 *nto* | *qnx*)
14586   version_type=qnx
14587   need_lib_prefix=no
14588   need_version=no
14589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590   soname_spec='${libname}${release}${shared_ext}$major'
14591   shlibpath_var=LD_LIBRARY_PATH
14592   shlibpath_overrides_runpath=no
14593   hardcode_into_libs=yes
14594   dynamic_linker='ldqnx.so'
14595   ;;
14596
14597 openbsd*)
14598   version_type=sunos
14599   sys_lib_dlsearch_path_spec="/usr/lib"
14600   need_lib_prefix=no
14601   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602   case $host_os in
14603     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14604     *)                          need_version=no  ;;
14605   esac
14606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608   shlibpath_var=LD_LIBRARY_PATH
14609   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610     case $host_os in
14611       openbsd2.[89] | openbsd2.[89].*)
14612         shlibpath_overrides_runpath=no
14613         ;;
14614       *)
14615         shlibpath_overrides_runpath=yes
14616         ;;
14617       esac
14618   else
14619     shlibpath_overrides_runpath=yes
14620   fi
14621   ;;
14622
14623 os2*)
14624   libname_spec='$name'
14625   shrext_cmds=".dll"
14626   need_lib_prefix=no
14627   library_names_spec='$libname${shared_ext} $libname.a'
14628   dynamic_linker='OS/2 ld.exe'
14629   shlibpath_var=LIBPATH
14630   ;;
14631
14632 osf3* | osf4* | osf5*)
14633   version_type=osf
14634   need_lib_prefix=no
14635   need_version=no
14636   soname_spec='${libname}${release}${shared_ext}$major'
14637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638   shlibpath_var=LD_LIBRARY_PATH
14639   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14641   ;;
14642
14643 rdos*)
14644   dynamic_linker=no
14645   ;;
14646
14647 solaris*)
14648   version_type=linux
14649   need_lib_prefix=no
14650   need_version=no
14651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652   soname_spec='${libname}${release}${shared_ext}$major'
14653   shlibpath_var=LD_LIBRARY_PATH
14654   shlibpath_overrides_runpath=yes
14655   hardcode_into_libs=yes
14656   # ldd complains unless libraries are executable
14657   postinstall_cmds='chmod +x $lib'
14658   ;;
14659
14660 sunos4*)
14661   version_type=sunos
14662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664   shlibpath_var=LD_LIBRARY_PATH
14665   shlibpath_overrides_runpath=yes
14666   if test "$with_gnu_ld" = yes; then
14667     need_lib_prefix=no
14668   fi
14669   need_version=yes
14670   ;;
14671
14672 sysv4 | sysv4.3*)
14673   version_type=linux
14674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675   soname_spec='${libname}${release}${shared_ext}$major'
14676   shlibpath_var=LD_LIBRARY_PATH
14677   case $host_vendor in
14678     sni)
14679       shlibpath_overrides_runpath=no
14680       need_lib_prefix=no
14681       runpath_var=LD_RUN_PATH
14682       ;;
14683     siemens)
14684       need_lib_prefix=no
14685       ;;
14686     motorola)
14687       need_lib_prefix=no
14688       need_version=no
14689       shlibpath_overrides_runpath=no
14690       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14691       ;;
14692   esac
14693   ;;
14694
14695 sysv4*MP*)
14696   if test -d /usr/nec ;then
14697     version_type=linux
14698     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699     soname_spec='$libname${shared_ext}.$major'
14700     shlibpath_var=LD_LIBRARY_PATH
14701   fi
14702   ;;
14703
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705   version_type=freebsd-elf
14706   need_lib_prefix=no
14707   need_version=no
14708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709   soname_spec='${libname}${release}${shared_ext}$major'
14710   shlibpath_var=LD_LIBRARY_PATH
14711   shlibpath_overrides_runpath=yes
14712   hardcode_into_libs=yes
14713   if test "$with_gnu_ld" = yes; then
14714     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715   else
14716     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717     case $host_os in
14718       sco3.2v5*)
14719         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14720         ;;
14721     esac
14722   fi
14723   sys_lib_dlsearch_path_spec='/usr/lib'
14724   ;;
14725
14726 tpf*)
14727   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14728   version_type=linux
14729   need_lib_prefix=no
14730   need_version=no
14731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732   shlibpath_var=LD_LIBRARY_PATH
14733   shlibpath_overrides_runpath=no
14734   hardcode_into_libs=yes
14735   ;;
14736
14737 uts4*)
14738   version_type=linux
14739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740   soname_spec='${libname}${release}${shared_ext}$major'
14741   shlibpath_var=LD_LIBRARY_PATH
14742   ;;
14743
14744 *)
14745   dynamic_linker=no
14746   ;;
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14751
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14755 fi
14756
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14759 fi
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14762 fi
14763
14764
14765
14766
14767
14768
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805    test -n "$runpath_var_CXX" ||
14806    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14807
14808   # We can hardcode non-existent directories.
14809   if test "$hardcode_direct_CXX" != no &&
14810      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811      # have to relink, otherwise we might link with an installed library
14812      # when we should be linking with a yet-to-be-installed one
14813      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814      test "$hardcode_minus_L_CXX" != no; then
14815     # Linking always hardcodes the temporary library directory.
14816     hardcode_action_CXX=relink
14817   else
14818     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819     hardcode_action_CXX=immediate
14820   fi
14821 else
14822   # We cannot hardcode anything, or else we can only hardcode existing
14823   # directories.
14824   hardcode_action_CXX=unsupported
14825 fi
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14828
14829 if test "$hardcode_action_CXX" = relink ||
14830    test "$inherit_rpath_CXX" = yes; then
14831   # Fast installation is not supported
14832   enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834      test "$enable_shared" = no; then
14835   # Fast installation is not necessary
14836   enable_fast_install=needless
14837 fi
14838
14839
14840
14841
14842
14843
14844
14845   fi # test -n "$compiler"
14846
14847   CC=$lt_save_CC
14848   LDCXX=$LD
14849   LD=$lt_save_LD
14850   GCC=$lt_save_GCC
14851   with_gnu_ld=$lt_save_with_gnu_ld
14852   lt_cv_path_LDCXX=$lt_cv_path_LD
14853   lt_cv_path_LD=$lt_save_path_LD
14854   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14857
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876         ac_config_commands="$ac_config_commands libtool"
14877
14878
14879
14880
14881 # Only expand once:
14882
14883
14884
14885
14886
14887 case $host in
14888   *-cygwin* | *-mingw*)
14889     # 'host' will be top-level target in the case of a target lib,
14890     # we must compare to with_cross_host to decide if this is a native
14891     # or cross-compiler and select where to install dlls appropriately.
14892     if test -n "$with_cross_host" &&
14893         test x"$with_cross_host" != x"no"; then
14894       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895     else
14896       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14897     fi
14898     ;;
14899   *)
14900     lt_host_flags=
14901     ;;
14902 esac
14903
14904
14905
14906
14907
14908
14909 # libtool variables for C++ shared and position-independent compiles.
14910 #
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14914 #
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14917 #
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922   glibcxx_lt_pic_flag="-prefer-pic"
14923   glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924   glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14925
14926 else
14927   glibcxx_lt_pic_flag=
14928   glibcxx_compiler_pic_flag=
14929   glibcxx_compiler_shared_flag=
14930 fi
14931
14932
14933
14934
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14940
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14943
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results.  Faster /and/ more correct, win win.
14947
14948   # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950   enableval=$enable_hosted_libstdcxx;
14951 else
14952   case "$host" in
14953         arm*-*-symbianelf*)
14954             enable_hosted_libstdcxx=no
14955             ;;
14956         *)
14957             enable_hosted_libstdcxx=yes
14958             ;;
14959      esac
14960 fi
14961
14962   if test "$enable_hosted_libstdcxx" = no; then
14963     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965     is_hosted=no
14966     hosted_define=0
14967     enable_abi_check=no
14968     enable_libstdcxx_pch=no
14969   else
14970     is_hosted=yes
14971     hosted_define=1
14972   fi
14973
14974
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14978
14979
14980
14981 # Enable descriptive messages to standard output on termination.
14982
14983   # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985   enableval=$enable_libstdcxx_verbose;
14986 else
14987   enable_libstdcxx_verbose=yes
14988 fi
14989
14990   if test x"$enable_libstdcxx_verbose" = xyes; then
14991     verbose_define=1
14992   else
14993     { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995     verbose_define=0
14996   fi
14997
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15001
15002
15003
15004 # Enable compiler support that doesn't require linking.
15005
15006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15008
15009   ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15014
15015    # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017   enableval=$enable_sjlj_exceptions;
15018       case "$enableval" in
15019        yes|no|auto) ;;
15020        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021                         esac
15022
15023 else
15024   enable_sjlj_exceptions=auto
15025 fi
15026
15027
15028
15029   if test $enable_sjlj_exceptions = auto; then
15030     # Botheration.  Now we've got to detect the exception model.  Link tests
15031     # against libgcc.a are problematic since we've not been given proper -L
15032     # bits for single-tree newlib and libgloss.
15033     #
15034     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
15035     cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15040 {
15041   S s;
15042   bar();
15043 }
15044 EOF
15045     old_CXXFLAGS="$CXXFLAGS"
15046     CXXFLAGS=-S
15047     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048   (eval $ac_compile) 2>&5
15049   ac_status=$?
15050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051   test $ac_status = 0; }; then
15052       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053         enable_sjlj_exceptions=yes
15054       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055         enable_sjlj_exceptions=no
15056       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057         enable_sjlj_exceptions=no
15058       fi
15059     fi
15060     CXXFLAGS="$old_CXXFLAGS"
15061     rm -f conftest*
15062   fi
15063
15064   # This is a tad weird, for hysterical raisins.  We have to map
15065   # enable/disable to two different models.
15066   case $enable_sjlj_exceptions in
15067     yes)
15068
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15070
15071       ac_exception_model_name=sjlj
15072       ;;
15073     no)
15074       ac_exception_model_name="call frame"
15075       ;;
15076     *)
15077       as_fn_error "unable to detect exception model" "$LINENO" 5
15078       ;;
15079   esac
15080  ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15085
15086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15088
15089
15090    # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092   enableval=$enable_libstdcxx_pch;
15093       case "$enableval" in
15094        yes|no) ;;
15095        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096       esac
15097
15098 else
15099   enable_libstdcxx_pch=$is_hosted
15100 fi
15101
15102
15103   if test $enable_libstdcxx_pch = yes; then
15104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107   $as_echo_n "(cached) " >&6
15108 else
15109   ac_save_CXXFLAGS="$CXXFLAGS"
15110        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15111
15112        ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15117
15118        echo '#include <math.h>' > conftest.h
15119        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120                           -o conftest.h.gch 1>&5 2>&1 &&
15121                 echo '#error "pch failed"' > conftest.h &&
15122           echo '#include "conftest.h"' > conftest.cc &&
15123                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124        then
15125          glibcxx_cv_prog_CXX_pch=yes
15126        else
15127          glibcxx_cv_prog_CXX_pch=no
15128        fi
15129        rm -f conftest*
15130        CXXFLAGS=$ac_save_CXXFLAGS
15131        ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15136
15137
15138 fi
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15142   fi
15143
15144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15148
15149
15150   if test $enable_libstdcxx_pch = yes; then
15151     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152   else
15153     glibcxx_PCHFLAGS=""
15154   fi
15155
15156
15157
15158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15163
15164 case $target_thread_file in
15165     aix)        thread_header=config/rs6000/gthr-aix.h ;;
15166     dce)        thread_header=config/pa/gthr-dce.h ;;
15167     lynx)       thread_header=config/gthr-lynx.h ;;
15168     mipssde)    thread_header=config/mips/gthr-mipssde.h ;;
15169     posix)      thread_header=gthr-posix.h ;;
15170     rtems)      thread_header=config/gthr-rtems.h ;;
15171     single)     thread_header=gthr-single.h ;;
15172     tpf)        thread_header=config/s390/gthr-tpf.h ;;
15173     vxworks)    thread_header=config/gthr-vxworks.h ;;
15174     win32)      thread_header=config/i386/gthr-win32.h ;;
15175 esac
15176
15177
15178
15179
15180
15181   ac_ext=cpp
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15186
15187   old_CXXFLAGS="$CXXFLAGS"
15188
15189   # Do link tests if possible, instead asm tests, limited to some platforms
15190   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15191   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15192   atomic_builtins_link_tests=no
15193   if test x$gcc_no_link != xyes; then
15194     # Can do link tests. Limit to some tested platforms
15195     case "$host" in
15196       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15197         atomic_builtins_link_tests=yes
15198         ;;
15199     esac
15200   fi
15201
15202   if test x$atomic_builtins_link_tests = xyes; then
15203
15204   # Do link tests.
15205
15206   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15207
15208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15209 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15210   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15211   $as_echo_n "(cached) " >&6
15212 else
15213
15214     if test x$gcc_no_link = xyes; then
15215   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15216 fi
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h.  */
15219
15220 int
15221 main ()
15222 {
15223 typedef bool atomic_type;
15224        atomic_type c1;
15225        atomic_type c2;
15226        atomic_type c3(0);
15227        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15228        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15229                                    __ATOMIC_RELAXED);
15230        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15231        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15232
15233   ;
15234   return 0;
15235 }
15236 _ACEOF
15237 if ac_fn_cxx_try_link "$LINENO"; then :
15238   glibcxx_cv_atomic_bool=yes
15239 else
15240   glibcxx_cv_atomic_bool=no
15241 fi
15242 rm -f core conftest.err conftest.$ac_objext \
15243     conftest$ac_exeext conftest.$ac_ext
15244
15245 fi
15246
15247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15248 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15249
15250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15251 $as_echo_n "checking for atomic builtins for short... " >&6; }
15252   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15253   $as_echo_n "(cached) " >&6
15254 else
15255
15256     if test x$gcc_no_link = xyes; then
15257   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15258 fi
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h.  */
15261
15262 int
15263 main ()
15264 {
15265 typedef short atomic_type;
15266        atomic_type c1;
15267        atomic_type c2;
15268        atomic_type c3(0);
15269        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15270        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15271                                    __ATOMIC_RELAXED);
15272        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15273        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15274
15275   ;
15276   return 0;
15277 }
15278 _ACEOF
15279 if ac_fn_cxx_try_link "$LINENO"; then :
15280   glibcxx_cv_atomic_short=yes
15281 else
15282   glibcxx_cv_atomic_short=no
15283 fi
15284 rm -f core conftest.err conftest.$ac_objext \
15285     conftest$ac_exeext conftest.$ac_ext
15286
15287 fi
15288
15289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15290 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15291
15292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15293 $as_echo_n "checking for atomic builtins for int... " >&6; }
15294   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15295   $as_echo_n "(cached) " >&6
15296 else
15297
15298     if test x$gcc_no_link = xyes; then
15299   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15300 fi
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h.  */
15303
15304 int
15305 main ()
15306 {
15307 typedef int atomic_type;
15308        atomic_type c1;
15309        atomic_type c2;
15310        atomic_type c3(0);
15311        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15312        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15313                                    __ATOMIC_RELAXED);
15314        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15315        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15316
15317   ;
15318   return 0;
15319 }
15320 _ACEOF
15321 if ac_fn_cxx_try_link "$LINENO"; then :
15322   glibcxx_cv_atomic_int=yes
15323 else
15324   glibcxx_cv_atomic_int=no
15325 fi
15326 rm -f core conftest.err conftest.$ac_objext \
15327     conftest$ac_exeext conftest.$ac_ext
15328
15329 fi
15330
15331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15332 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15333
15334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15335 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15336   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15337   $as_echo_n "(cached) " >&6
15338 else
15339
15340     if test x$gcc_no_link = xyes; then
15341   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15342 fi
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h.  */
15345
15346 int
15347 main ()
15348 {
15349 typedef long long atomic_type;
15350        atomic_type c1;
15351        atomic_type c2;
15352        atomic_type c3(0);
15353        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15354        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15355                                    __ATOMIC_RELAXED);
15356        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15357        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15358
15359   ;
15360   return 0;
15361 }
15362 _ACEOF
15363 if ac_fn_cxx_try_link "$LINENO"; then :
15364   glibcxx_cv_atomic_long_long=yes
15365 else
15366   glibcxx_cv_atomic_long_long=no
15367 fi
15368 rm -f core conftest.err conftest.$ac_objext \
15369     conftest$ac_exeext conftest.$ac_ext
15370
15371 fi
15372
15373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15374 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15375
15376   else
15377
15378   # Do asm tests.
15379
15380   # Compile unoptimized.
15381   CXXFLAGS='-O0 -S'
15382
15383   # Fake what AC_TRY_COMPILE does.
15384
15385     cat > conftest.$ac_ext << EOF
15386 #line 15386 "configure"
15387 int main()
15388 {
15389   typedef bool atomic_type;
15390   atomic_type c1;
15391   atomic_type c2;
15392   atomic_type c3(0);
15393   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15394   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15395                               __ATOMIC_RELAXED);
15396   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15397   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15398
15399   return 0;
15400 }
15401 EOF
15402
15403     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15404 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15405     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406   (eval $ac_compile) 2>&5
15407   ac_status=$?
15408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409   test $ac_status = 0; }; then
15410       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15411         glibcxx_cv_atomic_bool=no
15412       else
15413         glibcxx_cv_atomic_bool=yes
15414       fi
15415     fi
15416     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15417 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15418     rm -f conftest*
15419
15420     cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15423 {
15424   typedef short atomic_type;
15425   atomic_type c1;
15426   atomic_type c2;
15427   atomic_type c3(0);
15428   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15429   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15430                               __ATOMIC_RELAXED);
15431   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15432   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15433
15434   return 0;
15435 }
15436 EOF
15437
15438     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15439 $as_echo_n "checking for atomic builtins for short... " >&6; }
15440     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15441   (eval $ac_compile) 2>&5
15442   ac_status=$?
15443   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444   test $ac_status = 0; }; then
15445       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15446         glibcxx_cv_atomic_short=no
15447       else
15448         glibcxx_cv_atomic_short=yes
15449       fi
15450     fi
15451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15452 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15453     rm -f conftest*
15454
15455     cat > conftest.$ac_ext << EOF
15456 #line 15456 "configure"
15457 int main()
15458 {
15459   // NB: _Atomic_word not necessarily int.
15460   typedef int atomic_type;
15461   atomic_type c1;
15462   atomic_type c2;
15463   atomic_type c3(0);
15464   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15465   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15466                               __ATOMIC_RELAXED);
15467   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15468   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15469
15470   return 0;
15471 }
15472 EOF
15473
15474     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15475 $as_echo_n "checking for atomic builtins for int... " >&6; }
15476     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15477   (eval $ac_compile) 2>&5
15478   ac_status=$?
15479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480   test $ac_status = 0; }; then
15481       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15482         glibcxx_cv_atomic_int=no
15483       else
15484         glibcxx_cv_atomic_int=yes
15485       fi
15486     fi
15487     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15488 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15489     rm -f conftest*
15490
15491     cat > conftest.$ac_ext << EOF
15492 #line 15492 "configure"
15493 int main()
15494 {
15495   typedef long long atomic_type;
15496   atomic_type c1;
15497   atomic_type c2;
15498   atomic_type c3(0);
15499   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15500   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15501                               __ATOMIC_RELAXED);
15502   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15503   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15504
15505   return 0;
15506 }
15507 EOF
15508
15509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15510 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15511     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512   (eval $ac_compile) 2>&5
15513   ac_status=$?
15514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515   test $ac_status = 0; }; then
15516       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15517         glibcxx_cv_atomic_long_long=no
15518       else
15519         glibcxx_cv_atomic_long_long=yes
15520       fi
15521     fi
15522     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15523 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15524     rm -f conftest*
15525
15526   fi
15527
15528   CXXFLAGS="$old_CXXFLAGS"
15529   ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534
15535
15536   # Set atomicity_dir to builtins if all but the long long test above passes.
15537   if test $glibcxx_cv_atomic_bool = yes \
15538      && test $glibcxx_cv_atomic_short = yes \
15539      && test $glibcxx_cv_atomic_int = yes; then
15540
15541 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15542
15543     atomicity_dir=cpu/generic/atomicity_builtins
15544   fi
15545
15546   # If still generic, set to mutex.
15547   if test $atomicity_dir = "cpu/generic" ; then
15548     atomicity_dir=cpu/generic/atomicity_mutex
15549     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15550 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15551       if test "x$target_thread_file" = xsingle; then
15552         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15553 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15554         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15555 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15556       else
15557         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15558 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15559         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15560 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15561       fi
15562   fi
15563
15564
15565
15566
15567   # Fake what AC_TRY_COMPILE does, without linking as this is
15568   # unnecessary for this test.
15569
15570     cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15573 {
15574   _Decimal32 d1;
15575   _Decimal64 d2;
15576   _Decimal128 d3;
15577   return 0;
15578 }
15579 EOF
15580
15581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15582 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15583     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15584   (eval $ac_compile) 2>&5
15585   ac_status=$?
15586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15587   test $ac_status = 0; }; then
15588
15589 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15590
15591       enable_dfp=yes
15592     else
15593       enable_dfp=no
15594     fi
15595     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15596 $as_echo "$enable_dfp" >&6; }
15597     rm -f conftest*
15598
15599
15600
15601
15602   ac_ext=cpp
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15607
15608
15609   # Fake what AC_TRY_COMPILE does, without linking as this is
15610   # unnecessary for this test.
15611
15612     cat > conftest.$ac_ext << EOF
15613 #line 15613 "configure"
15614 template<typename T1, typename T2>
15615   struct same
15616   { typedef T2 type; };
15617
15618 template<typename T>
15619   struct same<T, T>;
15620
15621 int main()
15622 {
15623   typename same<long, __int128>::type                i1;
15624   typename same<long long, __int128>::type           i2;
15625 }
15626 EOF
15627
15628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15629 $as_echo_n "checking for __int128... " >&6; }
15630     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15631   (eval $ac_compile) 2>&5
15632   ac_status=$?
15633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634   test $ac_status = 0; }; then
15635
15636 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15637
15638       enable_int128=yes
15639     else
15640       enable_int128=no
15641     fi
15642     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15643 $as_echo "$enable_int128" >&6; }
15644     rm -f conftest*
15645
15646     cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649   struct same
15650   { typedef T2 type; };
15651
15652 template<typename T>
15653   struct same<T, T>;
15654
15655 int main()
15656 {
15657   typename same<double, __float128>::type      f1;
15658   typename same<long double, __float128>::type f2;
15659 }
15660 EOF
15661
15662     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15663 $as_echo_n "checking for __float128... " >&6; }
15664     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665   (eval $ac_compile) 2>&5
15666   ac_status=$?
15667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668   test $ac_status = 0; }; then
15669
15670 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15671
15672       enable_float128=yes
15673     else
15674       enable_float128=no
15675     fi
15676     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15677 $as_echo "$enable_float128" >&6; }
15678     rm -f conftest*
15679
15680   ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685
15686
15687
15688 # Checks for compiler support that doesn't require linking.
15689
15690   # All these tests are for C++; save the language and the compiler flags.
15691   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15692   # found in GLIBCXX_CONFIGURE.
15693
15694   ac_ext=cpp
15695 ac_cpp='$CXXCPP $CPPFLAGS'
15696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15699
15700   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15701   ac_save_CXXFLAGS="$CXXFLAGS"
15702
15703   # Check for maintainer-mode bits.
15704   if test x"$USE_MAINTAINER_MODE" = xno; then
15705     WERROR=''
15706   else
15707     WERROR='-Werror'
15708   fi
15709
15710   # Check for -ffunction-sections -fdata-sections
15711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15712 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15713   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h.  */
15716 int foo; void bar() { };
15717 int
15718 main ()
15719 {
15720
15721   ;
15722   return 0;
15723 }
15724 _ACEOF
15725 if ac_fn_cxx_try_compile "$LINENO"; then :
15726   ac_fdsections=yes
15727 else
15728   ac_fdsections=no
15729 fi
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731   if test "$ac_test_CXXFLAGS" = set; then
15732     CXXFLAGS="$ac_save_CXXFLAGS"
15733   else
15734     # this is the suspicious part
15735     CXXFLAGS=''
15736   fi
15737   if test x"$ac_fdsections" = x"yes"; then
15738     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15739   fi
15740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15741 $as_echo "$ac_fdsections" >&6; }
15742
15743   ac_ext=c
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15748
15749
15750
15751
15752
15753 # Enable all the variable C++ runtime options that don't require linking.
15754
15755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15756 $as_echo_n "checking for underlying I/O to use... " >&6; }
15757    # Check whether --enable-cstdio was given.
15758 if test "${enable_cstdio+set}" = set; then :
15759   enableval=$enable_cstdio;
15760       case "$enableval" in
15761        stdio) ;;
15762        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15763                         esac
15764
15765 else
15766   enable_cstdio=stdio
15767 fi
15768
15769
15770
15771   # Now that libio has been removed, you can have any color you want as long
15772   # as it's black.  This is one big no-op until other packages are added, but
15773   # showing the framework never hurts.
15774   case ${enable_cstdio} in
15775     stdio)
15776       CSTDIO_H=config/io/c_io_stdio.h
15777       BASIC_FILE_H=config/io/basic_file_stdio.h
15778       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15779       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15780 $as_echo "stdio" >&6; }
15781       ;;
15782   esac
15783
15784
15785
15786
15787
15788
15789    # Check whether --enable-clocale was given.
15790 if test "${enable_clocale+set}" = set; then :
15791   enableval=$enable_clocale;
15792       case "$enableval" in
15793        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15794        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15795                         esac
15796
15797 else
15798   enable_clocale=auto
15799 fi
15800
15801
15802
15803   # Deal with gettext issues.  Default to not using it (=no) until we detect
15804   # support for it later.  Let the user turn it off via --e/d, but let that
15805   # default to on for easier handling.
15806   USE_NLS=no
15807   # Check whether --enable-nls was given.
15808 if test "${enable_nls+set}" = set; then :
15809   enableval=$enable_nls;
15810 else
15811   enable_nls=yes
15812 fi
15813
15814
15815   # Either a known package, or "auto"
15816   if test $enable_clocale = no || test $enable_clocale = yes; then
15817      enable_clocale=auto
15818   fi
15819   enable_clocale_flag=$enable_clocale
15820
15821   # Probe for locale model to use if none specified.
15822   # Default to "generic".
15823   if test $enable_clocale_flag = auto; then
15824     case ${target_os} in
15825       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15826         enable_clocale_flag=gnu
15827         ;;
15828       darwin* | freebsd*)
15829         enable_clocale_flag=darwin
15830         ;;
15831       openbsd*)
15832         enable_clocale_flag=newlib
15833         ;;
15834       *)
15835         if test x"$with_newlib" = x"yes"; then
15836           enable_clocale_flag=newlib
15837         else
15838           enable_clocale_flag=generic
15839         fi
15840         ;;
15841     esac
15842   fi
15843
15844   # Sanity check model, and test for special functionality.
15845   if test $enable_clocale_flag = gnu; then
15846     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h.  */
15848
15849     #include <features.h>
15850     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15851       _GLIBCXX_ok
15852     #endif
15853
15854 _ACEOF
15855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15857   enable_clocale_flag=gnu
15858 else
15859   enable_clocale_flag=generic
15860 fi
15861 rm -f conftest*
15862
15863
15864     # Set it to scream when it hurts.
15865     ac_save_CFLAGS="$CFLAGS"
15866     CFLAGS="-Wimplicit-function-declaration -Werror"
15867
15868     # Use strxfrm_l if available.
15869     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h.  */
15871 #define _GNU_SOURCE 1
15872                     #include <string.h>
15873                     #include <locale.h>
15874 int
15875 main ()
15876 {
15877 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15878   ;
15879   return 0;
15880 }
15881 _ACEOF
15882 if ac_fn_c_try_compile "$LINENO"; then :
15883
15884 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15885
15886 fi
15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15888
15889     # Use strerror_l if available.
15890     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h.  */
15892 #define _GNU_SOURCE 1
15893                     #include <string.h>
15894                     #include <locale.h>
15895 int
15896 main ()
15897 {
15898 __locale_t loc; strerror_l(5, loc);
15899   ;
15900   return 0;
15901 }
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15904
15905 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15906
15907 fi
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909
15910     CFLAGS="$ac_save_CFLAGS"
15911   fi
15912
15913   # Perhaps use strerror_r if available, and strerror_l isn't.
15914   ac_save_CFLAGS="$CFLAGS"
15915   CFLAGS="-Wimplicit-function-declaration -Werror"
15916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h.  */
15918 #define _GNU_SOURCE 1
15919                   #include <string.h>
15920                   #include <locale.h>
15921 int
15922 main ()
15923 {
15924 char s[128]; strerror_r(5, s, 128);
15925   ;
15926   return 0;
15927 }
15928 _ACEOF
15929 if ac_fn_c_try_compile "$LINENO"; then :
15930
15931 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15932
15933 fi
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935   CFLAGS="$ac_save_CFLAGS"
15936
15937   # Set configure bits for specified locale package
15938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15939 $as_echo_n "checking for C locale to use... " >&6; }
15940   case ${enable_clocale_flag} in
15941     generic)
15942       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15943 $as_echo "generic" >&6; }
15944
15945       CLOCALE_H=config/locale/generic/c_locale.h
15946       CLOCALE_CC=config/locale/generic/c_locale.cc
15947       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15948       CCOLLATE_CC=config/locale/generic/collate_members.cc
15949       CCTYPE_CC=config/locale/generic/ctype_members.cc
15950       CMESSAGES_H=config/locale/generic/messages_members.h
15951       CMESSAGES_CC=config/locale/generic/messages_members.cc
15952       CMONEY_CC=config/locale/generic/monetary_members.cc
15953       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15954       CTIME_H=config/locale/generic/time_members.h
15955       CTIME_CC=config/locale/generic/time_members.cc
15956       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15957       ;;
15958     darwin)
15959       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15960 $as_echo "darwin or freebsd" >&6; }
15961
15962       CLOCALE_H=config/locale/generic/c_locale.h
15963       CLOCALE_CC=config/locale/generic/c_locale.cc
15964       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965       CCOLLATE_CC=config/locale/generic/collate_members.cc
15966       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15967       CMESSAGES_H=config/locale/generic/messages_members.h
15968       CMESSAGES_CC=config/locale/generic/messages_members.cc
15969       CMONEY_CC=config/locale/generic/monetary_members.cc
15970       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971       CTIME_H=config/locale/generic/time_members.h
15972       CTIME_CC=config/locale/generic/time_members.cc
15973       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15974       ;;
15975
15976     gnu)
15977       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15978 $as_echo "gnu" >&6; }
15979
15980       # Declare intention to use gettext, and add support for specific
15981       # languages.
15982       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15983       ALL_LINGUAS="de fr"
15984
15985       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15986       # Extract the first word of "msgfmt", so it can be a program name with args.
15987 set dummy msgfmt; ac_word=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15991   $as_echo_n "(cached) " >&6
15992 else
15993   if test -n "$check_msgfmt"; then
15994   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15995 else
15996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15997 for as_dir in $PATH
15998 do
15999   IFS=$as_save_IFS
16000   test -z "$as_dir" && as_dir=.
16001     for ac_exec_ext in '' $ac_executable_extensions; do
16002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16003     ac_cv_prog_check_msgfmt="yes"
16004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005     break 2
16006   fi
16007 done
16008   done
16009 IFS=$as_save_IFS
16010
16011   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16012 fi
16013 fi
16014 check_msgfmt=$ac_cv_prog_check_msgfmt
16015 if test -n "$check_msgfmt"; then
16016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16017 $as_echo "$check_msgfmt" >&6; }
16018 else
16019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16021 fi
16022
16023
16024       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16025         USE_NLS=yes
16026       fi
16027       # Export the build objects.
16028       for ling in $ALL_LINGUAS; do \
16029         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16030         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16031       done
16032
16033
16034
16035       CLOCALE_H=config/locale/gnu/c_locale.h
16036       CLOCALE_CC=config/locale/gnu/c_locale.cc
16037       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16038       CCOLLATE_CC=config/locale/gnu/collate_members.cc
16039       CCTYPE_CC=config/locale/gnu/ctype_members.cc
16040       CMESSAGES_H=config/locale/gnu/messages_members.h
16041       CMESSAGES_CC=config/locale/gnu/messages_members.cc
16042       CMONEY_CC=config/locale/gnu/monetary_members.cc
16043       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16044       CTIME_H=config/locale/gnu/time_members.h
16045       CTIME_CC=config/locale/gnu/time_members.cc
16046       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16047       ;;
16048     ieee_1003.1-2001)
16049       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16050 $as_echo "IEEE 1003.1" >&6; }
16051
16052       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16053       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16054       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16055       CCOLLATE_CC=config/locale/generic/collate_members.cc
16056       CCTYPE_CC=config/locale/generic/ctype_members.cc
16057       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16058       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16059       CMONEY_CC=config/locale/generic/monetary_members.cc
16060       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16061       CTIME_H=config/locale/generic/time_members.h
16062       CTIME_CC=config/locale/generic/time_members.cc
16063       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16064       ;;
16065     newlib)
16066       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16067 $as_echo "newlib" >&6; }
16068
16069       CLOCALE_H=config/locale/generic/c_locale.h
16070       CLOCALE_CC=config/locale/generic/c_locale.cc
16071       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16072       CCOLLATE_CC=config/locale/generic/collate_members.cc
16073       CCTYPE_CC=config/locale/newlib/ctype_members.cc
16074       CMESSAGES_H=config/locale/generic/messages_members.h
16075       CMESSAGES_CC=config/locale/generic/messages_members.cc
16076       CMONEY_CC=config/locale/generic/monetary_members.cc
16077       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16078       CTIME_H=config/locale/generic/time_members.h
16079       CTIME_CC=config/locale/generic/time_members.cc
16080       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16081       ;;
16082   esac
16083
16084   # This is where the testsuite looks for locale catalogs, using the
16085   # -DLOCALEDIR define during testsuite compilation.
16086   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16087
16088
16089   # A standalone libintl (e.g., GNU libintl) may be in use.
16090   if test $USE_NLS = yes; then
16091     for ac_header in libintl.h
16092 do :
16093   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16095   cat >>confdefs.h <<_ACEOF
16096 #define HAVE_LIBINTL_H 1
16097 _ACEOF
16098
16099 else
16100   USE_NLS=no
16101 fi
16102
16103 done
16104
16105     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16106 $as_echo_n "checking for library containing gettext... " >&6; }
16107 if test "${ac_cv_search_gettext+set}" = set; then :
16108   $as_echo_n "(cached) " >&6
16109 else
16110   ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h.  */
16113
16114 /* Override any GCC internal prototype to avoid an error.
16115    Use char because int might match the return type of a GCC
16116    builtin and then its argument prototype would still apply.  */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char gettext ();
16121 int
16122 main ()
16123 {
16124 return gettext ();
16125   ;
16126   return 0;
16127 }
16128 _ACEOF
16129 for ac_lib in '' intl; do
16130   if test -z "$ac_lib"; then
16131     ac_res="none required"
16132   else
16133     ac_res=-l$ac_lib
16134     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16135   fi
16136   if test x$gcc_no_link = xyes; then
16137   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16138 fi
16139 if ac_fn_c_try_link "$LINENO"; then :
16140   ac_cv_search_gettext=$ac_res
16141 fi
16142 rm -f core conftest.err conftest.$ac_objext \
16143     conftest$ac_exeext
16144   if test "${ac_cv_search_gettext+set}" = set; then :
16145   break
16146 fi
16147 done
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16149
16150 else
16151   ac_cv_search_gettext=no
16152 fi
16153 rm conftest.$ac_ext
16154 LIBS=$ac_func_search_save_LIBS
16155 fi
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16157 $as_echo "$ac_cv_search_gettext" >&6; }
16158 ac_res=$ac_cv_search_gettext
16159 if test "$ac_res" != no; then :
16160   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16161
16162 else
16163   USE_NLS=no
16164 fi
16165
16166   fi
16167   if test $USE_NLS = yes; then
16168
16169 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16170
16171   fi
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16189 $as_echo_n "checking for std::allocator base class... " >&6; }
16190    # Check whether --enable-libstdcxx-allocator was given.
16191 if test "${enable_libstdcxx_allocator+set}" = set; then :
16192   enableval=$enable_libstdcxx_allocator;
16193       case "$enableval" in
16194        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16195        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16196                         esac
16197
16198 else
16199   enable_libstdcxx_allocator=auto
16200 fi
16201
16202
16203
16204   # If they didn't use this option switch, or if they specified --enable
16205   # with no specific model, we'll have to look for one.  If they
16206   # specified --disable (???), do likewise.
16207   if test $enable_libstdcxx_allocator = no ||
16208      test $enable_libstdcxx_allocator = yes;
16209   then
16210      enable_libstdcxx_allocator=auto
16211   fi
16212
16213   # Either a known package, or "auto". Auto implies the default choice
16214   # for a particular platform.
16215   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16216
16217   # Probe for host-specific support if no specific model is specified.
16218   # Default to "new".
16219   if test $enable_libstdcxx_allocator_flag = auto; then
16220     case ${target_os} in
16221       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16222         enable_libstdcxx_allocator_flag=new
16223         ;;
16224       *)
16225         enable_libstdcxx_allocator_flag=new
16226         ;;
16227     esac
16228   fi
16229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16230 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16231
16232
16233   # Set configure bits for specified locale package
16234   case ${enable_libstdcxx_allocator_flag} in
16235     bitmap)
16236       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16237       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16238       ;;
16239     malloc)
16240       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16241       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16242       ;;
16243     mt)
16244       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16245       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16246       ;;
16247     new)
16248       ALLOCATOR_H=config/allocator/new_allocator_base.h
16249       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16250       ;;
16251     pool)
16252       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16253       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16254       ;;
16255   esac
16256
16257
16258
16259
16260
16261    # Check whether --enable-cheaders was given.
16262 if test "${enable_cheaders+set}" = set; then :
16263   enableval=$enable_cheaders;
16264       case "$enableval" in
16265        c|c_std|c_global) ;;
16266        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16267                         esac
16268
16269 else
16270   enable_cheaders=$c_model
16271 fi
16272
16273
16274   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16275 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16276
16277   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16278
16279   # Allow overrides to configure.host here.
16280   if test $enable_cheaders = c_global; then
16281      c_compatibility=yes
16282   fi
16283
16284
16285
16286
16287
16288
16289
16290    # Check whether --enable-long-long was given.
16291 if test "${enable_long_long+set}" = set; then :
16292   enableval=$enable_long_long;
16293       case "$enableval" in
16294        yes|no) ;;
16295        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16296       esac
16297
16298 else
16299   enable_long_long=yes
16300 fi
16301
16302
16303   if test $enable_long_long = yes; then
16304
16305 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16306
16307   fi
16308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16309 $as_echo_n "checking for enabled long long specializations... " >&6; }
16310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16311 $as_echo "$enable_long_long" >&6; }
16312
16313
16314    # Check whether --enable-wchar_t was given.
16315 if test "${enable_wchar_t+set}" = set; then :
16316   enableval=$enable_wchar_t;
16317       case "$enableval" in
16318        yes|no) ;;
16319        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16320       esac
16321
16322 else
16323   enable_wchar_t=yes
16324 fi
16325
16326
16327
16328   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16329   for ac_header in wchar.h
16330 do :
16331   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16332 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16333   cat >>confdefs.h <<_ACEOF
16334 #define HAVE_WCHAR_H 1
16335 _ACEOF
16336  ac_has_wchar_h=yes
16337 else
16338   ac_has_wchar_h=no
16339 fi
16340
16341 done
16342
16343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16344 $as_echo_n "checking for mbstate_t... " >&6; }
16345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h.  */
16347 #include <wchar.h>
16348 int
16349 main ()
16350 {
16351 mbstate_t teststate;
16352   ;
16353   return 0;
16354 }
16355 _ACEOF
16356 if ac_fn_c_try_compile "$LINENO"; then :
16357   have_mbstate_t=yes
16358 else
16359   have_mbstate_t=no
16360 fi
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16363 $as_echo "$have_mbstate_t" >&6; }
16364   if test x"$have_mbstate_t" = xyes; then
16365
16366 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16367
16368   fi
16369
16370   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16371   # ac_has_wchar_h.
16372   for ac_header in wctype.h
16373 do :
16374   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16376   cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCTYPE_H 1
16378 _ACEOF
16379  ac_has_wctype_h=yes
16380 else
16381   ac_has_wctype_h=no
16382 fi
16383
16384 done
16385
16386
16387   if test x"$enable_wchar_t" = x"yes"; then
16388
16389
16390     ac_ext=cpp
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16395
16396
16397     if test x"$ac_has_wchar_h" = xyes &&
16398        test x"$ac_has_wctype_h" = xyes; then
16399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h.  */
16401 #include <wchar.h>
16402                       #include <stddef.h>
16403                       wint_t i;
16404                       long l = WEOF;
16405                       long j = WCHAR_MIN;
16406                       long k = WCHAR_MAX;
16407                       namespace test
16408                       {
16409                         using ::btowc;
16410                         using ::fgetwc;
16411                         using ::fgetws;
16412                         using ::fputwc;
16413                         using ::fputws;
16414                         using ::fwide;
16415                         using ::fwprintf;
16416                         using ::fwscanf;
16417                         using ::getwc;
16418                         using ::getwchar;
16419                         using ::mbrlen;
16420                         using ::mbrtowc;
16421                         using ::mbsinit;
16422                         using ::mbsrtowcs;
16423                         using ::putwc;
16424                         using ::putwchar;
16425                         using ::swprintf;
16426                         using ::swscanf;
16427                         using ::ungetwc;
16428                         using ::vfwprintf;
16429                         using ::vswprintf;
16430                         using ::vwprintf;
16431                         using ::wcrtomb;
16432                         using ::wcscat;
16433                         using ::wcschr;
16434                         using ::wcscmp;
16435                         using ::wcscoll;
16436                         using ::wcscpy;
16437                         using ::wcscspn;
16438                         using ::wcsftime;
16439                         using ::wcslen;
16440                         using ::wcsncat;
16441                         using ::wcsncmp;
16442                         using ::wcsncpy;
16443                         using ::wcspbrk;
16444                         using ::wcsrchr;
16445                         using ::wcsrtombs;
16446                         using ::wcsspn;
16447                         using ::wcsstr;
16448                         using ::wcstod;
16449                         using ::wcstok;
16450                         using ::wcstol;
16451                         using ::wcstoul;
16452                         using ::wcsxfrm;
16453                         using ::wctob;
16454                         using ::wmemchr;
16455                         using ::wmemcmp;
16456                         using ::wmemcpy;
16457                         using ::wmemmove;
16458                         using ::wmemset;
16459                         using ::wprintf;
16460                         using ::wscanf;
16461                       }
16462
16463 int
16464 main ()
16465 {
16466
16467   ;
16468   return 0;
16469 }
16470 _ACEOF
16471 if ac_fn_cxx_try_compile "$LINENO"; then :
16472
16473 else
16474   enable_wchar_t=no
16475 fi
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477     else
16478       enable_wchar_t=no
16479     fi
16480
16481     ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486
16487   fi
16488
16489   if test x"$enable_wchar_t" = x"yes"; then
16490
16491 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16492
16493   fi
16494
16495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16496 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16498 $as_echo "$enable_wchar_t" >&6; }
16499
16500
16501
16502    # Check whether --enable-c99 was given.
16503 if test "${enable_c99+set}" = set; then :
16504   enableval=$enable_c99;
16505       case "$enableval" in
16506        yes|no) ;;
16507        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16508       esac
16509
16510 else
16511   enable_c99=yes
16512 fi
16513
16514
16515
16516   if test x"$enable_c99" = x"yes"; then
16517
16518
16519   ac_ext=cpp
16520 ac_cpp='$CXXCPP $CPPFLAGS'
16521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16524
16525
16526   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16527   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16528   # spuriously enabled.
16529   # Long term, -std=c++0x could be even better, could manage to explicitely
16530   # request C99 facilities to the underlying C headers.
16531   ac_save_CXXFLAGS="$CXXFLAGS"
16532   CXXFLAGS="$CXXFLAGS -std=c++98"
16533   ac_save_LIBS="$LIBS"
16534   ac_save_gcc_no_link="$gcc_no_link"
16535
16536   if test x$gcc_no_link != xyes; then
16537     # Use -fno-exceptions to that the C driver can link these tests without
16538     # hitting undefined references to personality routines.
16539     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16540     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16541 $as_echo_n "checking for sin in -lm... " >&6; }
16542 if test "${ac_cv_lib_m_sin+set}" = set; then :
16543   $as_echo_n "(cached) " >&6
16544 else
16545   ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lm  $LIBS"
16547 if test x$gcc_no_link = xyes; then
16548   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16549 fi
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h.  */
16552
16553 /* Override any GCC internal prototype to avoid an error.
16554    Use char because int might match the return type of a GCC
16555    builtin and then its argument prototype would still apply.  */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char sin ();
16560 int
16561 main ()
16562 {
16563 return sin ();
16564   ;
16565   return 0;
16566 }
16567 _ACEOF
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569   ac_cv_lib_m_sin=yes
16570 else
16571   ac_cv_lib_m_sin=no
16572 fi
16573 rm -f core conftest.err conftest.$ac_objext \
16574     conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16576 fi
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16578 $as_echo "$ac_cv_lib_m_sin" >&6; }
16579 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16580
16581       LIBS="$LIBS -lm"
16582
16583 else
16584
16585       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16586       gcc_no_link=yes
16587
16588 fi
16589
16590   fi
16591
16592   # Check for the existence of <math.h> functions used if C99 is enabled.
16593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16594 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16595   if test "${glibcxx_cv_c99_math+set}" = set; then :
16596   $as_echo_n "(cached) " >&6
16597 else
16598
16599   if test x$gcc_no_link = xyes; then
16600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h.  */
16602 #include <math.h>
16603       volatile double d1, d2;
16604       volatile int i;
16605 int
16606 main ()
16607 {
16608 i = fpclassify(d1);
16609       i = isfinite(d1);
16610       i = isinf(d1);
16611       i = isnan(d1);
16612       i = isnormal(d1);
16613       i = signbit(d1);
16614       i = isgreater(d1, d2);
16615       i = isgreaterequal(d1, d2);
16616       i = isless(d1, d2);
16617       i = islessequal(d1, d2);
16618       i = islessgreater(d1, d2);
16619       i = islessgreater(d1, d2);
16620       i = isunordered(d1, d2);
16621
16622   ;
16623   return 0;
16624 }
16625 _ACEOF
16626 if ac_fn_cxx_try_compile "$LINENO"; then :
16627   glibcxx_cv_c99_math=yes
16628 else
16629   glibcxx_cv_c99_math=no
16630 fi
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632 else
16633   if test x$gcc_no_link = xyes; then
16634   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16635 fi
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h.  */
16638 #include <math.h>
16639       volatile double d1, d2;
16640       volatile int i;
16641 int
16642 main ()
16643 {
16644 i = fpclassify(d1);
16645       i = isfinite(d1);
16646       i = isinf(d1);
16647       i = isnan(d1);
16648       i = isnormal(d1);
16649       i = signbit(d1);
16650       i = isgreater(d1, d2);
16651       i = isgreaterequal(d1, d2);
16652       i = isless(d1, d2);
16653       i = islessequal(d1, d2);
16654       i = islessgreater(d1, d2);
16655       i = islessgreater(d1, d2);
16656       i = isunordered(d1, d2);
16657
16658   ;
16659   return 0;
16660 }
16661 _ACEOF
16662 if ac_fn_cxx_try_link "$LINENO"; then :
16663   glibcxx_cv_c99_math=yes
16664 else
16665   glibcxx_cv_c99_math=no
16666 fi
16667 rm -f core conftest.err conftest.$ac_objext \
16668     conftest$ac_exeext conftest.$ac_ext
16669 fi
16670
16671 fi
16672
16673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16674 $as_echo "$glibcxx_cv_c99_math" >&6; }
16675   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16676
16677 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16678
16679   fi
16680
16681   # Check for the existence of <complex.h> complex math functions.
16682   # This is necessary even though libstdc++ uses the builtin versions
16683   # of these functions, because if the builtin cannot be used, a reference
16684   # to the library function is emitted.
16685   for ac_header in tgmath.h
16686 do :
16687   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16688 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16689   cat >>confdefs.h <<_ACEOF
16690 #define HAVE_TGMATH_H 1
16691 _ACEOF
16692  ac_has_tgmath_h=yes
16693 else
16694   ac_has_tgmath_h=no
16695 fi
16696
16697 done
16698
16699   for ac_header in complex.h
16700 do :
16701   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16702 if test "x$ac_cv_header_complex_h" = x""yes; then :
16703   cat >>confdefs.h <<_ACEOF
16704 #define HAVE_COMPLEX_H 1
16705 _ACEOF
16706  ac_has_complex_h=yes
16707 else
16708   ac_has_complex_h=no
16709 fi
16710
16711 done
16712
16713   glibcxx_cv_c99_complex=no;
16714   if test x"$ac_has_complex_h" = x"yes"; then
16715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16716 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16717     if test x$gcc_no_link = xyes; then
16718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h.  */
16720 #include <complex.h>
16721         typedef __complex__ float float_type;
16722         typedef __complex__ double double_type;
16723         typedef __complex__ long double ld_type;
16724         volatile float_type tmpf;
16725         volatile double_type tmpd;
16726         volatile ld_type tmpld;
16727         volatile float f;
16728         volatile double d;
16729         volatile long double ld;
16730 int
16731 main ()
16732 {
16733 f = cabsf(tmpf);
16734         f = cargf(tmpf);
16735         tmpf = ccosf(tmpf);
16736         tmpf = ccoshf(tmpf);
16737         tmpf = cexpf(tmpf);
16738         tmpf = clogf(tmpf);
16739         tmpf = csinf(tmpf);
16740         tmpf = csinhf(tmpf);
16741         tmpf = csqrtf(tmpf);
16742         tmpf = ctanf(tmpf);
16743         tmpf = ctanhf(tmpf);
16744         tmpf = cpowf(tmpf, tmpf);
16745         tmpf = cprojf(tmpf);
16746         d = cabs(tmpd);
16747         d = carg(tmpd);
16748         tmpd = ccos(tmpd);
16749         tmpd = ccosh(tmpd);
16750         tmpd = cexp(tmpd);
16751         tmpd = clog(tmpd);
16752         tmpd = csin(tmpd);
16753         tmpd = csinh(tmpd);
16754         tmpd = csqrt(tmpd);
16755         tmpd = ctan(tmpd);
16756         tmpd = ctanh(tmpd);
16757         tmpd = cpow(tmpd, tmpd);
16758         tmpd = cproj(tmpd);
16759         ld = cabsl(tmpld);
16760         ld = cargl(tmpld);
16761         tmpld = ccosl(tmpld);
16762         tmpld = ccoshl(tmpld);
16763         tmpld = cexpl(tmpld);
16764         tmpld = clogl(tmpld);
16765         tmpld = csinl(tmpld);
16766         tmpld = csinhl(tmpld);
16767         tmpld = csqrtl(tmpld);
16768         tmpld = ctanl(tmpld);
16769         tmpld = ctanhl(tmpld);
16770         tmpld = cpowl(tmpld, tmpld);
16771         tmpld = cprojl(tmpld);
16772
16773   ;
16774   return 0;
16775 }
16776 _ACEOF
16777 if ac_fn_cxx_try_compile "$LINENO"; then :
16778   glibcxx_cv_c99_complex=yes
16779 else
16780   glibcxx_cv_c99_complex=no
16781 fi
16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 else
16784   if test x$gcc_no_link = xyes; then
16785   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16786 fi
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h.  */
16789 #include <complex.h>
16790         typedef __complex__ float float_type;
16791         typedef __complex__ double double_type;
16792         typedef __complex__ long double ld_type;
16793         volatile float_type tmpf;
16794         volatile double_type tmpd;
16795         volatile ld_type tmpld;
16796         volatile float f;
16797         volatile double d;
16798         volatile long double ld;
16799 int
16800 main ()
16801 {
16802 f = cabsf(tmpf);
16803         f = cargf(tmpf);
16804         tmpf = ccosf(tmpf);
16805         tmpf = ccoshf(tmpf);
16806         tmpf = cexpf(tmpf);
16807         tmpf = clogf(tmpf);
16808         tmpf = csinf(tmpf);
16809         tmpf = csinhf(tmpf);
16810         tmpf = csqrtf(tmpf);
16811         tmpf = ctanf(tmpf);
16812         tmpf = ctanhf(tmpf);
16813         tmpf = cpowf(tmpf, tmpf);
16814         tmpf = cprojf(tmpf);
16815         d = cabs(tmpd);
16816         d = carg(tmpd);
16817         tmpd = ccos(tmpd);
16818         tmpd = ccosh(tmpd);
16819         tmpd = cexp(tmpd);
16820         tmpd = clog(tmpd);
16821         tmpd = csin(tmpd);
16822         tmpd = csinh(tmpd);
16823         tmpd = csqrt(tmpd);
16824         tmpd = ctan(tmpd);
16825         tmpd = ctanh(tmpd);
16826         tmpd = cpow(tmpd, tmpd);
16827         tmpd = cproj(tmpd);
16828         ld = cabsl(tmpld);
16829         ld = cargl(tmpld);
16830         tmpld = ccosl(tmpld);
16831         tmpld = ccoshl(tmpld);
16832         tmpld = cexpl(tmpld);
16833         tmpld = clogl(tmpld);
16834         tmpld = csinl(tmpld);
16835         tmpld = csinhl(tmpld);
16836         tmpld = csqrtl(tmpld);
16837         tmpld = ctanl(tmpld);
16838         tmpld = ctanhl(tmpld);
16839         tmpld = cpowl(tmpld, tmpld);
16840         tmpld = cprojl(tmpld);
16841
16842   ;
16843   return 0;
16844 }
16845 _ACEOF
16846 if ac_fn_cxx_try_link "$LINENO"; then :
16847   glibcxx_cv_c99_complex=yes
16848 else
16849   glibcxx_cv_c99_complex=no
16850 fi
16851 rm -f core conftest.err conftest.$ac_objext \
16852     conftest$ac_exeext conftest.$ac_ext
16853 fi
16854   fi
16855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16856 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16857   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16858
16859 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16860
16861   fi
16862
16863   # Check for the existence in <stdio.h> of vscanf, et. al.
16864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16865 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16866   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16867   $as_echo_n "(cached) " >&6
16868 else
16869
16870   if test x$gcc_no_link = xyes; then
16871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h.  */
16873 #include <stdio.h>
16874       #include <stdarg.h>
16875       void foo(char* fmt, ...)
16876       {
16877         va_list args; va_start(args, fmt);
16878         vfscanf(stderr, "%i", args);
16879         vscanf("%i", args);
16880         vsnprintf(fmt, 0, "%i", args);
16881         vsscanf(fmt, "%i", args);
16882       }
16883 int
16884 main ()
16885 {
16886 snprintf("12", 0, "%i");
16887   ;
16888   return 0;
16889 }
16890 _ACEOF
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16892   glibcxx_cv_c99_stdio=yes
16893 else
16894   glibcxx_cv_c99_stdio=no
16895 fi
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 else
16898   if test x$gcc_no_link = xyes; then
16899   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16900 fi
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h.  */
16903 #include <stdio.h>
16904       #include <stdarg.h>
16905       void foo(char* fmt, ...)
16906       {
16907         va_list args; va_start(args, fmt);
16908         vfscanf(stderr, "%i", args);
16909         vscanf("%i", args);
16910         vsnprintf(fmt, 0, "%i", args);
16911         vsscanf(fmt, "%i", args);
16912       }
16913 int
16914 main ()
16915 {
16916 snprintf("12", 0, "%i");
16917   ;
16918   return 0;
16919 }
16920 _ACEOF
16921 if ac_fn_cxx_try_link "$LINENO"; then :
16922   glibcxx_cv_c99_stdio=yes
16923 else
16924   glibcxx_cv_c99_stdio=no
16925 fi
16926 rm -f core conftest.err conftest.$ac_objext \
16927     conftest$ac_exeext conftest.$ac_ext
16928 fi
16929
16930 fi
16931
16932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16933 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16934
16935   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16937 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16938   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16939   $as_echo_n "(cached) " >&6
16940 else
16941
16942   if test x$gcc_no_link = xyes; then
16943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h.  */
16945 #include <stdlib.h>
16946       volatile float f;
16947       volatile long double ld;
16948       volatile unsigned long long ll;
16949       lldiv_t mydivt;
16950 int
16951 main ()
16952 {
16953 char* tmp;
16954       f = strtof("gnu", &tmp);
16955       ld = strtold("gnu", &tmp);
16956       ll = strtoll("gnu", &tmp, 10);
16957       ll = strtoull("gnu", &tmp, 10);
16958       ll = llabs(10);
16959       mydivt = lldiv(10,1);
16960       ll = mydivt.quot;
16961       ll = mydivt.rem;
16962       ll = atoll("10");
16963       _Exit(0);
16964
16965   ;
16966   return 0;
16967 }
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970   glibcxx_cv_c99_stdlib=yes
16971 else
16972   glibcxx_cv_c99_stdlib=no
16973 fi
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975 else
16976   if test x$gcc_no_link = xyes; then
16977   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16978 fi
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h.  */
16981 #include <stdlib.h>
16982       volatile float f;
16983       volatile long double ld;
16984       volatile unsigned long long ll;
16985       lldiv_t mydivt;
16986 int
16987 main ()
16988 {
16989 char* tmp;
16990       f = strtof("gnu", &tmp);
16991       ld = strtold("gnu", &tmp);
16992       ll = strtoll("gnu", &tmp, 10);
16993       ll = strtoull("gnu", &tmp, 10);
16994       ll = llabs(10);
16995       mydivt = lldiv(10,1);
16996       ll = mydivt.quot;
16997       ll = mydivt.rem;
16998       ll = atoll("10");
16999       _Exit(0);
17000
17001   ;
17002   return 0;
17003 }
17004 _ACEOF
17005 if ac_fn_cxx_try_link "$LINENO"; then :
17006   glibcxx_cv_c99_stdlib=yes
17007 else
17008   glibcxx_cv_c99_stdlib=no
17009 fi
17010 rm -f core conftest.err conftest.$ac_objext \
17011     conftest$ac_exeext conftest.$ac_ext
17012 fi
17013
17014 fi
17015
17016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17017 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17018
17019   # Check for the existence in <wchar.h> of wcstold, etc.
17020   glibcxx_cv_c99_wchar=no;
17021   if test x"$ac_has_wchar_h" = xyes &&
17022      test x"$ac_has_wctype_h" = xyes; then
17023     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17024 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17025     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h.  */
17027 #include <wchar.h>
17028                     namespace test
17029                     {
17030                       using ::wcstold;
17031                       using ::wcstoll;
17032                       using ::wcstoull;
17033                     }
17034
17035 int
17036 main ()
17037 {
17038
17039   ;
17040   return 0;
17041 }
17042 _ACEOF
17043 if ac_fn_cxx_try_compile "$LINENO"; then :
17044   glibcxx_cv_c99_wchar=yes
17045 else
17046   glibcxx_cv_c99_wchar=no
17047 fi
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049
17050     # Checks for wide character functions that may not be present.
17051     # Injection of these is wrapped with guard macros.
17052     # NB: only put functions here, instead of immediately above, if
17053     # absolutely necessary.
17054     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h.  */
17056 #include <wchar.h>
17057                     namespace test { using ::vfwscanf; }
17058 int
17059 main ()
17060 {
17061
17062   ;
17063   return 0;
17064 }
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17067
17068 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17069
17070 fi
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072
17073     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h.  */
17075 #include <wchar.h>
17076                     namespace test { using ::vswscanf; }
17077 int
17078 main ()
17079 {
17080
17081   ;
17082   return 0;
17083 }
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17086
17087 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17088
17089 fi
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091
17092     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h.  */
17094 #include <wchar.h>
17095                     namespace test { using ::vwscanf; }
17096 int
17097 main ()
17098 {
17099
17100   ;
17101   return 0;
17102 }
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17105
17106 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17107
17108 fi
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110
17111     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h.  */
17113 #include <wchar.h>
17114                     namespace test { using ::wcstof; }
17115 int
17116 main ()
17117 {
17118
17119   ;
17120   return 0;
17121 }
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17124
17125 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17126
17127 fi
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129
17130     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h.  */
17132 #include <wctype.h>
17133 int
17134 main ()
17135 {
17136  wint_t t; int i = iswblank(t);
17137   ;
17138   return 0;
17139 }
17140 _ACEOF
17141 if ac_fn_cxx_try_compile "$LINENO"; then :
17142
17143 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17144
17145 fi
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17147
17148     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17149 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17150   fi
17151
17152   # Option parsed, now set things appropriately.
17153   if test x"$glibcxx_cv_c99_math" = x"no" ||
17154      test x"$glibcxx_cv_c99_complex" = x"no" ||
17155      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17156      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17157      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17158     enable_c99=no;
17159   else
17160
17161 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17162
17163   fi
17164
17165   gcc_no_link="$ac_save_gcc_no_link"
17166   LIBS="$ac_save_LIBS"
17167   CXXFLAGS="$ac_save_CXXFLAGS"
17168   ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173
17174   fi
17175
17176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17177 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17179 $as_echo "$enable_c99" >&6; }
17180
17181
17182    # Check whether --enable-concept-checks was given.
17183 if test "${enable_concept_checks+set}" = set; then :
17184   enableval=$enable_concept_checks;
17185       case "$enableval" in
17186        yes|no) ;;
17187        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17188       esac
17189
17190 else
17191   enable_concept_checks=no
17192 fi
17193
17194
17195   if test $enable_concept_checks = yes; then
17196
17197 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17198
17199   fi
17200
17201
17202    # Check whether --enable-libstdcxx-debug-flags was given.
17203 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17204   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17205       xno | x)    enable_libstdcxx_debug_flags= ;;
17206       x-*)        ;;
17207       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17208      esac
17209 else
17210   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17211 fi
17212
17213
17214
17215   # Option parsed, now set things appropriately
17216   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17217
17218
17219   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17220 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17221
17222
17223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17224 $as_echo_n "checking for additional debug build... " >&6; }
17225    # Check whether --enable-libstdcxx-debug was given.
17226 if test "${enable_libstdcxx_debug+set}" = set; then :
17227   enableval=$enable_libstdcxx_debug;
17228       case "$enableval" in
17229        yes|no) ;;
17230        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17231       esac
17232
17233 else
17234   enable_libstdcxx_debug=no
17235 fi
17236
17237
17238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17239 $as_echo "$enable_libstdcxx_debug" >&6; }
17240
17241
17242
17243
17244   enable_parallel=no;
17245
17246   # See if configured libgomp/omp.h exists. (libgomp may be in
17247   # noconfigdirs but not explicitly disabled.)
17248   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17249     enable_parallel=yes;
17250   else
17251     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17252 $as_echo "$as_me: target-libgomp not built" >&6;}
17253   fi
17254
17255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17256 $as_echo_n "checking for parallel mode support... " >&6; }
17257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17258 $as_echo "$enable_parallel" >&6; }
17259
17260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17261 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17262    # Check whether --enable-cxx-flags was given.
17263 if test "${enable_cxx_flags+set}" = set; then :
17264   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17265       xno | x)   enable_cxx_flags= ;;
17266       x-*)       ;;
17267       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268      esac
17269 else
17270   enable_cxx_flags=
17271 fi
17272
17273
17274
17275   # Run through flags (either default or command-line) and set anything
17276   # extra (e.g., #defines) that must accompany particular g++ options.
17277   if test -n "$enable_cxx_flags"; then
17278     for f in $enable_cxx_flags; do
17279       case "$f" in
17280         -fhonor-std)  ;;
17281         -*)  ;;
17282         *)   # and we're trying to pass /what/ exactly?
17283              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17284       esac
17285     done
17286   fi
17287
17288   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17290 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17291
17292
17293
17294    # Check whether --enable-fully-dynamic-string was given.
17295 if test "${enable_fully_dynamic_string+set}" = set; then :
17296   enableval=$enable_fully_dynamic_string;
17297       case "$enableval" in
17298        yes|no) ;;
17299        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17300       esac
17301
17302 else
17303   enable_fully_dynamic_string=no
17304 fi
17305
17306
17307   if test $enable_fully_dynamic_string = yes; then
17308     enable_fully_dynamic_string_def=1
17309   else
17310     enable_fully_dynamic_string_def=0
17311   fi
17312
17313 cat >>confdefs.h <<_ACEOF
17314 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17315 _ACEOF
17316
17317
17318
17319
17320    # Check whether --enable-extern-template was given.
17321 if test "${enable_extern_template+set}" = set; then :
17322   enableval=$enable_extern_template;
17323       case "$enableval" in
17324        yes|no) ;;
17325        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17326       esac
17327
17328 else
17329   enable_extern_template=yes
17330 fi
17331
17332
17333
17334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17335 $as_echo_n "checking for extern template support... " >&6; }
17336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17337 $as_echo "$enable_extern_template" >&6; }
17338
17339
17340
17341
17342
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17344 $as_echo_n "checking for custom python install directory... " >&6; }
17345
17346 # Check whether --with-python-dir was given.
17347 if test "${with_python_dir+set}" = set; then :
17348   withval=$with_python_dir; with_python_dir=$withval
17349 else
17350   with_python_dir="no"
17351 fi
17352
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17354 $as_echo "${with_python_dir}" >&6; }
17355
17356 # Needed for installing Python modules during make install.
17357 python_mod_dir="${with_python_dir}"
17358
17359
17360
17361
17362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17363 $as_echo_n "checking for -Werror... " >&6; }
17364    # Check whether --enable-werror was given.
17365 if test "${enable_werror+set}" = set; then :
17366   enableval=$enable_werror;
17367       case "$enableval" in
17368        yes|no) ;;
17369        *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17370       esac
17371
17372 else
17373   enable_werror=yes
17374 fi
17375
17376
17377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17378 $as_echo "$enable_werror" >&6; }
17379
17380
17381
17382 # Checks for operating systems support that doesn't require linking.
17383
17384
17385
17386   ac_ext=cpp
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17391
17392
17393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17394 $as_echo_n "checking for gets declaration... " >&6; }
17395   if test "${glibcxx_cv_gets+set}" = set; then :
17396   $as_echo_n "(cached) " >&6
17397 else
17398
17399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h.  */
17401 #include <stdio.h>
17402            namespace test
17403            {
17404               using ::gets;
17405            }
17406
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17409   glibcxx_cv_gets=yes
17410 else
17411   glibcxx_cv_gets=no
17412
17413 fi
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415 fi
17416
17417
17418   if test $glibcxx_cv_gets = yes; then
17419
17420 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17421
17422   fi
17423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17424 $as_echo "$glibcxx_cv_gets" >&6; }
17425
17426   ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17431
17432
17433
17434
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17436 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17437 if test "${glibcxx_cv_system_error1+set}" = set; then :
17438   $as_echo_n "(cached) " >&6
17439 else
17440
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h.  */
17443 #include <errno.h>
17444 int
17445 main ()
17446 {
17447 int i = EOWNERDEAD;
17448   ;
17449   return 0;
17450 }
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453   glibcxx_cv_system_error1=yes
17454 else
17455   glibcxx_cv_system_error1=no
17456 fi
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458
17459 fi
17460
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17462 $as_echo "$glibcxx_cv_system_error1" >&6; }
17463 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17464
17465 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17466
17467 fi
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17469 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17470 if test "${glibcxx_cv_system_error2+set}" = set; then :
17471   $as_echo_n "(cached) " >&6
17472 else
17473
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h.  */
17476 #include <errno.h>
17477 int
17478 main ()
17479 {
17480 int i = ENOTRECOVERABLE;
17481   ;
17482   return 0;
17483 }
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486   glibcxx_cv_system_error2=yes
17487 else
17488   glibcxx_cv_system_error2=no
17489 fi
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491
17492 fi
17493
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17495 $as_echo "$glibcxx_cv_system_error2" >&6; }
17496 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17497
17498 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17499
17500 fi
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17502 $as_echo_n "checking for ENOLINK... " >&6; }
17503 if test "${glibcxx_cv_system_error3+set}" = set; then :
17504   $as_echo_n "(cached) " >&6
17505 else
17506
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h.  */
17509 #include <errno.h>
17510 int
17511 main ()
17512 {
17513 int i = ENOLINK;
17514   ;
17515   return 0;
17516 }
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519   glibcxx_cv_system_error3=yes
17520 else
17521   glibcxx_cv_system_error3=no
17522 fi
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524
17525 fi
17526
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17528 $as_echo "$glibcxx_cv_system_error3" >&6; }
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17530
17531 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17532
17533 fi
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17535 $as_echo_n "checking for EPROTO... " >&6; }
17536 if test "${glibcxx_cv_system_error4+set}" = set; then :
17537   $as_echo_n "(cached) " >&6
17538 else
17539
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h.  */
17542 #include <errno.h>
17543 int
17544 main ()
17545 {
17546 int i = EPROTO;
17547   ;
17548   return 0;
17549 }
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552   glibcxx_cv_system_error4=yes
17553 else
17554   glibcxx_cv_system_error4=no
17555 fi
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557
17558 fi
17559
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17561 $as_echo "$glibcxx_cv_system_error4" >&6; }
17562 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17563
17564 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17565
17566 fi
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17568 $as_echo_n "checking for ENODATA... " >&6; }
17569 if test "${glibcxx_cv_system_error5+set}" = set; then :
17570   $as_echo_n "(cached) " >&6
17571 else
17572
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h.  */
17575 #include <errno.h>
17576 int
17577 main ()
17578 {
17579 int i = ENODATA;
17580   ;
17581   return 0;
17582 }
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585   glibcxx_cv_system_error5=yes
17586 else
17587   glibcxx_cv_system_error5=no
17588 fi
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590
17591 fi
17592
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17594 $as_echo "$glibcxx_cv_system_error5" >&6; }
17595 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17596
17597 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17598
17599 fi
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17601 $as_echo_n "checking for ENOSR... " >&6; }
17602 if test "${glibcxx_cv_system_error6+set}" = set; then :
17603   $as_echo_n "(cached) " >&6
17604 else
17605
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h.  */
17608 #include <errno.h>
17609 int
17610 main ()
17611 {
17612 int i = ENOSR;
17613   ;
17614   return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618   glibcxx_cv_system_error6=yes
17619 else
17620   glibcxx_cv_system_error6=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623
17624 fi
17625
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17627 $as_echo "$glibcxx_cv_system_error6" >&6; }
17628 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17629
17630 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17631
17632 fi
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17634 $as_echo_n "checking for ENOSTR... " >&6; }
17635 if test "${glibcxx_cv_system_error7+set}" = set; then :
17636   $as_echo_n "(cached) " >&6
17637 else
17638
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h.  */
17641 #include <errno.h>
17642 int
17643 main ()
17644 {
17645 int i = ENOSTR;
17646   ;
17647   return 0;
17648 }
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651   glibcxx_cv_system_error7=yes
17652 else
17653   glibcxx_cv_system_error7=no
17654 fi
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656
17657 fi
17658
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17660 $as_echo "$glibcxx_cv_system_error7" >&6; }
17661 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17662
17663 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17664
17665 fi
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17667 $as_echo_n "checking for ETIME... " >&6; }
17668 if test "${glibcxx_cv_system_error8+set}" = set; then :
17669   $as_echo_n "(cached) " >&6
17670 else
17671
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h.  */
17674 #include <errno.h>
17675 int
17676 main ()
17677 {
17678 int i = ETIME;
17679   ;
17680   return 0;
17681 }
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684   glibcxx_cv_system_error8=yes
17685 else
17686   glibcxx_cv_system_error8=no
17687 fi
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689
17690 fi
17691
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17693 $as_echo "$glibcxx_cv_system_error8" >&6; }
17694 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17695
17696 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17697
17698 fi
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17700 $as_echo_n "checking for EBADMSG... " >&6; }
17701 if test "${glibcxx_cv_system_error9+set}" = set; then :
17702   $as_echo_n "(cached) " >&6
17703 else
17704
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h.  */
17707 #include <errno.h>
17708 int
17709 main ()
17710 {
17711 int i = EBADMSG;
17712   ;
17713   return 0;
17714 }
17715 _ACEOF
17716 if ac_fn_c_try_compile "$LINENO"; then :
17717   glibcxx_cv_system_error9=yes
17718 else
17719   glibcxx_cv_system_error9=no
17720 fi
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17722
17723 fi
17724
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17726 $as_echo "$glibcxx_cv_system_error9" >&6; }
17727 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17728
17729 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17730
17731 fi
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17733 $as_echo_n "checking for ECANCELED... " >&6; }
17734 if test "${glibcxx_cv_system_error10+set}" = set; then :
17735   $as_echo_n "(cached) " >&6
17736 else
17737
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h.  */
17740 #include <errno.h>
17741 int
17742 main ()
17743 {
17744 int i = ECANCELED;
17745   ;
17746   return 0;
17747 }
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750   glibcxx_cv_system_error10=yes
17751 else
17752   glibcxx_cv_system_error10=no
17753 fi
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755
17756 fi
17757
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17759 $as_echo "$glibcxx_cv_system_error10" >&6; }
17760 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17761
17762 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17763
17764 fi
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17766 $as_echo_n "checking for EOVERFLOW... " >&6; }
17767 if test "${glibcxx_cv_system_error11+set}" = set; then :
17768   $as_echo_n "(cached) " >&6
17769 else
17770
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h.  */
17773 #include <errno.h>
17774 int
17775 main ()
17776 {
17777 int i = EOVERFLOW;
17778   ;
17779   return 0;
17780 }
17781 _ACEOF
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783   glibcxx_cv_system_error11=yes
17784 else
17785   glibcxx_cv_system_error11=no
17786 fi
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17788
17789 fi
17790
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17792 $as_echo "$glibcxx_cv_system_error11" >&6; }
17793 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17794
17795 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17796
17797 fi
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17799 $as_echo_n "checking for ENOTSUP... " >&6; }
17800 if test "${glibcxx_cv_system_error12+set}" = set; then :
17801   $as_echo_n "(cached) " >&6
17802 else
17803
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h.  */
17806 #include <errno.h>
17807 int
17808 main ()
17809 {
17810 int i = ENOTSUP;
17811   ;
17812   return 0;
17813 }
17814 _ACEOF
17815 if ac_fn_c_try_compile "$LINENO"; then :
17816   glibcxx_cv_system_error12=yes
17817 else
17818   glibcxx_cv_system_error12=no
17819 fi
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17821
17822 fi
17823
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17825 $as_echo "$glibcxx_cv_system_error12" >&6; }
17826 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17827
17828 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17829
17830 fi
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17832 $as_echo_n "checking for EIDRM... " >&6; }
17833 if test "${glibcxx_cv_system_error13+set}" = set; then :
17834   $as_echo_n "(cached) " >&6
17835 else
17836
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h.  */
17839 #include <errno.h>
17840 int
17841 main ()
17842 {
17843 int i = EIDRM;
17844   ;
17845   return 0;
17846 }
17847 _ACEOF
17848 if ac_fn_c_try_compile "$LINENO"; then :
17849   glibcxx_cv_system_error13=yes
17850 else
17851   glibcxx_cv_system_error13=no
17852 fi
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854
17855 fi
17856
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17858 $as_echo "$glibcxx_cv_system_error13" >&6; }
17859 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17860
17861 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17862
17863 fi
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17865 $as_echo_n "checking for ETXTBSY... " >&6; }
17866 if test "${glibcxx_cv_system_error14+set}" = set; then :
17867   $as_echo_n "(cached) " >&6
17868 else
17869
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h.  */
17872 #include <errno.h>
17873 int
17874 main ()
17875 {
17876 int i = ETXTBSY;
17877   ;
17878   return 0;
17879 }
17880 _ACEOF
17881 if ac_fn_c_try_compile "$LINENO"; then :
17882   glibcxx_cv_system_error14=yes
17883 else
17884   glibcxx_cv_system_error14=no
17885 fi
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887
17888 fi
17889
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17891 $as_echo "$glibcxx_cv_system_error14" >&6; }
17892 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17893
17894 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17895
17896 fi
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17898 $as_echo_n "checking for ECHILD... " >&6; }
17899 if test "${glibcxx_cv_system_error15+set}" = set; then :
17900   $as_echo_n "(cached) " >&6
17901 else
17902
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h.  */
17905 #include <errno.h>
17906 int
17907 main ()
17908 {
17909 int i = ECHILD;
17910   ;
17911   return 0;
17912 }
17913 _ACEOF
17914 if ac_fn_c_try_compile "$LINENO"; then :
17915   glibcxx_cv_system_error15=yes
17916 else
17917   glibcxx_cv_system_error15=no
17918 fi
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920
17921 fi
17922
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17924 $as_echo "$glibcxx_cv_system_error15" >&6; }
17925 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17926
17927 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17928
17929 fi
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17931 $as_echo_n "checking for ENOSPC... " >&6; }
17932 if test "${glibcxx_cv_system_error16+set}" = set; then :
17933   $as_echo_n "(cached) " >&6
17934 else
17935
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h.  */
17938 #include <errno.h>
17939 int
17940 main ()
17941 {
17942 int i = ENOSPC;
17943   ;
17944   return 0;
17945 }
17946 _ACEOF
17947 if ac_fn_c_try_compile "$LINENO"; then :
17948   glibcxx_cv_system_error16=yes
17949 else
17950   glibcxx_cv_system_error16=no
17951 fi
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17953
17954 fi
17955
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17957 $as_echo "$glibcxx_cv_system_error16" >&6; }
17958 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17959
17960 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17961
17962 fi
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17964 $as_echo_n "checking for EPERM... " >&6; }
17965 if test "${glibcxx_cv_system_error17+set}" = set; then :
17966   $as_echo_n "(cached) " >&6
17967 else
17968
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h.  */
17971 #include <errno.h>
17972 int
17973 main ()
17974 {
17975 int i = EPERM;
17976   ;
17977   return 0;
17978 }
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981   glibcxx_cv_system_error17=yes
17982 else
17983   glibcxx_cv_system_error17=no
17984 fi
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986
17987 fi
17988
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17990 $as_echo "$glibcxx_cv_system_error17" >&6; }
17991 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17992
17993 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17994
17995 fi
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17997 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17998 if test "${glibcxx_cv_system_error18+set}" = set; then :
17999   $as_echo_n "(cached) " >&6
18000 else
18001
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h.  */
18004 #include <errno.h>
18005 int
18006 main ()
18007 {
18008 int i = ETIMEDOUT;
18009   ;
18010   return 0;
18011 }
18012 _ACEOF
18013 if ac_fn_c_try_compile "$LINENO"; then :
18014   glibcxx_cv_system_error18=yes
18015 else
18016   glibcxx_cv_system_error18=no
18017 fi
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019
18020 fi
18021
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18023 $as_echo "$glibcxx_cv_system_error18" >&6; }
18024 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18025
18026 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18027
18028 fi
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18030 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18031 if test "${glibcxx_cv_system_error19+set}" = set; then :
18032   $as_echo_n "(cached) " >&6
18033 else
18034
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h.  */
18037 #include <errno.h>
18038 int
18039 main ()
18040 {
18041 int i = EWOULDBLOCK;
18042   ;
18043   return 0;
18044 }
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"; then :
18047   glibcxx_cv_system_error19=yes
18048 else
18049   glibcxx_cv_system_error19=no
18050 fi
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052
18053 fi
18054
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18056 $as_echo "$glibcxx_cv_system_error19" >&6; }
18057 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18058
18059 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18060
18061 fi
18062
18063
18064
18065 # For the streamoff typedef.
18066
18067
18068
18069   ac_ext=cpp
18070 ac_cpp='$CXXCPP $CPPFLAGS'
18071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18074
18075
18076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18077 $as_echo_n "checking for int64_t... " >&6; }
18078   if test "${glibcxx_cv_INT64_T+set}" = set; then :
18079   $as_echo_n "(cached) " >&6
18080 else
18081
18082     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h.  */
18084 #include <stdint.h>
18085 int
18086 main ()
18087 {
18088 int64_t var;
18089   ;
18090   return 0;
18091 }
18092 _ACEOF
18093 if ac_fn_cxx_try_compile "$LINENO"; then :
18094   glibcxx_cv_INT64_T=yes
18095 else
18096   glibcxx_cv_INT64_T=no
18097 fi
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099
18100 fi
18101
18102
18103   if test $glibcxx_cv_INT64_T = yes; then
18104
18105 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18106
18107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18108 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18109
18110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18111 $as_echo_n "checking for int64_t as long... " >&6; }
18112     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18113   $as_echo_n "(cached) " >&6
18114 else
18115
18116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h.  */
18118 #include <stdint.h>
18119         template<typename, typename> struct same { enum { value = -1 }; };
18120         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18121         int array[same<int64_t, long>::value];
18122 int
18123 main ()
18124 {
18125
18126   ;
18127   return 0;
18128 }
18129 _ACEOF
18130 if ac_fn_cxx_try_compile "$LINENO"; then :
18131   glibcxx_cv_int64_t_long=yes
18132 else
18133   glibcxx_cv_int64_t_long=no
18134 fi
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136
18137 fi
18138
18139
18140     if test $glibcxx_cv_int64_t_long = yes; then
18141
18142 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18143
18144       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18145 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18146     fi
18147
18148     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18149 $as_echo_n "checking for int64_t as long long... " >&6; }
18150     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18151   $as_echo_n "(cached) " >&6
18152 else
18153
18154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h.  */
18156 #include <stdint.h>
18157         template<typename, typename> struct same { enum { value = -1 }; };
18158         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18159         int array[same<int64_t, long long>::value];
18160 int
18161 main ()
18162 {
18163
18164   ;
18165   return 0;
18166 }
18167 _ACEOF
18168 if ac_fn_cxx_try_compile "$LINENO"; then :
18169   glibcxx_cv_int64_t_long_long=yes
18170 else
18171   glibcxx_cv_int64_t_long_long=no
18172 fi
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174
18175 fi
18176
18177
18178     if test $glibcxx_cv_int64_t_long_long = yes; then
18179
18180 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18181
18182       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18183 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18184     fi
18185   fi
18186
18187   ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192
18193
18194
18195 # For LFS support.
18196
18197
18198   ac_ext=cpp
18199 ac_cpp='$CXXCPP $CPPFLAGS'
18200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18203
18204   ac_save_CXXFLAGS="$CXXFLAGS"
18205   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18207 $as_echo_n "checking for LFS support... " >&6; }
18208   if test "${glibcxx_cv_LFS+set}" = set; then :
18209   $as_echo_n "(cached) " >&6
18210 else
18211
18212     if test x$gcc_no_link = xyes; then
18213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h.  */
18215 #include <unistd.h>
18216        #include <stdio.h>
18217        #include <sys/stat.h>
18218
18219 int
18220 main ()
18221 {
18222 FILE* fp;
18223        fopen64("t", "w");
18224        fseeko64(fp, 0, SEEK_CUR);
18225        ftello64(fp);
18226        lseek64(1, 0, SEEK_CUR);
18227        struct stat64 buf;
18228        fstat64(1, &buf);
18229   ;
18230   return 0;
18231 }
18232 _ACEOF
18233 if ac_fn_cxx_try_compile "$LINENO"; then :
18234   glibcxx_cv_LFS=yes
18235 else
18236   glibcxx_cv_LFS=no
18237 fi
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 else
18240   if test x$gcc_no_link = xyes; then
18241   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18242 fi
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h.  */
18245 #include <unistd.h>
18246        #include <stdio.h>
18247        #include <sys/stat.h>
18248
18249 int
18250 main ()
18251 {
18252 FILE* fp;
18253        fopen64("t", "w");
18254        fseeko64(fp, 0, SEEK_CUR);
18255        ftello64(fp);
18256        lseek64(1, 0, SEEK_CUR);
18257        struct stat64 buf;
18258        fstat64(1, &buf);
18259   ;
18260   return 0;
18261 }
18262 _ACEOF
18263 if ac_fn_cxx_try_link "$LINENO"; then :
18264   glibcxx_cv_LFS=yes
18265 else
18266   glibcxx_cv_LFS=no
18267 fi
18268 rm -f core conftest.err conftest.$ac_objext \
18269     conftest$ac_exeext conftest.$ac_ext
18270 fi
18271
18272 fi
18273
18274   if test $glibcxx_cv_LFS = yes; then
18275
18276 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18277
18278   fi
18279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18280 $as_echo "$glibcxx_cv_LFS" >&6; }
18281   CXXFLAGS="$ac_save_CXXFLAGS"
18282   ac_ext=c
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18287
18288
18289
18290 # For showmanyc_helper().
18291 for ac_header in sys/ioctl.h sys/filio.h
18292 do :
18293   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18295 eval as_val=\$$as_ac_Header
18296    if test "x$as_val" = x""yes; then :
18297   cat >>confdefs.h <<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299 _ACEOF
18300
18301 fi
18302
18303 done
18304
18305
18306
18307
18308   ac_ext=cpp
18309 ac_cpp='$CXXCPP $CPPFLAGS'
18310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18313
18314   ac_save_CXXFLAGS="$CXXFLAGS"
18315   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18316
18317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18318 $as_echo_n "checking for poll... " >&6; }
18319   if test "${glibcxx_cv_POLL+set}" = set; then :
18320   $as_echo_n "(cached) " >&6
18321 else
18322
18323     if test x$gcc_no_link = xyes; then
18324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h.  */
18326 #include <poll.h>
18327 int
18328 main ()
18329 {
18330 struct pollfd pfd[1];
18331        pfd[0].events = POLLIN;
18332        poll(pfd, 1, 0);
18333   ;
18334   return 0;
18335 }
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338   glibcxx_cv_POLL=yes
18339 else
18340   glibcxx_cv_POLL=no
18341 fi
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 else
18344   if test x$gcc_no_link = xyes; then
18345   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18346 fi
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h.  */
18349 #include <poll.h>
18350 int
18351 main ()
18352 {
18353 struct pollfd pfd[1];
18354        pfd[0].events = POLLIN;
18355        poll(pfd, 1, 0);
18356   ;
18357   return 0;
18358 }
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361   glibcxx_cv_POLL=yes
18362 else
18363   glibcxx_cv_POLL=no
18364 fi
18365 rm -f core conftest.err conftest.$ac_objext \
18366     conftest$ac_exeext conftest.$ac_ext
18367 fi
18368
18369 fi
18370
18371   if test $glibcxx_cv_POLL = yes; then
18372
18373 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18374
18375   fi
18376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18377 $as_echo "$glibcxx_cv_POLL" >&6; }
18378
18379   CXXFLAGS="$ac_save_CXXFLAGS"
18380   ac_ext=c
18381 ac_cpp='$CPP $CPPFLAGS'
18382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18385
18386
18387
18388
18389
18390   ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18395
18396   ac_save_CXXFLAGS="$CXXFLAGS"
18397   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18398
18399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18400 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18401   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18402   $as_echo_n "(cached) " >&6
18403 else
18404
18405     if test x$gcc_no_link = xyes; then
18406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h.  */
18408 #include <sys/stat.h>
18409 int
18410 main ()
18411 {
18412 struct stat buffer;
18413        fstat(0, &buffer);
18414        S_ISREG(buffer.st_mode);
18415   ;
18416   return 0;
18417 }
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420   glibcxx_cv_S_ISREG=yes
18421 else
18422   glibcxx_cv_S_ISREG=no
18423 fi
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426   if test x$gcc_no_link = xyes; then
18427   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18428 fi
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h.  */
18431 #include <sys/stat.h>
18432 int
18433 main ()
18434 {
18435 struct stat buffer;
18436        fstat(0, &buffer);
18437        S_ISREG(buffer.st_mode);
18438   ;
18439   return 0;
18440 }
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443   glibcxx_cv_S_ISREG=yes
18444 else
18445   glibcxx_cv_S_ISREG=no
18446 fi
18447 rm -f core conftest.err conftest.$ac_objext \
18448     conftest$ac_exeext conftest.$ac_ext
18449 fi
18450
18451 fi
18452
18453   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18454   $as_echo_n "(cached) " >&6
18455 else
18456
18457     if test x$gcc_no_link = xyes; then
18458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h.  */
18460 #include <sys/stat.h>
18461 int
18462 main ()
18463 {
18464 struct stat buffer;
18465        fstat(0, &buffer);
18466        S_IFREG & buffer.st_mode;
18467   ;
18468   return 0;
18469 }
18470 _ACEOF
18471 if ac_fn_cxx_try_compile "$LINENO"; then :
18472   glibcxx_cv_S_IFREG=yes
18473 else
18474   glibcxx_cv_S_IFREG=no
18475 fi
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477 else
18478   if test x$gcc_no_link = xyes; then
18479   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480 fi
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h.  */
18483 #include <sys/stat.h>
18484 int
18485 main ()
18486 {
18487 struct stat buffer;
18488        fstat(0, &buffer);
18489        S_IFREG & buffer.st_mode;
18490   ;
18491   return 0;
18492 }
18493 _ACEOF
18494 if ac_fn_cxx_try_link "$LINENO"; then :
18495   glibcxx_cv_S_IFREG=yes
18496 else
18497   glibcxx_cv_S_IFREG=no
18498 fi
18499 rm -f core conftest.err conftest.$ac_objext \
18500     conftest$ac_exeext conftest.$ac_ext
18501 fi
18502
18503 fi
18504
18505   res=no
18506   if test $glibcxx_cv_S_ISREG = yes; then
18507
18508 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18509
18510     res=S_ISREG
18511   elif test $glibcxx_cv_S_IFREG = yes; then
18512
18513 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18514
18515     res=S_IFREG
18516   fi
18517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18518 $as_echo "$res" >&6; }
18519
18520   CXXFLAGS="$ac_save_CXXFLAGS"
18521   ac_ext=c
18522 ac_cpp='$CPP $CPPFLAGS'
18523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18526
18527
18528
18529 # For xsputn_2().
18530 for ac_header in sys/uio.h
18531 do :
18532   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18533 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18534   cat >>confdefs.h <<_ACEOF
18535 #define HAVE_SYS_UIO_H 1
18536 _ACEOF
18537
18538 fi
18539
18540 done
18541
18542
18543
18544
18545   ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18550
18551   ac_save_CXXFLAGS="$CXXFLAGS"
18552   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18553
18554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18555 $as_echo_n "checking for writev... " >&6; }
18556   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18557   $as_echo_n "(cached) " >&6
18558 else
18559
18560     if test x$gcc_no_link = xyes; then
18561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h.  */
18563 #include <sys/uio.h>
18564 int
18565 main ()
18566 {
18567 struct iovec iov[2];
18568        writev(0, iov, 0);
18569   ;
18570   return 0;
18571 }
18572 _ACEOF
18573 if ac_fn_cxx_try_compile "$LINENO"; then :
18574   glibcxx_cv_WRITEV=yes
18575 else
18576   glibcxx_cv_WRITEV=no
18577 fi
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 else
18580   if test x$gcc_no_link = xyes; then
18581   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18582 fi
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h.  */
18585 #include <sys/uio.h>
18586 int
18587 main ()
18588 {
18589 struct iovec iov[2];
18590        writev(0, iov, 0);
18591   ;
18592   return 0;
18593 }
18594 _ACEOF
18595 if ac_fn_cxx_try_link "$LINENO"; then :
18596   glibcxx_cv_WRITEV=yes
18597 else
18598   glibcxx_cv_WRITEV=no
18599 fi
18600 rm -f core conftest.err conftest.$ac_objext \
18601     conftest$ac_exeext conftest.$ac_ext
18602 fi
18603
18604 fi
18605
18606   if test $glibcxx_cv_WRITEV = yes; then
18607
18608 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18609
18610   fi
18611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18612 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18613
18614   CXXFLAGS="$ac_save_CXXFLAGS"
18615   ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620
18621
18622
18623 # For C99 support to TR1.
18624
18625
18626
18627   ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18632
18633
18634   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18635   # undefined and fake C99 facilities may be spuriously enabled.
18636   ac_save_CXXFLAGS="$CXXFLAGS"
18637   CXXFLAGS="$CXXFLAGS -std=c++98"
18638
18639   # Check for the existence of <complex.h> complex math functions used
18640   # by tr1/complex.
18641   for ac_header in complex.h
18642 do :
18643   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18644 if test "x$ac_cv_header_complex_h" = x""yes; then :
18645   cat >>confdefs.h <<_ACEOF
18646 #define HAVE_COMPLEX_H 1
18647 _ACEOF
18648  ac_has_complex_h=yes
18649 else
18650   ac_has_complex_h=no
18651 fi
18652
18653 done
18654
18655   ac_c99_complex_tr1=no;
18656   if test x"$ac_has_complex_h" = x"yes"; then
18657     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18658 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18659     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h.  */
18661 #include <complex.h>
18662 int
18663 main ()
18664 {
18665 typedef __complex__ float float_type; float_type tmpf;
18666                     cacosf(tmpf);
18667                     casinf(tmpf);
18668                     catanf(tmpf);
18669                     cacoshf(tmpf);
18670                     casinhf(tmpf);
18671                     catanhf(tmpf);
18672                     typedef __complex__ double double_type; double_type tmpd;
18673                     cacos(tmpd);
18674                     casin(tmpd);
18675                     catan(tmpd);
18676                     cacosh(tmpd);
18677                     casinh(tmpd);
18678                     catanh(tmpd);
18679                     typedef __complex__ long double ld_type; ld_type tmpld;
18680                     cacosl(tmpld);
18681                     casinl(tmpld);
18682                     catanl(tmpld);
18683                     cacoshl(tmpld);
18684                     casinhl(tmpld);
18685                     catanhl(tmpld);
18686
18687   ;
18688   return 0;
18689 }
18690 _ACEOF
18691 if ac_fn_cxx_try_compile "$LINENO"; then :
18692   ac_c99_complex_tr1=yes
18693 else
18694   ac_c99_complex_tr1=no
18695 fi
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697   fi
18698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18699 $as_echo "$ac_c99_complex_tr1" >&6; }
18700   if test x"$ac_c99_complex_tr1" = x"yes"; then
18701
18702 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18703
18704   fi
18705
18706   # Check for the existence of <ctype.h> functions.
18707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18708 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18709   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18710   $as_echo_n "(cached) " >&6
18711 else
18712
18713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h.  */
18715 #include <ctype.h>
18716 int
18717 main ()
18718 {
18719 int ch;
18720                   int ret;
18721                   ret = isblank(ch);
18722
18723   ;
18724   return 0;
18725 }
18726 _ACEOF
18727 if ac_fn_cxx_try_compile "$LINENO"; then :
18728   glibcxx_cv_c99_ctype_tr1=yes
18729 else
18730   glibcxx_cv_c99_ctype_tr1=no
18731 fi
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733
18734 fi
18735
18736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18737 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18738   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18739
18740 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18741
18742   fi
18743
18744   # Check for the existence of <fenv.h> functions.
18745   for ac_header in fenv.h
18746 do :
18747   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18749   cat >>confdefs.h <<_ACEOF
18750 #define HAVE_FENV_H 1
18751 _ACEOF
18752  ac_has_fenv_h=yes
18753 else
18754   ac_has_fenv_h=no
18755 fi
18756
18757 done
18758
18759   ac_c99_fenv_tr1=no;
18760   if test x"$ac_has_fenv_h" = x"yes"; then
18761     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18763     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h.  */
18765 #include <fenv.h>
18766 int
18767 main ()
18768 {
18769 int except, mode;
18770                     fexcept_t* pflag;
18771                     fenv_t* penv;
18772                     int ret;
18773                     ret = feclearexcept(except);
18774                     ret = fegetexceptflag(pflag, except);
18775                     ret = feraiseexcept(except);
18776                     ret = fesetexceptflag(pflag, except);
18777                     ret = fetestexcept(except);
18778                     ret = fegetround();
18779                     ret = fesetround(mode);
18780                     ret = fegetenv(penv);
18781                     ret = feholdexcept(penv);
18782                     ret = fesetenv(penv);
18783                     ret = feupdateenv(penv);
18784
18785   ;
18786   return 0;
18787 }
18788 _ACEOF
18789 if ac_fn_cxx_try_compile "$LINENO"; then :
18790   ac_c99_fenv_tr1=yes
18791 else
18792   ac_c99_fenv_tr1=no
18793 fi
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795   fi
18796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18797 $as_echo "$ac_c99_fenv_tr1" >&6; }
18798   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18799
18800 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18801
18802   fi
18803
18804   # Check for the existence of <stdint.h> types.
18805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18806 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18807   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18808   $as_echo_n "(cached) " >&6
18809 else
18810
18811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h.  */
18813 #define __STDC_LIMIT_MACROS
18814                   #define __STDC_CONSTANT_MACROS
18815                   #include <stdint.h>
18816 int
18817 main ()
18818 {
18819 typedef int8_t          my_int8_t;
18820                   my_int8_t               i8 = INT8_MIN;
18821                   i8 = INT8_MAX;
18822                   typedef int16_t         my_int16_t;
18823                   my_int16_t              i16 = INT16_MIN;
18824                   i16 = INT16_MAX;
18825                   typedef int32_t         my_int32_t;
18826                   my_int32_t              i32 = INT32_MIN;
18827                   i32 = INT32_MAX;
18828                   typedef int64_t         my_int64_t;
18829                   my_int64_t              i64 = INT64_MIN;
18830                   i64 = INT64_MAX;
18831                   typedef int_fast8_t     my_int_fast8_t;
18832                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18833                   if8 = INT_FAST8_MAX;
18834                   typedef int_fast16_t    my_int_fast16_t;
18835                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18836                   if16 = INT_FAST16_MAX;
18837                   typedef int_fast32_t    my_int_fast32_t;
18838                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18839                   if32 = INT_FAST32_MAX;
18840                   typedef int_fast64_t    my_int_fast64_t;
18841                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18842                   if64 = INT_FAST64_MAX;
18843                   typedef int_least8_t    my_int_least8_t;
18844                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18845                   il8 = INT_LEAST8_MAX;
18846                   typedef int_least16_t   my_int_least16_t;
18847                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18848                   il16 = INT_LEAST16_MAX;
18849                   typedef int_least32_t   my_int_least32_t;
18850                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18851                   il32 = INT_LEAST32_MAX;
18852                   typedef int_least64_t   my_int_least64_t;
18853                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18854                   il64 = INT_LEAST64_MAX;
18855                   typedef intmax_t        my_intmax_t;
18856                   my_intmax_t             im = INTMAX_MAX;
18857                   im = INTMAX_MIN;
18858                   typedef intptr_t        my_intptr_t;
18859                   my_intptr_t             ip = INTPTR_MAX;
18860                   ip = INTPTR_MIN;
18861                   typedef uint8_t         my_uint8_t;
18862                   my_uint8_t              ui8 = UINT8_MAX;
18863                   ui8 = UINT8_MAX;
18864                   typedef uint16_t        my_uint16_t;
18865                   my_uint16_t             ui16 = UINT16_MAX;
18866                   ui16 = UINT16_MAX;
18867                   typedef uint32_t        my_uint32_t;
18868                   my_uint32_t             ui32 = UINT32_MAX;
18869                   ui32 = UINT32_MAX;
18870                   typedef uint64_t        my_uint64_t;
18871                   my_uint64_t             ui64 = UINT64_MAX;
18872                   ui64 = UINT64_MAX;
18873                   typedef uint_fast8_t    my_uint_fast8_t;
18874                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18875                   uif8 = UINT_FAST8_MAX;
18876                   typedef uint_fast16_t   my_uint_fast16_t;
18877                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18878                   uif16 = UINT_FAST16_MAX;
18879                   typedef uint_fast32_t   my_uint_fast32_t;
18880                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18881                   uif32 = UINT_FAST32_MAX;
18882                   typedef uint_fast64_t   my_uint_fast64_t;
18883                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18884                   uif64 = UINT_FAST64_MAX;
18885                   typedef uint_least8_t   my_uint_least8_t;
18886                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18887                   uil8 = UINT_LEAST8_MAX;
18888                   typedef uint_least16_t  my_uint_least16_t;
18889                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18890                   uil16 = UINT_LEAST16_MAX;
18891                   typedef uint_least32_t  my_uint_least32_t;
18892                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18893                   uil32 = UINT_LEAST32_MAX;
18894                   typedef uint_least64_t  my_uint_least64_t;
18895                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18896                   uil64 = UINT_LEAST64_MAX;
18897                   typedef uintmax_t       my_uintmax_t;
18898                   my_uintmax_t            uim = UINTMAX_MAX;
18899                   uim = UINTMAX_MAX;
18900                   typedef uintptr_t       my_uintptr_t;
18901                   my_uintptr_t            uip = UINTPTR_MAX;
18902                   uip = UINTPTR_MAX;
18903
18904   ;
18905   return 0;
18906 }
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909   glibcxx_cv_c99_stdint_tr1=yes
18910 else
18911   glibcxx_cv_c99_stdint_tr1=no
18912 fi
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914
18915 fi
18916
18917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18918 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18919   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18920
18921 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18922
18923   fi
18924
18925   # Check for the existence of <math.h> functions.
18926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18927 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18928   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18929   $as_echo_n "(cached) " >&6
18930 else
18931
18932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h.  */
18934 #include <math.h>
18935 int
18936 main ()
18937 {
18938 typedef double_t  my_double_t;
18939                   typedef float_t   my_float_t;
18940                   acosh(0.0);
18941                   acoshf(0.0f);
18942                   acoshl(0.0l);
18943                   asinh(0.0);
18944                   asinhf(0.0f);
18945                   asinhl(0.0l);
18946                   atanh(0.0);
18947                   atanhf(0.0f);
18948                   atanhl(0.0l);
18949                   cbrt(0.0);
18950                   cbrtf(0.0f);
18951                   cbrtl(0.0l);
18952                   copysign(0.0, 0.0);
18953                   copysignf(0.0f, 0.0f);
18954                   copysignl(0.0l, 0.0l);
18955                   erf(0.0);
18956                   erff(0.0f);
18957                   erfl(0.0l);
18958                   erfc(0.0);
18959                   erfcf(0.0f);
18960                   erfcl(0.0l);
18961                   exp2(0.0);
18962                   exp2f(0.0f);
18963                   exp2l(0.0l);
18964                   expm1(0.0);
18965                   expm1f(0.0f);
18966                   expm1l(0.0l);
18967                   fdim(0.0, 0.0);
18968                   fdimf(0.0f, 0.0f);
18969                   fdiml(0.0l, 0.0l);
18970                   fma(0.0, 0.0, 0.0);
18971                   fmaf(0.0f, 0.0f, 0.0f);
18972                   fmal(0.0l, 0.0l, 0.0l);
18973                   fmax(0.0, 0.0);
18974                   fmaxf(0.0f, 0.0f);
18975                   fmaxl(0.0l, 0.0l);
18976                   fmin(0.0, 0.0);
18977                   fminf(0.0f, 0.0f);
18978                   fminl(0.0l, 0.0l);
18979                   hypot(0.0, 0.0);
18980                   hypotf(0.0f, 0.0f);
18981                   hypotl(0.0l, 0.0l);
18982                   ilogb(0.0);
18983                   ilogbf(0.0f);
18984                   ilogbl(0.0l);
18985                   lgamma(0.0);
18986                   lgammaf(0.0f);
18987                   lgammal(0.0l);
18988                   llrint(0.0);
18989                   llrintf(0.0f);
18990                   llrintl(0.0l);
18991                   llround(0.0);
18992                   llroundf(0.0f);
18993                   llroundl(0.0l);
18994                   log1p(0.0);
18995                   log1pf(0.0f);
18996                   log1pl(0.0l);
18997                   log2(0.0);
18998                   log2f(0.0f);
18999                   log2l(0.0l);
19000                   logb(0.0);
19001                   logbf(0.0f);
19002                   logbl(0.0l);
19003                   lrint(0.0);
19004                   lrintf(0.0f);
19005                   lrintl(0.0l);
19006                   lround(0.0);
19007                   lroundf(0.0f);
19008                   lroundl(0.0l);
19009                   nan(0);
19010                   nanf(0);
19011                   nanl(0);
19012                   nearbyint(0.0);
19013                   nearbyintf(0.0f);
19014                   nearbyintl(0.0l);
19015                   nextafter(0.0, 0.0);
19016                   nextafterf(0.0f, 0.0f);
19017                   nextafterl(0.0l, 0.0l);
19018                   nexttoward(0.0, 0.0);
19019                   nexttowardf(0.0f, 0.0f);
19020                   nexttowardl(0.0l, 0.0l);
19021                   remainder(0.0, 0.0);
19022                   remainderf(0.0f, 0.0f);
19023                   remainderl(0.0l, 0.0l);
19024                   remquo(0.0, 0.0, 0);
19025                   remquof(0.0f, 0.0f, 0);
19026                   remquol(0.0l, 0.0l, 0);
19027                   rint(0.0);
19028                   rintf(0.0f);
19029                   rintl(0.0l);
19030                   round(0.0);
19031                   roundf(0.0f);
19032                   roundl(0.0l);
19033                   scalbln(0.0, 0l);
19034                   scalblnf(0.0f, 0l);
19035                   scalblnl(0.0l, 0l);
19036                   scalbn(0.0, 0);
19037                   scalbnf(0.0f, 0);
19038                   scalbnl(0.0l, 0);
19039                   tgamma(0.0);
19040                   tgammaf(0.0f);
19041                   tgammal(0.0l);
19042                   trunc(0.0);
19043                   truncf(0.0f);
19044                   truncl(0.0l);
19045
19046   ;
19047   return 0;
19048 }
19049 _ACEOF
19050 if ac_fn_cxx_try_compile "$LINENO"; then :
19051   glibcxx_cv_c99_math_tr1=yes
19052 else
19053   glibcxx_cv_c99_math_tr1=no
19054 fi
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056
19057 fi
19058
19059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19060 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19061   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19062
19063 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19064
19065   fi
19066
19067   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19068   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069   ac_c99_inttypes_tr1=no;
19070   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19072 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19073     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h.  */
19075 #include <inttypes.h>
19076 int
19077 main ()
19078 {
19079 intmax_t i, numer, denom, base;
19080                     const char* s;
19081                     char** endptr;
19082                     intmax_t ret = imaxabs(i);
19083                     imaxdiv_t dret = imaxdiv(numer, denom);
19084                     ret = strtoimax(s, endptr, base);
19085                     uintmax_t uret = strtoumax(s, endptr, base);
19086
19087   ;
19088   return 0;
19089 }
19090 _ACEOF
19091 if ac_fn_cxx_try_compile "$LINENO"; then :
19092   ac_c99_inttypes_tr1=yes
19093 else
19094   ac_c99_inttypes_tr1=no
19095 fi
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097   fi
19098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19099 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19100   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19101
19102 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19103
19104   fi
19105
19106   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19107   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19108   ac_c99_inttypes_wchar_t_tr1=no;
19109   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19111 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19112     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h.  */
19114 #include <inttypes.h>
19115 int
19116 main ()
19117 {
19118 intmax_t base;
19119                     const wchar_t* s;
19120                     wchar_t** endptr;
19121                     intmax_t ret = wcstoimax(s, endptr, base);
19122                     uintmax_t uret = wcstoumax(s, endptr, base);
19123
19124   ;
19125   return 0;
19126 }
19127 _ACEOF
19128 if ac_fn_cxx_try_compile "$LINENO"; then :
19129   ac_c99_inttypes_wchar_t_tr1=yes
19130 else
19131   ac_c99_inttypes_wchar_t_tr1=no
19132 fi
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134   fi
19135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19136 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19137   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19138
19139 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19140
19141   fi
19142
19143   # Check for the existence of the <stdbool.h> header.
19144   for ac_header in stdbool.h
19145 do :
19146   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19147 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19148   cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STDBOOL_H 1
19150 _ACEOF
19151
19152 fi
19153
19154 done
19155
19156
19157   # Check for the existence of the <stdalign.h> header.
19158   for ac_header in stdalign.h
19159 do :
19160   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19161 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19162   cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STDALIGN_H 1
19164 _ACEOF
19165
19166 fi
19167
19168 done
19169
19170
19171   CXXFLAGS="$ac_save_CXXFLAGS"
19172   ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19177
19178
19179
19180 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19181
19182
19183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19184 $as_echo_n "checking for the value of EOF... " >&6; }
19185 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19186   $as_echo_n "(cached) " >&6
19187 else
19188
19189   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19190
19191 else
19192   as_fn_error "computing EOF failed" "$LINENO" 5
19193 fi
19194
19195
19196 fi
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19198 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19199
19200 cat >>confdefs.h <<_ACEOF
19201 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19202 _ACEOF
19203
19204
19205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19206 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19207 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19208   $as_echo_n "(cached) " >&6
19209 else
19210
19211   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19212
19213 else
19214   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19215 fi
19216
19217
19218 fi
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19220 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19221
19222 cat >>confdefs.h <<_ACEOF
19223 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19224 _ACEOF
19225
19226
19227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19228 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19229 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19230   $as_echo_n "(cached) " >&6
19231 else
19232
19233   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19234
19235 else
19236   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19237 fi
19238
19239
19240 fi
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19242 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19243
19244 cat >>confdefs.h <<_ACEOF
19245 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19246 _ACEOF
19247
19248
19249
19250 # For gettimeofday support.
19251
19252
19253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19254 $as_echo_n "checking for gettimeofday... " >&6; }
19255
19256
19257   ac_ext=cpp
19258 ac_cpp='$CXXCPP $CPPFLAGS'
19259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19262
19263   ac_save_CXXFLAGS="$CXXFLAGS"
19264   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19265
19266   ac_has_gettimeofday=no;
19267   for ac_header in sys/time.h
19268 do :
19269   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19271   cat >>confdefs.h <<_ACEOF
19272 #define HAVE_SYS_TIME_H 1
19273 _ACEOF
19274  ac_has_sys_time_h=yes
19275 else
19276   ac_has_sys_time_h=no
19277 fi
19278
19279 done
19280
19281   if test x"$ac_has_sys_time_h" = x"yes"; then
19282     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19283 $as_echo_n "checking for gettimeofday... " >&6; }
19284     if test x$gcc_no_link = xyes; then
19285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h.  */
19287 #include <sys/time.h>
19288 int
19289 main ()
19290 {
19291 timeval tv; gettimeofday(&tv, 0);
19292   ;
19293   return 0;
19294 }
19295 _ACEOF
19296 if ac_fn_cxx_try_compile "$LINENO"; then :
19297   ac_has_gettimeofday=yes
19298 else
19299   ac_has_gettimeofday=no
19300 fi
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 else
19303   if test x$gcc_no_link = xyes; then
19304   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19305 fi
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h.  */
19308 #include <sys/time.h>
19309 int
19310 main ()
19311 {
19312 timeval tv; gettimeofday(&tv, 0);
19313   ;
19314   return 0;
19315 }
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318   ac_has_gettimeofday=yes
19319 else
19320   ac_has_gettimeofday=no
19321 fi
19322 rm -f core conftest.err conftest.$ac_objext \
19323     conftest$ac_exeext conftest.$ac_ext
19324 fi
19325
19326     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19327 $as_echo "$ac_has_gettimeofday" >&6; }
19328   fi
19329
19330   if test x"$ac_has_gettimeofday" = x"yes"; then
19331
19332 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19333
19334   fi
19335
19336   CXXFLAGS="$ac_save_CXXFLAGS"
19337   ac_ext=c
19338 ac_cpp='$CPP $CPPFLAGS'
19339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19342
19343
19344
19345 # For clock_gettime, nanosleep and sched_yield support.
19346 # NB: The default is [no], because otherwise it requires linking.
19347
19348
19349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19350 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19351    # Check whether --enable-libstdcxx-time was given.
19352 if test "${enable_libstdcxx_time+set}" = set; then :
19353   enableval=$enable_libstdcxx_time;
19354       case "$enableval" in
19355        yes|no|rt) ;;
19356        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19357                         esac
19358
19359 else
19360   enable_libstdcxx_time=no
19361 fi
19362
19363
19364
19365
19366   ac_ext=cpp
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19371
19372   ac_save_CXXFLAGS="$CXXFLAGS"
19373   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19374   ac_save_LIBS="$LIBS"
19375
19376   ac_has_clock_monotonic=no
19377   ac_has_clock_realtime=no
19378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19379 $as_echo "$enable_libstdcxx_time" >&6; }
19380
19381   if test x"$enable_libstdcxx_time" != x"no"; then
19382
19383     if test x"$enable_libstdcxx_time" = x"rt"; then
19384       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19385 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19386 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19387   $as_echo_n "(cached) " >&6
19388 else
19389   ac_func_search_save_LIBS=$LIBS
19390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391 /* end confdefs.h.  */
19392
19393 /* Override any GCC internal prototype to avoid an error.
19394    Use char because int might match the return type of a GCC
19395    builtin and then its argument prototype would still apply.  */
19396 #ifdef __cplusplus
19397 extern "C"
19398 #endif
19399 char clock_gettime ();
19400 int
19401 main ()
19402 {
19403 return clock_gettime ();
19404   ;
19405   return 0;
19406 }
19407 _ACEOF
19408 for ac_lib in '' rt posix4; do
19409   if test -z "$ac_lib"; then
19410     ac_res="none required"
19411   else
19412     ac_res=-l$ac_lib
19413     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19414   fi
19415   if test x$gcc_no_link = xyes; then
19416   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19417 fi
19418 if ac_fn_cxx_try_link "$LINENO"; then :
19419   ac_cv_search_clock_gettime=$ac_res
19420 fi
19421 rm -f core conftest.err conftest.$ac_objext \
19422     conftest$ac_exeext
19423   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19424   break
19425 fi
19426 done
19427 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19428
19429 else
19430   ac_cv_search_clock_gettime=no
19431 fi
19432 rm conftest.$ac_ext
19433 LIBS=$ac_func_search_save_LIBS
19434 fi
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19436 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19437 ac_res=$ac_cv_search_clock_gettime
19438 if test "$ac_res" != no; then :
19439   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19440
19441 fi
19442
19443       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19444 $as_echo_n "checking for library containing nanosleep... " >&6; }
19445 if test "${ac_cv_search_nanosleep+set}" = set; then :
19446   $as_echo_n "(cached) " >&6
19447 else
19448   ac_func_search_save_LIBS=$LIBS
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h.  */
19451
19452 /* Override any GCC internal prototype to avoid an error.
19453    Use char because int might match the return type of a GCC
19454    builtin and then its argument prototype would still apply.  */
19455 #ifdef __cplusplus
19456 extern "C"
19457 #endif
19458 char nanosleep ();
19459 int
19460 main ()
19461 {
19462 return nanosleep ();
19463   ;
19464   return 0;
19465 }
19466 _ACEOF
19467 for ac_lib in '' rt posix4; do
19468   if test -z "$ac_lib"; then
19469     ac_res="none required"
19470   else
19471     ac_res=-l$ac_lib
19472     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19473   fi
19474   if test x$gcc_no_link = xyes; then
19475   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19476 fi
19477 if ac_fn_cxx_try_link "$LINENO"; then :
19478   ac_cv_search_nanosleep=$ac_res
19479 fi
19480 rm -f core conftest.err conftest.$ac_objext \
19481     conftest$ac_exeext
19482   if test "${ac_cv_search_nanosleep+set}" = set; then :
19483   break
19484 fi
19485 done
19486 if test "${ac_cv_search_nanosleep+set}" = set; then :
19487
19488 else
19489   ac_cv_search_nanosleep=no
19490 fi
19491 rm conftest.$ac_ext
19492 LIBS=$ac_func_search_save_LIBS
19493 fi
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19495 $as_echo "$ac_cv_search_nanosleep" >&6; }
19496 ac_res=$ac_cv_search_nanosleep
19497 if test "$ac_res" != no; then :
19498   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19499
19500 fi
19501
19502     else
19503       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19504 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19505 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19506   $as_echo_n "(cached) " >&6
19507 else
19508   ac_func_search_save_LIBS=$LIBS
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h.  */
19511
19512 /* Override any GCC internal prototype to avoid an error.
19513    Use char because int might match the return type of a GCC
19514    builtin and then its argument prototype would still apply.  */
19515 #ifdef __cplusplus
19516 extern "C"
19517 #endif
19518 char clock_gettime ();
19519 int
19520 main ()
19521 {
19522 return clock_gettime ();
19523   ;
19524   return 0;
19525 }
19526 _ACEOF
19527 for ac_lib in '' posix4; do
19528   if test -z "$ac_lib"; then
19529     ac_res="none required"
19530   else
19531     ac_res=-l$ac_lib
19532     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19533   fi
19534   if test x$gcc_no_link = xyes; then
19535   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19536 fi
19537 if ac_fn_cxx_try_link "$LINENO"; then :
19538   ac_cv_search_clock_gettime=$ac_res
19539 fi
19540 rm -f core conftest.err conftest.$ac_objext \
19541     conftest$ac_exeext
19542   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19543   break
19544 fi
19545 done
19546 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19547
19548 else
19549   ac_cv_search_clock_gettime=no
19550 fi
19551 rm conftest.$ac_ext
19552 LIBS=$ac_func_search_save_LIBS
19553 fi
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19555 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19556 ac_res=$ac_cv_search_clock_gettime
19557 if test "$ac_res" != no; then :
19558   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19559
19560 fi
19561
19562       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19563 $as_echo_n "checking for library containing nanosleep... " >&6; }
19564 if test "${ac_cv_search_nanosleep+set}" = set; then :
19565   $as_echo_n "(cached) " >&6
19566 else
19567   ac_func_search_save_LIBS=$LIBS
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h.  */
19570
19571 /* Override any GCC internal prototype to avoid an error.
19572    Use char because int might match the return type of a GCC
19573    builtin and then its argument prototype would still apply.  */
19574 #ifdef __cplusplus
19575 extern "C"
19576 #endif
19577 char nanosleep ();
19578 int
19579 main ()
19580 {
19581 return nanosleep ();
19582   ;
19583   return 0;
19584 }
19585 _ACEOF
19586 for ac_lib in '' posix4; do
19587   if test -z "$ac_lib"; then
19588     ac_res="none required"
19589   else
19590     ac_res=-l$ac_lib
19591     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19592   fi
19593   if test x$gcc_no_link = xyes; then
19594   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19595 fi
19596 if ac_fn_cxx_try_link "$LINENO"; then :
19597   ac_cv_search_nanosleep=$ac_res
19598 fi
19599 rm -f core conftest.err conftest.$ac_objext \
19600     conftest$ac_exeext
19601   if test "${ac_cv_search_nanosleep+set}" = set; then :
19602   break
19603 fi
19604 done
19605 if test "${ac_cv_search_nanosleep+set}" = set; then :
19606
19607 else
19608   ac_cv_search_nanosleep=no
19609 fi
19610 rm conftest.$ac_ext
19611 LIBS=$ac_func_search_save_LIBS
19612 fi
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19614 $as_echo "$ac_cv_search_nanosleep" >&6; }
19615 ac_res=$ac_cv_search_nanosleep
19616 if test "$ac_res" != no; then :
19617   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19618
19619 fi
19620
19621     fi
19622
19623     case "$ac_cv_search_clock_gettime" in
19624       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19625       ;;
19626     esac
19627     case "$ac_cv_search_nanosleep" in
19628       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19629       ;;
19630     esac
19631
19632     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19633 $as_echo_n "checking for library containing sched_yield... " >&6; }
19634 if test "${ac_cv_search_sched_yield+set}" = set; then :
19635   $as_echo_n "(cached) " >&6
19636 else
19637   ac_func_search_save_LIBS=$LIBS
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h.  */
19640
19641 /* Override any GCC internal prototype to avoid an error.
19642    Use char because int might match the return type of a GCC
19643    builtin and then its argument prototype would still apply.  */
19644 #ifdef __cplusplus
19645 extern "C"
19646 #endif
19647 char sched_yield ();
19648 int
19649 main ()
19650 {
19651 return sched_yield ();
19652   ;
19653   return 0;
19654 }
19655 _ACEOF
19656 for ac_lib in '' rt posix4; do
19657   if test -z "$ac_lib"; then
19658     ac_res="none required"
19659   else
19660     ac_res=-l$ac_lib
19661     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19662   fi
19663   if test x$gcc_no_link = xyes; then
19664   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19665 fi
19666 if ac_fn_cxx_try_link "$LINENO"; then :
19667   ac_cv_search_sched_yield=$ac_res
19668 fi
19669 rm -f core conftest.err conftest.$ac_objext \
19670     conftest$ac_exeext
19671   if test "${ac_cv_search_sched_yield+set}" = set; then :
19672   break
19673 fi
19674 done
19675 if test "${ac_cv_search_sched_yield+set}" = set; then :
19676
19677 else
19678   ac_cv_search_sched_yield=no
19679 fi
19680 rm conftest.$ac_ext
19681 LIBS=$ac_func_search_save_LIBS
19682 fi
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19684 $as_echo "$ac_cv_search_sched_yield" >&6; }
19685 ac_res=$ac_cv_search_sched_yield
19686 if test "$ac_res" != no; then :
19687   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19688
19689 fi
19690
19691
19692     case "$ac_cv_search_sched_yield" in
19693       -lposix4*)
19694       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19695
19696 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19697
19698       ;;
19699       -lrt*)
19700       if test x"$enable_libstdcxx_time" = x"rt"; then
19701         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19702
19703 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19704
19705       fi
19706       ;;
19707       *)
19708
19709 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19710
19711       ;;
19712     esac
19713
19714     for ac_header in unistd.h
19715 do :
19716   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19717 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19718   cat >>confdefs.h <<_ACEOF
19719 #define HAVE_UNISTD_H 1
19720 _ACEOF
19721  ac_has_unistd_h=yes
19722 else
19723   ac_has_unistd_h=no
19724 fi
19725
19726 done
19727
19728
19729     if test x"$ac_has_unistd_h" = x"yes"; then
19730       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19731 $as_echo_n "checking for monotonic clock... " >&6; }
19732       if test x$gcc_no_link = xyes; then
19733   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19734 fi
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h.  */
19737 #include <unistd.h>
19738          #include <time.h>
19739
19740 int
19741 main ()
19742 {
19743 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19744           timespec tp;
19745          #endif
19746           clock_gettime(CLOCK_MONOTONIC, &tp);
19747
19748   ;
19749   return 0;
19750 }
19751 _ACEOF
19752 if ac_fn_cxx_try_link "$LINENO"; then :
19753   ac_has_clock_monotonic=yes
19754 else
19755   ac_has_clock_monotonic=no
19756 fi
19757 rm -f core conftest.err conftest.$ac_objext \
19758     conftest$ac_exeext conftest.$ac_ext
19759
19760       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19761 $as_echo "$ac_has_clock_monotonic" >&6; }
19762
19763       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19764 $as_echo_n "checking for realtime clock... " >&6; }
19765       if test x$gcc_no_link = xyes; then
19766   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19767 fi
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h.  */
19770 #include <unistd.h>
19771          #include <time.h>
19772
19773 int
19774 main ()
19775 {
19776 #if _POSIX_TIMERS > 0
19777           timespec tp;
19778          #endif
19779           clock_gettime(CLOCK_REALTIME, &tp);
19780
19781   ;
19782   return 0;
19783 }
19784 _ACEOF
19785 if ac_fn_cxx_try_link "$LINENO"; then :
19786   ac_has_clock_realtime=yes
19787 else
19788   ac_has_clock_realtime=no
19789 fi
19790 rm -f core conftest.err conftest.$ac_objext \
19791     conftest$ac_exeext conftest.$ac_ext
19792
19793       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19794 $as_echo "$ac_has_clock_realtime" >&6; }
19795
19796       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19797 $as_echo_n "checking for nanosleep... " >&6; }
19798       if test x$gcc_no_link = xyes; then
19799   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19800 fi
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h.  */
19803 #include <unistd.h>
19804          #include <time.h>
19805
19806 int
19807 main ()
19808 {
19809 #if _POSIX_TIMERS > 0
19810           timespec tp;
19811          #endif
19812           nanosleep(&tp, 0);
19813
19814   ;
19815   return 0;
19816 }
19817 _ACEOF
19818 if ac_fn_cxx_try_link "$LINENO"; then :
19819   ac_has_nanosleep=yes
19820 else
19821   ac_has_nanosleep=no
19822 fi
19823 rm -f core conftest.err conftest.$ac_objext \
19824     conftest$ac_exeext conftest.$ac_ext
19825
19826       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19827 $as_echo "$ac_has_nanosleep" >&6; }
19828     fi
19829   fi
19830
19831   if test x"$ac_has_clock_monotonic" = x"yes"; then
19832
19833 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19834
19835   fi
19836
19837   if test x"$ac_has_clock_realtime" = x"yes"; then
19838
19839 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19840
19841   fi
19842
19843   if test x"$ac_has_nanosleep" = x"yes"; then
19844
19845 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19846
19847   else
19848       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19849 $as_echo_n "checking for sleep... " >&6; }
19850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h.  */
19852 #include <unistd.h>
19853 int
19854 main ()
19855 {
19856 sleep(1)
19857   ;
19858   return 0;
19859 }
19860 _ACEOF
19861 if ac_fn_cxx_try_compile "$LINENO"; then :
19862   ac_has_sleep=yes
19863 else
19864   ac_has_sleep=no
19865 fi
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867       if test x"$ac_has_sleep" = x"yes"; then
19868
19869 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19870
19871       fi
19872       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19873 $as_echo "$ac_has_sleep" >&6; }
19874       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19875 $as_echo_n "checking for usleep... " >&6; }
19876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h.  */
19878 #include <unistd.h>
19879 int
19880 main ()
19881 {
19882 sleep(1);
19883                       usleep(100);
19884   ;
19885   return 0;
19886 }
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889   ac_has_usleep=yes
19890 else
19891   ac_has_usleep=no
19892 fi
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894       if test x"$ac_has_usleep" = x"yes"; then
19895
19896 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19897
19898       fi
19899       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19900 $as_echo "$ac_has_usleep" >&6; }
19901   fi
19902
19903   if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
19904       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
19905 $as_echo_n "checking for Sleep... " >&6; }
19906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h.  */
19908 #include <windows.h>
19909 int
19910 main ()
19911 {
19912 Sleep(1)
19913   ;
19914   return 0;
19915 }
19916 _ACEOF
19917 if ac_fn_cxx_try_compile "$LINENO"; then :
19918   ac_has_win32_sleep=yes
19919 else
19920   ac_has_win32_sleep=no
19921 fi
19922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19923       if test x"$ac_has_win32_sleep" = x"yes"; then
19924
19925 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
19926
19927       fi
19928       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
19929 $as_echo "$ac_has_win32_sleep" >&6; }
19930   fi
19931
19932
19933
19934   CXXFLAGS="$ac_save_CXXFLAGS"
19935   LIBS="$ac_save_LIBS"
19936   ac_ext=c
19937 ac_cpp='$CPP $CPPFLAGS'
19938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19941
19942
19943
19944
19945   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19946 if test "x$ac_cv_header_locale_h" = x""yes; then :
19947
19948     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19949 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19950 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19951   $as_echo_n "(cached) " >&6
19952 else
19953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h.  */
19955 #include <locale.h>
19956 int
19957 main ()
19958 {
19959 return LC_MESSAGES
19960   ;
19961   return 0;
19962 }
19963 _ACEOF
19964 if ac_fn_c_try_compile "$LINENO"; then :
19965   ac_cv_val_LC_MESSAGES=yes
19966 else
19967   ac_cv_val_LC_MESSAGES=no
19968 fi
19969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19970 fi
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19972 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19973     if test $ac_cv_val_LC_MESSAGES = yes; then
19974
19975 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19976
19977     fi
19978
19979 fi
19980
19981
19982
19983
19984 # For hardware_concurrency
19985 for ac_header in sys/sysinfo.h
19986 do :
19987   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19988 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19989   cat >>confdefs.h <<_ACEOF
19990 #define HAVE_SYS_SYSINFO_H 1
19991 _ACEOF
19992
19993 fi
19994
19995 done
19996
19997
19998
19999
20000   ac_ext=cpp
20001 ac_cpp='$CXXCPP $CPPFLAGS'
20002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20005
20006   ac_save_CXXFLAGS="$CXXFLAGS"
20007   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20008
20009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20010 $as_echo_n "checking for get_nprocs... " >&6; }
20011   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20012   $as_echo_n "(cached) " >&6
20013 else
20014
20015     if test x$gcc_no_link = xyes; then
20016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20017 /* end confdefs.h.  */
20018 #include <sys/sysinfo.h>
20019 int
20020 main ()
20021 {
20022 int n = get_nprocs();
20023   ;
20024   return 0;
20025 }
20026 _ACEOF
20027 if ac_fn_cxx_try_compile "$LINENO"; then :
20028   glibcxx_cv_GET_NPROCS=yes
20029 else
20030   glibcxx_cv_GET_NPROCS=no
20031 fi
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20033 else
20034   if test x$gcc_no_link = xyes; then
20035   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20036 fi
20037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h.  */
20039 #include <sys/sysinfo.h>
20040 int
20041 main ()
20042 {
20043 int n = get_nprocs();
20044   ;
20045   return 0;
20046 }
20047 _ACEOF
20048 if ac_fn_cxx_try_link "$LINENO"; then :
20049   glibcxx_cv_GET_NPROCS=yes
20050 else
20051   glibcxx_cv_GET_NPROCS=no
20052 fi
20053 rm -f core conftest.err conftest.$ac_objext \
20054     conftest$ac_exeext conftest.$ac_ext
20055 fi
20056
20057 fi
20058
20059   if test $glibcxx_cv_GET_NPROCS = yes; then
20060
20061 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20062
20063   fi
20064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20065 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20066
20067   CXXFLAGS="$ac_save_CXXFLAGS"
20068   ac_ext=c
20069 ac_cpp='$CPP $CPPFLAGS'
20070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20073
20074
20075 for ac_header in unistd.h
20076 do :
20077   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20078 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20079   cat >>confdefs.h <<_ACEOF
20080 #define HAVE_UNISTD_H 1
20081 _ACEOF
20082
20083 fi
20084
20085 done
20086
20087
20088
20089
20090   ac_ext=cpp
20091 ac_cpp='$CXXCPP $CPPFLAGS'
20092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20095
20096   ac_save_CXXFLAGS="$CXXFLAGS"
20097   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20098
20099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20100 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20101   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20102   $as_echo_n "(cached) " >&6
20103 else
20104
20105     if test x$gcc_no_link = xyes; then
20106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20107 /* end confdefs.h.  */
20108 #include <unistd.h>
20109 int
20110 main ()
20111 {
20112 int n = sysconf(_SC_NPROCESSORS_ONLN);
20113   ;
20114   return 0;
20115 }
20116 _ACEOF
20117 if ac_fn_cxx_try_compile "$LINENO"; then :
20118   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20119 else
20120   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20121 fi
20122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20123 else
20124   if test x$gcc_no_link = xyes; then
20125   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20126 fi
20127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h.  */
20129 #include <unistd.h>
20130 int
20131 main ()
20132 {
20133 int n = sysconf(_SC_NPROCESSORS_ONLN);
20134   ;
20135   return 0;
20136 }
20137 _ACEOF
20138 if ac_fn_cxx_try_link "$LINENO"; then :
20139   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20140 else
20141   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20142 fi
20143 rm -f core conftest.err conftest.$ac_objext \
20144     conftest$ac_exeext conftest.$ac_ext
20145 fi
20146
20147 fi
20148
20149   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20150
20151 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20152
20153   fi
20154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20155 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20156
20157   CXXFLAGS="$ac_save_CXXFLAGS"
20158   ac_ext=c
20159 ac_cpp='$CPP $CPPFLAGS'
20160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20163
20164
20165
20166
20167
20168   ac_ext=cpp
20169 ac_cpp='$CXXCPP $CPPFLAGS'
20170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20173
20174   ac_save_CXXFLAGS="$CXXFLAGS"
20175   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20176
20177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20178 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20179   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20180   $as_echo_n "(cached) " >&6
20181 else
20182
20183     if test x$gcc_no_link = xyes; then
20184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20185 /* end confdefs.h.  */
20186 #include <unistd.h>
20187 int
20188 main ()
20189 {
20190 int n = sysconf(_SC_NPROC_ONLN);
20191   ;
20192   return 0;
20193 }
20194 _ACEOF
20195 if ac_fn_cxx_try_compile "$LINENO"; then :
20196   glibcxx_cv_SC_NPROC_ONLN=yes
20197 else
20198   glibcxx_cv_SC_NPROC_ONLN=no
20199 fi
20200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201 else
20202   if test x$gcc_no_link = xyes; then
20203   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20204 fi
20205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20206 /* end confdefs.h.  */
20207 #include <unistd.h>
20208 int
20209 main ()
20210 {
20211 int n = sysconf(_SC_NPROC_ONLN);
20212   ;
20213   return 0;
20214 }
20215 _ACEOF
20216 if ac_fn_cxx_try_link "$LINENO"; then :
20217   glibcxx_cv_SC_NPROC_ONLN=yes
20218 else
20219   glibcxx_cv_SC_NPROC_ONLN=no
20220 fi
20221 rm -f core conftest.err conftest.$ac_objext \
20222     conftest$ac_exeext conftest.$ac_ext
20223 fi
20224
20225 fi
20226
20227   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20228
20229 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20230
20231   fi
20232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20233 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20234
20235   CXXFLAGS="$ac_save_CXXFLAGS"
20236   ac_ext=c
20237 ac_cpp='$CPP $CPPFLAGS'
20238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20241
20242
20243
20244
20245
20246   ac_ext=cpp
20247 ac_cpp='$CXXCPP $CPPFLAGS'
20248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20251
20252   ac_save_CXXFLAGS="$CXXFLAGS"
20253   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20254
20255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20256 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20257   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20258   $as_echo_n "(cached) " >&6
20259 else
20260
20261     if test x$gcc_no_link = xyes; then
20262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h.  */
20264 #include <pthread.h>
20265 int
20266 main ()
20267 {
20268 int n = pthread_num_processors_np();
20269   ;
20270   return 0;
20271 }
20272 _ACEOF
20273 if ac_fn_cxx_try_compile "$LINENO"; then :
20274   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20275 else
20276   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20277 fi
20278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20279 else
20280   if test x$gcc_no_link = xyes; then
20281   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20282 fi
20283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20284 /* end confdefs.h.  */
20285 #include <pthread.h>
20286 int
20287 main ()
20288 {
20289 int n = pthread_num_processors_np();
20290   ;
20291   return 0;
20292 }
20293 _ACEOF
20294 if ac_fn_cxx_try_link "$LINENO"; then :
20295   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20296 else
20297   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20298 fi
20299 rm -f core conftest.err conftest.$ac_objext \
20300     conftest$ac_exeext conftest.$ac_ext
20301 fi
20302
20303 fi
20304
20305   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20306
20307 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20308
20309   fi
20310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20311 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20312
20313   CXXFLAGS="$ac_save_CXXFLAGS"
20314   ac_ext=c
20315 ac_cpp='$CPP $CPPFLAGS'
20316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20319
20320
20321
20322
20323
20324   ac_ext=cpp
20325 ac_cpp='$CXXCPP $CPPFLAGS'
20326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20329
20330   ac_save_CXXFLAGS="$CXXFLAGS"
20331   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20332
20333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20334 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20335   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20336   $as_echo_n "(cached) " >&6
20337 else
20338
20339     if test x$gcc_no_link = xyes; then
20340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20341 /* end confdefs.h.  */
20342
20343        #include <stddef.h>
20344        #include <sys/sysctl.h>
20345
20346 int
20347 main ()
20348 {
20349
20350        int count;
20351        size_t size = sizeof(count);
20352        int mib[] = { CTL_HW, HW_NCPU };
20353        sysctl(mib, 2, &count, &size, NULL, 0);
20354
20355   ;
20356   return 0;
20357 }
20358 _ACEOF
20359 if ac_fn_cxx_try_compile "$LINENO"; then :
20360   glibcxx_cv_SYSCTL_HW_NCPU=yes
20361 else
20362   glibcxx_cv_SYSCTL_HW_NCPU=no
20363 fi
20364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20365 else
20366   if test x$gcc_no_link = xyes; then
20367   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20368 fi
20369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20370 /* end confdefs.h.  */
20371
20372        #include <stddef.h>
20373        #include <sys/sysctl.h>
20374
20375 int
20376 main ()
20377 {
20378
20379        int count;
20380        size_t size = sizeof(count);
20381        int mib[] = { CTL_HW, HW_NCPU };
20382        sysctl(mib, 2, &count, &size, NULL, 0);
20383
20384   ;
20385   return 0;
20386 }
20387 _ACEOF
20388 if ac_fn_cxx_try_link "$LINENO"; then :
20389   glibcxx_cv_SYSCTL_HW_NCPU=yes
20390 else
20391   glibcxx_cv_SYSCTL_HW_NCPU=no
20392 fi
20393 rm -f core conftest.err conftest.$ac_objext \
20394     conftest$ac_exeext conftest.$ac_ext
20395 fi
20396
20397 fi
20398
20399   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20400
20401 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20402
20403   fi
20404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20405 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20406
20407   CXXFLAGS="$ac_save_CXXFLAGS"
20408   ac_ext=c
20409 ac_cpp='$CPP $CPPFLAGS'
20410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20413
20414
20415
20416 # Check for available headers.
20417 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20418 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20419 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20420 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20421 wchar.h wctype.h
20422 do :
20423   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20424 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20425 eval as_val=\$$as_ac_Header
20426    if test "x$as_val" = x""yes; then :
20427   cat >>confdefs.h <<_ACEOF
20428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20429 _ACEOF
20430
20431 fi
20432
20433 done
20434
20435
20436 # Only do link tests if native. Else, hardcode.
20437 if $GLIBCXX_IS_NATIVE; then
20438
20439   # We can do more elaborate tests that assume a working linker.
20440   CANADIAN=no
20441
20442
20443
20444 # Check whether --with-gnu-ld was given.
20445 if test "${with_gnu_ld+set}" = set; then :
20446   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20447 else
20448   with_gnu_ld=no
20449 fi
20450
20451 ac_prog=ld
20452 if test "$GCC" = yes; then
20453   # Check if gcc -print-prog-name=ld gives a path.
20454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20455 $as_echo_n "checking for ld used by $CC... " >&6; }
20456   case $host in
20457   *-*-mingw*)
20458     # gcc leaves a trailing carriage return which upsets mingw
20459     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20460   *)
20461     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20462   esac
20463   case $ac_prog in
20464     # Accept absolute paths.
20465     [\\/]* | ?:[\\/]*)
20466       re_direlt='/[^/][^/]*/\.\./'
20467       # Canonicalize the pathname of ld
20468       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20469       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20470         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20471       done
20472       test -z "$LD" && LD="$ac_prog"
20473       ;;
20474   "")
20475     # If it fails, then pretend we aren't using GCC.
20476     ac_prog=ld
20477     ;;
20478   *)
20479     # If it is relative, then search for the first ld in PATH.
20480     with_gnu_ld=unknown
20481     ;;
20482   esac
20483 elif test "$with_gnu_ld" = yes; then
20484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20485 $as_echo_n "checking for GNU ld... " >&6; }
20486 else
20487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20488 $as_echo_n "checking for non-GNU ld... " >&6; }
20489 fi
20490 if test "${lt_cv_path_LD+set}" = set; then :
20491   $as_echo_n "(cached) " >&6
20492 else
20493   if test -z "$LD"; then
20494   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20495   for ac_dir in $PATH; do
20496     IFS="$lt_save_ifs"
20497     test -z "$ac_dir" && ac_dir=.
20498     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20499       lt_cv_path_LD="$ac_dir/$ac_prog"
20500       # Check to see if the program is GNU ld.  I'd rather use --version,
20501       # but apparently some variants of GNU ld only accept -v.
20502       # Break only if it was the GNU/non-GNU ld that we prefer.
20503       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20504       *GNU* | *'with BFD'*)
20505         test "$with_gnu_ld" != no && break
20506         ;;
20507       *)
20508         test "$with_gnu_ld" != yes && break
20509         ;;
20510       esac
20511     fi
20512   done
20513   IFS="$lt_save_ifs"
20514 else
20515   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20516 fi
20517 fi
20518
20519 LD="$lt_cv_path_LD"
20520 if test -n "$LD"; then
20521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20522 $as_echo "$LD" >&6; }
20523 else
20524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20525 $as_echo "no" >&6; }
20526 fi
20527 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20529 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20530 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20531   $as_echo_n "(cached) " >&6
20532 else
20533   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20534 case `$LD -v 2>&1 </dev/null` in
20535 *GNU* | *'with BFD'*)
20536   lt_cv_prog_gnu_ld=yes
20537   ;;
20538 *)
20539   lt_cv_prog_gnu_ld=no
20540   ;;
20541 esac
20542 fi
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20544 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20545 with_gnu_ld=$lt_cv_prog_gnu_ld
20546
20547
20548
20549
20550
20551
20552
20553   # If we're not using GNU ld, then there's no point in even trying these
20554   # tests.  Check for that first.  We should have already tested for gld
20555   # by now (in libtool), but require it now just to be safe...
20556   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20557   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20558
20559
20560
20561   # The name set by libtool depends on the version of libtool.  Shame on us
20562   # for depending on an impl detail, but c'est la vie.  Older versions used
20563   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20564   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20565   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20566   # set (hence we're using an older libtool), then set it.
20567   if test x${with_gnu_ld+set} != xset; then
20568     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20569       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20570       with_gnu_ld=no
20571     else
20572       with_gnu_ld=$ac_cv_prog_gnu_ld
20573     fi
20574   fi
20575
20576   # Start by getting the version number.  I think the libtool test already
20577   # does some of this, but throws away the result.
20578   glibcxx_ld_is_gold=no
20579   if test x"$with_gnu_ld" = x"yes"; then
20580     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20581 $as_echo_n "checking for ld version... " >&6; }
20582
20583     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20584       glibcxx_ld_is_gold=yes
20585     fi
20586     ldver=`$LD --version 2>/dev/null |
20587            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'`
20588
20589     glibcxx_gnu_ld_version=`echo $ldver | \
20590            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20591     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20592 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20593   fi
20594
20595   # Set --gc-sections.
20596   glibcxx_have_gc_sections=no
20597   if test "$glibcxx_ld_is_gold" = "yes"; then
20598     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20599       glibcxx_have_gc_sections=yes
20600     fi
20601   else
20602     glibcxx_gcsections_min_ld=21602
20603     if test x"$with_gnu_ld" = x"yes" &&
20604         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20605       glibcxx_have_gc_sections=yes
20606     fi
20607   fi
20608   if test "$glibcxx_have_gc_sections" = "yes"; then
20609     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20610     # NB: This flag only works reliably after 2.16.1. Configure tests
20611     # for this are difficult, so hard wire a value that should work.
20612
20613     ac_test_CFLAGS="${CFLAGS+set}"
20614     ac_save_CFLAGS="$CFLAGS"
20615     CFLAGS='-Wl,--gc-sections'
20616
20617     # Check for -Wl,--gc-sections
20618     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20619 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20620     if test x$gcc_no_link = xyes; then
20621   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20622 fi
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h.  */
20625  int one(void) { return 1; }
20626      int two(void) { return 2; }
20627
20628 int
20629 main ()
20630 {
20631  two();
20632   ;
20633   return 0;
20634 }
20635 _ACEOF
20636 if ac_fn_c_try_link "$LINENO"; then :
20637   ac_gcsections=yes
20638 else
20639   ac_gcsections=no
20640 fi
20641 rm -f core conftest.err conftest.$ac_objext \
20642     conftest$ac_exeext conftest.$ac_ext
20643     if test "$ac_gcsections" = "yes"; then
20644       rm -f conftest.c
20645       touch conftest.c
20646       if $CC -c conftest.c; then
20647         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20648            grep "Warning: gc-sections option ignored" > /dev/null; then
20649           ac_gcsections=no
20650         fi
20651       fi
20652       rm -f conftest.c conftest.o conftest
20653     fi
20654     if test "$ac_gcsections" = "yes"; then
20655       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20656     fi
20657     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20658 $as_echo "$ac_gcsections" >&6; }
20659
20660     if test "$ac_test_CFLAGS" = set; then
20661       CFLAGS="$ac_save_CFLAGS"
20662     else
20663       # this is the suspicious part
20664       CFLAGS=''
20665     fi
20666   fi
20667
20668   # Set -z,relro.
20669   # Note this is only for shared objects.
20670   ac_ld_relro=no
20671   if test x"$with_gnu_ld" = x"yes"; then
20672     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20673 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20674     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20675     if test -n "$cxx_z_relo"; then
20676       OPT_LDFLAGS="-Wl,-z,relro"
20677       ac_ld_relro=yes
20678     fi
20679     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20680 $as_echo "$ac_ld_relro" >&6; }
20681   fi
20682
20683   # Set linker optimization flags.
20684   if test x"$with_gnu_ld" = x"yes"; then
20685     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20686   fi
20687
20688
20689
20690
20691
20692   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20693   ac_save_CXXFLAGS="$CXXFLAGS"
20694   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20695
20696     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20697 $as_echo_n "checking for sin in -lm... " >&6; }
20698 if test "${ac_cv_lib_m_sin+set}" = set; then :
20699   $as_echo_n "(cached) " >&6
20700 else
20701   ac_check_lib_save_LIBS=$LIBS
20702 LIBS="-lm  $LIBS"
20703 if test x$gcc_no_link = xyes; then
20704   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20705 fi
20706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20707 /* end confdefs.h.  */
20708
20709 /* Override any GCC internal prototype to avoid an error.
20710    Use char because int might match the return type of a GCC
20711    builtin and then its argument prototype would still apply.  */
20712 #ifdef __cplusplus
20713 extern "C"
20714 #endif
20715 char sin ();
20716 int
20717 main ()
20718 {
20719 return sin ();
20720   ;
20721   return 0;
20722 }
20723 _ACEOF
20724 if ac_fn_c_try_link "$LINENO"; then :
20725   ac_cv_lib_m_sin=yes
20726 else
20727   ac_cv_lib_m_sin=no
20728 fi
20729 rm -f core conftest.err conftest.$ac_objext \
20730     conftest$ac_exeext conftest.$ac_ext
20731 LIBS=$ac_check_lib_save_LIBS
20732 fi
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20734 $as_echo "$ac_cv_lib_m_sin" >&6; }
20735 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20736   libm="-lm"
20737 fi
20738
20739   ac_save_LIBS="$LIBS"
20740   LIBS="$LIBS $libm"
20741
20742
20743
20744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20745 $as_echo_n "checking for isinf declaration... " >&6; }
20746   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20747     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20748   $as_echo_n "(cached) " >&6
20749 else
20750
20751
20752       ac_ext=cpp
20753 ac_cpp='$CXXCPP $CPPFLAGS'
20754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20757
20758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h.  */
20760 #include <math.h>
20761                       #ifdef HAVE_IEEEFP_H
20762                       #include <ieeefp.h>
20763                       #endif
20764
20765 int
20766 main ()
20767 {
20768  isinf(0);
20769   ;
20770   return 0;
20771 }
20772 _ACEOF
20773 if ac_fn_cxx_try_compile "$LINENO"; then :
20774   glibcxx_cv_func_isinf_use=yes
20775 else
20776   glibcxx_cv_func_isinf_use=no
20777 fi
20778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779       ac_ext=c
20780 ac_cpp='$CPP $CPPFLAGS'
20781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20784
20785
20786 fi
20787
20788   fi
20789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20790 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20791
20792   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20793     for ac_func in isinf
20794 do :
20795   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20796 if test "x$ac_cv_func_isinf" = x""yes; then :
20797   cat >>confdefs.h <<_ACEOF
20798 #define HAVE_ISINF 1
20799 _ACEOF
20800
20801 fi
20802 done
20803
20804   else
20805
20806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20807 $as_echo_n "checking for _isinf declaration... " >&6; }
20808   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20809     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20810   $as_echo_n "(cached) " >&6
20811 else
20812
20813
20814       ac_ext=cpp
20815 ac_cpp='$CXXCPP $CPPFLAGS'
20816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20819
20820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20821 /* end confdefs.h.  */
20822 #include <math.h>
20823                       #ifdef HAVE_IEEEFP_H
20824                       #include <ieeefp.h>
20825                       #endif
20826
20827 int
20828 main ()
20829 {
20830  _isinf(0);
20831   ;
20832   return 0;
20833 }
20834 _ACEOF
20835 if ac_fn_cxx_try_compile "$LINENO"; then :
20836   glibcxx_cv_func__isinf_use=yes
20837 else
20838   glibcxx_cv_func__isinf_use=no
20839 fi
20840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20841       ac_ext=c
20842 ac_cpp='$CPP $CPPFLAGS'
20843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20846
20847
20848 fi
20849
20850   fi
20851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20852 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20853
20854     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20855       for ac_func in _isinf
20856 do :
20857   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20858 if test "x$ac_cv_func__isinf" = x""yes; then :
20859   cat >>confdefs.h <<_ACEOF
20860 #define HAVE__ISINF 1
20861 _ACEOF
20862
20863 fi
20864 done
20865
20866     fi
20867   fi
20868
20869
20870
20871
20872
20873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20874 $as_echo_n "checking for isnan declaration... " >&6; }
20875   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20876     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20877   $as_echo_n "(cached) " >&6
20878 else
20879
20880
20881       ac_ext=cpp
20882 ac_cpp='$CXXCPP $CPPFLAGS'
20883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20886
20887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h.  */
20889 #include <math.h>
20890                       #ifdef HAVE_IEEEFP_H
20891                       #include <ieeefp.h>
20892                       #endif
20893
20894 int
20895 main ()
20896 {
20897  isnan(0);
20898   ;
20899   return 0;
20900 }
20901 _ACEOF
20902 if ac_fn_cxx_try_compile "$LINENO"; then :
20903   glibcxx_cv_func_isnan_use=yes
20904 else
20905   glibcxx_cv_func_isnan_use=no
20906 fi
20907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20908       ac_ext=c
20909 ac_cpp='$CPP $CPPFLAGS'
20910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20913
20914
20915 fi
20916
20917   fi
20918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20919 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20920
20921   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20922     for ac_func in isnan
20923 do :
20924   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20925 if test "x$ac_cv_func_isnan" = x""yes; then :
20926   cat >>confdefs.h <<_ACEOF
20927 #define HAVE_ISNAN 1
20928 _ACEOF
20929
20930 fi
20931 done
20932
20933   else
20934
20935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20936 $as_echo_n "checking for _isnan declaration... " >&6; }
20937   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20938     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20939   $as_echo_n "(cached) " >&6
20940 else
20941
20942
20943       ac_ext=cpp
20944 ac_cpp='$CXXCPP $CPPFLAGS'
20945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20948
20949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20950 /* end confdefs.h.  */
20951 #include <math.h>
20952                       #ifdef HAVE_IEEEFP_H
20953                       #include <ieeefp.h>
20954                       #endif
20955
20956 int
20957 main ()
20958 {
20959  _isnan(0);
20960   ;
20961   return 0;
20962 }
20963 _ACEOF
20964 if ac_fn_cxx_try_compile "$LINENO"; then :
20965   glibcxx_cv_func__isnan_use=yes
20966 else
20967   glibcxx_cv_func__isnan_use=no
20968 fi
20969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20970       ac_ext=c
20971 ac_cpp='$CPP $CPPFLAGS'
20972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20975
20976
20977 fi
20978
20979   fi
20980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20981 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20982
20983     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20984       for ac_func in _isnan
20985 do :
20986   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20987 if test "x$ac_cv_func__isnan" = x""yes; then :
20988   cat >>confdefs.h <<_ACEOF
20989 #define HAVE__ISNAN 1
20990 _ACEOF
20991
20992 fi
20993 done
20994
20995     fi
20996   fi
20997
20998
20999
21000
21001
21002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21003 $as_echo_n "checking for finite declaration... " >&6; }
21004   if test x${glibcxx_cv_func_finite_use+set} != xset; then
21005     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21006   $as_echo_n "(cached) " >&6
21007 else
21008
21009
21010       ac_ext=cpp
21011 ac_cpp='$CXXCPP $CPPFLAGS'
21012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21015
21016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h.  */
21018 #include <math.h>
21019                       #ifdef HAVE_IEEEFP_H
21020                       #include <ieeefp.h>
21021                       #endif
21022
21023 int
21024 main ()
21025 {
21026  finite(0);
21027   ;
21028   return 0;
21029 }
21030 _ACEOF
21031 if ac_fn_cxx_try_compile "$LINENO"; then :
21032   glibcxx_cv_func_finite_use=yes
21033 else
21034   glibcxx_cv_func_finite_use=no
21035 fi
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037       ac_ext=c
21038 ac_cpp='$CPP $CPPFLAGS'
21039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21042
21043
21044 fi
21045
21046   fi
21047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21048 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21049
21050   if test x$glibcxx_cv_func_finite_use = x"yes"; then
21051     for ac_func in finite
21052 do :
21053   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21054 if test "x$ac_cv_func_finite" = x""yes; then :
21055   cat >>confdefs.h <<_ACEOF
21056 #define HAVE_FINITE 1
21057 _ACEOF
21058
21059 fi
21060 done
21061
21062   else
21063
21064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21065 $as_echo_n "checking for _finite declaration... " >&6; }
21066   if test x${glibcxx_cv_func__finite_use+set} != xset; then
21067     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21068   $as_echo_n "(cached) " >&6
21069 else
21070
21071
21072       ac_ext=cpp
21073 ac_cpp='$CXXCPP $CPPFLAGS'
21074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21077
21078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21079 /* end confdefs.h.  */
21080 #include <math.h>
21081                       #ifdef HAVE_IEEEFP_H
21082                       #include <ieeefp.h>
21083                       #endif
21084
21085 int
21086 main ()
21087 {
21088  _finite(0);
21089   ;
21090   return 0;
21091 }
21092 _ACEOF
21093 if ac_fn_cxx_try_compile "$LINENO"; then :
21094   glibcxx_cv_func__finite_use=yes
21095 else
21096   glibcxx_cv_func__finite_use=no
21097 fi
21098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099       ac_ext=c
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21104
21105
21106 fi
21107
21108   fi
21109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21110 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21111
21112     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21113       for ac_func in _finite
21114 do :
21115   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21116 if test "x$ac_cv_func__finite" = x""yes; then :
21117   cat >>confdefs.h <<_ACEOF
21118 #define HAVE__FINITE 1
21119 _ACEOF
21120
21121 fi
21122 done
21123
21124     fi
21125   fi
21126
21127
21128
21129
21130
21131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21132 $as_echo_n "checking for sincos declaration... " >&6; }
21133   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21134     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21135   $as_echo_n "(cached) " >&6
21136 else
21137
21138
21139       ac_ext=cpp
21140 ac_cpp='$CXXCPP $CPPFLAGS'
21141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21144
21145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21146 /* end confdefs.h.  */
21147 #include <math.h>
21148 int
21149 main ()
21150 {
21151  sincos(0, 0, 0);
21152   ;
21153   return 0;
21154 }
21155 _ACEOF
21156 if ac_fn_cxx_try_compile "$LINENO"; then :
21157   glibcxx_cv_func_sincos_use=yes
21158 else
21159   glibcxx_cv_func_sincos_use=no
21160 fi
21161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21162       ac_ext=c
21163 ac_cpp='$CPP $CPPFLAGS'
21164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21167
21168
21169 fi
21170
21171   fi
21172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21173 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21174
21175   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21176     for ac_func in sincos
21177 do :
21178   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21179 if test "x$ac_cv_func_sincos" = x""yes; then :
21180   cat >>confdefs.h <<_ACEOF
21181 #define HAVE_SINCOS 1
21182 _ACEOF
21183
21184 fi
21185 done
21186
21187   else
21188
21189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21190 $as_echo_n "checking for _sincos declaration... " >&6; }
21191   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21192     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21193   $as_echo_n "(cached) " >&6
21194 else
21195
21196
21197       ac_ext=cpp
21198 ac_cpp='$CXXCPP $CPPFLAGS'
21199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21202
21203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21204 /* end confdefs.h.  */
21205 #include <math.h>
21206 int
21207 main ()
21208 {
21209  _sincos(0, 0, 0);
21210   ;
21211   return 0;
21212 }
21213 _ACEOF
21214 if ac_fn_cxx_try_compile "$LINENO"; then :
21215   glibcxx_cv_func__sincos_use=yes
21216 else
21217   glibcxx_cv_func__sincos_use=no
21218 fi
21219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21220       ac_ext=c
21221 ac_cpp='$CPP $CPPFLAGS'
21222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21225
21226
21227 fi
21228
21229   fi
21230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21231 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21232
21233     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21234       for ac_func in _sincos
21235 do :
21236   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21237 if test "x$ac_cv_func__sincos" = x""yes; then :
21238   cat >>confdefs.h <<_ACEOF
21239 #define HAVE__SINCOS 1
21240 _ACEOF
21241
21242 fi
21243 done
21244
21245     fi
21246   fi
21247
21248
21249
21250
21251
21252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21253 $as_echo_n "checking for fpclass declaration... " >&6; }
21254   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21255     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21256   $as_echo_n "(cached) " >&6
21257 else
21258
21259
21260       ac_ext=cpp
21261 ac_cpp='$CXXCPP $CPPFLAGS'
21262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21265
21266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21267 /* end confdefs.h.  */
21268 #include <math.h>
21269                       #ifdef HAVE_IEEEFP_H
21270                       #include <ieeefp.h>
21271                       #endif
21272
21273 int
21274 main ()
21275 {
21276  fpclass(0);
21277   ;
21278   return 0;
21279 }
21280 _ACEOF
21281 if ac_fn_cxx_try_compile "$LINENO"; then :
21282   glibcxx_cv_func_fpclass_use=yes
21283 else
21284   glibcxx_cv_func_fpclass_use=no
21285 fi
21286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21287       ac_ext=c
21288 ac_cpp='$CPP $CPPFLAGS'
21289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21292
21293
21294 fi
21295
21296   fi
21297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21298 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21299
21300   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21301     for ac_func in fpclass
21302 do :
21303   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21304 if test "x$ac_cv_func_fpclass" = x""yes; then :
21305   cat >>confdefs.h <<_ACEOF
21306 #define HAVE_FPCLASS 1
21307 _ACEOF
21308
21309 fi
21310 done
21311
21312   else
21313
21314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21315 $as_echo_n "checking for _fpclass declaration... " >&6; }
21316   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21317     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21318   $as_echo_n "(cached) " >&6
21319 else
21320
21321
21322       ac_ext=cpp
21323 ac_cpp='$CXXCPP $CPPFLAGS'
21324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21327
21328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21329 /* end confdefs.h.  */
21330 #include <math.h>
21331                       #ifdef HAVE_IEEEFP_H
21332                       #include <ieeefp.h>
21333                       #endif
21334
21335 int
21336 main ()
21337 {
21338  _fpclass(0);
21339   ;
21340   return 0;
21341 }
21342 _ACEOF
21343 if ac_fn_cxx_try_compile "$LINENO"; then :
21344   glibcxx_cv_func__fpclass_use=yes
21345 else
21346   glibcxx_cv_func__fpclass_use=no
21347 fi
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21349       ac_ext=c
21350 ac_cpp='$CPP $CPPFLAGS'
21351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21354
21355
21356 fi
21357
21358   fi
21359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21360 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21361
21362     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21363       for ac_func in _fpclass
21364 do :
21365   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21366 if test "x$ac_cv_func__fpclass" = x""yes; then :
21367   cat >>confdefs.h <<_ACEOF
21368 #define HAVE__FPCLASS 1
21369 _ACEOF
21370
21371 fi
21372 done
21373
21374     fi
21375   fi
21376
21377
21378
21379
21380
21381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21382 $as_echo_n "checking for qfpclass declaration... " >&6; }
21383   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21384     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21385   $as_echo_n "(cached) " >&6
21386 else
21387
21388
21389       ac_ext=cpp
21390 ac_cpp='$CXXCPP $CPPFLAGS'
21391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21394
21395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21396 /* end confdefs.h.  */
21397 #include <math.h>
21398                       #ifdef HAVE_IEEEFP_H
21399                       #include <ieeefp.h>
21400                       #endif
21401
21402 int
21403 main ()
21404 {
21405  qfpclass(0);
21406   ;
21407   return 0;
21408 }
21409 _ACEOF
21410 if ac_fn_cxx_try_compile "$LINENO"; then :
21411   glibcxx_cv_func_qfpclass_use=yes
21412 else
21413   glibcxx_cv_func_qfpclass_use=no
21414 fi
21415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21416       ac_ext=c
21417 ac_cpp='$CPP $CPPFLAGS'
21418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21421
21422
21423 fi
21424
21425   fi
21426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21427 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21428
21429   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21430     for ac_func in qfpclass
21431 do :
21432   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21433 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21434   cat >>confdefs.h <<_ACEOF
21435 #define HAVE_QFPCLASS 1
21436 _ACEOF
21437
21438 fi
21439 done
21440
21441   else
21442
21443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21444 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21445   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21446     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21447   $as_echo_n "(cached) " >&6
21448 else
21449
21450
21451       ac_ext=cpp
21452 ac_cpp='$CXXCPP $CPPFLAGS'
21453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21456
21457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21458 /* end confdefs.h.  */
21459 #include <math.h>
21460                       #ifdef HAVE_IEEEFP_H
21461                       #include <ieeefp.h>
21462                       #endif
21463
21464 int
21465 main ()
21466 {
21467  _qfpclass(0);
21468   ;
21469   return 0;
21470 }
21471 _ACEOF
21472 if ac_fn_cxx_try_compile "$LINENO"; then :
21473   glibcxx_cv_func__qfpclass_use=yes
21474 else
21475   glibcxx_cv_func__qfpclass_use=no
21476 fi
21477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21478       ac_ext=c
21479 ac_cpp='$CPP $CPPFLAGS'
21480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21483
21484
21485 fi
21486
21487   fi
21488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21489 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21490
21491     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21492       for ac_func in _qfpclass
21493 do :
21494   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21495 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21496   cat >>confdefs.h <<_ACEOF
21497 #define HAVE__QFPCLASS 1
21498 _ACEOF
21499
21500 fi
21501 done
21502
21503     fi
21504   fi
21505
21506
21507
21508
21509
21510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21511 $as_echo_n "checking for hypot declaration... " >&6; }
21512   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21513     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21514   $as_echo_n "(cached) " >&6
21515 else
21516
21517
21518       ac_ext=cpp
21519 ac_cpp='$CXXCPP $CPPFLAGS'
21520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21523
21524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21525 /* end confdefs.h.  */
21526 #include <math.h>
21527 int
21528 main ()
21529 {
21530  hypot(0, 0);
21531   ;
21532   return 0;
21533 }
21534 _ACEOF
21535 if ac_fn_cxx_try_compile "$LINENO"; then :
21536   glibcxx_cv_func_hypot_use=yes
21537 else
21538   glibcxx_cv_func_hypot_use=no
21539 fi
21540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21541       ac_ext=c
21542 ac_cpp='$CPP $CPPFLAGS'
21543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21546
21547
21548 fi
21549
21550   fi
21551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21552 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21553
21554   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21555     for ac_func in hypot
21556 do :
21557   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21558 if test "x$ac_cv_func_hypot" = x""yes; then :
21559   cat >>confdefs.h <<_ACEOF
21560 #define HAVE_HYPOT 1
21561 _ACEOF
21562
21563 fi
21564 done
21565
21566   else
21567
21568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21569 $as_echo_n "checking for _hypot declaration... " >&6; }
21570   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21571     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21572   $as_echo_n "(cached) " >&6
21573 else
21574
21575
21576       ac_ext=cpp
21577 ac_cpp='$CXXCPP $CPPFLAGS'
21578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21581
21582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21583 /* end confdefs.h.  */
21584 #include <math.h>
21585 int
21586 main ()
21587 {
21588  _hypot(0, 0);
21589   ;
21590   return 0;
21591 }
21592 _ACEOF
21593 if ac_fn_cxx_try_compile "$LINENO"; then :
21594   glibcxx_cv_func__hypot_use=yes
21595 else
21596   glibcxx_cv_func__hypot_use=no
21597 fi
21598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21599       ac_ext=c
21600 ac_cpp='$CPP $CPPFLAGS'
21601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21604
21605
21606 fi
21607
21608   fi
21609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21610 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21611
21612     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21613       for ac_func in _hypot
21614 do :
21615   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21616 if test "x$ac_cv_func__hypot" = x""yes; then :
21617   cat >>confdefs.h <<_ACEOF
21618 #define HAVE__HYPOT 1
21619 _ACEOF
21620
21621 fi
21622 done
21623
21624     fi
21625   fi
21626
21627
21628
21629
21630
21631     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21632 $as_echo_n "checking for float trig functions... " >&6; }
21633   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21634   $as_echo_n "(cached) " >&6
21635 else
21636
21637
21638     ac_ext=cpp
21639 ac_cpp='$CXXCPP $CPPFLAGS'
21640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21643
21644     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h.  */
21646 #include <math.h>
21647 int
21648 main ()
21649 {
21650 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21651   ;
21652   return 0;
21653 }
21654 _ACEOF
21655 if ac_fn_cxx_try_compile "$LINENO"; then :
21656   glibcxx_cv_func_float_trig_use=yes
21657 else
21658   glibcxx_cv_func_float_trig_use=no
21659 fi
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661     ac_ext=c
21662 ac_cpp='$CPP $CPPFLAGS'
21663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21666
21667 fi
21668
21669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21670 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21671   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21672     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21673 do :
21674   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21675 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21676 eval as_val=\$$as_ac_var
21677    if test "x$as_val" = x""yes; then :
21678   cat >>confdefs.h <<_ACEOF
21679 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21680 _ACEOF
21681
21682 fi
21683 done
21684
21685   else
21686     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21687 $as_echo_n "checking for _float trig functions... " >&6; }
21688     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21689   $as_echo_n "(cached) " >&6
21690 else
21691
21692
21693       ac_ext=cpp
21694 ac_cpp='$CXXCPP $CPPFLAGS'
21695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21698
21699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21700 /* end confdefs.h.  */
21701 #include <math.h>
21702 int
21703 main ()
21704 {
21705 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21706   ;
21707   return 0;
21708 }
21709 _ACEOF
21710 if ac_fn_cxx_try_compile "$LINENO"; then :
21711   glibcxx_cv_func__float_trig_use=yes
21712 else
21713   glibcxx_cv_func__float_trig_use=no
21714 fi
21715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21716       ac_ext=c
21717 ac_cpp='$CPP $CPPFLAGS'
21718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21721
21722 fi
21723
21724     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21725 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21726     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21727       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21728 do :
21729   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21731 eval as_val=\$$as_ac_var
21732    if test "x$as_val" = x""yes; then :
21733   cat >>confdefs.h <<_ACEOF
21734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21735 _ACEOF
21736
21737 fi
21738 done
21739
21740     fi
21741   fi
21742
21743
21744
21745
21746
21747     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21748 $as_echo_n "checking for float round functions... " >&6; }
21749   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21750   $as_echo_n "(cached) " >&6
21751 else
21752
21753
21754     ac_ext=cpp
21755 ac_cpp='$CXXCPP $CPPFLAGS'
21756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21759
21760     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21761 /* end confdefs.h.  */
21762 #include <math.h>
21763 int
21764 main ()
21765 {
21766 ceilf (0); floorf (0);
21767   ;
21768   return 0;
21769 }
21770 _ACEOF
21771 if ac_fn_cxx_try_compile "$LINENO"; then :
21772   glibcxx_cv_func_float_round_use=yes
21773 else
21774   glibcxx_cv_func_float_round_use=no
21775 fi
21776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21777     ac_ext=c
21778 ac_cpp='$CPP $CPPFLAGS'
21779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21782
21783 fi
21784
21785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21786 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21787   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21788     for ac_func in ceilf floorf
21789 do :
21790   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21792 eval as_val=\$$as_ac_var
21793    if test "x$as_val" = x""yes; then :
21794   cat >>confdefs.h <<_ACEOF
21795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21796 _ACEOF
21797
21798 fi
21799 done
21800
21801   else
21802     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21803 $as_echo_n "checking for _float round functions... " >&6; }
21804     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21805   $as_echo_n "(cached) " >&6
21806 else
21807
21808
21809       ac_ext=cpp
21810 ac_cpp='$CXXCPP $CPPFLAGS'
21811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21814
21815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21816 /* end confdefs.h.  */
21817 #include <math.h>
21818 int
21819 main ()
21820 {
21821 _ceilf (0); _floorf (0);
21822   ;
21823   return 0;
21824 }
21825 _ACEOF
21826 if ac_fn_cxx_try_compile "$LINENO"; then :
21827   glibcxx_cv_func__float_round_use=yes
21828 else
21829   glibcxx_cv_func__float_round_use=no
21830 fi
21831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21832       ac_ext=c
21833 ac_cpp='$CPP $CPPFLAGS'
21834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21837
21838 fi
21839
21840     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21841 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21842     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21843       for ac_func in _ceilf _floorf
21844 do :
21845   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21847 eval as_val=\$$as_ac_var
21848    if test "x$as_val" = x""yes; then :
21849   cat >>confdefs.h <<_ACEOF
21850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21851 _ACEOF
21852
21853 fi
21854 done
21855
21856     fi
21857   fi
21858
21859
21860
21861
21862
21863
21864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21865 $as_echo_n "checking for expf declaration... " >&6; }
21866   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21867     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21868   $as_echo_n "(cached) " >&6
21869 else
21870
21871
21872       ac_ext=cpp
21873 ac_cpp='$CXXCPP $CPPFLAGS'
21874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21877
21878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21879 /* end confdefs.h.  */
21880 #include <math.h>
21881                       #ifdef HAVE_IEEEFP_H
21882                       #include <ieeefp.h>
21883                       #endif
21884
21885 int
21886 main ()
21887 {
21888  expf(0);
21889   ;
21890   return 0;
21891 }
21892 _ACEOF
21893 if ac_fn_cxx_try_compile "$LINENO"; then :
21894   glibcxx_cv_func_expf_use=yes
21895 else
21896   glibcxx_cv_func_expf_use=no
21897 fi
21898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21899       ac_ext=c
21900 ac_cpp='$CPP $CPPFLAGS'
21901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21904
21905
21906 fi
21907
21908   fi
21909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21910 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21911
21912   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21913     for ac_func in expf
21914 do :
21915   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21916 if test "x$ac_cv_func_expf" = x""yes; then :
21917   cat >>confdefs.h <<_ACEOF
21918 #define HAVE_EXPF 1
21919 _ACEOF
21920
21921 fi
21922 done
21923
21924   else
21925
21926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21927 $as_echo_n "checking for _expf declaration... " >&6; }
21928   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21929     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21930   $as_echo_n "(cached) " >&6
21931 else
21932
21933
21934       ac_ext=cpp
21935 ac_cpp='$CXXCPP $CPPFLAGS'
21936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21939
21940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21941 /* end confdefs.h.  */
21942 #include <math.h>
21943                       #ifdef HAVE_IEEEFP_H
21944                       #include <ieeefp.h>
21945                       #endif
21946
21947 int
21948 main ()
21949 {
21950  _expf(0);
21951   ;
21952   return 0;
21953 }
21954 _ACEOF
21955 if ac_fn_cxx_try_compile "$LINENO"; then :
21956   glibcxx_cv_func__expf_use=yes
21957 else
21958   glibcxx_cv_func__expf_use=no
21959 fi
21960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21961       ac_ext=c
21962 ac_cpp='$CPP $CPPFLAGS'
21963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21966
21967
21968 fi
21969
21970   fi
21971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21972 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21973
21974     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21975       for ac_func in _expf
21976 do :
21977   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21978 if test "x$ac_cv_func__expf" = x""yes; then :
21979   cat >>confdefs.h <<_ACEOF
21980 #define HAVE__EXPF 1
21981 _ACEOF
21982
21983 fi
21984 done
21985
21986     fi
21987   fi
21988
21989
21990
21991
21992
21993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21994 $as_echo_n "checking for isnanf declaration... " >&6; }
21995   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21996     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21997   $as_echo_n "(cached) " >&6
21998 else
21999
22000
22001       ac_ext=cpp
22002 ac_cpp='$CXXCPP $CPPFLAGS'
22003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22006
22007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h.  */
22009 #include <math.h>
22010                       #ifdef HAVE_IEEEFP_H
22011                       #include <ieeefp.h>
22012                       #endif
22013
22014 int
22015 main ()
22016 {
22017  isnanf(0);
22018   ;
22019   return 0;
22020 }
22021 _ACEOF
22022 if ac_fn_cxx_try_compile "$LINENO"; then :
22023   glibcxx_cv_func_isnanf_use=yes
22024 else
22025   glibcxx_cv_func_isnanf_use=no
22026 fi
22027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22028       ac_ext=c
22029 ac_cpp='$CPP $CPPFLAGS'
22030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22033
22034
22035 fi
22036
22037   fi
22038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22039 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22040
22041   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22042     for ac_func in isnanf
22043 do :
22044   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22045 if test "x$ac_cv_func_isnanf" = x""yes; then :
22046   cat >>confdefs.h <<_ACEOF
22047 #define HAVE_ISNANF 1
22048 _ACEOF
22049
22050 fi
22051 done
22052
22053   else
22054
22055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22056 $as_echo_n "checking for _isnanf declaration... " >&6; }
22057   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22058     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22059   $as_echo_n "(cached) " >&6
22060 else
22061
22062
22063       ac_ext=cpp
22064 ac_cpp='$CXXCPP $CPPFLAGS'
22065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22068
22069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22070 /* end confdefs.h.  */
22071 #include <math.h>
22072                       #ifdef HAVE_IEEEFP_H
22073                       #include <ieeefp.h>
22074                       #endif
22075
22076 int
22077 main ()
22078 {
22079  _isnanf(0);
22080   ;
22081   return 0;
22082 }
22083 _ACEOF
22084 if ac_fn_cxx_try_compile "$LINENO"; then :
22085   glibcxx_cv_func__isnanf_use=yes
22086 else
22087   glibcxx_cv_func__isnanf_use=no
22088 fi
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22090       ac_ext=c
22091 ac_cpp='$CPP $CPPFLAGS'
22092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22095
22096
22097 fi
22098
22099   fi
22100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22101 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22102
22103     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22104       for ac_func in _isnanf
22105 do :
22106   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22107 if test "x$ac_cv_func__isnanf" = x""yes; then :
22108   cat >>confdefs.h <<_ACEOF
22109 #define HAVE__ISNANF 1
22110 _ACEOF
22111
22112 fi
22113 done
22114
22115     fi
22116   fi
22117
22118
22119
22120
22121
22122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22123 $as_echo_n "checking for isinff declaration... " >&6; }
22124   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22125     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22126   $as_echo_n "(cached) " >&6
22127 else
22128
22129
22130       ac_ext=cpp
22131 ac_cpp='$CXXCPP $CPPFLAGS'
22132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22135
22136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22137 /* end confdefs.h.  */
22138 #include <math.h>
22139                       #ifdef HAVE_IEEEFP_H
22140                       #include <ieeefp.h>
22141                       #endif
22142
22143 int
22144 main ()
22145 {
22146  isinff(0);
22147   ;
22148   return 0;
22149 }
22150 _ACEOF
22151 if ac_fn_cxx_try_compile "$LINENO"; then :
22152   glibcxx_cv_func_isinff_use=yes
22153 else
22154   glibcxx_cv_func_isinff_use=no
22155 fi
22156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22157       ac_ext=c
22158 ac_cpp='$CPP $CPPFLAGS'
22159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22162
22163
22164 fi
22165
22166   fi
22167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22168 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22169
22170   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22171     for ac_func in isinff
22172 do :
22173   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22174 if test "x$ac_cv_func_isinff" = x""yes; then :
22175   cat >>confdefs.h <<_ACEOF
22176 #define HAVE_ISINFF 1
22177 _ACEOF
22178
22179 fi
22180 done
22181
22182   else
22183
22184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22185 $as_echo_n "checking for _isinff declaration... " >&6; }
22186   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22187     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22188   $as_echo_n "(cached) " >&6
22189 else
22190
22191
22192       ac_ext=cpp
22193 ac_cpp='$CXXCPP $CPPFLAGS'
22194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22197
22198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22199 /* end confdefs.h.  */
22200 #include <math.h>
22201                       #ifdef HAVE_IEEEFP_H
22202                       #include <ieeefp.h>
22203                       #endif
22204
22205 int
22206 main ()
22207 {
22208  _isinff(0);
22209   ;
22210   return 0;
22211 }
22212 _ACEOF
22213 if ac_fn_cxx_try_compile "$LINENO"; then :
22214   glibcxx_cv_func__isinff_use=yes
22215 else
22216   glibcxx_cv_func__isinff_use=no
22217 fi
22218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22219       ac_ext=c
22220 ac_cpp='$CPP $CPPFLAGS'
22221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22224
22225
22226 fi
22227
22228   fi
22229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22230 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22231
22232     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22233       for ac_func in _isinff
22234 do :
22235   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22236 if test "x$ac_cv_func__isinff" = x""yes; then :
22237   cat >>confdefs.h <<_ACEOF
22238 #define HAVE__ISINFF 1
22239 _ACEOF
22240
22241 fi
22242 done
22243
22244     fi
22245   fi
22246
22247
22248
22249
22250
22251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22252 $as_echo_n "checking for atan2f declaration... " >&6; }
22253   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22254     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22255   $as_echo_n "(cached) " >&6
22256 else
22257
22258
22259       ac_ext=cpp
22260 ac_cpp='$CXXCPP $CPPFLAGS'
22261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22264
22265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22266 /* end confdefs.h.  */
22267 #include <math.h>
22268 int
22269 main ()
22270 {
22271  atan2f(0, 0);
22272   ;
22273   return 0;
22274 }
22275 _ACEOF
22276 if ac_fn_cxx_try_compile "$LINENO"; then :
22277   glibcxx_cv_func_atan2f_use=yes
22278 else
22279   glibcxx_cv_func_atan2f_use=no
22280 fi
22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22282       ac_ext=c
22283 ac_cpp='$CPP $CPPFLAGS'
22284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22287
22288
22289 fi
22290
22291   fi
22292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22293 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22294
22295   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22296     for ac_func in atan2f
22297 do :
22298   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22299 if test "x$ac_cv_func_atan2f" = x""yes; then :
22300   cat >>confdefs.h <<_ACEOF
22301 #define HAVE_ATAN2F 1
22302 _ACEOF
22303
22304 fi
22305 done
22306
22307   else
22308
22309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22310 $as_echo_n "checking for _atan2f declaration... " >&6; }
22311   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22312     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22313   $as_echo_n "(cached) " >&6
22314 else
22315
22316
22317       ac_ext=cpp
22318 ac_cpp='$CXXCPP $CPPFLAGS'
22319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22322
22323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22324 /* end confdefs.h.  */
22325 #include <math.h>
22326 int
22327 main ()
22328 {
22329  _atan2f(0, 0);
22330   ;
22331   return 0;
22332 }
22333 _ACEOF
22334 if ac_fn_cxx_try_compile "$LINENO"; then :
22335   glibcxx_cv_func__atan2f_use=yes
22336 else
22337   glibcxx_cv_func__atan2f_use=no
22338 fi
22339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22340       ac_ext=c
22341 ac_cpp='$CPP $CPPFLAGS'
22342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22345
22346
22347 fi
22348
22349   fi
22350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22351 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22352
22353     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22354       for ac_func in _atan2f
22355 do :
22356   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22357 if test "x$ac_cv_func__atan2f" = x""yes; then :
22358   cat >>confdefs.h <<_ACEOF
22359 #define HAVE__ATAN2F 1
22360 _ACEOF
22361
22362 fi
22363 done
22364
22365     fi
22366   fi
22367
22368
22369
22370
22371
22372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22373 $as_echo_n "checking for fabsf declaration... " >&6; }
22374   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22375     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22376   $as_echo_n "(cached) " >&6
22377 else
22378
22379
22380       ac_ext=cpp
22381 ac_cpp='$CXXCPP $CPPFLAGS'
22382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22385
22386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22387 /* end confdefs.h.  */
22388 #include <math.h>
22389                       #ifdef HAVE_IEEEFP_H
22390                       #include <ieeefp.h>
22391                       #endif
22392
22393 int
22394 main ()
22395 {
22396  fabsf(0);
22397   ;
22398   return 0;
22399 }
22400 _ACEOF
22401 if ac_fn_cxx_try_compile "$LINENO"; then :
22402   glibcxx_cv_func_fabsf_use=yes
22403 else
22404   glibcxx_cv_func_fabsf_use=no
22405 fi
22406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22407       ac_ext=c
22408 ac_cpp='$CPP $CPPFLAGS'
22409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22412
22413
22414 fi
22415
22416   fi
22417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22418 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22419
22420   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22421     for ac_func in fabsf
22422 do :
22423   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22424 if test "x$ac_cv_func_fabsf" = x""yes; then :
22425   cat >>confdefs.h <<_ACEOF
22426 #define HAVE_FABSF 1
22427 _ACEOF
22428
22429 fi
22430 done
22431
22432   else
22433
22434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22435 $as_echo_n "checking for _fabsf declaration... " >&6; }
22436   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22437     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22438   $as_echo_n "(cached) " >&6
22439 else
22440
22441
22442       ac_ext=cpp
22443 ac_cpp='$CXXCPP $CPPFLAGS'
22444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22447
22448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22449 /* end confdefs.h.  */
22450 #include <math.h>
22451                       #ifdef HAVE_IEEEFP_H
22452                       #include <ieeefp.h>
22453                       #endif
22454
22455 int
22456 main ()
22457 {
22458  _fabsf(0);
22459   ;
22460   return 0;
22461 }
22462 _ACEOF
22463 if ac_fn_cxx_try_compile "$LINENO"; then :
22464   glibcxx_cv_func__fabsf_use=yes
22465 else
22466   glibcxx_cv_func__fabsf_use=no
22467 fi
22468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22469       ac_ext=c
22470 ac_cpp='$CPP $CPPFLAGS'
22471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22474
22475
22476 fi
22477
22478   fi
22479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22480 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22481
22482     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22483       for ac_func in _fabsf
22484 do :
22485   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22486 if test "x$ac_cv_func__fabsf" = x""yes; then :
22487   cat >>confdefs.h <<_ACEOF
22488 #define HAVE__FABSF 1
22489 _ACEOF
22490
22491 fi
22492 done
22493
22494     fi
22495   fi
22496
22497
22498
22499
22500
22501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22502 $as_echo_n "checking for fmodf declaration... " >&6; }
22503   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22504     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22505   $as_echo_n "(cached) " >&6
22506 else
22507
22508
22509       ac_ext=cpp
22510 ac_cpp='$CXXCPP $CPPFLAGS'
22511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22514
22515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h.  */
22517 #include <math.h>
22518 int
22519 main ()
22520 {
22521  fmodf(0, 0);
22522   ;
22523   return 0;
22524 }
22525 _ACEOF
22526 if ac_fn_cxx_try_compile "$LINENO"; then :
22527   glibcxx_cv_func_fmodf_use=yes
22528 else
22529   glibcxx_cv_func_fmodf_use=no
22530 fi
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22532       ac_ext=c
22533 ac_cpp='$CPP $CPPFLAGS'
22534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22537
22538
22539 fi
22540
22541   fi
22542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22543 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22544
22545   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22546     for ac_func in fmodf
22547 do :
22548   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22549 if test "x$ac_cv_func_fmodf" = x""yes; then :
22550   cat >>confdefs.h <<_ACEOF
22551 #define HAVE_FMODF 1
22552 _ACEOF
22553
22554 fi
22555 done
22556
22557   else
22558
22559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22560 $as_echo_n "checking for _fmodf declaration... " >&6; }
22561   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22562     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22563   $as_echo_n "(cached) " >&6
22564 else
22565
22566
22567       ac_ext=cpp
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22572
22573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h.  */
22575 #include <math.h>
22576 int
22577 main ()
22578 {
22579  _fmodf(0, 0);
22580   ;
22581   return 0;
22582 }
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585   glibcxx_cv_func__fmodf_use=yes
22586 else
22587   glibcxx_cv_func__fmodf_use=no
22588 fi
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590       ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22595
22596
22597 fi
22598
22599   fi
22600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22601 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22602
22603     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22604       for ac_func in _fmodf
22605 do :
22606   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22607 if test "x$ac_cv_func__fmodf" = x""yes; then :
22608   cat >>confdefs.h <<_ACEOF
22609 #define HAVE__FMODF 1
22610 _ACEOF
22611
22612 fi
22613 done
22614
22615     fi
22616   fi
22617
22618
22619
22620
22621
22622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22623 $as_echo_n "checking for frexpf declaration... " >&6; }
22624   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22625     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22626   $as_echo_n "(cached) " >&6
22627 else
22628
22629
22630       ac_ext=cpp
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22635
22636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h.  */
22638 #include <math.h>
22639 int
22640 main ()
22641 {
22642  frexpf(0, 0);
22643   ;
22644   return 0;
22645 }
22646 _ACEOF
22647 if ac_fn_cxx_try_compile "$LINENO"; then :
22648   glibcxx_cv_func_frexpf_use=yes
22649 else
22650   glibcxx_cv_func_frexpf_use=no
22651 fi
22652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22653       ac_ext=c
22654 ac_cpp='$CPP $CPPFLAGS'
22655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22658
22659
22660 fi
22661
22662   fi
22663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22664 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22665
22666   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22667     for ac_func in frexpf
22668 do :
22669   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22670 if test "x$ac_cv_func_frexpf" = x""yes; then :
22671   cat >>confdefs.h <<_ACEOF
22672 #define HAVE_FREXPF 1
22673 _ACEOF
22674
22675 fi
22676 done
22677
22678   else
22679
22680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22681 $as_echo_n "checking for _frexpf declaration... " >&6; }
22682   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22683     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22684   $as_echo_n "(cached) " >&6
22685 else
22686
22687
22688       ac_ext=cpp
22689 ac_cpp='$CXXCPP $CPPFLAGS'
22690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22693
22694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22695 /* end confdefs.h.  */
22696 #include <math.h>
22697 int
22698 main ()
22699 {
22700  _frexpf(0, 0);
22701   ;
22702   return 0;
22703 }
22704 _ACEOF
22705 if ac_fn_cxx_try_compile "$LINENO"; then :
22706   glibcxx_cv_func__frexpf_use=yes
22707 else
22708   glibcxx_cv_func__frexpf_use=no
22709 fi
22710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22711       ac_ext=c
22712 ac_cpp='$CPP $CPPFLAGS'
22713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22716
22717
22718 fi
22719
22720   fi
22721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22722 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22723
22724     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22725       for ac_func in _frexpf
22726 do :
22727   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22728 if test "x$ac_cv_func__frexpf" = x""yes; then :
22729   cat >>confdefs.h <<_ACEOF
22730 #define HAVE__FREXPF 1
22731 _ACEOF
22732
22733 fi
22734 done
22735
22736     fi
22737   fi
22738
22739
22740
22741
22742
22743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22744 $as_echo_n "checking for hypotf declaration... " >&6; }
22745   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22746     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22747   $as_echo_n "(cached) " >&6
22748 else
22749
22750
22751       ac_ext=cpp
22752 ac_cpp='$CXXCPP $CPPFLAGS'
22753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22756
22757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22758 /* end confdefs.h.  */
22759 #include <math.h>
22760 int
22761 main ()
22762 {
22763  hypotf(0, 0);
22764   ;
22765   return 0;
22766 }
22767 _ACEOF
22768 if ac_fn_cxx_try_compile "$LINENO"; then :
22769   glibcxx_cv_func_hypotf_use=yes
22770 else
22771   glibcxx_cv_func_hypotf_use=no
22772 fi
22773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22774       ac_ext=c
22775 ac_cpp='$CPP $CPPFLAGS'
22776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22779
22780
22781 fi
22782
22783   fi
22784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22785 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22786
22787   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22788     for ac_func in hypotf
22789 do :
22790   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22791 if test "x$ac_cv_func_hypotf" = x""yes; then :
22792   cat >>confdefs.h <<_ACEOF
22793 #define HAVE_HYPOTF 1
22794 _ACEOF
22795
22796 fi
22797 done
22798
22799   else
22800
22801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22802 $as_echo_n "checking for _hypotf declaration... " >&6; }
22803   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22804     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22805   $as_echo_n "(cached) " >&6
22806 else
22807
22808
22809       ac_ext=cpp
22810 ac_cpp='$CXXCPP $CPPFLAGS'
22811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22814
22815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22816 /* end confdefs.h.  */
22817 #include <math.h>
22818 int
22819 main ()
22820 {
22821  _hypotf(0, 0);
22822   ;
22823   return 0;
22824 }
22825 _ACEOF
22826 if ac_fn_cxx_try_compile "$LINENO"; then :
22827   glibcxx_cv_func__hypotf_use=yes
22828 else
22829   glibcxx_cv_func__hypotf_use=no
22830 fi
22831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22832       ac_ext=c
22833 ac_cpp='$CPP $CPPFLAGS'
22834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22837
22838
22839 fi
22840
22841   fi
22842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22843 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22844
22845     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22846       for ac_func in _hypotf
22847 do :
22848   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22849 if test "x$ac_cv_func__hypotf" = x""yes; then :
22850   cat >>confdefs.h <<_ACEOF
22851 #define HAVE__HYPOTF 1
22852 _ACEOF
22853
22854 fi
22855 done
22856
22857     fi
22858   fi
22859
22860
22861
22862
22863
22864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22865 $as_echo_n "checking for ldexpf declaration... " >&6; }
22866   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22867     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22868   $as_echo_n "(cached) " >&6
22869 else
22870
22871
22872       ac_ext=cpp
22873 ac_cpp='$CXXCPP $CPPFLAGS'
22874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22877
22878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22879 /* end confdefs.h.  */
22880 #include <math.h>
22881 int
22882 main ()
22883 {
22884  ldexpf(0, 0);
22885   ;
22886   return 0;
22887 }
22888 _ACEOF
22889 if ac_fn_cxx_try_compile "$LINENO"; then :
22890   glibcxx_cv_func_ldexpf_use=yes
22891 else
22892   glibcxx_cv_func_ldexpf_use=no
22893 fi
22894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22895       ac_ext=c
22896 ac_cpp='$CPP $CPPFLAGS'
22897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22900
22901
22902 fi
22903
22904   fi
22905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22906 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22907
22908   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22909     for ac_func in ldexpf
22910 do :
22911   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22912 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22913   cat >>confdefs.h <<_ACEOF
22914 #define HAVE_LDEXPF 1
22915 _ACEOF
22916
22917 fi
22918 done
22919
22920   else
22921
22922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22923 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22924   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22925     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22926   $as_echo_n "(cached) " >&6
22927 else
22928
22929
22930       ac_ext=cpp
22931 ac_cpp='$CXXCPP $CPPFLAGS'
22932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22935
22936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22937 /* end confdefs.h.  */
22938 #include <math.h>
22939 int
22940 main ()
22941 {
22942  _ldexpf(0, 0);
22943   ;
22944   return 0;
22945 }
22946 _ACEOF
22947 if ac_fn_cxx_try_compile "$LINENO"; then :
22948   glibcxx_cv_func__ldexpf_use=yes
22949 else
22950   glibcxx_cv_func__ldexpf_use=no
22951 fi
22952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22953       ac_ext=c
22954 ac_cpp='$CPP $CPPFLAGS'
22955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22958
22959
22960 fi
22961
22962   fi
22963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22964 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22965
22966     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22967       for ac_func in _ldexpf
22968 do :
22969   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22970 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22971   cat >>confdefs.h <<_ACEOF
22972 #define HAVE__LDEXPF 1
22973 _ACEOF
22974
22975 fi
22976 done
22977
22978     fi
22979   fi
22980
22981
22982
22983
22984
22985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22986 $as_echo_n "checking for logf declaration... " >&6; }
22987   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22988     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22989   $as_echo_n "(cached) " >&6
22990 else
22991
22992
22993       ac_ext=cpp
22994 ac_cpp='$CXXCPP $CPPFLAGS'
22995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22998
22999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23000 /* end confdefs.h.  */
23001 #include <math.h>
23002                       #ifdef HAVE_IEEEFP_H
23003                       #include <ieeefp.h>
23004                       #endif
23005
23006 int
23007 main ()
23008 {
23009  logf(0);
23010   ;
23011   return 0;
23012 }
23013 _ACEOF
23014 if ac_fn_cxx_try_compile "$LINENO"; then :
23015   glibcxx_cv_func_logf_use=yes
23016 else
23017   glibcxx_cv_func_logf_use=no
23018 fi
23019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23020       ac_ext=c
23021 ac_cpp='$CPP $CPPFLAGS'
23022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23025
23026
23027 fi
23028
23029   fi
23030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23031 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23032
23033   if test x$glibcxx_cv_func_logf_use = x"yes"; then
23034     for ac_func in logf
23035 do :
23036   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23037 if test "x$ac_cv_func_logf" = x""yes; then :
23038   cat >>confdefs.h <<_ACEOF
23039 #define HAVE_LOGF 1
23040 _ACEOF
23041
23042 fi
23043 done
23044
23045   else
23046
23047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23048 $as_echo_n "checking for _logf declaration... " >&6; }
23049   if test x${glibcxx_cv_func__logf_use+set} != xset; then
23050     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23051   $as_echo_n "(cached) " >&6
23052 else
23053
23054
23055       ac_ext=cpp
23056 ac_cpp='$CXXCPP $CPPFLAGS'
23057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23060
23061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23062 /* end confdefs.h.  */
23063 #include <math.h>
23064                       #ifdef HAVE_IEEEFP_H
23065                       #include <ieeefp.h>
23066                       #endif
23067
23068 int
23069 main ()
23070 {
23071  _logf(0);
23072   ;
23073   return 0;
23074 }
23075 _ACEOF
23076 if ac_fn_cxx_try_compile "$LINENO"; then :
23077   glibcxx_cv_func__logf_use=yes
23078 else
23079   glibcxx_cv_func__logf_use=no
23080 fi
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082       ac_ext=c
23083 ac_cpp='$CPP $CPPFLAGS'
23084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23087
23088
23089 fi
23090
23091   fi
23092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23093 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23094
23095     if test x$glibcxx_cv_func__logf_use = x"yes"; then
23096       for ac_func in _logf
23097 do :
23098   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23099 if test "x$ac_cv_func__logf" = x""yes; then :
23100   cat >>confdefs.h <<_ACEOF
23101 #define HAVE__LOGF 1
23102 _ACEOF
23103
23104 fi
23105 done
23106
23107     fi
23108   fi
23109
23110
23111
23112
23113
23114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23115 $as_echo_n "checking for log10f declaration... " >&6; }
23116   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23117     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23118   $as_echo_n "(cached) " >&6
23119 else
23120
23121
23122       ac_ext=cpp
23123 ac_cpp='$CXXCPP $CPPFLAGS'
23124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23127
23128       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23129 /* end confdefs.h.  */
23130 #include <math.h>
23131                       #ifdef HAVE_IEEEFP_H
23132                       #include <ieeefp.h>
23133                       #endif
23134
23135 int
23136 main ()
23137 {
23138  log10f(0);
23139   ;
23140   return 0;
23141 }
23142 _ACEOF
23143 if ac_fn_cxx_try_compile "$LINENO"; then :
23144   glibcxx_cv_func_log10f_use=yes
23145 else
23146   glibcxx_cv_func_log10f_use=no
23147 fi
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149       ac_ext=c
23150 ac_cpp='$CPP $CPPFLAGS'
23151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23154
23155
23156 fi
23157
23158   fi
23159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23160 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23161
23162   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23163     for ac_func in log10f
23164 do :
23165   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23166 if test "x$ac_cv_func_log10f" = x""yes; then :
23167   cat >>confdefs.h <<_ACEOF
23168 #define HAVE_LOG10F 1
23169 _ACEOF
23170
23171 fi
23172 done
23173
23174   else
23175
23176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23177 $as_echo_n "checking for _log10f declaration... " >&6; }
23178   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23179     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23180   $as_echo_n "(cached) " >&6
23181 else
23182
23183
23184       ac_ext=cpp
23185 ac_cpp='$CXXCPP $CPPFLAGS'
23186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23189
23190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23191 /* end confdefs.h.  */
23192 #include <math.h>
23193                       #ifdef HAVE_IEEEFP_H
23194                       #include <ieeefp.h>
23195                       #endif
23196
23197 int
23198 main ()
23199 {
23200  _log10f(0);
23201   ;
23202   return 0;
23203 }
23204 _ACEOF
23205 if ac_fn_cxx_try_compile "$LINENO"; then :
23206   glibcxx_cv_func__log10f_use=yes
23207 else
23208   glibcxx_cv_func__log10f_use=no
23209 fi
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211       ac_ext=c
23212 ac_cpp='$CPP $CPPFLAGS'
23213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23216
23217
23218 fi
23219
23220   fi
23221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23222 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23223
23224     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23225       for ac_func in _log10f
23226 do :
23227   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23228 if test "x$ac_cv_func__log10f" = x""yes; then :
23229   cat >>confdefs.h <<_ACEOF
23230 #define HAVE__LOG10F 1
23231 _ACEOF
23232
23233 fi
23234 done
23235
23236     fi
23237   fi
23238
23239
23240
23241
23242
23243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23244 $as_echo_n "checking for modff declaration... " >&6; }
23245   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23246     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23247   $as_echo_n "(cached) " >&6
23248 else
23249
23250
23251       ac_ext=cpp
23252 ac_cpp='$CXXCPP $CPPFLAGS'
23253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23256
23257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23258 /* end confdefs.h.  */
23259 #include <math.h>
23260 int
23261 main ()
23262 {
23263  modff(0, 0);
23264   ;
23265   return 0;
23266 }
23267 _ACEOF
23268 if ac_fn_cxx_try_compile "$LINENO"; then :
23269   glibcxx_cv_func_modff_use=yes
23270 else
23271   glibcxx_cv_func_modff_use=no
23272 fi
23273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23274       ac_ext=c
23275 ac_cpp='$CPP $CPPFLAGS'
23276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23279
23280
23281 fi
23282
23283   fi
23284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23285 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23286
23287   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23288     for ac_func in modff
23289 do :
23290   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23291 if test "x$ac_cv_func_modff" = x""yes; then :
23292   cat >>confdefs.h <<_ACEOF
23293 #define HAVE_MODFF 1
23294 _ACEOF
23295
23296 fi
23297 done
23298
23299   else
23300
23301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23302 $as_echo_n "checking for _modff declaration... " >&6; }
23303   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23304     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23305   $as_echo_n "(cached) " >&6
23306 else
23307
23308
23309       ac_ext=cpp
23310 ac_cpp='$CXXCPP $CPPFLAGS'
23311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23314
23315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23316 /* end confdefs.h.  */
23317 #include <math.h>
23318 int
23319 main ()
23320 {
23321  _modff(0, 0);
23322   ;
23323   return 0;
23324 }
23325 _ACEOF
23326 if ac_fn_cxx_try_compile "$LINENO"; then :
23327   glibcxx_cv_func__modff_use=yes
23328 else
23329   glibcxx_cv_func__modff_use=no
23330 fi
23331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23332       ac_ext=c
23333 ac_cpp='$CPP $CPPFLAGS'
23334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23337
23338
23339 fi
23340
23341   fi
23342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23343 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23344
23345     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23346       for ac_func in _modff
23347 do :
23348   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23349 if test "x$ac_cv_func__modff" = x""yes; then :
23350   cat >>confdefs.h <<_ACEOF
23351 #define HAVE__MODFF 1
23352 _ACEOF
23353
23354 fi
23355 done
23356
23357     fi
23358   fi
23359
23360
23361
23362
23363
23364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23365 $as_echo_n "checking for modf declaration... " >&6; }
23366   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23367     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23368   $as_echo_n "(cached) " >&6
23369 else
23370
23371
23372       ac_ext=cpp
23373 ac_cpp='$CXXCPP $CPPFLAGS'
23374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23377
23378       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23379 /* end confdefs.h.  */
23380 #include <math.h>
23381 int
23382 main ()
23383 {
23384  modf(0, 0);
23385   ;
23386   return 0;
23387 }
23388 _ACEOF
23389 if ac_fn_cxx_try_compile "$LINENO"; then :
23390   glibcxx_cv_func_modf_use=yes
23391 else
23392   glibcxx_cv_func_modf_use=no
23393 fi
23394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23395       ac_ext=c
23396 ac_cpp='$CPP $CPPFLAGS'
23397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400
23401
23402 fi
23403
23404   fi
23405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23406 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23407
23408   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23409     for ac_func in modf
23410 do :
23411   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23412 if test "x$ac_cv_func_modf" = x""yes; then :
23413   cat >>confdefs.h <<_ACEOF
23414 #define HAVE_MODF 1
23415 _ACEOF
23416
23417 fi
23418 done
23419
23420   else
23421
23422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23423 $as_echo_n "checking for _modf declaration... " >&6; }
23424   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23425     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23426   $as_echo_n "(cached) " >&6
23427 else
23428
23429
23430       ac_ext=cpp
23431 ac_cpp='$CXXCPP $CPPFLAGS'
23432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23435
23436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23437 /* end confdefs.h.  */
23438 #include <math.h>
23439 int
23440 main ()
23441 {
23442  _modf(0, 0);
23443   ;
23444   return 0;
23445 }
23446 _ACEOF
23447 if ac_fn_cxx_try_compile "$LINENO"; then :
23448   glibcxx_cv_func__modf_use=yes
23449 else
23450   glibcxx_cv_func__modf_use=no
23451 fi
23452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23453       ac_ext=c
23454 ac_cpp='$CPP $CPPFLAGS'
23455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23458
23459
23460 fi
23461
23462   fi
23463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23464 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23465
23466     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23467       for ac_func in _modf
23468 do :
23469   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23470 if test "x$ac_cv_func__modf" = x""yes; then :
23471   cat >>confdefs.h <<_ACEOF
23472 #define HAVE__MODF 1
23473 _ACEOF
23474
23475 fi
23476 done
23477
23478     fi
23479   fi
23480
23481
23482
23483
23484
23485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23486 $as_echo_n "checking for powf declaration... " >&6; }
23487   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23488     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23489   $as_echo_n "(cached) " >&6
23490 else
23491
23492
23493       ac_ext=cpp
23494 ac_cpp='$CXXCPP $CPPFLAGS'
23495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23498
23499       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23500 /* end confdefs.h.  */
23501 #include <math.h>
23502 int
23503 main ()
23504 {
23505  powf(0, 0);
23506   ;
23507   return 0;
23508 }
23509 _ACEOF
23510 if ac_fn_cxx_try_compile "$LINENO"; then :
23511   glibcxx_cv_func_powf_use=yes
23512 else
23513   glibcxx_cv_func_powf_use=no
23514 fi
23515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23516       ac_ext=c
23517 ac_cpp='$CPP $CPPFLAGS'
23518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23521
23522
23523 fi
23524
23525   fi
23526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23527 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23528
23529   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23530     for ac_func in powf
23531 do :
23532   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23533 if test "x$ac_cv_func_powf" = x""yes; then :
23534   cat >>confdefs.h <<_ACEOF
23535 #define HAVE_POWF 1
23536 _ACEOF
23537
23538 fi
23539 done
23540
23541   else
23542
23543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23544 $as_echo_n "checking for _powf declaration... " >&6; }
23545   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23546     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23547   $as_echo_n "(cached) " >&6
23548 else
23549
23550
23551       ac_ext=cpp
23552 ac_cpp='$CXXCPP $CPPFLAGS'
23553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23556
23557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23558 /* end confdefs.h.  */
23559 #include <math.h>
23560 int
23561 main ()
23562 {
23563  _powf(0, 0);
23564   ;
23565   return 0;
23566 }
23567 _ACEOF
23568 if ac_fn_cxx_try_compile "$LINENO"; then :
23569   glibcxx_cv_func__powf_use=yes
23570 else
23571   glibcxx_cv_func__powf_use=no
23572 fi
23573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23574       ac_ext=c
23575 ac_cpp='$CPP $CPPFLAGS'
23576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23579
23580
23581 fi
23582
23583   fi
23584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23585 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23586
23587     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23588       for ac_func in _powf
23589 do :
23590   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23591 if test "x$ac_cv_func__powf" = x""yes; then :
23592   cat >>confdefs.h <<_ACEOF
23593 #define HAVE__POWF 1
23594 _ACEOF
23595
23596 fi
23597 done
23598
23599     fi
23600   fi
23601
23602
23603
23604
23605
23606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23607 $as_echo_n "checking for sqrtf declaration... " >&6; }
23608   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23609     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23610   $as_echo_n "(cached) " >&6
23611 else
23612
23613
23614       ac_ext=cpp
23615 ac_cpp='$CXXCPP $CPPFLAGS'
23616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23619
23620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23621 /* end confdefs.h.  */
23622 #include <math.h>
23623                       #ifdef HAVE_IEEEFP_H
23624                       #include <ieeefp.h>
23625                       #endif
23626
23627 int
23628 main ()
23629 {
23630  sqrtf(0);
23631   ;
23632   return 0;
23633 }
23634 _ACEOF
23635 if ac_fn_cxx_try_compile "$LINENO"; then :
23636   glibcxx_cv_func_sqrtf_use=yes
23637 else
23638   glibcxx_cv_func_sqrtf_use=no
23639 fi
23640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23641       ac_ext=c
23642 ac_cpp='$CPP $CPPFLAGS'
23643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23646
23647
23648 fi
23649
23650   fi
23651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23652 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23653
23654   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23655     for ac_func in sqrtf
23656 do :
23657   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23658 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23659   cat >>confdefs.h <<_ACEOF
23660 #define HAVE_SQRTF 1
23661 _ACEOF
23662
23663 fi
23664 done
23665
23666   else
23667
23668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23669 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23670   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23671     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23672   $as_echo_n "(cached) " >&6
23673 else
23674
23675
23676       ac_ext=cpp
23677 ac_cpp='$CXXCPP $CPPFLAGS'
23678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23681
23682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23683 /* end confdefs.h.  */
23684 #include <math.h>
23685                       #ifdef HAVE_IEEEFP_H
23686                       #include <ieeefp.h>
23687                       #endif
23688
23689 int
23690 main ()
23691 {
23692  _sqrtf(0);
23693   ;
23694   return 0;
23695 }
23696 _ACEOF
23697 if ac_fn_cxx_try_compile "$LINENO"; then :
23698   glibcxx_cv_func__sqrtf_use=yes
23699 else
23700   glibcxx_cv_func__sqrtf_use=no
23701 fi
23702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23703       ac_ext=c
23704 ac_cpp='$CPP $CPPFLAGS'
23705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23708
23709
23710 fi
23711
23712   fi
23713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23714 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23715
23716     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23717       for ac_func in _sqrtf
23718 do :
23719   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23720 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23721   cat >>confdefs.h <<_ACEOF
23722 #define HAVE__SQRTF 1
23723 _ACEOF
23724
23725 fi
23726 done
23727
23728     fi
23729   fi
23730
23731
23732
23733
23734
23735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23736 $as_echo_n "checking for sincosf declaration... " >&6; }
23737   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23738     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23739   $as_echo_n "(cached) " >&6
23740 else
23741
23742
23743       ac_ext=cpp
23744 ac_cpp='$CXXCPP $CPPFLAGS'
23745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23748
23749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23750 /* end confdefs.h.  */
23751 #include <math.h>
23752 int
23753 main ()
23754 {
23755  sincosf(0, 0, 0);
23756   ;
23757   return 0;
23758 }
23759 _ACEOF
23760 if ac_fn_cxx_try_compile "$LINENO"; then :
23761   glibcxx_cv_func_sincosf_use=yes
23762 else
23763   glibcxx_cv_func_sincosf_use=no
23764 fi
23765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23766       ac_ext=c
23767 ac_cpp='$CPP $CPPFLAGS'
23768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23771
23772
23773 fi
23774
23775   fi
23776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23777 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23778
23779   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23780     for ac_func in sincosf
23781 do :
23782   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23783 if test "x$ac_cv_func_sincosf" = x""yes; then :
23784   cat >>confdefs.h <<_ACEOF
23785 #define HAVE_SINCOSF 1
23786 _ACEOF
23787
23788 fi
23789 done
23790
23791   else
23792
23793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23794 $as_echo_n "checking for _sincosf declaration... " >&6; }
23795   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23796     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23797   $as_echo_n "(cached) " >&6
23798 else
23799
23800
23801       ac_ext=cpp
23802 ac_cpp='$CXXCPP $CPPFLAGS'
23803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23806
23807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23808 /* end confdefs.h.  */
23809 #include <math.h>
23810 int
23811 main ()
23812 {
23813  _sincosf(0, 0, 0);
23814   ;
23815   return 0;
23816 }
23817 _ACEOF
23818 if ac_fn_cxx_try_compile "$LINENO"; then :
23819   glibcxx_cv_func__sincosf_use=yes
23820 else
23821   glibcxx_cv_func__sincosf_use=no
23822 fi
23823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23824       ac_ext=c
23825 ac_cpp='$CPP $CPPFLAGS'
23826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23829
23830
23831 fi
23832
23833   fi
23834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23835 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23836
23837     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23838       for ac_func in _sincosf
23839 do :
23840   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23841 if test "x$ac_cv_func__sincosf" = x""yes; then :
23842   cat >>confdefs.h <<_ACEOF
23843 #define HAVE__SINCOSF 1
23844 _ACEOF
23845
23846 fi
23847 done
23848
23849     fi
23850   fi
23851
23852
23853
23854
23855
23856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23857 $as_echo_n "checking for finitef declaration... " >&6; }
23858   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23859     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23860   $as_echo_n "(cached) " >&6
23861 else
23862
23863
23864       ac_ext=cpp
23865 ac_cpp='$CXXCPP $CPPFLAGS'
23866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23869
23870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23871 /* end confdefs.h.  */
23872 #include <math.h>
23873                       #ifdef HAVE_IEEEFP_H
23874                       #include <ieeefp.h>
23875                       #endif
23876
23877 int
23878 main ()
23879 {
23880  finitef(0);
23881   ;
23882   return 0;
23883 }
23884 _ACEOF
23885 if ac_fn_cxx_try_compile "$LINENO"; then :
23886   glibcxx_cv_func_finitef_use=yes
23887 else
23888   glibcxx_cv_func_finitef_use=no
23889 fi
23890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23891       ac_ext=c
23892 ac_cpp='$CPP $CPPFLAGS'
23893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23896
23897
23898 fi
23899
23900   fi
23901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23902 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23903
23904   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23905     for ac_func in finitef
23906 do :
23907   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23908 if test "x$ac_cv_func_finitef" = x""yes; then :
23909   cat >>confdefs.h <<_ACEOF
23910 #define HAVE_FINITEF 1
23911 _ACEOF
23912
23913 fi
23914 done
23915
23916   else
23917
23918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23919 $as_echo_n "checking for _finitef declaration... " >&6; }
23920   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23921     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23922   $as_echo_n "(cached) " >&6
23923 else
23924
23925
23926       ac_ext=cpp
23927 ac_cpp='$CXXCPP $CPPFLAGS'
23928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23931
23932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23933 /* end confdefs.h.  */
23934 #include <math.h>
23935                       #ifdef HAVE_IEEEFP_H
23936                       #include <ieeefp.h>
23937                       #endif
23938
23939 int
23940 main ()
23941 {
23942  _finitef(0);
23943   ;
23944   return 0;
23945 }
23946 _ACEOF
23947 if ac_fn_cxx_try_compile "$LINENO"; then :
23948   glibcxx_cv_func__finitef_use=yes
23949 else
23950   glibcxx_cv_func__finitef_use=no
23951 fi
23952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23953       ac_ext=c
23954 ac_cpp='$CPP $CPPFLAGS'
23955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23958
23959
23960 fi
23961
23962   fi
23963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23964 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23965
23966     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23967       for ac_func in _finitef
23968 do :
23969   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23970 if test "x$ac_cv_func__finitef" = x""yes; then :
23971   cat >>confdefs.h <<_ACEOF
23972 #define HAVE__FINITEF 1
23973 _ACEOF
23974
23975 fi
23976 done
23977
23978     fi
23979   fi
23980
23981
23982
23983
23984
23985     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23986 $as_echo_n "checking for long double trig functions... " >&6; }
23987   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23988   $as_echo_n "(cached) " >&6
23989 else
23990
23991
23992     ac_ext=cpp
23993 ac_cpp='$CXXCPP $CPPFLAGS'
23994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23997
23998     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23999 /* end confdefs.h.  */
24000 #include <math.h>
24001 int
24002 main ()
24003 {
24004 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24005   ;
24006   return 0;
24007 }
24008 _ACEOF
24009 if ac_fn_cxx_try_compile "$LINENO"; then :
24010   glibcxx_cv_func_long_double_trig_use=yes
24011 else
24012   glibcxx_cv_func_long_double_trig_use=no
24013 fi
24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24015     ac_ext=c
24016 ac_cpp='$CPP $CPPFLAGS'
24017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24020
24021 fi
24022
24023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24024 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24025   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24026     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24027 do :
24028   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24030 eval as_val=\$$as_ac_var
24031    if test "x$as_val" = x""yes; then :
24032   cat >>confdefs.h <<_ACEOF
24033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24034 _ACEOF
24035
24036 fi
24037 done
24038
24039   else
24040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24041 $as_echo_n "checking for _long double trig functions... " >&6; }
24042     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24043   $as_echo_n "(cached) " >&6
24044 else
24045
24046
24047       ac_ext=cpp
24048 ac_cpp='$CXXCPP $CPPFLAGS'
24049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24052
24053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24054 /* end confdefs.h.  */
24055 #include <math.h>
24056 int
24057 main ()
24058 {
24059 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24060   ;
24061   return 0;
24062 }
24063 _ACEOF
24064 if ac_fn_cxx_try_compile "$LINENO"; then :
24065   glibcxx_cv_func__long_double_trig_use=yes
24066 else
24067   glibcxx_cv_func__long_double_trig_use=no
24068 fi
24069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24070       ac_ext=c
24071 ac_cpp='$CPP $CPPFLAGS'
24072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24075
24076 fi
24077
24078     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24079 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24080     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24081       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24082 do :
24083   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24085 eval as_val=\$$as_ac_var
24086    if test "x$as_val" = x""yes; then :
24087   cat >>confdefs.h <<_ACEOF
24088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24089 _ACEOF
24090
24091 fi
24092 done
24093
24094     fi
24095   fi
24096
24097
24098
24099
24100
24101     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24102 $as_echo_n "checking for long double round functions... " >&6; }
24103   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24104   $as_echo_n "(cached) " >&6
24105 else
24106
24107
24108     ac_ext=cpp
24109 ac_cpp='$CXXCPP $CPPFLAGS'
24110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24113
24114     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24115 /* end confdefs.h.  */
24116 #include <math.h>
24117 int
24118 main ()
24119 {
24120 ceill (0); floorl (0);
24121   ;
24122   return 0;
24123 }
24124 _ACEOF
24125 if ac_fn_cxx_try_compile "$LINENO"; then :
24126   glibcxx_cv_func_long_double_round_use=yes
24127 else
24128   glibcxx_cv_func_long_double_round_use=no
24129 fi
24130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24131     ac_ext=c
24132 ac_cpp='$CPP $CPPFLAGS'
24133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24136
24137 fi
24138
24139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24140 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24141   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24142     for ac_func in ceill floorl
24143 do :
24144   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24146 eval as_val=\$$as_ac_var
24147    if test "x$as_val" = x""yes; then :
24148   cat >>confdefs.h <<_ACEOF
24149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24150 _ACEOF
24151
24152 fi
24153 done
24154
24155   else
24156     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24157 $as_echo_n "checking for _long double round functions... " >&6; }
24158     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24159   $as_echo_n "(cached) " >&6
24160 else
24161
24162
24163       ac_ext=cpp
24164 ac_cpp='$CXXCPP $CPPFLAGS'
24165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24168
24169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24170 /* end confdefs.h.  */
24171 #include <math.h>
24172 int
24173 main ()
24174 {
24175 _ceill (0); _floorl (0);
24176   ;
24177   return 0;
24178 }
24179 _ACEOF
24180 if ac_fn_cxx_try_compile "$LINENO"; then :
24181   glibcxx_cv_func__long_double_round_use=yes
24182 else
24183   glibcxx_cv_func__long_double_round_use=no
24184 fi
24185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24186       ac_ext=c
24187 ac_cpp='$CPP $CPPFLAGS'
24188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24191
24192 fi
24193
24194     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24195 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24196     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24197       for ac_func in _ceill _floorl
24198 do :
24199   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24201 eval as_val=\$$as_ac_var
24202    if test "x$as_val" = x""yes; then :
24203   cat >>confdefs.h <<_ACEOF
24204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24205 _ACEOF
24206
24207 fi
24208 done
24209
24210     fi
24211   fi
24212
24213
24214
24215
24216
24217
24218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24219 $as_echo_n "checking for isnanl declaration... " >&6; }
24220   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24221     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24222   $as_echo_n "(cached) " >&6
24223 else
24224
24225
24226       ac_ext=cpp
24227 ac_cpp='$CXXCPP $CPPFLAGS'
24228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24231
24232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24233 /* end confdefs.h.  */
24234 #include <math.h>
24235                       #ifdef HAVE_IEEEFP_H
24236                       #include <ieeefp.h>
24237                       #endif
24238
24239 int
24240 main ()
24241 {
24242  isnanl(0);
24243   ;
24244   return 0;
24245 }
24246 _ACEOF
24247 if ac_fn_cxx_try_compile "$LINENO"; then :
24248   glibcxx_cv_func_isnanl_use=yes
24249 else
24250   glibcxx_cv_func_isnanl_use=no
24251 fi
24252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24253       ac_ext=c
24254 ac_cpp='$CPP $CPPFLAGS'
24255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24258
24259
24260 fi
24261
24262   fi
24263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24264 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24265
24266   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24267     for ac_func in isnanl
24268 do :
24269   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24270 if test "x$ac_cv_func_isnanl" = x""yes; then :
24271   cat >>confdefs.h <<_ACEOF
24272 #define HAVE_ISNANL 1
24273 _ACEOF
24274
24275 fi
24276 done
24277
24278   else
24279
24280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24281 $as_echo_n "checking for _isnanl declaration... " >&6; }
24282   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24283     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24284   $as_echo_n "(cached) " >&6
24285 else
24286
24287
24288       ac_ext=cpp
24289 ac_cpp='$CXXCPP $CPPFLAGS'
24290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24293
24294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24295 /* end confdefs.h.  */
24296 #include <math.h>
24297                       #ifdef HAVE_IEEEFP_H
24298                       #include <ieeefp.h>
24299                       #endif
24300
24301 int
24302 main ()
24303 {
24304  _isnanl(0);
24305   ;
24306   return 0;
24307 }
24308 _ACEOF
24309 if ac_fn_cxx_try_compile "$LINENO"; then :
24310   glibcxx_cv_func__isnanl_use=yes
24311 else
24312   glibcxx_cv_func__isnanl_use=no
24313 fi
24314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24315       ac_ext=c
24316 ac_cpp='$CPP $CPPFLAGS'
24317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24320
24321
24322 fi
24323
24324   fi
24325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24326 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24327
24328     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24329       for ac_func in _isnanl
24330 do :
24331   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24332 if test "x$ac_cv_func__isnanl" = x""yes; then :
24333   cat >>confdefs.h <<_ACEOF
24334 #define HAVE__ISNANL 1
24335 _ACEOF
24336
24337 fi
24338 done
24339
24340     fi
24341   fi
24342
24343
24344
24345
24346
24347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24348 $as_echo_n "checking for isinfl declaration... " >&6; }
24349   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24350     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24351   $as_echo_n "(cached) " >&6
24352 else
24353
24354
24355       ac_ext=cpp
24356 ac_cpp='$CXXCPP $CPPFLAGS'
24357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24360
24361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24362 /* end confdefs.h.  */
24363 #include <math.h>
24364                       #ifdef HAVE_IEEEFP_H
24365                       #include <ieeefp.h>
24366                       #endif
24367
24368 int
24369 main ()
24370 {
24371  isinfl(0);
24372   ;
24373   return 0;
24374 }
24375 _ACEOF
24376 if ac_fn_cxx_try_compile "$LINENO"; then :
24377   glibcxx_cv_func_isinfl_use=yes
24378 else
24379   glibcxx_cv_func_isinfl_use=no
24380 fi
24381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24382       ac_ext=c
24383 ac_cpp='$CPP $CPPFLAGS'
24384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24387
24388
24389 fi
24390
24391   fi
24392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24393 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24394
24395   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24396     for ac_func in isinfl
24397 do :
24398   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24399 if test "x$ac_cv_func_isinfl" = x""yes; then :
24400   cat >>confdefs.h <<_ACEOF
24401 #define HAVE_ISINFL 1
24402 _ACEOF
24403
24404 fi
24405 done
24406
24407   else
24408
24409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24410 $as_echo_n "checking for _isinfl declaration... " >&6; }
24411   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24412     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24413   $as_echo_n "(cached) " >&6
24414 else
24415
24416
24417       ac_ext=cpp
24418 ac_cpp='$CXXCPP $CPPFLAGS'
24419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24422
24423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424 /* end confdefs.h.  */
24425 #include <math.h>
24426                       #ifdef HAVE_IEEEFP_H
24427                       #include <ieeefp.h>
24428                       #endif
24429
24430 int
24431 main ()
24432 {
24433  _isinfl(0);
24434   ;
24435   return 0;
24436 }
24437 _ACEOF
24438 if ac_fn_cxx_try_compile "$LINENO"; then :
24439   glibcxx_cv_func__isinfl_use=yes
24440 else
24441   glibcxx_cv_func__isinfl_use=no
24442 fi
24443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24444       ac_ext=c
24445 ac_cpp='$CPP $CPPFLAGS'
24446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24449
24450
24451 fi
24452
24453   fi
24454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24455 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24456
24457     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24458       for ac_func in _isinfl
24459 do :
24460   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24461 if test "x$ac_cv_func__isinfl" = x""yes; then :
24462   cat >>confdefs.h <<_ACEOF
24463 #define HAVE__ISINFL 1
24464 _ACEOF
24465
24466 fi
24467 done
24468
24469     fi
24470   fi
24471
24472
24473
24474
24475
24476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24477 $as_echo_n "checking for atan2l declaration... " >&6; }
24478   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24479     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24480   $as_echo_n "(cached) " >&6
24481 else
24482
24483
24484       ac_ext=cpp
24485 ac_cpp='$CXXCPP $CPPFLAGS'
24486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24489
24490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24491 /* end confdefs.h.  */
24492 #include <math.h>
24493 int
24494 main ()
24495 {
24496  atan2l(0, 0);
24497   ;
24498   return 0;
24499 }
24500 _ACEOF
24501 if ac_fn_cxx_try_compile "$LINENO"; then :
24502   glibcxx_cv_func_atan2l_use=yes
24503 else
24504   glibcxx_cv_func_atan2l_use=no
24505 fi
24506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24507       ac_ext=c
24508 ac_cpp='$CPP $CPPFLAGS'
24509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24512
24513
24514 fi
24515
24516   fi
24517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24518 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24519
24520   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24521     for ac_func in atan2l
24522 do :
24523   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24524 if test "x$ac_cv_func_atan2l" = x""yes; then :
24525   cat >>confdefs.h <<_ACEOF
24526 #define HAVE_ATAN2L 1
24527 _ACEOF
24528
24529 fi
24530 done
24531
24532   else
24533
24534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24535 $as_echo_n "checking for _atan2l declaration... " >&6; }
24536   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24537     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24538   $as_echo_n "(cached) " >&6
24539 else
24540
24541
24542       ac_ext=cpp
24543 ac_cpp='$CXXCPP $CPPFLAGS'
24544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24547
24548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24549 /* end confdefs.h.  */
24550 #include <math.h>
24551 int
24552 main ()
24553 {
24554  _atan2l(0, 0);
24555   ;
24556   return 0;
24557 }
24558 _ACEOF
24559 if ac_fn_cxx_try_compile "$LINENO"; then :
24560   glibcxx_cv_func__atan2l_use=yes
24561 else
24562   glibcxx_cv_func__atan2l_use=no
24563 fi
24564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24565       ac_ext=c
24566 ac_cpp='$CPP $CPPFLAGS'
24567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24570
24571
24572 fi
24573
24574   fi
24575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24576 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24577
24578     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24579       for ac_func in _atan2l
24580 do :
24581   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24582 if test "x$ac_cv_func__atan2l" = x""yes; then :
24583   cat >>confdefs.h <<_ACEOF
24584 #define HAVE__ATAN2L 1
24585 _ACEOF
24586
24587 fi
24588 done
24589
24590     fi
24591   fi
24592
24593
24594
24595
24596
24597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24598 $as_echo_n "checking for expl declaration... " >&6; }
24599   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24600     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24601   $as_echo_n "(cached) " >&6
24602 else
24603
24604
24605       ac_ext=cpp
24606 ac_cpp='$CXXCPP $CPPFLAGS'
24607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24610
24611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24612 /* end confdefs.h.  */
24613 #include <math.h>
24614                       #ifdef HAVE_IEEEFP_H
24615                       #include <ieeefp.h>
24616                       #endif
24617
24618 int
24619 main ()
24620 {
24621  expl(0);
24622   ;
24623   return 0;
24624 }
24625 _ACEOF
24626 if ac_fn_cxx_try_compile "$LINENO"; then :
24627   glibcxx_cv_func_expl_use=yes
24628 else
24629   glibcxx_cv_func_expl_use=no
24630 fi
24631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24632       ac_ext=c
24633 ac_cpp='$CPP $CPPFLAGS'
24634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24637
24638
24639 fi
24640
24641   fi
24642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24643 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24644
24645   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24646     for ac_func in expl
24647 do :
24648   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24649 if test "x$ac_cv_func_expl" = x""yes; then :
24650   cat >>confdefs.h <<_ACEOF
24651 #define HAVE_EXPL 1
24652 _ACEOF
24653
24654 fi
24655 done
24656
24657   else
24658
24659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24660 $as_echo_n "checking for _expl declaration... " >&6; }
24661   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24662     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24663   $as_echo_n "(cached) " >&6
24664 else
24665
24666
24667       ac_ext=cpp
24668 ac_cpp='$CXXCPP $CPPFLAGS'
24669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24672
24673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24674 /* end confdefs.h.  */
24675 #include <math.h>
24676                       #ifdef HAVE_IEEEFP_H
24677                       #include <ieeefp.h>
24678                       #endif
24679
24680 int
24681 main ()
24682 {
24683  _expl(0);
24684   ;
24685   return 0;
24686 }
24687 _ACEOF
24688 if ac_fn_cxx_try_compile "$LINENO"; then :
24689   glibcxx_cv_func__expl_use=yes
24690 else
24691   glibcxx_cv_func__expl_use=no
24692 fi
24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24694       ac_ext=c
24695 ac_cpp='$CPP $CPPFLAGS'
24696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24699
24700
24701 fi
24702
24703   fi
24704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24705 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24706
24707     if test x$glibcxx_cv_func__expl_use = x"yes"; then
24708       for ac_func in _expl
24709 do :
24710   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24711 if test "x$ac_cv_func__expl" = x""yes; then :
24712   cat >>confdefs.h <<_ACEOF
24713 #define HAVE__EXPL 1
24714 _ACEOF
24715
24716 fi
24717 done
24718
24719     fi
24720   fi
24721
24722
24723
24724
24725
24726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24727 $as_echo_n "checking for fabsl declaration... " >&6; }
24728   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24729     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24730   $as_echo_n "(cached) " >&6
24731 else
24732
24733
24734       ac_ext=cpp
24735 ac_cpp='$CXXCPP $CPPFLAGS'
24736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24739
24740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24741 /* end confdefs.h.  */
24742 #include <math.h>
24743                       #ifdef HAVE_IEEEFP_H
24744                       #include <ieeefp.h>
24745                       #endif
24746
24747 int
24748 main ()
24749 {
24750  fabsl(0);
24751   ;
24752   return 0;
24753 }
24754 _ACEOF
24755 if ac_fn_cxx_try_compile "$LINENO"; then :
24756   glibcxx_cv_func_fabsl_use=yes
24757 else
24758   glibcxx_cv_func_fabsl_use=no
24759 fi
24760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761       ac_ext=c
24762 ac_cpp='$CPP $CPPFLAGS'
24763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24766
24767
24768 fi
24769
24770   fi
24771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24772 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24773
24774   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24775     for ac_func in fabsl
24776 do :
24777   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24778 if test "x$ac_cv_func_fabsl" = x""yes; then :
24779   cat >>confdefs.h <<_ACEOF
24780 #define HAVE_FABSL 1
24781 _ACEOF
24782
24783 fi
24784 done
24785
24786   else
24787
24788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24789 $as_echo_n "checking for _fabsl declaration... " >&6; }
24790   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24791     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24792   $as_echo_n "(cached) " >&6
24793 else
24794
24795
24796       ac_ext=cpp
24797 ac_cpp='$CXXCPP $CPPFLAGS'
24798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24801
24802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24803 /* end confdefs.h.  */
24804 #include <math.h>
24805                       #ifdef HAVE_IEEEFP_H
24806                       #include <ieeefp.h>
24807                       #endif
24808
24809 int
24810 main ()
24811 {
24812  _fabsl(0);
24813   ;
24814   return 0;
24815 }
24816 _ACEOF
24817 if ac_fn_cxx_try_compile "$LINENO"; then :
24818   glibcxx_cv_func__fabsl_use=yes
24819 else
24820   glibcxx_cv_func__fabsl_use=no
24821 fi
24822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24823       ac_ext=c
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24828
24829
24830 fi
24831
24832   fi
24833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24834 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24835
24836     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24837       for ac_func in _fabsl
24838 do :
24839   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24840 if test "x$ac_cv_func__fabsl" = x""yes; then :
24841   cat >>confdefs.h <<_ACEOF
24842 #define HAVE__FABSL 1
24843 _ACEOF
24844
24845 fi
24846 done
24847
24848     fi
24849   fi
24850
24851
24852
24853
24854
24855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24856 $as_echo_n "checking for fmodl declaration... " >&6; }
24857   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24858     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24859   $as_echo_n "(cached) " >&6
24860 else
24861
24862
24863       ac_ext=cpp
24864 ac_cpp='$CXXCPP $CPPFLAGS'
24865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24868
24869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24870 /* end confdefs.h.  */
24871 #include <math.h>
24872 int
24873 main ()
24874 {
24875  fmodl(0, 0);
24876   ;
24877   return 0;
24878 }
24879 _ACEOF
24880 if ac_fn_cxx_try_compile "$LINENO"; then :
24881   glibcxx_cv_func_fmodl_use=yes
24882 else
24883   glibcxx_cv_func_fmodl_use=no
24884 fi
24885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24886       ac_ext=c
24887 ac_cpp='$CPP $CPPFLAGS'
24888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24891
24892
24893 fi
24894
24895   fi
24896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24897 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24898
24899   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24900     for ac_func in fmodl
24901 do :
24902   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24903 if test "x$ac_cv_func_fmodl" = x""yes; then :
24904   cat >>confdefs.h <<_ACEOF
24905 #define HAVE_FMODL 1
24906 _ACEOF
24907
24908 fi
24909 done
24910
24911   else
24912
24913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24914 $as_echo_n "checking for _fmodl declaration... " >&6; }
24915   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24916     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24917   $as_echo_n "(cached) " >&6
24918 else
24919
24920
24921       ac_ext=cpp
24922 ac_cpp='$CXXCPP $CPPFLAGS'
24923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24926
24927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24928 /* end confdefs.h.  */
24929 #include <math.h>
24930 int
24931 main ()
24932 {
24933  _fmodl(0, 0);
24934   ;
24935   return 0;
24936 }
24937 _ACEOF
24938 if ac_fn_cxx_try_compile "$LINENO"; then :
24939   glibcxx_cv_func__fmodl_use=yes
24940 else
24941   glibcxx_cv_func__fmodl_use=no
24942 fi
24943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24944       ac_ext=c
24945 ac_cpp='$CPP $CPPFLAGS'
24946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24949
24950
24951 fi
24952
24953   fi
24954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24955 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24956
24957     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24958       for ac_func in _fmodl
24959 do :
24960   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24961 if test "x$ac_cv_func__fmodl" = x""yes; then :
24962   cat >>confdefs.h <<_ACEOF
24963 #define HAVE__FMODL 1
24964 _ACEOF
24965
24966 fi
24967 done
24968
24969     fi
24970   fi
24971
24972
24973
24974
24975
24976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24977 $as_echo_n "checking for frexpl declaration... " >&6; }
24978   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24979     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24980   $as_echo_n "(cached) " >&6
24981 else
24982
24983
24984       ac_ext=cpp
24985 ac_cpp='$CXXCPP $CPPFLAGS'
24986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24989
24990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24991 /* end confdefs.h.  */
24992 #include <math.h>
24993 int
24994 main ()
24995 {
24996  frexpl(0, 0);
24997   ;
24998   return 0;
24999 }
25000 _ACEOF
25001 if ac_fn_cxx_try_compile "$LINENO"; then :
25002   glibcxx_cv_func_frexpl_use=yes
25003 else
25004   glibcxx_cv_func_frexpl_use=no
25005 fi
25006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25007       ac_ext=c
25008 ac_cpp='$CPP $CPPFLAGS'
25009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25012
25013
25014 fi
25015
25016   fi
25017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25018 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25019
25020   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25021     for ac_func in frexpl
25022 do :
25023   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25024 if test "x$ac_cv_func_frexpl" = x""yes; then :
25025   cat >>confdefs.h <<_ACEOF
25026 #define HAVE_FREXPL 1
25027 _ACEOF
25028
25029 fi
25030 done
25031
25032   else
25033
25034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25035 $as_echo_n "checking for _frexpl declaration... " >&6; }
25036   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25037     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25038   $as_echo_n "(cached) " >&6
25039 else
25040
25041
25042       ac_ext=cpp
25043 ac_cpp='$CXXCPP $CPPFLAGS'
25044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25047
25048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25049 /* end confdefs.h.  */
25050 #include <math.h>
25051 int
25052 main ()
25053 {
25054  _frexpl(0, 0);
25055   ;
25056   return 0;
25057 }
25058 _ACEOF
25059 if ac_fn_cxx_try_compile "$LINENO"; then :
25060   glibcxx_cv_func__frexpl_use=yes
25061 else
25062   glibcxx_cv_func__frexpl_use=no
25063 fi
25064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25065       ac_ext=c
25066 ac_cpp='$CPP $CPPFLAGS'
25067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25070
25071
25072 fi
25073
25074   fi
25075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25076 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25077
25078     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25079       for ac_func in _frexpl
25080 do :
25081   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25082 if test "x$ac_cv_func__frexpl" = x""yes; then :
25083   cat >>confdefs.h <<_ACEOF
25084 #define HAVE__FREXPL 1
25085 _ACEOF
25086
25087 fi
25088 done
25089
25090     fi
25091   fi
25092
25093
25094
25095
25096
25097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25098 $as_echo_n "checking for hypotl declaration... " >&6; }
25099   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25100     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25101   $as_echo_n "(cached) " >&6
25102 else
25103
25104
25105       ac_ext=cpp
25106 ac_cpp='$CXXCPP $CPPFLAGS'
25107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25110
25111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25112 /* end confdefs.h.  */
25113 #include <math.h>
25114 int
25115 main ()
25116 {
25117  hypotl(0, 0);
25118   ;
25119   return 0;
25120 }
25121 _ACEOF
25122 if ac_fn_cxx_try_compile "$LINENO"; then :
25123   glibcxx_cv_func_hypotl_use=yes
25124 else
25125   glibcxx_cv_func_hypotl_use=no
25126 fi
25127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128       ac_ext=c
25129 ac_cpp='$CPP $CPPFLAGS'
25130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25133
25134
25135 fi
25136
25137   fi
25138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25139 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25140
25141   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25142     for ac_func in hypotl
25143 do :
25144   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25145 if test "x$ac_cv_func_hypotl" = x""yes; then :
25146   cat >>confdefs.h <<_ACEOF
25147 #define HAVE_HYPOTL 1
25148 _ACEOF
25149
25150 fi
25151 done
25152
25153   else
25154
25155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25156 $as_echo_n "checking for _hypotl declaration... " >&6; }
25157   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25158     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25159   $as_echo_n "(cached) " >&6
25160 else
25161
25162
25163       ac_ext=cpp
25164 ac_cpp='$CXXCPP $CPPFLAGS'
25165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25168
25169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25170 /* end confdefs.h.  */
25171 #include <math.h>
25172 int
25173 main ()
25174 {
25175  _hypotl(0, 0);
25176   ;
25177   return 0;
25178 }
25179 _ACEOF
25180 if ac_fn_cxx_try_compile "$LINENO"; then :
25181   glibcxx_cv_func__hypotl_use=yes
25182 else
25183   glibcxx_cv_func__hypotl_use=no
25184 fi
25185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25186       ac_ext=c
25187 ac_cpp='$CPP $CPPFLAGS'
25188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25191
25192
25193 fi
25194
25195   fi
25196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25197 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25198
25199     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25200       for ac_func in _hypotl
25201 do :
25202   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25203 if test "x$ac_cv_func__hypotl" = x""yes; then :
25204   cat >>confdefs.h <<_ACEOF
25205 #define HAVE__HYPOTL 1
25206 _ACEOF
25207
25208 fi
25209 done
25210
25211     fi
25212   fi
25213
25214
25215
25216
25217
25218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25219 $as_echo_n "checking for ldexpl declaration... " >&6; }
25220   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25221     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25222   $as_echo_n "(cached) " >&6
25223 else
25224
25225
25226       ac_ext=cpp
25227 ac_cpp='$CXXCPP $CPPFLAGS'
25228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25231
25232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25233 /* end confdefs.h.  */
25234 #include <math.h>
25235 int
25236 main ()
25237 {
25238  ldexpl(0, 0);
25239   ;
25240   return 0;
25241 }
25242 _ACEOF
25243 if ac_fn_cxx_try_compile "$LINENO"; then :
25244   glibcxx_cv_func_ldexpl_use=yes
25245 else
25246   glibcxx_cv_func_ldexpl_use=no
25247 fi
25248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25249       ac_ext=c
25250 ac_cpp='$CPP $CPPFLAGS'
25251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25254
25255
25256 fi
25257
25258   fi
25259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25260 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25261
25262   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25263     for ac_func in ldexpl
25264 do :
25265   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25266 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25267   cat >>confdefs.h <<_ACEOF
25268 #define HAVE_LDEXPL 1
25269 _ACEOF
25270
25271 fi
25272 done
25273
25274   else
25275
25276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25277 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25278   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25279     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25280   $as_echo_n "(cached) " >&6
25281 else
25282
25283
25284       ac_ext=cpp
25285 ac_cpp='$CXXCPP $CPPFLAGS'
25286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25289
25290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25291 /* end confdefs.h.  */
25292 #include <math.h>
25293 int
25294 main ()
25295 {
25296  _ldexpl(0, 0);
25297   ;
25298   return 0;
25299 }
25300 _ACEOF
25301 if ac_fn_cxx_try_compile "$LINENO"; then :
25302   glibcxx_cv_func__ldexpl_use=yes
25303 else
25304   glibcxx_cv_func__ldexpl_use=no
25305 fi
25306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25307       ac_ext=c
25308 ac_cpp='$CPP $CPPFLAGS'
25309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25312
25313
25314 fi
25315
25316   fi
25317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25318 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25319
25320     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25321       for ac_func in _ldexpl
25322 do :
25323   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25324 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25325   cat >>confdefs.h <<_ACEOF
25326 #define HAVE__LDEXPL 1
25327 _ACEOF
25328
25329 fi
25330 done
25331
25332     fi
25333   fi
25334
25335
25336
25337
25338
25339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25340 $as_echo_n "checking for logl declaration... " >&6; }
25341   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25342     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25343   $as_echo_n "(cached) " >&6
25344 else
25345
25346
25347       ac_ext=cpp
25348 ac_cpp='$CXXCPP $CPPFLAGS'
25349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25352
25353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25354 /* end confdefs.h.  */
25355 #include <math.h>
25356                       #ifdef HAVE_IEEEFP_H
25357                       #include <ieeefp.h>
25358                       #endif
25359
25360 int
25361 main ()
25362 {
25363  logl(0);
25364   ;
25365   return 0;
25366 }
25367 _ACEOF
25368 if ac_fn_cxx_try_compile "$LINENO"; then :
25369   glibcxx_cv_func_logl_use=yes
25370 else
25371   glibcxx_cv_func_logl_use=no
25372 fi
25373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25374       ac_ext=c
25375 ac_cpp='$CPP $CPPFLAGS'
25376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25379
25380
25381 fi
25382
25383   fi
25384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25385 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25386
25387   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25388     for ac_func in logl
25389 do :
25390   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25391 if test "x$ac_cv_func_logl" = x""yes; then :
25392   cat >>confdefs.h <<_ACEOF
25393 #define HAVE_LOGL 1
25394 _ACEOF
25395
25396 fi
25397 done
25398
25399   else
25400
25401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25402 $as_echo_n "checking for _logl declaration... " >&6; }
25403   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25404     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25405   $as_echo_n "(cached) " >&6
25406 else
25407
25408
25409       ac_ext=cpp
25410 ac_cpp='$CXXCPP $CPPFLAGS'
25411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25414
25415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25416 /* end confdefs.h.  */
25417 #include <math.h>
25418                       #ifdef HAVE_IEEEFP_H
25419                       #include <ieeefp.h>
25420                       #endif
25421
25422 int
25423 main ()
25424 {
25425  _logl(0);
25426   ;
25427   return 0;
25428 }
25429 _ACEOF
25430 if ac_fn_cxx_try_compile "$LINENO"; then :
25431   glibcxx_cv_func__logl_use=yes
25432 else
25433   glibcxx_cv_func__logl_use=no
25434 fi
25435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25436       ac_ext=c
25437 ac_cpp='$CPP $CPPFLAGS'
25438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25441
25442
25443 fi
25444
25445   fi
25446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25447 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25448
25449     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25450       for ac_func in _logl
25451 do :
25452   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25453 if test "x$ac_cv_func__logl" = x""yes; then :
25454   cat >>confdefs.h <<_ACEOF
25455 #define HAVE__LOGL 1
25456 _ACEOF
25457
25458 fi
25459 done
25460
25461     fi
25462   fi
25463
25464
25465
25466
25467
25468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25469 $as_echo_n "checking for log10l declaration... " >&6; }
25470   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25471     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25472   $as_echo_n "(cached) " >&6
25473 else
25474
25475
25476       ac_ext=cpp
25477 ac_cpp='$CXXCPP $CPPFLAGS'
25478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25481
25482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25483 /* end confdefs.h.  */
25484 #include <math.h>
25485                       #ifdef HAVE_IEEEFP_H
25486                       #include <ieeefp.h>
25487                       #endif
25488
25489 int
25490 main ()
25491 {
25492  log10l(0);
25493   ;
25494   return 0;
25495 }
25496 _ACEOF
25497 if ac_fn_cxx_try_compile "$LINENO"; then :
25498   glibcxx_cv_func_log10l_use=yes
25499 else
25500   glibcxx_cv_func_log10l_use=no
25501 fi
25502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25503       ac_ext=c
25504 ac_cpp='$CPP $CPPFLAGS'
25505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25508
25509
25510 fi
25511
25512   fi
25513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25514 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25515
25516   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25517     for ac_func in log10l
25518 do :
25519   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25520 if test "x$ac_cv_func_log10l" = x""yes; then :
25521   cat >>confdefs.h <<_ACEOF
25522 #define HAVE_LOG10L 1
25523 _ACEOF
25524
25525 fi
25526 done
25527
25528   else
25529
25530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25531 $as_echo_n "checking for _log10l declaration... " >&6; }
25532   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25533     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25534   $as_echo_n "(cached) " >&6
25535 else
25536
25537
25538       ac_ext=cpp
25539 ac_cpp='$CXXCPP $CPPFLAGS'
25540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25543
25544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25545 /* end confdefs.h.  */
25546 #include <math.h>
25547                       #ifdef HAVE_IEEEFP_H
25548                       #include <ieeefp.h>
25549                       #endif
25550
25551 int
25552 main ()
25553 {
25554  _log10l(0);
25555   ;
25556   return 0;
25557 }
25558 _ACEOF
25559 if ac_fn_cxx_try_compile "$LINENO"; then :
25560   glibcxx_cv_func__log10l_use=yes
25561 else
25562   glibcxx_cv_func__log10l_use=no
25563 fi
25564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25565       ac_ext=c
25566 ac_cpp='$CPP $CPPFLAGS'
25567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25570
25571
25572 fi
25573
25574   fi
25575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25576 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25577
25578     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25579       for ac_func in _log10l
25580 do :
25581   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25582 if test "x$ac_cv_func__log10l" = x""yes; then :
25583   cat >>confdefs.h <<_ACEOF
25584 #define HAVE__LOG10L 1
25585 _ACEOF
25586
25587 fi
25588 done
25589
25590     fi
25591   fi
25592
25593
25594
25595
25596
25597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25598 $as_echo_n "checking for modfl declaration... " >&6; }
25599   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25600     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25601   $as_echo_n "(cached) " >&6
25602 else
25603
25604
25605       ac_ext=cpp
25606 ac_cpp='$CXXCPP $CPPFLAGS'
25607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25610
25611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25612 /* end confdefs.h.  */
25613 #include <math.h>
25614 int
25615 main ()
25616 {
25617  modfl(0, 0);
25618   ;
25619   return 0;
25620 }
25621 _ACEOF
25622 if ac_fn_cxx_try_compile "$LINENO"; then :
25623   glibcxx_cv_func_modfl_use=yes
25624 else
25625   glibcxx_cv_func_modfl_use=no
25626 fi
25627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25628       ac_ext=c
25629 ac_cpp='$CPP $CPPFLAGS'
25630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25633
25634
25635 fi
25636
25637   fi
25638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25639 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25640
25641   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25642     for ac_func in modfl
25643 do :
25644   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25645 if test "x$ac_cv_func_modfl" = x""yes; then :
25646   cat >>confdefs.h <<_ACEOF
25647 #define HAVE_MODFL 1
25648 _ACEOF
25649
25650 fi
25651 done
25652
25653   else
25654
25655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25656 $as_echo_n "checking for _modfl declaration... " >&6; }
25657   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25658     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25659   $as_echo_n "(cached) " >&6
25660 else
25661
25662
25663       ac_ext=cpp
25664 ac_cpp='$CXXCPP $CPPFLAGS'
25665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25668
25669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25670 /* end confdefs.h.  */
25671 #include <math.h>
25672 int
25673 main ()
25674 {
25675  _modfl(0, 0);
25676   ;
25677   return 0;
25678 }
25679 _ACEOF
25680 if ac_fn_cxx_try_compile "$LINENO"; then :
25681   glibcxx_cv_func__modfl_use=yes
25682 else
25683   glibcxx_cv_func__modfl_use=no
25684 fi
25685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25686       ac_ext=c
25687 ac_cpp='$CPP $CPPFLAGS'
25688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25691
25692
25693 fi
25694
25695   fi
25696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25697 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25698
25699     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25700       for ac_func in _modfl
25701 do :
25702   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25703 if test "x$ac_cv_func__modfl" = x""yes; then :
25704   cat >>confdefs.h <<_ACEOF
25705 #define HAVE__MODFL 1
25706 _ACEOF
25707
25708 fi
25709 done
25710
25711     fi
25712   fi
25713
25714
25715
25716
25717
25718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25719 $as_echo_n "checking for powl declaration... " >&6; }
25720   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25721     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25722   $as_echo_n "(cached) " >&6
25723 else
25724
25725
25726       ac_ext=cpp
25727 ac_cpp='$CXXCPP $CPPFLAGS'
25728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25731
25732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25733 /* end confdefs.h.  */
25734 #include <math.h>
25735 int
25736 main ()
25737 {
25738  powl(0, 0);
25739   ;
25740   return 0;
25741 }
25742 _ACEOF
25743 if ac_fn_cxx_try_compile "$LINENO"; then :
25744   glibcxx_cv_func_powl_use=yes
25745 else
25746   glibcxx_cv_func_powl_use=no
25747 fi
25748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25749       ac_ext=c
25750 ac_cpp='$CPP $CPPFLAGS'
25751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25754
25755
25756 fi
25757
25758   fi
25759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25760 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25761
25762   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25763     for ac_func in powl
25764 do :
25765   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25766 if test "x$ac_cv_func_powl" = x""yes; then :
25767   cat >>confdefs.h <<_ACEOF
25768 #define HAVE_POWL 1
25769 _ACEOF
25770
25771 fi
25772 done
25773
25774   else
25775
25776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25777 $as_echo_n "checking for _powl declaration... " >&6; }
25778   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25779     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25780   $as_echo_n "(cached) " >&6
25781 else
25782
25783
25784       ac_ext=cpp
25785 ac_cpp='$CXXCPP $CPPFLAGS'
25786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25789
25790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25791 /* end confdefs.h.  */
25792 #include <math.h>
25793 int
25794 main ()
25795 {
25796  _powl(0, 0);
25797   ;
25798   return 0;
25799 }
25800 _ACEOF
25801 if ac_fn_cxx_try_compile "$LINENO"; then :
25802   glibcxx_cv_func__powl_use=yes
25803 else
25804   glibcxx_cv_func__powl_use=no
25805 fi
25806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25807       ac_ext=c
25808 ac_cpp='$CPP $CPPFLAGS'
25809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25812
25813
25814 fi
25815
25816   fi
25817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25818 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25819
25820     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25821       for ac_func in _powl
25822 do :
25823   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25824 if test "x$ac_cv_func__powl" = x""yes; then :
25825   cat >>confdefs.h <<_ACEOF
25826 #define HAVE__POWL 1
25827 _ACEOF
25828
25829 fi
25830 done
25831
25832     fi
25833   fi
25834
25835
25836
25837
25838
25839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25840 $as_echo_n "checking for sqrtl declaration... " >&6; }
25841   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25842     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25843   $as_echo_n "(cached) " >&6
25844 else
25845
25846
25847       ac_ext=cpp
25848 ac_cpp='$CXXCPP $CPPFLAGS'
25849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25852
25853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25854 /* end confdefs.h.  */
25855 #include <math.h>
25856                       #ifdef HAVE_IEEEFP_H
25857                       #include <ieeefp.h>
25858                       #endif
25859
25860 int
25861 main ()
25862 {
25863  sqrtl(0);
25864   ;
25865   return 0;
25866 }
25867 _ACEOF
25868 if ac_fn_cxx_try_compile "$LINENO"; then :
25869   glibcxx_cv_func_sqrtl_use=yes
25870 else
25871   glibcxx_cv_func_sqrtl_use=no
25872 fi
25873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25874       ac_ext=c
25875 ac_cpp='$CPP $CPPFLAGS'
25876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25879
25880
25881 fi
25882
25883   fi
25884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25885 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25886
25887   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25888     for ac_func in sqrtl
25889 do :
25890   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25891 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25892   cat >>confdefs.h <<_ACEOF
25893 #define HAVE_SQRTL 1
25894 _ACEOF
25895
25896 fi
25897 done
25898
25899   else
25900
25901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25902 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25903   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25904     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25905   $as_echo_n "(cached) " >&6
25906 else
25907
25908
25909       ac_ext=cpp
25910 ac_cpp='$CXXCPP $CPPFLAGS'
25911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25914
25915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25916 /* end confdefs.h.  */
25917 #include <math.h>
25918                       #ifdef HAVE_IEEEFP_H
25919                       #include <ieeefp.h>
25920                       #endif
25921
25922 int
25923 main ()
25924 {
25925  _sqrtl(0);
25926   ;
25927   return 0;
25928 }
25929 _ACEOF
25930 if ac_fn_cxx_try_compile "$LINENO"; then :
25931   glibcxx_cv_func__sqrtl_use=yes
25932 else
25933   glibcxx_cv_func__sqrtl_use=no
25934 fi
25935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25936       ac_ext=c
25937 ac_cpp='$CPP $CPPFLAGS'
25938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25941
25942
25943 fi
25944
25945   fi
25946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25947 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25948
25949     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25950       for ac_func in _sqrtl
25951 do :
25952   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25953 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25954   cat >>confdefs.h <<_ACEOF
25955 #define HAVE__SQRTL 1
25956 _ACEOF
25957
25958 fi
25959 done
25960
25961     fi
25962   fi
25963
25964
25965
25966
25967
25968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25969 $as_echo_n "checking for sincosl declaration... " >&6; }
25970   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25971     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25972   $as_echo_n "(cached) " >&6
25973 else
25974
25975
25976       ac_ext=cpp
25977 ac_cpp='$CXXCPP $CPPFLAGS'
25978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25981
25982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25983 /* end confdefs.h.  */
25984 #include <math.h>
25985 int
25986 main ()
25987 {
25988  sincosl(0, 0, 0);
25989   ;
25990   return 0;
25991 }
25992 _ACEOF
25993 if ac_fn_cxx_try_compile "$LINENO"; then :
25994   glibcxx_cv_func_sincosl_use=yes
25995 else
25996   glibcxx_cv_func_sincosl_use=no
25997 fi
25998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25999       ac_ext=c
26000 ac_cpp='$CPP $CPPFLAGS'
26001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26004
26005
26006 fi
26007
26008   fi
26009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26010 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26011
26012   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26013     for ac_func in sincosl
26014 do :
26015   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26016 if test "x$ac_cv_func_sincosl" = x""yes; then :
26017   cat >>confdefs.h <<_ACEOF
26018 #define HAVE_SINCOSL 1
26019 _ACEOF
26020
26021 fi
26022 done
26023
26024   else
26025
26026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26027 $as_echo_n "checking for _sincosl declaration... " >&6; }
26028   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26029     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26030   $as_echo_n "(cached) " >&6
26031 else
26032
26033
26034       ac_ext=cpp
26035 ac_cpp='$CXXCPP $CPPFLAGS'
26036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26039
26040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26041 /* end confdefs.h.  */
26042 #include <math.h>
26043 int
26044 main ()
26045 {
26046  _sincosl(0, 0, 0);
26047   ;
26048   return 0;
26049 }
26050 _ACEOF
26051 if ac_fn_cxx_try_compile "$LINENO"; then :
26052   glibcxx_cv_func__sincosl_use=yes
26053 else
26054   glibcxx_cv_func__sincosl_use=no
26055 fi
26056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26057       ac_ext=c
26058 ac_cpp='$CPP $CPPFLAGS'
26059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26062
26063
26064 fi
26065
26066   fi
26067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26068 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26069
26070     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26071       for ac_func in _sincosl
26072 do :
26073   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26074 if test "x$ac_cv_func__sincosl" = x""yes; then :
26075   cat >>confdefs.h <<_ACEOF
26076 #define HAVE__SINCOSL 1
26077 _ACEOF
26078
26079 fi
26080 done
26081
26082     fi
26083   fi
26084
26085
26086
26087
26088
26089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26090 $as_echo_n "checking for finitel declaration... " >&6; }
26091   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26092     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26093   $as_echo_n "(cached) " >&6
26094 else
26095
26096
26097       ac_ext=cpp
26098 ac_cpp='$CXXCPP $CPPFLAGS'
26099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26102
26103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26104 /* end confdefs.h.  */
26105 #include <math.h>
26106                       #ifdef HAVE_IEEEFP_H
26107                       #include <ieeefp.h>
26108                       #endif
26109
26110 int
26111 main ()
26112 {
26113  finitel(0);
26114   ;
26115   return 0;
26116 }
26117 _ACEOF
26118 if ac_fn_cxx_try_compile "$LINENO"; then :
26119   glibcxx_cv_func_finitel_use=yes
26120 else
26121   glibcxx_cv_func_finitel_use=no
26122 fi
26123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26124       ac_ext=c
26125 ac_cpp='$CPP $CPPFLAGS'
26126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26129
26130
26131 fi
26132
26133   fi
26134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26135 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26136
26137   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26138     for ac_func in finitel
26139 do :
26140   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26141 if test "x$ac_cv_func_finitel" = x""yes; then :
26142   cat >>confdefs.h <<_ACEOF
26143 #define HAVE_FINITEL 1
26144 _ACEOF
26145
26146 fi
26147 done
26148
26149   else
26150
26151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26152 $as_echo_n "checking for _finitel declaration... " >&6; }
26153   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26154     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26155   $as_echo_n "(cached) " >&6
26156 else
26157
26158
26159       ac_ext=cpp
26160 ac_cpp='$CXXCPP $CPPFLAGS'
26161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26164
26165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26166 /* end confdefs.h.  */
26167 #include <math.h>
26168                       #ifdef HAVE_IEEEFP_H
26169                       #include <ieeefp.h>
26170                       #endif
26171
26172 int
26173 main ()
26174 {
26175  _finitel(0);
26176   ;
26177   return 0;
26178 }
26179 _ACEOF
26180 if ac_fn_cxx_try_compile "$LINENO"; then :
26181   glibcxx_cv_func__finitel_use=yes
26182 else
26183   glibcxx_cv_func__finitel_use=no
26184 fi
26185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26186       ac_ext=c
26187 ac_cpp='$CPP $CPPFLAGS'
26188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26191
26192
26193 fi
26194
26195   fi
26196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26197 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26198
26199     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26200       for ac_func in _finitel
26201 do :
26202   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26203 if test "x$ac_cv_func__finitel" = x""yes; then :
26204   cat >>confdefs.h <<_ACEOF
26205 #define HAVE__FINITEL 1
26206 _ACEOF
26207
26208 fi
26209 done
26210
26211     fi
26212   fi
26213
26214
26215
26216
26217   LIBS="$ac_save_LIBS"
26218   CXXFLAGS="$ac_save_CXXFLAGS"
26219
26220
26221   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26222   ac_save_CXXFLAGS="$CXXFLAGS"
26223   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26224
26225
26226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26227 $as_echo_n "checking for strtold declaration... " >&6; }
26228   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26229     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26230   $as_echo_n "(cached) " >&6
26231 else
26232
26233
26234       ac_ext=cpp
26235 ac_cpp='$CXXCPP $CPPFLAGS'
26236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26239
26240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26241 /* end confdefs.h.  */
26242 #include <stdlib.h>
26243 int
26244 main ()
26245 {
26246  strtold(0, 0);
26247   ;
26248   return 0;
26249 }
26250 _ACEOF
26251 if ac_fn_cxx_try_compile "$LINENO"; then :
26252   glibcxx_cv_func_strtold_use=yes
26253 else
26254   glibcxx_cv_func_strtold_use=no
26255 fi
26256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26257       ac_ext=c
26258 ac_cpp='$CPP $CPPFLAGS'
26259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26262
26263
26264 fi
26265
26266   fi
26267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26268 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26269   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26270     for ac_func in strtold
26271 do :
26272   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26273 if test "x$ac_cv_func_strtold" = x""yes; then :
26274   cat >>confdefs.h <<_ACEOF
26275 #define HAVE_STRTOLD 1
26276 _ACEOF
26277
26278 fi
26279 done
26280
26281   fi
26282
26283
26284
26285
26286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26287 $as_echo_n "checking for strtof declaration... " >&6; }
26288   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26289     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26290   $as_echo_n "(cached) " >&6
26291 else
26292
26293
26294       ac_ext=cpp
26295 ac_cpp='$CXXCPP $CPPFLAGS'
26296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26299
26300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26301 /* end confdefs.h.  */
26302 #include <stdlib.h>
26303 int
26304 main ()
26305 {
26306  strtof(0, 0);
26307   ;
26308   return 0;
26309 }
26310 _ACEOF
26311 if ac_fn_cxx_try_compile "$LINENO"; then :
26312   glibcxx_cv_func_strtof_use=yes
26313 else
26314   glibcxx_cv_func_strtof_use=no
26315 fi
26316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26317       ac_ext=c
26318 ac_cpp='$CPP $CPPFLAGS'
26319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26322
26323
26324 fi
26325
26326   fi
26327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26328 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26329   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26330     for ac_func in strtof
26331 do :
26332   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26333 if test "x$ac_cv_func_strtof" = x""yes; then :
26334   cat >>confdefs.h <<_ACEOF
26335 #define HAVE_STRTOF 1
26336 _ACEOF
26337
26338 fi
26339 done
26340
26341   fi
26342
26343
26344
26345
26346   CXXFLAGS="$ac_save_CXXFLAGS"
26347
26348
26349   # For /dev/random and /dev/urandom for TR1.
26350
26351
26352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26353 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26354   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26355   $as_echo_n "(cached) " >&6
26356 else
26357
26358     if test -r /dev/random && test -r /dev/urandom; then
26359       glibcxx_cv_random_tr1=yes;
26360     else
26361       glibcxx_cv_random_tr1=no;
26362     fi
26363
26364 fi
26365
26366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26367 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26368
26369   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26370
26371 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26372
26373   fi
26374
26375
26376
26377   # For TLS support.
26378
26379
26380    # Check whether --enable-tls was given.
26381 if test "${enable_tls+set}" = set; then :
26382   enableval=$enable_tls;
26383       case "$enableval" in
26384        yes|no) ;;
26385        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26386       esac
26387
26388 else
26389   enable_tls=yes
26390 fi
26391
26392
26393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26394 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26395 if test "${gcc_cv_have_tls+set}" = set; then :
26396   $as_echo_n "(cached) " >&6
26397 else
26398
26399     if test "$cross_compiling" = yes; then :
26400                 if test x$gcc_no_link = xyes; then
26401   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26402 fi
26403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26404 /* end confdefs.h.  */
26405 __thread int a; int b; int main() { return a = b; }
26406 _ACEOF
26407 if ac_fn_c_try_link "$LINENO"; then :
26408   chktls_save_LDFLAGS="$LDFLAGS"
26409                           case $host in
26410             *-*-linux*)
26411               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26412               ;;
26413           esac
26414           chktls_save_CFLAGS="$CFLAGS"
26415           CFLAGS="-fPIC $CFLAGS"
26416                   if test x$gcc_no_link = xyes; then
26417   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26418 fi
26419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26420 /* end confdefs.h.  */
26421 int f() { return 0; }
26422 _ACEOF
26423 if ac_fn_c_try_link "$LINENO"; then :
26424   if test x$gcc_no_link = xyes; then
26425   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26426 fi
26427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26428 /* end confdefs.h.  */
26429 __thread int a; int b; int f() { return a = b; }
26430 _ACEOF
26431 if ac_fn_c_try_link "$LINENO"; then :
26432   gcc_cv_have_tls=yes
26433 else
26434   gcc_cv_have_tls=no
26435 fi
26436 rm -f core conftest.err conftest.$ac_objext \
26437     conftest$ac_exeext conftest.$ac_ext
26438 else
26439   gcc_cv_have_tls=yes
26440 fi
26441 rm -f core conftest.err conftest.$ac_objext \
26442     conftest$ac_exeext conftest.$ac_ext
26443           CFLAGS="$chktls_save_CFLAGS"
26444           LDFLAGS="$chktls_save_LDFLAGS"
26445 else
26446   gcc_cv_have_tls=no
26447 fi
26448 rm -f core conftest.err conftest.$ac_objext \
26449     conftest$ac_exeext conftest.$ac_ext
26450
26451
26452 else
26453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26454 /* end confdefs.h.  */
26455 __thread int a; int b; int main() { return a = b; }
26456 _ACEOF
26457 if ac_fn_c_try_run "$LINENO"; then :
26458                       chktls_save_LDFLAGS="$LDFLAGS"
26459       LDFLAGS="-static $LDFLAGS"
26460       if test x$gcc_no_link = xyes; then
26461   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26462 fi
26463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26464 /* end confdefs.h.  */
26465 int main() { return 0; }
26466 _ACEOF
26467 if ac_fn_c_try_link "$LINENO"; then :
26468   if test "$cross_compiling" = yes; then :
26469   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26471 as_fn_error "cannot run test program while cross compiling
26472 See \`config.log' for more details." "$LINENO" 5; }
26473 else
26474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26475 /* end confdefs.h.  */
26476 __thread int a; int b; int main() { return a = b; }
26477 _ACEOF
26478 if ac_fn_c_try_run "$LINENO"; then :
26479   gcc_cv_have_tls=yes
26480 else
26481   gcc_cv_have_tls=no
26482 fi
26483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26484   conftest.$ac_objext conftest.beam conftest.$ac_ext
26485 fi
26486
26487 else
26488   gcc_cv_have_tls=yes
26489 fi
26490 rm -f core conftest.err conftest.$ac_objext \
26491     conftest$ac_exeext conftest.$ac_ext
26492       LDFLAGS="$chktls_save_LDFLAGS"
26493       if test $gcc_cv_have_tls = yes; then
26494                                                 chktls_save_CFLAGS="$CFLAGS"
26495         thread_CFLAGS=failed
26496         for flag in '' '-pthread' '-lpthread'; do
26497           CFLAGS="$flag $chktls_save_CFLAGS"
26498           if test x$gcc_no_link = xyes; then
26499   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26500 fi
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h.  */
26503 #include <pthread.h>
26504                 void *g(void *d) { return NULL; }
26505 int
26506 main ()
26507 {
26508 pthread_t t; pthread_create(&t,NULL,g,NULL);
26509   ;
26510   return 0;
26511 }
26512 _ACEOF
26513 if ac_fn_c_try_link "$LINENO"; then :
26514   thread_CFLAGS="$flag"
26515 fi
26516 rm -f core conftest.err conftest.$ac_objext \
26517     conftest$ac_exeext conftest.$ac_ext
26518           if test "X$thread_CFLAGS" != Xfailed; then
26519             break
26520           fi
26521         done
26522         CFLAGS="$chktls_save_CFLAGS"
26523         if test "X$thread_CFLAGS" != Xfailed; then
26524           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26525                                                   if test "$cross_compiling" = yes; then :
26526   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26528 as_fn_error "cannot run test program while cross compiling
26529 See \`config.log' for more details." "$LINENO" 5; }
26530 else
26531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26532 /* end confdefs.h.  */
26533 #include <pthread.h>
26534                 __thread int a;
26535                 static int *volatile a_in_other_thread;
26536                 static void *
26537                 thread_func (void *arg)
26538                 {
26539                   a_in_other_thread = &a;
26540                   return (void *)0;
26541                 }
26542 int
26543 main ()
26544 {
26545 pthread_t thread;
26546                 void *thread_retval;
26547                 int *volatile a_in_main_thread;
26548                 a_in_main_thread = &a;
26549                 if (pthread_create (&thread, (pthread_attr_t *)0,
26550                                     thread_func, (void *)0))
26551                   return 0;
26552                 if (pthread_join (thread, &thread_retval))
26553                   return 0;
26554                 return (a_in_other_thread == a_in_main_thread);
26555   ;
26556   return 0;
26557 }
26558 _ACEOF
26559 if ac_fn_c_try_run "$LINENO"; then :
26560   gcc_cv_have_tls=yes
26561 else
26562   gcc_cv_have_tls=no
26563 fi
26564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26565   conftest.$ac_objext conftest.beam conftest.$ac_ext
26566 fi
26567
26568           CFLAGS="$chktls_save_CFLAGS"
26569         fi
26570       fi
26571 else
26572   gcc_cv_have_tls=no
26573 fi
26574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26575   conftest.$ac_objext conftest.beam conftest.$ac_ext
26576 fi
26577
26578 fi
26579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26580 $as_echo "$gcc_cv_have_tls" >&6; }
26581   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26582
26583 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26584
26585   fi
26586
26587   # For iconv support.
26588
26589       if test "X$prefix" = "XNONE"; then
26590     acl_final_prefix="$ac_default_prefix"
26591   else
26592     acl_final_prefix="$prefix"
26593   fi
26594   if test "X$exec_prefix" = "XNONE"; then
26595     acl_final_exec_prefix='${prefix}'
26596   else
26597     acl_final_exec_prefix="$exec_prefix"
26598   fi
26599   acl_save_prefix="$prefix"
26600   prefix="$acl_final_prefix"
26601   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26602   prefix="$acl_save_prefix"
26603
26604
26605 # Check whether --with-gnu-ld was given.
26606 if test "${with_gnu_ld+set}" = set; then :
26607   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26608 else
26609   with_gnu_ld=no
26610 fi
26611
26612 # Prepare PATH_SEPARATOR.
26613 # The user is always right.
26614 if test "${PATH_SEPARATOR+set}" != set; then
26615   echo "#! /bin/sh" >conf$$.sh
26616   echo  "exit 0"   >>conf$$.sh
26617   chmod +x conf$$.sh
26618   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26619     PATH_SEPARATOR=';'
26620   else
26621     PATH_SEPARATOR=:
26622   fi
26623   rm -f conf$$.sh
26624 fi
26625 ac_prog=ld
26626 if test "$GCC" = yes; then
26627   # Check if gcc -print-prog-name=ld gives a path.
26628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26629 $as_echo_n "checking for ld used by GCC... " >&6; }
26630   case $host in
26631   *-*-mingw*)
26632     # gcc leaves a trailing carriage return which upsets mingw
26633     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26634   *)
26635     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26636   esac
26637   case $ac_prog in
26638     # Accept absolute paths.
26639     [\\/]* | [A-Za-z]:[\\/]*)
26640       re_direlt='/[^/][^/]*/\.\./'
26641       # Canonicalize the path of ld
26642       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26643       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26644         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26645       done
26646       test -z "$LD" && LD="$ac_prog"
26647       ;;
26648   "")
26649     # If it fails, then pretend we aren't using GCC.
26650     ac_prog=ld
26651     ;;
26652   *)
26653     # If it is relative, then search for the first ld in PATH.
26654     with_gnu_ld=unknown
26655     ;;
26656   esac
26657 elif test "$with_gnu_ld" = yes; then
26658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26659 $as_echo_n "checking for GNU ld... " >&6; }
26660 else
26661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26662 $as_echo_n "checking for non-GNU ld... " >&6; }
26663 fi
26664 if test "${acl_cv_path_LD+set}" = set; then :
26665   $as_echo_n "(cached) " >&6
26666 else
26667   if test -z "$LD"; then
26668   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26669   for ac_dir in $PATH; do
26670     test -z "$ac_dir" && ac_dir=.
26671     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26672       acl_cv_path_LD="$ac_dir/$ac_prog"
26673       # Check to see if the program is GNU ld.  I'd rather use --version,
26674       # but apparently some GNU ld's only accept -v.
26675       # Break only if it was the GNU/non-GNU ld that we prefer.
26676       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26677         test "$with_gnu_ld" != no && break
26678       else
26679         test "$with_gnu_ld" != yes && break
26680       fi
26681     fi
26682   done
26683   IFS="$ac_save_ifs"
26684 else
26685   acl_cv_path_LD="$LD" # Let the user override the test with a path.
26686 fi
26687 fi
26688
26689 LD="$acl_cv_path_LD"
26690 if test -n "$LD"; then
26691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26692 $as_echo "$LD" >&6; }
26693 else
26694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26695 $as_echo "no" >&6; }
26696 fi
26697 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26699 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26700 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26701   $as_echo_n "(cached) " >&6
26702 else
26703   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26704 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26705   acl_cv_prog_gnu_ld=yes
26706 else
26707   acl_cv_prog_gnu_ld=no
26708 fi
26709 fi
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26711 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26712 with_gnu_ld=$acl_cv_prog_gnu_ld
26713
26714
26715
26716                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26717 $as_echo_n "checking for shared library run path origin... " >&6; }
26718 if test "${acl_cv_rpath+set}" = set; then :
26719   $as_echo_n "(cached) " >&6
26720 else
26721
26722     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26723     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26724     . ./conftest.sh
26725     rm -f ./conftest.sh
26726     acl_cv_rpath=done
26727
26728 fi
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26730 $as_echo "$acl_cv_rpath" >&6; }
26731   wl="$acl_cv_wl"
26732   libext="$acl_cv_libext"
26733   shlibext="$acl_cv_shlibext"
26734   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26735   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26736   hardcode_direct="$acl_cv_hardcode_direct"
26737   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26738     # Check whether --enable-rpath was given.
26739 if test "${enable_rpath+set}" = set; then :
26740   enableval=$enable_rpath; :
26741 else
26742   enable_rpath=yes
26743 fi
26744
26745
26746
26747
26748
26749
26750
26751
26752     use_additional=yes
26753
26754   acl_save_prefix="$prefix"
26755   prefix="$acl_final_prefix"
26756   acl_save_exec_prefix="$exec_prefix"
26757   exec_prefix="$acl_final_exec_prefix"
26758
26759     eval additional_includedir=\"$includedir\"
26760     eval additional_libdir=\"$libdir\"
26761
26762   exec_prefix="$acl_save_exec_prefix"
26763   prefix="$acl_save_prefix"
26764
26765
26766 # Check whether --with-libiconv-prefix was given.
26767 if test "${with_libiconv_prefix+set}" = set; then :
26768   withval=$with_libiconv_prefix;
26769     if test "X$withval" = "Xno"; then
26770       use_additional=no
26771     else
26772       if test "X$withval" = "X"; then
26773
26774   acl_save_prefix="$prefix"
26775   prefix="$acl_final_prefix"
26776   acl_save_exec_prefix="$exec_prefix"
26777   exec_prefix="$acl_final_exec_prefix"
26778
26779           eval additional_includedir=\"$includedir\"
26780           eval additional_libdir=\"$libdir\"
26781
26782   exec_prefix="$acl_save_exec_prefix"
26783   prefix="$acl_save_prefix"
26784
26785       else
26786         additional_includedir="$withval/include"
26787         additional_libdir="$withval/lib"
26788       fi
26789     fi
26790
26791 fi
26792
26793       LIBICONV=
26794   LTLIBICONV=
26795   INCICONV=
26796   rpathdirs=
26797   ltrpathdirs=
26798   names_already_handled=
26799   names_next_round='iconv '
26800   while test -n "$names_next_round"; do
26801     names_this_round="$names_next_round"
26802     names_next_round=
26803     for name in $names_this_round; do
26804       already_handled=
26805       for n in $names_already_handled; do
26806         if test "$n" = "$name"; then
26807           already_handled=yes
26808           break
26809         fi
26810       done
26811       if test -z "$already_handled"; then
26812         names_already_handled="$names_already_handled $name"
26813                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26814         eval value=\"\$HAVE_LIB$uppername\"
26815         if test -n "$value"; then
26816           if test "$value" = yes; then
26817             eval value=\"\$LIB$uppername\"
26818             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26819             eval value=\"\$LTLIB$uppername\"
26820             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26821           else
26822                                     :
26823           fi
26824         else
26825                               found_dir=
26826           found_la=
26827           found_so=
26828           found_a=
26829           if test $use_additional = yes; then
26830             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26831               found_dir="$additional_libdir"
26832               found_so="$additional_libdir/lib$name.$shlibext"
26833               if test -f "$additional_libdir/lib$name.la"; then
26834                 found_la="$additional_libdir/lib$name.la"
26835               fi
26836             else
26837               if test -f "$additional_libdir/lib$name.$libext"; then
26838                 found_dir="$additional_libdir"
26839                 found_a="$additional_libdir/lib$name.$libext"
26840                 if test -f "$additional_libdir/lib$name.la"; then
26841                   found_la="$additional_libdir/lib$name.la"
26842                 fi
26843               fi
26844             fi
26845           fi
26846           if test "X$found_dir" = "X"; then
26847             for x in $LDFLAGS $LTLIBICONV; do
26848
26849   acl_save_prefix="$prefix"
26850   prefix="$acl_final_prefix"
26851   acl_save_exec_prefix="$exec_prefix"
26852   exec_prefix="$acl_final_exec_prefix"
26853   eval x=\"$x\"
26854   exec_prefix="$acl_save_exec_prefix"
26855   prefix="$acl_save_prefix"
26856
26857               case "$x" in
26858                 -L*)
26859                   dir=`echo "X$x" | sed -e 's/^X-L//'`
26860                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26861                     found_dir="$dir"
26862                     found_so="$dir/lib$name.$shlibext"
26863                     if test -f "$dir/lib$name.la"; then
26864                       found_la="$dir/lib$name.la"
26865                     fi
26866                   else
26867                     if test -f "$dir/lib$name.$libext"; then
26868                       found_dir="$dir"
26869                       found_a="$dir/lib$name.$libext"
26870                       if test -f "$dir/lib$name.la"; then
26871                         found_la="$dir/lib$name.la"
26872                       fi
26873                     fi
26874                   fi
26875                   ;;
26876               esac
26877               if test "X$found_dir" != "X"; then
26878                 break
26879               fi
26880             done
26881           fi
26882           if test "X$found_dir" != "X"; then
26883                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26884             if test "X$found_so" != "X"; then
26885                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26886                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26887               else
26888                                                                                 haveit=
26889                 for x in $ltrpathdirs; do
26890                   if test "X$x" = "X$found_dir"; then
26891                     haveit=yes
26892                     break
26893                   fi
26894                 done
26895                 if test -z "$haveit"; then
26896                   ltrpathdirs="$ltrpathdirs $found_dir"
26897                 fi
26898                                 if test "$hardcode_direct" = yes; then
26899                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26900                 else
26901                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26902                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26903                                                             haveit=
26904                     for x in $rpathdirs; do
26905                       if test "X$x" = "X$found_dir"; then
26906                         haveit=yes
26907                         break
26908                       fi
26909                     done
26910                     if test -z "$haveit"; then
26911                       rpathdirs="$rpathdirs $found_dir"
26912                     fi
26913                   else
26914                                                                                 haveit=
26915                     for x in $LDFLAGS $LIBICONV; do
26916
26917   acl_save_prefix="$prefix"
26918   prefix="$acl_final_prefix"
26919   acl_save_exec_prefix="$exec_prefix"
26920   exec_prefix="$acl_final_exec_prefix"
26921   eval x=\"$x\"
26922   exec_prefix="$acl_save_exec_prefix"
26923   prefix="$acl_save_prefix"
26924
26925                       if test "X$x" = "X-L$found_dir"; then
26926                         haveit=yes
26927                         break
26928                       fi
26929                     done
26930                     if test -z "$haveit"; then
26931                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26932                     fi
26933                     if test "$hardcode_minus_L" != no; then
26934                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26935                     else
26936                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26937                     fi
26938                   fi
26939                 fi
26940               fi
26941             else
26942               if test "X$found_a" != "X"; then
26943                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26944               else
26945                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26946               fi
26947             fi
26948                         additional_includedir=
26949             case "$found_dir" in
26950               */lib | */lib/)
26951                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26952                 additional_includedir="$basedir/include"
26953                 ;;
26954             esac
26955             if test "X$additional_includedir" != "X"; then
26956                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26957                 haveit=
26958                 if test "X$additional_includedir" = "X/usr/local/include"; then
26959                   if test -n "$GCC"; then
26960                     case $host_os in
26961                       linux*) haveit=yes;;
26962                     esac
26963                   fi
26964                 fi
26965                 if test -z "$haveit"; then
26966                   for x in $CPPFLAGS $INCICONV; do
26967
26968   acl_save_prefix="$prefix"
26969   prefix="$acl_final_prefix"
26970   acl_save_exec_prefix="$exec_prefix"
26971   exec_prefix="$acl_final_exec_prefix"
26972   eval x=\"$x\"
26973   exec_prefix="$acl_save_exec_prefix"
26974   prefix="$acl_save_prefix"
26975
26976                     if test "X$x" = "X-I$additional_includedir"; then
26977                       haveit=yes
26978                       break
26979                     fi
26980                   done
26981                   if test -z "$haveit"; then
26982                     if test -d "$additional_includedir"; then
26983                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26984                     fi
26985                   fi
26986                 fi
26987               fi
26988             fi
26989                         if test -n "$found_la"; then
26990                                                         save_libdir="$libdir"
26991               case "$found_la" in
26992                 */* | *\\*) . "$found_la" ;;
26993                 *) . "./$found_la" ;;
26994               esac
26995               libdir="$save_libdir"
26996                             for dep in $dependency_libs; do
26997                 case "$dep" in
26998                   -L*)
26999                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27000                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
27001                       haveit=
27002                       if test "X$additional_libdir" = "X/usr/local/lib"; then
27003                         if test -n "$GCC"; then
27004                           case $host_os in
27005                             linux*) haveit=yes;;
27006                           esac
27007                         fi
27008                       fi
27009                       if test -z "$haveit"; then
27010                         haveit=
27011                         for x in $LDFLAGS $LIBICONV; do
27012
27013   acl_save_prefix="$prefix"
27014   prefix="$acl_final_prefix"
27015   acl_save_exec_prefix="$exec_prefix"
27016   exec_prefix="$acl_final_exec_prefix"
27017   eval x=\"$x\"
27018   exec_prefix="$acl_save_exec_prefix"
27019   prefix="$acl_save_prefix"
27020
27021                           if test "X$x" = "X-L$additional_libdir"; then
27022                             haveit=yes
27023                             break
27024                           fi
27025                         done
27026                         if test -z "$haveit"; then
27027                           if test -d "$additional_libdir"; then
27028                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27029                           fi
27030                         fi
27031                         haveit=
27032                         for x in $LDFLAGS $LTLIBICONV; do
27033
27034   acl_save_prefix="$prefix"
27035   prefix="$acl_final_prefix"
27036   acl_save_exec_prefix="$exec_prefix"
27037   exec_prefix="$acl_final_exec_prefix"
27038   eval x=\"$x\"
27039   exec_prefix="$acl_save_exec_prefix"
27040   prefix="$acl_save_prefix"
27041
27042                           if test "X$x" = "X-L$additional_libdir"; then
27043                             haveit=yes
27044                             break
27045                           fi
27046                         done
27047                         if test -z "$haveit"; then
27048                           if test -d "$additional_libdir"; then
27049                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27050                           fi
27051                         fi
27052                       fi
27053                     fi
27054                     ;;
27055                   -R*)
27056                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
27057                     if test "$enable_rpath" != no; then
27058                                                                   haveit=
27059                       for x in $rpathdirs; do
27060                         if test "X$x" = "X$dir"; then
27061                           haveit=yes
27062                           break
27063                         fi
27064                       done
27065                       if test -z "$haveit"; then
27066                         rpathdirs="$rpathdirs $dir"
27067                       fi
27068                                                                   haveit=
27069                       for x in $ltrpathdirs; do
27070                         if test "X$x" = "X$dir"; then
27071                           haveit=yes
27072                           break
27073                         fi
27074                       done
27075                       if test -z "$haveit"; then
27076                         ltrpathdirs="$ltrpathdirs $dir"
27077                       fi
27078                     fi
27079                     ;;
27080                   -l*)
27081                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27082                     ;;
27083                   *.la)
27084                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27085                     ;;
27086                   *)
27087                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27088                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27089                     ;;
27090                 esac
27091               done
27092             fi
27093           else
27094                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27095             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27096           fi
27097         fi
27098       fi
27099     done
27100   done
27101   if test "X$rpathdirs" != "X"; then
27102     if test -n "$hardcode_libdir_separator"; then
27103                         alldirs=
27104       for found_dir in $rpathdirs; do
27105         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27106       done
27107             acl_save_libdir="$libdir"
27108       libdir="$alldirs"
27109       eval flag=\"$hardcode_libdir_flag_spec\"
27110       libdir="$acl_save_libdir"
27111       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27112     else
27113             for found_dir in $rpathdirs; do
27114         acl_save_libdir="$libdir"
27115         libdir="$found_dir"
27116         eval flag=\"$hardcode_libdir_flag_spec\"
27117         libdir="$acl_save_libdir"
27118         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27119       done
27120     fi
27121   fi
27122   if test "X$ltrpathdirs" != "X"; then
27123             for found_dir in $ltrpathdirs; do
27124       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27125     done
27126   fi
27127
27128
27129
27130
27131
27132
27133
27134           am_save_CPPFLAGS="$CPPFLAGS"
27135
27136   for element in $INCICONV; do
27137     haveit=
27138     for x in $CPPFLAGS; do
27139
27140   acl_save_prefix="$prefix"
27141   prefix="$acl_final_prefix"
27142   acl_save_exec_prefix="$exec_prefix"
27143   exec_prefix="$acl_final_exec_prefix"
27144   eval x=\"$x\"
27145   exec_prefix="$acl_save_exec_prefix"
27146   prefix="$acl_save_prefix"
27147
27148       if test "X$x" = "X$element"; then
27149         haveit=yes
27150         break
27151       fi
27152     done
27153     if test -z "$haveit"; then
27154       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27155     fi
27156   done
27157
27158
27159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27160 $as_echo_n "checking for iconv... " >&6; }
27161 if test "${am_cv_func_iconv+set}" = set; then :
27162   $as_echo_n "(cached) " >&6
27163 else
27164
27165     am_cv_func_iconv="no, consider installing GNU libiconv"
27166     am_cv_lib_iconv=no
27167     if test x$gcc_no_link = xyes; then
27168   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27169 fi
27170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27171 /* end confdefs.h.  */
27172 #include <stdlib.h>
27173 #include <iconv.h>
27174 int
27175 main ()
27176 {
27177 iconv_t cd = iconv_open("","");
27178        iconv(cd,NULL,NULL,NULL,NULL);
27179        iconv_close(cd);
27180   ;
27181   return 0;
27182 }
27183 _ACEOF
27184 if ac_fn_c_try_link "$LINENO"; then :
27185   am_cv_func_iconv=yes
27186 fi
27187 rm -f core conftest.err conftest.$ac_objext \
27188     conftest$ac_exeext conftest.$ac_ext
27189     if test "$am_cv_func_iconv" != yes; then
27190       am_save_LIBS="$LIBS"
27191       LIBS="$LIBS $LIBICONV"
27192       if test x$gcc_no_link = xyes; then
27193   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27194 fi
27195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27196 /* end confdefs.h.  */
27197 #include <stdlib.h>
27198 #include <iconv.h>
27199 int
27200 main ()
27201 {
27202 iconv_t cd = iconv_open("","");
27203          iconv(cd,NULL,NULL,NULL,NULL);
27204          iconv_close(cd);
27205   ;
27206   return 0;
27207 }
27208 _ACEOF
27209 if ac_fn_c_try_link "$LINENO"; then :
27210   am_cv_lib_iconv=yes
27211         am_cv_func_iconv=yes
27212 fi
27213 rm -f core conftest.err conftest.$ac_objext \
27214     conftest$ac_exeext conftest.$ac_ext
27215       LIBS="$am_save_LIBS"
27216     fi
27217
27218 fi
27219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27220 $as_echo "$am_cv_func_iconv" >&6; }
27221   if test "$am_cv_func_iconv" = yes; then
27222
27223 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27224
27225   fi
27226   if test "$am_cv_lib_iconv" = yes; then
27227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27228 $as_echo_n "checking how to link with libiconv... " >&6; }
27229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27230 $as_echo "$LIBICONV" >&6; }
27231   else
27232             CPPFLAGS="$am_save_CPPFLAGS"
27233     LIBICONV=
27234     LTLIBICONV=
27235   fi
27236
27237
27238
27239   if test "$am_cv_func_iconv" = yes; then
27240     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27241 $as_echo_n "checking for iconv declaration... " >&6; }
27242     if test "${am_cv_proto_iconv+set}" = set; then :
27243   $as_echo_n "(cached) " >&6
27244 else
27245
27246       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27247 /* end confdefs.h.  */
27248
27249 #include <stdlib.h>
27250 #include <iconv.h>
27251 extern
27252 #ifdef __cplusplus
27253 "C"
27254 #endif
27255 #if defined(__STDC__) || defined(__cplusplus)
27256 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27257 #else
27258 size_t iconv();
27259 #endif
27260
27261 int
27262 main ()
27263 {
27264
27265   ;
27266   return 0;
27267 }
27268 _ACEOF
27269 if ac_fn_c_try_compile "$LINENO"; then :
27270   am_cv_proto_iconv_arg1=""
27271 else
27272   am_cv_proto_iconv_arg1="const"
27273 fi
27274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27275       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);"
27276 fi
27277
27278     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27279     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27280          }$am_cv_proto_iconv" >&5
27281 $as_echo "${ac_t:-
27282          }$am_cv_proto_iconv" >&6; }
27283
27284 cat >>confdefs.h <<_ACEOF
27285 #define ICONV_CONST $am_cv_proto_iconv_arg1
27286 _ACEOF
27287
27288   fi
27289
27290
27291 else
27292
27293   # This lets us hard-code the functionality we know we'll have in the cross
27294   # target environment.  "Let" is a sugar-coated word placed on an especially
27295   # dull and tedious hack, actually.
27296   #
27297   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27298   # that involve linking, can't be used:
27299   #    "cannot open sim-crt0.o"
27300   #    "cannot open crt0.o"
27301   # etc.  All this is because there currently exists no unified, consistent
27302   # way for top level CC information to be passed down to target directories:
27303   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27304   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27305   # crosses can be removed.
27306
27307   # If Canadian cross, then don't pick up tools from the build directory.
27308   # Used only in GLIBCXX_EXPORT_INCLUDES.
27309   if test -n "$with_cross_host" &&
27310      test x"$build_alias" != x"$with_cross_host" &&
27311      test x"$build" != x"$target";
27312   then
27313     CANADIAN=yes
27314   else
27315     CANADIAN=no
27316   fi
27317
27318   # Construct crosses by hand, eliminating bits that need ld...
27319   # GLIBCXX_CHECK_MATH_SUPPORT
27320
27321   # First, test for "known" system libraries.  We may be using newlib even
27322   # on a hosted environment.
27323   if test "x${with_newlib}" = "xyes"; then
27324     os_include_dir="os/newlib"
27325     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27326
27327
27328     # GLIBCXX_CHECK_STDLIB_SUPPORT
27329     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27330
27331
27332     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27333
27334     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27335
27336     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27337
27338     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27339
27340     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27341
27342     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27343
27344     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27345
27346     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27347
27348     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27349
27350     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27351
27352     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27353
27354     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27355
27356     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27357
27358     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27359
27360     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27361
27362     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27363
27364     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27365
27366     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27367
27368     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27369
27370     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27371
27372     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27373
27374     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27375
27376
27377     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27378
27379   else
27380
27381 # Base decisions on target environment.
27382 case "${host}" in
27383   arm*-*-symbianelf*)
27384     # This is a freestanding configuration; there is nothing to do here.
27385     ;;
27386
27387   mips*-sde-elf*)
27388     # These definitions are for the SDE C library rather than newlib.
27389     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27390
27391
27392   # All these tests are for C++; save the language and the compiler flags.
27393   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27394   # found in GLIBCXX_CONFIGURE.
27395
27396   ac_ext=cpp
27397 ac_cpp='$CXXCPP $CPPFLAGS'
27398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27401
27402   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27403   ac_save_CXXFLAGS="$CXXFLAGS"
27404
27405   # Check for maintainer-mode bits.
27406   if test x"$USE_MAINTAINER_MODE" = xno; then
27407     WERROR=''
27408   else
27409     WERROR='-Werror'
27410   fi
27411
27412   # Check for -ffunction-sections -fdata-sections
27413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27414 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27415   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27417 /* end confdefs.h.  */
27418 int foo; void bar() { };
27419 int
27420 main ()
27421 {
27422
27423   ;
27424   return 0;
27425 }
27426 _ACEOF
27427 if ac_fn_cxx_try_compile "$LINENO"; then :
27428   ac_fdsections=yes
27429 else
27430   ac_fdsections=no
27431 fi
27432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27433   if test "$ac_test_CXXFLAGS" = set; then
27434     CXXFLAGS="$ac_save_CXXFLAGS"
27435   else
27436     # this is the suspicious part
27437     CXXFLAGS=''
27438   fi
27439   if test x"$ac_fdsections" = x"yes"; then
27440     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27441   fi
27442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27443 $as_echo "$ac_fdsections" >&6; }
27444
27445   ac_ext=c
27446 ac_cpp='$CPP $CPPFLAGS'
27447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27450
27451
27452
27453
27454
27455   # If we're not using GNU ld, then there's no point in even trying these
27456   # tests.  Check for that first.  We should have already tested for gld
27457   # by now (in libtool), but require it now just to be safe...
27458   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27459   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27460
27461
27462
27463   # The name set by libtool depends on the version of libtool.  Shame on us
27464   # for depending on an impl detail, but c'est la vie.  Older versions used
27465   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27466   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27467   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27468   # set (hence we're using an older libtool), then set it.
27469   if test x${with_gnu_ld+set} != xset; then
27470     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27471       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27472       with_gnu_ld=no
27473     else
27474       with_gnu_ld=$ac_cv_prog_gnu_ld
27475     fi
27476   fi
27477
27478   # Start by getting the version number.  I think the libtool test already
27479   # does some of this, but throws away the result.
27480   glibcxx_ld_is_gold=no
27481   if test x"$with_gnu_ld" = x"yes"; then
27482     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27483 $as_echo_n "checking for ld version... " >&6; }
27484
27485     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27486       glibcxx_ld_is_gold=yes
27487     fi
27488     ldver=`$LD --version 2>/dev/null |
27489            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'`
27490
27491     glibcxx_gnu_ld_version=`echo $ldver | \
27492            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27493     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27494 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27495   fi
27496
27497   # Set --gc-sections.
27498   glibcxx_have_gc_sections=no
27499   if test "$glibcxx_ld_is_gold" = "yes"; then
27500     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27501       glibcxx_have_gc_sections=yes
27502     fi
27503   else
27504     glibcxx_gcsections_min_ld=21602
27505     if test x"$with_gnu_ld" = x"yes" &&
27506         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27507       glibcxx_have_gc_sections=yes
27508     fi
27509   fi
27510   if test "$glibcxx_have_gc_sections" = "yes"; then
27511     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27512     # NB: This flag only works reliably after 2.16.1. Configure tests
27513     # for this are difficult, so hard wire a value that should work.
27514
27515     ac_test_CFLAGS="${CFLAGS+set}"
27516     ac_save_CFLAGS="$CFLAGS"
27517     CFLAGS='-Wl,--gc-sections'
27518
27519     # Check for -Wl,--gc-sections
27520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27521 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27522     if test x$gcc_no_link = xyes; then
27523   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27524 fi
27525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27526 /* end confdefs.h.  */
27527  int one(void) { return 1; }
27528      int two(void) { return 2; }
27529
27530 int
27531 main ()
27532 {
27533  two();
27534   ;
27535   return 0;
27536 }
27537 _ACEOF
27538 if ac_fn_c_try_link "$LINENO"; then :
27539   ac_gcsections=yes
27540 else
27541   ac_gcsections=no
27542 fi
27543 rm -f core conftest.err conftest.$ac_objext \
27544     conftest$ac_exeext conftest.$ac_ext
27545     if test "$ac_gcsections" = "yes"; then
27546       rm -f conftest.c
27547       touch conftest.c
27548       if $CC -c conftest.c; then
27549         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27550            grep "Warning: gc-sections option ignored" > /dev/null; then
27551           ac_gcsections=no
27552         fi
27553       fi
27554       rm -f conftest.c conftest.o conftest
27555     fi
27556     if test "$ac_gcsections" = "yes"; then
27557       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27558     fi
27559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27560 $as_echo "$ac_gcsections" >&6; }
27561
27562     if test "$ac_test_CFLAGS" = set; then
27563       CFLAGS="$ac_save_CFLAGS"
27564     else
27565       # this is the suspicious part
27566       CFLAGS=''
27567     fi
27568   fi
27569
27570   # Set -z,relro.
27571   # Note this is only for shared objects.
27572   ac_ld_relro=no
27573   if test x"$with_gnu_ld" = x"yes"; then
27574     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27575 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27576     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27577     if test -n "$cxx_z_relo"; then
27578       OPT_LDFLAGS="-Wl,-z,relro"
27579       ac_ld_relro=yes
27580     fi
27581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27582 $as_echo "$ac_ld_relro" >&6; }
27583   fi
27584
27585   # Set linker optimization flags.
27586   if test x"$with_gnu_ld" = x"yes"; then
27587     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27588   fi
27589
27590
27591
27592
27593
27594   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27595   ac_save_CXXFLAGS="$CXXFLAGS"
27596   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27597
27598     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27599 $as_echo_n "checking for sin in -lm... " >&6; }
27600 if test "${ac_cv_lib_m_sin+set}" = set; then :
27601   $as_echo_n "(cached) " >&6
27602 else
27603   ac_check_lib_save_LIBS=$LIBS
27604 LIBS="-lm  $LIBS"
27605 if test x$gcc_no_link = xyes; then
27606   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27607 fi
27608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27609 /* end confdefs.h.  */
27610
27611 /* Override any GCC internal prototype to avoid an error.
27612    Use char because int might match the return type of a GCC
27613    builtin and then its argument prototype would still apply.  */
27614 #ifdef __cplusplus
27615 extern "C"
27616 #endif
27617 char sin ();
27618 int
27619 main ()
27620 {
27621 return sin ();
27622   ;
27623   return 0;
27624 }
27625 _ACEOF
27626 if ac_fn_c_try_link "$LINENO"; then :
27627   ac_cv_lib_m_sin=yes
27628 else
27629   ac_cv_lib_m_sin=no
27630 fi
27631 rm -f core conftest.err conftest.$ac_objext \
27632     conftest$ac_exeext conftest.$ac_ext
27633 LIBS=$ac_check_lib_save_LIBS
27634 fi
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27636 $as_echo "$ac_cv_lib_m_sin" >&6; }
27637 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27638   libm="-lm"
27639 fi
27640
27641   ac_save_LIBS="$LIBS"
27642   LIBS="$LIBS $libm"
27643
27644
27645
27646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27647 $as_echo_n "checking for isinf declaration... " >&6; }
27648   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27649     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27650   $as_echo_n "(cached) " >&6
27651 else
27652
27653
27654       ac_ext=cpp
27655 ac_cpp='$CXXCPP $CPPFLAGS'
27656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27659
27660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27661 /* end confdefs.h.  */
27662 #include <math.h>
27663                       #ifdef HAVE_IEEEFP_H
27664                       #include <ieeefp.h>
27665                       #endif
27666
27667 int
27668 main ()
27669 {
27670  isinf(0);
27671   ;
27672   return 0;
27673 }
27674 _ACEOF
27675 if ac_fn_cxx_try_compile "$LINENO"; then :
27676   glibcxx_cv_func_isinf_use=yes
27677 else
27678   glibcxx_cv_func_isinf_use=no
27679 fi
27680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27681       ac_ext=c
27682 ac_cpp='$CPP $CPPFLAGS'
27683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27686
27687
27688 fi
27689
27690   fi
27691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27692 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27693
27694   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27695     for ac_func in isinf
27696 do :
27697   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27698 if test "x$ac_cv_func_isinf" = x""yes; then :
27699   cat >>confdefs.h <<_ACEOF
27700 #define HAVE_ISINF 1
27701 _ACEOF
27702
27703 fi
27704 done
27705
27706   else
27707
27708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27709 $as_echo_n "checking for _isinf declaration... " >&6; }
27710   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27711     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27712   $as_echo_n "(cached) " >&6
27713 else
27714
27715
27716       ac_ext=cpp
27717 ac_cpp='$CXXCPP $CPPFLAGS'
27718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27721
27722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27723 /* end confdefs.h.  */
27724 #include <math.h>
27725                       #ifdef HAVE_IEEEFP_H
27726                       #include <ieeefp.h>
27727                       #endif
27728
27729 int
27730 main ()
27731 {
27732  _isinf(0);
27733   ;
27734   return 0;
27735 }
27736 _ACEOF
27737 if ac_fn_cxx_try_compile "$LINENO"; then :
27738   glibcxx_cv_func__isinf_use=yes
27739 else
27740   glibcxx_cv_func__isinf_use=no
27741 fi
27742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27743       ac_ext=c
27744 ac_cpp='$CPP $CPPFLAGS'
27745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27748
27749
27750 fi
27751
27752   fi
27753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27754 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27755
27756     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27757       for ac_func in _isinf
27758 do :
27759   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27760 if test "x$ac_cv_func__isinf" = x""yes; then :
27761   cat >>confdefs.h <<_ACEOF
27762 #define HAVE__ISINF 1
27763 _ACEOF
27764
27765 fi
27766 done
27767
27768     fi
27769   fi
27770
27771
27772
27773
27774
27775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27776 $as_echo_n "checking for isnan declaration... " >&6; }
27777   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27778     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27779   $as_echo_n "(cached) " >&6
27780 else
27781
27782
27783       ac_ext=cpp
27784 ac_cpp='$CXXCPP $CPPFLAGS'
27785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27788
27789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27790 /* end confdefs.h.  */
27791 #include <math.h>
27792                       #ifdef HAVE_IEEEFP_H
27793                       #include <ieeefp.h>
27794                       #endif
27795
27796 int
27797 main ()
27798 {
27799  isnan(0);
27800   ;
27801   return 0;
27802 }
27803 _ACEOF
27804 if ac_fn_cxx_try_compile "$LINENO"; then :
27805   glibcxx_cv_func_isnan_use=yes
27806 else
27807   glibcxx_cv_func_isnan_use=no
27808 fi
27809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27810       ac_ext=c
27811 ac_cpp='$CPP $CPPFLAGS'
27812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27815
27816
27817 fi
27818
27819   fi
27820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27821 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27822
27823   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27824     for ac_func in isnan
27825 do :
27826   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27827 if test "x$ac_cv_func_isnan" = x""yes; then :
27828   cat >>confdefs.h <<_ACEOF
27829 #define HAVE_ISNAN 1
27830 _ACEOF
27831
27832 fi
27833 done
27834
27835   else
27836
27837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27838 $as_echo_n "checking for _isnan declaration... " >&6; }
27839   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27840     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27841   $as_echo_n "(cached) " >&6
27842 else
27843
27844
27845       ac_ext=cpp
27846 ac_cpp='$CXXCPP $CPPFLAGS'
27847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27850
27851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27852 /* end confdefs.h.  */
27853 #include <math.h>
27854                       #ifdef HAVE_IEEEFP_H
27855                       #include <ieeefp.h>
27856                       #endif
27857
27858 int
27859 main ()
27860 {
27861  _isnan(0);
27862   ;
27863   return 0;
27864 }
27865 _ACEOF
27866 if ac_fn_cxx_try_compile "$LINENO"; then :
27867   glibcxx_cv_func__isnan_use=yes
27868 else
27869   glibcxx_cv_func__isnan_use=no
27870 fi
27871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27872       ac_ext=c
27873 ac_cpp='$CPP $CPPFLAGS'
27874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27877
27878
27879 fi
27880
27881   fi
27882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27883 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27884
27885     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27886       for ac_func in _isnan
27887 do :
27888   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27889 if test "x$ac_cv_func__isnan" = x""yes; then :
27890   cat >>confdefs.h <<_ACEOF
27891 #define HAVE__ISNAN 1
27892 _ACEOF
27893
27894 fi
27895 done
27896
27897     fi
27898   fi
27899
27900
27901
27902
27903
27904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27905 $as_echo_n "checking for finite declaration... " >&6; }
27906   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27907     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27908   $as_echo_n "(cached) " >&6
27909 else
27910
27911
27912       ac_ext=cpp
27913 ac_cpp='$CXXCPP $CPPFLAGS'
27914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27917
27918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27919 /* end confdefs.h.  */
27920 #include <math.h>
27921                       #ifdef HAVE_IEEEFP_H
27922                       #include <ieeefp.h>
27923                       #endif
27924
27925 int
27926 main ()
27927 {
27928  finite(0);
27929   ;
27930   return 0;
27931 }
27932 _ACEOF
27933 if ac_fn_cxx_try_compile "$LINENO"; then :
27934   glibcxx_cv_func_finite_use=yes
27935 else
27936   glibcxx_cv_func_finite_use=no
27937 fi
27938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27939       ac_ext=c
27940 ac_cpp='$CPP $CPPFLAGS'
27941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27944
27945
27946 fi
27947
27948   fi
27949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27950 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27951
27952   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27953     for ac_func in finite
27954 do :
27955   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27956 if test "x$ac_cv_func_finite" = x""yes; then :
27957   cat >>confdefs.h <<_ACEOF
27958 #define HAVE_FINITE 1
27959 _ACEOF
27960
27961 fi
27962 done
27963
27964   else
27965
27966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27967 $as_echo_n "checking for _finite declaration... " >&6; }
27968   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27969     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27970   $as_echo_n "(cached) " >&6
27971 else
27972
27973
27974       ac_ext=cpp
27975 ac_cpp='$CXXCPP $CPPFLAGS'
27976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27979
27980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27981 /* end confdefs.h.  */
27982 #include <math.h>
27983                       #ifdef HAVE_IEEEFP_H
27984                       #include <ieeefp.h>
27985                       #endif
27986
27987 int
27988 main ()
27989 {
27990  _finite(0);
27991   ;
27992   return 0;
27993 }
27994 _ACEOF
27995 if ac_fn_cxx_try_compile "$LINENO"; then :
27996   glibcxx_cv_func__finite_use=yes
27997 else
27998   glibcxx_cv_func__finite_use=no
27999 fi
28000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28001       ac_ext=c
28002 ac_cpp='$CPP $CPPFLAGS'
28003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28006
28007
28008 fi
28009
28010   fi
28011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28012 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28013
28014     if test x$glibcxx_cv_func__finite_use = x"yes"; then
28015       for ac_func in _finite
28016 do :
28017   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28018 if test "x$ac_cv_func__finite" = x""yes; then :
28019   cat >>confdefs.h <<_ACEOF
28020 #define HAVE__FINITE 1
28021 _ACEOF
28022
28023 fi
28024 done
28025
28026     fi
28027   fi
28028
28029
28030
28031
28032
28033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28034 $as_echo_n "checking for sincos declaration... " >&6; }
28035   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28036     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28037   $as_echo_n "(cached) " >&6
28038 else
28039
28040
28041       ac_ext=cpp
28042 ac_cpp='$CXXCPP $CPPFLAGS'
28043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28046
28047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28048 /* end confdefs.h.  */
28049 #include <math.h>
28050 int
28051 main ()
28052 {
28053  sincos(0, 0, 0);
28054   ;
28055   return 0;
28056 }
28057 _ACEOF
28058 if ac_fn_cxx_try_compile "$LINENO"; then :
28059   glibcxx_cv_func_sincos_use=yes
28060 else
28061   glibcxx_cv_func_sincos_use=no
28062 fi
28063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28064       ac_ext=c
28065 ac_cpp='$CPP $CPPFLAGS'
28066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28069
28070
28071 fi
28072
28073   fi
28074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28075 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28076
28077   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28078     for ac_func in sincos
28079 do :
28080   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28081 if test "x$ac_cv_func_sincos" = x""yes; then :
28082   cat >>confdefs.h <<_ACEOF
28083 #define HAVE_SINCOS 1
28084 _ACEOF
28085
28086 fi
28087 done
28088
28089   else
28090
28091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28092 $as_echo_n "checking for _sincos declaration... " >&6; }
28093   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28094     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28095   $as_echo_n "(cached) " >&6
28096 else
28097
28098
28099       ac_ext=cpp
28100 ac_cpp='$CXXCPP $CPPFLAGS'
28101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28104
28105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28106 /* end confdefs.h.  */
28107 #include <math.h>
28108 int
28109 main ()
28110 {
28111  _sincos(0, 0, 0);
28112   ;
28113   return 0;
28114 }
28115 _ACEOF
28116 if ac_fn_cxx_try_compile "$LINENO"; then :
28117   glibcxx_cv_func__sincos_use=yes
28118 else
28119   glibcxx_cv_func__sincos_use=no
28120 fi
28121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28122       ac_ext=c
28123 ac_cpp='$CPP $CPPFLAGS'
28124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28127
28128
28129 fi
28130
28131   fi
28132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28133 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28134
28135     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28136       for ac_func in _sincos
28137 do :
28138   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28139 if test "x$ac_cv_func__sincos" = x""yes; then :
28140   cat >>confdefs.h <<_ACEOF
28141 #define HAVE__SINCOS 1
28142 _ACEOF
28143
28144 fi
28145 done
28146
28147     fi
28148   fi
28149
28150
28151
28152
28153
28154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28155 $as_echo_n "checking for fpclass declaration... " >&6; }
28156   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28157     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28158   $as_echo_n "(cached) " >&6
28159 else
28160
28161
28162       ac_ext=cpp
28163 ac_cpp='$CXXCPP $CPPFLAGS'
28164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28167
28168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28169 /* end confdefs.h.  */
28170 #include <math.h>
28171                       #ifdef HAVE_IEEEFP_H
28172                       #include <ieeefp.h>
28173                       #endif
28174
28175 int
28176 main ()
28177 {
28178  fpclass(0);
28179   ;
28180   return 0;
28181 }
28182 _ACEOF
28183 if ac_fn_cxx_try_compile "$LINENO"; then :
28184   glibcxx_cv_func_fpclass_use=yes
28185 else
28186   glibcxx_cv_func_fpclass_use=no
28187 fi
28188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28189       ac_ext=c
28190 ac_cpp='$CPP $CPPFLAGS'
28191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28194
28195
28196 fi
28197
28198   fi
28199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28200 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28201
28202   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28203     for ac_func in fpclass
28204 do :
28205   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28206 if test "x$ac_cv_func_fpclass" = x""yes; then :
28207   cat >>confdefs.h <<_ACEOF
28208 #define HAVE_FPCLASS 1
28209 _ACEOF
28210
28211 fi
28212 done
28213
28214   else
28215
28216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28217 $as_echo_n "checking for _fpclass declaration... " >&6; }
28218   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28219     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28220   $as_echo_n "(cached) " >&6
28221 else
28222
28223
28224       ac_ext=cpp
28225 ac_cpp='$CXXCPP $CPPFLAGS'
28226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28229
28230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28231 /* end confdefs.h.  */
28232 #include <math.h>
28233                       #ifdef HAVE_IEEEFP_H
28234                       #include <ieeefp.h>
28235                       #endif
28236
28237 int
28238 main ()
28239 {
28240  _fpclass(0);
28241   ;
28242   return 0;
28243 }
28244 _ACEOF
28245 if ac_fn_cxx_try_compile "$LINENO"; then :
28246   glibcxx_cv_func__fpclass_use=yes
28247 else
28248   glibcxx_cv_func__fpclass_use=no
28249 fi
28250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28251       ac_ext=c
28252 ac_cpp='$CPP $CPPFLAGS'
28253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28256
28257
28258 fi
28259
28260   fi
28261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28262 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28263
28264     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28265       for ac_func in _fpclass
28266 do :
28267   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28268 if test "x$ac_cv_func__fpclass" = x""yes; then :
28269   cat >>confdefs.h <<_ACEOF
28270 #define HAVE__FPCLASS 1
28271 _ACEOF
28272
28273 fi
28274 done
28275
28276     fi
28277   fi
28278
28279
28280
28281
28282
28283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28284 $as_echo_n "checking for qfpclass declaration... " >&6; }
28285   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28286     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28287   $as_echo_n "(cached) " >&6
28288 else
28289
28290
28291       ac_ext=cpp
28292 ac_cpp='$CXXCPP $CPPFLAGS'
28293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28296
28297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28298 /* end confdefs.h.  */
28299 #include <math.h>
28300                       #ifdef HAVE_IEEEFP_H
28301                       #include <ieeefp.h>
28302                       #endif
28303
28304 int
28305 main ()
28306 {
28307  qfpclass(0);
28308   ;
28309   return 0;
28310 }
28311 _ACEOF
28312 if ac_fn_cxx_try_compile "$LINENO"; then :
28313   glibcxx_cv_func_qfpclass_use=yes
28314 else
28315   glibcxx_cv_func_qfpclass_use=no
28316 fi
28317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28318       ac_ext=c
28319 ac_cpp='$CPP $CPPFLAGS'
28320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28323
28324
28325 fi
28326
28327   fi
28328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28329 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28330
28331   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28332     for ac_func in qfpclass
28333 do :
28334   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28335 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28336   cat >>confdefs.h <<_ACEOF
28337 #define HAVE_QFPCLASS 1
28338 _ACEOF
28339
28340 fi
28341 done
28342
28343   else
28344
28345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28346 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28347   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28348     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28349   $as_echo_n "(cached) " >&6
28350 else
28351
28352
28353       ac_ext=cpp
28354 ac_cpp='$CXXCPP $CPPFLAGS'
28355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28358
28359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28360 /* end confdefs.h.  */
28361 #include <math.h>
28362                       #ifdef HAVE_IEEEFP_H
28363                       #include <ieeefp.h>
28364                       #endif
28365
28366 int
28367 main ()
28368 {
28369  _qfpclass(0);
28370   ;
28371   return 0;
28372 }
28373 _ACEOF
28374 if ac_fn_cxx_try_compile "$LINENO"; then :
28375   glibcxx_cv_func__qfpclass_use=yes
28376 else
28377   glibcxx_cv_func__qfpclass_use=no
28378 fi
28379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28380       ac_ext=c
28381 ac_cpp='$CPP $CPPFLAGS'
28382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28385
28386
28387 fi
28388
28389   fi
28390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28391 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28392
28393     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28394       for ac_func in _qfpclass
28395 do :
28396   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28397 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28398   cat >>confdefs.h <<_ACEOF
28399 #define HAVE__QFPCLASS 1
28400 _ACEOF
28401
28402 fi
28403 done
28404
28405     fi
28406   fi
28407
28408
28409
28410
28411
28412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28413 $as_echo_n "checking for hypot declaration... " >&6; }
28414   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28415     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28416   $as_echo_n "(cached) " >&6
28417 else
28418
28419
28420       ac_ext=cpp
28421 ac_cpp='$CXXCPP $CPPFLAGS'
28422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28425
28426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28427 /* end confdefs.h.  */
28428 #include <math.h>
28429 int
28430 main ()
28431 {
28432  hypot(0, 0);
28433   ;
28434   return 0;
28435 }
28436 _ACEOF
28437 if ac_fn_cxx_try_compile "$LINENO"; then :
28438   glibcxx_cv_func_hypot_use=yes
28439 else
28440   glibcxx_cv_func_hypot_use=no
28441 fi
28442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28443       ac_ext=c
28444 ac_cpp='$CPP $CPPFLAGS'
28445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28448
28449
28450 fi
28451
28452   fi
28453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28454 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28455
28456   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28457     for ac_func in hypot
28458 do :
28459   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28460 if test "x$ac_cv_func_hypot" = x""yes; then :
28461   cat >>confdefs.h <<_ACEOF
28462 #define HAVE_HYPOT 1
28463 _ACEOF
28464
28465 fi
28466 done
28467
28468   else
28469
28470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28471 $as_echo_n "checking for _hypot declaration... " >&6; }
28472   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28473     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28474   $as_echo_n "(cached) " >&6
28475 else
28476
28477
28478       ac_ext=cpp
28479 ac_cpp='$CXXCPP $CPPFLAGS'
28480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28483
28484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28485 /* end confdefs.h.  */
28486 #include <math.h>
28487 int
28488 main ()
28489 {
28490  _hypot(0, 0);
28491   ;
28492   return 0;
28493 }
28494 _ACEOF
28495 if ac_fn_cxx_try_compile "$LINENO"; then :
28496   glibcxx_cv_func__hypot_use=yes
28497 else
28498   glibcxx_cv_func__hypot_use=no
28499 fi
28500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28501       ac_ext=c
28502 ac_cpp='$CPP $CPPFLAGS'
28503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28506
28507
28508 fi
28509
28510   fi
28511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28512 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28513
28514     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28515       for ac_func in _hypot
28516 do :
28517   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28518 if test "x$ac_cv_func__hypot" = x""yes; then :
28519   cat >>confdefs.h <<_ACEOF
28520 #define HAVE__HYPOT 1
28521 _ACEOF
28522
28523 fi
28524 done
28525
28526     fi
28527   fi
28528
28529
28530
28531
28532
28533     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28534 $as_echo_n "checking for float trig functions... " >&6; }
28535   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28536   $as_echo_n "(cached) " >&6
28537 else
28538
28539
28540     ac_ext=cpp
28541 ac_cpp='$CXXCPP $CPPFLAGS'
28542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28545
28546     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28547 /* end confdefs.h.  */
28548 #include <math.h>
28549 int
28550 main ()
28551 {
28552 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28553   ;
28554   return 0;
28555 }
28556 _ACEOF
28557 if ac_fn_cxx_try_compile "$LINENO"; then :
28558   glibcxx_cv_func_float_trig_use=yes
28559 else
28560   glibcxx_cv_func_float_trig_use=no
28561 fi
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28563     ac_ext=c
28564 ac_cpp='$CPP $CPPFLAGS'
28565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28568
28569 fi
28570
28571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28572 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28573   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28574     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28575 do :
28576   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28578 eval as_val=\$$as_ac_var
28579    if test "x$as_val" = x""yes; then :
28580   cat >>confdefs.h <<_ACEOF
28581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28582 _ACEOF
28583
28584 fi
28585 done
28586
28587   else
28588     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28589 $as_echo_n "checking for _float trig functions... " >&6; }
28590     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28591   $as_echo_n "(cached) " >&6
28592 else
28593
28594
28595       ac_ext=cpp
28596 ac_cpp='$CXXCPP $CPPFLAGS'
28597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28600
28601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28602 /* end confdefs.h.  */
28603 #include <math.h>
28604 int
28605 main ()
28606 {
28607 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28608   ;
28609   return 0;
28610 }
28611 _ACEOF
28612 if ac_fn_cxx_try_compile "$LINENO"; then :
28613   glibcxx_cv_func__float_trig_use=yes
28614 else
28615   glibcxx_cv_func__float_trig_use=no
28616 fi
28617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28618       ac_ext=c
28619 ac_cpp='$CPP $CPPFLAGS'
28620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28623
28624 fi
28625
28626     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28627 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28628     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28629       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28630 do :
28631   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28633 eval as_val=\$$as_ac_var
28634    if test "x$as_val" = x""yes; then :
28635   cat >>confdefs.h <<_ACEOF
28636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28637 _ACEOF
28638
28639 fi
28640 done
28641
28642     fi
28643   fi
28644
28645
28646
28647
28648
28649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28650 $as_echo_n "checking for float round functions... " >&6; }
28651   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28652   $as_echo_n "(cached) " >&6
28653 else
28654
28655
28656     ac_ext=cpp
28657 ac_cpp='$CXXCPP $CPPFLAGS'
28658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28661
28662     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28663 /* end confdefs.h.  */
28664 #include <math.h>
28665 int
28666 main ()
28667 {
28668 ceilf (0); floorf (0);
28669   ;
28670   return 0;
28671 }
28672 _ACEOF
28673 if ac_fn_cxx_try_compile "$LINENO"; then :
28674   glibcxx_cv_func_float_round_use=yes
28675 else
28676   glibcxx_cv_func_float_round_use=no
28677 fi
28678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28679     ac_ext=c
28680 ac_cpp='$CPP $CPPFLAGS'
28681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28684
28685 fi
28686
28687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28688 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28689   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28690     for ac_func in ceilf floorf
28691 do :
28692   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28693 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28694 eval as_val=\$$as_ac_var
28695    if test "x$as_val" = x""yes; then :
28696   cat >>confdefs.h <<_ACEOF
28697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28698 _ACEOF
28699
28700 fi
28701 done
28702
28703   else
28704     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28705 $as_echo_n "checking for _float round functions... " >&6; }
28706     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28707   $as_echo_n "(cached) " >&6
28708 else
28709
28710
28711       ac_ext=cpp
28712 ac_cpp='$CXXCPP $CPPFLAGS'
28713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28716
28717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28718 /* end confdefs.h.  */
28719 #include <math.h>
28720 int
28721 main ()
28722 {
28723 _ceilf (0); _floorf (0);
28724   ;
28725   return 0;
28726 }
28727 _ACEOF
28728 if ac_fn_cxx_try_compile "$LINENO"; then :
28729   glibcxx_cv_func__float_round_use=yes
28730 else
28731   glibcxx_cv_func__float_round_use=no
28732 fi
28733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28734       ac_ext=c
28735 ac_cpp='$CPP $CPPFLAGS'
28736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28739
28740 fi
28741
28742     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28743 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28744     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28745       for ac_func in _ceilf _floorf
28746 do :
28747   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28749 eval as_val=\$$as_ac_var
28750    if test "x$as_val" = x""yes; then :
28751   cat >>confdefs.h <<_ACEOF
28752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28753 _ACEOF
28754
28755 fi
28756 done
28757
28758     fi
28759   fi
28760
28761
28762
28763
28764
28765
28766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28767 $as_echo_n "checking for expf declaration... " >&6; }
28768   if test x${glibcxx_cv_func_expf_use+set} != xset; then
28769     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28770   $as_echo_n "(cached) " >&6
28771 else
28772
28773
28774       ac_ext=cpp
28775 ac_cpp='$CXXCPP $CPPFLAGS'
28776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28779
28780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28781 /* end confdefs.h.  */
28782 #include <math.h>
28783                       #ifdef HAVE_IEEEFP_H
28784                       #include <ieeefp.h>
28785                       #endif
28786
28787 int
28788 main ()
28789 {
28790  expf(0);
28791   ;
28792   return 0;
28793 }
28794 _ACEOF
28795 if ac_fn_cxx_try_compile "$LINENO"; then :
28796   glibcxx_cv_func_expf_use=yes
28797 else
28798   glibcxx_cv_func_expf_use=no
28799 fi
28800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28801       ac_ext=c
28802 ac_cpp='$CPP $CPPFLAGS'
28803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28806
28807
28808 fi
28809
28810   fi
28811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28812 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28813
28814   if test x$glibcxx_cv_func_expf_use = x"yes"; then
28815     for ac_func in expf
28816 do :
28817   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28818 if test "x$ac_cv_func_expf" = x""yes; then :
28819   cat >>confdefs.h <<_ACEOF
28820 #define HAVE_EXPF 1
28821 _ACEOF
28822
28823 fi
28824 done
28825
28826   else
28827
28828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28829 $as_echo_n "checking for _expf declaration... " >&6; }
28830   if test x${glibcxx_cv_func__expf_use+set} != xset; then
28831     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28832   $as_echo_n "(cached) " >&6
28833 else
28834
28835
28836       ac_ext=cpp
28837 ac_cpp='$CXXCPP $CPPFLAGS'
28838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28841
28842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28843 /* end confdefs.h.  */
28844 #include <math.h>
28845                       #ifdef HAVE_IEEEFP_H
28846                       #include <ieeefp.h>
28847                       #endif
28848
28849 int
28850 main ()
28851 {
28852  _expf(0);
28853   ;
28854   return 0;
28855 }
28856 _ACEOF
28857 if ac_fn_cxx_try_compile "$LINENO"; then :
28858   glibcxx_cv_func__expf_use=yes
28859 else
28860   glibcxx_cv_func__expf_use=no
28861 fi
28862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28863       ac_ext=c
28864 ac_cpp='$CPP $CPPFLAGS'
28865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28868
28869
28870 fi
28871
28872   fi
28873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28874 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28875
28876     if test x$glibcxx_cv_func__expf_use = x"yes"; then
28877       for ac_func in _expf
28878 do :
28879   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28880 if test "x$ac_cv_func__expf" = x""yes; then :
28881   cat >>confdefs.h <<_ACEOF
28882 #define HAVE__EXPF 1
28883 _ACEOF
28884
28885 fi
28886 done
28887
28888     fi
28889   fi
28890
28891
28892
28893
28894
28895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28896 $as_echo_n "checking for isnanf declaration... " >&6; }
28897   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28898     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28899   $as_echo_n "(cached) " >&6
28900 else
28901
28902
28903       ac_ext=cpp
28904 ac_cpp='$CXXCPP $CPPFLAGS'
28905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28908
28909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28910 /* end confdefs.h.  */
28911 #include <math.h>
28912                       #ifdef HAVE_IEEEFP_H
28913                       #include <ieeefp.h>
28914                       #endif
28915
28916 int
28917 main ()
28918 {
28919  isnanf(0);
28920   ;
28921   return 0;
28922 }
28923 _ACEOF
28924 if ac_fn_cxx_try_compile "$LINENO"; then :
28925   glibcxx_cv_func_isnanf_use=yes
28926 else
28927   glibcxx_cv_func_isnanf_use=no
28928 fi
28929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28930       ac_ext=c
28931 ac_cpp='$CPP $CPPFLAGS'
28932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28935
28936
28937 fi
28938
28939   fi
28940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28941 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28942
28943   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28944     for ac_func in isnanf
28945 do :
28946   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28947 if test "x$ac_cv_func_isnanf" = x""yes; then :
28948   cat >>confdefs.h <<_ACEOF
28949 #define HAVE_ISNANF 1
28950 _ACEOF
28951
28952 fi
28953 done
28954
28955   else
28956
28957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28958 $as_echo_n "checking for _isnanf declaration... " >&6; }
28959   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28960     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28961   $as_echo_n "(cached) " >&6
28962 else
28963
28964
28965       ac_ext=cpp
28966 ac_cpp='$CXXCPP $CPPFLAGS'
28967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28970
28971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28972 /* end confdefs.h.  */
28973 #include <math.h>
28974                       #ifdef HAVE_IEEEFP_H
28975                       #include <ieeefp.h>
28976                       #endif
28977
28978 int
28979 main ()
28980 {
28981  _isnanf(0);
28982   ;
28983   return 0;
28984 }
28985 _ACEOF
28986 if ac_fn_cxx_try_compile "$LINENO"; then :
28987   glibcxx_cv_func__isnanf_use=yes
28988 else
28989   glibcxx_cv_func__isnanf_use=no
28990 fi
28991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28992       ac_ext=c
28993 ac_cpp='$CPP $CPPFLAGS'
28994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28997
28998
28999 fi
29000
29001   fi
29002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29003 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29004
29005     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29006       for ac_func in _isnanf
29007 do :
29008   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29009 if test "x$ac_cv_func__isnanf" = x""yes; then :
29010   cat >>confdefs.h <<_ACEOF
29011 #define HAVE__ISNANF 1
29012 _ACEOF
29013
29014 fi
29015 done
29016
29017     fi
29018   fi
29019
29020
29021
29022
29023
29024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29025 $as_echo_n "checking for isinff declaration... " >&6; }
29026   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29027     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29028   $as_echo_n "(cached) " >&6
29029 else
29030
29031
29032       ac_ext=cpp
29033 ac_cpp='$CXXCPP $CPPFLAGS'
29034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29037
29038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29039 /* end confdefs.h.  */
29040 #include <math.h>
29041                       #ifdef HAVE_IEEEFP_H
29042                       #include <ieeefp.h>
29043                       #endif
29044
29045 int
29046 main ()
29047 {
29048  isinff(0);
29049   ;
29050   return 0;
29051 }
29052 _ACEOF
29053 if ac_fn_cxx_try_compile "$LINENO"; then :
29054   glibcxx_cv_func_isinff_use=yes
29055 else
29056   glibcxx_cv_func_isinff_use=no
29057 fi
29058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29059       ac_ext=c
29060 ac_cpp='$CPP $CPPFLAGS'
29061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29064
29065
29066 fi
29067
29068   fi
29069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29070 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29071
29072   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29073     for ac_func in isinff
29074 do :
29075   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29076 if test "x$ac_cv_func_isinff" = x""yes; then :
29077   cat >>confdefs.h <<_ACEOF
29078 #define HAVE_ISINFF 1
29079 _ACEOF
29080
29081 fi
29082 done
29083
29084   else
29085
29086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29087 $as_echo_n "checking for _isinff declaration... " >&6; }
29088   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29089     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29090   $as_echo_n "(cached) " >&6
29091 else
29092
29093
29094       ac_ext=cpp
29095 ac_cpp='$CXXCPP $CPPFLAGS'
29096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29099
29100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29101 /* end confdefs.h.  */
29102 #include <math.h>
29103                       #ifdef HAVE_IEEEFP_H
29104                       #include <ieeefp.h>
29105                       #endif
29106
29107 int
29108 main ()
29109 {
29110  _isinff(0);
29111   ;
29112   return 0;
29113 }
29114 _ACEOF
29115 if ac_fn_cxx_try_compile "$LINENO"; then :
29116   glibcxx_cv_func__isinff_use=yes
29117 else
29118   glibcxx_cv_func__isinff_use=no
29119 fi
29120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29121       ac_ext=c
29122 ac_cpp='$CPP $CPPFLAGS'
29123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29126
29127
29128 fi
29129
29130   fi
29131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29132 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29133
29134     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29135       for ac_func in _isinff
29136 do :
29137   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29138 if test "x$ac_cv_func__isinff" = x""yes; then :
29139   cat >>confdefs.h <<_ACEOF
29140 #define HAVE__ISINFF 1
29141 _ACEOF
29142
29143 fi
29144 done
29145
29146     fi
29147   fi
29148
29149
29150
29151
29152
29153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29154 $as_echo_n "checking for atan2f declaration... " >&6; }
29155   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29156     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29157   $as_echo_n "(cached) " >&6
29158 else
29159
29160
29161       ac_ext=cpp
29162 ac_cpp='$CXXCPP $CPPFLAGS'
29163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29166
29167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29168 /* end confdefs.h.  */
29169 #include <math.h>
29170 int
29171 main ()
29172 {
29173  atan2f(0, 0);
29174   ;
29175   return 0;
29176 }
29177 _ACEOF
29178 if ac_fn_cxx_try_compile "$LINENO"; then :
29179   glibcxx_cv_func_atan2f_use=yes
29180 else
29181   glibcxx_cv_func_atan2f_use=no
29182 fi
29183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29184       ac_ext=c
29185 ac_cpp='$CPP $CPPFLAGS'
29186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29189
29190
29191 fi
29192
29193   fi
29194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29195 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29196
29197   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29198     for ac_func in atan2f
29199 do :
29200   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29201 if test "x$ac_cv_func_atan2f" = x""yes; then :
29202   cat >>confdefs.h <<_ACEOF
29203 #define HAVE_ATAN2F 1
29204 _ACEOF
29205
29206 fi
29207 done
29208
29209   else
29210
29211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29212 $as_echo_n "checking for _atan2f declaration... " >&6; }
29213   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29214     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29215   $as_echo_n "(cached) " >&6
29216 else
29217
29218
29219       ac_ext=cpp
29220 ac_cpp='$CXXCPP $CPPFLAGS'
29221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29224
29225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29226 /* end confdefs.h.  */
29227 #include <math.h>
29228 int
29229 main ()
29230 {
29231  _atan2f(0, 0);
29232   ;
29233   return 0;
29234 }
29235 _ACEOF
29236 if ac_fn_cxx_try_compile "$LINENO"; then :
29237   glibcxx_cv_func__atan2f_use=yes
29238 else
29239   glibcxx_cv_func__atan2f_use=no
29240 fi
29241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29242       ac_ext=c
29243 ac_cpp='$CPP $CPPFLAGS'
29244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29247
29248
29249 fi
29250
29251   fi
29252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29253 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29254
29255     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29256       for ac_func in _atan2f
29257 do :
29258   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29259 if test "x$ac_cv_func__atan2f" = x""yes; then :
29260   cat >>confdefs.h <<_ACEOF
29261 #define HAVE__ATAN2F 1
29262 _ACEOF
29263
29264 fi
29265 done
29266
29267     fi
29268   fi
29269
29270
29271
29272
29273
29274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29275 $as_echo_n "checking for fabsf declaration... " >&6; }
29276   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29277     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29278   $as_echo_n "(cached) " >&6
29279 else
29280
29281
29282       ac_ext=cpp
29283 ac_cpp='$CXXCPP $CPPFLAGS'
29284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29287
29288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29289 /* end confdefs.h.  */
29290 #include <math.h>
29291                       #ifdef HAVE_IEEEFP_H
29292                       #include <ieeefp.h>
29293                       #endif
29294
29295 int
29296 main ()
29297 {
29298  fabsf(0);
29299   ;
29300   return 0;
29301 }
29302 _ACEOF
29303 if ac_fn_cxx_try_compile "$LINENO"; then :
29304   glibcxx_cv_func_fabsf_use=yes
29305 else
29306   glibcxx_cv_func_fabsf_use=no
29307 fi
29308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29309       ac_ext=c
29310 ac_cpp='$CPP $CPPFLAGS'
29311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29314
29315
29316 fi
29317
29318   fi
29319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29320 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29321
29322   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29323     for ac_func in fabsf
29324 do :
29325   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29326 if test "x$ac_cv_func_fabsf" = x""yes; then :
29327   cat >>confdefs.h <<_ACEOF
29328 #define HAVE_FABSF 1
29329 _ACEOF
29330
29331 fi
29332 done
29333
29334   else
29335
29336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29337 $as_echo_n "checking for _fabsf declaration... " >&6; }
29338   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29339     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29340   $as_echo_n "(cached) " >&6
29341 else
29342
29343
29344       ac_ext=cpp
29345 ac_cpp='$CXXCPP $CPPFLAGS'
29346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29349
29350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29351 /* end confdefs.h.  */
29352 #include <math.h>
29353                       #ifdef HAVE_IEEEFP_H
29354                       #include <ieeefp.h>
29355                       #endif
29356
29357 int
29358 main ()
29359 {
29360  _fabsf(0);
29361   ;
29362   return 0;
29363 }
29364 _ACEOF
29365 if ac_fn_cxx_try_compile "$LINENO"; then :
29366   glibcxx_cv_func__fabsf_use=yes
29367 else
29368   glibcxx_cv_func__fabsf_use=no
29369 fi
29370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29371       ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29376
29377
29378 fi
29379
29380   fi
29381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29382 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29383
29384     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29385       for ac_func in _fabsf
29386 do :
29387   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29388 if test "x$ac_cv_func__fabsf" = x""yes; then :
29389   cat >>confdefs.h <<_ACEOF
29390 #define HAVE__FABSF 1
29391 _ACEOF
29392
29393 fi
29394 done
29395
29396     fi
29397   fi
29398
29399
29400
29401
29402
29403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29404 $as_echo_n "checking for fmodf declaration... " >&6; }
29405   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29406     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29407   $as_echo_n "(cached) " >&6
29408 else
29409
29410
29411       ac_ext=cpp
29412 ac_cpp='$CXXCPP $CPPFLAGS'
29413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29416
29417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29418 /* end confdefs.h.  */
29419 #include <math.h>
29420 int
29421 main ()
29422 {
29423  fmodf(0, 0);
29424   ;
29425   return 0;
29426 }
29427 _ACEOF
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429   glibcxx_cv_func_fmodf_use=yes
29430 else
29431   glibcxx_cv_func_fmodf_use=no
29432 fi
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434       ac_ext=c
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29439
29440
29441 fi
29442
29443   fi
29444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29445 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29446
29447   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29448     for ac_func in fmodf
29449 do :
29450   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29451 if test "x$ac_cv_func_fmodf" = x""yes; then :
29452   cat >>confdefs.h <<_ACEOF
29453 #define HAVE_FMODF 1
29454 _ACEOF
29455
29456 fi
29457 done
29458
29459   else
29460
29461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29462 $as_echo_n "checking for _fmodf declaration... " >&6; }
29463   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29464     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29465   $as_echo_n "(cached) " >&6
29466 else
29467
29468
29469       ac_ext=cpp
29470 ac_cpp='$CXXCPP $CPPFLAGS'
29471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29474
29475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29476 /* end confdefs.h.  */
29477 #include <math.h>
29478 int
29479 main ()
29480 {
29481  _fmodf(0, 0);
29482   ;
29483   return 0;
29484 }
29485 _ACEOF
29486 if ac_fn_cxx_try_compile "$LINENO"; then :
29487   glibcxx_cv_func__fmodf_use=yes
29488 else
29489   glibcxx_cv_func__fmodf_use=no
29490 fi
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492       ac_ext=c
29493 ac_cpp='$CPP $CPPFLAGS'
29494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29497
29498
29499 fi
29500
29501   fi
29502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29503 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29504
29505     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29506       for ac_func in _fmodf
29507 do :
29508   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29509 if test "x$ac_cv_func__fmodf" = x""yes; then :
29510   cat >>confdefs.h <<_ACEOF
29511 #define HAVE__FMODF 1
29512 _ACEOF
29513
29514 fi
29515 done
29516
29517     fi
29518   fi
29519
29520
29521
29522
29523
29524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29525 $as_echo_n "checking for frexpf declaration... " >&6; }
29526   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29527     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29528   $as_echo_n "(cached) " >&6
29529 else
29530
29531
29532       ac_ext=cpp
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29537
29538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29539 /* end confdefs.h.  */
29540 #include <math.h>
29541 int
29542 main ()
29543 {
29544  frexpf(0, 0);
29545   ;
29546   return 0;
29547 }
29548 _ACEOF
29549 if ac_fn_cxx_try_compile "$LINENO"; then :
29550   glibcxx_cv_func_frexpf_use=yes
29551 else
29552   glibcxx_cv_func_frexpf_use=no
29553 fi
29554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29555       ac_ext=c
29556 ac_cpp='$CPP $CPPFLAGS'
29557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29560
29561
29562 fi
29563
29564   fi
29565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29566 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29567
29568   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29569     for ac_func in frexpf
29570 do :
29571   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29572 if test "x$ac_cv_func_frexpf" = x""yes; then :
29573   cat >>confdefs.h <<_ACEOF
29574 #define HAVE_FREXPF 1
29575 _ACEOF
29576
29577 fi
29578 done
29579
29580   else
29581
29582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29583 $as_echo_n "checking for _frexpf declaration... " >&6; }
29584   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29585     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29586   $as_echo_n "(cached) " >&6
29587 else
29588
29589
29590       ac_ext=cpp
29591 ac_cpp='$CXXCPP $CPPFLAGS'
29592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29595
29596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29597 /* end confdefs.h.  */
29598 #include <math.h>
29599 int
29600 main ()
29601 {
29602  _frexpf(0, 0);
29603   ;
29604   return 0;
29605 }
29606 _ACEOF
29607 if ac_fn_cxx_try_compile "$LINENO"; then :
29608   glibcxx_cv_func__frexpf_use=yes
29609 else
29610   glibcxx_cv_func__frexpf_use=no
29611 fi
29612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29613       ac_ext=c
29614 ac_cpp='$CPP $CPPFLAGS'
29615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29618
29619
29620 fi
29621
29622   fi
29623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29624 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29625
29626     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29627       for ac_func in _frexpf
29628 do :
29629   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29630 if test "x$ac_cv_func__frexpf" = x""yes; then :
29631   cat >>confdefs.h <<_ACEOF
29632 #define HAVE__FREXPF 1
29633 _ACEOF
29634
29635 fi
29636 done
29637
29638     fi
29639   fi
29640
29641
29642
29643
29644
29645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29646 $as_echo_n "checking for hypotf declaration... " >&6; }
29647   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29648     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29649   $as_echo_n "(cached) " >&6
29650 else
29651
29652
29653       ac_ext=cpp
29654 ac_cpp='$CXXCPP $CPPFLAGS'
29655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29658
29659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29660 /* end confdefs.h.  */
29661 #include <math.h>
29662 int
29663 main ()
29664 {
29665  hypotf(0, 0);
29666   ;
29667   return 0;
29668 }
29669 _ACEOF
29670 if ac_fn_cxx_try_compile "$LINENO"; then :
29671   glibcxx_cv_func_hypotf_use=yes
29672 else
29673   glibcxx_cv_func_hypotf_use=no
29674 fi
29675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29676       ac_ext=c
29677 ac_cpp='$CPP $CPPFLAGS'
29678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29681
29682
29683 fi
29684
29685   fi
29686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29687 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29688
29689   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29690     for ac_func in hypotf
29691 do :
29692   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29693 if test "x$ac_cv_func_hypotf" = x""yes; then :
29694   cat >>confdefs.h <<_ACEOF
29695 #define HAVE_HYPOTF 1
29696 _ACEOF
29697
29698 fi
29699 done
29700
29701   else
29702
29703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29704 $as_echo_n "checking for _hypotf declaration... " >&6; }
29705   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29706     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29707   $as_echo_n "(cached) " >&6
29708 else
29709
29710
29711       ac_ext=cpp
29712 ac_cpp='$CXXCPP $CPPFLAGS'
29713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29716
29717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29718 /* end confdefs.h.  */
29719 #include <math.h>
29720 int
29721 main ()
29722 {
29723  _hypotf(0, 0);
29724   ;
29725   return 0;
29726 }
29727 _ACEOF
29728 if ac_fn_cxx_try_compile "$LINENO"; then :
29729   glibcxx_cv_func__hypotf_use=yes
29730 else
29731   glibcxx_cv_func__hypotf_use=no
29732 fi
29733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29734       ac_ext=c
29735 ac_cpp='$CPP $CPPFLAGS'
29736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29739
29740
29741 fi
29742
29743   fi
29744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29745 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29746
29747     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29748       for ac_func in _hypotf
29749 do :
29750   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29751 if test "x$ac_cv_func__hypotf" = x""yes; then :
29752   cat >>confdefs.h <<_ACEOF
29753 #define HAVE__HYPOTF 1
29754 _ACEOF
29755
29756 fi
29757 done
29758
29759     fi
29760   fi
29761
29762
29763
29764
29765
29766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29767 $as_echo_n "checking for ldexpf declaration... " >&6; }
29768   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29769     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29770   $as_echo_n "(cached) " >&6
29771 else
29772
29773
29774       ac_ext=cpp
29775 ac_cpp='$CXXCPP $CPPFLAGS'
29776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29779
29780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29781 /* end confdefs.h.  */
29782 #include <math.h>
29783 int
29784 main ()
29785 {
29786  ldexpf(0, 0);
29787   ;
29788   return 0;
29789 }
29790 _ACEOF
29791 if ac_fn_cxx_try_compile "$LINENO"; then :
29792   glibcxx_cv_func_ldexpf_use=yes
29793 else
29794   glibcxx_cv_func_ldexpf_use=no
29795 fi
29796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29797       ac_ext=c
29798 ac_cpp='$CPP $CPPFLAGS'
29799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29802
29803
29804 fi
29805
29806   fi
29807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29808 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29809
29810   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29811     for ac_func in ldexpf
29812 do :
29813   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29814 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29815   cat >>confdefs.h <<_ACEOF
29816 #define HAVE_LDEXPF 1
29817 _ACEOF
29818
29819 fi
29820 done
29821
29822   else
29823
29824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29825 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29826   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29827     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29828   $as_echo_n "(cached) " >&6
29829 else
29830
29831
29832       ac_ext=cpp
29833 ac_cpp='$CXXCPP $CPPFLAGS'
29834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29837
29838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29839 /* end confdefs.h.  */
29840 #include <math.h>
29841 int
29842 main ()
29843 {
29844  _ldexpf(0, 0);
29845   ;
29846   return 0;
29847 }
29848 _ACEOF
29849 if ac_fn_cxx_try_compile "$LINENO"; then :
29850   glibcxx_cv_func__ldexpf_use=yes
29851 else
29852   glibcxx_cv_func__ldexpf_use=no
29853 fi
29854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29855       ac_ext=c
29856 ac_cpp='$CPP $CPPFLAGS'
29857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29860
29861
29862 fi
29863
29864   fi
29865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29866 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29867
29868     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29869       for ac_func in _ldexpf
29870 do :
29871   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29872 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29873   cat >>confdefs.h <<_ACEOF
29874 #define HAVE__LDEXPF 1
29875 _ACEOF
29876
29877 fi
29878 done
29879
29880     fi
29881   fi
29882
29883
29884
29885
29886
29887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29888 $as_echo_n "checking for logf declaration... " >&6; }
29889   if test x${glibcxx_cv_func_logf_use+set} != xset; then
29890     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29891   $as_echo_n "(cached) " >&6
29892 else
29893
29894
29895       ac_ext=cpp
29896 ac_cpp='$CXXCPP $CPPFLAGS'
29897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29900
29901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29902 /* end confdefs.h.  */
29903 #include <math.h>
29904                       #ifdef HAVE_IEEEFP_H
29905                       #include <ieeefp.h>
29906                       #endif
29907
29908 int
29909 main ()
29910 {
29911  logf(0);
29912   ;
29913   return 0;
29914 }
29915 _ACEOF
29916 if ac_fn_cxx_try_compile "$LINENO"; then :
29917   glibcxx_cv_func_logf_use=yes
29918 else
29919   glibcxx_cv_func_logf_use=no
29920 fi
29921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29922       ac_ext=c
29923 ac_cpp='$CPP $CPPFLAGS'
29924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29927
29928
29929 fi
29930
29931   fi
29932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29933 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29934
29935   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29936     for ac_func in logf
29937 do :
29938   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29939 if test "x$ac_cv_func_logf" = x""yes; then :
29940   cat >>confdefs.h <<_ACEOF
29941 #define HAVE_LOGF 1
29942 _ACEOF
29943
29944 fi
29945 done
29946
29947   else
29948
29949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29950 $as_echo_n "checking for _logf declaration... " >&6; }
29951   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29952     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29953   $as_echo_n "(cached) " >&6
29954 else
29955
29956
29957       ac_ext=cpp
29958 ac_cpp='$CXXCPP $CPPFLAGS'
29959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29962
29963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29964 /* end confdefs.h.  */
29965 #include <math.h>
29966                       #ifdef HAVE_IEEEFP_H
29967                       #include <ieeefp.h>
29968                       #endif
29969
29970 int
29971 main ()
29972 {
29973  _logf(0);
29974   ;
29975   return 0;
29976 }
29977 _ACEOF
29978 if ac_fn_cxx_try_compile "$LINENO"; then :
29979   glibcxx_cv_func__logf_use=yes
29980 else
29981   glibcxx_cv_func__logf_use=no
29982 fi
29983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29984       ac_ext=c
29985 ac_cpp='$CPP $CPPFLAGS'
29986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29989
29990
29991 fi
29992
29993   fi
29994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29995 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29996
29997     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29998       for ac_func in _logf
29999 do :
30000   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30001 if test "x$ac_cv_func__logf" = x""yes; then :
30002   cat >>confdefs.h <<_ACEOF
30003 #define HAVE__LOGF 1
30004 _ACEOF
30005
30006 fi
30007 done
30008
30009     fi
30010   fi
30011
30012
30013
30014
30015
30016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30017 $as_echo_n "checking for log10f declaration... " >&6; }
30018   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30019     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30020   $as_echo_n "(cached) " >&6
30021 else
30022
30023
30024       ac_ext=cpp
30025 ac_cpp='$CXXCPP $CPPFLAGS'
30026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30029
30030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30031 /* end confdefs.h.  */
30032 #include <math.h>
30033                       #ifdef HAVE_IEEEFP_H
30034                       #include <ieeefp.h>
30035                       #endif
30036
30037 int
30038 main ()
30039 {
30040  log10f(0);
30041   ;
30042   return 0;
30043 }
30044 _ACEOF
30045 if ac_fn_cxx_try_compile "$LINENO"; then :
30046   glibcxx_cv_func_log10f_use=yes
30047 else
30048   glibcxx_cv_func_log10f_use=no
30049 fi
30050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30051       ac_ext=c
30052 ac_cpp='$CPP $CPPFLAGS'
30053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30056
30057
30058 fi
30059
30060   fi
30061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30062 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30063
30064   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30065     for ac_func in log10f
30066 do :
30067   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30068 if test "x$ac_cv_func_log10f" = x""yes; then :
30069   cat >>confdefs.h <<_ACEOF
30070 #define HAVE_LOG10F 1
30071 _ACEOF
30072
30073 fi
30074 done
30075
30076   else
30077
30078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30079 $as_echo_n "checking for _log10f declaration... " >&6; }
30080   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30081     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30082   $as_echo_n "(cached) " >&6
30083 else
30084
30085
30086       ac_ext=cpp
30087 ac_cpp='$CXXCPP $CPPFLAGS'
30088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30091
30092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30093 /* end confdefs.h.  */
30094 #include <math.h>
30095                       #ifdef HAVE_IEEEFP_H
30096                       #include <ieeefp.h>
30097                       #endif
30098
30099 int
30100 main ()
30101 {
30102  _log10f(0);
30103   ;
30104   return 0;
30105 }
30106 _ACEOF
30107 if ac_fn_cxx_try_compile "$LINENO"; then :
30108   glibcxx_cv_func__log10f_use=yes
30109 else
30110   glibcxx_cv_func__log10f_use=no
30111 fi
30112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30113       ac_ext=c
30114 ac_cpp='$CPP $CPPFLAGS'
30115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30118
30119
30120 fi
30121
30122   fi
30123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30124 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30125
30126     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30127       for ac_func in _log10f
30128 do :
30129   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30130 if test "x$ac_cv_func__log10f" = x""yes; then :
30131   cat >>confdefs.h <<_ACEOF
30132 #define HAVE__LOG10F 1
30133 _ACEOF
30134
30135 fi
30136 done
30137
30138     fi
30139   fi
30140
30141
30142
30143
30144
30145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30146 $as_echo_n "checking for modff declaration... " >&6; }
30147   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30148     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30149   $as_echo_n "(cached) " >&6
30150 else
30151
30152
30153       ac_ext=cpp
30154 ac_cpp='$CXXCPP $CPPFLAGS'
30155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30158
30159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30160 /* end confdefs.h.  */
30161 #include <math.h>
30162 int
30163 main ()
30164 {
30165  modff(0, 0);
30166   ;
30167   return 0;
30168 }
30169 _ACEOF
30170 if ac_fn_cxx_try_compile "$LINENO"; then :
30171   glibcxx_cv_func_modff_use=yes
30172 else
30173   glibcxx_cv_func_modff_use=no
30174 fi
30175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30176       ac_ext=c
30177 ac_cpp='$CPP $CPPFLAGS'
30178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30181
30182
30183 fi
30184
30185   fi
30186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30187 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30188
30189   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30190     for ac_func in modff
30191 do :
30192   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30193 if test "x$ac_cv_func_modff" = x""yes; then :
30194   cat >>confdefs.h <<_ACEOF
30195 #define HAVE_MODFF 1
30196 _ACEOF
30197
30198 fi
30199 done
30200
30201   else
30202
30203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30204 $as_echo_n "checking for _modff declaration... " >&6; }
30205   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30206     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30207   $as_echo_n "(cached) " >&6
30208 else
30209
30210
30211       ac_ext=cpp
30212 ac_cpp='$CXXCPP $CPPFLAGS'
30213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30216
30217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30218 /* end confdefs.h.  */
30219 #include <math.h>
30220 int
30221 main ()
30222 {
30223  _modff(0, 0);
30224   ;
30225   return 0;
30226 }
30227 _ACEOF
30228 if ac_fn_cxx_try_compile "$LINENO"; then :
30229   glibcxx_cv_func__modff_use=yes
30230 else
30231   glibcxx_cv_func__modff_use=no
30232 fi
30233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30234       ac_ext=c
30235 ac_cpp='$CPP $CPPFLAGS'
30236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30239
30240
30241 fi
30242
30243   fi
30244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30245 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30246
30247     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30248       for ac_func in _modff
30249 do :
30250   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30251 if test "x$ac_cv_func__modff" = x""yes; then :
30252   cat >>confdefs.h <<_ACEOF
30253 #define HAVE__MODFF 1
30254 _ACEOF
30255
30256 fi
30257 done
30258
30259     fi
30260   fi
30261
30262
30263
30264
30265
30266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30267 $as_echo_n "checking for modf declaration... " >&6; }
30268   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30269     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30270   $as_echo_n "(cached) " >&6
30271 else
30272
30273
30274       ac_ext=cpp
30275 ac_cpp='$CXXCPP $CPPFLAGS'
30276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30279
30280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30281 /* end confdefs.h.  */
30282 #include <math.h>
30283 int
30284 main ()
30285 {
30286  modf(0, 0);
30287   ;
30288   return 0;
30289 }
30290 _ACEOF
30291 if ac_fn_cxx_try_compile "$LINENO"; then :
30292   glibcxx_cv_func_modf_use=yes
30293 else
30294   glibcxx_cv_func_modf_use=no
30295 fi
30296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30297       ac_ext=c
30298 ac_cpp='$CPP $CPPFLAGS'
30299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30302
30303
30304 fi
30305
30306   fi
30307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30308 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30309
30310   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30311     for ac_func in modf
30312 do :
30313   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30314 if test "x$ac_cv_func_modf" = x""yes; then :
30315   cat >>confdefs.h <<_ACEOF
30316 #define HAVE_MODF 1
30317 _ACEOF
30318
30319 fi
30320 done
30321
30322   else
30323
30324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30325 $as_echo_n "checking for _modf declaration... " >&6; }
30326   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30327     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30328   $as_echo_n "(cached) " >&6
30329 else
30330
30331
30332       ac_ext=cpp
30333 ac_cpp='$CXXCPP $CPPFLAGS'
30334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30337
30338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30339 /* end confdefs.h.  */
30340 #include <math.h>
30341 int
30342 main ()
30343 {
30344  _modf(0, 0);
30345   ;
30346   return 0;
30347 }
30348 _ACEOF
30349 if ac_fn_cxx_try_compile "$LINENO"; then :
30350   glibcxx_cv_func__modf_use=yes
30351 else
30352   glibcxx_cv_func__modf_use=no
30353 fi
30354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30355       ac_ext=c
30356 ac_cpp='$CPP $CPPFLAGS'
30357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30360
30361
30362 fi
30363
30364   fi
30365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30366 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30367
30368     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30369       for ac_func in _modf
30370 do :
30371   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30372 if test "x$ac_cv_func__modf" = x""yes; then :
30373   cat >>confdefs.h <<_ACEOF
30374 #define HAVE__MODF 1
30375 _ACEOF
30376
30377 fi
30378 done
30379
30380     fi
30381   fi
30382
30383
30384
30385
30386
30387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30388 $as_echo_n "checking for powf declaration... " >&6; }
30389   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30390     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30391   $as_echo_n "(cached) " >&6
30392 else
30393
30394
30395       ac_ext=cpp
30396 ac_cpp='$CXXCPP $CPPFLAGS'
30397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30400
30401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30402 /* end confdefs.h.  */
30403 #include <math.h>
30404 int
30405 main ()
30406 {
30407  powf(0, 0);
30408   ;
30409   return 0;
30410 }
30411 _ACEOF
30412 if ac_fn_cxx_try_compile "$LINENO"; then :
30413   glibcxx_cv_func_powf_use=yes
30414 else
30415   glibcxx_cv_func_powf_use=no
30416 fi
30417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30418       ac_ext=c
30419 ac_cpp='$CPP $CPPFLAGS'
30420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30423
30424
30425 fi
30426
30427   fi
30428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30429 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30430
30431   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30432     for ac_func in powf
30433 do :
30434   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30435 if test "x$ac_cv_func_powf" = x""yes; then :
30436   cat >>confdefs.h <<_ACEOF
30437 #define HAVE_POWF 1
30438 _ACEOF
30439
30440 fi
30441 done
30442
30443   else
30444
30445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30446 $as_echo_n "checking for _powf declaration... " >&6; }
30447   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30448     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30449   $as_echo_n "(cached) " >&6
30450 else
30451
30452
30453       ac_ext=cpp
30454 ac_cpp='$CXXCPP $CPPFLAGS'
30455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30458
30459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30460 /* end confdefs.h.  */
30461 #include <math.h>
30462 int
30463 main ()
30464 {
30465  _powf(0, 0);
30466   ;
30467   return 0;
30468 }
30469 _ACEOF
30470 if ac_fn_cxx_try_compile "$LINENO"; then :
30471   glibcxx_cv_func__powf_use=yes
30472 else
30473   glibcxx_cv_func__powf_use=no
30474 fi
30475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30476       ac_ext=c
30477 ac_cpp='$CPP $CPPFLAGS'
30478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30481
30482
30483 fi
30484
30485   fi
30486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30487 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30488
30489     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30490       for ac_func in _powf
30491 do :
30492   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30493 if test "x$ac_cv_func__powf" = x""yes; then :
30494   cat >>confdefs.h <<_ACEOF
30495 #define HAVE__POWF 1
30496 _ACEOF
30497
30498 fi
30499 done
30500
30501     fi
30502   fi
30503
30504
30505
30506
30507
30508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30509 $as_echo_n "checking for sqrtf declaration... " >&6; }
30510   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30511     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30512   $as_echo_n "(cached) " >&6
30513 else
30514
30515
30516       ac_ext=cpp
30517 ac_cpp='$CXXCPP $CPPFLAGS'
30518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30521
30522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30523 /* end confdefs.h.  */
30524 #include <math.h>
30525                       #ifdef HAVE_IEEEFP_H
30526                       #include <ieeefp.h>
30527                       #endif
30528
30529 int
30530 main ()
30531 {
30532  sqrtf(0);
30533   ;
30534   return 0;
30535 }
30536 _ACEOF
30537 if ac_fn_cxx_try_compile "$LINENO"; then :
30538   glibcxx_cv_func_sqrtf_use=yes
30539 else
30540   glibcxx_cv_func_sqrtf_use=no
30541 fi
30542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30543       ac_ext=c
30544 ac_cpp='$CPP $CPPFLAGS'
30545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30548
30549
30550 fi
30551
30552   fi
30553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30554 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30555
30556   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30557     for ac_func in sqrtf
30558 do :
30559   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30560 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30561   cat >>confdefs.h <<_ACEOF
30562 #define HAVE_SQRTF 1
30563 _ACEOF
30564
30565 fi
30566 done
30567
30568   else
30569
30570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30571 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30572   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30573     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30574   $as_echo_n "(cached) " >&6
30575 else
30576
30577
30578       ac_ext=cpp
30579 ac_cpp='$CXXCPP $CPPFLAGS'
30580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30583
30584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30585 /* end confdefs.h.  */
30586 #include <math.h>
30587                       #ifdef HAVE_IEEEFP_H
30588                       #include <ieeefp.h>
30589                       #endif
30590
30591 int
30592 main ()
30593 {
30594  _sqrtf(0);
30595   ;
30596   return 0;
30597 }
30598 _ACEOF
30599 if ac_fn_cxx_try_compile "$LINENO"; then :
30600   glibcxx_cv_func__sqrtf_use=yes
30601 else
30602   glibcxx_cv_func__sqrtf_use=no
30603 fi
30604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30605       ac_ext=c
30606 ac_cpp='$CPP $CPPFLAGS'
30607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30610
30611
30612 fi
30613
30614   fi
30615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30616 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30617
30618     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30619       for ac_func in _sqrtf
30620 do :
30621   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30622 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30623   cat >>confdefs.h <<_ACEOF
30624 #define HAVE__SQRTF 1
30625 _ACEOF
30626
30627 fi
30628 done
30629
30630     fi
30631   fi
30632
30633
30634
30635
30636
30637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30638 $as_echo_n "checking for sincosf declaration... " >&6; }
30639   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30640     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30641   $as_echo_n "(cached) " >&6
30642 else
30643
30644
30645       ac_ext=cpp
30646 ac_cpp='$CXXCPP $CPPFLAGS'
30647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30650
30651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30652 /* end confdefs.h.  */
30653 #include <math.h>
30654 int
30655 main ()
30656 {
30657  sincosf(0, 0, 0);
30658   ;
30659   return 0;
30660 }
30661 _ACEOF
30662 if ac_fn_cxx_try_compile "$LINENO"; then :
30663   glibcxx_cv_func_sincosf_use=yes
30664 else
30665   glibcxx_cv_func_sincosf_use=no
30666 fi
30667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30668       ac_ext=c
30669 ac_cpp='$CPP $CPPFLAGS'
30670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30673
30674
30675 fi
30676
30677   fi
30678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30679 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30680
30681   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30682     for ac_func in sincosf
30683 do :
30684   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30685 if test "x$ac_cv_func_sincosf" = x""yes; then :
30686   cat >>confdefs.h <<_ACEOF
30687 #define HAVE_SINCOSF 1
30688 _ACEOF
30689
30690 fi
30691 done
30692
30693   else
30694
30695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30696 $as_echo_n "checking for _sincosf declaration... " >&6; }
30697   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30698     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30699   $as_echo_n "(cached) " >&6
30700 else
30701
30702
30703       ac_ext=cpp
30704 ac_cpp='$CXXCPP $CPPFLAGS'
30705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30708
30709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30710 /* end confdefs.h.  */
30711 #include <math.h>
30712 int
30713 main ()
30714 {
30715  _sincosf(0, 0, 0);
30716   ;
30717   return 0;
30718 }
30719 _ACEOF
30720 if ac_fn_cxx_try_compile "$LINENO"; then :
30721   glibcxx_cv_func__sincosf_use=yes
30722 else
30723   glibcxx_cv_func__sincosf_use=no
30724 fi
30725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30726       ac_ext=c
30727 ac_cpp='$CPP $CPPFLAGS'
30728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30731
30732
30733 fi
30734
30735   fi
30736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30737 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30738
30739     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30740       for ac_func in _sincosf
30741 do :
30742   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30743 if test "x$ac_cv_func__sincosf" = x""yes; then :
30744   cat >>confdefs.h <<_ACEOF
30745 #define HAVE__SINCOSF 1
30746 _ACEOF
30747
30748 fi
30749 done
30750
30751     fi
30752   fi
30753
30754
30755
30756
30757
30758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30759 $as_echo_n "checking for finitef declaration... " >&6; }
30760   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30761     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30762   $as_echo_n "(cached) " >&6
30763 else
30764
30765
30766       ac_ext=cpp
30767 ac_cpp='$CXXCPP $CPPFLAGS'
30768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30771
30772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30773 /* end confdefs.h.  */
30774 #include <math.h>
30775                       #ifdef HAVE_IEEEFP_H
30776                       #include <ieeefp.h>
30777                       #endif
30778
30779 int
30780 main ()
30781 {
30782  finitef(0);
30783   ;
30784   return 0;
30785 }
30786 _ACEOF
30787 if ac_fn_cxx_try_compile "$LINENO"; then :
30788   glibcxx_cv_func_finitef_use=yes
30789 else
30790   glibcxx_cv_func_finitef_use=no
30791 fi
30792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30793       ac_ext=c
30794 ac_cpp='$CPP $CPPFLAGS'
30795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30798
30799
30800 fi
30801
30802   fi
30803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30804 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30805
30806   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30807     for ac_func in finitef
30808 do :
30809   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30810 if test "x$ac_cv_func_finitef" = x""yes; then :
30811   cat >>confdefs.h <<_ACEOF
30812 #define HAVE_FINITEF 1
30813 _ACEOF
30814
30815 fi
30816 done
30817
30818   else
30819
30820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30821 $as_echo_n "checking for _finitef declaration... " >&6; }
30822   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30823     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30824   $as_echo_n "(cached) " >&6
30825 else
30826
30827
30828       ac_ext=cpp
30829 ac_cpp='$CXXCPP $CPPFLAGS'
30830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30833
30834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30835 /* end confdefs.h.  */
30836 #include <math.h>
30837                       #ifdef HAVE_IEEEFP_H
30838                       #include <ieeefp.h>
30839                       #endif
30840
30841 int
30842 main ()
30843 {
30844  _finitef(0);
30845   ;
30846   return 0;
30847 }
30848 _ACEOF
30849 if ac_fn_cxx_try_compile "$LINENO"; then :
30850   glibcxx_cv_func__finitef_use=yes
30851 else
30852   glibcxx_cv_func__finitef_use=no
30853 fi
30854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30855       ac_ext=c
30856 ac_cpp='$CPP $CPPFLAGS'
30857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30860
30861
30862 fi
30863
30864   fi
30865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30866 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30867
30868     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30869       for ac_func in _finitef
30870 do :
30871   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30872 if test "x$ac_cv_func__finitef" = x""yes; then :
30873   cat >>confdefs.h <<_ACEOF
30874 #define HAVE__FINITEF 1
30875 _ACEOF
30876
30877 fi
30878 done
30879
30880     fi
30881   fi
30882
30883
30884
30885
30886
30887     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30888 $as_echo_n "checking for long double trig functions... " >&6; }
30889   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30890   $as_echo_n "(cached) " >&6
30891 else
30892
30893
30894     ac_ext=cpp
30895 ac_cpp='$CXXCPP $CPPFLAGS'
30896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899
30900     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30901 /* end confdefs.h.  */
30902 #include <math.h>
30903 int
30904 main ()
30905 {
30906 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30907   ;
30908   return 0;
30909 }
30910 _ACEOF
30911 if ac_fn_cxx_try_compile "$LINENO"; then :
30912   glibcxx_cv_func_long_double_trig_use=yes
30913 else
30914   glibcxx_cv_func_long_double_trig_use=no
30915 fi
30916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30917     ac_ext=c
30918 ac_cpp='$CPP $CPPFLAGS'
30919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30922
30923 fi
30924
30925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30926 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30927   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30928     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30929 do :
30930   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30932 eval as_val=\$$as_ac_var
30933    if test "x$as_val" = x""yes; then :
30934   cat >>confdefs.h <<_ACEOF
30935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30936 _ACEOF
30937
30938 fi
30939 done
30940
30941   else
30942     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30943 $as_echo_n "checking for _long double trig functions... " >&6; }
30944     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30945   $as_echo_n "(cached) " >&6
30946 else
30947
30948
30949       ac_ext=cpp
30950 ac_cpp='$CXXCPP $CPPFLAGS'
30951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30954
30955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30956 /* end confdefs.h.  */
30957 #include <math.h>
30958 int
30959 main ()
30960 {
30961 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30962   ;
30963   return 0;
30964 }
30965 _ACEOF
30966 if ac_fn_cxx_try_compile "$LINENO"; then :
30967   glibcxx_cv_func__long_double_trig_use=yes
30968 else
30969   glibcxx_cv_func__long_double_trig_use=no
30970 fi
30971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30972       ac_ext=c
30973 ac_cpp='$CPP $CPPFLAGS'
30974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30977
30978 fi
30979
30980     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30981 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30982     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30983       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30984 do :
30985   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30987 eval as_val=\$$as_ac_var
30988    if test "x$as_val" = x""yes; then :
30989   cat >>confdefs.h <<_ACEOF
30990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30991 _ACEOF
30992
30993 fi
30994 done
30995
30996     fi
30997   fi
30998
30999
31000
31001
31002
31003     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31004 $as_echo_n "checking for long double round functions... " >&6; }
31005   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31006   $as_echo_n "(cached) " >&6
31007 else
31008
31009
31010     ac_ext=cpp
31011 ac_cpp='$CXXCPP $CPPFLAGS'
31012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31015
31016     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31017 /* end confdefs.h.  */
31018 #include <math.h>
31019 int
31020 main ()
31021 {
31022 ceill (0); floorl (0);
31023   ;
31024   return 0;
31025 }
31026 _ACEOF
31027 if ac_fn_cxx_try_compile "$LINENO"; then :
31028   glibcxx_cv_func_long_double_round_use=yes
31029 else
31030   glibcxx_cv_func_long_double_round_use=no
31031 fi
31032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31033     ac_ext=c
31034 ac_cpp='$CPP $CPPFLAGS'
31035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31038
31039 fi
31040
31041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31042 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31043   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31044     for ac_func in ceill floorl
31045 do :
31046   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31048 eval as_val=\$$as_ac_var
31049    if test "x$as_val" = x""yes; then :
31050   cat >>confdefs.h <<_ACEOF
31051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31052 _ACEOF
31053
31054 fi
31055 done
31056
31057   else
31058     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31059 $as_echo_n "checking for _long double round functions... " >&6; }
31060     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31061   $as_echo_n "(cached) " >&6
31062 else
31063
31064
31065       ac_ext=cpp
31066 ac_cpp='$CXXCPP $CPPFLAGS'
31067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31070
31071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31072 /* end confdefs.h.  */
31073 #include <math.h>
31074 int
31075 main ()
31076 {
31077 _ceill (0); _floorl (0);
31078   ;
31079   return 0;
31080 }
31081 _ACEOF
31082 if ac_fn_cxx_try_compile "$LINENO"; then :
31083   glibcxx_cv_func__long_double_round_use=yes
31084 else
31085   glibcxx_cv_func__long_double_round_use=no
31086 fi
31087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31088       ac_ext=c
31089 ac_cpp='$CPP $CPPFLAGS'
31090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31093
31094 fi
31095
31096     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31097 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31098     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31099       for ac_func in _ceill _floorl
31100 do :
31101   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31103 eval as_val=\$$as_ac_var
31104    if test "x$as_val" = x""yes; then :
31105   cat >>confdefs.h <<_ACEOF
31106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31107 _ACEOF
31108
31109 fi
31110 done
31111
31112     fi
31113   fi
31114
31115
31116
31117
31118
31119
31120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31121 $as_echo_n "checking for isnanl declaration... " >&6; }
31122   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31123     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31124   $as_echo_n "(cached) " >&6
31125 else
31126
31127
31128       ac_ext=cpp
31129 ac_cpp='$CXXCPP $CPPFLAGS'
31130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31133
31134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31135 /* end confdefs.h.  */
31136 #include <math.h>
31137                       #ifdef HAVE_IEEEFP_H
31138                       #include <ieeefp.h>
31139                       #endif
31140
31141 int
31142 main ()
31143 {
31144  isnanl(0);
31145   ;
31146   return 0;
31147 }
31148 _ACEOF
31149 if ac_fn_cxx_try_compile "$LINENO"; then :
31150   glibcxx_cv_func_isnanl_use=yes
31151 else
31152   glibcxx_cv_func_isnanl_use=no
31153 fi
31154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31155       ac_ext=c
31156 ac_cpp='$CPP $CPPFLAGS'
31157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31160
31161
31162 fi
31163
31164   fi
31165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31166 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31167
31168   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31169     for ac_func in isnanl
31170 do :
31171   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31172 if test "x$ac_cv_func_isnanl" = x""yes; then :
31173   cat >>confdefs.h <<_ACEOF
31174 #define HAVE_ISNANL 1
31175 _ACEOF
31176
31177 fi
31178 done
31179
31180   else
31181
31182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31183 $as_echo_n "checking for _isnanl declaration... " >&6; }
31184   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31185     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31186   $as_echo_n "(cached) " >&6
31187 else
31188
31189
31190       ac_ext=cpp
31191 ac_cpp='$CXXCPP $CPPFLAGS'
31192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31195
31196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31197 /* end confdefs.h.  */
31198 #include <math.h>
31199                       #ifdef HAVE_IEEEFP_H
31200                       #include <ieeefp.h>
31201                       #endif
31202
31203 int
31204 main ()
31205 {
31206  _isnanl(0);
31207   ;
31208   return 0;
31209 }
31210 _ACEOF
31211 if ac_fn_cxx_try_compile "$LINENO"; then :
31212   glibcxx_cv_func__isnanl_use=yes
31213 else
31214   glibcxx_cv_func__isnanl_use=no
31215 fi
31216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31217       ac_ext=c
31218 ac_cpp='$CPP $CPPFLAGS'
31219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31222
31223
31224 fi
31225
31226   fi
31227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31228 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31229
31230     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31231       for ac_func in _isnanl
31232 do :
31233   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31234 if test "x$ac_cv_func__isnanl" = x""yes; then :
31235   cat >>confdefs.h <<_ACEOF
31236 #define HAVE__ISNANL 1
31237 _ACEOF
31238
31239 fi
31240 done
31241
31242     fi
31243   fi
31244
31245
31246
31247
31248
31249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31250 $as_echo_n "checking for isinfl declaration... " >&6; }
31251   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31252     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31253   $as_echo_n "(cached) " >&6
31254 else
31255
31256
31257       ac_ext=cpp
31258 ac_cpp='$CXXCPP $CPPFLAGS'
31259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31262
31263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31264 /* end confdefs.h.  */
31265 #include <math.h>
31266                       #ifdef HAVE_IEEEFP_H
31267                       #include <ieeefp.h>
31268                       #endif
31269
31270 int
31271 main ()
31272 {
31273  isinfl(0);
31274   ;
31275   return 0;
31276 }
31277 _ACEOF
31278 if ac_fn_cxx_try_compile "$LINENO"; then :
31279   glibcxx_cv_func_isinfl_use=yes
31280 else
31281   glibcxx_cv_func_isinfl_use=no
31282 fi
31283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31284       ac_ext=c
31285 ac_cpp='$CPP $CPPFLAGS'
31286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31289
31290
31291 fi
31292
31293   fi
31294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31295 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31296
31297   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31298     for ac_func in isinfl
31299 do :
31300   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31301 if test "x$ac_cv_func_isinfl" = x""yes; then :
31302   cat >>confdefs.h <<_ACEOF
31303 #define HAVE_ISINFL 1
31304 _ACEOF
31305
31306 fi
31307 done
31308
31309   else
31310
31311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31312 $as_echo_n "checking for _isinfl declaration... " >&6; }
31313   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31314     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31315   $as_echo_n "(cached) " >&6
31316 else
31317
31318
31319       ac_ext=cpp
31320 ac_cpp='$CXXCPP $CPPFLAGS'
31321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31324
31325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31326 /* end confdefs.h.  */
31327 #include <math.h>
31328                       #ifdef HAVE_IEEEFP_H
31329                       #include <ieeefp.h>
31330                       #endif
31331
31332 int
31333 main ()
31334 {
31335  _isinfl(0);
31336   ;
31337   return 0;
31338 }
31339 _ACEOF
31340 if ac_fn_cxx_try_compile "$LINENO"; then :
31341   glibcxx_cv_func__isinfl_use=yes
31342 else
31343   glibcxx_cv_func__isinfl_use=no
31344 fi
31345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31346       ac_ext=c
31347 ac_cpp='$CPP $CPPFLAGS'
31348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31351
31352
31353 fi
31354
31355   fi
31356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31357 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31358
31359     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31360       for ac_func in _isinfl
31361 do :
31362   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31363 if test "x$ac_cv_func__isinfl" = x""yes; then :
31364   cat >>confdefs.h <<_ACEOF
31365 #define HAVE__ISINFL 1
31366 _ACEOF
31367
31368 fi
31369 done
31370
31371     fi
31372   fi
31373
31374
31375
31376
31377
31378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31379 $as_echo_n "checking for atan2l declaration... " >&6; }
31380   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31381     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31382   $as_echo_n "(cached) " >&6
31383 else
31384
31385
31386       ac_ext=cpp
31387 ac_cpp='$CXXCPP $CPPFLAGS'
31388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31391
31392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31393 /* end confdefs.h.  */
31394 #include <math.h>
31395 int
31396 main ()
31397 {
31398  atan2l(0, 0);
31399   ;
31400   return 0;
31401 }
31402 _ACEOF
31403 if ac_fn_cxx_try_compile "$LINENO"; then :
31404   glibcxx_cv_func_atan2l_use=yes
31405 else
31406   glibcxx_cv_func_atan2l_use=no
31407 fi
31408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31409       ac_ext=c
31410 ac_cpp='$CPP $CPPFLAGS'
31411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31414
31415
31416 fi
31417
31418   fi
31419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31420 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31421
31422   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31423     for ac_func in atan2l
31424 do :
31425   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31426 if test "x$ac_cv_func_atan2l" = x""yes; then :
31427   cat >>confdefs.h <<_ACEOF
31428 #define HAVE_ATAN2L 1
31429 _ACEOF
31430
31431 fi
31432 done
31433
31434   else
31435
31436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31437 $as_echo_n "checking for _atan2l declaration... " >&6; }
31438   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31439     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31440   $as_echo_n "(cached) " >&6
31441 else
31442
31443
31444       ac_ext=cpp
31445 ac_cpp='$CXXCPP $CPPFLAGS'
31446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31449
31450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31451 /* end confdefs.h.  */
31452 #include <math.h>
31453 int
31454 main ()
31455 {
31456  _atan2l(0, 0);
31457   ;
31458   return 0;
31459 }
31460 _ACEOF
31461 if ac_fn_cxx_try_compile "$LINENO"; then :
31462   glibcxx_cv_func__atan2l_use=yes
31463 else
31464   glibcxx_cv_func__atan2l_use=no
31465 fi
31466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31467       ac_ext=c
31468 ac_cpp='$CPP $CPPFLAGS'
31469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31472
31473
31474 fi
31475
31476   fi
31477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31478 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31479
31480     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31481       for ac_func in _atan2l
31482 do :
31483   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31484 if test "x$ac_cv_func__atan2l" = x""yes; then :
31485   cat >>confdefs.h <<_ACEOF
31486 #define HAVE__ATAN2L 1
31487 _ACEOF
31488
31489 fi
31490 done
31491
31492     fi
31493   fi
31494
31495
31496
31497
31498
31499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31500 $as_echo_n "checking for expl declaration... " >&6; }
31501   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31502     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31503   $as_echo_n "(cached) " >&6
31504 else
31505
31506
31507       ac_ext=cpp
31508 ac_cpp='$CXXCPP $CPPFLAGS'
31509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31512
31513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31514 /* end confdefs.h.  */
31515 #include <math.h>
31516                       #ifdef HAVE_IEEEFP_H
31517                       #include <ieeefp.h>
31518                       #endif
31519
31520 int
31521 main ()
31522 {
31523  expl(0);
31524   ;
31525   return 0;
31526 }
31527 _ACEOF
31528 if ac_fn_cxx_try_compile "$LINENO"; then :
31529   glibcxx_cv_func_expl_use=yes
31530 else
31531   glibcxx_cv_func_expl_use=no
31532 fi
31533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31534       ac_ext=c
31535 ac_cpp='$CPP $CPPFLAGS'
31536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31539
31540
31541 fi
31542
31543   fi
31544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31545 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31546
31547   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31548     for ac_func in expl
31549 do :
31550   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31551 if test "x$ac_cv_func_expl" = x""yes; then :
31552   cat >>confdefs.h <<_ACEOF
31553 #define HAVE_EXPL 1
31554 _ACEOF
31555
31556 fi
31557 done
31558
31559   else
31560
31561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31562 $as_echo_n "checking for _expl declaration... " >&6; }
31563   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31564     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31565   $as_echo_n "(cached) " >&6
31566 else
31567
31568
31569       ac_ext=cpp
31570 ac_cpp='$CXXCPP $CPPFLAGS'
31571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31574
31575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31576 /* end confdefs.h.  */
31577 #include <math.h>
31578                       #ifdef HAVE_IEEEFP_H
31579                       #include <ieeefp.h>
31580                       #endif
31581
31582 int
31583 main ()
31584 {
31585  _expl(0);
31586   ;
31587   return 0;
31588 }
31589 _ACEOF
31590 if ac_fn_cxx_try_compile "$LINENO"; then :
31591   glibcxx_cv_func__expl_use=yes
31592 else
31593   glibcxx_cv_func__expl_use=no
31594 fi
31595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31596       ac_ext=c
31597 ac_cpp='$CPP $CPPFLAGS'
31598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31601
31602
31603 fi
31604
31605   fi
31606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31607 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31608
31609     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31610       for ac_func in _expl
31611 do :
31612   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31613 if test "x$ac_cv_func__expl" = x""yes; then :
31614   cat >>confdefs.h <<_ACEOF
31615 #define HAVE__EXPL 1
31616 _ACEOF
31617
31618 fi
31619 done
31620
31621     fi
31622   fi
31623
31624
31625
31626
31627
31628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31629 $as_echo_n "checking for fabsl declaration... " >&6; }
31630   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31631     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31632   $as_echo_n "(cached) " >&6
31633 else
31634
31635
31636       ac_ext=cpp
31637 ac_cpp='$CXXCPP $CPPFLAGS'
31638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31641
31642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31643 /* end confdefs.h.  */
31644 #include <math.h>
31645                       #ifdef HAVE_IEEEFP_H
31646                       #include <ieeefp.h>
31647                       #endif
31648
31649 int
31650 main ()
31651 {
31652  fabsl(0);
31653   ;
31654   return 0;
31655 }
31656 _ACEOF
31657 if ac_fn_cxx_try_compile "$LINENO"; then :
31658   glibcxx_cv_func_fabsl_use=yes
31659 else
31660   glibcxx_cv_func_fabsl_use=no
31661 fi
31662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31663       ac_ext=c
31664 ac_cpp='$CPP $CPPFLAGS'
31665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31668
31669
31670 fi
31671
31672   fi
31673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31674 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31675
31676   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31677     for ac_func in fabsl
31678 do :
31679   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31680 if test "x$ac_cv_func_fabsl" = x""yes; then :
31681   cat >>confdefs.h <<_ACEOF
31682 #define HAVE_FABSL 1
31683 _ACEOF
31684
31685 fi
31686 done
31687
31688   else
31689
31690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31691 $as_echo_n "checking for _fabsl declaration... " >&6; }
31692   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31693     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31694   $as_echo_n "(cached) " >&6
31695 else
31696
31697
31698       ac_ext=cpp
31699 ac_cpp='$CXXCPP $CPPFLAGS'
31700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31703
31704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31705 /* end confdefs.h.  */
31706 #include <math.h>
31707                       #ifdef HAVE_IEEEFP_H
31708                       #include <ieeefp.h>
31709                       #endif
31710
31711 int
31712 main ()
31713 {
31714  _fabsl(0);
31715   ;
31716   return 0;
31717 }
31718 _ACEOF
31719 if ac_fn_cxx_try_compile "$LINENO"; then :
31720   glibcxx_cv_func__fabsl_use=yes
31721 else
31722   glibcxx_cv_func__fabsl_use=no
31723 fi
31724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31725       ac_ext=c
31726 ac_cpp='$CPP $CPPFLAGS'
31727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31730
31731
31732 fi
31733
31734   fi
31735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31736 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31737
31738     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31739       for ac_func in _fabsl
31740 do :
31741   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31742 if test "x$ac_cv_func__fabsl" = x""yes; then :
31743   cat >>confdefs.h <<_ACEOF
31744 #define HAVE__FABSL 1
31745 _ACEOF
31746
31747 fi
31748 done
31749
31750     fi
31751   fi
31752
31753
31754
31755
31756
31757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31758 $as_echo_n "checking for fmodl declaration... " >&6; }
31759   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31760     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31761   $as_echo_n "(cached) " >&6
31762 else
31763
31764
31765       ac_ext=cpp
31766 ac_cpp='$CXXCPP $CPPFLAGS'
31767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31770
31771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31772 /* end confdefs.h.  */
31773 #include <math.h>
31774 int
31775 main ()
31776 {
31777  fmodl(0, 0);
31778   ;
31779   return 0;
31780 }
31781 _ACEOF
31782 if ac_fn_cxx_try_compile "$LINENO"; then :
31783   glibcxx_cv_func_fmodl_use=yes
31784 else
31785   glibcxx_cv_func_fmodl_use=no
31786 fi
31787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31788       ac_ext=c
31789 ac_cpp='$CPP $CPPFLAGS'
31790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31793
31794
31795 fi
31796
31797   fi
31798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31799 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31800
31801   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31802     for ac_func in fmodl
31803 do :
31804   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31805 if test "x$ac_cv_func_fmodl" = x""yes; then :
31806   cat >>confdefs.h <<_ACEOF
31807 #define HAVE_FMODL 1
31808 _ACEOF
31809
31810 fi
31811 done
31812
31813   else
31814
31815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31816 $as_echo_n "checking for _fmodl declaration... " >&6; }
31817   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31818     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31819   $as_echo_n "(cached) " >&6
31820 else
31821
31822
31823       ac_ext=cpp
31824 ac_cpp='$CXXCPP $CPPFLAGS'
31825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31828
31829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31830 /* end confdefs.h.  */
31831 #include <math.h>
31832 int
31833 main ()
31834 {
31835  _fmodl(0, 0);
31836   ;
31837   return 0;
31838 }
31839 _ACEOF
31840 if ac_fn_cxx_try_compile "$LINENO"; then :
31841   glibcxx_cv_func__fmodl_use=yes
31842 else
31843   glibcxx_cv_func__fmodl_use=no
31844 fi
31845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31846       ac_ext=c
31847 ac_cpp='$CPP $CPPFLAGS'
31848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31851
31852
31853 fi
31854
31855   fi
31856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31857 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31858
31859     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31860       for ac_func in _fmodl
31861 do :
31862   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31863 if test "x$ac_cv_func__fmodl" = x""yes; then :
31864   cat >>confdefs.h <<_ACEOF
31865 #define HAVE__FMODL 1
31866 _ACEOF
31867
31868 fi
31869 done
31870
31871     fi
31872   fi
31873
31874
31875
31876
31877
31878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31879 $as_echo_n "checking for frexpl declaration... " >&6; }
31880   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31881     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31882   $as_echo_n "(cached) " >&6
31883 else
31884
31885
31886       ac_ext=cpp
31887 ac_cpp='$CXXCPP $CPPFLAGS'
31888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31891
31892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31893 /* end confdefs.h.  */
31894 #include <math.h>
31895 int
31896 main ()
31897 {
31898  frexpl(0, 0);
31899   ;
31900   return 0;
31901 }
31902 _ACEOF
31903 if ac_fn_cxx_try_compile "$LINENO"; then :
31904   glibcxx_cv_func_frexpl_use=yes
31905 else
31906   glibcxx_cv_func_frexpl_use=no
31907 fi
31908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31909       ac_ext=c
31910 ac_cpp='$CPP $CPPFLAGS'
31911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31914
31915
31916 fi
31917
31918   fi
31919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31920 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31921
31922   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31923     for ac_func in frexpl
31924 do :
31925   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31926 if test "x$ac_cv_func_frexpl" = x""yes; then :
31927   cat >>confdefs.h <<_ACEOF
31928 #define HAVE_FREXPL 1
31929 _ACEOF
31930
31931 fi
31932 done
31933
31934   else
31935
31936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31937 $as_echo_n "checking for _frexpl declaration... " >&6; }
31938   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31939     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31940   $as_echo_n "(cached) " >&6
31941 else
31942
31943
31944       ac_ext=cpp
31945 ac_cpp='$CXXCPP $CPPFLAGS'
31946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31949
31950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31951 /* end confdefs.h.  */
31952 #include <math.h>
31953 int
31954 main ()
31955 {
31956  _frexpl(0, 0);
31957   ;
31958   return 0;
31959 }
31960 _ACEOF
31961 if ac_fn_cxx_try_compile "$LINENO"; then :
31962   glibcxx_cv_func__frexpl_use=yes
31963 else
31964   glibcxx_cv_func__frexpl_use=no
31965 fi
31966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31967       ac_ext=c
31968 ac_cpp='$CPP $CPPFLAGS'
31969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31972
31973
31974 fi
31975
31976   fi
31977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31978 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31979
31980     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31981       for ac_func in _frexpl
31982 do :
31983   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31984 if test "x$ac_cv_func__frexpl" = x""yes; then :
31985   cat >>confdefs.h <<_ACEOF
31986 #define HAVE__FREXPL 1
31987 _ACEOF
31988
31989 fi
31990 done
31991
31992     fi
31993   fi
31994
31995
31996
31997
31998
31999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32000 $as_echo_n "checking for hypotl declaration... " >&6; }
32001   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32002     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32003   $as_echo_n "(cached) " >&6
32004 else
32005
32006
32007       ac_ext=cpp
32008 ac_cpp='$CXXCPP $CPPFLAGS'
32009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32012
32013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32014 /* end confdefs.h.  */
32015 #include <math.h>
32016 int
32017 main ()
32018 {
32019  hypotl(0, 0);
32020   ;
32021   return 0;
32022 }
32023 _ACEOF
32024 if ac_fn_cxx_try_compile "$LINENO"; then :
32025   glibcxx_cv_func_hypotl_use=yes
32026 else
32027   glibcxx_cv_func_hypotl_use=no
32028 fi
32029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32030       ac_ext=c
32031 ac_cpp='$CPP $CPPFLAGS'
32032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32035
32036
32037 fi
32038
32039   fi
32040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32041 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32042
32043   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32044     for ac_func in hypotl
32045 do :
32046   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32047 if test "x$ac_cv_func_hypotl" = x""yes; then :
32048   cat >>confdefs.h <<_ACEOF
32049 #define HAVE_HYPOTL 1
32050 _ACEOF
32051
32052 fi
32053 done
32054
32055   else
32056
32057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32058 $as_echo_n "checking for _hypotl declaration... " >&6; }
32059   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32060     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32061   $as_echo_n "(cached) " >&6
32062 else
32063
32064
32065       ac_ext=cpp
32066 ac_cpp='$CXXCPP $CPPFLAGS'
32067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32070
32071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32072 /* end confdefs.h.  */
32073 #include <math.h>
32074 int
32075 main ()
32076 {
32077  _hypotl(0, 0);
32078   ;
32079   return 0;
32080 }
32081 _ACEOF
32082 if ac_fn_cxx_try_compile "$LINENO"; then :
32083   glibcxx_cv_func__hypotl_use=yes
32084 else
32085   glibcxx_cv_func__hypotl_use=no
32086 fi
32087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32088       ac_ext=c
32089 ac_cpp='$CPP $CPPFLAGS'
32090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32093
32094
32095 fi
32096
32097   fi
32098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32099 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32100
32101     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32102       for ac_func in _hypotl
32103 do :
32104   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32105 if test "x$ac_cv_func__hypotl" = x""yes; then :
32106   cat >>confdefs.h <<_ACEOF
32107 #define HAVE__HYPOTL 1
32108 _ACEOF
32109
32110 fi
32111 done
32112
32113     fi
32114   fi
32115
32116
32117
32118
32119
32120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32121 $as_echo_n "checking for ldexpl declaration... " >&6; }
32122   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32123     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32124   $as_echo_n "(cached) " >&6
32125 else
32126
32127
32128       ac_ext=cpp
32129 ac_cpp='$CXXCPP $CPPFLAGS'
32130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32133
32134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32135 /* end confdefs.h.  */
32136 #include <math.h>
32137 int
32138 main ()
32139 {
32140  ldexpl(0, 0);
32141   ;
32142   return 0;
32143 }
32144 _ACEOF
32145 if ac_fn_cxx_try_compile "$LINENO"; then :
32146   glibcxx_cv_func_ldexpl_use=yes
32147 else
32148   glibcxx_cv_func_ldexpl_use=no
32149 fi
32150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32151       ac_ext=c
32152 ac_cpp='$CPP $CPPFLAGS'
32153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32156
32157
32158 fi
32159
32160   fi
32161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32162 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32163
32164   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32165     for ac_func in ldexpl
32166 do :
32167   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32168 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32169   cat >>confdefs.h <<_ACEOF
32170 #define HAVE_LDEXPL 1
32171 _ACEOF
32172
32173 fi
32174 done
32175
32176   else
32177
32178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32179 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32180   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32181     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32182   $as_echo_n "(cached) " >&6
32183 else
32184
32185
32186       ac_ext=cpp
32187 ac_cpp='$CXXCPP $CPPFLAGS'
32188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32191
32192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32193 /* end confdefs.h.  */
32194 #include <math.h>
32195 int
32196 main ()
32197 {
32198  _ldexpl(0, 0);
32199   ;
32200   return 0;
32201 }
32202 _ACEOF
32203 if ac_fn_cxx_try_compile "$LINENO"; then :
32204   glibcxx_cv_func__ldexpl_use=yes
32205 else
32206   glibcxx_cv_func__ldexpl_use=no
32207 fi
32208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32209       ac_ext=c
32210 ac_cpp='$CPP $CPPFLAGS'
32211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32214
32215
32216 fi
32217
32218   fi
32219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32220 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32221
32222     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32223       for ac_func in _ldexpl
32224 do :
32225   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32226 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32227   cat >>confdefs.h <<_ACEOF
32228 #define HAVE__LDEXPL 1
32229 _ACEOF
32230
32231 fi
32232 done
32233
32234     fi
32235   fi
32236
32237
32238
32239
32240
32241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32242 $as_echo_n "checking for logl declaration... " >&6; }
32243   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32244     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32245   $as_echo_n "(cached) " >&6
32246 else
32247
32248
32249       ac_ext=cpp
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32254
32255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32256 /* end confdefs.h.  */
32257 #include <math.h>
32258                       #ifdef HAVE_IEEEFP_H
32259                       #include <ieeefp.h>
32260                       #endif
32261
32262 int
32263 main ()
32264 {
32265  logl(0);
32266   ;
32267   return 0;
32268 }
32269 _ACEOF
32270 if ac_fn_cxx_try_compile "$LINENO"; then :
32271   glibcxx_cv_func_logl_use=yes
32272 else
32273   glibcxx_cv_func_logl_use=no
32274 fi
32275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32276       ac_ext=c
32277 ac_cpp='$CPP $CPPFLAGS'
32278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32281
32282
32283 fi
32284
32285   fi
32286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32287 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32288
32289   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32290     for ac_func in logl
32291 do :
32292   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32293 if test "x$ac_cv_func_logl" = x""yes; then :
32294   cat >>confdefs.h <<_ACEOF
32295 #define HAVE_LOGL 1
32296 _ACEOF
32297
32298 fi
32299 done
32300
32301   else
32302
32303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32304 $as_echo_n "checking for _logl declaration... " >&6; }
32305   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32306     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32307   $as_echo_n "(cached) " >&6
32308 else
32309
32310
32311       ac_ext=cpp
32312 ac_cpp='$CXXCPP $CPPFLAGS'
32313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32316
32317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32318 /* end confdefs.h.  */
32319 #include <math.h>
32320                       #ifdef HAVE_IEEEFP_H
32321                       #include <ieeefp.h>
32322                       #endif
32323
32324 int
32325 main ()
32326 {
32327  _logl(0);
32328   ;
32329   return 0;
32330 }
32331 _ACEOF
32332 if ac_fn_cxx_try_compile "$LINENO"; then :
32333   glibcxx_cv_func__logl_use=yes
32334 else
32335   glibcxx_cv_func__logl_use=no
32336 fi
32337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32338       ac_ext=c
32339 ac_cpp='$CPP $CPPFLAGS'
32340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32343
32344
32345 fi
32346
32347   fi
32348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32349 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32350
32351     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32352       for ac_func in _logl
32353 do :
32354   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32355 if test "x$ac_cv_func__logl" = x""yes; then :
32356   cat >>confdefs.h <<_ACEOF
32357 #define HAVE__LOGL 1
32358 _ACEOF
32359
32360 fi
32361 done
32362
32363     fi
32364   fi
32365
32366
32367
32368
32369
32370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32371 $as_echo_n "checking for log10l declaration... " >&6; }
32372   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32373     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32374   $as_echo_n "(cached) " >&6
32375 else
32376
32377
32378       ac_ext=cpp
32379 ac_cpp='$CXXCPP $CPPFLAGS'
32380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32383
32384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32385 /* end confdefs.h.  */
32386 #include <math.h>
32387                       #ifdef HAVE_IEEEFP_H
32388                       #include <ieeefp.h>
32389                       #endif
32390
32391 int
32392 main ()
32393 {
32394  log10l(0);
32395   ;
32396   return 0;
32397 }
32398 _ACEOF
32399 if ac_fn_cxx_try_compile "$LINENO"; then :
32400   glibcxx_cv_func_log10l_use=yes
32401 else
32402   glibcxx_cv_func_log10l_use=no
32403 fi
32404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32405       ac_ext=c
32406 ac_cpp='$CPP $CPPFLAGS'
32407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32410
32411
32412 fi
32413
32414   fi
32415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32416 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32417
32418   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32419     for ac_func in log10l
32420 do :
32421   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32422 if test "x$ac_cv_func_log10l" = x""yes; then :
32423   cat >>confdefs.h <<_ACEOF
32424 #define HAVE_LOG10L 1
32425 _ACEOF
32426
32427 fi
32428 done
32429
32430   else
32431
32432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32433 $as_echo_n "checking for _log10l declaration... " >&6; }
32434   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32435     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32436   $as_echo_n "(cached) " >&6
32437 else
32438
32439
32440       ac_ext=cpp
32441 ac_cpp='$CXXCPP $CPPFLAGS'
32442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32445
32446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32447 /* end confdefs.h.  */
32448 #include <math.h>
32449                       #ifdef HAVE_IEEEFP_H
32450                       #include <ieeefp.h>
32451                       #endif
32452
32453 int
32454 main ()
32455 {
32456  _log10l(0);
32457   ;
32458   return 0;
32459 }
32460 _ACEOF
32461 if ac_fn_cxx_try_compile "$LINENO"; then :
32462   glibcxx_cv_func__log10l_use=yes
32463 else
32464   glibcxx_cv_func__log10l_use=no
32465 fi
32466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32467       ac_ext=c
32468 ac_cpp='$CPP $CPPFLAGS'
32469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32472
32473
32474 fi
32475
32476   fi
32477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32478 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32479
32480     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32481       for ac_func in _log10l
32482 do :
32483   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32484 if test "x$ac_cv_func__log10l" = x""yes; then :
32485   cat >>confdefs.h <<_ACEOF
32486 #define HAVE__LOG10L 1
32487 _ACEOF
32488
32489 fi
32490 done
32491
32492     fi
32493   fi
32494
32495
32496
32497
32498
32499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32500 $as_echo_n "checking for modfl declaration... " >&6; }
32501   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32502     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32503   $as_echo_n "(cached) " >&6
32504 else
32505
32506
32507       ac_ext=cpp
32508 ac_cpp='$CXXCPP $CPPFLAGS'
32509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32512
32513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32514 /* end confdefs.h.  */
32515 #include <math.h>
32516 int
32517 main ()
32518 {
32519  modfl(0, 0);
32520   ;
32521   return 0;
32522 }
32523 _ACEOF
32524 if ac_fn_cxx_try_compile "$LINENO"; then :
32525   glibcxx_cv_func_modfl_use=yes
32526 else
32527   glibcxx_cv_func_modfl_use=no
32528 fi
32529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32530       ac_ext=c
32531 ac_cpp='$CPP $CPPFLAGS'
32532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32535
32536
32537 fi
32538
32539   fi
32540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32541 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32542
32543   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32544     for ac_func in modfl
32545 do :
32546   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32547 if test "x$ac_cv_func_modfl" = x""yes; then :
32548   cat >>confdefs.h <<_ACEOF
32549 #define HAVE_MODFL 1
32550 _ACEOF
32551
32552 fi
32553 done
32554
32555   else
32556
32557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32558 $as_echo_n "checking for _modfl declaration... " >&6; }
32559   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32560     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32561   $as_echo_n "(cached) " >&6
32562 else
32563
32564
32565       ac_ext=cpp
32566 ac_cpp='$CXXCPP $CPPFLAGS'
32567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32570
32571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32572 /* end confdefs.h.  */
32573 #include <math.h>
32574 int
32575 main ()
32576 {
32577  _modfl(0, 0);
32578   ;
32579   return 0;
32580 }
32581 _ACEOF
32582 if ac_fn_cxx_try_compile "$LINENO"; then :
32583   glibcxx_cv_func__modfl_use=yes
32584 else
32585   glibcxx_cv_func__modfl_use=no
32586 fi
32587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32588       ac_ext=c
32589 ac_cpp='$CPP $CPPFLAGS'
32590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32593
32594
32595 fi
32596
32597   fi
32598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32599 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32600
32601     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32602       for ac_func in _modfl
32603 do :
32604   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32605 if test "x$ac_cv_func__modfl" = x""yes; then :
32606   cat >>confdefs.h <<_ACEOF
32607 #define HAVE__MODFL 1
32608 _ACEOF
32609
32610 fi
32611 done
32612
32613     fi
32614   fi
32615
32616
32617
32618
32619
32620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32621 $as_echo_n "checking for powl declaration... " >&6; }
32622   if test x${glibcxx_cv_func_powl_use+set} != xset; then
32623     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32624   $as_echo_n "(cached) " >&6
32625 else
32626
32627
32628       ac_ext=cpp
32629 ac_cpp='$CXXCPP $CPPFLAGS'
32630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32633
32634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32635 /* end confdefs.h.  */
32636 #include <math.h>
32637 int
32638 main ()
32639 {
32640  powl(0, 0);
32641   ;
32642   return 0;
32643 }
32644 _ACEOF
32645 if ac_fn_cxx_try_compile "$LINENO"; then :
32646   glibcxx_cv_func_powl_use=yes
32647 else
32648   glibcxx_cv_func_powl_use=no
32649 fi
32650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32651       ac_ext=c
32652 ac_cpp='$CPP $CPPFLAGS'
32653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32656
32657
32658 fi
32659
32660   fi
32661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32662 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32663
32664   if test x$glibcxx_cv_func_powl_use = x"yes"; then
32665     for ac_func in powl
32666 do :
32667   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32668 if test "x$ac_cv_func_powl" = x""yes; then :
32669   cat >>confdefs.h <<_ACEOF
32670 #define HAVE_POWL 1
32671 _ACEOF
32672
32673 fi
32674 done
32675
32676   else
32677
32678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32679 $as_echo_n "checking for _powl declaration... " >&6; }
32680   if test x${glibcxx_cv_func__powl_use+set} != xset; then
32681     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32682   $as_echo_n "(cached) " >&6
32683 else
32684
32685
32686       ac_ext=cpp
32687 ac_cpp='$CXXCPP $CPPFLAGS'
32688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32691
32692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32693 /* end confdefs.h.  */
32694 #include <math.h>
32695 int
32696 main ()
32697 {
32698  _powl(0, 0);
32699   ;
32700   return 0;
32701 }
32702 _ACEOF
32703 if ac_fn_cxx_try_compile "$LINENO"; then :
32704   glibcxx_cv_func__powl_use=yes
32705 else
32706   glibcxx_cv_func__powl_use=no
32707 fi
32708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32709       ac_ext=c
32710 ac_cpp='$CPP $CPPFLAGS'
32711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32714
32715
32716 fi
32717
32718   fi
32719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32720 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32721
32722     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32723       for ac_func in _powl
32724 do :
32725   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32726 if test "x$ac_cv_func__powl" = x""yes; then :
32727   cat >>confdefs.h <<_ACEOF
32728 #define HAVE__POWL 1
32729 _ACEOF
32730
32731 fi
32732 done
32733
32734     fi
32735   fi
32736
32737
32738
32739
32740
32741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32742 $as_echo_n "checking for sqrtl declaration... " >&6; }
32743   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32744     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32745   $as_echo_n "(cached) " >&6
32746 else
32747
32748
32749       ac_ext=cpp
32750 ac_cpp='$CXXCPP $CPPFLAGS'
32751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32754
32755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32756 /* end confdefs.h.  */
32757 #include <math.h>
32758                       #ifdef HAVE_IEEEFP_H
32759                       #include <ieeefp.h>
32760                       #endif
32761
32762 int
32763 main ()
32764 {
32765  sqrtl(0);
32766   ;
32767   return 0;
32768 }
32769 _ACEOF
32770 if ac_fn_cxx_try_compile "$LINENO"; then :
32771   glibcxx_cv_func_sqrtl_use=yes
32772 else
32773   glibcxx_cv_func_sqrtl_use=no
32774 fi
32775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32776       ac_ext=c
32777 ac_cpp='$CPP $CPPFLAGS'
32778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32781
32782
32783 fi
32784
32785   fi
32786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32787 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32788
32789   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32790     for ac_func in sqrtl
32791 do :
32792   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32793 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32794   cat >>confdefs.h <<_ACEOF
32795 #define HAVE_SQRTL 1
32796 _ACEOF
32797
32798 fi
32799 done
32800
32801   else
32802
32803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32804 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32805   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32806     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32807   $as_echo_n "(cached) " >&6
32808 else
32809
32810
32811       ac_ext=cpp
32812 ac_cpp='$CXXCPP $CPPFLAGS'
32813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32816
32817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32818 /* end confdefs.h.  */
32819 #include <math.h>
32820                       #ifdef HAVE_IEEEFP_H
32821                       #include <ieeefp.h>
32822                       #endif
32823
32824 int
32825 main ()
32826 {
32827  _sqrtl(0);
32828   ;
32829   return 0;
32830 }
32831 _ACEOF
32832 if ac_fn_cxx_try_compile "$LINENO"; then :
32833   glibcxx_cv_func__sqrtl_use=yes
32834 else
32835   glibcxx_cv_func__sqrtl_use=no
32836 fi
32837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32838       ac_ext=c
32839 ac_cpp='$CPP $CPPFLAGS'
32840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32843
32844
32845 fi
32846
32847   fi
32848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32849 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32850
32851     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32852       for ac_func in _sqrtl
32853 do :
32854   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32855 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32856   cat >>confdefs.h <<_ACEOF
32857 #define HAVE__SQRTL 1
32858 _ACEOF
32859
32860 fi
32861 done
32862
32863     fi
32864   fi
32865
32866
32867
32868
32869
32870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32871 $as_echo_n "checking for sincosl declaration... " >&6; }
32872   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32873     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32874   $as_echo_n "(cached) " >&6
32875 else
32876
32877
32878       ac_ext=cpp
32879 ac_cpp='$CXXCPP $CPPFLAGS'
32880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32883
32884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32885 /* end confdefs.h.  */
32886 #include <math.h>
32887 int
32888 main ()
32889 {
32890  sincosl(0, 0, 0);
32891   ;
32892   return 0;
32893 }
32894 _ACEOF
32895 if ac_fn_cxx_try_compile "$LINENO"; then :
32896   glibcxx_cv_func_sincosl_use=yes
32897 else
32898   glibcxx_cv_func_sincosl_use=no
32899 fi
32900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32901       ac_ext=c
32902 ac_cpp='$CPP $CPPFLAGS'
32903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32906
32907
32908 fi
32909
32910   fi
32911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32912 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32913
32914   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32915     for ac_func in sincosl
32916 do :
32917   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32918 if test "x$ac_cv_func_sincosl" = x""yes; then :
32919   cat >>confdefs.h <<_ACEOF
32920 #define HAVE_SINCOSL 1
32921 _ACEOF
32922
32923 fi
32924 done
32925
32926   else
32927
32928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32929 $as_echo_n "checking for _sincosl declaration... " >&6; }
32930   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32931     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32932   $as_echo_n "(cached) " >&6
32933 else
32934
32935
32936       ac_ext=cpp
32937 ac_cpp='$CXXCPP $CPPFLAGS'
32938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32941
32942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32943 /* end confdefs.h.  */
32944 #include <math.h>
32945 int
32946 main ()
32947 {
32948  _sincosl(0, 0, 0);
32949   ;
32950   return 0;
32951 }
32952 _ACEOF
32953 if ac_fn_cxx_try_compile "$LINENO"; then :
32954   glibcxx_cv_func__sincosl_use=yes
32955 else
32956   glibcxx_cv_func__sincosl_use=no
32957 fi
32958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32959       ac_ext=c
32960 ac_cpp='$CPP $CPPFLAGS'
32961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32964
32965
32966 fi
32967
32968   fi
32969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32970 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32971
32972     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32973       for ac_func in _sincosl
32974 do :
32975   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32976 if test "x$ac_cv_func__sincosl" = x""yes; then :
32977   cat >>confdefs.h <<_ACEOF
32978 #define HAVE__SINCOSL 1
32979 _ACEOF
32980
32981 fi
32982 done
32983
32984     fi
32985   fi
32986
32987
32988
32989
32990
32991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32992 $as_echo_n "checking for finitel declaration... " >&6; }
32993   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32994     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32995   $as_echo_n "(cached) " >&6
32996 else
32997
32998
32999       ac_ext=cpp
33000 ac_cpp='$CXXCPP $CPPFLAGS'
33001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33004
33005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33006 /* end confdefs.h.  */
33007 #include <math.h>
33008                       #ifdef HAVE_IEEEFP_H
33009                       #include <ieeefp.h>
33010                       #endif
33011
33012 int
33013 main ()
33014 {
33015  finitel(0);
33016   ;
33017   return 0;
33018 }
33019 _ACEOF
33020 if ac_fn_cxx_try_compile "$LINENO"; then :
33021   glibcxx_cv_func_finitel_use=yes
33022 else
33023   glibcxx_cv_func_finitel_use=no
33024 fi
33025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33026       ac_ext=c
33027 ac_cpp='$CPP $CPPFLAGS'
33028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33031
33032
33033 fi
33034
33035   fi
33036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33037 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33038
33039   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33040     for ac_func in finitel
33041 do :
33042   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33043 if test "x$ac_cv_func_finitel" = x""yes; then :
33044   cat >>confdefs.h <<_ACEOF
33045 #define HAVE_FINITEL 1
33046 _ACEOF
33047
33048 fi
33049 done
33050
33051   else
33052
33053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33054 $as_echo_n "checking for _finitel declaration... " >&6; }
33055   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33056     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33057   $as_echo_n "(cached) " >&6
33058 else
33059
33060
33061       ac_ext=cpp
33062 ac_cpp='$CXXCPP $CPPFLAGS'
33063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33066
33067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33068 /* end confdefs.h.  */
33069 #include <math.h>
33070                       #ifdef HAVE_IEEEFP_H
33071                       #include <ieeefp.h>
33072                       #endif
33073
33074 int
33075 main ()
33076 {
33077  _finitel(0);
33078   ;
33079   return 0;
33080 }
33081 _ACEOF
33082 if ac_fn_cxx_try_compile "$LINENO"; then :
33083   glibcxx_cv_func__finitel_use=yes
33084 else
33085   glibcxx_cv_func__finitel_use=no
33086 fi
33087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33088       ac_ext=c
33089 ac_cpp='$CPP $CPPFLAGS'
33090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33093
33094
33095 fi
33096
33097   fi
33098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33099 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33100
33101     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33102       for ac_func in _finitel
33103 do :
33104   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33105 if test "x$ac_cv_func__finitel" = x""yes; then :
33106   cat >>confdefs.h <<_ACEOF
33107 #define HAVE__FINITEL 1
33108 _ACEOF
33109
33110 fi
33111 done
33112
33113     fi
33114   fi
33115
33116
33117
33118
33119   LIBS="$ac_save_LIBS"
33120   CXXFLAGS="$ac_save_CXXFLAGS"
33121
33122
33123   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33124   ac_save_CXXFLAGS="$CXXFLAGS"
33125   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33126
33127
33128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33129 $as_echo_n "checking for strtold declaration... " >&6; }
33130   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33131     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33132   $as_echo_n "(cached) " >&6
33133 else
33134
33135
33136       ac_ext=cpp
33137 ac_cpp='$CXXCPP $CPPFLAGS'
33138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33141
33142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33143 /* end confdefs.h.  */
33144 #include <stdlib.h>
33145 int
33146 main ()
33147 {
33148  strtold(0, 0);
33149   ;
33150   return 0;
33151 }
33152 _ACEOF
33153 if ac_fn_cxx_try_compile "$LINENO"; then :
33154   glibcxx_cv_func_strtold_use=yes
33155 else
33156   glibcxx_cv_func_strtold_use=no
33157 fi
33158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33159       ac_ext=c
33160 ac_cpp='$CPP $CPPFLAGS'
33161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33164
33165
33166 fi
33167
33168   fi
33169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33170 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33171   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33172     for ac_func in strtold
33173 do :
33174   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33175 if test "x$ac_cv_func_strtold" = x""yes; then :
33176   cat >>confdefs.h <<_ACEOF
33177 #define HAVE_STRTOLD 1
33178 _ACEOF
33179
33180 fi
33181 done
33182
33183   fi
33184
33185
33186
33187
33188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33189 $as_echo_n "checking for strtof declaration... " >&6; }
33190   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33191     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33192   $as_echo_n "(cached) " >&6
33193 else
33194
33195
33196       ac_ext=cpp
33197 ac_cpp='$CXXCPP $CPPFLAGS'
33198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33201
33202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33203 /* end confdefs.h.  */
33204 #include <stdlib.h>
33205 int
33206 main ()
33207 {
33208  strtof(0, 0);
33209   ;
33210   return 0;
33211 }
33212 _ACEOF
33213 if ac_fn_cxx_try_compile "$LINENO"; then :
33214   glibcxx_cv_func_strtof_use=yes
33215 else
33216   glibcxx_cv_func_strtof_use=no
33217 fi
33218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33219       ac_ext=c
33220 ac_cpp='$CPP $CPPFLAGS'
33221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33224
33225
33226 fi
33227
33228   fi
33229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33230 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33231   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33232     for ac_func in strtof
33233 do :
33234   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33235 if test "x$ac_cv_func_strtof" = x""yes; then :
33236   cat >>confdefs.h <<_ACEOF
33237 #define HAVE_STRTOF 1
33238 _ACEOF
33239
33240 fi
33241 done
33242
33243   fi
33244
33245
33246
33247
33248   CXXFLAGS="$ac_save_CXXFLAGS"
33249
33250
33251     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33252
33253     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33254
33255     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33256
33257     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33258
33259
33260     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33261
33262     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33263
33264     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33265
33266     ;;
33267
33268   *-aix*)
33269
33270   # If we're not using GNU ld, then there's no point in even trying these
33271   # tests.  Check for that first.  We should have already tested for gld
33272   # by now (in libtool), but require it now just to be safe...
33273   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33274   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33275
33276
33277
33278   # The name set by libtool depends on the version of libtool.  Shame on us
33279   # for depending on an impl detail, but c'est la vie.  Older versions used
33280   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33281   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33282   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33283   # set (hence we're using an older libtool), then set it.
33284   if test x${with_gnu_ld+set} != xset; then
33285     if test x${ac_cv_prog_gnu_ld+set} != xset; then
33286       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33287       with_gnu_ld=no
33288     else
33289       with_gnu_ld=$ac_cv_prog_gnu_ld
33290     fi
33291   fi
33292
33293   # Start by getting the version number.  I think the libtool test already
33294   # does some of this, but throws away the result.
33295   glibcxx_ld_is_gold=no
33296   if test x"$with_gnu_ld" = x"yes"; then
33297     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33298 $as_echo_n "checking for ld version... " >&6; }
33299
33300     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33301       glibcxx_ld_is_gold=yes
33302     fi
33303     ldver=`$LD --version 2>/dev/null |
33304            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'`
33305
33306     glibcxx_gnu_ld_version=`echo $ldver | \
33307            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33308     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33309 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33310   fi
33311
33312   # Set --gc-sections.
33313   glibcxx_have_gc_sections=no
33314   if test "$glibcxx_ld_is_gold" = "yes"; then
33315     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33316       glibcxx_have_gc_sections=yes
33317     fi
33318   else
33319     glibcxx_gcsections_min_ld=21602
33320     if test x"$with_gnu_ld" = x"yes" &&
33321         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33322       glibcxx_have_gc_sections=yes
33323     fi
33324   fi
33325   if test "$glibcxx_have_gc_sections" = "yes"; then
33326     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33327     # NB: This flag only works reliably after 2.16.1. Configure tests
33328     # for this are difficult, so hard wire a value that should work.
33329
33330     ac_test_CFLAGS="${CFLAGS+set}"
33331     ac_save_CFLAGS="$CFLAGS"
33332     CFLAGS='-Wl,--gc-sections'
33333
33334     # Check for -Wl,--gc-sections
33335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33336 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33337     if test x$gcc_no_link = xyes; then
33338   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33339 fi
33340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33341 /* end confdefs.h.  */
33342  int one(void) { return 1; }
33343      int two(void) { return 2; }
33344
33345 int
33346 main ()
33347 {
33348  two();
33349   ;
33350   return 0;
33351 }
33352 _ACEOF
33353 if ac_fn_c_try_link "$LINENO"; then :
33354   ac_gcsections=yes
33355 else
33356   ac_gcsections=no
33357 fi
33358 rm -f core conftest.err conftest.$ac_objext \
33359     conftest$ac_exeext conftest.$ac_ext
33360     if test "$ac_gcsections" = "yes"; then
33361       rm -f conftest.c
33362       touch conftest.c
33363       if $CC -c conftest.c; then
33364         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33365            grep "Warning: gc-sections option ignored" > /dev/null; then
33366           ac_gcsections=no
33367         fi
33368       fi
33369       rm -f conftest.c conftest.o conftest
33370     fi
33371     if test "$ac_gcsections" = "yes"; then
33372       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33373     fi
33374     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33375 $as_echo "$ac_gcsections" >&6; }
33376
33377     if test "$ac_test_CFLAGS" = set; then
33378       CFLAGS="$ac_save_CFLAGS"
33379     else
33380       # this is the suspicious part
33381       CFLAGS=''
33382     fi
33383   fi
33384
33385   # Set -z,relro.
33386   # Note this is only for shared objects.
33387   ac_ld_relro=no
33388   if test x"$with_gnu_ld" = x"yes"; then
33389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33390 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33391     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33392     if test -n "$cxx_z_relo"; then
33393       OPT_LDFLAGS="-Wl,-z,relro"
33394       ac_ld_relro=yes
33395     fi
33396     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33397 $as_echo "$ac_ld_relro" >&6; }
33398   fi
33399
33400   # Set linker optimization flags.
33401   if test x"$with_gnu_ld" = x"yes"; then
33402     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33403   fi
33404
33405
33406
33407
33408
33409   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33410   ac_save_CXXFLAGS="$CXXFLAGS"
33411   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33412
33413     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33414 $as_echo_n "checking for sin in -lm... " >&6; }
33415 if test "${ac_cv_lib_m_sin+set}" = set; then :
33416   $as_echo_n "(cached) " >&6
33417 else
33418   ac_check_lib_save_LIBS=$LIBS
33419 LIBS="-lm  $LIBS"
33420 if test x$gcc_no_link = xyes; then
33421   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33422 fi
33423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33424 /* end confdefs.h.  */
33425
33426 /* Override any GCC internal prototype to avoid an error.
33427    Use char because int might match the return type of a GCC
33428    builtin and then its argument prototype would still apply.  */
33429 #ifdef __cplusplus
33430 extern "C"
33431 #endif
33432 char sin ();
33433 int
33434 main ()
33435 {
33436 return sin ();
33437   ;
33438   return 0;
33439 }
33440 _ACEOF
33441 if ac_fn_c_try_link "$LINENO"; then :
33442   ac_cv_lib_m_sin=yes
33443 else
33444   ac_cv_lib_m_sin=no
33445 fi
33446 rm -f core conftest.err conftest.$ac_objext \
33447     conftest$ac_exeext conftest.$ac_ext
33448 LIBS=$ac_check_lib_save_LIBS
33449 fi
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33451 $as_echo "$ac_cv_lib_m_sin" >&6; }
33452 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33453   libm="-lm"
33454 fi
33455
33456   ac_save_LIBS="$LIBS"
33457   LIBS="$LIBS $libm"
33458
33459
33460
33461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33462 $as_echo_n "checking for isinf declaration... " >&6; }
33463   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33464     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33465   $as_echo_n "(cached) " >&6
33466 else
33467
33468
33469       ac_ext=cpp
33470 ac_cpp='$CXXCPP $CPPFLAGS'
33471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33474
33475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33476 /* end confdefs.h.  */
33477 #include <math.h>
33478                       #ifdef HAVE_IEEEFP_H
33479                       #include <ieeefp.h>
33480                       #endif
33481
33482 int
33483 main ()
33484 {
33485  isinf(0);
33486   ;
33487   return 0;
33488 }
33489 _ACEOF
33490 if ac_fn_cxx_try_compile "$LINENO"; then :
33491   glibcxx_cv_func_isinf_use=yes
33492 else
33493   glibcxx_cv_func_isinf_use=no
33494 fi
33495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33496       ac_ext=c
33497 ac_cpp='$CPP $CPPFLAGS'
33498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33501
33502
33503 fi
33504
33505   fi
33506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33507 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33508
33509   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33510     for ac_func in isinf
33511 do :
33512   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33513 if test "x$ac_cv_func_isinf" = x""yes; then :
33514   cat >>confdefs.h <<_ACEOF
33515 #define HAVE_ISINF 1
33516 _ACEOF
33517
33518 fi
33519 done
33520
33521   else
33522
33523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33524 $as_echo_n "checking for _isinf declaration... " >&6; }
33525   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33526     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33527   $as_echo_n "(cached) " >&6
33528 else
33529
33530
33531       ac_ext=cpp
33532 ac_cpp='$CXXCPP $CPPFLAGS'
33533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33536
33537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33538 /* end confdefs.h.  */
33539 #include <math.h>
33540                       #ifdef HAVE_IEEEFP_H
33541                       #include <ieeefp.h>
33542                       #endif
33543
33544 int
33545 main ()
33546 {
33547  _isinf(0);
33548   ;
33549   return 0;
33550 }
33551 _ACEOF
33552 if ac_fn_cxx_try_compile "$LINENO"; then :
33553   glibcxx_cv_func__isinf_use=yes
33554 else
33555   glibcxx_cv_func__isinf_use=no
33556 fi
33557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33558       ac_ext=c
33559 ac_cpp='$CPP $CPPFLAGS'
33560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33563
33564
33565 fi
33566
33567   fi
33568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33569 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33570
33571     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33572       for ac_func in _isinf
33573 do :
33574   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33575 if test "x$ac_cv_func__isinf" = x""yes; then :
33576   cat >>confdefs.h <<_ACEOF
33577 #define HAVE__ISINF 1
33578 _ACEOF
33579
33580 fi
33581 done
33582
33583     fi
33584   fi
33585
33586
33587
33588
33589
33590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33591 $as_echo_n "checking for isnan declaration... " >&6; }
33592   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33593     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33594   $as_echo_n "(cached) " >&6
33595 else
33596
33597
33598       ac_ext=cpp
33599 ac_cpp='$CXXCPP $CPPFLAGS'
33600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33603
33604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33605 /* end confdefs.h.  */
33606 #include <math.h>
33607                       #ifdef HAVE_IEEEFP_H
33608                       #include <ieeefp.h>
33609                       #endif
33610
33611 int
33612 main ()
33613 {
33614  isnan(0);
33615   ;
33616   return 0;
33617 }
33618 _ACEOF
33619 if ac_fn_cxx_try_compile "$LINENO"; then :
33620   glibcxx_cv_func_isnan_use=yes
33621 else
33622   glibcxx_cv_func_isnan_use=no
33623 fi
33624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33625       ac_ext=c
33626 ac_cpp='$CPP $CPPFLAGS'
33627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33630
33631
33632 fi
33633
33634   fi
33635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33636 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33637
33638   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33639     for ac_func in isnan
33640 do :
33641   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33642 if test "x$ac_cv_func_isnan" = x""yes; then :
33643   cat >>confdefs.h <<_ACEOF
33644 #define HAVE_ISNAN 1
33645 _ACEOF
33646
33647 fi
33648 done
33649
33650   else
33651
33652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33653 $as_echo_n "checking for _isnan declaration... " >&6; }
33654   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33655     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33656   $as_echo_n "(cached) " >&6
33657 else
33658
33659
33660       ac_ext=cpp
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33665
33666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33667 /* end confdefs.h.  */
33668 #include <math.h>
33669                       #ifdef HAVE_IEEEFP_H
33670                       #include <ieeefp.h>
33671                       #endif
33672
33673 int
33674 main ()
33675 {
33676  _isnan(0);
33677   ;
33678   return 0;
33679 }
33680 _ACEOF
33681 if ac_fn_cxx_try_compile "$LINENO"; then :
33682   glibcxx_cv_func__isnan_use=yes
33683 else
33684   glibcxx_cv_func__isnan_use=no
33685 fi
33686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33687       ac_ext=c
33688 ac_cpp='$CPP $CPPFLAGS'
33689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33692
33693
33694 fi
33695
33696   fi
33697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33698 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33699
33700     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33701       for ac_func in _isnan
33702 do :
33703   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33704 if test "x$ac_cv_func__isnan" = x""yes; then :
33705   cat >>confdefs.h <<_ACEOF
33706 #define HAVE__ISNAN 1
33707 _ACEOF
33708
33709 fi
33710 done
33711
33712     fi
33713   fi
33714
33715
33716
33717
33718
33719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33720 $as_echo_n "checking for finite declaration... " >&6; }
33721   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33722     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33723   $as_echo_n "(cached) " >&6
33724 else
33725
33726
33727       ac_ext=cpp
33728 ac_cpp='$CXXCPP $CPPFLAGS'
33729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33732
33733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33734 /* end confdefs.h.  */
33735 #include <math.h>
33736                       #ifdef HAVE_IEEEFP_H
33737                       #include <ieeefp.h>
33738                       #endif
33739
33740 int
33741 main ()
33742 {
33743  finite(0);
33744   ;
33745   return 0;
33746 }
33747 _ACEOF
33748 if ac_fn_cxx_try_compile "$LINENO"; then :
33749   glibcxx_cv_func_finite_use=yes
33750 else
33751   glibcxx_cv_func_finite_use=no
33752 fi
33753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33754       ac_ext=c
33755 ac_cpp='$CPP $CPPFLAGS'
33756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33759
33760
33761 fi
33762
33763   fi
33764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33765 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33766
33767   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33768     for ac_func in finite
33769 do :
33770   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33771 if test "x$ac_cv_func_finite" = x""yes; then :
33772   cat >>confdefs.h <<_ACEOF
33773 #define HAVE_FINITE 1
33774 _ACEOF
33775
33776 fi
33777 done
33778
33779   else
33780
33781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33782 $as_echo_n "checking for _finite declaration... " >&6; }
33783   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33784     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33785   $as_echo_n "(cached) " >&6
33786 else
33787
33788
33789       ac_ext=cpp
33790 ac_cpp='$CXXCPP $CPPFLAGS'
33791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33794
33795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33796 /* end confdefs.h.  */
33797 #include <math.h>
33798                       #ifdef HAVE_IEEEFP_H
33799                       #include <ieeefp.h>
33800                       #endif
33801
33802 int
33803 main ()
33804 {
33805  _finite(0);
33806   ;
33807   return 0;
33808 }
33809 _ACEOF
33810 if ac_fn_cxx_try_compile "$LINENO"; then :
33811   glibcxx_cv_func__finite_use=yes
33812 else
33813   glibcxx_cv_func__finite_use=no
33814 fi
33815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33816       ac_ext=c
33817 ac_cpp='$CPP $CPPFLAGS'
33818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33821
33822
33823 fi
33824
33825   fi
33826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33827 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33828
33829     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33830       for ac_func in _finite
33831 do :
33832   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33833 if test "x$ac_cv_func__finite" = x""yes; then :
33834   cat >>confdefs.h <<_ACEOF
33835 #define HAVE__FINITE 1
33836 _ACEOF
33837
33838 fi
33839 done
33840
33841     fi
33842   fi
33843
33844
33845
33846
33847
33848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33849 $as_echo_n "checking for sincos declaration... " >&6; }
33850   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33851     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33852   $as_echo_n "(cached) " >&6
33853 else
33854
33855
33856       ac_ext=cpp
33857 ac_cpp='$CXXCPP $CPPFLAGS'
33858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33861
33862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33863 /* end confdefs.h.  */
33864 #include <math.h>
33865 int
33866 main ()
33867 {
33868  sincos(0, 0, 0);
33869   ;
33870   return 0;
33871 }
33872 _ACEOF
33873 if ac_fn_cxx_try_compile "$LINENO"; then :
33874   glibcxx_cv_func_sincos_use=yes
33875 else
33876   glibcxx_cv_func_sincos_use=no
33877 fi
33878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33879       ac_ext=c
33880 ac_cpp='$CPP $CPPFLAGS'
33881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33884
33885
33886 fi
33887
33888   fi
33889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33890 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33891
33892   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33893     for ac_func in sincos
33894 do :
33895   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33896 if test "x$ac_cv_func_sincos" = x""yes; then :
33897   cat >>confdefs.h <<_ACEOF
33898 #define HAVE_SINCOS 1
33899 _ACEOF
33900
33901 fi
33902 done
33903
33904   else
33905
33906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33907 $as_echo_n "checking for _sincos declaration... " >&6; }
33908   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33909     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33910   $as_echo_n "(cached) " >&6
33911 else
33912
33913
33914       ac_ext=cpp
33915 ac_cpp='$CXXCPP $CPPFLAGS'
33916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33919
33920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33921 /* end confdefs.h.  */
33922 #include <math.h>
33923 int
33924 main ()
33925 {
33926  _sincos(0, 0, 0);
33927   ;
33928   return 0;
33929 }
33930 _ACEOF
33931 if ac_fn_cxx_try_compile "$LINENO"; then :
33932   glibcxx_cv_func__sincos_use=yes
33933 else
33934   glibcxx_cv_func__sincos_use=no
33935 fi
33936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33937       ac_ext=c
33938 ac_cpp='$CPP $CPPFLAGS'
33939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33942
33943
33944 fi
33945
33946   fi
33947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33948 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33949
33950     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33951       for ac_func in _sincos
33952 do :
33953   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33954 if test "x$ac_cv_func__sincos" = x""yes; then :
33955   cat >>confdefs.h <<_ACEOF
33956 #define HAVE__SINCOS 1
33957 _ACEOF
33958
33959 fi
33960 done
33961
33962     fi
33963   fi
33964
33965
33966
33967
33968
33969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33970 $as_echo_n "checking for fpclass declaration... " >&6; }
33971   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33972     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33973   $as_echo_n "(cached) " >&6
33974 else
33975
33976
33977       ac_ext=cpp
33978 ac_cpp='$CXXCPP $CPPFLAGS'
33979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33982
33983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33984 /* end confdefs.h.  */
33985 #include <math.h>
33986                       #ifdef HAVE_IEEEFP_H
33987                       #include <ieeefp.h>
33988                       #endif
33989
33990 int
33991 main ()
33992 {
33993  fpclass(0);
33994   ;
33995   return 0;
33996 }
33997 _ACEOF
33998 if ac_fn_cxx_try_compile "$LINENO"; then :
33999   glibcxx_cv_func_fpclass_use=yes
34000 else
34001   glibcxx_cv_func_fpclass_use=no
34002 fi
34003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34004       ac_ext=c
34005 ac_cpp='$CPP $CPPFLAGS'
34006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34009
34010
34011 fi
34012
34013   fi
34014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34015 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34016
34017   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34018     for ac_func in fpclass
34019 do :
34020   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34021 if test "x$ac_cv_func_fpclass" = x""yes; then :
34022   cat >>confdefs.h <<_ACEOF
34023 #define HAVE_FPCLASS 1
34024 _ACEOF
34025
34026 fi
34027 done
34028
34029   else
34030
34031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34032 $as_echo_n "checking for _fpclass declaration... " >&6; }
34033   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34034     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34035   $as_echo_n "(cached) " >&6
34036 else
34037
34038
34039       ac_ext=cpp
34040 ac_cpp='$CXXCPP $CPPFLAGS'
34041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34044
34045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34046 /* end confdefs.h.  */
34047 #include <math.h>
34048                       #ifdef HAVE_IEEEFP_H
34049                       #include <ieeefp.h>
34050                       #endif
34051
34052 int
34053 main ()
34054 {
34055  _fpclass(0);
34056   ;
34057   return 0;
34058 }
34059 _ACEOF
34060 if ac_fn_cxx_try_compile "$LINENO"; then :
34061   glibcxx_cv_func__fpclass_use=yes
34062 else
34063   glibcxx_cv_func__fpclass_use=no
34064 fi
34065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34066       ac_ext=c
34067 ac_cpp='$CPP $CPPFLAGS'
34068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34071
34072
34073 fi
34074
34075   fi
34076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34077 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34078
34079     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34080       for ac_func in _fpclass
34081 do :
34082   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34083 if test "x$ac_cv_func__fpclass" = x""yes; then :
34084   cat >>confdefs.h <<_ACEOF
34085 #define HAVE__FPCLASS 1
34086 _ACEOF
34087
34088 fi
34089 done
34090
34091     fi
34092   fi
34093
34094
34095
34096
34097
34098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34099 $as_echo_n "checking for qfpclass declaration... " >&6; }
34100   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34101     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34102   $as_echo_n "(cached) " >&6
34103 else
34104
34105
34106       ac_ext=cpp
34107 ac_cpp='$CXXCPP $CPPFLAGS'
34108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34111
34112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34113 /* end confdefs.h.  */
34114 #include <math.h>
34115                       #ifdef HAVE_IEEEFP_H
34116                       #include <ieeefp.h>
34117                       #endif
34118
34119 int
34120 main ()
34121 {
34122  qfpclass(0);
34123   ;
34124   return 0;
34125 }
34126 _ACEOF
34127 if ac_fn_cxx_try_compile "$LINENO"; then :
34128   glibcxx_cv_func_qfpclass_use=yes
34129 else
34130   glibcxx_cv_func_qfpclass_use=no
34131 fi
34132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34133       ac_ext=c
34134 ac_cpp='$CPP $CPPFLAGS'
34135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34138
34139
34140 fi
34141
34142   fi
34143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34144 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34145
34146   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34147     for ac_func in qfpclass
34148 do :
34149   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34150 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34151   cat >>confdefs.h <<_ACEOF
34152 #define HAVE_QFPCLASS 1
34153 _ACEOF
34154
34155 fi
34156 done
34157
34158   else
34159
34160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34161 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34162   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34163     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34164   $as_echo_n "(cached) " >&6
34165 else
34166
34167
34168       ac_ext=cpp
34169 ac_cpp='$CXXCPP $CPPFLAGS'
34170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34173
34174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34175 /* end confdefs.h.  */
34176 #include <math.h>
34177                       #ifdef HAVE_IEEEFP_H
34178                       #include <ieeefp.h>
34179                       #endif
34180
34181 int
34182 main ()
34183 {
34184  _qfpclass(0);
34185   ;
34186   return 0;
34187 }
34188 _ACEOF
34189 if ac_fn_cxx_try_compile "$LINENO"; then :
34190   glibcxx_cv_func__qfpclass_use=yes
34191 else
34192   glibcxx_cv_func__qfpclass_use=no
34193 fi
34194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34195       ac_ext=c
34196 ac_cpp='$CPP $CPPFLAGS'
34197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34200
34201
34202 fi
34203
34204   fi
34205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34206 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34207
34208     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34209       for ac_func in _qfpclass
34210 do :
34211   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34212 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34213   cat >>confdefs.h <<_ACEOF
34214 #define HAVE__QFPCLASS 1
34215 _ACEOF
34216
34217 fi
34218 done
34219
34220     fi
34221   fi
34222
34223
34224
34225
34226
34227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34228 $as_echo_n "checking for hypot declaration... " >&6; }
34229   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34230     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34231   $as_echo_n "(cached) " >&6
34232 else
34233
34234
34235       ac_ext=cpp
34236 ac_cpp='$CXXCPP $CPPFLAGS'
34237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34240
34241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34242 /* end confdefs.h.  */
34243 #include <math.h>
34244 int
34245 main ()
34246 {
34247  hypot(0, 0);
34248   ;
34249   return 0;
34250 }
34251 _ACEOF
34252 if ac_fn_cxx_try_compile "$LINENO"; then :
34253   glibcxx_cv_func_hypot_use=yes
34254 else
34255   glibcxx_cv_func_hypot_use=no
34256 fi
34257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34258       ac_ext=c
34259 ac_cpp='$CPP $CPPFLAGS'
34260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34263
34264
34265 fi
34266
34267   fi
34268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34269 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34270
34271   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34272     for ac_func in hypot
34273 do :
34274   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34275 if test "x$ac_cv_func_hypot" = x""yes; then :
34276   cat >>confdefs.h <<_ACEOF
34277 #define HAVE_HYPOT 1
34278 _ACEOF
34279
34280 fi
34281 done
34282
34283   else
34284
34285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34286 $as_echo_n "checking for _hypot declaration... " >&6; }
34287   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34288     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34289   $as_echo_n "(cached) " >&6
34290 else
34291
34292
34293       ac_ext=cpp
34294 ac_cpp='$CXXCPP $CPPFLAGS'
34295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34298
34299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34300 /* end confdefs.h.  */
34301 #include <math.h>
34302 int
34303 main ()
34304 {
34305  _hypot(0, 0);
34306   ;
34307   return 0;
34308 }
34309 _ACEOF
34310 if ac_fn_cxx_try_compile "$LINENO"; then :
34311   glibcxx_cv_func__hypot_use=yes
34312 else
34313   glibcxx_cv_func__hypot_use=no
34314 fi
34315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34316       ac_ext=c
34317 ac_cpp='$CPP $CPPFLAGS'
34318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34321
34322
34323 fi
34324
34325   fi
34326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34327 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34328
34329     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34330       for ac_func in _hypot
34331 do :
34332   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34333 if test "x$ac_cv_func__hypot" = x""yes; then :
34334   cat >>confdefs.h <<_ACEOF
34335 #define HAVE__HYPOT 1
34336 _ACEOF
34337
34338 fi
34339 done
34340
34341     fi
34342   fi
34343
34344
34345
34346
34347
34348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34349 $as_echo_n "checking for float trig functions... " >&6; }
34350   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34351   $as_echo_n "(cached) " >&6
34352 else
34353
34354
34355     ac_ext=cpp
34356 ac_cpp='$CXXCPP $CPPFLAGS'
34357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34360
34361     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34362 /* end confdefs.h.  */
34363 #include <math.h>
34364 int
34365 main ()
34366 {
34367 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34368   ;
34369   return 0;
34370 }
34371 _ACEOF
34372 if ac_fn_cxx_try_compile "$LINENO"; then :
34373   glibcxx_cv_func_float_trig_use=yes
34374 else
34375   glibcxx_cv_func_float_trig_use=no
34376 fi
34377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34378     ac_ext=c
34379 ac_cpp='$CPP $CPPFLAGS'
34380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34383
34384 fi
34385
34386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34387 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34388   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34389     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34390 do :
34391   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34393 eval as_val=\$$as_ac_var
34394    if test "x$as_val" = x""yes; then :
34395   cat >>confdefs.h <<_ACEOF
34396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34397 _ACEOF
34398
34399 fi
34400 done
34401
34402   else
34403     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34404 $as_echo_n "checking for _float trig functions... " >&6; }
34405     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34406   $as_echo_n "(cached) " >&6
34407 else
34408
34409
34410       ac_ext=cpp
34411 ac_cpp='$CXXCPP $CPPFLAGS'
34412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34415
34416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34417 /* end confdefs.h.  */
34418 #include <math.h>
34419 int
34420 main ()
34421 {
34422 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34423   ;
34424   return 0;
34425 }
34426 _ACEOF
34427 if ac_fn_cxx_try_compile "$LINENO"; then :
34428   glibcxx_cv_func__float_trig_use=yes
34429 else
34430   glibcxx_cv_func__float_trig_use=no
34431 fi
34432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34433       ac_ext=c
34434 ac_cpp='$CPP $CPPFLAGS'
34435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34438
34439 fi
34440
34441     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34442 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34443     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34444       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34445 do :
34446   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34448 eval as_val=\$$as_ac_var
34449    if test "x$as_val" = x""yes; then :
34450   cat >>confdefs.h <<_ACEOF
34451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34452 _ACEOF
34453
34454 fi
34455 done
34456
34457     fi
34458   fi
34459
34460
34461
34462
34463
34464     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34465 $as_echo_n "checking for float round functions... " >&6; }
34466   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34467   $as_echo_n "(cached) " >&6
34468 else
34469
34470
34471     ac_ext=cpp
34472 ac_cpp='$CXXCPP $CPPFLAGS'
34473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34476
34477     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34478 /* end confdefs.h.  */
34479 #include <math.h>
34480 int
34481 main ()
34482 {
34483 ceilf (0); floorf (0);
34484   ;
34485   return 0;
34486 }
34487 _ACEOF
34488 if ac_fn_cxx_try_compile "$LINENO"; then :
34489   glibcxx_cv_func_float_round_use=yes
34490 else
34491   glibcxx_cv_func_float_round_use=no
34492 fi
34493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494     ac_ext=c
34495 ac_cpp='$CPP $CPPFLAGS'
34496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34499
34500 fi
34501
34502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34503 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34504   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34505     for ac_func in ceilf floorf
34506 do :
34507   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34508 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34509 eval as_val=\$$as_ac_var
34510    if test "x$as_val" = x""yes; then :
34511   cat >>confdefs.h <<_ACEOF
34512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34513 _ACEOF
34514
34515 fi
34516 done
34517
34518   else
34519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34520 $as_echo_n "checking for _float round functions... " >&6; }
34521     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34522   $as_echo_n "(cached) " >&6
34523 else
34524
34525
34526       ac_ext=cpp
34527 ac_cpp='$CXXCPP $CPPFLAGS'
34528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34531
34532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34533 /* end confdefs.h.  */
34534 #include <math.h>
34535 int
34536 main ()
34537 {
34538 _ceilf (0); _floorf (0);
34539   ;
34540   return 0;
34541 }
34542 _ACEOF
34543 if ac_fn_cxx_try_compile "$LINENO"; then :
34544   glibcxx_cv_func__float_round_use=yes
34545 else
34546   glibcxx_cv_func__float_round_use=no
34547 fi
34548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34549       ac_ext=c
34550 ac_cpp='$CPP $CPPFLAGS'
34551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34554
34555 fi
34556
34557     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34558 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34559     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34560       for ac_func in _ceilf _floorf
34561 do :
34562   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34563 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34564 eval as_val=\$$as_ac_var
34565    if test "x$as_val" = x""yes; then :
34566   cat >>confdefs.h <<_ACEOF
34567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34568 _ACEOF
34569
34570 fi
34571 done
34572
34573     fi
34574   fi
34575
34576
34577
34578
34579
34580
34581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34582 $as_echo_n "checking for expf declaration... " >&6; }
34583   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34584     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34585   $as_echo_n "(cached) " >&6
34586 else
34587
34588
34589       ac_ext=cpp
34590 ac_cpp='$CXXCPP $CPPFLAGS'
34591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34594
34595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34596 /* end confdefs.h.  */
34597 #include <math.h>
34598                       #ifdef HAVE_IEEEFP_H
34599                       #include <ieeefp.h>
34600                       #endif
34601
34602 int
34603 main ()
34604 {
34605  expf(0);
34606   ;
34607   return 0;
34608 }
34609 _ACEOF
34610 if ac_fn_cxx_try_compile "$LINENO"; then :
34611   glibcxx_cv_func_expf_use=yes
34612 else
34613   glibcxx_cv_func_expf_use=no
34614 fi
34615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34616       ac_ext=c
34617 ac_cpp='$CPP $CPPFLAGS'
34618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34621
34622
34623 fi
34624
34625   fi
34626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34627 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34628
34629   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34630     for ac_func in expf
34631 do :
34632   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34633 if test "x$ac_cv_func_expf" = x""yes; then :
34634   cat >>confdefs.h <<_ACEOF
34635 #define HAVE_EXPF 1
34636 _ACEOF
34637
34638 fi
34639 done
34640
34641   else
34642
34643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34644 $as_echo_n "checking for _expf declaration... " >&6; }
34645   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34646     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34647   $as_echo_n "(cached) " >&6
34648 else
34649
34650
34651       ac_ext=cpp
34652 ac_cpp='$CXXCPP $CPPFLAGS'
34653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34656
34657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34658 /* end confdefs.h.  */
34659 #include <math.h>
34660                       #ifdef HAVE_IEEEFP_H
34661                       #include <ieeefp.h>
34662                       #endif
34663
34664 int
34665 main ()
34666 {
34667  _expf(0);
34668   ;
34669   return 0;
34670 }
34671 _ACEOF
34672 if ac_fn_cxx_try_compile "$LINENO"; then :
34673   glibcxx_cv_func__expf_use=yes
34674 else
34675   glibcxx_cv_func__expf_use=no
34676 fi
34677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34678       ac_ext=c
34679 ac_cpp='$CPP $CPPFLAGS'
34680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34683
34684
34685 fi
34686
34687   fi
34688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34689 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34690
34691     if test x$glibcxx_cv_func__expf_use = x"yes"; then
34692       for ac_func in _expf
34693 do :
34694   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34695 if test "x$ac_cv_func__expf" = x""yes; then :
34696   cat >>confdefs.h <<_ACEOF
34697 #define HAVE__EXPF 1
34698 _ACEOF
34699
34700 fi
34701 done
34702
34703     fi
34704   fi
34705
34706
34707
34708
34709
34710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34711 $as_echo_n "checking for isnanf declaration... " >&6; }
34712   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34713     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34714   $as_echo_n "(cached) " >&6
34715 else
34716
34717
34718       ac_ext=cpp
34719 ac_cpp='$CXXCPP $CPPFLAGS'
34720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34723
34724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34725 /* end confdefs.h.  */
34726 #include <math.h>
34727                       #ifdef HAVE_IEEEFP_H
34728                       #include <ieeefp.h>
34729                       #endif
34730
34731 int
34732 main ()
34733 {
34734  isnanf(0);
34735   ;
34736   return 0;
34737 }
34738 _ACEOF
34739 if ac_fn_cxx_try_compile "$LINENO"; then :
34740   glibcxx_cv_func_isnanf_use=yes
34741 else
34742   glibcxx_cv_func_isnanf_use=no
34743 fi
34744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34745       ac_ext=c
34746 ac_cpp='$CPP $CPPFLAGS'
34747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34750
34751
34752 fi
34753
34754   fi
34755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34756 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34757
34758   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34759     for ac_func in isnanf
34760 do :
34761   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34762 if test "x$ac_cv_func_isnanf" = x""yes; then :
34763   cat >>confdefs.h <<_ACEOF
34764 #define HAVE_ISNANF 1
34765 _ACEOF
34766
34767 fi
34768 done
34769
34770   else
34771
34772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34773 $as_echo_n "checking for _isnanf declaration... " >&6; }
34774   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34775     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34776   $as_echo_n "(cached) " >&6
34777 else
34778
34779
34780       ac_ext=cpp
34781 ac_cpp='$CXXCPP $CPPFLAGS'
34782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34785
34786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34787 /* end confdefs.h.  */
34788 #include <math.h>
34789                       #ifdef HAVE_IEEEFP_H
34790                       #include <ieeefp.h>
34791                       #endif
34792
34793 int
34794 main ()
34795 {
34796  _isnanf(0);
34797   ;
34798   return 0;
34799 }
34800 _ACEOF
34801 if ac_fn_cxx_try_compile "$LINENO"; then :
34802   glibcxx_cv_func__isnanf_use=yes
34803 else
34804   glibcxx_cv_func__isnanf_use=no
34805 fi
34806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34807       ac_ext=c
34808 ac_cpp='$CPP $CPPFLAGS'
34809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34812
34813
34814 fi
34815
34816   fi
34817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34818 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34819
34820     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34821       for ac_func in _isnanf
34822 do :
34823   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34824 if test "x$ac_cv_func__isnanf" = x""yes; then :
34825   cat >>confdefs.h <<_ACEOF
34826 #define HAVE__ISNANF 1
34827 _ACEOF
34828
34829 fi
34830 done
34831
34832     fi
34833   fi
34834
34835
34836
34837
34838
34839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34840 $as_echo_n "checking for isinff declaration... " >&6; }
34841   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34842     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34843   $as_echo_n "(cached) " >&6
34844 else
34845
34846
34847       ac_ext=cpp
34848 ac_cpp='$CXXCPP $CPPFLAGS'
34849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34852
34853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34854 /* end confdefs.h.  */
34855 #include <math.h>
34856                       #ifdef HAVE_IEEEFP_H
34857                       #include <ieeefp.h>
34858                       #endif
34859
34860 int
34861 main ()
34862 {
34863  isinff(0);
34864   ;
34865   return 0;
34866 }
34867 _ACEOF
34868 if ac_fn_cxx_try_compile "$LINENO"; then :
34869   glibcxx_cv_func_isinff_use=yes
34870 else
34871   glibcxx_cv_func_isinff_use=no
34872 fi
34873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34874       ac_ext=c
34875 ac_cpp='$CPP $CPPFLAGS'
34876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34879
34880
34881 fi
34882
34883   fi
34884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34885 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34886
34887   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34888     for ac_func in isinff
34889 do :
34890   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34891 if test "x$ac_cv_func_isinff" = x""yes; then :
34892   cat >>confdefs.h <<_ACEOF
34893 #define HAVE_ISINFF 1
34894 _ACEOF
34895
34896 fi
34897 done
34898
34899   else
34900
34901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34902 $as_echo_n "checking for _isinff declaration... " >&6; }
34903   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34904     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34905   $as_echo_n "(cached) " >&6
34906 else
34907
34908
34909       ac_ext=cpp
34910 ac_cpp='$CXXCPP $CPPFLAGS'
34911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34914
34915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34916 /* end confdefs.h.  */
34917 #include <math.h>
34918                       #ifdef HAVE_IEEEFP_H
34919                       #include <ieeefp.h>
34920                       #endif
34921
34922 int
34923 main ()
34924 {
34925  _isinff(0);
34926   ;
34927   return 0;
34928 }
34929 _ACEOF
34930 if ac_fn_cxx_try_compile "$LINENO"; then :
34931   glibcxx_cv_func__isinff_use=yes
34932 else
34933   glibcxx_cv_func__isinff_use=no
34934 fi
34935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34936       ac_ext=c
34937 ac_cpp='$CPP $CPPFLAGS'
34938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34941
34942
34943 fi
34944
34945   fi
34946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34947 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34948
34949     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34950       for ac_func in _isinff
34951 do :
34952   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34953 if test "x$ac_cv_func__isinff" = x""yes; then :
34954   cat >>confdefs.h <<_ACEOF
34955 #define HAVE__ISINFF 1
34956 _ACEOF
34957
34958 fi
34959 done
34960
34961     fi
34962   fi
34963
34964
34965
34966
34967
34968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34969 $as_echo_n "checking for atan2f declaration... " >&6; }
34970   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34971     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34972   $as_echo_n "(cached) " >&6
34973 else
34974
34975
34976       ac_ext=cpp
34977 ac_cpp='$CXXCPP $CPPFLAGS'
34978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34981
34982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34983 /* end confdefs.h.  */
34984 #include <math.h>
34985 int
34986 main ()
34987 {
34988  atan2f(0, 0);
34989   ;
34990   return 0;
34991 }
34992 _ACEOF
34993 if ac_fn_cxx_try_compile "$LINENO"; then :
34994   glibcxx_cv_func_atan2f_use=yes
34995 else
34996   glibcxx_cv_func_atan2f_use=no
34997 fi
34998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34999       ac_ext=c
35000 ac_cpp='$CPP $CPPFLAGS'
35001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35004
35005
35006 fi
35007
35008   fi
35009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35010 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35011
35012   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35013     for ac_func in atan2f
35014 do :
35015   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35016 if test "x$ac_cv_func_atan2f" = x""yes; then :
35017   cat >>confdefs.h <<_ACEOF
35018 #define HAVE_ATAN2F 1
35019 _ACEOF
35020
35021 fi
35022 done
35023
35024   else
35025
35026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35027 $as_echo_n "checking for _atan2f declaration... " >&6; }
35028   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35029     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35030   $as_echo_n "(cached) " >&6
35031 else
35032
35033
35034       ac_ext=cpp
35035 ac_cpp='$CXXCPP $CPPFLAGS'
35036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35039
35040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35041 /* end confdefs.h.  */
35042 #include <math.h>
35043 int
35044 main ()
35045 {
35046  _atan2f(0, 0);
35047   ;
35048   return 0;
35049 }
35050 _ACEOF
35051 if ac_fn_cxx_try_compile "$LINENO"; then :
35052   glibcxx_cv_func__atan2f_use=yes
35053 else
35054   glibcxx_cv_func__atan2f_use=no
35055 fi
35056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35057       ac_ext=c
35058 ac_cpp='$CPP $CPPFLAGS'
35059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35062
35063
35064 fi
35065
35066   fi
35067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35068 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35069
35070     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35071       for ac_func in _atan2f
35072 do :
35073   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35074 if test "x$ac_cv_func__atan2f" = x""yes; then :
35075   cat >>confdefs.h <<_ACEOF
35076 #define HAVE__ATAN2F 1
35077 _ACEOF
35078
35079 fi
35080 done
35081
35082     fi
35083   fi
35084
35085
35086
35087
35088
35089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35090 $as_echo_n "checking for fabsf declaration... " >&6; }
35091   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35092     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35093   $as_echo_n "(cached) " >&6
35094 else
35095
35096
35097       ac_ext=cpp
35098 ac_cpp='$CXXCPP $CPPFLAGS'
35099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35102
35103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35104 /* end confdefs.h.  */
35105 #include <math.h>
35106                       #ifdef HAVE_IEEEFP_H
35107                       #include <ieeefp.h>
35108                       #endif
35109
35110 int
35111 main ()
35112 {
35113  fabsf(0);
35114   ;
35115   return 0;
35116 }
35117 _ACEOF
35118 if ac_fn_cxx_try_compile "$LINENO"; then :
35119   glibcxx_cv_func_fabsf_use=yes
35120 else
35121   glibcxx_cv_func_fabsf_use=no
35122 fi
35123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35124       ac_ext=c
35125 ac_cpp='$CPP $CPPFLAGS'
35126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35129
35130
35131 fi
35132
35133   fi
35134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35135 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35136
35137   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35138     for ac_func in fabsf
35139 do :
35140   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35141 if test "x$ac_cv_func_fabsf" = x""yes; then :
35142   cat >>confdefs.h <<_ACEOF
35143 #define HAVE_FABSF 1
35144 _ACEOF
35145
35146 fi
35147 done
35148
35149   else
35150
35151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35152 $as_echo_n "checking for _fabsf declaration... " >&6; }
35153   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35154     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35155   $as_echo_n "(cached) " >&6
35156 else
35157
35158
35159       ac_ext=cpp
35160 ac_cpp='$CXXCPP $CPPFLAGS'
35161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35164
35165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35166 /* end confdefs.h.  */
35167 #include <math.h>
35168                       #ifdef HAVE_IEEEFP_H
35169                       #include <ieeefp.h>
35170                       #endif
35171
35172 int
35173 main ()
35174 {
35175  _fabsf(0);
35176   ;
35177   return 0;
35178 }
35179 _ACEOF
35180 if ac_fn_cxx_try_compile "$LINENO"; then :
35181   glibcxx_cv_func__fabsf_use=yes
35182 else
35183   glibcxx_cv_func__fabsf_use=no
35184 fi
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186       ac_ext=c
35187 ac_cpp='$CPP $CPPFLAGS'
35188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35191
35192
35193 fi
35194
35195   fi
35196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35197 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35198
35199     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35200       for ac_func in _fabsf
35201 do :
35202   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35203 if test "x$ac_cv_func__fabsf" = x""yes; then :
35204   cat >>confdefs.h <<_ACEOF
35205 #define HAVE__FABSF 1
35206 _ACEOF
35207
35208 fi
35209 done
35210
35211     fi
35212   fi
35213
35214
35215
35216
35217
35218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35219 $as_echo_n "checking for fmodf declaration... " >&6; }
35220   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35221     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35222   $as_echo_n "(cached) " >&6
35223 else
35224
35225
35226       ac_ext=cpp
35227 ac_cpp='$CXXCPP $CPPFLAGS'
35228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35231
35232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35233 /* end confdefs.h.  */
35234 #include <math.h>
35235 int
35236 main ()
35237 {
35238  fmodf(0, 0);
35239   ;
35240   return 0;
35241 }
35242 _ACEOF
35243 if ac_fn_cxx_try_compile "$LINENO"; then :
35244   glibcxx_cv_func_fmodf_use=yes
35245 else
35246   glibcxx_cv_func_fmodf_use=no
35247 fi
35248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35249       ac_ext=c
35250 ac_cpp='$CPP $CPPFLAGS'
35251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35254
35255
35256 fi
35257
35258   fi
35259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35260 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35261
35262   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35263     for ac_func in fmodf
35264 do :
35265   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35266 if test "x$ac_cv_func_fmodf" = x""yes; then :
35267   cat >>confdefs.h <<_ACEOF
35268 #define HAVE_FMODF 1
35269 _ACEOF
35270
35271 fi
35272 done
35273
35274   else
35275
35276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35277 $as_echo_n "checking for _fmodf declaration... " >&6; }
35278   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35279     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35280   $as_echo_n "(cached) " >&6
35281 else
35282
35283
35284       ac_ext=cpp
35285 ac_cpp='$CXXCPP $CPPFLAGS'
35286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35289
35290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35291 /* end confdefs.h.  */
35292 #include <math.h>
35293 int
35294 main ()
35295 {
35296  _fmodf(0, 0);
35297   ;
35298   return 0;
35299 }
35300 _ACEOF
35301 if ac_fn_cxx_try_compile "$LINENO"; then :
35302   glibcxx_cv_func__fmodf_use=yes
35303 else
35304   glibcxx_cv_func__fmodf_use=no
35305 fi
35306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35307       ac_ext=c
35308 ac_cpp='$CPP $CPPFLAGS'
35309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35312
35313
35314 fi
35315
35316   fi
35317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35318 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35319
35320     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35321       for ac_func in _fmodf
35322 do :
35323   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35324 if test "x$ac_cv_func__fmodf" = x""yes; then :
35325   cat >>confdefs.h <<_ACEOF
35326 #define HAVE__FMODF 1
35327 _ACEOF
35328
35329 fi
35330 done
35331
35332     fi
35333   fi
35334
35335
35336
35337
35338
35339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35340 $as_echo_n "checking for frexpf declaration... " >&6; }
35341   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35342     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35343   $as_echo_n "(cached) " >&6
35344 else
35345
35346
35347       ac_ext=cpp
35348 ac_cpp='$CXXCPP $CPPFLAGS'
35349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35352
35353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35354 /* end confdefs.h.  */
35355 #include <math.h>
35356 int
35357 main ()
35358 {
35359  frexpf(0, 0);
35360   ;
35361   return 0;
35362 }
35363 _ACEOF
35364 if ac_fn_cxx_try_compile "$LINENO"; then :
35365   glibcxx_cv_func_frexpf_use=yes
35366 else
35367   glibcxx_cv_func_frexpf_use=no
35368 fi
35369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35370       ac_ext=c
35371 ac_cpp='$CPP $CPPFLAGS'
35372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35375
35376
35377 fi
35378
35379   fi
35380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35381 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35382
35383   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35384     for ac_func in frexpf
35385 do :
35386   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35387 if test "x$ac_cv_func_frexpf" = x""yes; then :
35388   cat >>confdefs.h <<_ACEOF
35389 #define HAVE_FREXPF 1
35390 _ACEOF
35391
35392 fi
35393 done
35394
35395   else
35396
35397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35398 $as_echo_n "checking for _frexpf declaration... " >&6; }
35399   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35400     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35401   $as_echo_n "(cached) " >&6
35402 else
35403
35404
35405       ac_ext=cpp
35406 ac_cpp='$CXXCPP $CPPFLAGS'
35407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35410
35411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35412 /* end confdefs.h.  */
35413 #include <math.h>
35414 int
35415 main ()
35416 {
35417  _frexpf(0, 0);
35418   ;
35419   return 0;
35420 }
35421 _ACEOF
35422 if ac_fn_cxx_try_compile "$LINENO"; then :
35423   glibcxx_cv_func__frexpf_use=yes
35424 else
35425   glibcxx_cv_func__frexpf_use=no
35426 fi
35427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35428       ac_ext=c
35429 ac_cpp='$CPP $CPPFLAGS'
35430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35433
35434
35435 fi
35436
35437   fi
35438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35439 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35440
35441     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35442       for ac_func in _frexpf
35443 do :
35444   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35445 if test "x$ac_cv_func__frexpf" = x""yes; then :
35446   cat >>confdefs.h <<_ACEOF
35447 #define HAVE__FREXPF 1
35448 _ACEOF
35449
35450 fi
35451 done
35452
35453     fi
35454   fi
35455
35456
35457
35458
35459
35460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35461 $as_echo_n "checking for hypotf declaration... " >&6; }
35462   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35463     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35464   $as_echo_n "(cached) " >&6
35465 else
35466
35467
35468       ac_ext=cpp
35469 ac_cpp='$CXXCPP $CPPFLAGS'
35470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35473
35474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35475 /* end confdefs.h.  */
35476 #include <math.h>
35477 int
35478 main ()
35479 {
35480  hypotf(0, 0);
35481   ;
35482   return 0;
35483 }
35484 _ACEOF
35485 if ac_fn_cxx_try_compile "$LINENO"; then :
35486   glibcxx_cv_func_hypotf_use=yes
35487 else
35488   glibcxx_cv_func_hypotf_use=no
35489 fi
35490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35491       ac_ext=c
35492 ac_cpp='$CPP $CPPFLAGS'
35493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35496
35497
35498 fi
35499
35500   fi
35501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35502 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35503
35504   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35505     for ac_func in hypotf
35506 do :
35507   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35508 if test "x$ac_cv_func_hypotf" = x""yes; then :
35509   cat >>confdefs.h <<_ACEOF
35510 #define HAVE_HYPOTF 1
35511 _ACEOF
35512
35513 fi
35514 done
35515
35516   else
35517
35518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35519 $as_echo_n "checking for _hypotf declaration... " >&6; }
35520   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35521     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35522   $as_echo_n "(cached) " >&6
35523 else
35524
35525
35526       ac_ext=cpp
35527 ac_cpp='$CXXCPP $CPPFLAGS'
35528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35531
35532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35533 /* end confdefs.h.  */
35534 #include <math.h>
35535 int
35536 main ()
35537 {
35538  _hypotf(0, 0);
35539   ;
35540   return 0;
35541 }
35542 _ACEOF
35543 if ac_fn_cxx_try_compile "$LINENO"; then :
35544   glibcxx_cv_func__hypotf_use=yes
35545 else
35546   glibcxx_cv_func__hypotf_use=no
35547 fi
35548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35549       ac_ext=c
35550 ac_cpp='$CPP $CPPFLAGS'
35551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35554
35555
35556 fi
35557
35558   fi
35559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35560 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35561
35562     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35563       for ac_func in _hypotf
35564 do :
35565   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35566 if test "x$ac_cv_func__hypotf" = x""yes; then :
35567   cat >>confdefs.h <<_ACEOF
35568 #define HAVE__HYPOTF 1
35569 _ACEOF
35570
35571 fi
35572 done
35573
35574     fi
35575   fi
35576
35577
35578
35579
35580
35581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35582 $as_echo_n "checking for ldexpf declaration... " >&6; }
35583   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35584     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35585   $as_echo_n "(cached) " >&6
35586 else
35587
35588
35589       ac_ext=cpp
35590 ac_cpp='$CXXCPP $CPPFLAGS'
35591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35594
35595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35596 /* end confdefs.h.  */
35597 #include <math.h>
35598 int
35599 main ()
35600 {
35601  ldexpf(0, 0);
35602   ;
35603   return 0;
35604 }
35605 _ACEOF
35606 if ac_fn_cxx_try_compile "$LINENO"; then :
35607   glibcxx_cv_func_ldexpf_use=yes
35608 else
35609   glibcxx_cv_func_ldexpf_use=no
35610 fi
35611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35612       ac_ext=c
35613 ac_cpp='$CPP $CPPFLAGS'
35614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35617
35618
35619 fi
35620
35621   fi
35622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35623 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35624
35625   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35626     for ac_func in ldexpf
35627 do :
35628   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35629 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35630   cat >>confdefs.h <<_ACEOF
35631 #define HAVE_LDEXPF 1
35632 _ACEOF
35633
35634 fi
35635 done
35636
35637   else
35638
35639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35640 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35641   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35642     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35643   $as_echo_n "(cached) " >&6
35644 else
35645
35646
35647       ac_ext=cpp
35648 ac_cpp='$CXXCPP $CPPFLAGS'
35649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35652
35653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35654 /* end confdefs.h.  */
35655 #include <math.h>
35656 int
35657 main ()
35658 {
35659  _ldexpf(0, 0);
35660   ;
35661   return 0;
35662 }
35663 _ACEOF
35664 if ac_fn_cxx_try_compile "$LINENO"; then :
35665   glibcxx_cv_func__ldexpf_use=yes
35666 else
35667   glibcxx_cv_func__ldexpf_use=no
35668 fi
35669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35670       ac_ext=c
35671 ac_cpp='$CPP $CPPFLAGS'
35672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35675
35676
35677 fi
35678
35679   fi
35680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35681 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35682
35683     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35684       for ac_func in _ldexpf
35685 do :
35686   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35687 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35688   cat >>confdefs.h <<_ACEOF
35689 #define HAVE__LDEXPF 1
35690 _ACEOF
35691
35692 fi
35693 done
35694
35695     fi
35696   fi
35697
35698
35699
35700
35701
35702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35703 $as_echo_n "checking for logf declaration... " >&6; }
35704   if test x${glibcxx_cv_func_logf_use+set} != xset; then
35705     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35706   $as_echo_n "(cached) " >&6
35707 else
35708
35709
35710       ac_ext=cpp
35711 ac_cpp='$CXXCPP $CPPFLAGS'
35712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35715
35716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35717 /* end confdefs.h.  */
35718 #include <math.h>
35719                       #ifdef HAVE_IEEEFP_H
35720                       #include <ieeefp.h>
35721                       #endif
35722
35723 int
35724 main ()
35725 {
35726  logf(0);
35727   ;
35728   return 0;
35729 }
35730 _ACEOF
35731 if ac_fn_cxx_try_compile "$LINENO"; then :
35732   glibcxx_cv_func_logf_use=yes
35733 else
35734   glibcxx_cv_func_logf_use=no
35735 fi
35736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35737       ac_ext=c
35738 ac_cpp='$CPP $CPPFLAGS'
35739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35742
35743
35744 fi
35745
35746   fi
35747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35748 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35749
35750   if test x$glibcxx_cv_func_logf_use = x"yes"; then
35751     for ac_func in logf
35752 do :
35753   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35754 if test "x$ac_cv_func_logf" = x""yes; then :
35755   cat >>confdefs.h <<_ACEOF
35756 #define HAVE_LOGF 1
35757 _ACEOF
35758
35759 fi
35760 done
35761
35762   else
35763
35764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35765 $as_echo_n "checking for _logf declaration... " >&6; }
35766   if test x${glibcxx_cv_func__logf_use+set} != xset; then
35767     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35768   $as_echo_n "(cached) " >&6
35769 else
35770
35771
35772       ac_ext=cpp
35773 ac_cpp='$CXXCPP $CPPFLAGS'
35774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35777
35778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35779 /* end confdefs.h.  */
35780 #include <math.h>
35781                       #ifdef HAVE_IEEEFP_H
35782                       #include <ieeefp.h>
35783                       #endif
35784
35785 int
35786 main ()
35787 {
35788  _logf(0);
35789   ;
35790   return 0;
35791 }
35792 _ACEOF
35793 if ac_fn_cxx_try_compile "$LINENO"; then :
35794   glibcxx_cv_func__logf_use=yes
35795 else
35796   glibcxx_cv_func__logf_use=no
35797 fi
35798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35799       ac_ext=c
35800 ac_cpp='$CPP $CPPFLAGS'
35801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35804
35805
35806 fi
35807
35808   fi
35809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35810 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35811
35812     if test x$glibcxx_cv_func__logf_use = x"yes"; then
35813       for ac_func in _logf
35814 do :
35815   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35816 if test "x$ac_cv_func__logf" = x""yes; then :
35817   cat >>confdefs.h <<_ACEOF
35818 #define HAVE__LOGF 1
35819 _ACEOF
35820
35821 fi
35822 done
35823
35824     fi
35825   fi
35826
35827
35828
35829
35830
35831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35832 $as_echo_n "checking for log10f declaration... " >&6; }
35833   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35834     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35835   $as_echo_n "(cached) " >&6
35836 else
35837
35838
35839       ac_ext=cpp
35840 ac_cpp='$CXXCPP $CPPFLAGS'
35841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35844
35845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35846 /* end confdefs.h.  */
35847 #include <math.h>
35848                       #ifdef HAVE_IEEEFP_H
35849                       #include <ieeefp.h>
35850                       #endif
35851
35852 int
35853 main ()
35854 {
35855  log10f(0);
35856   ;
35857   return 0;
35858 }
35859 _ACEOF
35860 if ac_fn_cxx_try_compile "$LINENO"; then :
35861   glibcxx_cv_func_log10f_use=yes
35862 else
35863   glibcxx_cv_func_log10f_use=no
35864 fi
35865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35866       ac_ext=c
35867 ac_cpp='$CPP $CPPFLAGS'
35868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35871
35872
35873 fi
35874
35875   fi
35876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35877 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35878
35879   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35880     for ac_func in log10f
35881 do :
35882   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35883 if test "x$ac_cv_func_log10f" = x""yes; then :
35884   cat >>confdefs.h <<_ACEOF
35885 #define HAVE_LOG10F 1
35886 _ACEOF
35887
35888 fi
35889 done
35890
35891   else
35892
35893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35894 $as_echo_n "checking for _log10f declaration... " >&6; }
35895   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35896     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35897   $as_echo_n "(cached) " >&6
35898 else
35899
35900
35901       ac_ext=cpp
35902 ac_cpp='$CXXCPP $CPPFLAGS'
35903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906
35907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35908 /* end confdefs.h.  */
35909 #include <math.h>
35910                       #ifdef HAVE_IEEEFP_H
35911                       #include <ieeefp.h>
35912                       #endif
35913
35914 int
35915 main ()
35916 {
35917  _log10f(0);
35918   ;
35919   return 0;
35920 }
35921 _ACEOF
35922 if ac_fn_cxx_try_compile "$LINENO"; then :
35923   glibcxx_cv_func__log10f_use=yes
35924 else
35925   glibcxx_cv_func__log10f_use=no
35926 fi
35927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35928       ac_ext=c
35929 ac_cpp='$CPP $CPPFLAGS'
35930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35933
35934
35935 fi
35936
35937   fi
35938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35939 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35940
35941     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35942       for ac_func in _log10f
35943 do :
35944   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35945 if test "x$ac_cv_func__log10f" = x""yes; then :
35946   cat >>confdefs.h <<_ACEOF
35947 #define HAVE__LOG10F 1
35948 _ACEOF
35949
35950 fi
35951 done
35952
35953     fi
35954   fi
35955
35956
35957
35958
35959
35960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35961 $as_echo_n "checking for modff declaration... " >&6; }
35962   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35963     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35964   $as_echo_n "(cached) " >&6
35965 else
35966
35967
35968       ac_ext=cpp
35969 ac_cpp='$CXXCPP $CPPFLAGS'
35970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35973
35974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35975 /* end confdefs.h.  */
35976 #include <math.h>
35977 int
35978 main ()
35979 {
35980  modff(0, 0);
35981   ;
35982   return 0;
35983 }
35984 _ACEOF
35985 if ac_fn_cxx_try_compile "$LINENO"; then :
35986   glibcxx_cv_func_modff_use=yes
35987 else
35988   glibcxx_cv_func_modff_use=no
35989 fi
35990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35991       ac_ext=c
35992 ac_cpp='$CPP $CPPFLAGS'
35993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35996
35997
35998 fi
35999
36000   fi
36001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36002 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36003
36004   if test x$glibcxx_cv_func_modff_use = x"yes"; then
36005     for ac_func in modff
36006 do :
36007   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36008 if test "x$ac_cv_func_modff" = x""yes; then :
36009   cat >>confdefs.h <<_ACEOF
36010 #define HAVE_MODFF 1
36011 _ACEOF
36012
36013 fi
36014 done
36015
36016   else
36017
36018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36019 $as_echo_n "checking for _modff declaration... " >&6; }
36020   if test x${glibcxx_cv_func__modff_use+set} != xset; then
36021     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36022   $as_echo_n "(cached) " >&6
36023 else
36024
36025
36026       ac_ext=cpp
36027 ac_cpp='$CXXCPP $CPPFLAGS'
36028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36031
36032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36033 /* end confdefs.h.  */
36034 #include <math.h>
36035 int
36036 main ()
36037 {
36038  _modff(0, 0);
36039   ;
36040   return 0;
36041 }
36042 _ACEOF
36043 if ac_fn_cxx_try_compile "$LINENO"; then :
36044   glibcxx_cv_func__modff_use=yes
36045 else
36046   glibcxx_cv_func__modff_use=no
36047 fi
36048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36049       ac_ext=c
36050 ac_cpp='$CPP $CPPFLAGS'
36051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36054
36055
36056 fi
36057
36058   fi
36059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36060 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36061
36062     if test x$glibcxx_cv_func__modff_use = x"yes"; then
36063       for ac_func in _modff
36064 do :
36065   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36066 if test "x$ac_cv_func__modff" = x""yes; then :
36067   cat >>confdefs.h <<_ACEOF
36068 #define HAVE__MODFF 1
36069 _ACEOF
36070
36071 fi
36072 done
36073
36074     fi
36075   fi
36076
36077
36078
36079
36080
36081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36082 $as_echo_n "checking for modf declaration... " >&6; }
36083   if test x${glibcxx_cv_func_modf_use+set} != xset; then
36084     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36085   $as_echo_n "(cached) " >&6
36086 else
36087
36088
36089       ac_ext=cpp
36090 ac_cpp='$CXXCPP $CPPFLAGS'
36091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36094
36095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36096 /* end confdefs.h.  */
36097 #include <math.h>
36098 int
36099 main ()
36100 {
36101  modf(0, 0);
36102   ;
36103   return 0;
36104 }
36105 _ACEOF
36106 if ac_fn_cxx_try_compile "$LINENO"; then :
36107   glibcxx_cv_func_modf_use=yes
36108 else
36109   glibcxx_cv_func_modf_use=no
36110 fi
36111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36112       ac_ext=c
36113 ac_cpp='$CPP $CPPFLAGS'
36114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36117
36118
36119 fi
36120
36121   fi
36122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36123 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36124
36125   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36126     for ac_func in modf
36127 do :
36128   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36129 if test "x$ac_cv_func_modf" = x""yes; then :
36130   cat >>confdefs.h <<_ACEOF
36131 #define HAVE_MODF 1
36132 _ACEOF
36133
36134 fi
36135 done
36136
36137   else
36138
36139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36140 $as_echo_n "checking for _modf declaration... " >&6; }
36141   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36142     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36143   $as_echo_n "(cached) " >&6
36144 else
36145
36146
36147       ac_ext=cpp
36148 ac_cpp='$CXXCPP $CPPFLAGS'
36149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36152
36153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36154 /* end confdefs.h.  */
36155 #include <math.h>
36156 int
36157 main ()
36158 {
36159  _modf(0, 0);
36160   ;
36161   return 0;
36162 }
36163 _ACEOF
36164 if ac_fn_cxx_try_compile "$LINENO"; then :
36165   glibcxx_cv_func__modf_use=yes
36166 else
36167   glibcxx_cv_func__modf_use=no
36168 fi
36169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36170       ac_ext=c
36171 ac_cpp='$CPP $CPPFLAGS'
36172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36175
36176
36177 fi
36178
36179   fi
36180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36181 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36182
36183     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36184       for ac_func in _modf
36185 do :
36186   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36187 if test "x$ac_cv_func__modf" = x""yes; then :
36188   cat >>confdefs.h <<_ACEOF
36189 #define HAVE__MODF 1
36190 _ACEOF
36191
36192 fi
36193 done
36194
36195     fi
36196   fi
36197
36198
36199
36200
36201
36202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36203 $as_echo_n "checking for powf declaration... " >&6; }
36204   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36205     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36206   $as_echo_n "(cached) " >&6
36207 else
36208
36209
36210       ac_ext=cpp
36211 ac_cpp='$CXXCPP $CPPFLAGS'
36212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36215
36216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36217 /* end confdefs.h.  */
36218 #include <math.h>
36219 int
36220 main ()
36221 {
36222  powf(0, 0);
36223   ;
36224   return 0;
36225 }
36226 _ACEOF
36227 if ac_fn_cxx_try_compile "$LINENO"; then :
36228   glibcxx_cv_func_powf_use=yes
36229 else
36230   glibcxx_cv_func_powf_use=no
36231 fi
36232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36233       ac_ext=c
36234 ac_cpp='$CPP $CPPFLAGS'
36235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36238
36239
36240 fi
36241
36242   fi
36243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36244 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36245
36246   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36247     for ac_func in powf
36248 do :
36249   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36250 if test "x$ac_cv_func_powf" = x""yes; then :
36251   cat >>confdefs.h <<_ACEOF
36252 #define HAVE_POWF 1
36253 _ACEOF
36254
36255 fi
36256 done
36257
36258   else
36259
36260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36261 $as_echo_n "checking for _powf declaration... " >&6; }
36262   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36263     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36264   $as_echo_n "(cached) " >&6
36265 else
36266
36267
36268       ac_ext=cpp
36269 ac_cpp='$CXXCPP $CPPFLAGS'
36270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36273
36274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36275 /* end confdefs.h.  */
36276 #include <math.h>
36277 int
36278 main ()
36279 {
36280  _powf(0, 0);
36281   ;
36282   return 0;
36283 }
36284 _ACEOF
36285 if ac_fn_cxx_try_compile "$LINENO"; then :
36286   glibcxx_cv_func__powf_use=yes
36287 else
36288   glibcxx_cv_func__powf_use=no
36289 fi
36290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36291       ac_ext=c
36292 ac_cpp='$CPP $CPPFLAGS'
36293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36296
36297
36298 fi
36299
36300   fi
36301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36302 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36303
36304     if test x$glibcxx_cv_func__powf_use = x"yes"; then
36305       for ac_func in _powf
36306 do :
36307   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36308 if test "x$ac_cv_func__powf" = x""yes; then :
36309   cat >>confdefs.h <<_ACEOF
36310 #define HAVE__POWF 1
36311 _ACEOF
36312
36313 fi
36314 done
36315
36316     fi
36317   fi
36318
36319
36320
36321
36322
36323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36324 $as_echo_n "checking for sqrtf declaration... " >&6; }
36325   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36326     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36327   $as_echo_n "(cached) " >&6
36328 else
36329
36330
36331       ac_ext=cpp
36332 ac_cpp='$CXXCPP $CPPFLAGS'
36333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36336
36337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36338 /* end confdefs.h.  */
36339 #include <math.h>
36340                       #ifdef HAVE_IEEEFP_H
36341                       #include <ieeefp.h>
36342                       #endif
36343
36344 int
36345 main ()
36346 {
36347  sqrtf(0);
36348   ;
36349   return 0;
36350 }
36351 _ACEOF
36352 if ac_fn_cxx_try_compile "$LINENO"; then :
36353   glibcxx_cv_func_sqrtf_use=yes
36354 else
36355   glibcxx_cv_func_sqrtf_use=no
36356 fi
36357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36358       ac_ext=c
36359 ac_cpp='$CPP $CPPFLAGS'
36360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36363
36364
36365 fi
36366
36367   fi
36368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36369 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36370
36371   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36372     for ac_func in sqrtf
36373 do :
36374   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36375 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36376   cat >>confdefs.h <<_ACEOF
36377 #define HAVE_SQRTF 1
36378 _ACEOF
36379
36380 fi
36381 done
36382
36383   else
36384
36385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36386 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36387   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36388     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36389   $as_echo_n "(cached) " >&6
36390 else
36391
36392
36393       ac_ext=cpp
36394 ac_cpp='$CXXCPP $CPPFLAGS'
36395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36398
36399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36400 /* end confdefs.h.  */
36401 #include <math.h>
36402                       #ifdef HAVE_IEEEFP_H
36403                       #include <ieeefp.h>
36404                       #endif
36405
36406 int
36407 main ()
36408 {
36409  _sqrtf(0);
36410   ;
36411   return 0;
36412 }
36413 _ACEOF
36414 if ac_fn_cxx_try_compile "$LINENO"; then :
36415   glibcxx_cv_func__sqrtf_use=yes
36416 else
36417   glibcxx_cv_func__sqrtf_use=no
36418 fi
36419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36420       ac_ext=c
36421 ac_cpp='$CPP $CPPFLAGS'
36422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36425
36426
36427 fi
36428
36429   fi
36430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36431 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36432
36433     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36434       for ac_func in _sqrtf
36435 do :
36436   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36437 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36438   cat >>confdefs.h <<_ACEOF
36439 #define HAVE__SQRTF 1
36440 _ACEOF
36441
36442 fi
36443 done
36444
36445     fi
36446   fi
36447
36448
36449
36450
36451
36452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36453 $as_echo_n "checking for sincosf declaration... " >&6; }
36454   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36455     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36456   $as_echo_n "(cached) " >&6
36457 else
36458
36459
36460       ac_ext=cpp
36461 ac_cpp='$CXXCPP $CPPFLAGS'
36462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36465
36466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36467 /* end confdefs.h.  */
36468 #include <math.h>
36469 int
36470 main ()
36471 {
36472  sincosf(0, 0, 0);
36473   ;
36474   return 0;
36475 }
36476 _ACEOF
36477 if ac_fn_cxx_try_compile "$LINENO"; then :
36478   glibcxx_cv_func_sincosf_use=yes
36479 else
36480   glibcxx_cv_func_sincosf_use=no
36481 fi
36482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36483       ac_ext=c
36484 ac_cpp='$CPP $CPPFLAGS'
36485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36488
36489
36490 fi
36491
36492   fi
36493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36494 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36495
36496   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36497     for ac_func in sincosf
36498 do :
36499   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36500 if test "x$ac_cv_func_sincosf" = x""yes; then :
36501   cat >>confdefs.h <<_ACEOF
36502 #define HAVE_SINCOSF 1
36503 _ACEOF
36504
36505 fi
36506 done
36507
36508   else
36509
36510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36511 $as_echo_n "checking for _sincosf declaration... " >&6; }
36512   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36513     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36514   $as_echo_n "(cached) " >&6
36515 else
36516
36517
36518       ac_ext=cpp
36519 ac_cpp='$CXXCPP $CPPFLAGS'
36520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36523
36524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36525 /* end confdefs.h.  */
36526 #include <math.h>
36527 int
36528 main ()
36529 {
36530  _sincosf(0, 0, 0);
36531   ;
36532   return 0;
36533 }
36534 _ACEOF
36535 if ac_fn_cxx_try_compile "$LINENO"; then :
36536   glibcxx_cv_func__sincosf_use=yes
36537 else
36538   glibcxx_cv_func__sincosf_use=no
36539 fi
36540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36541       ac_ext=c
36542 ac_cpp='$CPP $CPPFLAGS'
36543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36546
36547
36548 fi
36549
36550   fi
36551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36552 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36553
36554     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36555       for ac_func in _sincosf
36556 do :
36557   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36558 if test "x$ac_cv_func__sincosf" = x""yes; then :
36559   cat >>confdefs.h <<_ACEOF
36560 #define HAVE__SINCOSF 1
36561 _ACEOF
36562
36563 fi
36564 done
36565
36566     fi
36567   fi
36568
36569
36570
36571
36572
36573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36574 $as_echo_n "checking for finitef declaration... " >&6; }
36575   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36576     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36577   $as_echo_n "(cached) " >&6
36578 else
36579
36580
36581       ac_ext=cpp
36582 ac_cpp='$CXXCPP $CPPFLAGS'
36583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36586
36587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36588 /* end confdefs.h.  */
36589 #include <math.h>
36590                       #ifdef HAVE_IEEEFP_H
36591                       #include <ieeefp.h>
36592                       #endif
36593
36594 int
36595 main ()
36596 {
36597  finitef(0);
36598   ;
36599   return 0;
36600 }
36601 _ACEOF
36602 if ac_fn_cxx_try_compile "$LINENO"; then :
36603   glibcxx_cv_func_finitef_use=yes
36604 else
36605   glibcxx_cv_func_finitef_use=no
36606 fi
36607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36608       ac_ext=c
36609 ac_cpp='$CPP $CPPFLAGS'
36610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36613
36614
36615 fi
36616
36617   fi
36618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36619 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36620
36621   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36622     for ac_func in finitef
36623 do :
36624   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36625 if test "x$ac_cv_func_finitef" = x""yes; then :
36626   cat >>confdefs.h <<_ACEOF
36627 #define HAVE_FINITEF 1
36628 _ACEOF
36629
36630 fi
36631 done
36632
36633   else
36634
36635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36636 $as_echo_n "checking for _finitef declaration... " >&6; }
36637   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36638     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36639   $as_echo_n "(cached) " >&6
36640 else
36641
36642
36643       ac_ext=cpp
36644 ac_cpp='$CXXCPP $CPPFLAGS'
36645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36648
36649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36650 /* end confdefs.h.  */
36651 #include <math.h>
36652                       #ifdef HAVE_IEEEFP_H
36653                       #include <ieeefp.h>
36654                       #endif
36655
36656 int
36657 main ()
36658 {
36659  _finitef(0);
36660   ;
36661   return 0;
36662 }
36663 _ACEOF
36664 if ac_fn_cxx_try_compile "$LINENO"; then :
36665   glibcxx_cv_func__finitef_use=yes
36666 else
36667   glibcxx_cv_func__finitef_use=no
36668 fi
36669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36670       ac_ext=c
36671 ac_cpp='$CPP $CPPFLAGS'
36672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36675
36676
36677 fi
36678
36679   fi
36680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36681 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36682
36683     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36684       for ac_func in _finitef
36685 do :
36686   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36687 if test "x$ac_cv_func__finitef" = x""yes; then :
36688   cat >>confdefs.h <<_ACEOF
36689 #define HAVE__FINITEF 1
36690 _ACEOF
36691
36692 fi
36693 done
36694
36695     fi
36696   fi
36697
36698
36699
36700
36701
36702     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36703 $as_echo_n "checking for long double trig functions... " >&6; }
36704   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36705   $as_echo_n "(cached) " >&6
36706 else
36707
36708
36709     ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36714
36715     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h.  */
36717 #include <math.h>
36718 int
36719 main ()
36720 {
36721 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36722   ;
36723   return 0;
36724 }
36725 _ACEOF
36726 if ac_fn_cxx_try_compile "$LINENO"; then :
36727   glibcxx_cv_func_long_double_trig_use=yes
36728 else
36729   glibcxx_cv_func_long_double_trig_use=no
36730 fi
36731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732     ac_ext=c
36733 ac_cpp='$CPP $CPPFLAGS'
36734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36737
36738 fi
36739
36740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36741 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36742   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36743     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36744 do :
36745   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36747 eval as_val=\$$as_ac_var
36748    if test "x$as_val" = x""yes; then :
36749   cat >>confdefs.h <<_ACEOF
36750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36751 _ACEOF
36752
36753 fi
36754 done
36755
36756   else
36757     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36758 $as_echo_n "checking for _long double trig functions... " >&6; }
36759     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36760   $as_echo_n "(cached) " >&6
36761 else
36762
36763
36764       ac_ext=cpp
36765 ac_cpp='$CXXCPP $CPPFLAGS'
36766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36769
36770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36771 /* end confdefs.h.  */
36772 #include <math.h>
36773 int
36774 main ()
36775 {
36776 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36777   ;
36778   return 0;
36779 }
36780 _ACEOF
36781 if ac_fn_cxx_try_compile "$LINENO"; then :
36782   glibcxx_cv_func__long_double_trig_use=yes
36783 else
36784   glibcxx_cv_func__long_double_trig_use=no
36785 fi
36786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36787       ac_ext=c
36788 ac_cpp='$CPP $CPPFLAGS'
36789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36792
36793 fi
36794
36795     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36796 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36797     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36798       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36799 do :
36800   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36802 eval as_val=\$$as_ac_var
36803    if test "x$as_val" = x""yes; then :
36804   cat >>confdefs.h <<_ACEOF
36805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36806 _ACEOF
36807
36808 fi
36809 done
36810
36811     fi
36812   fi
36813
36814
36815
36816
36817
36818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36819 $as_echo_n "checking for long double round functions... " >&6; }
36820   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36821   $as_echo_n "(cached) " >&6
36822 else
36823
36824
36825     ac_ext=cpp
36826 ac_cpp='$CXXCPP $CPPFLAGS'
36827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36830
36831     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36832 /* end confdefs.h.  */
36833 #include <math.h>
36834 int
36835 main ()
36836 {
36837 ceill (0); floorl (0);
36838   ;
36839   return 0;
36840 }
36841 _ACEOF
36842 if ac_fn_cxx_try_compile "$LINENO"; then :
36843   glibcxx_cv_func_long_double_round_use=yes
36844 else
36845   glibcxx_cv_func_long_double_round_use=no
36846 fi
36847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36848     ac_ext=c
36849 ac_cpp='$CPP $CPPFLAGS'
36850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36853
36854 fi
36855
36856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36857 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36858   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36859     for ac_func in ceill floorl
36860 do :
36861   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36863 eval as_val=\$$as_ac_var
36864    if test "x$as_val" = x""yes; then :
36865   cat >>confdefs.h <<_ACEOF
36866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36867 _ACEOF
36868
36869 fi
36870 done
36871
36872   else
36873     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36874 $as_echo_n "checking for _long double round functions... " >&6; }
36875     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36876   $as_echo_n "(cached) " >&6
36877 else
36878
36879
36880       ac_ext=cpp
36881 ac_cpp='$CXXCPP $CPPFLAGS'
36882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36885
36886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36887 /* end confdefs.h.  */
36888 #include <math.h>
36889 int
36890 main ()
36891 {
36892 _ceill (0); _floorl (0);
36893   ;
36894   return 0;
36895 }
36896 _ACEOF
36897 if ac_fn_cxx_try_compile "$LINENO"; then :
36898   glibcxx_cv_func__long_double_round_use=yes
36899 else
36900   glibcxx_cv_func__long_double_round_use=no
36901 fi
36902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36903       ac_ext=c
36904 ac_cpp='$CPP $CPPFLAGS'
36905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36908
36909 fi
36910
36911     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36912 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36913     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36914       for ac_func in _ceill _floorl
36915 do :
36916   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36918 eval as_val=\$$as_ac_var
36919    if test "x$as_val" = x""yes; then :
36920   cat >>confdefs.h <<_ACEOF
36921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36922 _ACEOF
36923
36924 fi
36925 done
36926
36927     fi
36928   fi
36929
36930
36931
36932
36933
36934
36935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36936 $as_echo_n "checking for isnanl declaration... " >&6; }
36937   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36938     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36939   $as_echo_n "(cached) " >&6
36940 else
36941
36942
36943       ac_ext=cpp
36944 ac_cpp='$CXXCPP $CPPFLAGS'
36945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36948
36949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36950 /* end confdefs.h.  */
36951 #include <math.h>
36952                       #ifdef HAVE_IEEEFP_H
36953                       #include <ieeefp.h>
36954                       #endif
36955
36956 int
36957 main ()
36958 {
36959  isnanl(0);
36960   ;
36961   return 0;
36962 }
36963 _ACEOF
36964 if ac_fn_cxx_try_compile "$LINENO"; then :
36965   glibcxx_cv_func_isnanl_use=yes
36966 else
36967   glibcxx_cv_func_isnanl_use=no
36968 fi
36969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36970       ac_ext=c
36971 ac_cpp='$CPP $CPPFLAGS'
36972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36975
36976
36977 fi
36978
36979   fi
36980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36981 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36982
36983   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36984     for ac_func in isnanl
36985 do :
36986   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36987 if test "x$ac_cv_func_isnanl" = x""yes; then :
36988   cat >>confdefs.h <<_ACEOF
36989 #define HAVE_ISNANL 1
36990 _ACEOF
36991
36992 fi
36993 done
36994
36995   else
36996
36997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36998 $as_echo_n "checking for _isnanl declaration... " >&6; }
36999   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37000     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37001   $as_echo_n "(cached) " >&6
37002 else
37003
37004
37005       ac_ext=cpp
37006 ac_cpp='$CXXCPP $CPPFLAGS'
37007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37010
37011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37012 /* end confdefs.h.  */
37013 #include <math.h>
37014                       #ifdef HAVE_IEEEFP_H
37015                       #include <ieeefp.h>
37016                       #endif
37017
37018 int
37019 main ()
37020 {
37021  _isnanl(0);
37022   ;
37023   return 0;
37024 }
37025 _ACEOF
37026 if ac_fn_cxx_try_compile "$LINENO"; then :
37027   glibcxx_cv_func__isnanl_use=yes
37028 else
37029   glibcxx_cv_func__isnanl_use=no
37030 fi
37031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37032       ac_ext=c
37033 ac_cpp='$CPP $CPPFLAGS'
37034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37037
37038
37039 fi
37040
37041   fi
37042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37043 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37044
37045     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37046       for ac_func in _isnanl
37047 do :
37048   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37049 if test "x$ac_cv_func__isnanl" = x""yes; then :
37050   cat >>confdefs.h <<_ACEOF
37051 #define HAVE__ISNANL 1
37052 _ACEOF
37053
37054 fi
37055 done
37056
37057     fi
37058   fi
37059
37060
37061
37062
37063
37064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37065 $as_echo_n "checking for isinfl declaration... " >&6; }
37066   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37067     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37068   $as_echo_n "(cached) " >&6
37069 else
37070
37071
37072       ac_ext=cpp
37073 ac_cpp='$CXXCPP $CPPFLAGS'
37074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37077
37078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37079 /* end confdefs.h.  */
37080 #include <math.h>
37081                       #ifdef HAVE_IEEEFP_H
37082                       #include <ieeefp.h>
37083                       #endif
37084
37085 int
37086 main ()
37087 {
37088  isinfl(0);
37089   ;
37090   return 0;
37091 }
37092 _ACEOF
37093 if ac_fn_cxx_try_compile "$LINENO"; then :
37094   glibcxx_cv_func_isinfl_use=yes
37095 else
37096   glibcxx_cv_func_isinfl_use=no
37097 fi
37098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37099       ac_ext=c
37100 ac_cpp='$CPP $CPPFLAGS'
37101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37104
37105
37106 fi
37107
37108   fi
37109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37110 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37111
37112   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37113     for ac_func in isinfl
37114 do :
37115   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37116 if test "x$ac_cv_func_isinfl" = x""yes; then :
37117   cat >>confdefs.h <<_ACEOF
37118 #define HAVE_ISINFL 1
37119 _ACEOF
37120
37121 fi
37122 done
37123
37124   else
37125
37126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37127 $as_echo_n "checking for _isinfl declaration... " >&6; }
37128   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37129     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37130   $as_echo_n "(cached) " >&6
37131 else
37132
37133
37134       ac_ext=cpp
37135 ac_cpp='$CXXCPP $CPPFLAGS'
37136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37139
37140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37141 /* end confdefs.h.  */
37142 #include <math.h>
37143                       #ifdef HAVE_IEEEFP_H
37144                       #include <ieeefp.h>
37145                       #endif
37146
37147 int
37148 main ()
37149 {
37150  _isinfl(0);
37151   ;
37152   return 0;
37153 }
37154 _ACEOF
37155 if ac_fn_cxx_try_compile "$LINENO"; then :
37156   glibcxx_cv_func__isinfl_use=yes
37157 else
37158   glibcxx_cv_func__isinfl_use=no
37159 fi
37160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37161       ac_ext=c
37162 ac_cpp='$CPP $CPPFLAGS'
37163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37166
37167
37168 fi
37169
37170   fi
37171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37172 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37173
37174     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37175       for ac_func in _isinfl
37176 do :
37177   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37178 if test "x$ac_cv_func__isinfl" = x""yes; then :
37179   cat >>confdefs.h <<_ACEOF
37180 #define HAVE__ISINFL 1
37181 _ACEOF
37182
37183 fi
37184 done
37185
37186     fi
37187   fi
37188
37189
37190
37191
37192
37193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37194 $as_echo_n "checking for atan2l declaration... " >&6; }
37195   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37196     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37197   $as_echo_n "(cached) " >&6
37198 else
37199
37200
37201       ac_ext=cpp
37202 ac_cpp='$CXXCPP $CPPFLAGS'
37203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37206
37207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37208 /* end confdefs.h.  */
37209 #include <math.h>
37210 int
37211 main ()
37212 {
37213  atan2l(0, 0);
37214   ;
37215   return 0;
37216 }
37217 _ACEOF
37218 if ac_fn_cxx_try_compile "$LINENO"; then :
37219   glibcxx_cv_func_atan2l_use=yes
37220 else
37221   glibcxx_cv_func_atan2l_use=no
37222 fi
37223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37224       ac_ext=c
37225 ac_cpp='$CPP $CPPFLAGS'
37226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37229
37230
37231 fi
37232
37233   fi
37234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37235 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37236
37237   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37238     for ac_func in atan2l
37239 do :
37240   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37241 if test "x$ac_cv_func_atan2l" = x""yes; then :
37242   cat >>confdefs.h <<_ACEOF
37243 #define HAVE_ATAN2L 1
37244 _ACEOF
37245
37246 fi
37247 done
37248
37249   else
37250
37251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37252 $as_echo_n "checking for _atan2l declaration... " >&6; }
37253   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37254     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37255   $as_echo_n "(cached) " >&6
37256 else
37257
37258
37259       ac_ext=cpp
37260 ac_cpp='$CXXCPP $CPPFLAGS'
37261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37264
37265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37266 /* end confdefs.h.  */
37267 #include <math.h>
37268 int
37269 main ()
37270 {
37271  _atan2l(0, 0);
37272   ;
37273   return 0;
37274 }
37275 _ACEOF
37276 if ac_fn_cxx_try_compile "$LINENO"; then :
37277   glibcxx_cv_func__atan2l_use=yes
37278 else
37279   glibcxx_cv_func__atan2l_use=no
37280 fi
37281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37282       ac_ext=c
37283 ac_cpp='$CPP $CPPFLAGS'
37284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37287
37288
37289 fi
37290
37291   fi
37292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37293 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37294
37295     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37296       for ac_func in _atan2l
37297 do :
37298   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37299 if test "x$ac_cv_func__atan2l" = x""yes; then :
37300   cat >>confdefs.h <<_ACEOF
37301 #define HAVE__ATAN2L 1
37302 _ACEOF
37303
37304 fi
37305 done
37306
37307     fi
37308   fi
37309
37310
37311
37312
37313
37314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37315 $as_echo_n "checking for expl declaration... " >&6; }
37316   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37317     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37318   $as_echo_n "(cached) " >&6
37319 else
37320
37321
37322       ac_ext=cpp
37323 ac_cpp='$CXXCPP $CPPFLAGS'
37324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37327
37328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37329 /* end confdefs.h.  */
37330 #include <math.h>
37331                       #ifdef HAVE_IEEEFP_H
37332                       #include <ieeefp.h>
37333                       #endif
37334
37335 int
37336 main ()
37337 {
37338  expl(0);
37339   ;
37340   return 0;
37341 }
37342 _ACEOF
37343 if ac_fn_cxx_try_compile "$LINENO"; then :
37344   glibcxx_cv_func_expl_use=yes
37345 else
37346   glibcxx_cv_func_expl_use=no
37347 fi
37348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37349       ac_ext=c
37350 ac_cpp='$CPP $CPPFLAGS'
37351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37354
37355
37356 fi
37357
37358   fi
37359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37360 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37361
37362   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37363     for ac_func in expl
37364 do :
37365   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37366 if test "x$ac_cv_func_expl" = x""yes; then :
37367   cat >>confdefs.h <<_ACEOF
37368 #define HAVE_EXPL 1
37369 _ACEOF
37370
37371 fi
37372 done
37373
37374   else
37375
37376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37377 $as_echo_n "checking for _expl declaration... " >&6; }
37378   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37379     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37380   $as_echo_n "(cached) " >&6
37381 else
37382
37383
37384       ac_ext=cpp
37385 ac_cpp='$CXXCPP $CPPFLAGS'
37386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37389
37390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37391 /* end confdefs.h.  */
37392 #include <math.h>
37393                       #ifdef HAVE_IEEEFP_H
37394                       #include <ieeefp.h>
37395                       #endif
37396
37397 int
37398 main ()
37399 {
37400  _expl(0);
37401   ;
37402   return 0;
37403 }
37404 _ACEOF
37405 if ac_fn_cxx_try_compile "$LINENO"; then :
37406   glibcxx_cv_func__expl_use=yes
37407 else
37408   glibcxx_cv_func__expl_use=no
37409 fi
37410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37411       ac_ext=c
37412 ac_cpp='$CPP $CPPFLAGS'
37413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37416
37417
37418 fi
37419
37420   fi
37421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37422 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37423
37424     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37425       for ac_func in _expl
37426 do :
37427   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37428 if test "x$ac_cv_func__expl" = x""yes; then :
37429   cat >>confdefs.h <<_ACEOF
37430 #define HAVE__EXPL 1
37431 _ACEOF
37432
37433 fi
37434 done
37435
37436     fi
37437   fi
37438
37439
37440
37441
37442
37443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37444 $as_echo_n "checking for fabsl declaration... " >&6; }
37445   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37446     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37447   $as_echo_n "(cached) " >&6
37448 else
37449
37450
37451       ac_ext=cpp
37452 ac_cpp='$CXXCPP $CPPFLAGS'
37453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37456
37457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37458 /* end confdefs.h.  */
37459 #include <math.h>
37460                       #ifdef HAVE_IEEEFP_H
37461                       #include <ieeefp.h>
37462                       #endif
37463
37464 int
37465 main ()
37466 {
37467  fabsl(0);
37468   ;
37469   return 0;
37470 }
37471 _ACEOF
37472 if ac_fn_cxx_try_compile "$LINENO"; then :
37473   glibcxx_cv_func_fabsl_use=yes
37474 else
37475   glibcxx_cv_func_fabsl_use=no
37476 fi
37477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37478       ac_ext=c
37479 ac_cpp='$CPP $CPPFLAGS'
37480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37483
37484
37485 fi
37486
37487   fi
37488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37489 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37490
37491   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37492     for ac_func in fabsl
37493 do :
37494   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37495 if test "x$ac_cv_func_fabsl" = x""yes; then :
37496   cat >>confdefs.h <<_ACEOF
37497 #define HAVE_FABSL 1
37498 _ACEOF
37499
37500 fi
37501 done
37502
37503   else
37504
37505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37506 $as_echo_n "checking for _fabsl declaration... " >&6; }
37507   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37508     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37509   $as_echo_n "(cached) " >&6
37510 else
37511
37512
37513       ac_ext=cpp
37514 ac_cpp='$CXXCPP $CPPFLAGS'
37515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37518
37519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37520 /* end confdefs.h.  */
37521 #include <math.h>
37522                       #ifdef HAVE_IEEEFP_H
37523                       #include <ieeefp.h>
37524                       #endif
37525
37526 int
37527 main ()
37528 {
37529  _fabsl(0);
37530   ;
37531   return 0;
37532 }
37533 _ACEOF
37534 if ac_fn_cxx_try_compile "$LINENO"; then :
37535   glibcxx_cv_func__fabsl_use=yes
37536 else
37537   glibcxx_cv_func__fabsl_use=no
37538 fi
37539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37540       ac_ext=c
37541 ac_cpp='$CPP $CPPFLAGS'
37542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37545
37546
37547 fi
37548
37549   fi
37550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37551 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37552
37553     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37554       for ac_func in _fabsl
37555 do :
37556   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37557 if test "x$ac_cv_func__fabsl" = x""yes; then :
37558   cat >>confdefs.h <<_ACEOF
37559 #define HAVE__FABSL 1
37560 _ACEOF
37561
37562 fi
37563 done
37564
37565     fi
37566   fi
37567
37568
37569
37570
37571
37572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37573 $as_echo_n "checking for fmodl declaration... " >&6; }
37574   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37575     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37576   $as_echo_n "(cached) " >&6
37577 else
37578
37579
37580       ac_ext=cpp
37581 ac_cpp='$CXXCPP $CPPFLAGS'
37582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37585
37586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37587 /* end confdefs.h.  */
37588 #include <math.h>
37589 int
37590 main ()
37591 {
37592  fmodl(0, 0);
37593   ;
37594   return 0;
37595 }
37596 _ACEOF
37597 if ac_fn_cxx_try_compile "$LINENO"; then :
37598   glibcxx_cv_func_fmodl_use=yes
37599 else
37600   glibcxx_cv_func_fmodl_use=no
37601 fi
37602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37603       ac_ext=c
37604 ac_cpp='$CPP $CPPFLAGS'
37605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37608
37609
37610 fi
37611
37612   fi
37613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37614 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37615
37616   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37617     for ac_func in fmodl
37618 do :
37619   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37620 if test "x$ac_cv_func_fmodl" = x""yes; then :
37621   cat >>confdefs.h <<_ACEOF
37622 #define HAVE_FMODL 1
37623 _ACEOF
37624
37625 fi
37626 done
37627
37628   else
37629
37630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37631 $as_echo_n "checking for _fmodl declaration... " >&6; }
37632   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37633     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37634   $as_echo_n "(cached) " >&6
37635 else
37636
37637
37638       ac_ext=cpp
37639 ac_cpp='$CXXCPP $CPPFLAGS'
37640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37643
37644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37645 /* end confdefs.h.  */
37646 #include <math.h>
37647 int
37648 main ()
37649 {
37650  _fmodl(0, 0);
37651   ;
37652   return 0;
37653 }
37654 _ACEOF
37655 if ac_fn_cxx_try_compile "$LINENO"; then :
37656   glibcxx_cv_func__fmodl_use=yes
37657 else
37658   glibcxx_cv_func__fmodl_use=no
37659 fi
37660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37661       ac_ext=c
37662 ac_cpp='$CPP $CPPFLAGS'
37663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37666
37667
37668 fi
37669
37670   fi
37671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37672 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37673
37674     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37675       for ac_func in _fmodl
37676 do :
37677   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37678 if test "x$ac_cv_func__fmodl" = x""yes; then :
37679   cat >>confdefs.h <<_ACEOF
37680 #define HAVE__FMODL 1
37681 _ACEOF
37682
37683 fi
37684 done
37685
37686     fi
37687   fi
37688
37689
37690
37691
37692
37693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37694 $as_echo_n "checking for frexpl declaration... " >&6; }
37695   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37696     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37697   $as_echo_n "(cached) " >&6
37698 else
37699
37700
37701       ac_ext=cpp
37702 ac_cpp='$CXXCPP $CPPFLAGS'
37703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37706
37707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37708 /* end confdefs.h.  */
37709 #include <math.h>
37710 int
37711 main ()
37712 {
37713  frexpl(0, 0);
37714   ;
37715   return 0;
37716 }
37717 _ACEOF
37718 if ac_fn_cxx_try_compile "$LINENO"; then :
37719   glibcxx_cv_func_frexpl_use=yes
37720 else
37721   glibcxx_cv_func_frexpl_use=no
37722 fi
37723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37724       ac_ext=c
37725 ac_cpp='$CPP $CPPFLAGS'
37726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37729
37730
37731 fi
37732
37733   fi
37734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37735 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37736
37737   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37738     for ac_func in frexpl
37739 do :
37740   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37741 if test "x$ac_cv_func_frexpl" = x""yes; then :
37742   cat >>confdefs.h <<_ACEOF
37743 #define HAVE_FREXPL 1
37744 _ACEOF
37745
37746 fi
37747 done
37748
37749   else
37750
37751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37752 $as_echo_n "checking for _frexpl declaration... " >&6; }
37753   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37754     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37755   $as_echo_n "(cached) " >&6
37756 else
37757
37758
37759       ac_ext=cpp
37760 ac_cpp='$CXXCPP $CPPFLAGS'
37761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37764
37765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37766 /* end confdefs.h.  */
37767 #include <math.h>
37768 int
37769 main ()
37770 {
37771  _frexpl(0, 0);
37772   ;
37773   return 0;
37774 }
37775 _ACEOF
37776 if ac_fn_cxx_try_compile "$LINENO"; then :
37777   glibcxx_cv_func__frexpl_use=yes
37778 else
37779   glibcxx_cv_func__frexpl_use=no
37780 fi
37781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37782       ac_ext=c
37783 ac_cpp='$CPP $CPPFLAGS'
37784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37787
37788
37789 fi
37790
37791   fi
37792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37793 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37794
37795     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37796       for ac_func in _frexpl
37797 do :
37798   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37799 if test "x$ac_cv_func__frexpl" = x""yes; then :
37800   cat >>confdefs.h <<_ACEOF
37801 #define HAVE__FREXPL 1
37802 _ACEOF
37803
37804 fi
37805 done
37806
37807     fi
37808   fi
37809
37810
37811
37812
37813
37814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37815 $as_echo_n "checking for hypotl declaration... " >&6; }
37816   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37817     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37818   $as_echo_n "(cached) " >&6
37819 else
37820
37821
37822       ac_ext=cpp
37823 ac_cpp='$CXXCPP $CPPFLAGS'
37824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37827
37828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37829 /* end confdefs.h.  */
37830 #include <math.h>
37831 int
37832 main ()
37833 {
37834  hypotl(0, 0);
37835   ;
37836   return 0;
37837 }
37838 _ACEOF
37839 if ac_fn_cxx_try_compile "$LINENO"; then :
37840   glibcxx_cv_func_hypotl_use=yes
37841 else
37842   glibcxx_cv_func_hypotl_use=no
37843 fi
37844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37845       ac_ext=c
37846 ac_cpp='$CPP $CPPFLAGS'
37847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37850
37851
37852 fi
37853
37854   fi
37855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37856 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37857
37858   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37859     for ac_func in hypotl
37860 do :
37861   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37862 if test "x$ac_cv_func_hypotl" = x""yes; then :
37863   cat >>confdefs.h <<_ACEOF
37864 #define HAVE_HYPOTL 1
37865 _ACEOF
37866
37867 fi
37868 done
37869
37870   else
37871
37872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37873 $as_echo_n "checking for _hypotl declaration... " >&6; }
37874   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37875     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37876   $as_echo_n "(cached) " >&6
37877 else
37878
37879
37880       ac_ext=cpp
37881 ac_cpp='$CXXCPP $CPPFLAGS'
37882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37885
37886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37887 /* end confdefs.h.  */
37888 #include <math.h>
37889 int
37890 main ()
37891 {
37892  _hypotl(0, 0);
37893   ;
37894   return 0;
37895 }
37896 _ACEOF
37897 if ac_fn_cxx_try_compile "$LINENO"; then :
37898   glibcxx_cv_func__hypotl_use=yes
37899 else
37900   glibcxx_cv_func__hypotl_use=no
37901 fi
37902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37903       ac_ext=c
37904 ac_cpp='$CPP $CPPFLAGS'
37905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37908
37909
37910 fi
37911
37912   fi
37913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37914 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37915
37916     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37917       for ac_func in _hypotl
37918 do :
37919   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37920 if test "x$ac_cv_func__hypotl" = x""yes; then :
37921   cat >>confdefs.h <<_ACEOF
37922 #define HAVE__HYPOTL 1
37923 _ACEOF
37924
37925 fi
37926 done
37927
37928     fi
37929   fi
37930
37931
37932
37933
37934
37935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37936 $as_echo_n "checking for ldexpl declaration... " >&6; }
37937   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37938     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37939   $as_echo_n "(cached) " >&6
37940 else
37941
37942
37943       ac_ext=cpp
37944 ac_cpp='$CXXCPP $CPPFLAGS'
37945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37948
37949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37950 /* end confdefs.h.  */
37951 #include <math.h>
37952 int
37953 main ()
37954 {
37955  ldexpl(0, 0);
37956   ;
37957   return 0;
37958 }
37959 _ACEOF
37960 if ac_fn_cxx_try_compile "$LINENO"; then :
37961   glibcxx_cv_func_ldexpl_use=yes
37962 else
37963   glibcxx_cv_func_ldexpl_use=no
37964 fi
37965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37966       ac_ext=c
37967 ac_cpp='$CPP $CPPFLAGS'
37968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37971
37972
37973 fi
37974
37975   fi
37976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37977 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37978
37979   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37980     for ac_func in ldexpl
37981 do :
37982   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37983 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37984   cat >>confdefs.h <<_ACEOF
37985 #define HAVE_LDEXPL 1
37986 _ACEOF
37987
37988 fi
37989 done
37990
37991   else
37992
37993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37994 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37995   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37996     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37997   $as_echo_n "(cached) " >&6
37998 else
37999
38000
38001       ac_ext=cpp
38002 ac_cpp='$CXXCPP $CPPFLAGS'
38003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38006
38007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38008 /* end confdefs.h.  */
38009 #include <math.h>
38010 int
38011 main ()
38012 {
38013  _ldexpl(0, 0);
38014   ;
38015   return 0;
38016 }
38017 _ACEOF
38018 if ac_fn_cxx_try_compile "$LINENO"; then :
38019   glibcxx_cv_func__ldexpl_use=yes
38020 else
38021   glibcxx_cv_func__ldexpl_use=no
38022 fi
38023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38024       ac_ext=c
38025 ac_cpp='$CPP $CPPFLAGS'
38026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38029
38030
38031 fi
38032
38033   fi
38034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38035 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38036
38037     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38038       for ac_func in _ldexpl
38039 do :
38040   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38041 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38042   cat >>confdefs.h <<_ACEOF
38043 #define HAVE__LDEXPL 1
38044 _ACEOF
38045
38046 fi
38047 done
38048
38049     fi
38050   fi
38051
38052
38053
38054
38055
38056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38057 $as_echo_n "checking for logl declaration... " >&6; }
38058   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38059     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38060   $as_echo_n "(cached) " >&6
38061 else
38062
38063
38064       ac_ext=cpp
38065 ac_cpp='$CXXCPP $CPPFLAGS'
38066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38069
38070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38071 /* end confdefs.h.  */
38072 #include <math.h>
38073                       #ifdef HAVE_IEEEFP_H
38074                       #include <ieeefp.h>
38075                       #endif
38076
38077 int
38078 main ()
38079 {
38080  logl(0);
38081   ;
38082   return 0;
38083 }
38084 _ACEOF
38085 if ac_fn_cxx_try_compile "$LINENO"; then :
38086   glibcxx_cv_func_logl_use=yes
38087 else
38088   glibcxx_cv_func_logl_use=no
38089 fi
38090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38091       ac_ext=c
38092 ac_cpp='$CPP $CPPFLAGS'
38093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38096
38097
38098 fi
38099
38100   fi
38101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38102 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38103
38104   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38105     for ac_func in logl
38106 do :
38107   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38108 if test "x$ac_cv_func_logl" = x""yes; then :
38109   cat >>confdefs.h <<_ACEOF
38110 #define HAVE_LOGL 1
38111 _ACEOF
38112
38113 fi
38114 done
38115
38116   else
38117
38118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38119 $as_echo_n "checking for _logl declaration... " >&6; }
38120   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38121     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38122   $as_echo_n "(cached) " >&6
38123 else
38124
38125
38126       ac_ext=cpp
38127 ac_cpp='$CXXCPP $CPPFLAGS'
38128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38131
38132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38133 /* end confdefs.h.  */
38134 #include <math.h>
38135                       #ifdef HAVE_IEEEFP_H
38136                       #include <ieeefp.h>
38137                       #endif
38138
38139 int
38140 main ()
38141 {
38142  _logl(0);
38143   ;
38144   return 0;
38145 }
38146 _ACEOF
38147 if ac_fn_cxx_try_compile "$LINENO"; then :
38148   glibcxx_cv_func__logl_use=yes
38149 else
38150   glibcxx_cv_func__logl_use=no
38151 fi
38152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38153       ac_ext=c
38154 ac_cpp='$CPP $CPPFLAGS'
38155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38158
38159
38160 fi
38161
38162   fi
38163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38164 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38165
38166     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38167       for ac_func in _logl
38168 do :
38169   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38170 if test "x$ac_cv_func__logl" = x""yes; then :
38171   cat >>confdefs.h <<_ACEOF
38172 #define HAVE__LOGL 1
38173 _ACEOF
38174
38175 fi
38176 done
38177
38178     fi
38179   fi
38180
38181
38182
38183
38184
38185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38186 $as_echo_n "checking for log10l declaration... " >&6; }
38187   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38188     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38189   $as_echo_n "(cached) " >&6
38190 else
38191
38192
38193       ac_ext=cpp
38194 ac_cpp='$CXXCPP $CPPFLAGS'
38195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38198
38199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38200 /* end confdefs.h.  */
38201 #include <math.h>
38202                       #ifdef HAVE_IEEEFP_H
38203                       #include <ieeefp.h>
38204                       #endif
38205
38206 int
38207 main ()
38208 {
38209  log10l(0);
38210   ;
38211   return 0;
38212 }
38213 _ACEOF
38214 if ac_fn_cxx_try_compile "$LINENO"; then :
38215   glibcxx_cv_func_log10l_use=yes
38216 else
38217   glibcxx_cv_func_log10l_use=no
38218 fi
38219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38220       ac_ext=c
38221 ac_cpp='$CPP $CPPFLAGS'
38222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38225
38226
38227 fi
38228
38229   fi
38230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38231 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38232
38233   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38234     for ac_func in log10l
38235 do :
38236   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38237 if test "x$ac_cv_func_log10l" = x""yes; then :
38238   cat >>confdefs.h <<_ACEOF
38239 #define HAVE_LOG10L 1
38240 _ACEOF
38241
38242 fi
38243 done
38244
38245   else
38246
38247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38248 $as_echo_n "checking for _log10l declaration... " >&6; }
38249   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38250     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38251   $as_echo_n "(cached) " >&6
38252 else
38253
38254
38255       ac_ext=cpp
38256 ac_cpp='$CXXCPP $CPPFLAGS'
38257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38260
38261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38262 /* end confdefs.h.  */
38263 #include <math.h>
38264                       #ifdef HAVE_IEEEFP_H
38265                       #include <ieeefp.h>
38266                       #endif
38267
38268 int
38269 main ()
38270 {
38271  _log10l(0);
38272   ;
38273   return 0;
38274 }
38275 _ACEOF
38276 if ac_fn_cxx_try_compile "$LINENO"; then :
38277   glibcxx_cv_func__log10l_use=yes
38278 else
38279   glibcxx_cv_func__log10l_use=no
38280 fi
38281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38282       ac_ext=c
38283 ac_cpp='$CPP $CPPFLAGS'
38284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38287
38288
38289 fi
38290
38291   fi
38292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38293 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38294
38295     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38296       for ac_func in _log10l
38297 do :
38298   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38299 if test "x$ac_cv_func__log10l" = x""yes; then :
38300   cat >>confdefs.h <<_ACEOF
38301 #define HAVE__LOG10L 1
38302 _ACEOF
38303
38304 fi
38305 done
38306
38307     fi
38308   fi
38309
38310
38311
38312
38313
38314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38315 $as_echo_n "checking for modfl declaration... " >&6; }
38316   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38317     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38318   $as_echo_n "(cached) " >&6
38319 else
38320
38321
38322       ac_ext=cpp
38323 ac_cpp='$CXXCPP $CPPFLAGS'
38324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38327
38328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38329 /* end confdefs.h.  */
38330 #include <math.h>
38331 int
38332 main ()
38333 {
38334  modfl(0, 0);
38335   ;
38336   return 0;
38337 }
38338 _ACEOF
38339 if ac_fn_cxx_try_compile "$LINENO"; then :
38340   glibcxx_cv_func_modfl_use=yes
38341 else
38342   glibcxx_cv_func_modfl_use=no
38343 fi
38344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38345       ac_ext=c
38346 ac_cpp='$CPP $CPPFLAGS'
38347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38350
38351
38352 fi
38353
38354   fi
38355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38356 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38357
38358   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38359     for ac_func in modfl
38360 do :
38361   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38362 if test "x$ac_cv_func_modfl" = x""yes; then :
38363   cat >>confdefs.h <<_ACEOF
38364 #define HAVE_MODFL 1
38365 _ACEOF
38366
38367 fi
38368 done
38369
38370   else
38371
38372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38373 $as_echo_n "checking for _modfl declaration... " >&6; }
38374   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38375     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38376   $as_echo_n "(cached) " >&6
38377 else
38378
38379
38380       ac_ext=cpp
38381 ac_cpp='$CXXCPP $CPPFLAGS'
38382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38385
38386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38387 /* end confdefs.h.  */
38388 #include <math.h>
38389 int
38390 main ()
38391 {
38392  _modfl(0, 0);
38393   ;
38394   return 0;
38395 }
38396 _ACEOF
38397 if ac_fn_cxx_try_compile "$LINENO"; then :
38398   glibcxx_cv_func__modfl_use=yes
38399 else
38400   glibcxx_cv_func__modfl_use=no
38401 fi
38402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38403       ac_ext=c
38404 ac_cpp='$CPP $CPPFLAGS'
38405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38408
38409
38410 fi
38411
38412   fi
38413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38414 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38415
38416     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38417       for ac_func in _modfl
38418 do :
38419   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38420 if test "x$ac_cv_func__modfl" = x""yes; then :
38421   cat >>confdefs.h <<_ACEOF
38422 #define HAVE__MODFL 1
38423 _ACEOF
38424
38425 fi
38426 done
38427
38428     fi
38429   fi
38430
38431
38432
38433
38434
38435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38436 $as_echo_n "checking for powl declaration... " >&6; }
38437   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38438     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38439   $as_echo_n "(cached) " >&6
38440 else
38441
38442
38443       ac_ext=cpp
38444 ac_cpp='$CXXCPP $CPPFLAGS'
38445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38448
38449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38450 /* end confdefs.h.  */
38451 #include <math.h>
38452 int
38453 main ()
38454 {
38455  powl(0, 0);
38456   ;
38457   return 0;
38458 }
38459 _ACEOF
38460 if ac_fn_cxx_try_compile "$LINENO"; then :
38461   glibcxx_cv_func_powl_use=yes
38462 else
38463   glibcxx_cv_func_powl_use=no
38464 fi
38465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38466       ac_ext=c
38467 ac_cpp='$CPP $CPPFLAGS'
38468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38471
38472
38473 fi
38474
38475   fi
38476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38477 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38478
38479   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38480     for ac_func in powl
38481 do :
38482   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38483 if test "x$ac_cv_func_powl" = x""yes; then :
38484   cat >>confdefs.h <<_ACEOF
38485 #define HAVE_POWL 1
38486 _ACEOF
38487
38488 fi
38489 done
38490
38491   else
38492
38493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38494 $as_echo_n "checking for _powl declaration... " >&6; }
38495   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38496     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38497   $as_echo_n "(cached) " >&6
38498 else
38499
38500
38501       ac_ext=cpp
38502 ac_cpp='$CXXCPP $CPPFLAGS'
38503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38506
38507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38508 /* end confdefs.h.  */
38509 #include <math.h>
38510 int
38511 main ()
38512 {
38513  _powl(0, 0);
38514   ;
38515   return 0;
38516 }
38517 _ACEOF
38518 if ac_fn_cxx_try_compile "$LINENO"; then :
38519   glibcxx_cv_func__powl_use=yes
38520 else
38521   glibcxx_cv_func__powl_use=no
38522 fi
38523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38524       ac_ext=c
38525 ac_cpp='$CPP $CPPFLAGS'
38526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38529
38530
38531 fi
38532
38533   fi
38534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38535 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38536
38537     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38538       for ac_func in _powl
38539 do :
38540   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38541 if test "x$ac_cv_func__powl" = x""yes; then :
38542   cat >>confdefs.h <<_ACEOF
38543 #define HAVE__POWL 1
38544 _ACEOF
38545
38546 fi
38547 done
38548
38549     fi
38550   fi
38551
38552
38553
38554
38555
38556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38557 $as_echo_n "checking for sqrtl declaration... " >&6; }
38558   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38559     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38560   $as_echo_n "(cached) " >&6
38561 else
38562
38563
38564       ac_ext=cpp
38565 ac_cpp='$CXXCPP $CPPFLAGS'
38566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38569
38570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38571 /* end confdefs.h.  */
38572 #include <math.h>
38573                       #ifdef HAVE_IEEEFP_H
38574                       #include <ieeefp.h>
38575                       #endif
38576
38577 int
38578 main ()
38579 {
38580  sqrtl(0);
38581   ;
38582   return 0;
38583 }
38584 _ACEOF
38585 if ac_fn_cxx_try_compile "$LINENO"; then :
38586   glibcxx_cv_func_sqrtl_use=yes
38587 else
38588   glibcxx_cv_func_sqrtl_use=no
38589 fi
38590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38591       ac_ext=c
38592 ac_cpp='$CPP $CPPFLAGS'
38593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38596
38597
38598 fi
38599
38600   fi
38601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38602 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38603
38604   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38605     for ac_func in sqrtl
38606 do :
38607   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38608 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38609   cat >>confdefs.h <<_ACEOF
38610 #define HAVE_SQRTL 1
38611 _ACEOF
38612
38613 fi
38614 done
38615
38616   else
38617
38618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38619 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38620   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38621     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38622   $as_echo_n "(cached) " >&6
38623 else
38624
38625
38626       ac_ext=cpp
38627 ac_cpp='$CXXCPP $CPPFLAGS'
38628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38631
38632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38633 /* end confdefs.h.  */
38634 #include <math.h>
38635                       #ifdef HAVE_IEEEFP_H
38636                       #include <ieeefp.h>
38637                       #endif
38638
38639 int
38640 main ()
38641 {
38642  _sqrtl(0);
38643   ;
38644   return 0;
38645 }
38646 _ACEOF
38647 if ac_fn_cxx_try_compile "$LINENO"; then :
38648   glibcxx_cv_func__sqrtl_use=yes
38649 else
38650   glibcxx_cv_func__sqrtl_use=no
38651 fi
38652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38653       ac_ext=c
38654 ac_cpp='$CPP $CPPFLAGS'
38655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38658
38659
38660 fi
38661
38662   fi
38663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38664 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38665
38666     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38667       for ac_func in _sqrtl
38668 do :
38669   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38670 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38671   cat >>confdefs.h <<_ACEOF
38672 #define HAVE__SQRTL 1
38673 _ACEOF
38674
38675 fi
38676 done
38677
38678     fi
38679   fi
38680
38681
38682
38683
38684
38685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38686 $as_echo_n "checking for sincosl declaration... " >&6; }
38687   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38688     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38689   $as_echo_n "(cached) " >&6
38690 else
38691
38692
38693       ac_ext=cpp
38694 ac_cpp='$CXXCPP $CPPFLAGS'
38695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38698
38699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38700 /* end confdefs.h.  */
38701 #include <math.h>
38702 int
38703 main ()
38704 {
38705  sincosl(0, 0, 0);
38706   ;
38707   return 0;
38708 }
38709 _ACEOF
38710 if ac_fn_cxx_try_compile "$LINENO"; then :
38711   glibcxx_cv_func_sincosl_use=yes
38712 else
38713   glibcxx_cv_func_sincosl_use=no
38714 fi
38715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38716       ac_ext=c
38717 ac_cpp='$CPP $CPPFLAGS'
38718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38721
38722
38723 fi
38724
38725   fi
38726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38727 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38728
38729   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38730     for ac_func in sincosl
38731 do :
38732   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38733 if test "x$ac_cv_func_sincosl" = x""yes; then :
38734   cat >>confdefs.h <<_ACEOF
38735 #define HAVE_SINCOSL 1
38736 _ACEOF
38737
38738 fi
38739 done
38740
38741   else
38742
38743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38744 $as_echo_n "checking for _sincosl declaration... " >&6; }
38745   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38746     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38747   $as_echo_n "(cached) " >&6
38748 else
38749
38750
38751       ac_ext=cpp
38752 ac_cpp='$CXXCPP $CPPFLAGS'
38753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38756
38757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38758 /* end confdefs.h.  */
38759 #include <math.h>
38760 int
38761 main ()
38762 {
38763  _sincosl(0, 0, 0);
38764   ;
38765   return 0;
38766 }
38767 _ACEOF
38768 if ac_fn_cxx_try_compile "$LINENO"; then :
38769   glibcxx_cv_func__sincosl_use=yes
38770 else
38771   glibcxx_cv_func__sincosl_use=no
38772 fi
38773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38774       ac_ext=c
38775 ac_cpp='$CPP $CPPFLAGS'
38776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38779
38780
38781 fi
38782
38783   fi
38784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38785 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38786
38787     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38788       for ac_func in _sincosl
38789 do :
38790   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38791 if test "x$ac_cv_func__sincosl" = x""yes; then :
38792   cat >>confdefs.h <<_ACEOF
38793 #define HAVE__SINCOSL 1
38794 _ACEOF
38795
38796 fi
38797 done
38798
38799     fi
38800   fi
38801
38802
38803
38804
38805
38806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38807 $as_echo_n "checking for finitel declaration... " >&6; }
38808   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38809     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38810   $as_echo_n "(cached) " >&6
38811 else
38812
38813
38814       ac_ext=cpp
38815 ac_cpp='$CXXCPP $CPPFLAGS'
38816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38819
38820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38821 /* end confdefs.h.  */
38822 #include <math.h>
38823                       #ifdef HAVE_IEEEFP_H
38824                       #include <ieeefp.h>
38825                       #endif
38826
38827 int
38828 main ()
38829 {
38830  finitel(0);
38831   ;
38832   return 0;
38833 }
38834 _ACEOF
38835 if ac_fn_cxx_try_compile "$LINENO"; then :
38836   glibcxx_cv_func_finitel_use=yes
38837 else
38838   glibcxx_cv_func_finitel_use=no
38839 fi
38840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38841       ac_ext=c
38842 ac_cpp='$CPP $CPPFLAGS'
38843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38846
38847
38848 fi
38849
38850   fi
38851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38852 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38853
38854   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38855     for ac_func in finitel
38856 do :
38857   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38858 if test "x$ac_cv_func_finitel" = x""yes; then :
38859   cat >>confdefs.h <<_ACEOF
38860 #define HAVE_FINITEL 1
38861 _ACEOF
38862
38863 fi
38864 done
38865
38866   else
38867
38868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38869 $as_echo_n "checking for _finitel declaration... " >&6; }
38870   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38871     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38872   $as_echo_n "(cached) " >&6
38873 else
38874
38875
38876       ac_ext=cpp
38877 ac_cpp='$CXXCPP $CPPFLAGS'
38878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38881
38882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38883 /* end confdefs.h.  */
38884 #include <math.h>
38885                       #ifdef HAVE_IEEEFP_H
38886                       #include <ieeefp.h>
38887                       #endif
38888
38889 int
38890 main ()
38891 {
38892  _finitel(0);
38893   ;
38894   return 0;
38895 }
38896 _ACEOF
38897 if ac_fn_cxx_try_compile "$LINENO"; then :
38898   glibcxx_cv_func__finitel_use=yes
38899 else
38900   glibcxx_cv_func__finitel_use=no
38901 fi
38902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38903       ac_ext=c
38904 ac_cpp='$CPP $CPPFLAGS'
38905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38908
38909
38910 fi
38911
38912   fi
38913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38914 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38915
38916     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38917       for ac_func in _finitel
38918 do :
38919   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38920 if test "x$ac_cv_func__finitel" = x""yes; then :
38921   cat >>confdefs.h <<_ACEOF
38922 #define HAVE__FINITEL 1
38923 _ACEOF
38924
38925 fi
38926 done
38927
38928     fi
38929   fi
38930
38931
38932
38933
38934   LIBS="$ac_save_LIBS"
38935   CXXFLAGS="$ac_save_CXXFLAGS"
38936
38937
38938   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38939   ac_save_CXXFLAGS="$CXXFLAGS"
38940   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38941
38942
38943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38944 $as_echo_n "checking for strtold declaration... " >&6; }
38945   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38946     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38947   $as_echo_n "(cached) " >&6
38948 else
38949
38950
38951       ac_ext=cpp
38952 ac_cpp='$CXXCPP $CPPFLAGS'
38953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38956
38957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38958 /* end confdefs.h.  */
38959 #include <stdlib.h>
38960 int
38961 main ()
38962 {
38963  strtold(0, 0);
38964   ;
38965   return 0;
38966 }
38967 _ACEOF
38968 if ac_fn_cxx_try_compile "$LINENO"; then :
38969   glibcxx_cv_func_strtold_use=yes
38970 else
38971   glibcxx_cv_func_strtold_use=no
38972 fi
38973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38974       ac_ext=c
38975 ac_cpp='$CPP $CPPFLAGS'
38976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38979
38980
38981 fi
38982
38983   fi
38984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38985 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38986   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38987     for ac_func in strtold
38988 do :
38989   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38990 if test "x$ac_cv_func_strtold" = x""yes; then :
38991   cat >>confdefs.h <<_ACEOF
38992 #define HAVE_STRTOLD 1
38993 _ACEOF
38994
38995 fi
38996 done
38997
38998   fi
38999
39000
39001
39002
39003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39004 $as_echo_n "checking for strtof declaration... " >&6; }
39005   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39006     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39007   $as_echo_n "(cached) " >&6
39008 else
39009
39010
39011       ac_ext=cpp
39012 ac_cpp='$CXXCPP $CPPFLAGS'
39013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39016
39017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39018 /* end confdefs.h.  */
39019 #include <stdlib.h>
39020 int
39021 main ()
39022 {
39023  strtof(0, 0);
39024   ;
39025   return 0;
39026 }
39027 _ACEOF
39028 if ac_fn_cxx_try_compile "$LINENO"; then :
39029   glibcxx_cv_func_strtof_use=yes
39030 else
39031   glibcxx_cv_func_strtof_use=no
39032 fi
39033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39034       ac_ext=c
39035 ac_cpp='$CPP $CPPFLAGS'
39036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39039
39040
39041 fi
39042
39043   fi
39044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39045 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39046   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39047     for ac_func in strtof
39048 do :
39049   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39050 if test "x$ac_cv_func_strtof" = x""yes; then :
39051   cat >>confdefs.h <<_ACEOF
39052 #define HAVE_STRTOF 1
39053 _ACEOF
39054
39055 fi
39056 done
39057
39058   fi
39059
39060
39061
39062
39063   CXXFLAGS="$ac_save_CXXFLAGS"
39064
39065     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39066
39067     # We don't yet support AIX's TLS ABI.
39068     #GCC_CHECK_TLS
39069
39070
39071
39072
39073
39074           am_save_CPPFLAGS="$CPPFLAGS"
39075
39076   for element in $INCICONV; do
39077     haveit=
39078     for x in $CPPFLAGS; do
39079
39080   acl_save_prefix="$prefix"
39081   prefix="$acl_final_prefix"
39082   acl_save_exec_prefix="$exec_prefix"
39083   exec_prefix="$acl_final_exec_prefix"
39084   eval x=\"$x\"
39085   exec_prefix="$acl_save_exec_prefix"
39086   prefix="$acl_save_prefix"
39087
39088       if test "X$x" = "X$element"; then
39089         haveit=yes
39090         break
39091       fi
39092     done
39093     if test -z "$haveit"; then
39094       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39095     fi
39096   done
39097
39098
39099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39100 $as_echo_n "checking for iconv... " >&6; }
39101 if test "${am_cv_func_iconv+set}" = set; then :
39102   $as_echo_n "(cached) " >&6
39103 else
39104
39105     am_cv_func_iconv="no, consider installing GNU libiconv"
39106     am_cv_lib_iconv=no
39107     if test x$gcc_no_link = xyes; then
39108   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39109 fi
39110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39111 /* end confdefs.h.  */
39112 #include <stdlib.h>
39113 #include <iconv.h>
39114 int
39115 main ()
39116 {
39117 iconv_t cd = iconv_open("","");
39118        iconv(cd,NULL,NULL,NULL,NULL);
39119        iconv_close(cd);
39120   ;
39121   return 0;
39122 }
39123 _ACEOF
39124 if ac_fn_c_try_link "$LINENO"; then :
39125   am_cv_func_iconv=yes
39126 fi
39127 rm -f core conftest.err conftest.$ac_objext \
39128     conftest$ac_exeext conftest.$ac_ext
39129     if test "$am_cv_func_iconv" != yes; then
39130       am_save_LIBS="$LIBS"
39131       LIBS="$LIBS $LIBICONV"
39132       if test x$gcc_no_link = xyes; then
39133   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39134 fi
39135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39136 /* end confdefs.h.  */
39137 #include <stdlib.h>
39138 #include <iconv.h>
39139 int
39140 main ()
39141 {
39142 iconv_t cd = iconv_open("","");
39143          iconv(cd,NULL,NULL,NULL,NULL);
39144          iconv_close(cd);
39145   ;
39146   return 0;
39147 }
39148 _ACEOF
39149 if ac_fn_c_try_link "$LINENO"; then :
39150   am_cv_lib_iconv=yes
39151         am_cv_func_iconv=yes
39152 fi
39153 rm -f core conftest.err conftest.$ac_objext \
39154     conftest$ac_exeext conftest.$ac_ext
39155       LIBS="$am_save_LIBS"
39156     fi
39157
39158 fi
39159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39160 $as_echo "$am_cv_func_iconv" >&6; }
39161   if test "$am_cv_func_iconv" = yes; then
39162
39163 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39164
39165   fi
39166   if test "$am_cv_lib_iconv" = yes; then
39167     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39168 $as_echo_n "checking how to link with libiconv... " >&6; }
39169     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39170 $as_echo "$LIBICONV" >&6; }
39171   else
39172             CPPFLAGS="$am_save_CPPFLAGS"
39173     LIBICONV=
39174     LTLIBICONV=
39175   fi
39176
39177
39178
39179   if test "$am_cv_func_iconv" = yes; then
39180     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39181 $as_echo_n "checking for iconv declaration... " >&6; }
39182     if test "${am_cv_proto_iconv+set}" = set; then :
39183   $as_echo_n "(cached) " >&6
39184 else
39185
39186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39187 /* end confdefs.h.  */
39188
39189 #include <stdlib.h>
39190 #include <iconv.h>
39191 extern
39192 #ifdef __cplusplus
39193 "C"
39194 #endif
39195 #if defined(__STDC__) || defined(__cplusplus)
39196 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39197 #else
39198 size_t iconv();
39199 #endif
39200
39201 int
39202 main ()
39203 {
39204
39205   ;
39206   return 0;
39207 }
39208 _ACEOF
39209 if ac_fn_c_try_compile "$LINENO"; then :
39210   am_cv_proto_iconv_arg1=""
39211 else
39212   am_cv_proto_iconv_arg1="const"
39213 fi
39214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39215       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);"
39216 fi
39217
39218     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39219     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39220          }$am_cv_proto_iconv" >&5
39221 $as_echo "${ac_t:-
39222          }$am_cv_proto_iconv" >&6; }
39223
39224 cat >>confdefs.h <<_ACEOF
39225 #define ICONV_CONST $am_cv_proto_iconv_arg1
39226 _ACEOF
39227
39228   fi
39229
39230     ;;
39231
39232   *-darwin*)
39233     # Darwin versions vary, but the linker should work in a cross environment,
39234     # so we just check for all the features here.
39235     # Check for available headers.
39236
39237     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39238
39239   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39240   ac_save_CXXFLAGS="$CXXFLAGS"
39241   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39242
39243     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39244 $as_echo_n "checking for sin in -lm... " >&6; }
39245 if test "${ac_cv_lib_m_sin+set}" = set; then :
39246   $as_echo_n "(cached) " >&6
39247 else
39248   ac_check_lib_save_LIBS=$LIBS
39249 LIBS="-lm  $LIBS"
39250 if test x$gcc_no_link = xyes; then
39251   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39252 fi
39253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39254 /* end confdefs.h.  */
39255
39256 /* Override any GCC internal prototype to avoid an error.
39257    Use char because int might match the return type of a GCC
39258    builtin and then its argument prototype would still apply.  */
39259 #ifdef __cplusplus
39260 extern "C"
39261 #endif
39262 char sin ();
39263 int
39264 main ()
39265 {
39266 return sin ();
39267   ;
39268   return 0;
39269 }
39270 _ACEOF
39271 if ac_fn_c_try_link "$LINENO"; then :
39272   ac_cv_lib_m_sin=yes
39273 else
39274   ac_cv_lib_m_sin=no
39275 fi
39276 rm -f core conftest.err conftest.$ac_objext \
39277     conftest$ac_exeext conftest.$ac_ext
39278 LIBS=$ac_check_lib_save_LIBS
39279 fi
39280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39281 $as_echo "$ac_cv_lib_m_sin" >&6; }
39282 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39283   libm="-lm"
39284 fi
39285
39286   ac_save_LIBS="$LIBS"
39287   LIBS="$LIBS $libm"
39288
39289
39290
39291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39292 $as_echo_n "checking for isinf declaration... " >&6; }
39293   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39294     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39295   $as_echo_n "(cached) " >&6
39296 else
39297
39298
39299       ac_ext=cpp
39300 ac_cpp='$CXXCPP $CPPFLAGS'
39301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39304
39305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39306 /* end confdefs.h.  */
39307 #include <math.h>
39308                       #ifdef HAVE_IEEEFP_H
39309                       #include <ieeefp.h>
39310                       #endif
39311
39312 int
39313 main ()
39314 {
39315  isinf(0);
39316   ;
39317   return 0;
39318 }
39319 _ACEOF
39320 if ac_fn_cxx_try_compile "$LINENO"; then :
39321   glibcxx_cv_func_isinf_use=yes
39322 else
39323   glibcxx_cv_func_isinf_use=no
39324 fi
39325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39326       ac_ext=c
39327 ac_cpp='$CPP $CPPFLAGS'
39328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39331
39332
39333 fi
39334
39335   fi
39336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39337 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39338
39339   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39340     for ac_func in isinf
39341 do :
39342   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39343 if test "x$ac_cv_func_isinf" = x""yes; then :
39344   cat >>confdefs.h <<_ACEOF
39345 #define HAVE_ISINF 1
39346 _ACEOF
39347
39348 fi
39349 done
39350
39351   else
39352
39353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39354 $as_echo_n "checking for _isinf declaration... " >&6; }
39355   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39356     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39357   $as_echo_n "(cached) " >&6
39358 else
39359
39360
39361       ac_ext=cpp
39362 ac_cpp='$CXXCPP $CPPFLAGS'
39363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39366
39367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39368 /* end confdefs.h.  */
39369 #include <math.h>
39370                       #ifdef HAVE_IEEEFP_H
39371                       #include <ieeefp.h>
39372                       #endif
39373
39374 int
39375 main ()
39376 {
39377  _isinf(0);
39378   ;
39379   return 0;
39380 }
39381 _ACEOF
39382 if ac_fn_cxx_try_compile "$LINENO"; then :
39383   glibcxx_cv_func__isinf_use=yes
39384 else
39385   glibcxx_cv_func__isinf_use=no
39386 fi
39387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39388       ac_ext=c
39389 ac_cpp='$CPP $CPPFLAGS'
39390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39393
39394
39395 fi
39396
39397   fi
39398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39399 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39400
39401     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39402       for ac_func in _isinf
39403 do :
39404   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39405 if test "x$ac_cv_func__isinf" = x""yes; then :
39406   cat >>confdefs.h <<_ACEOF
39407 #define HAVE__ISINF 1
39408 _ACEOF
39409
39410 fi
39411 done
39412
39413     fi
39414   fi
39415
39416
39417
39418
39419
39420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39421 $as_echo_n "checking for isnan declaration... " >&6; }
39422   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39423     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39424   $as_echo_n "(cached) " >&6
39425 else
39426
39427
39428       ac_ext=cpp
39429 ac_cpp='$CXXCPP $CPPFLAGS'
39430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39433
39434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39435 /* end confdefs.h.  */
39436 #include <math.h>
39437                       #ifdef HAVE_IEEEFP_H
39438                       #include <ieeefp.h>
39439                       #endif
39440
39441 int
39442 main ()
39443 {
39444  isnan(0);
39445   ;
39446   return 0;
39447 }
39448 _ACEOF
39449 if ac_fn_cxx_try_compile "$LINENO"; then :
39450   glibcxx_cv_func_isnan_use=yes
39451 else
39452   glibcxx_cv_func_isnan_use=no
39453 fi
39454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39455       ac_ext=c
39456 ac_cpp='$CPP $CPPFLAGS'
39457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39460
39461
39462 fi
39463
39464   fi
39465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39466 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39467
39468   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39469     for ac_func in isnan
39470 do :
39471   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39472 if test "x$ac_cv_func_isnan" = x""yes; then :
39473   cat >>confdefs.h <<_ACEOF
39474 #define HAVE_ISNAN 1
39475 _ACEOF
39476
39477 fi
39478 done
39479
39480   else
39481
39482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39483 $as_echo_n "checking for _isnan declaration... " >&6; }
39484   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39485     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39486   $as_echo_n "(cached) " >&6
39487 else
39488
39489
39490       ac_ext=cpp
39491 ac_cpp='$CXXCPP $CPPFLAGS'
39492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39495
39496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39497 /* end confdefs.h.  */
39498 #include <math.h>
39499                       #ifdef HAVE_IEEEFP_H
39500                       #include <ieeefp.h>
39501                       #endif
39502
39503 int
39504 main ()
39505 {
39506  _isnan(0);
39507   ;
39508   return 0;
39509 }
39510 _ACEOF
39511 if ac_fn_cxx_try_compile "$LINENO"; then :
39512   glibcxx_cv_func__isnan_use=yes
39513 else
39514   glibcxx_cv_func__isnan_use=no
39515 fi
39516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39517       ac_ext=c
39518 ac_cpp='$CPP $CPPFLAGS'
39519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39522
39523
39524 fi
39525
39526   fi
39527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39528 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39529
39530     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39531       for ac_func in _isnan
39532 do :
39533   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39534 if test "x$ac_cv_func__isnan" = x""yes; then :
39535   cat >>confdefs.h <<_ACEOF
39536 #define HAVE__ISNAN 1
39537 _ACEOF
39538
39539 fi
39540 done
39541
39542     fi
39543   fi
39544
39545
39546
39547
39548
39549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39550 $as_echo_n "checking for finite declaration... " >&6; }
39551   if test x${glibcxx_cv_func_finite_use+set} != xset; then
39552     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39553   $as_echo_n "(cached) " >&6
39554 else
39555
39556
39557       ac_ext=cpp
39558 ac_cpp='$CXXCPP $CPPFLAGS'
39559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39562
39563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39564 /* end confdefs.h.  */
39565 #include <math.h>
39566                       #ifdef HAVE_IEEEFP_H
39567                       #include <ieeefp.h>
39568                       #endif
39569
39570 int
39571 main ()
39572 {
39573  finite(0);
39574   ;
39575   return 0;
39576 }
39577 _ACEOF
39578 if ac_fn_cxx_try_compile "$LINENO"; then :
39579   glibcxx_cv_func_finite_use=yes
39580 else
39581   glibcxx_cv_func_finite_use=no
39582 fi
39583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39584       ac_ext=c
39585 ac_cpp='$CPP $CPPFLAGS'
39586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39589
39590
39591 fi
39592
39593   fi
39594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39595 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39596
39597   if test x$glibcxx_cv_func_finite_use = x"yes"; then
39598     for ac_func in finite
39599 do :
39600   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39601 if test "x$ac_cv_func_finite" = x""yes; then :
39602   cat >>confdefs.h <<_ACEOF
39603 #define HAVE_FINITE 1
39604 _ACEOF
39605
39606 fi
39607 done
39608
39609   else
39610
39611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39612 $as_echo_n "checking for _finite declaration... " >&6; }
39613   if test x${glibcxx_cv_func__finite_use+set} != xset; then
39614     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39615   $as_echo_n "(cached) " >&6
39616 else
39617
39618
39619       ac_ext=cpp
39620 ac_cpp='$CXXCPP $CPPFLAGS'
39621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39624
39625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39626 /* end confdefs.h.  */
39627 #include <math.h>
39628                       #ifdef HAVE_IEEEFP_H
39629                       #include <ieeefp.h>
39630                       #endif
39631
39632 int
39633 main ()
39634 {
39635  _finite(0);
39636   ;
39637   return 0;
39638 }
39639 _ACEOF
39640 if ac_fn_cxx_try_compile "$LINENO"; then :
39641   glibcxx_cv_func__finite_use=yes
39642 else
39643   glibcxx_cv_func__finite_use=no
39644 fi
39645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39646       ac_ext=c
39647 ac_cpp='$CPP $CPPFLAGS'
39648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39651
39652
39653 fi
39654
39655   fi
39656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39657 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39658
39659     if test x$glibcxx_cv_func__finite_use = x"yes"; then
39660       for ac_func in _finite
39661 do :
39662   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39663 if test "x$ac_cv_func__finite" = x""yes; then :
39664   cat >>confdefs.h <<_ACEOF
39665 #define HAVE__FINITE 1
39666 _ACEOF
39667
39668 fi
39669 done
39670
39671     fi
39672   fi
39673
39674
39675
39676
39677
39678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39679 $as_echo_n "checking for sincos declaration... " >&6; }
39680   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39681     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39682   $as_echo_n "(cached) " >&6
39683 else
39684
39685
39686       ac_ext=cpp
39687 ac_cpp='$CXXCPP $CPPFLAGS'
39688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39691
39692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39693 /* end confdefs.h.  */
39694 #include <math.h>
39695 int
39696 main ()
39697 {
39698  sincos(0, 0, 0);
39699   ;
39700   return 0;
39701 }
39702 _ACEOF
39703 if ac_fn_cxx_try_compile "$LINENO"; then :
39704   glibcxx_cv_func_sincos_use=yes
39705 else
39706   glibcxx_cv_func_sincos_use=no
39707 fi
39708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39709       ac_ext=c
39710 ac_cpp='$CPP $CPPFLAGS'
39711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39714
39715
39716 fi
39717
39718   fi
39719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39720 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39721
39722   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39723     for ac_func in sincos
39724 do :
39725   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39726 if test "x$ac_cv_func_sincos" = x""yes; then :
39727   cat >>confdefs.h <<_ACEOF
39728 #define HAVE_SINCOS 1
39729 _ACEOF
39730
39731 fi
39732 done
39733
39734   else
39735
39736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39737 $as_echo_n "checking for _sincos declaration... " >&6; }
39738   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39739     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39740   $as_echo_n "(cached) " >&6
39741 else
39742
39743
39744       ac_ext=cpp
39745 ac_cpp='$CXXCPP $CPPFLAGS'
39746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39749
39750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39751 /* end confdefs.h.  */
39752 #include <math.h>
39753 int
39754 main ()
39755 {
39756  _sincos(0, 0, 0);
39757   ;
39758   return 0;
39759 }
39760 _ACEOF
39761 if ac_fn_cxx_try_compile "$LINENO"; then :
39762   glibcxx_cv_func__sincos_use=yes
39763 else
39764   glibcxx_cv_func__sincos_use=no
39765 fi
39766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39767       ac_ext=c
39768 ac_cpp='$CPP $CPPFLAGS'
39769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39772
39773
39774 fi
39775
39776   fi
39777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39778 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39779
39780     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39781       for ac_func in _sincos
39782 do :
39783   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39784 if test "x$ac_cv_func__sincos" = x""yes; then :
39785   cat >>confdefs.h <<_ACEOF
39786 #define HAVE__SINCOS 1
39787 _ACEOF
39788
39789 fi
39790 done
39791
39792     fi
39793   fi
39794
39795
39796
39797
39798
39799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39800 $as_echo_n "checking for fpclass declaration... " >&6; }
39801   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39802     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39803   $as_echo_n "(cached) " >&6
39804 else
39805
39806
39807       ac_ext=cpp
39808 ac_cpp='$CXXCPP $CPPFLAGS'
39809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39812
39813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39814 /* end confdefs.h.  */
39815 #include <math.h>
39816                       #ifdef HAVE_IEEEFP_H
39817                       #include <ieeefp.h>
39818                       #endif
39819
39820 int
39821 main ()
39822 {
39823  fpclass(0);
39824   ;
39825   return 0;
39826 }
39827 _ACEOF
39828 if ac_fn_cxx_try_compile "$LINENO"; then :
39829   glibcxx_cv_func_fpclass_use=yes
39830 else
39831   glibcxx_cv_func_fpclass_use=no
39832 fi
39833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39834       ac_ext=c
39835 ac_cpp='$CPP $CPPFLAGS'
39836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39839
39840
39841 fi
39842
39843   fi
39844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39845 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39846
39847   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39848     for ac_func in fpclass
39849 do :
39850   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39851 if test "x$ac_cv_func_fpclass" = x""yes; then :
39852   cat >>confdefs.h <<_ACEOF
39853 #define HAVE_FPCLASS 1
39854 _ACEOF
39855
39856 fi
39857 done
39858
39859   else
39860
39861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39862 $as_echo_n "checking for _fpclass declaration... " >&6; }
39863   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39864     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39865   $as_echo_n "(cached) " >&6
39866 else
39867
39868
39869       ac_ext=cpp
39870 ac_cpp='$CXXCPP $CPPFLAGS'
39871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39874
39875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39876 /* end confdefs.h.  */
39877 #include <math.h>
39878                       #ifdef HAVE_IEEEFP_H
39879                       #include <ieeefp.h>
39880                       #endif
39881
39882 int
39883 main ()
39884 {
39885  _fpclass(0);
39886   ;
39887   return 0;
39888 }
39889 _ACEOF
39890 if ac_fn_cxx_try_compile "$LINENO"; then :
39891   glibcxx_cv_func__fpclass_use=yes
39892 else
39893   glibcxx_cv_func__fpclass_use=no
39894 fi
39895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39896       ac_ext=c
39897 ac_cpp='$CPP $CPPFLAGS'
39898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39901
39902
39903 fi
39904
39905   fi
39906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39907 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39908
39909     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39910       for ac_func in _fpclass
39911 do :
39912   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39913 if test "x$ac_cv_func__fpclass" = x""yes; then :
39914   cat >>confdefs.h <<_ACEOF
39915 #define HAVE__FPCLASS 1
39916 _ACEOF
39917
39918 fi
39919 done
39920
39921     fi
39922   fi
39923
39924
39925
39926
39927
39928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39929 $as_echo_n "checking for qfpclass declaration... " >&6; }
39930   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39931     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39932   $as_echo_n "(cached) " >&6
39933 else
39934
39935
39936       ac_ext=cpp
39937 ac_cpp='$CXXCPP $CPPFLAGS'
39938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39941
39942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39943 /* end confdefs.h.  */
39944 #include <math.h>
39945                       #ifdef HAVE_IEEEFP_H
39946                       #include <ieeefp.h>
39947                       #endif
39948
39949 int
39950 main ()
39951 {
39952  qfpclass(0);
39953   ;
39954   return 0;
39955 }
39956 _ACEOF
39957 if ac_fn_cxx_try_compile "$LINENO"; then :
39958   glibcxx_cv_func_qfpclass_use=yes
39959 else
39960   glibcxx_cv_func_qfpclass_use=no
39961 fi
39962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39963       ac_ext=c
39964 ac_cpp='$CPP $CPPFLAGS'
39965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39968
39969
39970 fi
39971
39972   fi
39973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39974 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39975
39976   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39977     for ac_func in qfpclass
39978 do :
39979   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39980 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39981   cat >>confdefs.h <<_ACEOF
39982 #define HAVE_QFPCLASS 1
39983 _ACEOF
39984
39985 fi
39986 done
39987
39988   else
39989
39990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39991 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39992   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39993     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39994   $as_echo_n "(cached) " >&6
39995 else
39996
39997
39998       ac_ext=cpp
39999 ac_cpp='$CXXCPP $CPPFLAGS'
40000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40003
40004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40005 /* end confdefs.h.  */
40006 #include <math.h>
40007                       #ifdef HAVE_IEEEFP_H
40008                       #include <ieeefp.h>
40009                       #endif
40010
40011 int
40012 main ()
40013 {
40014  _qfpclass(0);
40015   ;
40016   return 0;
40017 }
40018 _ACEOF
40019 if ac_fn_cxx_try_compile "$LINENO"; then :
40020   glibcxx_cv_func__qfpclass_use=yes
40021 else
40022   glibcxx_cv_func__qfpclass_use=no
40023 fi
40024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40025       ac_ext=c
40026 ac_cpp='$CPP $CPPFLAGS'
40027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40030
40031
40032 fi
40033
40034   fi
40035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40036 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40037
40038     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40039       for ac_func in _qfpclass
40040 do :
40041   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40042 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40043   cat >>confdefs.h <<_ACEOF
40044 #define HAVE__QFPCLASS 1
40045 _ACEOF
40046
40047 fi
40048 done
40049
40050     fi
40051   fi
40052
40053
40054
40055
40056
40057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40058 $as_echo_n "checking for hypot declaration... " >&6; }
40059   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40060     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40061   $as_echo_n "(cached) " >&6
40062 else
40063
40064
40065       ac_ext=cpp
40066 ac_cpp='$CXXCPP $CPPFLAGS'
40067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40070
40071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40072 /* end confdefs.h.  */
40073 #include <math.h>
40074 int
40075 main ()
40076 {
40077  hypot(0, 0);
40078   ;
40079   return 0;
40080 }
40081 _ACEOF
40082 if ac_fn_cxx_try_compile "$LINENO"; then :
40083   glibcxx_cv_func_hypot_use=yes
40084 else
40085   glibcxx_cv_func_hypot_use=no
40086 fi
40087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40088       ac_ext=c
40089 ac_cpp='$CPP $CPPFLAGS'
40090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40093
40094
40095 fi
40096
40097   fi
40098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40099 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40100
40101   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40102     for ac_func in hypot
40103 do :
40104   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40105 if test "x$ac_cv_func_hypot" = x""yes; then :
40106   cat >>confdefs.h <<_ACEOF
40107 #define HAVE_HYPOT 1
40108 _ACEOF
40109
40110 fi
40111 done
40112
40113   else
40114
40115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40116 $as_echo_n "checking for _hypot declaration... " >&6; }
40117   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40118     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40119   $as_echo_n "(cached) " >&6
40120 else
40121
40122
40123       ac_ext=cpp
40124 ac_cpp='$CXXCPP $CPPFLAGS'
40125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40128
40129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40130 /* end confdefs.h.  */
40131 #include <math.h>
40132 int
40133 main ()
40134 {
40135  _hypot(0, 0);
40136   ;
40137   return 0;
40138 }
40139 _ACEOF
40140 if ac_fn_cxx_try_compile "$LINENO"; then :
40141   glibcxx_cv_func__hypot_use=yes
40142 else
40143   glibcxx_cv_func__hypot_use=no
40144 fi
40145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40146       ac_ext=c
40147 ac_cpp='$CPP $CPPFLAGS'
40148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40151
40152
40153 fi
40154
40155   fi
40156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40157 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40158
40159     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40160       for ac_func in _hypot
40161 do :
40162   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40163 if test "x$ac_cv_func__hypot" = x""yes; then :
40164   cat >>confdefs.h <<_ACEOF
40165 #define HAVE__HYPOT 1
40166 _ACEOF
40167
40168 fi
40169 done
40170
40171     fi
40172   fi
40173
40174
40175
40176
40177
40178     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40179 $as_echo_n "checking for float trig functions... " >&6; }
40180   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40181   $as_echo_n "(cached) " >&6
40182 else
40183
40184
40185     ac_ext=cpp
40186 ac_cpp='$CXXCPP $CPPFLAGS'
40187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40190
40191     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40192 /* end confdefs.h.  */
40193 #include <math.h>
40194 int
40195 main ()
40196 {
40197 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40198   ;
40199   return 0;
40200 }
40201 _ACEOF
40202 if ac_fn_cxx_try_compile "$LINENO"; then :
40203   glibcxx_cv_func_float_trig_use=yes
40204 else
40205   glibcxx_cv_func_float_trig_use=no
40206 fi
40207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40208     ac_ext=c
40209 ac_cpp='$CPP $CPPFLAGS'
40210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40213
40214 fi
40215
40216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40217 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40218   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40219     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40220 do :
40221   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40223 eval as_val=\$$as_ac_var
40224    if test "x$as_val" = x""yes; then :
40225   cat >>confdefs.h <<_ACEOF
40226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40227 _ACEOF
40228
40229 fi
40230 done
40231
40232   else
40233     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40234 $as_echo_n "checking for _float trig functions... " >&6; }
40235     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40236   $as_echo_n "(cached) " >&6
40237 else
40238
40239
40240       ac_ext=cpp
40241 ac_cpp='$CXXCPP $CPPFLAGS'
40242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40245
40246       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40247 /* end confdefs.h.  */
40248 #include <math.h>
40249 int
40250 main ()
40251 {
40252 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40253   ;
40254   return 0;
40255 }
40256 _ACEOF
40257 if ac_fn_cxx_try_compile "$LINENO"; then :
40258   glibcxx_cv_func__float_trig_use=yes
40259 else
40260   glibcxx_cv_func__float_trig_use=no
40261 fi
40262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40263       ac_ext=c
40264 ac_cpp='$CPP $CPPFLAGS'
40265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40268
40269 fi
40270
40271     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40272 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40273     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40274       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40275 do :
40276   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40278 eval as_val=\$$as_ac_var
40279    if test "x$as_val" = x""yes; then :
40280   cat >>confdefs.h <<_ACEOF
40281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40282 _ACEOF
40283
40284 fi
40285 done
40286
40287     fi
40288   fi
40289
40290
40291
40292
40293
40294     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40295 $as_echo_n "checking for float round functions... " >&6; }
40296   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40297   $as_echo_n "(cached) " >&6
40298 else
40299
40300
40301     ac_ext=cpp
40302 ac_cpp='$CXXCPP $CPPFLAGS'
40303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40306
40307     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40308 /* end confdefs.h.  */
40309 #include <math.h>
40310 int
40311 main ()
40312 {
40313 ceilf (0); floorf (0);
40314   ;
40315   return 0;
40316 }
40317 _ACEOF
40318 if ac_fn_cxx_try_compile "$LINENO"; then :
40319   glibcxx_cv_func_float_round_use=yes
40320 else
40321   glibcxx_cv_func_float_round_use=no
40322 fi
40323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40324     ac_ext=c
40325 ac_cpp='$CPP $CPPFLAGS'
40326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40329
40330 fi
40331
40332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40333 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40334   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40335     for ac_func in ceilf floorf
40336 do :
40337   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40339 eval as_val=\$$as_ac_var
40340    if test "x$as_val" = x""yes; then :
40341   cat >>confdefs.h <<_ACEOF
40342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40343 _ACEOF
40344
40345 fi
40346 done
40347
40348   else
40349     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40350 $as_echo_n "checking for _float round functions... " >&6; }
40351     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40352   $as_echo_n "(cached) " >&6
40353 else
40354
40355
40356       ac_ext=cpp
40357 ac_cpp='$CXXCPP $CPPFLAGS'
40358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40361
40362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40363 /* end confdefs.h.  */
40364 #include <math.h>
40365 int
40366 main ()
40367 {
40368 _ceilf (0); _floorf (0);
40369   ;
40370   return 0;
40371 }
40372 _ACEOF
40373 if ac_fn_cxx_try_compile "$LINENO"; then :
40374   glibcxx_cv_func__float_round_use=yes
40375 else
40376   glibcxx_cv_func__float_round_use=no
40377 fi
40378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40379       ac_ext=c
40380 ac_cpp='$CPP $CPPFLAGS'
40381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40384
40385 fi
40386
40387     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40388 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40389     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40390       for ac_func in _ceilf _floorf
40391 do :
40392   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40393 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40394 eval as_val=\$$as_ac_var
40395    if test "x$as_val" = x""yes; then :
40396   cat >>confdefs.h <<_ACEOF
40397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40398 _ACEOF
40399
40400 fi
40401 done
40402
40403     fi
40404   fi
40405
40406
40407
40408
40409
40410
40411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40412 $as_echo_n "checking for expf declaration... " >&6; }
40413   if test x${glibcxx_cv_func_expf_use+set} != xset; then
40414     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40415   $as_echo_n "(cached) " >&6
40416 else
40417
40418
40419       ac_ext=cpp
40420 ac_cpp='$CXXCPP $CPPFLAGS'
40421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40424
40425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40426 /* end confdefs.h.  */
40427 #include <math.h>
40428                       #ifdef HAVE_IEEEFP_H
40429                       #include <ieeefp.h>
40430                       #endif
40431
40432 int
40433 main ()
40434 {
40435  expf(0);
40436   ;
40437   return 0;
40438 }
40439 _ACEOF
40440 if ac_fn_cxx_try_compile "$LINENO"; then :
40441   glibcxx_cv_func_expf_use=yes
40442 else
40443   glibcxx_cv_func_expf_use=no
40444 fi
40445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40446       ac_ext=c
40447 ac_cpp='$CPP $CPPFLAGS'
40448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40451
40452
40453 fi
40454
40455   fi
40456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40457 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40458
40459   if test x$glibcxx_cv_func_expf_use = x"yes"; then
40460     for ac_func in expf
40461 do :
40462   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40463 if test "x$ac_cv_func_expf" = x""yes; then :
40464   cat >>confdefs.h <<_ACEOF
40465 #define HAVE_EXPF 1
40466 _ACEOF
40467
40468 fi
40469 done
40470
40471   else
40472
40473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40474 $as_echo_n "checking for _expf declaration... " >&6; }
40475   if test x${glibcxx_cv_func__expf_use+set} != xset; then
40476     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40477   $as_echo_n "(cached) " >&6
40478 else
40479
40480
40481       ac_ext=cpp
40482 ac_cpp='$CXXCPP $CPPFLAGS'
40483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40486
40487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40488 /* end confdefs.h.  */
40489 #include <math.h>
40490                       #ifdef HAVE_IEEEFP_H
40491                       #include <ieeefp.h>
40492                       #endif
40493
40494 int
40495 main ()
40496 {
40497  _expf(0);
40498   ;
40499   return 0;
40500 }
40501 _ACEOF
40502 if ac_fn_cxx_try_compile "$LINENO"; then :
40503   glibcxx_cv_func__expf_use=yes
40504 else
40505   glibcxx_cv_func__expf_use=no
40506 fi
40507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40508       ac_ext=c
40509 ac_cpp='$CPP $CPPFLAGS'
40510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40513
40514
40515 fi
40516
40517   fi
40518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40519 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40520
40521     if test x$glibcxx_cv_func__expf_use = x"yes"; then
40522       for ac_func in _expf
40523 do :
40524   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40525 if test "x$ac_cv_func__expf" = x""yes; then :
40526   cat >>confdefs.h <<_ACEOF
40527 #define HAVE__EXPF 1
40528 _ACEOF
40529
40530 fi
40531 done
40532
40533     fi
40534   fi
40535
40536
40537
40538
40539
40540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40541 $as_echo_n "checking for isnanf declaration... " >&6; }
40542   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40543     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40544   $as_echo_n "(cached) " >&6
40545 else
40546
40547
40548       ac_ext=cpp
40549 ac_cpp='$CXXCPP $CPPFLAGS'
40550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40553
40554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40555 /* end confdefs.h.  */
40556 #include <math.h>
40557                       #ifdef HAVE_IEEEFP_H
40558                       #include <ieeefp.h>
40559                       #endif
40560
40561 int
40562 main ()
40563 {
40564  isnanf(0);
40565   ;
40566   return 0;
40567 }
40568 _ACEOF
40569 if ac_fn_cxx_try_compile "$LINENO"; then :
40570   glibcxx_cv_func_isnanf_use=yes
40571 else
40572   glibcxx_cv_func_isnanf_use=no
40573 fi
40574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40575       ac_ext=c
40576 ac_cpp='$CPP $CPPFLAGS'
40577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40580
40581
40582 fi
40583
40584   fi
40585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40586 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40587
40588   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40589     for ac_func in isnanf
40590 do :
40591   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40592 if test "x$ac_cv_func_isnanf" = x""yes; then :
40593   cat >>confdefs.h <<_ACEOF
40594 #define HAVE_ISNANF 1
40595 _ACEOF
40596
40597 fi
40598 done
40599
40600   else
40601
40602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40603 $as_echo_n "checking for _isnanf declaration... " >&6; }
40604   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40605     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40606   $as_echo_n "(cached) " >&6
40607 else
40608
40609
40610       ac_ext=cpp
40611 ac_cpp='$CXXCPP $CPPFLAGS'
40612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40615
40616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40617 /* end confdefs.h.  */
40618 #include <math.h>
40619                       #ifdef HAVE_IEEEFP_H
40620                       #include <ieeefp.h>
40621                       #endif
40622
40623 int
40624 main ()
40625 {
40626  _isnanf(0);
40627   ;
40628   return 0;
40629 }
40630 _ACEOF
40631 if ac_fn_cxx_try_compile "$LINENO"; then :
40632   glibcxx_cv_func__isnanf_use=yes
40633 else
40634   glibcxx_cv_func__isnanf_use=no
40635 fi
40636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40637       ac_ext=c
40638 ac_cpp='$CPP $CPPFLAGS'
40639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40642
40643
40644 fi
40645
40646   fi
40647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40648 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40649
40650     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40651       for ac_func in _isnanf
40652 do :
40653   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40654 if test "x$ac_cv_func__isnanf" = x""yes; then :
40655   cat >>confdefs.h <<_ACEOF
40656 #define HAVE__ISNANF 1
40657 _ACEOF
40658
40659 fi
40660 done
40661
40662     fi
40663   fi
40664
40665
40666
40667
40668
40669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40670 $as_echo_n "checking for isinff declaration... " >&6; }
40671   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40672     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40673   $as_echo_n "(cached) " >&6
40674 else
40675
40676
40677       ac_ext=cpp
40678 ac_cpp='$CXXCPP $CPPFLAGS'
40679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40682
40683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40684 /* end confdefs.h.  */
40685 #include <math.h>
40686                       #ifdef HAVE_IEEEFP_H
40687                       #include <ieeefp.h>
40688                       #endif
40689
40690 int
40691 main ()
40692 {
40693  isinff(0);
40694   ;
40695   return 0;
40696 }
40697 _ACEOF
40698 if ac_fn_cxx_try_compile "$LINENO"; then :
40699   glibcxx_cv_func_isinff_use=yes
40700 else
40701   glibcxx_cv_func_isinff_use=no
40702 fi
40703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40704       ac_ext=c
40705 ac_cpp='$CPP $CPPFLAGS'
40706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40709
40710
40711 fi
40712
40713   fi
40714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40715 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40716
40717   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40718     for ac_func in isinff
40719 do :
40720   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40721 if test "x$ac_cv_func_isinff" = x""yes; then :
40722   cat >>confdefs.h <<_ACEOF
40723 #define HAVE_ISINFF 1
40724 _ACEOF
40725
40726 fi
40727 done
40728
40729   else
40730
40731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40732 $as_echo_n "checking for _isinff declaration... " >&6; }
40733   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40734     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40735   $as_echo_n "(cached) " >&6
40736 else
40737
40738
40739       ac_ext=cpp
40740 ac_cpp='$CXXCPP $CPPFLAGS'
40741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40744
40745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40746 /* end confdefs.h.  */
40747 #include <math.h>
40748                       #ifdef HAVE_IEEEFP_H
40749                       #include <ieeefp.h>
40750                       #endif
40751
40752 int
40753 main ()
40754 {
40755  _isinff(0);
40756   ;
40757   return 0;
40758 }
40759 _ACEOF
40760 if ac_fn_cxx_try_compile "$LINENO"; then :
40761   glibcxx_cv_func__isinff_use=yes
40762 else
40763   glibcxx_cv_func__isinff_use=no
40764 fi
40765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40766       ac_ext=c
40767 ac_cpp='$CPP $CPPFLAGS'
40768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40771
40772
40773 fi
40774
40775   fi
40776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40777 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40778
40779     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40780       for ac_func in _isinff
40781 do :
40782   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40783 if test "x$ac_cv_func__isinff" = x""yes; then :
40784   cat >>confdefs.h <<_ACEOF
40785 #define HAVE__ISINFF 1
40786 _ACEOF
40787
40788 fi
40789 done
40790
40791     fi
40792   fi
40793
40794
40795
40796
40797
40798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40799 $as_echo_n "checking for atan2f declaration... " >&6; }
40800   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40801     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40802   $as_echo_n "(cached) " >&6
40803 else
40804
40805
40806       ac_ext=cpp
40807 ac_cpp='$CXXCPP $CPPFLAGS'
40808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40811
40812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40813 /* end confdefs.h.  */
40814 #include <math.h>
40815 int
40816 main ()
40817 {
40818  atan2f(0, 0);
40819   ;
40820   return 0;
40821 }
40822 _ACEOF
40823 if ac_fn_cxx_try_compile "$LINENO"; then :
40824   glibcxx_cv_func_atan2f_use=yes
40825 else
40826   glibcxx_cv_func_atan2f_use=no
40827 fi
40828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40829       ac_ext=c
40830 ac_cpp='$CPP $CPPFLAGS'
40831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40834
40835
40836 fi
40837
40838   fi
40839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40840 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40841
40842   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40843     for ac_func in atan2f
40844 do :
40845   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40846 if test "x$ac_cv_func_atan2f" = x""yes; then :
40847   cat >>confdefs.h <<_ACEOF
40848 #define HAVE_ATAN2F 1
40849 _ACEOF
40850
40851 fi
40852 done
40853
40854   else
40855
40856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40857 $as_echo_n "checking for _atan2f declaration... " >&6; }
40858   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40859     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40860   $as_echo_n "(cached) " >&6
40861 else
40862
40863
40864       ac_ext=cpp
40865 ac_cpp='$CXXCPP $CPPFLAGS'
40866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40869
40870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40871 /* end confdefs.h.  */
40872 #include <math.h>
40873 int
40874 main ()
40875 {
40876  _atan2f(0, 0);
40877   ;
40878   return 0;
40879 }
40880 _ACEOF
40881 if ac_fn_cxx_try_compile "$LINENO"; then :
40882   glibcxx_cv_func__atan2f_use=yes
40883 else
40884   glibcxx_cv_func__atan2f_use=no
40885 fi
40886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40887       ac_ext=c
40888 ac_cpp='$CPP $CPPFLAGS'
40889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40892
40893
40894 fi
40895
40896   fi
40897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40898 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40899
40900     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40901       for ac_func in _atan2f
40902 do :
40903   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40904 if test "x$ac_cv_func__atan2f" = x""yes; then :
40905   cat >>confdefs.h <<_ACEOF
40906 #define HAVE__ATAN2F 1
40907 _ACEOF
40908
40909 fi
40910 done
40911
40912     fi
40913   fi
40914
40915
40916
40917
40918
40919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40920 $as_echo_n "checking for fabsf declaration... " >&6; }
40921   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40922     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40923   $as_echo_n "(cached) " >&6
40924 else
40925
40926
40927       ac_ext=cpp
40928 ac_cpp='$CXXCPP $CPPFLAGS'
40929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40932
40933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40934 /* end confdefs.h.  */
40935 #include <math.h>
40936                       #ifdef HAVE_IEEEFP_H
40937                       #include <ieeefp.h>
40938                       #endif
40939
40940 int
40941 main ()
40942 {
40943  fabsf(0);
40944   ;
40945   return 0;
40946 }
40947 _ACEOF
40948 if ac_fn_cxx_try_compile "$LINENO"; then :
40949   glibcxx_cv_func_fabsf_use=yes
40950 else
40951   glibcxx_cv_func_fabsf_use=no
40952 fi
40953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40954       ac_ext=c
40955 ac_cpp='$CPP $CPPFLAGS'
40956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40959
40960
40961 fi
40962
40963   fi
40964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40965 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40966
40967   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40968     for ac_func in fabsf
40969 do :
40970   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40971 if test "x$ac_cv_func_fabsf" = x""yes; then :
40972   cat >>confdefs.h <<_ACEOF
40973 #define HAVE_FABSF 1
40974 _ACEOF
40975
40976 fi
40977 done
40978
40979   else
40980
40981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40982 $as_echo_n "checking for _fabsf declaration... " >&6; }
40983   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40984     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40985   $as_echo_n "(cached) " >&6
40986 else
40987
40988
40989       ac_ext=cpp
40990 ac_cpp='$CXXCPP $CPPFLAGS'
40991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40994
40995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40996 /* end confdefs.h.  */
40997 #include <math.h>
40998                       #ifdef HAVE_IEEEFP_H
40999                       #include <ieeefp.h>
41000                       #endif
41001
41002 int
41003 main ()
41004 {
41005  _fabsf(0);
41006   ;
41007   return 0;
41008 }
41009 _ACEOF
41010 if ac_fn_cxx_try_compile "$LINENO"; then :
41011   glibcxx_cv_func__fabsf_use=yes
41012 else
41013   glibcxx_cv_func__fabsf_use=no
41014 fi
41015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41016       ac_ext=c
41017 ac_cpp='$CPP $CPPFLAGS'
41018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41021
41022
41023 fi
41024
41025   fi
41026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41027 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41028
41029     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41030       for ac_func in _fabsf
41031 do :
41032   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41033 if test "x$ac_cv_func__fabsf" = x""yes; then :
41034   cat >>confdefs.h <<_ACEOF
41035 #define HAVE__FABSF 1
41036 _ACEOF
41037
41038 fi
41039 done
41040
41041     fi
41042   fi
41043
41044
41045
41046
41047
41048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41049 $as_echo_n "checking for fmodf declaration... " >&6; }
41050   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41051     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41052   $as_echo_n "(cached) " >&6
41053 else
41054
41055
41056       ac_ext=cpp
41057 ac_cpp='$CXXCPP $CPPFLAGS'
41058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41061
41062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41063 /* end confdefs.h.  */
41064 #include <math.h>
41065 int
41066 main ()
41067 {
41068  fmodf(0, 0);
41069   ;
41070   return 0;
41071 }
41072 _ACEOF
41073 if ac_fn_cxx_try_compile "$LINENO"; then :
41074   glibcxx_cv_func_fmodf_use=yes
41075 else
41076   glibcxx_cv_func_fmodf_use=no
41077 fi
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41079       ac_ext=c
41080 ac_cpp='$CPP $CPPFLAGS'
41081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41084
41085
41086 fi
41087
41088   fi
41089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41090 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41091
41092   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41093     for ac_func in fmodf
41094 do :
41095   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41096 if test "x$ac_cv_func_fmodf" = x""yes; then :
41097   cat >>confdefs.h <<_ACEOF
41098 #define HAVE_FMODF 1
41099 _ACEOF
41100
41101 fi
41102 done
41103
41104   else
41105
41106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41107 $as_echo_n "checking for _fmodf declaration... " >&6; }
41108   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41109     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41110   $as_echo_n "(cached) " >&6
41111 else
41112
41113
41114       ac_ext=cpp
41115 ac_cpp='$CXXCPP $CPPFLAGS'
41116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41119
41120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41121 /* end confdefs.h.  */
41122 #include <math.h>
41123 int
41124 main ()
41125 {
41126  _fmodf(0, 0);
41127   ;
41128   return 0;
41129 }
41130 _ACEOF
41131 if ac_fn_cxx_try_compile "$LINENO"; then :
41132   glibcxx_cv_func__fmodf_use=yes
41133 else
41134   glibcxx_cv_func__fmodf_use=no
41135 fi
41136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41137       ac_ext=c
41138 ac_cpp='$CPP $CPPFLAGS'
41139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41142
41143
41144 fi
41145
41146   fi
41147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41148 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41149
41150     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41151       for ac_func in _fmodf
41152 do :
41153   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41154 if test "x$ac_cv_func__fmodf" = x""yes; then :
41155   cat >>confdefs.h <<_ACEOF
41156 #define HAVE__FMODF 1
41157 _ACEOF
41158
41159 fi
41160 done
41161
41162     fi
41163   fi
41164
41165
41166
41167
41168
41169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41170 $as_echo_n "checking for frexpf declaration... " >&6; }
41171   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41172     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41173   $as_echo_n "(cached) " >&6
41174 else
41175
41176
41177       ac_ext=cpp
41178 ac_cpp='$CXXCPP $CPPFLAGS'
41179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41182
41183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41184 /* end confdefs.h.  */
41185 #include <math.h>
41186 int
41187 main ()
41188 {
41189  frexpf(0, 0);
41190   ;
41191   return 0;
41192 }
41193 _ACEOF
41194 if ac_fn_cxx_try_compile "$LINENO"; then :
41195   glibcxx_cv_func_frexpf_use=yes
41196 else
41197   glibcxx_cv_func_frexpf_use=no
41198 fi
41199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41200       ac_ext=c
41201 ac_cpp='$CPP $CPPFLAGS'
41202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41205
41206
41207 fi
41208
41209   fi
41210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41211 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41212
41213   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41214     for ac_func in frexpf
41215 do :
41216   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41217 if test "x$ac_cv_func_frexpf" = x""yes; then :
41218   cat >>confdefs.h <<_ACEOF
41219 #define HAVE_FREXPF 1
41220 _ACEOF
41221
41222 fi
41223 done
41224
41225   else
41226
41227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41228 $as_echo_n "checking for _frexpf declaration... " >&6; }
41229   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41230     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41231   $as_echo_n "(cached) " >&6
41232 else
41233
41234
41235       ac_ext=cpp
41236 ac_cpp='$CXXCPP $CPPFLAGS'
41237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41240
41241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41242 /* end confdefs.h.  */
41243 #include <math.h>
41244 int
41245 main ()
41246 {
41247  _frexpf(0, 0);
41248   ;
41249   return 0;
41250 }
41251 _ACEOF
41252 if ac_fn_cxx_try_compile "$LINENO"; then :
41253   glibcxx_cv_func__frexpf_use=yes
41254 else
41255   glibcxx_cv_func__frexpf_use=no
41256 fi
41257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41258       ac_ext=c
41259 ac_cpp='$CPP $CPPFLAGS'
41260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41263
41264
41265 fi
41266
41267   fi
41268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41269 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41270
41271     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41272       for ac_func in _frexpf
41273 do :
41274   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41275 if test "x$ac_cv_func__frexpf" = x""yes; then :
41276   cat >>confdefs.h <<_ACEOF
41277 #define HAVE__FREXPF 1
41278 _ACEOF
41279
41280 fi
41281 done
41282
41283     fi
41284   fi
41285
41286
41287
41288
41289
41290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41291 $as_echo_n "checking for hypotf declaration... " >&6; }
41292   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41293     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41294   $as_echo_n "(cached) " >&6
41295 else
41296
41297
41298       ac_ext=cpp
41299 ac_cpp='$CXXCPP $CPPFLAGS'
41300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41303
41304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41305 /* end confdefs.h.  */
41306 #include <math.h>
41307 int
41308 main ()
41309 {
41310  hypotf(0, 0);
41311   ;
41312   return 0;
41313 }
41314 _ACEOF
41315 if ac_fn_cxx_try_compile "$LINENO"; then :
41316   glibcxx_cv_func_hypotf_use=yes
41317 else
41318   glibcxx_cv_func_hypotf_use=no
41319 fi
41320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41321       ac_ext=c
41322 ac_cpp='$CPP $CPPFLAGS'
41323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41326
41327
41328 fi
41329
41330   fi
41331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41332 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41333
41334   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41335     for ac_func in hypotf
41336 do :
41337   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41338 if test "x$ac_cv_func_hypotf" = x""yes; then :
41339   cat >>confdefs.h <<_ACEOF
41340 #define HAVE_HYPOTF 1
41341 _ACEOF
41342
41343 fi
41344 done
41345
41346   else
41347
41348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41349 $as_echo_n "checking for _hypotf declaration... " >&6; }
41350   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41351     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41352   $as_echo_n "(cached) " >&6
41353 else
41354
41355
41356       ac_ext=cpp
41357 ac_cpp='$CXXCPP $CPPFLAGS'
41358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41361
41362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41363 /* end confdefs.h.  */
41364 #include <math.h>
41365 int
41366 main ()
41367 {
41368  _hypotf(0, 0);
41369   ;
41370   return 0;
41371 }
41372 _ACEOF
41373 if ac_fn_cxx_try_compile "$LINENO"; then :
41374   glibcxx_cv_func__hypotf_use=yes
41375 else
41376   glibcxx_cv_func__hypotf_use=no
41377 fi
41378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41379       ac_ext=c
41380 ac_cpp='$CPP $CPPFLAGS'
41381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41384
41385
41386 fi
41387
41388   fi
41389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41390 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41391
41392     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41393       for ac_func in _hypotf
41394 do :
41395   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41396 if test "x$ac_cv_func__hypotf" = x""yes; then :
41397   cat >>confdefs.h <<_ACEOF
41398 #define HAVE__HYPOTF 1
41399 _ACEOF
41400
41401 fi
41402 done
41403
41404     fi
41405   fi
41406
41407
41408
41409
41410
41411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41412 $as_echo_n "checking for ldexpf declaration... " >&6; }
41413   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41414     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41415   $as_echo_n "(cached) " >&6
41416 else
41417
41418
41419       ac_ext=cpp
41420 ac_cpp='$CXXCPP $CPPFLAGS'
41421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41424
41425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41426 /* end confdefs.h.  */
41427 #include <math.h>
41428 int
41429 main ()
41430 {
41431  ldexpf(0, 0);
41432   ;
41433   return 0;
41434 }
41435 _ACEOF
41436 if ac_fn_cxx_try_compile "$LINENO"; then :
41437   glibcxx_cv_func_ldexpf_use=yes
41438 else
41439   glibcxx_cv_func_ldexpf_use=no
41440 fi
41441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41442       ac_ext=c
41443 ac_cpp='$CPP $CPPFLAGS'
41444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41447
41448
41449 fi
41450
41451   fi
41452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41453 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41454
41455   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41456     for ac_func in ldexpf
41457 do :
41458   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41459 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41460   cat >>confdefs.h <<_ACEOF
41461 #define HAVE_LDEXPF 1
41462 _ACEOF
41463
41464 fi
41465 done
41466
41467   else
41468
41469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41470 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41471   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41472     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41473   $as_echo_n "(cached) " >&6
41474 else
41475
41476
41477       ac_ext=cpp
41478 ac_cpp='$CXXCPP $CPPFLAGS'
41479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41482
41483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41484 /* end confdefs.h.  */
41485 #include <math.h>
41486 int
41487 main ()
41488 {
41489  _ldexpf(0, 0);
41490   ;
41491   return 0;
41492 }
41493 _ACEOF
41494 if ac_fn_cxx_try_compile "$LINENO"; then :
41495   glibcxx_cv_func__ldexpf_use=yes
41496 else
41497   glibcxx_cv_func__ldexpf_use=no
41498 fi
41499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41500       ac_ext=c
41501 ac_cpp='$CPP $CPPFLAGS'
41502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41505
41506
41507 fi
41508
41509   fi
41510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41511 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41512
41513     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41514       for ac_func in _ldexpf
41515 do :
41516   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41517 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41518   cat >>confdefs.h <<_ACEOF
41519 #define HAVE__LDEXPF 1
41520 _ACEOF
41521
41522 fi
41523 done
41524
41525     fi
41526   fi
41527
41528
41529
41530
41531
41532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41533 $as_echo_n "checking for logf declaration... " >&6; }
41534   if test x${glibcxx_cv_func_logf_use+set} != xset; then
41535     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41536   $as_echo_n "(cached) " >&6
41537 else
41538
41539
41540       ac_ext=cpp
41541 ac_cpp='$CXXCPP $CPPFLAGS'
41542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41545
41546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41547 /* end confdefs.h.  */
41548 #include <math.h>
41549                       #ifdef HAVE_IEEEFP_H
41550                       #include <ieeefp.h>
41551                       #endif
41552
41553 int
41554 main ()
41555 {
41556  logf(0);
41557   ;
41558   return 0;
41559 }
41560 _ACEOF
41561 if ac_fn_cxx_try_compile "$LINENO"; then :
41562   glibcxx_cv_func_logf_use=yes
41563 else
41564   glibcxx_cv_func_logf_use=no
41565 fi
41566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41567       ac_ext=c
41568 ac_cpp='$CPP $CPPFLAGS'
41569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41572
41573
41574 fi
41575
41576   fi
41577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41578 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41579
41580   if test x$glibcxx_cv_func_logf_use = x"yes"; then
41581     for ac_func in logf
41582 do :
41583   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41584 if test "x$ac_cv_func_logf" = x""yes; then :
41585   cat >>confdefs.h <<_ACEOF
41586 #define HAVE_LOGF 1
41587 _ACEOF
41588
41589 fi
41590 done
41591
41592   else
41593
41594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41595 $as_echo_n "checking for _logf declaration... " >&6; }
41596   if test x${glibcxx_cv_func__logf_use+set} != xset; then
41597     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41598   $as_echo_n "(cached) " >&6
41599 else
41600
41601
41602       ac_ext=cpp
41603 ac_cpp='$CXXCPP $CPPFLAGS'
41604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41607
41608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41609 /* end confdefs.h.  */
41610 #include <math.h>
41611                       #ifdef HAVE_IEEEFP_H
41612                       #include <ieeefp.h>
41613                       #endif
41614
41615 int
41616 main ()
41617 {
41618  _logf(0);
41619   ;
41620   return 0;
41621 }
41622 _ACEOF
41623 if ac_fn_cxx_try_compile "$LINENO"; then :
41624   glibcxx_cv_func__logf_use=yes
41625 else
41626   glibcxx_cv_func__logf_use=no
41627 fi
41628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41629       ac_ext=c
41630 ac_cpp='$CPP $CPPFLAGS'
41631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41634
41635
41636 fi
41637
41638   fi
41639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41640 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41641
41642     if test x$glibcxx_cv_func__logf_use = x"yes"; then
41643       for ac_func in _logf
41644 do :
41645   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41646 if test "x$ac_cv_func__logf" = x""yes; then :
41647   cat >>confdefs.h <<_ACEOF
41648 #define HAVE__LOGF 1
41649 _ACEOF
41650
41651 fi
41652 done
41653
41654     fi
41655   fi
41656
41657
41658
41659
41660
41661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41662 $as_echo_n "checking for log10f declaration... " >&6; }
41663   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41664     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41665   $as_echo_n "(cached) " >&6
41666 else
41667
41668
41669       ac_ext=cpp
41670 ac_cpp='$CXXCPP $CPPFLAGS'
41671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41674
41675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41676 /* end confdefs.h.  */
41677 #include <math.h>
41678                       #ifdef HAVE_IEEEFP_H
41679                       #include <ieeefp.h>
41680                       #endif
41681
41682 int
41683 main ()
41684 {
41685  log10f(0);
41686   ;
41687   return 0;
41688 }
41689 _ACEOF
41690 if ac_fn_cxx_try_compile "$LINENO"; then :
41691   glibcxx_cv_func_log10f_use=yes
41692 else
41693   glibcxx_cv_func_log10f_use=no
41694 fi
41695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41696       ac_ext=c
41697 ac_cpp='$CPP $CPPFLAGS'
41698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41701
41702
41703 fi
41704
41705   fi
41706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41707 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41708
41709   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41710     for ac_func in log10f
41711 do :
41712   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41713 if test "x$ac_cv_func_log10f" = x""yes; then :
41714   cat >>confdefs.h <<_ACEOF
41715 #define HAVE_LOG10F 1
41716 _ACEOF
41717
41718 fi
41719 done
41720
41721   else
41722
41723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41724 $as_echo_n "checking for _log10f declaration... " >&6; }
41725   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41726     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41727   $as_echo_n "(cached) " >&6
41728 else
41729
41730
41731       ac_ext=cpp
41732 ac_cpp='$CXXCPP $CPPFLAGS'
41733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41736
41737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41738 /* end confdefs.h.  */
41739 #include <math.h>
41740                       #ifdef HAVE_IEEEFP_H
41741                       #include <ieeefp.h>
41742                       #endif
41743
41744 int
41745 main ()
41746 {
41747  _log10f(0);
41748   ;
41749   return 0;
41750 }
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753   glibcxx_cv_func__log10f_use=yes
41754 else
41755   glibcxx_cv_func__log10f_use=no
41756 fi
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758       ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41763
41764
41765 fi
41766
41767   fi
41768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41769 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41770
41771     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41772       for ac_func in _log10f
41773 do :
41774   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41775 if test "x$ac_cv_func__log10f" = x""yes; then :
41776   cat >>confdefs.h <<_ACEOF
41777 #define HAVE__LOG10F 1
41778 _ACEOF
41779
41780 fi
41781 done
41782
41783     fi
41784   fi
41785
41786
41787
41788
41789
41790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41791 $as_echo_n "checking for modff declaration... " >&6; }
41792   if test x${glibcxx_cv_func_modff_use+set} != xset; then
41793     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41794   $as_echo_n "(cached) " >&6
41795 else
41796
41797
41798       ac_ext=cpp
41799 ac_cpp='$CXXCPP $CPPFLAGS'
41800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41803
41804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41805 /* end confdefs.h.  */
41806 #include <math.h>
41807 int
41808 main ()
41809 {
41810  modff(0, 0);
41811   ;
41812   return 0;
41813 }
41814 _ACEOF
41815 if ac_fn_cxx_try_compile "$LINENO"; then :
41816   glibcxx_cv_func_modff_use=yes
41817 else
41818   glibcxx_cv_func_modff_use=no
41819 fi
41820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41821       ac_ext=c
41822 ac_cpp='$CPP $CPPFLAGS'
41823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41826
41827
41828 fi
41829
41830   fi
41831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41832 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41833
41834   if test x$glibcxx_cv_func_modff_use = x"yes"; then
41835     for ac_func in modff
41836 do :
41837   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41838 if test "x$ac_cv_func_modff" = x""yes; then :
41839   cat >>confdefs.h <<_ACEOF
41840 #define HAVE_MODFF 1
41841 _ACEOF
41842
41843 fi
41844 done
41845
41846   else
41847
41848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41849 $as_echo_n "checking for _modff declaration... " >&6; }
41850   if test x${glibcxx_cv_func__modff_use+set} != xset; then
41851     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41852   $as_echo_n "(cached) " >&6
41853 else
41854
41855
41856       ac_ext=cpp
41857 ac_cpp='$CXXCPP $CPPFLAGS'
41858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41861
41862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41863 /* end confdefs.h.  */
41864 #include <math.h>
41865 int
41866 main ()
41867 {
41868  _modff(0, 0);
41869   ;
41870   return 0;
41871 }
41872 _ACEOF
41873 if ac_fn_cxx_try_compile "$LINENO"; then :
41874   glibcxx_cv_func__modff_use=yes
41875 else
41876   glibcxx_cv_func__modff_use=no
41877 fi
41878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41879       ac_ext=c
41880 ac_cpp='$CPP $CPPFLAGS'
41881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41884
41885
41886 fi
41887
41888   fi
41889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41890 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41891
41892     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41893       for ac_func in _modff
41894 do :
41895   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41896 if test "x$ac_cv_func__modff" = x""yes; then :
41897   cat >>confdefs.h <<_ACEOF
41898 #define HAVE__MODFF 1
41899 _ACEOF
41900
41901 fi
41902 done
41903
41904     fi
41905   fi
41906
41907
41908
41909
41910
41911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41912 $as_echo_n "checking for modf declaration... " >&6; }
41913   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41914     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41915   $as_echo_n "(cached) " >&6
41916 else
41917
41918
41919       ac_ext=cpp
41920 ac_cpp='$CXXCPP $CPPFLAGS'
41921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41924
41925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41926 /* end confdefs.h.  */
41927 #include <math.h>
41928 int
41929 main ()
41930 {
41931  modf(0, 0);
41932   ;
41933   return 0;
41934 }
41935 _ACEOF
41936 if ac_fn_cxx_try_compile "$LINENO"; then :
41937   glibcxx_cv_func_modf_use=yes
41938 else
41939   glibcxx_cv_func_modf_use=no
41940 fi
41941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41942       ac_ext=c
41943 ac_cpp='$CPP $CPPFLAGS'
41944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41947
41948
41949 fi
41950
41951   fi
41952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41953 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41954
41955   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41956     for ac_func in modf
41957 do :
41958   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41959 if test "x$ac_cv_func_modf" = x""yes; then :
41960   cat >>confdefs.h <<_ACEOF
41961 #define HAVE_MODF 1
41962 _ACEOF
41963
41964 fi
41965 done
41966
41967   else
41968
41969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41970 $as_echo_n "checking for _modf declaration... " >&6; }
41971   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41972     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41973   $as_echo_n "(cached) " >&6
41974 else
41975
41976
41977       ac_ext=cpp
41978 ac_cpp='$CXXCPP $CPPFLAGS'
41979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41982
41983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41984 /* end confdefs.h.  */
41985 #include <math.h>
41986 int
41987 main ()
41988 {
41989  _modf(0, 0);
41990   ;
41991   return 0;
41992 }
41993 _ACEOF
41994 if ac_fn_cxx_try_compile "$LINENO"; then :
41995   glibcxx_cv_func__modf_use=yes
41996 else
41997   glibcxx_cv_func__modf_use=no
41998 fi
41999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42000       ac_ext=c
42001 ac_cpp='$CPP $CPPFLAGS'
42002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42005
42006
42007 fi
42008
42009   fi
42010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42011 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42012
42013     if test x$glibcxx_cv_func__modf_use = x"yes"; then
42014       for ac_func in _modf
42015 do :
42016   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42017 if test "x$ac_cv_func__modf" = x""yes; then :
42018   cat >>confdefs.h <<_ACEOF
42019 #define HAVE__MODF 1
42020 _ACEOF
42021
42022 fi
42023 done
42024
42025     fi
42026   fi
42027
42028
42029
42030
42031
42032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42033 $as_echo_n "checking for powf declaration... " >&6; }
42034   if test x${glibcxx_cv_func_powf_use+set} != xset; then
42035     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42036   $as_echo_n "(cached) " >&6
42037 else
42038
42039
42040       ac_ext=cpp
42041 ac_cpp='$CXXCPP $CPPFLAGS'
42042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42045
42046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42047 /* end confdefs.h.  */
42048 #include <math.h>
42049 int
42050 main ()
42051 {
42052  powf(0, 0);
42053   ;
42054   return 0;
42055 }
42056 _ACEOF
42057 if ac_fn_cxx_try_compile "$LINENO"; then :
42058   glibcxx_cv_func_powf_use=yes
42059 else
42060   glibcxx_cv_func_powf_use=no
42061 fi
42062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42063       ac_ext=c
42064 ac_cpp='$CPP $CPPFLAGS'
42065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42068
42069
42070 fi
42071
42072   fi
42073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42074 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42075
42076   if test x$glibcxx_cv_func_powf_use = x"yes"; then
42077     for ac_func in powf
42078 do :
42079   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42080 if test "x$ac_cv_func_powf" = x""yes; then :
42081   cat >>confdefs.h <<_ACEOF
42082 #define HAVE_POWF 1
42083 _ACEOF
42084
42085 fi
42086 done
42087
42088   else
42089
42090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42091 $as_echo_n "checking for _powf declaration... " >&6; }
42092   if test x${glibcxx_cv_func__powf_use+set} != xset; then
42093     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42094   $as_echo_n "(cached) " >&6
42095 else
42096
42097
42098       ac_ext=cpp
42099 ac_cpp='$CXXCPP $CPPFLAGS'
42100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42103
42104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42105 /* end confdefs.h.  */
42106 #include <math.h>
42107 int
42108 main ()
42109 {
42110  _powf(0, 0);
42111   ;
42112   return 0;
42113 }
42114 _ACEOF
42115 if ac_fn_cxx_try_compile "$LINENO"; then :
42116   glibcxx_cv_func__powf_use=yes
42117 else
42118   glibcxx_cv_func__powf_use=no
42119 fi
42120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42121       ac_ext=c
42122 ac_cpp='$CPP $CPPFLAGS'
42123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42126
42127
42128 fi
42129
42130   fi
42131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42132 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42133
42134     if test x$glibcxx_cv_func__powf_use = x"yes"; then
42135       for ac_func in _powf
42136 do :
42137   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42138 if test "x$ac_cv_func__powf" = x""yes; then :
42139   cat >>confdefs.h <<_ACEOF
42140 #define HAVE__POWF 1
42141 _ACEOF
42142
42143 fi
42144 done
42145
42146     fi
42147   fi
42148
42149
42150
42151
42152
42153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42154 $as_echo_n "checking for sqrtf declaration... " >&6; }
42155   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42156     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42157   $as_echo_n "(cached) " >&6
42158 else
42159
42160
42161       ac_ext=cpp
42162 ac_cpp='$CXXCPP $CPPFLAGS'
42163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42166
42167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42168 /* end confdefs.h.  */
42169 #include <math.h>
42170                       #ifdef HAVE_IEEEFP_H
42171                       #include <ieeefp.h>
42172                       #endif
42173
42174 int
42175 main ()
42176 {
42177  sqrtf(0);
42178   ;
42179   return 0;
42180 }
42181 _ACEOF
42182 if ac_fn_cxx_try_compile "$LINENO"; then :
42183   glibcxx_cv_func_sqrtf_use=yes
42184 else
42185   glibcxx_cv_func_sqrtf_use=no
42186 fi
42187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42188       ac_ext=c
42189 ac_cpp='$CPP $CPPFLAGS'
42190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42193
42194
42195 fi
42196
42197   fi
42198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42199 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42200
42201   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42202     for ac_func in sqrtf
42203 do :
42204   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42205 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42206   cat >>confdefs.h <<_ACEOF
42207 #define HAVE_SQRTF 1
42208 _ACEOF
42209
42210 fi
42211 done
42212
42213   else
42214
42215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42216 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42217   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42218     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42219   $as_echo_n "(cached) " >&6
42220 else
42221
42222
42223       ac_ext=cpp
42224 ac_cpp='$CXXCPP $CPPFLAGS'
42225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42228
42229       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42230 /* end confdefs.h.  */
42231 #include <math.h>
42232                       #ifdef HAVE_IEEEFP_H
42233                       #include <ieeefp.h>
42234                       #endif
42235
42236 int
42237 main ()
42238 {
42239  _sqrtf(0);
42240   ;
42241   return 0;
42242 }
42243 _ACEOF
42244 if ac_fn_cxx_try_compile "$LINENO"; then :
42245   glibcxx_cv_func__sqrtf_use=yes
42246 else
42247   glibcxx_cv_func__sqrtf_use=no
42248 fi
42249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42250       ac_ext=c
42251 ac_cpp='$CPP $CPPFLAGS'
42252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42255
42256
42257 fi
42258
42259   fi
42260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42261 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42262
42263     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42264       for ac_func in _sqrtf
42265 do :
42266   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42267 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42268   cat >>confdefs.h <<_ACEOF
42269 #define HAVE__SQRTF 1
42270 _ACEOF
42271
42272 fi
42273 done
42274
42275     fi
42276   fi
42277
42278
42279
42280
42281
42282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42283 $as_echo_n "checking for sincosf declaration... " >&6; }
42284   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42285     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42286   $as_echo_n "(cached) " >&6
42287 else
42288
42289
42290       ac_ext=cpp
42291 ac_cpp='$CXXCPP $CPPFLAGS'
42292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42295
42296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42297 /* end confdefs.h.  */
42298 #include <math.h>
42299 int
42300 main ()
42301 {
42302  sincosf(0, 0, 0);
42303   ;
42304   return 0;
42305 }
42306 _ACEOF
42307 if ac_fn_cxx_try_compile "$LINENO"; then :
42308   glibcxx_cv_func_sincosf_use=yes
42309 else
42310   glibcxx_cv_func_sincosf_use=no
42311 fi
42312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42313       ac_ext=c
42314 ac_cpp='$CPP $CPPFLAGS'
42315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42318
42319
42320 fi
42321
42322   fi
42323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42324 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42325
42326   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42327     for ac_func in sincosf
42328 do :
42329   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42330 if test "x$ac_cv_func_sincosf" = x""yes; then :
42331   cat >>confdefs.h <<_ACEOF
42332 #define HAVE_SINCOSF 1
42333 _ACEOF
42334
42335 fi
42336 done
42337
42338   else
42339
42340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42341 $as_echo_n "checking for _sincosf declaration... " >&6; }
42342   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42343     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42344   $as_echo_n "(cached) " >&6
42345 else
42346
42347
42348       ac_ext=cpp
42349 ac_cpp='$CXXCPP $CPPFLAGS'
42350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42353
42354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42355 /* end confdefs.h.  */
42356 #include <math.h>
42357 int
42358 main ()
42359 {
42360  _sincosf(0, 0, 0);
42361   ;
42362   return 0;
42363 }
42364 _ACEOF
42365 if ac_fn_cxx_try_compile "$LINENO"; then :
42366   glibcxx_cv_func__sincosf_use=yes
42367 else
42368   glibcxx_cv_func__sincosf_use=no
42369 fi
42370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42371       ac_ext=c
42372 ac_cpp='$CPP $CPPFLAGS'
42373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42376
42377
42378 fi
42379
42380   fi
42381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42382 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42383
42384     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42385       for ac_func in _sincosf
42386 do :
42387   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42388 if test "x$ac_cv_func__sincosf" = x""yes; then :
42389   cat >>confdefs.h <<_ACEOF
42390 #define HAVE__SINCOSF 1
42391 _ACEOF
42392
42393 fi
42394 done
42395
42396     fi
42397   fi
42398
42399
42400
42401
42402
42403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42404 $as_echo_n "checking for finitef declaration... " >&6; }
42405   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42406     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42407   $as_echo_n "(cached) " >&6
42408 else
42409
42410
42411       ac_ext=cpp
42412 ac_cpp='$CXXCPP $CPPFLAGS'
42413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42416
42417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42418 /* end confdefs.h.  */
42419 #include <math.h>
42420                       #ifdef HAVE_IEEEFP_H
42421                       #include <ieeefp.h>
42422                       #endif
42423
42424 int
42425 main ()
42426 {
42427  finitef(0);
42428   ;
42429   return 0;
42430 }
42431 _ACEOF
42432 if ac_fn_cxx_try_compile "$LINENO"; then :
42433   glibcxx_cv_func_finitef_use=yes
42434 else
42435   glibcxx_cv_func_finitef_use=no
42436 fi
42437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42438       ac_ext=c
42439 ac_cpp='$CPP $CPPFLAGS'
42440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42443
42444
42445 fi
42446
42447   fi
42448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42449 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42450
42451   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42452     for ac_func in finitef
42453 do :
42454   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42455 if test "x$ac_cv_func_finitef" = x""yes; then :
42456   cat >>confdefs.h <<_ACEOF
42457 #define HAVE_FINITEF 1
42458 _ACEOF
42459
42460 fi
42461 done
42462
42463   else
42464
42465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42466 $as_echo_n "checking for _finitef declaration... " >&6; }
42467   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42468     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42469   $as_echo_n "(cached) " >&6
42470 else
42471
42472
42473       ac_ext=cpp
42474 ac_cpp='$CXXCPP $CPPFLAGS'
42475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42478
42479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42480 /* end confdefs.h.  */
42481 #include <math.h>
42482                       #ifdef HAVE_IEEEFP_H
42483                       #include <ieeefp.h>
42484                       #endif
42485
42486 int
42487 main ()
42488 {
42489  _finitef(0);
42490   ;
42491   return 0;
42492 }
42493 _ACEOF
42494 if ac_fn_cxx_try_compile "$LINENO"; then :
42495   glibcxx_cv_func__finitef_use=yes
42496 else
42497   glibcxx_cv_func__finitef_use=no
42498 fi
42499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42500       ac_ext=c
42501 ac_cpp='$CPP $CPPFLAGS'
42502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42505
42506
42507 fi
42508
42509   fi
42510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42511 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42512
42513     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42514       for ac_func in _finitef
42515 do :
42516   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42517 if test "x$ac_cv_func__finitef" = x""yes; then :
42518   cat >>confdefs.h <<_ACEOF
42519 #define HAVE__FINITEF 1
42520 _ACEOF
42521
42522 fi
42523 done
42524
42525     fi
42526   fi
42527
42528
42529
42530
42531
42532     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42533 $as_echo_n "checking for long double trig functions... " >&6; }
42534   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42535   $as_echo_n "(cached) " >&6
42536 else
42537
42538
42539     ac_ext=cpp
42540 ac_cpp='$CXXCPP $CPPFLAGS'
42541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42544
42545     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42546 /* end confdefs.h.  */
42547 #include <math.h>
42548 int
42549 main ()
42550 {
42551 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42552   ;
42553   return 0;
42554 }
42555 _ACEOF
42556 if ac_fn_cxx_try_compile "$LINENO"; then :
42557   glibcxx_cv_func_long_double_trig_use=yes
42558 else
42559   glibcxx_cv_func_long_double_trig_use=no
42560 fi
42561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42562     ac_ext=c
42563 ac_cpp='$CPP $CPPFLAGS'
42564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42567
42568 fi
42569
42570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42571 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42572   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42573     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42574 do :
42575   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42577 eval as_val=\$$as_ac_var
42578    if test "x$as_val" = x""yes; then :
42579   cat >>confdefs.h <<_ACEOF
42580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42581 _ACEOF
42582
42583 fi
42584 done
42585
42586   else
42587     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42588 $as_echo_n "checking for _long double trig functions... " >&6; }
42589     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42590   $as_echo_n "(cached) " >&6
42591 else
42592
42593
42594       ac_ext=cpp
42595 ac_cpp='$CXXCPP $CPPFLAGS'
42596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42599
42600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42601 /* end confdefs.h.  */
42602 #include <math.h>
42603 int
42604 main ()
42605 {
42606 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42607   ;
42608   return 0;
42609 }
42610 _ACEOF
42611 if ac_fn_cxx_try_compile "$LINENO"; then :
42612   glibcxx_cv_func__long_double_trig_use=yes
42613 else
42614   glibcxx_cv_func__long_double_trig_use=no
42615 fi
42616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42617       ac_ext=c
42618 ac_cpp='$CPP $CPPFLAGS'
42619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42622
42623 fi
42624
42625     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42626 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42627     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42628       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42629 do :
42630   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42632 eval as_val=\$$as_ac_var
42633    if test "x$as_val" = x""yes; then :
42634   cat >>confdefs.h <<_ACEOF
42635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42636 _ACEOF
42637
42638 fi
42639 done
42640
42641     fi
42642   fi
42643
42644
42645
42646
42647
42648     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42649 $as_echo_n "checking for long double round functions... " >&6; }
42650   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42651   $as_echo_n "(cached) " >&6
42652 else
42653
42654
42655     ac_ext=cpp
42656 ac_cpp='$CXXCPP $CPPFLAGS'
42657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42660
42661     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42662 /* end confdefs.h.  */
42663 #include <math.h>
42664 int
42665 main ()
42666 {
42667 ceill (0); floorl (0);
42668   ;
42669   return 0;
42670 }
42671 _ACEOF
42672 if ac_fn_cxx_try_compile "$LINENO"; then :
42673   glibcxx_cv_func_long_double_round_use=yes
42674 else
42675   glibcxx_cv_func_long_double_round_use=no
42676 fi
42677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42678     ac_ext=c
42679 ac_cpp='$CPP $CPPFLAGS'
42680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42683
42684 fi
42685
42686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42687 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42688   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42689     for ac_func in ceill floorl
42690 do :
42691   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42692 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42693 eval as_val=\$$as_ac_var
42694    if test "x$as_val" = x""yes; then :
42695   cat >>confdefs.h <<_ACEOF
42696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42697 _ACEOF
42698
42699 fi
42700 done
42701
42702   else
42703     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42704 $as_echo_n "checking for _long double round functions... " >&6; }
42705     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42706   $as_echo_n "(cached) " >&6
42707 else
42708
42709
42710       ac_ext=cpp
42711 ac_cpp='$CXXCPP $CPPFLAGS'
42712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42715
42716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42717 /* end confdefs.h.  */
42718 #include <math.h>
42719 int
42720 main ()
42721 {
42722 _ceill (0); _floorl (0);
42723   ;
42724   return 0;
42725 }
42726 _ACEOF
42727 if ac_fn_cxx_try_compile "$LINENO"; then :
42728   glibcxx_cv_func__long_double_round_use=yes
42729 else
42730   glibcxx_cv_func__long_double_round_use=no
42731 fi
42732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42733       ac_ext=c
42734 ac_cpp='$CPP $CPPFLAGS'
42735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42738
42739 fi
42740
42741     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42742 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42743     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42744       for ac_func in _ceill _floorl
42745 do :
42746   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42748 eval as_val=\$$as_ac_var
42749    if test "x$as_val" = x""yes; then :
42750   cat >>confdefs.h <<_ACEOF
42751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42752 _ACEOF
42753
42754 fi
42755 done
42756
42757     fi
42758   fi
42759
42760
42761
42762
42763
42764
42765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42766 $as_echo_n "checking for isnanl declaration... " >&6; }
42767   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42768     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42769   $as_echo_n "(cached) " >&6
42770 else
42771
42772
42773       ac_ext=cpp
42774 ac_cpp='$CXXCPP $CPPFLAGS'
42775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42778
42779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42780 /* end confdefs.h.  */
42781 #include <math.h>
42782                       #ifdef HAVE_IEEEFP_H
42783                       #include <ieeefp.h>
42784                       #endif
42785
42786 int
42787 main ()
42788 {
42789  isnanl(0);
42790   ;
42791   return 0;
42792 }
42793 _ACEOF
42794 if ac_fn_cxx_try_compile "$LINENO"; then :
42795   glibcxx_cv_func_isnanl_use=yes
42796 else
42797   glibcxx_cv_func_isnanl_use=no
42798 fi
42799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42800       ac_ext=c
42801 ac_cpp='$CPP $CPPFLAGS'
42802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42805
42806
42807 fi
42808
42809   fi
42810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42811 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42812
42813   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42814     for ac_func in isnanl
42815 do :
42816   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42817 if test "x$ac_cv_func_isnanl" = x""yes; then :
42818   cat >>confdefs.h <<_ACEOF
42819 #define HAVE_ISNANL 1
42820 _ACEOF
42821
42822 fi
42823 done
42824
42825   else
42826
42827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42828 $as_echo_n "checking for _isnanl declaration... " >&6; }
42829   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42830     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42831   $as_echo_n "(cached) " >&6
42832 else
42833
42834
42835       ac_ext=cpp
42836 ac_cpp='$CXXCPP $CPPFLAGS'
42837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42840
42841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42842 /* end confdefs.h.  */
42843 #include <math.h>
42844                       #ifdef HAVE_IEEEFP_H
42845                       #include <ieeefp.h>
42846                       #endif
42847
42848 int
42849 main ()
42850 {
42851  _isnanl(0);
42852   ;
42853   return 0;
42854 }
42855 _ACEOF
42856 if ac_fn_cxx_try_compile "$LINENO"; then :
42857   glibcxx_cv_func__isnanl_use=yes
42858 else
42859   glibcxx_cv_func__isnanl_use=no
42860 fi
42861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42862       ac_ext=c
42863 ac_cpp='$CPP $CPPFLAGS'
42864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42867
42868
42869 fi
42870
42871   fi
42872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42873 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42874
42875     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42876       for ac_func in _isnanl
42877 do :
42878   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42879 if test "x$ac_cv_func__isnanl" = x""yes; then :
42880   cat >>confdefs.h <<_ACEOF
42881 #define HAVE__ISNANL 1
42882 _ACEOF
42883
42884 fi
42885 done
42886
42887     fi
42888   fi
42889
42890
42891
42892
42893
42894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42895 $as_echo_n "checking for isinfl declaration... " >&6; }
42896   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42897     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42898   $as_echo_n "(cached) " >&6
42899 else
42900
42901
42902       ac_ext=cpp
42903 ac_cpp='$CXXCPP $CPPFLAGS'
42904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42907
42908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42909 /* end confdefs.h.  */
42910 #include <math.h>
42911                       #ifdef HAVE_IEEEFP_H
42912                       #include <ieeefp.h>
42913                       #endif
42914
42915 int
42916 main ()
42917 {
42918  isinfl(0);
42919   ;
42920   return 0;
42921 }
42922 _ACEOF
42923 if ac_fn_cxx_try_compile "$LINENO"; then :
42924   glibcxx_cv_func_isinfl_use=yes
42925 else
42926   glibcxx_cv_func_isinfl_use=no
42927 fi
42928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42929       ac_ext=c
42930 ac_cpp='$CPP $CPPFLAGS'
42931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42934
42935
42936 fi
42937
42938   fi
42939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42940 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42941
42942   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42943     for ac_func in isinfl
42944 do :
42945   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42946 if test "x$ac_cv_func_isinfl" = x""yes; then :
42947   cat >>confdefs.h <<_ACEOF
42948 #define HAVE_ISINFL 1
42949 _ACEOF
42950
42951 fi
42952 done
42953
42954   else
42955
42956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42957 $as_echo_n "checking for _isinfl declaration... " >&6; }
42958   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42959     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42960   $as_echo_n "(cached) " >&6
42961 else
42962
42963
42964       ac_ext=cpp
42965 ac_cpp='$CXXCPP $CPPFLAGS'
42966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42969
42970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42971 /* end confdefs.h.  */
42972 #include <math.h>
42973                       #ifdef HAVE_IEEEFP_H
42974                       #include <ieeefp.h>
42975                       #endif
42976
42977 int
42978 main ()
42979 {
42980  _isinfl(0);
42981   ;
42982   return 0;
42983 }
42984 _ACEOF
42985 if ac_fn_cxx_try_compile "$LINENO"; then :
42986   glibcxx_cv_func__isinfl_use=yes
42987 else
42988   glibcxx_cv_func__isinfl_use=no
42989 fi
42990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42991       ac_ext=c
42992 ac_cpp='$CPP $CPPFLAGS'
42993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42996
42997
42998 fi
42999
43000   fi
43001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43002 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43003
43004     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43005       for ac_func in _isinfl
43006 do :
43007   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43008 if test "x$ac_cv_func__isinfl" = x""yes; then :
43009   cat >>confdefs.h <<_ACEOF
43010 #define HAVE__ISINFL 1
43011 _ACEOF
43012
43013 fi
43014 done
43015
43016     fi
43017   fi
43018
43019
43020
43021
43022
43023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43024 $as_echo_n "checking for atan2l declaration... " >&6; }
43025   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43026     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43027   $as_echo_n "(cached) " >&6
43028 else
43029
43030
43031       ac_ext=cpp
43032 ac_cpp='$CXXCPP $CPPFLAGS'
43033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43036
43037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43038 /* end confdefs.h.  */
43039 #include <math.h>
43040 int
43041 main ()
43042 {
43043  atan2l(0, 0);
43044   ;
43045   return 0;
43046 }
43047 _ACEOF
43048 if ac_fn_cxx_try_compile "$LINENO"; then :
43049   glibcxx_cv_func_atan2l_use=yes
43050 else
43051   glibcxx_cv_func_atan2l_use=no
43052 fi
43053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43054       ac_ext=c
43055 ac_cpp='$CPP $CPPFLAGS'
43056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43059
43060
43061 fi
43062
43063   fi
43064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43065 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43066
43067   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43068     for ac_func in atan2l
43069 do :
43070   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43071 if test "x$ac_cv_func_atan2l" = x""yes; then :
43072   cat >>confdefs.h <<_ACEOF
43073 #define HAVE_ATAN2L 1
43074 _ACEOF
43075
43076 fi
43077 done
43078
43079   else
43080
43081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43082 $as_echo_n "checking for _atan2l declaration... " >&6; }
43083   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43084     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43085   $as_echo_n "(cached) " >&6
43086 else
43087
43088
43089       ac_ext=cpp
43090 ac_cpp='$CXXCPP $CPPFLAGS'
43091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43094
43095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43096 /* end confdefs.h.  */
43097 #include <math.h>
43098 int
43099 main ()
43100 {
43101  _atan2l(0, 0);
43102   ;
43103   return 0;
43104 }
43105 _ACEOF
43106 if ac_fn_cxx_try_compile "$LINENO"; then :
43107   glibcxx_cv_func__atan2l_use=yes
43108 else
43109   glibcxx_cv_func__atan2l_use=no
43110 fi
43111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43112       ac_ext=c
43113 ac_cpp='$CPP $CPPFLAGS'
43114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43117
43118
43119 fi
43120
43121   fi
43122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43123 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43124
43125     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43126       for ac_func in _atan2l
43127 do :
43128   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43129 if test "x$ac_cv_func__atan2l" = x""yes; then :
43130   cat >>confdefs.h <<_ACEOF
43131 #define HAVE__ATAN2L 1
43132 _ACEOF
43133
43134 fi
43135 done
43136
43137     fi
43138   fi
43139
43140
43141
43142
43143
43144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43145 $as_echo_n "checking for expl declaration... " >&6; }
43146   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43147     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43148   $as_echo_n "(cached) " >&6
43149 else
43150
43151
43152       ac_ext=cpp
43153 ac_cpp='$CXXCPP $CPPFLAGS'
43154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43157
43158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43159 /* end confdefs.h.  */
43160 #include <math.h>
43161                       #ifdef HAVE_IEEEFP_H
43162                       #include <ieeefp.h>
43163                       #endif
43164
43165 int
43166 main ()
43167 {
43168  expl(0);
43169   ;
43170   return 0;
43171 }
43172 _ACEOF
43173 if ac_fn_cxx_try_compile "$LINENO"; then :
43174   glibcxx_cv_func_expl_use=yes
43175 else
43176   glibcxx_cv_func_expl_use=no
43177 fi
43178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43179       ac_ext=c
43180 ac_cpp='$CPP $CPPFLAGS'
43181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43184
43185
43186 fi
43187
43188   fi
43189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43190 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43191
43192   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43193     for ac_func in expl
43194 do :
43195   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43196 if test "x$ac_cv_func_expl" = x""yes; then :
43197   cat >>confdefs.h <<_ACEOF
43198 #define HAVE_EXPL 1
43199 _ACEOF
43200
43201 fi
43202 done
43203
43204   else
43205
43206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43207 $as_echo_n "checking for _expl declaration... " >&6; }
43208   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43209     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43210   $as_echo_n "(cached) " >&6
43211 else
43212
43213
43214       ac_ext=cpp
43215 ac_cpp='$CXXCPP $CPPFLAGS'
43216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43219
43220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43221 /* end confdefs.h.  */
43222 #include <math.h>
43223                       #ifdef HAVE_IEEEFP_H
43224                       #include <ieeefp.h>
43225                       #endif
43226
43227 int
43228 main ()
43229 {
43230  _expl(0);
43231   ;
43232   return 0;
43233 }
43234 _ACEOF
43235 if ac_fn_cxx_try_compile "$LINENO"; then :
43236   glibcxx_cv_func__expl_use=yes
43237 else
43238   glibcxx_cv_func__expl_use=no
43239 fi
43240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43241       ac_ext=c
43242 ac_cpp='$CPP $CPPFLAGS'
43243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43246
43247
43248 fi
43249
43250   fi
43251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43252 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43253
43254     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43255       for ac_func in _expl
43256 do :
43257   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43258 if test "x$ac_cv_func__expl" = x""yes; then :
43259   cat >>confdefs.h <<_ACEOF
43260 #define HAVE__EXPL 1
43261 _ACEOF
43262
43263 fi
43264 done
43265
43266     fi
43267   fi
43268
43269
43270
43271
43272
43273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43274 $as_echo_n "checking for fabsl declaration... " >&6; }
43275   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43276     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43277   $as_echo_n "(cached) " >&6
43278 else
43279
43280
43281       ac_ext=cpp
43282 ac_cpp='$CXXCPP $CPPFLAGS'
43283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43286
43287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43288 /* end confdefs.h.  */
43289 #include <math.h>
43290                       #ifdef HAVE_IEEEFP_H
43291                       #include <ieeefp.h>
43292                       #endif
43293
43294 int
43295 main ()
43296 {
43297  fabsl(0);
43298   ;
43299   return 0;
43300 }
43301 _ACEOF
43302 if ac_fn_cxx_try_compile "$LINENO"; then :
43303   glibcxx_cv_func_fabsl_use=yes
43304 else
43305   glibcxx_cv_func_fabsl_use=no
43306 fi
43307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43308       ac_ext=c
43309 ac_cpp='$CPP $CPPFLAGS'
43310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43313
43314
43315 fi
43316
43317   fi
43318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43319 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43320
43321   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43322     for ac_func in fabsl
43323 do :
43324   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43325 if test "x$ac_cv_func_fabsl" = x""yes; then :
43326   cat >>confdefs.h <<_ACEOF
43327 #define HAVE_FABSL 1
43328 _ACEOF
43329
43330 fi
43331 done
43332
43333   else
43334
43335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43336 $as_echo_n "checking for _fabsl declaration... " >&6; }
43337   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43338     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43339   $as_echo_n "(cached) " >&6
43340 else
43341
43342
43343       ac_ext=cpp
43344 ac_cpp='$CXXCPP $CPPFLAGS'
43345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43348
43349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43350 /* end confdefs.h.  */
43351 #include <math.h>
43352                       #ifdef HAVE_IEEEFP_H
43353                       #include <ieeefp.h>
43354                       #endif
43355
43356 int
43357 main ()
43358 {
43359  _fabsl(0);
43360   ;
43361   return 0;
43362 }
43363 _ACEOF
43364 if ac_fn_cxx_try_compile "$LINENO"; then :
43365   glibcxx_cv_func__fabsl_use=yes
43366 else
43367   glibcxx_cv_func__fabsl_use=no
43368 fi
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43370       ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43375
43376
43377 fi
43378
43379   fi
43380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43381 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43382
43383     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43384       for ac_func in _fabsl
43385 do :
43386   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43387 if test "x$ac_cv_func__fabsl" = x""yes; then :
43388   cat >>confdefs.h <<_ACEOF
43389 #define HAVE__FABSL 1
43390 _ACEOF
43391
43392 fi
43393 done
43394
43395     fi
43396   fi
43397
43398
43399
43400
43401
43402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43403 $as_echo_n "checking for fmodl declaration... " >&6; }
43404   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43405     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43406   $as_echo_n "(cached) " >&6
43407 else
43408
43409
43410       ac_ext=cpp
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43415
43416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43417 /* end confdefs.h.  */
43418 #include <math.h>
43419 int
43420 main ()
43421 {
43422  fmodl(0, 0);
43423   ;
43424   return 0;
43425 }
43426 _ACEOF
43427 if ac_fn_cxx_try_compile "$LINENO"; then :
43428   glibcxx_cv_func_fmodl_use=yes
43429 else
43430   glibcxx_cv_func_fmodl_use=no
43431 fi
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433       ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43438
43439
43440 fi
43441
43442   fi
43443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43444 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43445
43446   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43447     for ac_func in fmodl
43448 do :
43449   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43450 if test "x$ac_cv_func_fmodl" = x""yes; then :
43451   cat >>confdefs.h <<_ACEOF
43452 #define HAVE_FMODL 1
43453 _ACEOF
43454
43455 fi
43456 done
43457
43458   else
43459
43460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43461 $as_echo_n "checking for _fmodl declaration... " >&6; }
43462   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43463     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43464   $as_echo_n "(cached) " >&6
43465 else
43466
43467
43468       ac_ext=cpp
43469 ac_cpp='$CXXCPP $CPPFLAGS'
43470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43473
43474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43475 /* end confdefs.h.  */
43476 #include <math.h>
43477 int
43478 main ()
43479 {
43480  _fmodl(0, 0);
43481   ;
43482   return 0;
43483 }
43484 _ACEOF
43485 if ac_fn_cxx_try_compile "$LINENO"; then :
43486   glibcxx_cv_func__fmodl_use=yes
43487 else
43488   glibcxx_cv_func__fmodl_use=no
43489 fi
43490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43491       ac_ext=c
43492 ac_cpp='$CPP $CPPFLAGS'
43493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43496
43497
43498 fi
43499
43500   fi
43501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43502 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43503
43504     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43505       for ac_func in _fmodl
43506 do :
43507   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43508 if test "x$ac_cv_func__fmodl" = x""yes; then :
43509   cat >>confdefs.h <<_ACEOF
43510 #define HAVE__FMODL 1
43511 _ACEOF
43512
43513 fi
43514 done
43515
43516     fi
43517   fi
43518
43519
43520
43521
43522
43523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43524 $as_echo_n "checking for frexpl declaration... " >&6; }
43525   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43526     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43527   $as_echo_n "(cached) " >&6
43528 else
43529
43530
43531       ac_ext=cpp
43532 ac_cpp='$CXXCPP $CPPFLAGS'
43533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43536
43537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43538 /* end confdefs.h.  */
43539 #include <math.h>
43540 int
43541 main ()
43542 {
43543  frexpl(0, 0);
43544   ;
43545   return 0;
43546 }
43547 _ACEOF
43548 if ac_fn_cxx_try_compile "$LINENO"; then :
43549   glibcxx_cv_func_frexpl_use=yes
43550 else
43551   glibcxx_cv_func_frexpl_use=no
43552 fi
43553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43554       ac_ext=c
43555 ac_cpp='$CPP $CPPFLAGS'
43556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43559
43560
43561 fi
43562
43563   fi
43564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43565 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43566
43567   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43568     for ac_func in frexpl
43569 do :
43570   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43571 if test "x$ac_cv_func_frexpl" = x""yes; then :
43572   cat >>confdefs.h <<_ACEOF
43573 #define HAVE_FREXPL 1
43574 _ACEOF
43575
43576 fi
43577 done
43578
43579   else
43580
43581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43582 $as_echo_n "checking for _frexpl declaration... " >&6; }
43583   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43584     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43585   $as_echo_n "(cached) " >&6
43586 else
43587
43588
43589       ac_ext=cpp
43590 ac_cpp='$CXXCPP $CPPFLAGS'
43591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43594
43595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43596 /* end confdefs.h.  */
43597 #include <math.h>
43598 int
43599 main ()
43600 {
43601  _frexpl(0, 0);
43602   ;
43603   return 0;
43604 }
43605 _ACEOF
43606 if ac_fn_cxx_try_compile "$LINENO"; then :
43607   glibcxx_cv_func__frexpl_use=yes
43608 else
43609   glibcxx_cv_func__frexpl_use=no
43610 fi
43611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43612       ac_ext=c
43613 ac_cpp='$CPP $CPPFLAGS'
43614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43617
43618
43619 fi
43620
43621   fi
43622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43623 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43624
43625     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43626       for ac_func in _frexpl
43627 do :
43628   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43629 if test "x$ac_cv_func__frexpl" = x""yes; then :
43630   cat >>confdefs.h <<_ACEOF
43631 #define HAVE__FREXPL 1
43632 _ACEOF
43633
43634 fi
43635 done
43636
43637     fi
43638   fi
43639
43640
43641
43642
43643
43644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43645 $as_echo_n "checking for hypotl declaration... " >&6; }
43646   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43647     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43648   $as_echo_n "(cached) " >&6
43649 else
43650
43651
43652       ac_ext=cpp
43653 ac_cpp='$CXXCPP $CPPFLAGS'
43654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43657
43658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43659 /* end confdefs.h.  */
43660 #include <math.h>
43661 int
43662 main ()
43663 {
43664  hypotl(0, 0);
43665   ;
43666   return 0;
43667 }
43668 _ACEOF
43669 if ac_fn_cxx_try_compile "$LINENO"; then :
43670   glibcxx_cv_func_hypotl_use=yes
43671 else
43672   glibcxx_cv_func_hypotl_use=no
43673 fi
43674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43675       ac_ext=c
43676 ac_cpp='$CPP $CPPFLAGS'
43677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43680
43681
43682 fi
43683
43684   fi
43685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43686 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43687
43688   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43689     for ac_func in hypotl
43690 do :
43691   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43692 if test "x$ac_cv_func_hypotl" = x""yes; then :
43693   cat >>confdefs.h <<_ACEOF
43694 #define HAVE_HYPOTL 1
43695 _ACEOF
43696
43697 fi
43698 done
43699
43700   else
43701
43702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43703 $as_echo_n "checking for _hypotl declaration... " >&6; }
43704   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43705     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43706   $as_echo_n "(cached) " >&6
43707 else
43708
43709
43710       ac_ext=cpp
43711 ac_cpp='$CXXCPP $CPPFLAGS'
43712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43715
43716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43717 /* end confdefs.h.  */
43718 #include <math.h>
43719 int
43720 main ()
43721 {
43722  _hypotl(0, 0);
43723   ;
43724   return 0;
43725 }
43726 _ACEOF
43727 if ac_fn_cxx_try_compile "$LINENO"; then :
43728   glibcxx_cv_func__hypotl_use=yes
43729 else
43730   glibcxx_cv_func__hypotl_use=no
43731 fi
43732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43733       ac_ext=c
43734 ac_cpp='$CPP $CPPFLAGS'
43735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43738
43739
43740 fi
43741
43742   fi
43743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43744 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43745
43746     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43747       for ac_func in _hypotl
43748 do :
43749   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43750 if test "x$ac_cv_func__hypotl" = x""yes; then :
43751   cat >>confdefs.h <<_ACEOF
43752 #define HAVE__HYPOTL 1
43753 _ACEOF
43754
43755 fi
43756 done
43757
43758     fi
43759   fi
43760
43761
43762
43763
43764
43765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43766 $as_echo_n "checking for ldexpl declaration... " >&6; }
43767   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43768     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43769   $as_echo_n "(cached) " >&6
43770 else
43771
43772
43773       ac_ext=cpp
43774 ac_cpp='$CXXCPP $CPPFLAGS'
43775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43778
43779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43780 /* end confdefs.h.  */
43781 #include <math.h>
43782 int
43783 main ()
43784 {
43785  ldexpl(0, 0);
43786   ;
43787   return 0;
43788 }
43789 _ACEOF
43790 if ac_fn_cxx_try_compile "$LINENO"; then :
43791   glibcxx_cv_func_ldexpl_use=yes
43792 else
43793   glibcxx_cv_func_ldexpl_use=no
43794 fi
43795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43796       ac_ext=c
43797 ac_cpp='$CPP $CPPFLAGS'
43798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43801
43802
43803 fi
43804
43805   fi
43806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43807 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43808
43809   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43810     for ac_func in ldexpl
43811 do :
43812   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43813 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43814   cat >>confdefs.h <<_ACEOF
43815 #define HAVE_LDEXPL 1
43816 _ACEOF
43817
43818 fi
43819 done
43820
43821   else
43822
43823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43824 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43825   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43826     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43827   $as_echo_n "(cached) " >&6
43828 else
43829
43830
43831       ac_ext=cpp
43832 ac_cpp='$CXXCPP $CPPFLAGS'
43833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43836
43837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43838 /* end confdefs.h.  */
43839 #include <math.h>
43840 int
43841 main ()
43842 {
43843  _ldexpl(0, 0);
43844   ;
43845   return 0;
43846 }
43847 _ACEOF
43848 if ac_fn_cxx_try_compile "$LINENO"; then :
43849   glibcxx_cv_func__ldexpl_use=yes
43850 else
43851   glibcxx_cv_func__ldexpl_use=no
43852 fi
43853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43854       ac_ext=c
43855 ac_cpp='$CPP $CPPFLAGS'
43856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43859
43860
43861 fi
43862
43863   fi
43864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43865 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43866
43867     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43868       for ac_func in _ldexpl
43869 do :
43870   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43871 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43872   cat >>confdefs.h <<_ACEOF
43873 #define HAVE__LDEXPL 1
43874 _ACEOF
43875
43876 fi
43877 done
43878
43879     fi
43880   fi
43881
43882
43883
43884
43885
43886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43887 $as_echo_n "checking for logl declaration... " >&6; }
43888   if test x${glibcxx_cv_func_logl_use+set} != xset; then
43889     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43890   $as_echo_n "(cached) " >&6
43891 else
43892
43893
43894       ac_ext=cpp
43895 ac_cpp='$CXXCPP $CPPFLAGS'
43896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43899
43900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43901 /* end confdefs.h.  */
43902 #include <math.h>
43903                       #ifdef HAVE_IEEEFP_H
43904                       #include <ieeefp.h>
43905                       #endif
43906
43907 int
43908 main ()
43909 {
43910  logl(0);
43911   ;
43912   return 0;
43913 }
43914 _ACEOF
43915 if ac_fn_cxx_try_compile "$LINENO"; then :
43916   glibcxx_cv_func_logl_use=yes
43917 else
43918   glibcxx_cv_func_logl_use=no
43919 fi
43920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43921       ac_ext=c
43922 ac_cpp='$CPP $CPPFLAGS'
43923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43926
43927
43928 fi
43929
43930   fi
43931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43932 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43933
43934   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43935     for ac_func in logl
43936 do :
43937   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43938 if test "x$ac_cv_func_logl" = x""yes; then :
43939   cat >>confdefs.h <<_ACEOF
43940 #define HAVE_LOGL 1
43941 _ACEOF
43942
43943 fi
43944 done
43945
43946   else
43947
43948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43949 $as_echo_n "checking for _logl declaration... " >&6; }
43950   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43951     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43952   $as_echo_n "(cached) " >&6
43953 else
43954
43955
43956       ac_ext=cpp
43957 ac_cpp='$CXXCPP $CPPFLAGS'
43958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43961
43962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43963 /* end confdefs.h.  */
43964 #include <math.h>
43965                       #ifdef HAVE_IEEEFP_H
43966                       #include <ieeefp.h>
43967                       #endif
43968
43969 int
43970 main ()
43971 {
43972  _logl(0);
43973   ;
43974   return 0;
43975 }
43976 _ACEOF
43977 if ac_fn_cxx_try_compile "$LINENO"; then :
43978   glibcxx_cv_func__logl_use=yes
43979 else
43980   glibcxx_cv_func__logl_use=no
43981 fi
43982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43983       ac_ext=c
43984 ac_cpp='$CPP $CPPFLAGS'
43985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43988
43989
43990 fi
43991
43992   fi
43993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43994 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43995
43996     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43997       for ac_func in _logl
43998 do :
43999   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44000 if test "x$ac_cv_func__logl" = x""yes; then :
44001   cat >>confdefs.h <<_ACEOF
44002 #define HAVE__LOGL 1
44003 _ACEOF
44004
44005 fi
44006 done
44007
44008     fi
44009   fi
44010
44011
44012
44013
44014
44015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44016 $as_echo_n "checking for log10l declaration... " >&6; }
44017   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44018     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44019   $as_echo_n "(cached) " >&6
44020 else
44021
44022
44023       ac_ext=cpp
44024 ac_cpp='$CXXCPP $CPPFLAGS'
44025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44028
44029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44030 /* end confdefs.h.  */
44031 #include <math.h>
44032                       #ifdef HAVE_IEEEFP_H
44033                       #include <ieeefp.h>
44034                       #endif
44035
44036 int
44037 main ()
44038 {
44039  log10l(0);
44040   ;
44041   return 0;
44042 }
44043 _ACEOF
44044 if ac_fn_cxx_try_compile "$LINENO"; then :
44045   glibcxx_cv_func_log10l_use=yes
44046 else
44047   glibcxx_cv_func_log10l_use=no
44048 fi
44049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44050       ac_ext=c
44051 ac_cpp='$CPP $CPPFLAGS'
44052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44055
44056
44057 fi
44058
44059   fi
44060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44061 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44062
44063   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44064     for ac_func in log10l
44065 do :
44066   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44067 if test "x$ac_cv_func_log10l" = x""yes; then :
44068   cat >>confdefs.h <<_ACEOF
44069 #define HAVE_LOG10L 1
44070 _ACEOF
44071
44072 fi
44073 done
44074
44075   else
44076
44077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44078 $as_echo_n "checking for _log10l declaration... " >&6; }
44079   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44080     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44081   $as_echo_n "(cached) " >&6
44082 else
44083
44084
44085       ac_ext=cpp
44086 ac_cpp='$CXXCPP $CPPFLAGS'
44087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44090
44091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44092 /* end confdefs.h.  */
44093 #include <math.h>
44094                       #ifdef HAVE_IEEEFP_H
44095                       #include <ieeefp.h>
44096                       #endif
44097
44098 int
44099 main ()
44100 {
44101  _log10l(0);
44102   ;
44103   return 0;
44104 }
44105 _ACEOF
44106 if ac_fn_cxx_try_compile "$LINENO"; then :
44107   glibcxx_cv_func__log10l_use=yes
44108 else
44109   glibcxx_cv_func__log10l_use=no
44110 fi
44111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44112       ac_ext=c
44113 ac_cpp='$CPP $CPPFLAGS'
44114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44117
44118
44119 fi
44120
44121   fi
44122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44123 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44124
44125     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44126       for ac_func in _log10l
44127 do :
44128   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44129 if test "x$ac_cv_func__log10l" = x""yes; then :
44130   cat >>confdefs.h <<_ACEOF
44131 #define HAVE__LOG10L 1
44132 _ACEOF
44133
44134 fi
44135 done
44136
44137     fi
44138   fi
44139
44140
44141
44142
44143
44144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44145 $as_echo_n "checking for modfl declaration... " >&6; }
44146   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44147     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44148   $as_echo_n "(cached) " >&6
44149 else
44150
44151
44152       ac_ext=cpp
44153 ac_cpp='$CXXCPP $CPPFLAGS'
44154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44157
44158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44159 /* end confdefs.h.  */
44160 #include <math.h>
44161 int
44162 main ()
44163 {
44164  modfl(0, 0);
44165   ;
44166   return 0;
44167 }
44168 _ACEOF
44169 if ac_fn_cxx_try_compile "$LINENO"; then :
44170   glibcxx_cv_func_modfl_use=yes
44171 else
44172   glibcxx_cv_func_modfl_use=no
44173 fi
44174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44175       ac_ext=c
44176 ac_cpp='$CPP $CPPFLAGS'
44177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44180
44181
44182 fi
44183
44184   fi
44185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44186 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44187
44188   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44189     for ac_func in modfl
44190 do :
44191   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44192 if test "x$ac_cv_func_modfl" = x""yes; then :
44193   cat >>confdefs.h <<_ACEOF
44194 #define HAVE_MODFL 1
44195 _ACEOF
44196
44197 fi
44198 done
44199
44200   else
44201
44202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44203 $as_echo_n "checking for _modfl declaration... " >&6; }
44204   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44205     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44206   $as_echo_n "(cached) " >&6
44207 else
44208
44209
44210       ac_ext=cpp
44211 ac_cpp='$CXXCPP $CPPFLAGS'
44212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44215
44216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44217 /* end confdefs.h.  */
44218 #include <math.h>
44219 int
44220 main ()
44221 {
44222  _modfl(0, 0);
44223   ;
44224   return 0;
44225 }
44226 _ACEOF
44227 if ac_fn_cxx_try_compile "$LINENO"; then :
44228   glibcxx_cv_func__modfl_use=yes
44229 else
44230   glibcxx_cv_func__modfl_use=no
44231 fi
44232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44233       ac_ext=c
44234 ac_cpp='$CPP $CPPFLAGS'
44235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44238
44239
44240 fi
44241
44242   fi
44243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44244 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44245
44246     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44247       for ac_func in _modfl
44248 do :
44249   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44250 if test "x$ac_cv_func__modfl" = x""yes; then :
44251   cat >>confdefs.h <<_ACEOF
44252 #define HAVE__MODFL 1
44253 _ACEOF
44254
44255 fi
44256 done
44257
44258     fi
44259   fi
44260
44261
44262
44263
44264
44265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44266 $as_echo_n "checking for powl declaration... " >&6; }
44267   if test x${glibcxx_cv_func_powl_use+set} != xset; then
44268     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44269   $as_echo_n "(cached) " >&6
44270 else
44271
44272
44273       ac_ext=cpp
44274 ac_cpp='$CXXCPP $CPPFLAGS'
44275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44278
44279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44280 /* end confdefs.h.  */
44281 #include <math.h>
44282 int
44283 main ()
44284 {
44285  powl(0, 0);
44286   ;
44287   return 0;
44288 }
44289 _ACEOF
44290 if ac_fn_cxx_try_compile "$LINENO"; then :
44291   glibcxx_cv_func_powl_use=yes
44292 else
44293   glibcxx_cv_func_powl_use=no
44294 fi
44295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44296       ac_ext=c
44297 ac_cpp='$CPP $CPPFLAGS'
44298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44301
44302
44303 fi
44304
44305   fi
44306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44307 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44308
44309   if test x$glibcxx_cv_func_powl_use = x"yes"; then
44310     for ac_func in powl
44311 do :
44312   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44313 if test "x$ac_cv_func_powl" = x""yes; then :
44314   cat >>confdefs.h <<_ACEOF
44315 #define HAVE_POWL 1
44316 _ACEOF
44317
44318 fi
44319 done
44320
44321   else
44322
44323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44324 $as_echo_n "checking for _powl declaration... " >&6; }
44325   if test x${glibcxx_cv_func__powl_use+set} != xset; then
44326     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44327   $as_echo_n "(cached) " >&6
44328 else
44329
44330
44331       ac_ext=cpp
44332 ac_cpp='$CXXCPP $CPPFLAGS'
44333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44336
44337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44338 /* end confdefs.h.  */
44339 #include <math.h>
44340 int
44341 main ()
44342 {
44343  _powl(0, 0);
44344   ;
44345   return 0;
44346 }
44347 _ACEOF
44348 if ac_fn_cxx_try_compile "$LINENO"; then :
44349   glibcxx_cv_func__powl_use=yes
44350 else
44351   glibcxx_cv_func__powl_use=no
44352 fi
44353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44354       ac_ext=c
44355 ac_cpp='$CPP $CPPFLAGS'
44356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44359
44360
44361 fi
44362
44363   fi
44364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44365 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44366
44367     if test x$glibcxx_cv_func__powl_use = x"yes"; then
44368       for ac_func in _powl
44369 do :
44370   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44371 if test "x$ac_cv_func__powl" = x""yes; then :
44372   cat >>confdefs.h <<_ACEOF
44373 #define HAVE__POWL 1
44374 _ACEOF
44375
44376 fi
44377 done
44378
44379     fi
44380   fi
44381
44382
44383
44384
44385
44386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44387 $as_echo_n "checking for sqrtl declaration... " >&6; }
44388   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44389     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44390   $as_echo_n "(cached) " >&6
44391 else
44392
44393
44394       ac_ext=cpp
44395 ac_cpp='$CXXCPP $CPPFLAGS'
44396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44399
44400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44401 /* end confdefs.h.  */
44402 #include <math.h>
44403                       #ifdef HAVE_IEEEFP_H
44404                       #include <ieeefp.h>
44405                       #endif
44406
44407 int
44408 main ()
44409 {
44410  sqrtl(0);
44411   ;
44412   return 0;
44413 }
44414 _ACEOF
44415 if ac_fn_cxx_try_compile "$LINENO"; then :
44416   glibcxx_cv_func_sqrtl_use=yes
44417 else
44418   glibcxx_cv_func_sqrtl_use=no
44419 fi
44420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44421       ac_ext=c
44422 ac_cpp='$CPP $CPPFLAGS'
44423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44426
44427
44428 fi
44429
44430   fi
44431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44432 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44433
44434   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44435     for ac_func in sqrtl
44436 do :
44437   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44438 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44439   cat >>confdefs.h <<_ACEOF
44440 #define HAVE_SQRTL 1
44441 _ACEOF
44442
44443 fi
44444 done
44445
44446   else
44447
44448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44449 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44450   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44451     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44452   $as_echo_n "(cached) " >&6
44453 else
44454
44455
44456       ac_ext=cpp
44457 ac_cpp='$CXXCPP $CPPFLAGS'
44458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44461
44462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44463 /* end confdefs.h.  */
44464 #include <math.h>
44465                       #ifdef HAVE_IEEEFP_H
44466                       #include <ieeefp.h>
44467                       #endif
44468
44469 int
44470 main ()
44471 {
44472  _sqrtl(0);
44473   ;
44474   return 0;
44475 }
44476 _ACEOF
44477 if ac_fn_cxx_try_compile "$LINENO"; then :
44478   glibcxx_cv_func__sqrtl_use=yes
44479 else
44480   glibcxx_cv_func__sqrtl_use=no
44481 fi
44482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44483       ac_ext=c
44484 ac_cpp='$CPP $CPPFLAGS'
44485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44488
44489
44490 fi
44491
44492   fi
44493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44494 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44495
44496     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44497       for ac_func in _sqrtl
44498 do :
44499   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44500 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44501   cat >>confdefs.h <<_ACEOF
44502 #define HAVE__SQRTL 1
44503 _ACEOF
44504
44505 fi
44506 done
44507
44508     fi
44509   fi
44510
44511
44512
44513
44514
44515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44516 $as_echo_n "checking for sincosl declaration... " >&6; }
44517   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44518     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44519   $as_echo_n "(cached) " >&6
44520 else
44521
44522
44523       ac_ext=cpp
44524 ac_cpp='$CXXCPP $CPPFLAGS'
44525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44528
44529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44530 /* end confdefs.h.  */
44531 #include <math.h>
44532 int
44533 main ()
44534 {
44535  sincosl(0, 0, 0);
44536   ;
44537   return 0;
44538 }
44539 _ACEOF
44540 if ac_fn_cxx_try_compile "$LINENO"; then :
44541   glibcxx_cv_func_sincosl_use=yes
44542 else
44543   glibcxx_cv_func_sincosl_use=no
44544 fi
44545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44546       ac_ext=c
44547 ac_cpp='$CPP $CPPFLAGS'
44548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44551
44552
44553 fi
44554
44555   fi
44556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44557 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44558
44559   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44560     for ac_func in sincosl
44561 do :
44562   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44563 if test "x$ac_cv_func_sincosl" = x""yes; then :
44564   cat >>confdefs.h <<_ACEOF
44565 #define HAVE_SINCOSL 1
44566 _ACEOF
44567
44568 fi
44569 done
44570
44571   else
44572
44573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44574 $as_echo_n "checking for _sincosl declaration... " >&6; }
44575   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44576     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44577   $as_echo_n "(cached) " >&6
44578 else
44579
44580
44581       ac_ext=cpp
44582 ac_cpp='$CXXCPP $CPPFLAGS'
44583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44586
44587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44588 /* end confdefs.h.  */
44589 #include <math.h>
44590 int
44591 main ()
44592 {
44593  _sincosl(0, 0, 0);
44594   ;
44595   return 0;
44596 }
44597 _ACEOF
44598 if ac_fn_cxx_try_compile "$LINENO"; then :
44599   glibcxx_cv_func__sincosl_use=yes
44600 else
44601   glibcxx_cv_func__sincosl_use=no
44602 fi
44603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44604       ac_ext=c
44605 ac_cpp='$CPP $CPPFLAGS'
44606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44609
44610
44611 fi
44612
44613   fi
44614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44615 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44616
44617     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44618       for ac_func in _sincosl
44619 do :
44620   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44621 if test "x$ac_cv_func__sincosl" = x""yes; then :
44622   cat >>confdefs.h <<_ACEOF
44623 #define HAVE__SINCOSL 1
44624 _ACEOF
44625
44626 fi
44627 done
44628
44629     fi
44630   fi
44631
44632
44633
44634
44635
44636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44637 $as_echo_n "checking for finitel declaration... " >&6; }
44638   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44639     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44640   $as_echo_n "(cached) " >&6
44641 else
44642
44643
44644       ac_ext=cpp
44645 ac_cpp='$CXXCPP $CPPFLAGS'
44646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44649
44650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44651 /* end confdefs.h.  */
44652 #include <math.h>
44653                       #ifdef HAVE_IEEEFP_H
44654                       #include <ieeefp.h>
44655                       #endif
44656
44657 int
44658 main ()
44659 {
44660  finitel(0);
44661   ;
44662   return 0;
44663 }
44664 _ACEOF
44665 if ac_fn_cxx_try_compile "$LINENO"; then :
44666   glibcxx_cv_func_finitel_use=yes
44667 else
44668   glibcxx_cv_func_finitel_use=no
44669 fi
44670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44671       ac_ext=c
44672 ac_cpp='$CPP $CPPFLAGS'
44673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44676
44677
44678 fi
44679
44680   fi
44681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44682 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44683
44684   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44685     for ac_func in finitel
44686 do :
44687   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44688 if test "x$ac_cv_func_finitel" = x""yes; then :
44689   cat >>confdefs.h <<_ACEOF
44690 #define HAVE_FINITEL 1
44691 _ACEOF
44692
44693 fi
44694 done
44695
44696   else
44697
44698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44699 $as_echo_n "checking for _finitel declaration... " >&6; }
44700   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44701     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44702   $as_echo_n "(cached) " >&6
44703 else
44704
44705
44706       ac_ext=cpp
44707 ac_cpp='$CXXCPP $CPPFLAGS'
44708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44711
44712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44713 /* end confdefs.h.  */
44714 #include <math.h>
44715                       #ifdef HAVE_IEEEFP_H
44716                       #include <ieeefp.h>
44717                       #endif
44718
44719 int
44720 main ()
44721 {
44722  _finitel(0);
44723   ;
44724   return 0;
44725 }
44726 _ACEOF
44727 if ac_fn_cxx_try_compile "$LINENO"; then :
44728   glibcxx_cv_func__finitel_use=yes
44729 else
44730   glibcxx_cv_func__finitel_use=no
44731 fi
44732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44733       ac_ext=c
44734 ac_cpp='$CPP $CPPFLAGS'
44735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44738
44739
44740 fi
44741
44742   fi
44743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44744 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44745
44746     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44747       for ac_func in _finitel
44748 do :
44749   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44750 if test "x$ac_cv_func__finitel" = x""yes; then :
44751   cat >>confdefs.h <<_ACEOF
44752 #define HAVE__FINITEL 1
44753 _ACEOF
44754
44755 fi
44756 done
44757
44758     fi
44759   fi
44760
44761
44762
44763
44764   LIBS="$ac_save_LIBS"
44765   CXXFLAGS="$ac_save_CXXFLAGS"
44766
44767
44768   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44769   ac_save_CXXFLAGS="$CXXFLAGS"
44770   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44771
44772
44773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44774 $as_echo_n "checking for strtold declaration... " >&6; }
44775   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44776     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44777   $as_echo_n "(cached) " >&6
44778 else
44779
44780
44781       ac_ext=cpp
44782 ac_cpp='$CXXCPP $CPPFLAGS'
44783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44786
44787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44788 /* end confdefs.h.  */
44789 #include <stdlib.h>
44790 int
44791 main ()
44792 {
44793  strtold(0, 0);
44794   ;
44795   return 0;
44796 }
44797 _ACEOF
44798 if ac_fn_cxx_try_compile "$LINENO"; then :
44799   glibcxx_cv_func_strtold_use=yes
44800 else
44801   glibcxx_cv_func_strtold_use=no
44802 fi
44803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44804       ac_ext=c
44805 ac_cpp='$CPP $CPPFLAGS'
44806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44809
44810
44811 fi
44812
44813   fi
44814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44815 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44816   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44817     for ac_func in strtold
44818 do :
44819   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44820 if test "x$ac_cv_func_strtold" = x""yes; then :
44821   cat >>confdefs.h <<_ACEOF
44822 #define HAVE_STRTOLD 1
44823 _ACEOF
44824
44825 fi
44826 done
44827
44828   fi
44829
44830
44831
44832
44833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44834 $as_echo_n "checking for strtof declaration... " >&6; }
44835   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44836     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44837   $as_echo_n "(cached) " >&6
44838 else
44839
44840
44841       ac_ext=cpp
44842 ac_cpp='$CXXCPP $CPPFLAGS'
44843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44846
44847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44848 /* end confdefs.h.  */
44849 #include <stdlib.h>
44850 int
44851 main ()
44852 {
44853  strtof(0, 0);
44854   ;
44855   return 0;
44856 }
44857 _ACEOF
44858 if ac_fn_cxx_try_compile "$LINENO"; then :
44859   glibcxx_cv_func_strtof_use=yes
44860 else
44861   glibcxx_cv_func_strtof_use=no
44862 fi
44863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44864       ac_ext=c
44865 ac_cpp='$CPP $CPPFLAGS'
44866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44869
44870
44871 fi
44872
44873   fi
44874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44875 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44876   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44877     for ac_func in strtof
44878 do :
44879   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44880 if test "x$ac_cv_func_strtof" = x""yes; then :
44881   cat >>confdefs.h <<_ACEOF
44882 #define HAVE_STRTOF 1
44883 _ACEOF
44884
44885 fi
44886 done
44887
44888   fi
44889
44890
44891
44892
44893   CXXFLAGS="$ac_save_CXXFLAGS"
44894
44895     ;;
44896
44897   *djgpp)
44898     # GLIBCXX_CHECK_MATH_SUPPORT
44899     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44900
44901     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44902
44903     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44904
44905     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44906
44907     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44908
44909     ;;
44910
44911   *-freebsd*)
44912     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44913
44914
44915   # If we're not using GNU ld, then there's no point in even trying these
44916   # tests.  Check for that first.  We should have already tested for gld
44917   # by now (in libtool), but require it now just to be safe...
44918   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44919   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44920
44921
44922
44923   # The name set by libtool depends on the version of libtool.  Shame on us
44924   # for depending on an impl detail, but c'est la vie.  Older versions used
44925   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44926   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44927   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44928   # set (hence we're using an older libtool), then set it.
44929   if test x${with_gnu_ld+set} != xset; then
44930     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44931       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44932       with_gnu_ld=no
44933     else
44934       with_gnu_ld=$ac_cv_prog_gnu_ld
44935     fi
44936   fi
44937
44938   # Start by getting the version number.  I think the libtool test already
44939   # does some of this, but throws away the result.
44940   glibcxx_ld_is_gold=no
44941   if test x"$with_gnu_ld" = x"yes"; then
44942     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44943 $as_echo_n "checking for ld version... " >&6; }
44944
44945     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44946       glibcxx_ld_is_gold=yes
44947     fi
44948     ldver=`$LD --version 2>/dev/null |
44949            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'`
44950
44951     glibcxx_gnu_ld_version=`echo $ldver | \
44952            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44953     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44954 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44955   fi
44956
44957   # Set --gc-sections.
44958   glibcxx_have_gc_sections=no
44959   if test "$glibcxx_ld_is_gold" = "yes"; then
44960     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44961       glibcxx_have_gc_sections=yes
44962     fi
44963   else
44964     glibcxx_gcsections_min_ld=21602
44965     if test x"$with_gnu_ld" = x"yes" &&
44966         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44967       glibcxx_have_gc_sections=yes
44968     fi
44969   fi
44970   if test "$glibcxx_have_gc_sections" = "yes"; then
44971     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44972     # NB: This flag only works reliably after 2.16.1. Configure tests
44973     # for this are difficult, so hard wire a value that should work.
44974
44975     ac_test_CFLAGS="${CFLAGS+set}"
44976     ac_save_CFLAGS="$CFLAGS"
44977     CFLAGS='-Wl,--gc-sections'
44978
44979     # Check for -Wl,--gc-sections
44980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44981 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44982     if test x$gcc_no_link = xyes; then
44983   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44984 fi
44985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44986 /* end confdefs.h.  */
44987  int one(void) { return 1; }
44988      int two(void) { return 2; }
44989
44990 int
44991 main ()
44992 {
44993  two();
44994   ;
44995   return 0;
44996 }
44997 _ACEOF
44998 if ac_fn_c_try_link "$LINENO"; then :
44999   ac_gcsections=yes
45000 else
45001   ac_gcsections=no
45002 fi
45003 rm -f core conftest.err conftest.$ac_objext \
45004     conftest$ac_exeext conftest.$ac_ext
45005     if test "$ac_gcsections" = "yes"; then
45006       rm -f conftest.c
45007       touch conftest.c
45008       if $CC -c conftest.c; then
45009         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45010            grep "Warning: gc-sections option ignored" > /dev/null; then
45011           ac_gcsections=no
45012         fi
45013       fi
45014       rm -f conftest.c conftest.o conftest
45015     fi
45016     if test "$ac_gcsections" = "yes"; then
45017       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45018     fi
45019     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45020 $as_echo "$ac_gcsections" >&6; }
45021
45022     if test "$ac_test_CFLAGS" = set; then
45023       CFLAGS="$ac_save_CFLAGS"
45024     else
45025       # this is the suspicious part
45026       CFLAGS=''
45027     fi
45028   fi
45029
45030   # Set -z,relro.
45031   # Note this is only for shared objects.
45032   ac_ld_relro=no
45033   if test x"$with_gnu_ld" = x"yes"; then
45034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45035 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45036     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45037     if test -n "$cxx_z_relo"; then
45038       OPT_LDFLAGS="-Wl,-z,relro"
45039       ac_ld_relro=yes
45040     fi
45041     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45042 $as_echo "$ac_ld_relro" >&6; }
45043   fi
45044
45045   # Set linker optimization flags.
45046   if test x"$with_gnu_ld" = x"yes"; then
45047     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45048   fi
45049
45050
45051
45052
45053     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45054
45055     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45056
45057     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45058
45059     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45060
45061     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45062
45063     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45064
45065     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45066
45067     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45068
45069     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45070
45071
45072     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45073
45074     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45075
45076     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45077
45078     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45079
45080     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45081
45082     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45083
45084     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45085
45086     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45087
45088     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45089
45090     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45091
45092     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45093
45094     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45095
45096     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45097
45098     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45099
45100     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45101
45102     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45103
45104     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45105
45106     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45107
45108     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45109
45110     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45111
45112     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45113
45114     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45115
45116     if test x"long_double_math_on_this_cpu" = x"yes"; then
45117       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45118
45119       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45120
45121       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45122
45123     fi
45124     ;;
45125   *-hpux*)
45126     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45127
45128
45129   # If we're not using GNU ld, then there's no point in even trying these
45130   # tests.  Check for that first.  We should have already tested for gld
45131   # by now (in libtool), but require it now just to be safe...
45132   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45133   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45134
45135
45136
45137   # The name set by libtool depends on the version of libtool.  Shame on us
45138   # for depending on an impl detail, but c'est la vie.  Older versions used
45139   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45140   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45141   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45142   # set (hence we're using an older libtool), then set it.
45143   if test x${with_gnu_ld+set} != xset; then
45144     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45145       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45146       with_gnu_ld=no
45147     else
45148       with_gnu_ld=$ac_cv_prog_gnu_ld
45149     fi
45150   fi
45151
45152   # Start by getting the version number.  I think the libtool test already
45153   # does some of this, but throws away the result.
45154   glibcxx_ld_is_gold=no
45155   if test x"$with_gnu_ld" = x"yes"; then
45156     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45157 $as_echo_n "checking for ld version... " >&6; }
45158
45159     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45160       glibcxx_ld_is_gold=yes
45161     fi
45162     ldver=`$LD --version 2>/dev/null |
45163            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'`
45164
45165     glibcxx_gnu_ld_version=`echo $ldver | \
45166            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45168 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45169   fi
45170
45171   # Set --gc-sections.
45172   glibcxx_have_gc_sections=no
45173   if test "$glibcxx_ld_is_gold" = "yes"; then
45174     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45175       glibcxx_have_gc_sections=yes
45176     fi
45177   else
45178     glibcxx_gcsections_min_ld=21602
45179     if test x"$with_gnu_ld" = x"yes" &&
45180         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45181       glibcxx_have_gc_sections=yes
45182     fi
45183   fi
45184   if test "$glibcxx_have_gc_sections" = "yes"; then
45185     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45186     # NB: This flag only works reliably after 2.16.1. Configure tests
45187     # for this are difficult, so hard wire a value that should work.
45188
45189     ac_test_CFLAGS="${CFLAGS+set}"
45190     ac_save_CFLAGS="$CFLAGS"
45191     CFLAGS='-Wl,--gc-sections'
45192
45193     # Check for -Wl,--gc-sections
45194     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45195 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45196     if test x$gcc_no_link = xyes; then
45197   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45198 fi
45199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45200 /* end confdefs.h.  */
45201  int one(void) { return 1; }
45202      int two(void) { return 2; }
45203
45204 int
45205 main ()
45206 {
45207  two();
45208   ;
45209   return 0;
45210 }
45211 _ACEOF
45212 if ac_fn_c_try_link "$LINENO"; then :
45213   ac_gcsections=yes
45214 else
45215   ac_gcsections=no
45216 fi
45217 rm -f core conftest.err conftest.$ac_objext \
45218     conftest$ac_exeext conftest.$ac_ext
45219     if test "$ac_gcsections" = "yes"; then
45220       rm -f conftest.c
45221       touch conftest.c
45222       if $CC -c conftest.c; then
45223         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45224            grep "Warning: gc-sections option ignored" > /dev/null; then
45225           ac_gcsections=no
45226         fi
45227       fi
45228       rm -f conftest.c conftest.o conftest
45229     fi
45230     if test "$ac_gcsections" = "yes"; then
45231       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45232     fi
45233     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45234 $as_echo "$ac_gcsections" >&6; }
45235
45236     if test "$ac_test_CFLAGS" = set; then
45237       CFLAGS="$ac_save_CFLAGS"
45238     else
45239       # this is the suspicious part
45240       CFLAGS=''
45241     fi
45242   fi
45243
45244   # Set -z,relro.
45245   # Note this is only for shared objects.
45246   ac_ld_relro=no
45247   if test x"$with_gnu_ld" = x"yes"; then
45248     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45249 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45250     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45251     if test -n "$cxx_z_relo"; then
45252       OPT_LDFLAGS="-Wl,-z,relro"
45253       ac_ld_relro=yes
45254     fi
45255     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45256 $as_echo "$ac_ld_relro" >&6; }
45257   fi
45258
45259   # Set linker optimization flags.
45260   if test x"$with_gnu_ld" = x"yes"; then
45261     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45262   fi
45263
45264
45265
45266
45267
45268     # GLIBCXX_CHECK_MATH_SUPPORT
45269     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45270
45271     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45272
45273     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45274
45275     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45276
45277     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45278
45279     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45280
45281     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45282
45283     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45284
45285     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45286
45287     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45288
45289     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45290
45291     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45292
45293     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45294
45295     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45296
45297     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45298
45299     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45300
45301     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45302
45303     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45304
45305     $as_echo "#define HAVE_MODF 1" >>confdefs.h
45306
45307     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45308
45309     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45310
45311
45312     # GLIBCXX_CHECK_STDLIB_SUPPORT
45313     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45314
45315
45316
45317
45318    # Check whether --enable-tls was given.
45319 if test "${enable_tls+set}" = set; then :
45320   enableval=$enable_tls;
45321       case "$enableval" in
45322        yes|no) ;;
45323        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45324       esac
45325
45326 else
45327   enable_tls=yes
45328 fi
45329
45330
45331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45332 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45333 if test "${gcc_cv_have_tls+set}" = set; then :
45334   $as_echo_n "(cached) " >&6
45335 else
45336
45337     if test "$cross_compiling" = yes; then :
45338                 if test x$gcc_no_link = xyes; then
45339   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45340 fi
45341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45342 /* end confdefs.h.  */
45343 __thread int a; int b; int main() { return a = b; }
45344 _ACEOF
45345 if ac_fn_c_try_link "$LINENO"; then :
45346   chktls_save_LDFLAGS="$LDFLAGS"
45347                           case $host in
45348             *-*-linux*)
45349               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45350               ;;
45351           esac
45352           chktls_save_CFLAGS="$CFLAGS"
45353           CFLAGS="-fPIC $CFLAGS"
45354                   if test x$gcc_no_link = xyes; then
45355   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45356 fi
45357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45358 /* end confdefs.h.  */
45359 int f() { return 0; }
45360 _ACEOF
45361 if ac_fn_c_try_link "$LINENO"; then :
45362   if test x$gcc_no_link = xyes; then
45363   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45364 fi
45365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45366 /* end confdefs.h.  */
45367 __thread int a; int b; int f() { return a = b; }
45368 _ACEOF
45369 if ac_fn_c_try_link "$LINENO"; then :
45370   gcc_cv_have_tls=yes
45371 else
45372   gcc_cv_have_tls=no
45373 fi
45374 rm -f core conftest.err conftest.$ac_objext \
45375     conftest$ac_exeext conftest.$ac_ext
45376 else
45377   gcc_cv_have_tls=yes
45378 fi
45379 rm -f core conftest.err conftest.$ac_objext \
45380     conftest$ac_exeext conftest.$ac_ext
45381           CFLAGS="$chktls_save_CFLAGS"
45382           LDFLAGS="$chktls_save_LDFLAGS"
45383 else
45384   gcc_cv_have_tls=no
45385 fi
45386 rm -f core conftest.err conftest.$ac_objext \
45387     conftest$ac_exeext conftest.$ac_ext
45388
45389
45390 else
45391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45392 /* end confdefs.h.  */
45393 __thread int a; int b; int main() { return a = b; }
45394 _ACEOF
45395 if ac_fn_c_try_run "$LINENO"; then :
45396                       chktls_save_LDFLAGS="$LDFLAGS"
45397       LDFLAGS="-static $LDFLAGS"
45398       if test x$gcc_no_link = xyes; then
45399   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45400 fi
45401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45402 /* end confdefs.h.  */
45403 int main() { return 0; }
45404 _ACEOF
45405 if ac_fn_c_try_link "$LINENO"; then :
45406   if test "$cross_compiling" = yes; then :
45407   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45409 as_fn_error "cannot run test program while cross compiling
45410 See \`config.log' for more details." "$LINENO" 5; }
45411 else
45412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45413 /* end confdefs.h.  */
45414 __thread int a; int b; int main() { return a = b; }
45415 _ACEOF
45416 if ac_fn_c_try_run "$LINENO"; then :
45417   gcc_cv_have_tls=yes
45418 else
45419   gcc_cv_have_tls=no
45420 fi
45421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45422   conftest.$ac_objext conftest.beam conftest.$ac_ext
45423 fi
45424
45425 else
45426   gcc_cv_have_tls=yes
45427 fi
45428 rm -f core conftest.err conftest.$ac_objext \
45429     conftest$ac_exeext conftest.$ac_ext
45430       LDFLAGS="$chktls_save_LDFLAGS"
45431       if test $gcc_cv_have_tls = yes; then
45432                                                 chktls_save_CFLAGS="$CFLAGS"
45433         thread_CFLAGS=failed
45434         for flag in '' '-pthread' '-lpthread'; do
45435           CFLAGS="$flag $chktls_save_CFLAGS"
45436           if test x$gcc_no_link = xyes; then
45437   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45438 fi
45439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45440 /* end confdefs.h.  */
45441 #include <pthread.h>
45442                 void *g(void *d) { return NULL; }
45443 int
45444 main ()
45445 {
45446 pthread_t t; pthread_create(&t,NULL,g,NULL);
45447   ;
45448   return 0;
45449 }
45450 _ACEOF
45451 if ac_fn_c_try_link "$LINENO"; then :
45452   thread_CFLAGS="$flag"
45453 fi
45454 rm -f core conftest.err conftest.$ac_objext \
45455     conftest$ac_exeext conftest.$ac_ext
45456           if test "X$thread_CFLAGS" != Xfailed; then
45457             break
45458           fi
45459         done
45460         CFLAGS="$chktls_save_CFLAGS"
45461         if test "X$thread_CFLAGS" != Xfailed; then
45462           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45463                                                   if test "$cross_compiling" = yes; then :
45464   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45466 as_fn_error "cannot run test program while cross compiling
45467 See \`config.log' for more details." "$LINENO" 5; }
45468 else
45469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45470 /* end confdefs.h.  */
45471 #include <pthread.h>
45472                 __thread int a;
45473                 static int *volatile a_in_other_thread;
45474                 static void *
45475                 thread_func (void *arg)
45476                 {
45477                   a_in_other_thread = &a;
45478                   return (void *)0;
45479                 }
45480 int
45481 main ()
45482 {
45483 pthread_t thread;
45484                 void *thread_retval;
45485                 int *volatile a_in_main_thread;
45486                 a_in_main_thread = &a;
45487                 if (pthread_create (&thread, (pthread_attr_t *)0,
45488                                     thread_func, (void *)0))
45489                   return 0;
45490                 if (pthread_join (thread, &thread_retval))
45491                   return 0;
45492                 return (a_in_other_thread == a_in_main_thread);
45493   ;
45494   return 0;
45495 }
45496 _ACEOF
45497 if ac_fn_c_try_run "$LINENO"; then :
45498   gcc_cv_have_tls=yes
45499 else
45500   gcc_cv_have_tls=no
45501 fi
45502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45503   conftest.$ac_objext conftest.beam conftest.$ac_ext
45504 fi
45505
45506           CFLAGS="$chktls_save_CFLAGS"
45507         fi
45508       fi
45509 else
45510   gcc_cv_have_tls=no
45511 fi
45512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45513   conftest.$ac_objext conftest.beam conftest.$ac_ext
45514 fi
45515
45516 fi
45517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45518 $as_echo "$gcc_cv_have_tls" >&6; }
45519   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45520
45521 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45522
45523   fi
45524     case "$target" in
45525       *-hpux10*)
45526         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45527
45528         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45529
45530         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45531
45532         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45533
45534         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45535
45536         ;;
45537     esac
45538     ;;
45539   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45540
45541   # All these tests are for C++; save the language and the compiler flags.
45542   # The CXXFLAGS thing is suspicious, but based on similar bits previously
45543   # found in GLIBCXX_CONFIGURE.
45544
45545   ac_ext=cpp
45546 ac_cpp='$CXXCPP $CPPFLAGS'
45547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45550
45551   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45552   ac_save_CXXFLAGS="$CXXFLAGS"
45553
45554   # Check for maintainer-mode bits.
45555   if test x"$USE_MAINTAINER_MODE" = xno; then
45556     WERROR=''
45557   else
45558     WERROR='-Werror'
45559   fi
45560
45561   # Check for -ffunction-sections -fdata-sections
45562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45563 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45564   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45566 /* end confdefs.h.  */
45567 int foo; void bar() { };
45568 int
45569 main ()
45570 {
45571
45572   ;
45573   return 0;
45574 }
45575 _ACEOF
45576 if ac_fn_cxx_try_compile "$LINENO"; then :
45577   ac_fdsections=yes
45578 else
45579   ac_fdsections=no
45580 fi
45581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45582   if test "$ac_test_CXXFLAGS" = set; then
45583     CXXFLAGS="$ac_save_CXXFLAGS"
45584   else
45585     # this is the suspicious part
45586     CXXFLAGS=''
45587   fi
45588   if test x"$ac_fdsections" = x"yes"; then
45589     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45590   fi
45591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45592 $as_echo "$ac_fdsections" >&6; }
45593
45594   ac_ext=c
45595 ac_cpp='$CPP $CPPFLAGS'
45596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45599
45600
45601
45602
45603
45604   # If we're not using GNU ld, then there's no point in even trying these
45605   # tests.  Check for that first.  We should have already tested for gld
45606   # by now (in libtool), but require it now just to be safe...
45607   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45608   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45609
45610
45611
45612   # The name set by libtool depends on the version of libtool.  Shame on us
45613   # for depending on an impl detail, but c'est la vie.  Older versions used
45614   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45615   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45616   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45617   # set (hence we're using an older libtool), then set it.
45618   if test x${with_gnu_ld+set} != xset; then
45619     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45620       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45621       with_gnu_ld=no
45622     else
45623       with_gnu_ld=$ac_cv_prog_gnu_ld
45624     fi
45625   fi
45626
45627   # Start by getting the version number.  I think the libtool test already
45628   # does some of this, but throws away the result.
45629   glibcxx_ld_is_gold=no
45630   if test x"$with_gnu_ld" = x"yes"; then
45631     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45632 $as_echo_n "checking for ld version... " >&6; }
45633
45634     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45635       glibcxx_ld_is_gold=yes
45636     fi
45637     ldver=`$LD --version 2>/dev/null |
45638            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'`
45639
45640     glibcxx_gnu_ld_version=`echo $ldver | \
45641            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45642     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45643 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45644   fi
45645
45646   # Set --gc-sections.
45647   glibcxx_have_gc_sections=no
45648   if test "$glibcxx_ld_is_gold" = "yes"; then
45649     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45650       glibcxx_have_gc_sections=yes
45651     fi
45652   else
45653     glibcxx_gcsections_min_ld=21602
45654     if test x"$with_gnu_ld" = x"yes" &&
45655         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45656       glibcxx_have_gc_sections=yes
45657     fi
45658   fi
45659   if test "$glibcxx_have_gc_sections" = "yes"; then
45660     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45661     # NB: This flag only works reliably after 2.16.1. Configure tests
45662     # for this are difficult, so hard wire a value that should work.
45663
45664     ac_test_CFLAGS="${CFLAGS+set}"
45665     ac_save_CFLAGS="$CFLAGS"
45666     CFLAGS='-Wl,--gc-sections'
45667
45668     # Check for -Wl,--gc-sections
45669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45670 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45671     if test x$gcc_no_link = xyes; then
45672   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45673 fi
45674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45675 /* end confdefs.h.  */
45676  int one(void) { return 1; }
45677      int two(void) { return 2; }
45678
45679 int
45680 main ()
45681 {
45682  two();
45683   ;
45684   return 0;
45685 }
45686 _ACEOF
45687 if ac_fn_c_try_link "$LINENO"; then :
45688   ac_gcsections=yes
45689 else
45690   ac_gcsections=no
45691 fi
45692 rm -f core conftest.err conftest.$ac_objext \
45693     conftest$ac_exeext conftest.$ac_ext
45694     if test "$ac_gcsections" = "yes"; then
45695       rm -f conftest.c
45696       touch conftest.c
45697       if $CC -c conftest.c; then
45698         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45699            grep "Warning: gc-sections option ignored" > /dev/null; then
45700           ac_gcsections=no
45701         fi
45702       fi
45703       rm -f conftest.c conftest.o conftest
45704     fi
45705     if test "$ac_gcsections" = "yes"; then
45706       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45707     fi
45708     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45709 $as_echo "$ac_gcsections" >&6; }
45710
45711     if test "$ac_test_CFLAGS" = set; then
45712       CFLAGS="$ac_save_CFLAGS"
45713     else
45714       # this is the suspicious part
45715       CFLAGS=''
45716     fi
45717   fi
45718
45719   # Set -z,relro.
45720   # Note this is only for shared objects.
45721   ac_ld_relro=no
45722   if test x"$with_gnu_ld" = x"yes"; then
45723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45724 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45725     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45726     if test -n "$cxx_z_relo"; then
45727       OPT_LDFLAGS="-Wl,-z,relro"
45728       ac_ld_relro=yes
45729     fi
45730     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45731 $as_echo "$ac_ld_relro" >&6; }
45732   fi
45733
45734   # Set linker optimization flags.
45735   if test x"$with_gnu_ld" = x"yes"; then
45736     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45737   fi
45738
45739
45740
45741
45742
45743   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45744   ac_save_CXXFLAGS="$CXXFLAGS"
45745   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45746
45747     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45748 $as_echo_n "checking for sin in -lm... " >&6; }
45749 if test "${ac_cv_lib_m_sin+set}" = set; then :
45750   $as_echo_n "(cached) " >&6
45751 else
45752   ac_check_lib_save_LIBS=$LIBS
45753 LIBS="-lm  $LIBS"
45754 if test x$gcc_no_link = xyes; then
45755   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45756 fi
45757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45758 /* end confdefs.h.  */
45759
45760 /* Override any GCC internal prototype to avoid an error.
45761    Use char because int might match the return type of a GCC
45762    builtin and then its argument prototype would still apply.  */
45763 #ifdef __cplusplus
45764 extern "C"
45765 #endif
45766 char sin ();
45767 int
45768 main ()
45769 {
45770 return sin ();
45771   ;
45772   return 0;
45773 }
45774 _ACEOF
45775 if ac_fn_c_try_link "$LINENO"; then :
45776   ac_cv_lib_m_sin=yes
45777 else
45778   ac_cv_lib_m_sin=no
45779 fi
45780 rm -f core conftest.err conftest.$ac_objext \
45781     conftest$ac_exeext conftest.$ac_ext
45782 LIBS=$ac_check_lib_save_LIBS
45783 fi
45784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45785 $as_echo "$ac_cv_lib_m_sin" >&6; }
45786 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45787   libm="-lm"
45788 fi
45789
45790   ac_save_LIBS="$LIBS"
45791   LIBS="$LIBS $libm"
45792
45793
45794
45795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45796 $as_echo_n "checking for isinf declaration... " >&6; }
45797   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45798     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45799   $as_echo_n "(cached) " >&6
45800 else
45801
45802
45803       ac_ext=cpp
45804 ac_cpp='$CXXCPP $CPPFLAGS'
45805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45808
45809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45810 /* end confdefs.h.  */
45811 #include <math.h>
45812                       #ifdef HAVE_IEEEFP_H
45813                       #include <ieeefp.h>
45814                       #endif
45815
45816 int
45817 main ()
45818 {
45819  isinf(0);
45820   ;
45821   return 0;
45822 }
45823 _ACEOF
45824 if ac_fn_cxx_try_compile "$LINENO"; then :
45825   glibcxx_cv_func_isinf_use=yes
45826 else
45827   glibcxx_cv_func_isinf_use=no
45828 fi
45829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45830       ac_ext=c
45831 ac_cpp='$CPP $CPPFLAGS'
45832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45835
45836
45837 fi
45838
45839   fi
45840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45841 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45842
45843   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45844     for ac_func in isinf
45845 do :
45846   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45847 if test "x$ac_cv_func_isinf" = x""yes; then :
45848   cat >>confdefs.h <<_ACEOF
45849 #define HAVE_ISINF 1
45850 _ACEOF
45851
45852 fi
45853 done
45854
45855   else
45856
45857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45858 $as_echo_n "checking for _isinf declaration... " >&6; }
45859   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45860     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45861   $as_echo_n "(cached) " >&6
45862 else
45863
45864
45865       ac_ext=cpp
45866 ac_cpp='$CXXCPP $CPPFLAGS'
45867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45870
45871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45872 /* end confdefs.h.  */
45873 #include <math.h>
45874                       #ifdef HAVE_IEEEFP_H
45875                       #include <ieeefp.h>
45876                       #endif
45877
45878 int
45879 main ()
45880 {
45881  _isinf(0);
45882   ;
45883   return 0;
45884 }
45885 _ACEOF
45886 if ac_fn_cxx_try_compile "$LINENO"; then :
45887   glibcxx_cv_func__isinf_use=yes
45888 else
45889   glibcxx_cv_func__isinf_use=no
45890 fi
45891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45892       ac_ext=c
45893 ac_cpp='$CPP $CPPFLAGS'
45894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45897
45898
45899 fi
45900
45901   fi
45902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45903 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45904
45905     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45906       for ac_func in _isinf
45907 do :
45908   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45909 if test "x$ac_cv_func__isinf" = x""yes; then :
45910   cat >>confdefs.h <<_ACEOF
45911 #define HAVE__ISINF 1
45912 _ACEOF
45913
45914 fi
45915 done
45916
45917     fi
45918   fi
45919
45920
45921
45922
45923
45924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45925 $as_echo_n "checking for isnan declaration... " >&6; }
45926   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45927     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45928   $as_echo_n "(cached) " >&6
45929 else
45930
45931
45932       ac_ext=cpp
45933 ac_cpp='$CXXCPP $CPPFLAGS'
45934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45937
45938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45939 /* end confdefs.h.  */
45940 #include <math.h>
45941                       #ifdef HAVE_IEEEFP_H
45942                       #include <ieeefp.h>
45943                       #endif
45944
45945 int
45946 main ()
45947 {
45948  isnan(0);
45949   ;
45950   return 0;
45951 }
45952 _ACEOF
45953 if ac_fn_cxx_try_compile "$LINENO"; then :
45954   glibcxx_cv_func_isnan_use=yes
45955 else
45956   glibcxx_cv_func_isnan_use=no
45957 fi
45958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45959       ac_ext=c
45960 ac_cpp='$CPP $CPPFLAGS'
45961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45964
45965
45966 fi
45967
45968   fi
45969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45970 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45971
45972   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45973     for ac_func in isnan
45974 do :
45975   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45976 if test "x$ac_cv_func_isnan" = x""yes; then :
45977   cat >>confdefs.h <<_ACEOF
45978 #define HAVE_ISNAN 1
45979 _ACEOF
45980
45981 fi
45982 done
45983
45984   else
45985
45986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45987 $as_echo_n "checking for _isnan declaration... " >&6; }
45988   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45989     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45990   $as_echo_n "(cached) " >&6
45991 else
45992
45993
45994       ac_ext=cpp
45995 ac_cpp='$CXXCPP $CPPFLAGS'
45996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45999
46000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46001 /* end confdefs.h.  */
46002 #include <math.h>
46003                       #ifdef HAVE_IEEEFP_H
46004                       #include <ieeefp.h>
46005                       #endif
46006
46007 int
46008 main ()
46009 {
46010  _isnan(0);
46011   ;
46012   return 0;
46013 }
46014 _ACEOF
46015 if ac_fn_cxx_try_compile "$LINENO"; then :
46016   glibcxx_cv_func__isnan_use=yes
46017 else
46018   glibcxx_cv_func__isnan_use=no
46019 fi
46020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46021       ac_ext=c
46022 ac_cpp='$CPP $CPPFLAGS'
46023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46026
46027
46028 fi
46029
46030   fi
46031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46032 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46033
46034     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46035       for ac_func in _isnan
46036 do :
46037   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46038 if test "x$ac_cv_func__isnan" = x""yes; then :
46039   cat >>confdefs.h <<_ACEOF
46040 #define HAVE__ISNAN 1
46041 _ACEOF
46042
46043 fi
46044 done
46045
46046     fi
46047   fi
46048
46049
46050
46051
46052
46053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46054 $as_echo_n "checking for finite declaration... " >&6; }
46055   if test x${glibcxx_cv_func_finite_use+set} != xset; then
46056     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46057   $as_echo_n "(cached) " >&6
46058 else
46059
46060
46061       ac_ext=cpp
46062 ac_cpp='$CXXCPP $CPPFLAGS'
46063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46066
46067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46068 /* end confdefs.h.  */
46069 #include <math.h>
46070                       #ifdef HAVE_IEEEFP_H
46071                       #include <ieeefp.h>
46072                       #endif
46073
46074 int
46075 main ()
46076 {
46077  finite(0);
46078   ;
46079   return 0;
46080 }
46081 _ACEOF
46082 if ac_fn_cxx_try_compile "$LINENO"; then :
46083   glibcxx_cv_func_finite_use=yes
46084 else
46085   glibcxx_cv_func_finite_use=no
46086 fi
46087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46088       ac_ext=c
46089 ac_cpp='$CPP $CPPFLAGS'
46090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46093
46094
46095 fi
46096
46097   fi
46098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46099 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46100
46101   if test x$glibcxx_cv_func_finite_use = x"yes"; then
46102     for ac_func in finite
46103 do :
46104   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46105 if test "x$ac_cv_func_finite" = x""yes; then :
46106   cat >>confdefs.h <<_ACEOF
46107 #define HAVE_FINITE 1
46108 _ACEOF
46109
46110 fi
46111 done
46112
46113   else
46114
46115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46116 $as_echo_n "checking for _finite declaration... " >&6; }
46117   if test x${glibcxx_cv_func__finite_use+set} != xset; then
46118     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46119   $as_echo_n "(cached) " >&6
46120 else
46121
46122
46123       ac_ext=cpp
46124 ac_cpp='$CXXCPP $CPPFLAGS'
46125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46128
46129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46130 /* end confdefs.h.  */
46131 #include <math.h>
46132                       #ifdef HAVE_IEEEFP_H
46133                       #include <ieeefp.h>
46134                       #endif
46135
46136 int
46137 main ()
46138 {
46139  _finite(0);
46140   ;
46141   return 0;
46142 }
46143 _ACEOF
46144 if ac_fn_cxx_try_compile "$LINENO"; then :
46145   glibcxx_cv_func__finite_use=yes
46146 else
46147   glibcxx_cv_func__finite_use=no
46148 fi
46149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46150       ac_ext=c
46151 ac_cpp='$CPP $CPPFLAGS'
46152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46155
46156
46157 fi
46158
46159   fi
46160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46161 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46162
46163     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46164       for ac_func in _finite
46165 do :
46166   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46167 if test "x$ac_cv_func__finite" = x""yes; then :
46168   cat >>confdefs.h <<_ACEOF
46169 #define HAVE__FINITE 1
46170 _ACEOF
46171
46172 fi
46173 done
46174
46175     fi
46176   fi
46177
46178
46179
46180
46181
46182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46183 $as_echo_n "checking for sincos declaration... " >&6; }
46184   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46185     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46186   $as_echo_n "(cached) " >&6
46187 else
46188
46189
46190       ac_ext=cpp
46191 ac_cpp='$CXXCPP $CPPFLAGS'
46192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46195
46196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46197 /* end confdefs.h.  */
46198 #include <math.h>
46199 int
46200 main ()
46201 {
46202  sincos(0, 0, 0);
46203   ;
46204   return 0;
46205 }
46206 _ACEOF
46207 if ac_fn_cxx_try_compile "$LINENO"; then :
46208   glibcxx_cv_func_sincos_use=yes
46209 else
46210   glibcxx_cv_func_sincos_use=no
46211 fi
46212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46213       ac_ext=c
46214 ac_cpp='$CPP $CPPFLAGS'
46215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46218
46219
46220 fi
46221
46222   fi
46223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46224 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46225
46226   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46227     for ac_func in sincos
46228 do :
46229   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46230 if test "x$ac_cv_func_sincos" = x""yes; then :
46231   cat >>confdefs.h <<_ACEOF
46232 #define HAVE_SINCOS 1
46233 _ACEOF
46234
46235 fi
46236 done
46237
46238   else
46239
46240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46241 $as_echo_n "checking for _sincos declaration... " >&6; }
46242   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46243     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46244   $as_echo_n "(cached) " >&6
46245 else
46246
46247
46248       ac_ext=cpp
46249 ac_cpp='$CXXCPP $CPPFLAGS'
46250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46253
46254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46255 /* end confdefs.h.  */
46256 #include <math.h>
46257 int
46258 main ()
46259 {
46260  _sincos(0, 0, 0);
46261   ;
46262   return 0;
46263 }
46264 _ACEOF
46265 if ac_fn_cxx_try_compile "$LINENO"; then :
46266   glibcxx_cv_func__sincos_use=yes
46267 else
46268   glibcxx_cv_func__sincos_use=no
46269 fi
46270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46271       ac_ext=c
46272 ac_cpp='$CPP $CPPFLAGS'
46273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46276
46277
46278 fi
46279
46280   fi
46281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46282 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46283
46284     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46285       for ac_func in _sincos
46286 do :
46287   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46288 if test "x$ac_cv_func__sincos" = x""yes; then :
46289   cat >>confdefs.h <<_ACEOF
46290 #define HAVE__SINCOS 1
46291 _ACEOF
46292
46293 fi
46294 done
46295
46296     fi
46297   fi
46298
46299
46300
46301
46302
46303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46304 $as_echo_n "checking for fpclass declaration... " >&6; }
46305   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46306     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46307   $as_echo_n "(cached) " >&6
46308 else
46309
46310
46311       ac_ext=cpp
46312 ac_cpp='$CXXCPP $CPPFLAGS'
46313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46316
46317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46318 /* end confdefs.h.  */
46319 #include <math.h>
46320                       #ifdef HAVE_IEEEFP_H
46321                       #include <ieeefp.h>
46322                       #endif
46323
46324 int
46325 main ()
46326 {
46327  fpclass(0);
46328   ;
46329   return 0;
46330 }
46331 _ACEOF
46332 if ac_fn_cxx_try_compile "$LINENO"; then :
46333   glibcxx_cv_func_fpclass_use=yes
46334 else
46335   glibcxx_cv_func_fpclass_use=no
46336 fi
46337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46338       ac_ext=c
46339 ac_cpp='$CPP $CPPFLAGS'
46340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46343
46344
46345 fi
46346
46347   fi
46348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46349 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46350
46351   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46352     for ac_func in fpclass
46353 do :
46354   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46355 if test "x$ac_cv_func_fpclass" = x""yes; then :
46356   cat >>confdefs.h <<_ACEOF
46357 #define HAVE_FPCLASS 1
46358 _ACEOF
46359
46360 fi
46361 done
46362
46363   else
46364
46365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46366 $as_echo_n "checking for _fpclass declaration... " >&6; }
46367   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46368     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46369   $as_echo_n "(cached) " >&6
46370 else
46371
46372
46373       ac_ext=cpp
46374 ac_cpp='$CXXCPP $CPPFLAGS'
46375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46378
46379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46380 /* end confdefs.h.  */
46381 #include <math.h>
46382                       #ifdef HAVE_IEEEFP_H
46383                       #include <ieeefp.h>
46384                       #endif
46385
46386 int
46387 main ()
46388 {
46389  _fpclass(0);
46390   ;
46391   return 0;
46392 }
46393 _ACEOF
46394 if ac_fn_cxx_try_compile "$LINENO"; then :
46395   glibcxx_cv_func__fpclass_use=yes
46396 else
46397   glibcxx_cv_func__fpclass_use=no
46398 fi
46399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46400       ac_ext=c
46401 ac_cpp='$CPP $CPPFLAGS'
46402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46405
46406
46407 fi
46408
46409   fi
46410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46411 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46412
46413     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46414       for ac_func in _fpclass
46415 do :
46416   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46417 if test "x$ac_cv_func__fpclass" = x""yes; then :
46418   cat >>confdefs.h <<_ACEOF
46419 #define HAVE__FPCLASS 1
46420 _ACEOF
46421
46422 fi
46423 done
46424
46425     fi
46426   fi
46427
46428
46429
46430
46431
46432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46433 $as_echo_n "checking for qfpclass declaration... " >&6; }
46434   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46435     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46436   $as_echo_n "(cached) " >&6
46437 else
46438
46439
46440       ac_ext=cpp
46441 ac_cpp='$CXXCPP $CPPFLAGS'
46442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46445
46446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46447 /* end confdefs.h.  */
46448 #include <math.h>
46449                       #ifdef HAVE_IEEEFP_H
46450                       #include <ieeefp.h>
46451                       #endif
46452
46453 int
46454 main ()
46455 {
46456  qfpclass(0);
46457   ;
46458   return 0;
46459 }
46460 _ACEOF
46461 if ac_fn_cxx_try_compile "$LINENO"; then :
46462   glibcxx_cv_func_qfpclass_use=yes
46463 else
46464   glibcxx_cv_func_qfpclass_use=no
46465 fi
46466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46467       ac_ext=c
46468 ac_cpp='$CPP $CPPFLAGS'
46469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46472
46473
46474 fi
46475
46476   fi
46477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46478 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46479
46480   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46481     for ac_func in qfpclass
46482 do :
46483   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46484 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46485   cat >>confdefs.h <<_ACEOF
46486 #define HAVE_QFPCLASS 1
46487 _ACEOF
46488
46489 fi
46490 done
46491
46492   else
46493
46494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46495 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46496   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46497     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46498   $as_echo_n "(cached) " >&6
46499 else
46500
46501
46502       ac_ext=cpp
46503 ac_cpp='$CXXCPP $CPPFLAGS'
46504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46507
46508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46509 /* end confdefs.h.  */
46510 #include <math.h>
46511                       #ifdef HAVE_IEEEFP_H
46512                       #include <ieeefp.h>
46513                       #endif
46514
46515 int
46516 main ()
46517 {
46518  _qfpclass(0);
46519   ;
46520   return 0;
46521 }
46522 _ACEOF
46523 if ac_fn_cxx_try_compile "$LINENO"; then :
46524   glibcxx_cv_func__qfpclass_use=yes
46525 else
46526   glibcxx_cv_func__qfpclass_use=no
46527 fi
46528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46529       ac_ext=c
46530 ac_cpp='$CPP $CPPFLAGS'
46531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46534
46535
46536 fi
46537
46538   fi
46539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46540 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46541
46542     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46543       for ac_func in _qfpclass
46544 do :
46545   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46546 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46547   cat >>confdefs.h <<_ACEOF
46548 #define HAVE__QFPCLASS 1
46549 _ACEOF
46550
46551 fi
46552 done
46553
46554     fi
46555   fi
46556
46557
46558
46559
46560
46561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46562 $as_echo_n "checking for hypot declaration... " >&6; }
46563   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46564     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46565   $as_echo_n "(cached) " >&6
46566 else
46567
46568
46569       ac_ext=cpp
46570 ac_cpp='$CXXCPP $CPPFLAGS'
46571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46574
46575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46576 /* end confdefs.h.  */
46577 #include <math.h>
46578 int
46579 main ()
46580 {
46581  hypot(0, 0);
46582   ;
46583   return 0;
46584 }
46585 _ACEOF
46586 if ac_fn_cxx_try_compile "$LINENO"; then :
46587   glibcxx_cv_func_hypot_use=yes
46588 else
46589   glibcxx_cv_func_hypot_use=no
46590 fi
46591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46592       ac_ext=c
46593 ac_cpp='$CPP $CPPFLAGS'
46594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46597
46598
46599 fi
46600
46601   fi
46602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46603 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46604
46605   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46606     for ac_func in hypot
46607 do :
46608   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46609 if test "x$ac_cv_func_hypot" = x""yes; then :
46610   cat >>confdefs.h <<_ACEOF
46611 #define HAVE_HYPOT 1
46612 _ACEOF
46613
46614 fi
46615 done
46616
46617   else
46618
46619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46620 $as_echo_n "checking for _hypot declaration... " >&6; }
46621   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46622     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46623   $as_echo_n "(cached) " >&6
46624 else
46625
46626
46627       ac_ext=cpp
46628 ac_cpp='$CXXCPP $CPPFLAGS'
46629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46632
46633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46634 /* end confdefs.h.  */
46635 #include <math.h>
46636 int
46637 main ()
46638 {
46639  _hypot(0, 0);
46640   ;
46641   return 0;
46642 }
46643 _ACEOF
46644 if ac_fn_cxx_try_compile "$LINENO"; then :
46645   glibcxx_cv_func__hypot_use=yes
46646 else
46647   glibcxx_cv_func__hypot_use=no
46648 fi
46649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46650       ac_ext=c
46651 ac_cpp='$CPP $CPPFLAGS'
46652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46655
46656
46657 fi
46658
46659   fi
46660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46661 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46662
46663     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46664       for ac_func in _hypot
46665 do :
46666   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46667 if test "x$ac_cv_func__hypot" = x""yes; then :
46668   cat >>confdefs.h <<_ACEOF
46669 #define HAVE__HYPOT 1
46670 _ACEOF
46671
46672 fi
46673 done
46674
46675     fi
46676   fi
46677
46678
46679
46680
46681
46682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46683 $as_echo_n "checking for float trig functions... " >&6; }
46684   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46685   $as_echo_n "(cached) " >&6
46686 else
46687
46688
46689     ac_ext=cpp
46690 ac_cpp='$CXXCPP $CPPFLAGS'
46691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46694
46695     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46696 /* end confdefs.h.  */
46697 #include <math.h>
46698 int
46699 main ()
46700 {
46701 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46702   ;
46703   return 0;
46704 }
46705 _ACEOF
46706 if ac_fn_cxx_try_compile "$LINENO"; then :
46707   glibcxx_cv_func_float_trig_use=yes
46708 else
46709   glibcxx_cv_func_float_trig_use=no
46710 fi
46711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46712     ac_ext=c
46713 ac_cpp='$CPP $CPPFLAGS'
46714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46717
46718 fi
46719
46720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46721 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46722   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46723     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46724 do :
46725   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46727 eval as_val=\$$as_ac_var
46728    if test "x$as_val" = x""yes; then :
46729   cat >>confdefs.h <<_ACEOF
46730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46731 _ACEOF
46732
46733 fi
46734 done
46735
46736   else
46737     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46738 $as_echo_n "checking for _float trig functions... " >&6; }
46739     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46740   $as_echo_n "(cached) " >&6
46741 else
46742
46743
46744       ac_ext=cpp
46745 ac_cpp='$CXXCPP $CPPFLAGS'
46746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46749
46750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46751 /* end confdefs.h.  */
46752 #include <math.h>
46753 int
46754 main ()
46755 {
46756 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46757   ;
46758   return 0;
46759 }
46760 _ACEOF
46761 if ac_fn_cxx_try_compile "$LINENO"; then :
46762   glibcxx_cv_func__float_trig_use=yes
46763 else
46764   glibcxx_cv_func__float_trig_use=no
46765 fi
46766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46767       ac_ext=c
46768 ac_cpp='$CPP $CPPFLAGS'
46769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46772
46773 fi
46774
46775     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46776 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46777     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46778       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46779 do :
46780   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46782 eval as_val=\$$as_ac_var
46783    if test "x$as_val" = x""yes; then :
46784   cat >>confdefs.h <<_ACEOF
46785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46786 _ACEOF
46787
46788 fi
46789 done
46790
46791     fi
46792   fi
46793
46794
46795
46796
46797
46798     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46799 $as_echo_n "checking for float round functions... " >&6; }
46800   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46801   $as_echo_n "(cached) " >&6
46802 else
46803
46804
46805     ac_ext=cpp
46806 ac_cpp='$CXXCPP $CPPFLAGS'
46807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46810
46811     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46812 /* end confdefs.h.  */
46813 #include <math.h>
46814 int
46815 main ()
46816 {
46817 ceilf (0); floorf (0);
46818   ;
46819   return 0;
46820 }
46821 _ACEOF
46822 if ac_fn_cxx_try_compile "$LINENO"; then :
46823   glibcxx_cv_func_float_round_use=yes
46824 else
46825   glibcxx_cv_func_float_round_use=no
46826 fi
46827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46828     ac_ext=c
46829 ac_cpp='$CPP $CPPFLAGS'
46830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46833
46834 fi
46835
46836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46837 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46838   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46839     for ac_func in ceilf floorf
46840 do :
46841   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46842 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46843 eval as_val=\$$as_ac_var
46844    if test "x$as_val" = x""yes; then :
46845   cat >>confdefs.h <<_ACEOF
46846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46847 _ACEOF
46848
46849 fi
46850 done
46851
46852   else
46853     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46854 $as_echo_n "checking for _float round functions... " >&6; }
46855     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46856   $as_echo_n "(cached) " >&6
46857 else
46858
46859
46860       ac_ext=cpp
46861 ac_cpp='$CXXCPP $CPPFLAGS'
46862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46865
46866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46867 /* end confdefs.h.  */
46868 #include <math.h>
46869 int
46870 main ()
46871 {
46872 _ceilf (0); _floorf (0);
46873   ;
46874   return 0;
46875 }
46876 _ACEOF
46877 if ac_fn_cxx_try_compile "$LINENO"; then :
46878   glibcxx_cv_func__float_round_use=yes
46879 else
46880   glibcxx_cv_func__float_round_use=no
46881 fi
46882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46883       ac_ext=c
46884 ac_cpp='$CPP $CPPFLAGS'
46885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46888
46889 fi
46890
46891     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46892 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46893     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46894       for ac_func in _ceilf _floorf
46895 do :
46896   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46897 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46898 eval as_val=\$$as_ac_var
46899    if test "x$as_val" = x""yes; then :
46900   cat >>confdefs.h <<_ACEOF
46901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46902 _ACEOF
46903
46904 fi
46905 done
46906
46907     fi
46908   fi
46909
46910
46911
46912
46913
46914
46915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46916 $as_echo_n "checking for expf declaration... " >&6; }
46917   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46918     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46919   $as_echo_n "(cached) " >&6
46920 else
46921
46922
46923       ac_ext=cpp
46924 ac_cpp='$CXXCPP $CPPFLAGS'
46925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46928
46929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46930 /* end confdefs.h.  */
46931 #include <math.h>
46932                       #ifdef HAVE_IEEEFP_H
46933                       #include <ieeefp.h>
46934                       #endif
46935
46936 int
46937 main ()
46938 {
46939  expf(0);
46940   ;
46941   return 0;
46942 }
46943 _ACEOF
46944 if ac_fn_cxx_try_compile "$LINENO"; then :
46945   glibcxx_cv_func_expf_use=yes
46946 else
46947   glibcxx_cv_func_expf_use=no
46948 fi
46949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46950       ac_ext=c
46951 ac_cpp='$CPP $CPPFLAGS'
46952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46955
46956
46957 fi
46958
46959   fi
46960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46961 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46962
46963   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46964     for ac_func in expf
46965 do :
46966   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46967 if test "x$ac_cv_func_expf" = x""yes; then :
46968   cat >>confdefs.h <<_ACEOF
46969 #define HAVE_EXPF 1
46970 _ACEOF
46971
46972 fi
46973 done
46974
46975   else
46976
46977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46978 $as_echo_n "checking for _expf declaration... " >&6; }
46979   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46980     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46981   $as_echo_n "(cached) " >&6
46982 else
46983
46984
46985       ac_ext=cpp
46986 ac_cpp='$CXXCPP $CPPFLAGS'
46987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46990
46991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46992 /* end confdefs.h.  */
46993 #include <math.h>
46994                       #ifdef HAVE_IEEEFP_H
46995                       #include <ieeefp.h>
46996                       #endif
46997
46998 int
46999 main ()
47000 {
47001  _expf(0);
47002   ;
47003   return 0;
47004 }
47005 _ACEOF
47006 if ac_fn_cxx_try_compile "$LINENO"; then :
47007   glibcxx_cv_func__expf_use=yes
47008 else
47009   glibcxx_cv_func__expf_use=no
47010 fi
47011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47012       ac_ext=c
47013 ac_cpp='$CPP $CPPFLAGS'
47014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47017
47018
47019 fi
47020
47021   fi
47022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47023 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47024
47025     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47026       for ac_func in _expf
47027 do :
47028   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47029 if test "x$ac_cv_func__expf" = x""yes; then :
47030   cat >>confdefs.h <<_ACEOF
47031 #define HAVE__EXPF 1
47032 _ACEOF
47033
47034 fi
47035 done
47036
47037     fi
47038   fi
47039
47040
47041
47042
47043
47044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47045 $as_echo_n "checking for isnanf declaration... " >&6; }
47046   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47047     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47048   $as_echo_n "(cached) " >&6
47049 else
47050
47051
47052       ac_ext=cpp
47053 ac_cpp='$CXXCPP $CPPFLAGS'
47054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47057
47058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47059 /* end confdefs.h.  */
47060 #include <math.h>
47061                       #ifdef HAVE_IEEEFP_H
47062                       #include <ieeefp.h>
47063                       #endif
47064
47065 int
47066 main ()
47067 {
47068  isnanf(0);
47069   ;
47070   return 0;
47071 }
47072 _ACEOF
47073 if ac_fn_cxx_try_compile "$LINENO"; then :
47074   glibcxx_cv_func_isnanf_use=yes
47075 else
47076   glibcxx_cv_func_isnanf_use=no
47077 fi
47078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47079       ac_ext=c
47080 ac_cpp='$CPP $CPPFLAGS'
47081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47084
47085
47086 fi
47087
47088   fi
47089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47090 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47091
47092   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47093     for ac_func in isnanf
47094 do :
47095   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47096 if test "x$ac_cv_func_isnanf" = x""yes; then :
47097   cat >>confdefs.h <<_ACEOF
47098 #define HAVE_ISNANF 1
47099 _ACEOF
47100
47101 fi
47102 done
47103
47104   else
47105
47106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47107 $as_echo_n "checking for _isnanf declaration... " >&6; }
47108   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47109     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47110   $as_echo_n "(cached) " >&6
47111 else
47112
47113
47114       ac_ext=cpp
47115 ac_cpp='$CXXCPP $CPPFLAGS'
47116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47119
47120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47121 /* end confdefs.h.  */
47122 #include <math.h>
47123                       #ifdef HAVE_IEEEFP_H
47124                       #include <ieeefp.h>
47125                       #endif
47126
47127 int
47128 main ()
47129 {
47130  _isnanf(0);
47131   ;
47132   return 0;
47133 }
47134 _ACEOF
47135 if ac_fn_cxx_try_compile "$LINENO"; then :
47136   glibcxx_cv_func__isnanf_use=yes
47137 else
47138   glibcxx_cv_func__isnanf_use=no
47139 fi
47140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47141       ac_ext=c
47142 ac_cpp='$CPP $CPPFLAGS'
47143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47146
47147
47148 fi
47149
47150   fi
47151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47152 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47153
47154     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47155       for ac_func in _isnanf
47156 do :
47157   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47158 if test "x$ac_cv_func__isnanf" = x""yes; then :
47159   cat >>confdefs.h <<_ACEOF
47160 #define HAVE__ISNANF 1
47161 _ACEOF
47162
47163 fi
47164 done
47165
47166     fi
47167   fi
47168
47169
47170
47171
47172
47173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47174 $as_echo_n "checking for isinff declaration... " >&6; }
47175   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47176     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47177   $as_echo_n "(cached) " >&6
47178 else
47179
47180
47181       ac_ext=cpp
47182 ac_cpp='$CXXCPP $CPPFLAGS'
47183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47186
47187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47188 /* end confdefs.h.  */
47189 #include <math.h>
47190                       #ifdef HAVE_IEEEFP_H
47191                       #include <ieeefp.h>
47192                       #endif
47193
47194 int
47195 main ()
47196 {
47197  isinff(0);
47198   ;
47199   return 0;
47200 }
47201 _ACEOF
47202 if ac_fn_cxx_try_compile "$LINENO"; then :
47203   glibcxx_cv_func_isinff_use=yes
47204 else
47205   glibcxx_cv_func_isinff_use=no
47206 fi
47207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47208       ac_ext=c
47209 ac_cpp='$CPP $CPPFLAGS'
47210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47213
47214
47215 fi
47216
47217   fi
47218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47219 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47220
47221   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47222     for ac_func in isinff
47223 do :
47224   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47225 if test "x$ac_cv_func_isinff" = x""yes; then :
47226   cat >>confdefs.h <<_ACEOF
47227 #define HAVE_ISINFF 1
47228 _ACEOF
47229
47230 fi
47231 done
47232
47233   else
47234
47235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47236 $as_echo_n "checking for _isinff declaration... " >&6; }
47237   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47238     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47239   $as_echo_n "(cached) " >&6
47240 else
47241
47242
47243       ac_ext=cpp
47244 ac_cpp='$CXXCPP $CPPFLAGS'
47245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47248
47249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47250 /* end confdefs.h.  */
47251 #include <math.h>
47252                       #ifdef HAVE_IEEEFP_H
47253                       #include <ieeefp.h>
47254                       #endif
47255
47256 int
47257 main ()
47258 {
47259  _isinff(0);
47260   ;
47261   return 0;
47262 }
47263 _ACEOF
47264 if ac_fn_cxx_try_compile "$LINENO"; then :
47265   glibcxx_cv_func__isinff_use=yes
47266 else
47267   glibcxx_cv_func__isinff_use=no
47268 fi
47269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47270       ac_ext=c
47271 ac_cpp='$CPP $CPPFLAGS'
47272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47275
47276
47277 fi
47278
47279   fi
47280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47281 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47282
47283     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47284       for ac_func in _isinff
47285 do :
47286   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47287 if test "x$ac_cv_func__isinff" = x""yes; then :
47288   cat >>confdefs.h <<_ACEOF
47289 #define HAVE__ISINFF 1
47290 _ACEOF
47291
47292 fi
47293 done
47294
47295     fi
47296   fi
47297
47298
47299
47300
47301
47302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47303 $as_echo_n "checking for atan2f declaration... " >&6; }
47304   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47305     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47306   $as_echo_n "(cached) " >&6
47307 else
47308
47309
47310       ac_ext=cpp
47311 ac_cpp='$CXXCPP $CPPFLAGS'
47312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47315
47316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47317 /* end confdefs.h.  */
47318 #include <math.h>
47319 int
47320 main ()
47321 {
47322  atan2f(0, 0);
47323   ;
47324   return 0;
47325 }
47326 _ACEOF
47327 if ac_fn_cxx_try_compile "$LINENO"; then :
47328   glibcxx_cv_func_atan2f_use=yes
47329 else
47330   glibcxx_cv_func_atan2f_use=no
47331 fi
47332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47333       ac_ext=c
47334 ac_cpp='$CPP $CPPFLAGS'
47335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47338
47339
47340 fi
47341
47342   fi
47343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47344 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47345
47346   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47347     for ac_func in atan2f
47348 do :
47349   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47350 if test "x$ac_cv_func_atan2f" = x""yes; then :
47351   cat >>confdefs.h <<_ACEOF
47352 #define HAVE_ATAN2F 1
47353 _ACEOF
47354
47355 fi
47356 done
47357
47358   else
47359
47360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47361 $as_echo_n "checking for _atan2f declaration... " >&6; }
47362   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47363     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47364   $as_echo_n "(cached) " >&6
47365 else
47366
47367
47368       ac_ext=cpp
47369 ac_cpp='$CXXCPP $CPPFLAGS'
47370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47373
47374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47375 /* end confdefs.h.  */
47376 #include <math.h>
47377 int
47378 main ()
47379 {
47380  _atan2f(0, 0);
47381   ;
47382   return 0;
47383 }
47384 _ACEOF
47385 if ac_fn_cxx_try_compile "$LINENO"; then :
47386   glibcxx_cv_func__atan2f_use=yes
47387 else
47388   glibcxx_cv_func__atan2f_use=no
47389 fi
47390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47391       ac_ext=c
47392 ac_cpp='$CPP $CPPFLAGS'
47393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47396
47397
47398 fi
47399
47400   fi
47401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47402 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47403
47404     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47405       for ac_func in _atan2f
47406 do :
47407   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47408 if test "x$ac_cv_func__atan2f" = x""yes; then :
47409   cat >>confdefs.h <<_ACEOF
47410 #define HAVE__ATAN2F 1
47411 _ACEOF
47412
47413 fi
47414 done
47415
47416     fi
47417   fi
47418
47419
47420
47421
47422
47423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47424 $as_echo_n "checking for fabsf declaration... " >&6; }
47425   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47426     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47427   $as_echo_n "(cached) " >&6
47428 else
47429
47430
47431       ac_ext=cpp
47432 ac_cpp='$CXXCPP $CPPFLAGS'
47433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47436
47437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47438 /* end confdefs.h.  */
47439 #include <math.h>
47440                       #ifdef HAVE_IEEEFP_H
47441                       #include <ieeefp.h>
47442                       #endif
47443
47444 int
47445 main ()
47446 {
47447  fabsf(0);
47448   ;
47449   return 0;
47450 }
47451 _ACEOF
47452 if ac_fn_cxx_try_compile "$LINENO"; then :
47453   glibcxx_cv_func_fabsf_use=yes
47454 else
47455   glibcxx_cv_func_fabsf_use=no
47456 fi
47457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47458       ac_ext=c
47459 ac_cpp='$CPP $CPPFLAGS'
47460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47463
47464
47465 fi
47466
47467   fi
47468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47469 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47470
47471   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47472     for ac_func in fabsf
47473 do :
47474   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47475 if test "x$ac_cv_func_fabsf" = x""yes; then :
47476   cat >>confdefs.h <<_ACEOF
47477 #define HAVE_FABSF 1
47478 _ACEOF
47479
47480 fi
47481 done
47482
47483   else
47484
47485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47486 $as_echo_n "checking for _fabsf declaration... " >&6; }
47487   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47488     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47489   $as_echo_n "(cached) " >&6
47490 else
47491
47492
47493       ac_ext=cpp
47494 ac_cpp='$CXXCPP $CPPFLAGS'
47495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47498
47499       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47500 /* end confdefs.h.  */
47501 #include <math.h>
47502                       #ifdef HAVE_IEEEFP_H
47503                       #include <ieeefp.h>
47504                       #endif
47505
47506 int
47507 main ()
47508 {
47509  _fabsf(0);
47510   ;
47511   return 0;
47512 }
47513 _ACEOF
47514 if ac_fn_cxx_try_compile "$LINENO"; then :
47515   glibcxx_cv_func__fabsf_use=yes
47516 else
47517   glibcxx_cv_func__fabsf_use=no
47518 fi
47519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47520       ac_ext=c
47521 ac_cpp='$CPP $CPPFLAGS'
47522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47525
47526
47527 fi
47528
47529   fi
47530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47531 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47532
47533     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47534       for ac_func in _fabsf
47535 do :
47536   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47537 if test "x$ac_cv_func__fabsf" = x""yes; then :
47538   cat >>confdefs.h <<_ACEOF
47539 #define HAVE__FABSF 1
47540 _ACEOF
47541
47542 fi
47543 done
47544
47545     fi
47546   fi
47547
47548
47549
47550
47551
47552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47553 $as_echo_n "checking for fmodf declaration... " >&6; }
47554   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47555     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47556   $as_echo_n "(cached) " >&6
47557 else
47558
47559
47560       ac_ext=cpp
47561 ac_cpp='$CXXCPP $CPPFLAGS'
47562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47565
47566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47567 /* end confdefs.h.  */
47568 #include <math.h>
47569 int
47570 main ()
47571 {
47572  fmodf(0, 0);
47573   ;
47574   return 0;
47575 }
47576 _ACEOF
47577 if ac_fn_cxx_try_compile "$LINENO"; then :
47578   glibcxx_cv_func_fmodf_use=yes
47579 else
47580   glibcxx_cv_func_fmodf_use=no
47581 fi
47582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47583       ac_ext=c
47584 ac_cpp='$CPP $CPPFLAGS'
47585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47588
47589
47590 fi
47591
47592   fi
47593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47594 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47595
47596   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47597     for ac_func in fmodf
47598 do :
47599   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47600 if test "x$ac_cv_func_fmodf" = x""yes; then :
47601   cat >>confdefs.h <<_ACEOF
47602 #define HAVE_FMODF 1
47603 _ACEOF
47604
47605 fi
47606 done
47607
47608   else
47609
47610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47611 $as_echo_n "checking for _fmodf declaration... " >&6; }
47612   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47613     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47614   $as_echo_n "(cached) " >&6
47615 else
47616
47617
47618       ac_ext=cpp
47619 ac_cpp='$CXXCPP $CPPFLAGS'
47620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47623
47624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47625 /* end confdefs.h.  */
47626 #include <math.h>
47627 int
47628 main ()
47629 {
47630  _fmodf(0, 0);
47631   ;
47632   return 0;
47633 }
47634 _ACEOF
47635 if ac_fn_cxx_try_compile "$LINENO"; then :
47636   glibcxx_cv_func__fmodf_use=yes
47637 else
47638   glibcxx_cv_func__fmodf_use=no
47639 fi
47640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47641       ac_ext=c
47642 ac_cpp='$CPP $CPPFLAGS'
47643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47646
47647
47648 fi
47649
47650   fi
47651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47652 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47653
47654     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47655       for ac_func in _fmodf
47656 do :
47657   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47658 if test "x$ac_cv_func__fmodf" = x""yes; then :
47659   cat >>confdefs.h <<_ACEOF
47660 #define HAVE__FMODF 1
47661 _ACEOF
47662
47663 fi
47664 done
47665
47666     fi
47667   fi
47668
47669
47670
47671
47672
47673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47674 $as_echo_n "checking for frexpf declaration... " >&6; }
47675   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47676     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47677   $as_echo_n "(cached) " >&6
47678 else
47679
47680
47681       ac_ext=cpp
47682 ac_cpp='$CXXCPP $CPPFLAGS'
47683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47686
47687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47688 /* end confdefs.h.  */
47689 #include <math.h>
47690 int
47691 main ()
47692 {
47693  frexpf(0, 0);
47694   ;
47695   return 0;
47696 }
47697 _ACEOF
47698 if ac_fn_cxx_try_compile "$LINENO"; then :
47699   glibcxx_cv_func_frexpf_use=yes
47700 else
47701   glibcxx_cv_func_frexpf_use=no
47702 fi
47703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47704       ac_ext=c
47705 ac_cpp='$CPP $CPPFLAGS'
47706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47709
47710
47711 fi
47712
47713   fi
47714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47715 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47716
47717   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47718     for ac_func in frexpf
47719 do :
47720   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47721 if test "x$ac_cv_func_frexpf" = x""yes; then :
47722   cat >>confdefs.h <<_ACEOF
47723 #define HAVE_FREXPF 1
47724 _ACEOF
47725
47726 fi
47727 done
47728
47729   else
47730
47731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47732 $as_echo_n "checking for _frexpf declaration... " >&6; }
47733   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47734     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47735   $as_echo_n "(cached) " >&6
47736 else
47737
47738
47739       ac_ext=cpp
47740 ac_cpp='$CXXCPP $CPPFLAGS'
47741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47744
47745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47746 /* end confdefs.h.  */
47747 #include <math.h>
47748 int
47749 main ()
47750 {
47751  _frexpf(0, 0);
47752   ;
47753   return 0;
47754 }
47755 _ACEOF
47756 if ac_fn_cxx_try_compile "$LINENO"; then :
47757   glibcxx_cv_func__frexpf_use=yes
47758 else
47759   glibcxx_cv_func__frexpf_use=no
47760 fi
47761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47762       ac_ext=c
47763 ac_cpp='$CPP $CPPFLAGS'
47764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47767
47768
47769 fi
47770
47771   fi
47772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47773 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47774
47775     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47776       for ac_func in _frexpf
47777 do :
47778   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47779 if test "x$ac_cv_func__frexpf" = x""yes; then :
47780   cat >>confdefs.h <<_ACEOF
47781 #define HAVE__FREXPF 1
47782 _ACEOF
47783
47784 fi
47785 done
47786
47787     fi
47788   fi
47789
47790
47791
47792
47793
47794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47795 $as_echo_n "checking for hypotf declaration... " >&6; }
47796   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47797     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47798   $as_echo_n "(cached) " >&6
47799 else
47800
47801
47802       ac_ext=cpp
47803 ac_cpp='$CXXCPP $CPPFLAGS'
47804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47807
47808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47809 /* end confdefs.h.  */
47810 #include <math.h>
47811 int
47812 main ()
47813 {
47814  hypotf(0, 0);
47815   ;
47816   return 0;
47817 }
47818 _ACEOF
47819 if ac_fn_cxx_try_compile "$LINENO"; then :
47820   glibcxx_cv_func_hypotf_use=yes
47821 else
47822   glibcxx_cv_func_hypotf_use=no
47823 fi
47824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47825       ac_ext=c
47826 ac_cpp='$CPP $CPPFLAGS'
47827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47830
47831
47832 fi
47833
47834   fi
47835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47836 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47837
47838   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47839     for ac_func in hypotf
47840 do :
47841   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47842 if test "x$ac_cv_func_hypotf" = x""yes; then :
47843   cat >>confdefs.h <<_ACEOF
47844 #define HAVE_HYPOTF 1
47845 _ACEOF
47846
47847 fi
47848 done
47849
47850   else
47851
47852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47853 $as_echo_n "checking for _hypotf declaration... " >&6; }
47854   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47855     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47856   $as_echo_n "(cached) " >&6
47857 else
47858
47859
47860       ac_ext=cpp
47861 ac_cpp='$CXXCPP $CPPFLAGS'
47862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47865
47866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47867 /* end confdefs.h.  */
47868 #include <math.h>
47869 int
47870 main ()
47871 {
47872  _hypotf(0, 0);
47873   ;
47874   return 0;
47875 }
47876 _ACEOF
47877 if ac_fn_cxx_try_compile "$LINENO"; then :
47878   glibcxx_cv_func__hypotf_use=yes
47879 else
47880   glibcxx_cv_func__hypotf_use=no
47881 fi
47882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47883       ac_ext=c
47884 ac_cpp='$CPP $CPPFLAGS'
47885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47888
47889
47890 fi
47891
47892   fi
47893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47894 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47895
47896     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47897       for ac_func in _hypotf
47898 do :
47899   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47900 if test "x$ac_cv_func__hypotf" = x""yes; then :
47901   cat >>confdefs.h <<_ACEOF
47902 #define HAVE__HYPOTF 1
47903 _ACEOF
47904
47905 fi
47906 done
47907
47908     fi
47909   fi
47910
47911
47912
47913
47914
47915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47916 $as_echo_n "checking for ldexpf declaration... " >&6; }
47917   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47918     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47919   $as_echo_n "(cached) " >&6
47920 else
47921
47922
47923       ac_ext=cpp
47924 ac_cpp='$CXXCPP $CPPFLAGS'
47925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47928
47929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47930 /* end confdefs.h.  */
47931 #include <math.h>
47932 int
47933 main ()
47934 {
47935  ldexpf(0, 0);
47936   ;
47937   return 0;
47938 }
47939 _ACEOF
47940 if ac_fn_cxx_try_compile "$LINENO"; then :
47941   glibcxx_cv_func_ldexpf_use=yes
47942 else
47943   glibcxx_cv_func_ldexpf_use=no
47944 fi
47945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47946       ac_ext=c
47947 ac_cpp='$CPP $CPPFLAGS'
47948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47951
47952
47953 fi
47954
47955   fi
47956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47957 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47958
47959   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47960     for ac_func in ldexpf
47961 do :
47962   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47963 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47964   cat >>confdefs.h <<_ACEOF
47965 #define HAVE_LDEXPF 1
47966 _ACEOF
47967
47968 fi
47969 done
47970
47971   else
47972
47973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47974 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47975   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47976     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47977   $as_echo_n "(cached) " >&6
47978 else
47979
47980
47981       ac_ext=cpp
47982 ac_cpp='$CXXCPP $CPPFLAGS'
47983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47986
47987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47988 /* end confdefs.h.  */
47989 #include <math.h>
47990 int
47991 main ()
47992 {
47993  _ldexpf(0, 0);
47994   ;
47995   return 0;
47996 }
47997 _ACEOF
47998 if ac_fn_cxx_try_compile "$LINENO"; then :
47999   glibcxx_cv_func__ldexpf_use=yes
48000 else
48001   glibcxx_cv_func__ldexpf_use=no
48002 fi
48003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48004       ac_ext=c
48005 ac_cpp='$CPP $CPPFLAGS'
48006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48009
48010
48011 fi
48012
48013   fi
48014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48015 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48016
48017     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48018       for ac_func in _ldexpf
48019 do :
48020   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48021 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48022   cat >>confdefs.h <<_ACEOF
48023 #define HAVE__LDEXPF 1
48024 _ACEOF
48025
48026 fi
48027 done
48028
48029     fi
48030   fi
48031
48032
48033
48034
48035
48036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48037 $as_echo_n "checking for logf declaration... " >&6; }
48038   if test x${glibcxx_cv_func_logf_use+set} != xset; then
48039     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48040   $as_echo_n "(cached) " >&6
48041 else
48042
48043
48044       ac_ext=cpp
48045 ac_cpp='$CXXCPP $CPPFLAGS'
48046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48049
48050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48051 /* end confdefs.h.  */
48052 #include <math.h>
48053                       #ifdef HAVE_IEEEFP_H
48054                       #include <ieeefp.h>
48055                       #endif
48056
48057 int
48058 main ()
48059 {
48060  logf(0);
48061   ;
48062   return 0;
48063 }
48064 _ACEOF
48065 if ac_fn_cxx_try_compile "$LINENO"; then :
48066   glibcxx_cv_func_logf_use=yes
48067 else
48068   glibcxx_cv_func_logf_use=no
48069 fi
48070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48071       ac_ext=c
48072 ac_cpp='$CPP $CPPFLAGS'
48073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48076
48077
48078 fi
48079
48080   fi
48081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48082 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48083
48084   if test x$glibcxx_cv_func_logf_use = x"yes"; then
48085     for ac_func in logf
48086 do :
48087   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48088 if test "x$ac_cv_func_logf" = x""yes; then :
48089   cat >>confdefs.h <<_ACEOF
48090 #define HAVE_LOGF 1
48091 _ACEOF
48092
48093 fi
48094 done
48095
48096   else
48097
48098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48099 $as_echo_n "checking for _logf declaration... " >&6; }
48100   if test x${glibcxx_cv_func__logf_use+set} != xset; then
48101     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48102   $as_echo_n "(cached) " >&6
48103 else
48104
48105
48106       ac_ext=cpp
48107 ac_cpp='$CXXCPP $CPPFLAGS'
48108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48111
48112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48113 /* end confdefs.h.  */
48114 #include <math.h>
48115                       #ifdef HAVE_IEEEFP_H
48116                       #include <ieeefp.h>
48117                       #endif
48118
48119 int
48120 main ()
48121 {
48122  _logf(0);
48123   ;
48124   return 0;
48125 }
48126 _ACEOF
48127 if ac_fn_cxx_try_compile "$LINENO"; then :
48128   glibcxx_cv_func__logf_use=yes
48129 else
48130   glibcxx_cv_func__logf_use=no
48131 fi
48132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48133       ac_ext=c
48134 ac_cpp='$CPP $CPPFLAGS'
48135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48138
48139
48140 fi
48141
48142   fi
48143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48144 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48145
48146     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48147       for ac_func in _logf
48148 do :
48149   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48150 if test "x$ac_cv_func__logf" = x""yes; then :
48151   cat >>confdefs.h <<_ACEOF
48152 #define HAVE__LOGF 1
48153 _ACEOF
48154
48155 fi
48156 done
48157
48158     fi
48159   fi
48160
48161
48162
48163
48164
48165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48166 $as_echo_n "checking for log10f declaration... " >&6; }
48167   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48168     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48169   $as_echo_n "(cached) " >&6
48170 else
48171
48172
48173       ac_ext=cpp
48174 ac_cpp='$CXXCPP $CPPFLAGS'
48175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48178
48179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48180 /* end confdefs.h.  */
48181 #include <math.h>
48182                       #ifdef HAVE_IEEEFP_H
48183                       #include <ieeefp.h>
48184                       #endif
48185
48186 int
48187 main ()
48188 {
48189  log10f(0);
48190   ;
48191   return 0;
48192 }
48193 _ACEOF
48194 if ac_fn_cxx_try_compile "$LINENO"; then :
48195   glibcxx_cv_func_log10f_use=yes
48196 else
48197   glibcxx_cv_func_log10f_use=no
48198 fi
48199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48200       ac_ext=c
48201 ac_cpp='$CPP $CPPFLAGS'
48202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48205
48206
48207 fi
48208
48209   fi
48210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48211 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48212
48213   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48214     for ac_func in log10f
48215 do :
48216   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48217 if test "x$ac_cv_func_log10f" = x""yes; then :
48218   cat >>confdefs.h <<_ACEOF
48219 #define HAVE_LOG10F 1
48220 _ACEOF
48221
48222 fi
48223 done
48224
48225   else
48226
48227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48228 $as_echo_n "checking for _log10f declaration... " >&6; }
48229   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48230     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48231   $as_echo_n "(cached) " >&6
48232 else
48233
48234
48235       ac_ext=cpp
48236 ac_cpp='$CXXCPP $CPPFLAGS'
48237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48240
48241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48242 /* end confdefs.h.  */
48243 #include <math.h>
48244                       #ifdef HAVE_IEEEFP_H
48245                       #include <ieeefp.h>
48246                       #endif
48247
48248 int
48249 main ()
48250 {
48251  _log10f(0);
48252   ;
48253   return 0;
48254 }
48255 _ACEOF
48256 if ac_fn_cxx_try_compile "$LINENO"; then :
48257   glibcxx_cv_func__log10f_use=yes
48258 else
48259   glibcxx_cv_func__log10f_use=no
48260 fi
48261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48262       ac_ext=c
48263 ac_cpp='$CPP $CPPFLAGS'
48264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48267
48268
48269 fi
48270
48271   fi
48272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48273 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48274
48275     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48276       for ac_func in _log10f
48277 do :
48278   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48279 if test "x$ac_cv_func__log10f" = x""yes; then :
48280   cat >>confdefs.h <<_ACEOF
48281 #define HAVE__LOG10F 1
48282 _ACEOF
48283
48284 fi
48285 done
48286
48287     fi
48288   fi
48289
48290
48291
48292
48293
48294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48295 $as_echo_n "checking for modff declaration... " >&6; }
48296   if test x${glibcxx_cv_func_modff_use+set} != xset; then
48297     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48298   $as_echo_n "(cached) " >&6
48299 else
48300
48301
48302       ac_ext=cpp
48303 ac_cpp='$CXXCPP $CPPFLAGS'
48304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48307
48308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48309 /* end confdefs.h.  */
48310 #include <math.h>
48311 int
48312 main ()
48313 {
48314  modff(0, 0);
48315   ;
48316   return 0;
48317 }
48318 _ACEOF
48319 if ac_fn_cxx_try_compile "$LINENO"; then :
48320   glibcxx_cv_func_modff_use=yes
48321 else
48322   glibcxx_cv_func_modff_use=no
48323 fi
48324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48325       ac_ext=c
48326 ac_cpp='$CPP $CPPFLAGS'
48327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48330
48331
48332 fi
48333
48334   fi
48335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48336 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48337
48338   if test x$glibcxx_cv_func_modff_use = x"yes"; then
48339     for ac_func in modff
48340 do :
48341   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48342 if test "x$ac_cv_func_modff" = x""yes; then :
48343   cat >>confdefs.h <<_ACEOF
48344 #define HAVE_MODFF 1
48345 _ACEOF
48346
48347 fi
48348 done
48349
48350   else
48351
48352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48353 $as_echo_n "checking for _modff declaration... " >&6; }
48354   if test x${glibcxx_cv_func__modff_use+set} != xset; then
48355     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48356   $as_echo_n "(cached) " >&6
48357 else
48358
48359
48360       ac_ext=cpp
48361 ac_cpp='$CXXCPP $CPPFLAGS'
48362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48365
48366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48367 /* end confdefs.h.  */
48368 #include <math.h>
48369 int
48370 main ()
48371 {
48372  _modff(0, 0);
48373   ;
48374   return 0;
48375 }
48376 _ACEOF
48377 if ac_fn_cxx_try_compile "$LINENO"; then :
48378   glibcxx_cv_func__modff_use=yes
48379 else
48380   glibcxx_cv_func__modff_use=no
48381 fi
48382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48383       ac_ext=c
48384 ac_cpp='$CPP $CPPFLAGS'
48385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48388
48389
48390 fi
48391
48392   fi
48393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48394 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48395
48396     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48397       for ac_func in _modff
48398 do :
48399   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48400 if test "x$ac_cv_func__modff" = x""yes; then :
48401   cat >>confdefs.h <<_ACEOF
48402 #define HAVE__MODFF 1
48403 _ACEOF
48404
48405 fi
48406 done
48407
48408     fi
48409   fi
48410
48411
48412
48413
48414
48415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48416 $as_echo_n "checking for modf declaration... " >&6; }
48417   if test x${glibcxx_cv_func_modf_use+set} != xset; then
48418     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48419   $as_echo_n "(cached) " >&6
48420 else
48421
48422
48423       ac_ext=cpp
48424 ac_cpp='$CXXCPP $CPPFLAGS'
48425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48428
48429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48430 /* end confdefs.h.  */
48431 #include <math.h>
48432 int
48433 main ()
48434 {
48435  modf(0, 0);
48436   ;
48437   return 0;
48438 }
48439 _ACEOF
48440 if ac_fn_cxx_try_compile "$LINENO"; then :
48441   glibcxx_cv_func_modf_use=yes
48442 else
48443   glibcxx_cv_func_modf_use=no
48444 fi
48445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48446       ac_ext=c
48447 ac_cpp='$CPP $CPPFLAGS'
48448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48451
48452
48453 fi
48454
48455   fi
48456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48457 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48458
48459   if test x$glibcxx_cv_func_modf_use = x"yes"; then
48460     for ac_func in modf
48461 do :
48462   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48463 if test "x$ac_cv_func_modf" = x""yes; then :
48464   cat >>confdefs.h <<_ACEOF
48465 #define HAVE_MODF 1
48466 _ACEOF
48467
48468 fi
48469 done
48470
48471   else
48472
48473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48474 $as_echo_n "checking for _modf declaration... " >&6; }
48475   if test x${glibcxx_cv_func__modf_use+set} != xset; then
48476     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48477   $as_echo_n "(cached) " >&6
48478 else
48479
48480
48481       ac_ext=cpp
48482 ac_cpp='$CXXCPP $CPPFLAGS'
48483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48486
48487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48488 /* end confdefs.h.  */
48489 #include <math.h>
48490 int
48491 main ()
48492 {
48493  _modf(0, 0);
48494   ;
48495   return 0;
48496 }
48497 _ACEOF
48498 if ac_fn_cxx_try_compile "$LINENO"; then :
48499   glibcxx_cv_func__modf_use=yes
48500 else
48501   glibcxx_cv_func__modf_use=no
48502 fi
48503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48504       ac_ext=c
48505 ac_cpp='$CPP $CPPFLAGS'
48506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48509
48510
48511 fi
48512
48513   fi
48514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48515 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48516
48517     if test x$glibcxx_cv_func__modf_use = x"yes"; then
48518       for ac_func in _modf
48519 do :
48520   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48521 if test "x$ac_cv_func__modf" = x""yes; then :
48522   cat >>confdefs.h <<_ACEOF
48523 #define HAVE__MODF 1
48524 _ACEOF
48525
48526 fi
48527 done
48528
48529     fi
48530   fi
48531
48532
48533
48534
48535
48536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48537 $as_echo_n "checking for powf declaration... " >&6; }
48538   if test x${glibcxx_cv_func_powf_use+set} != xset; then
48539     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48540   $as_echo_n "(cached) " >&6
48541 else
48542
48543
48544       ac_ext=cpp
48545 ac_cpp='$CXXCPP $CPPFLAGS'
48546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48549
48550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48551 /* end confdefs.h.  */
48552 #include <math.h>
48553 int
48554 main ()
48555 {
48556  powf(0, 0);
48557   ;
48558   return 0;
48559 }
48560 _ACEOF
48561 if ac_fn_cxx_try_compile "$LINENO"; then :
48562   glibcxx_cv_func_powf_use=yes
48563 else
48564   glibcxx_cv_func_powf_use=no
48565 fi
48566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48567       ac_ext=c
48568 ac_cpp='$CPP $CPPFLAGS'
48569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48572
48573
48574 fi
48575
48576   fi
48577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48578 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48579
48580   if test x$glibcxx_cv_func_powf_use = x"yes"; then
48581     for ac_func in powf
48582 do :
48583   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48584 if test "x$ac_cv_func_powf" = x""yes; then :
48585   cat >>confdefs.h <<_ACEOF
48586 #define HAVE_POWF 1
48587 _ACEOF
48588
48589 fi
48590 done
48591
48592   else
48593
48594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48595 $as_echo_n "checking for _powf declaration... " >&6; }
48596   if test x${glibcxx_cv_func__powf_use+set} != xset; then
48597     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48598   $as_echo_n "(cached) " >&6
48599 else
48600
48601
48602       ac_ext=cpp
48603 ac_cpp='$CXXCPP $CPPFLAGS'
48604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48607
48608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48609 /* end confdefs.h.  */
48610 #include <math.h>
48611 int
48612 main ()
48613 {
48614  _powf(0, 0);
48615   ;
48616   return 0;
48617 }
48618 _ACEOF
48619 if ac_fn_cxx_try_compile "$LINENO"; then :
48620   glibcxx_cv_func__powf_use=yes
48621 else
48622   glibcxx_cv_func__powf_use=no
48623 fi
48624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48625       ac_ext=c
48626 ac_cpp='$CPP $CPPFLAGS'
48627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48630
48631
48632 fi
48633
48634   fi
48635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48636 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48637
48638     if test x$glibcxx_cv_func__powf_use = x"yes"; then
48639       for ac_func in _powf
48640 do :
48641   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48642 if test "x$ac_cv_func__powf" = x""yes; then :
48643   cat >>confdefs.h <<_ACEOF
48644 #define HAVE__POWF 1
48645 _ACEOF
48646
48647 fi
48648 done
48649
48650     fi
48651   fi
48652
48653
48654
48655
48656
48657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48658 $as_echo_n "checking for sqrtf declaration... " >&6; }
48659   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48660     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48661   $as_echo_n "(cached) " >&6
48662 else
48663
48664
48665       ac_ext=cpp
48666 ac_cpp='$CXXCPP $CPPFLAGS'
48667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48670
48671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48672 /* end confdefs.h.  */
48673 #include <math.h>
48674                       #ifdef HAVE_IEEEFP_H
48675                       #include <ieeefp.h>
48676                       #endif
48677
48678 int
48679 main ()
48680 {
48681  sqrtf(0);
48682   ;
48683   return 0;
48684 }
48685 _ACEOF
48686 if ac_fn_cxx_try_compile "$LINENO"; then :
48687   glibcxx_cv_func_sqrtf_use=yes
48688 else
48689   glibcxx_cv_func_sqrtf_use=no
48690 fi
48691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48692       ac_ext=c
48693 ac_cpp='$CPP $CPPFLAGS'
48694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48697
48698
48699 fi
48700
48701   fi
48702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48703 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48704
48705   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48706     for ac_func in sqrtf
48707 do :
48708   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48709 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48710   cat >>confdefs.h <<_ACEOF
48711 #define HAVE_SQRTF 1
48712 _ACEOF
48713
48714 fi
48715 done
48716
48717   else
48718
48719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48720 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48721   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48722     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48723   $as_echo_n "(cached) " >&6
48724 else
48725
48726
48727       ac_ext=cpp
48728 ac_cpp='$CXXCPP $CPPFLAGS'
48729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48732
48733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48734 /* end confdefs.h.  */
48735 #include <math.h>
48736                       #ifdef HAVE_IEEEFP_H
48737                       #include <ieeefp.h>
48738                       #endif
48739
48740 int
48741 main ()
48742 {
48743  _sqrtf(0);
48744   ;
48745   return 0;
48746 }
48747 _ACEOF
48748 if ac_fn_cxx_try_compile "$LINENO"; then :
48749   glibcxx_cv_func__sqrtf_use=yes
48750 else
48751   glibcxx_cv_func__sqrtf_use=no
48752 fi
48753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48754       ac_ext=c
48755 ac_cpp='$CPP $CPPFLAGS'
48756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48759
48760
48761 fi
48762
48763   fi
48764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48765 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48766
48767     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48768       for ac_func in _sqrtf
48769 do :
48770   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48771 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48772   cat >>confdefs.h <<_ACEOF
48773 #define HAVE__SQRTF 1
48774 _ACEOF
48775
48776 fi
48777 done
48778
48779     fi
48780   fi
48781
48782
48783
48784
48785
48786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48787 $as_echo_n "checking for sincosf declaration... " >&6; }
48788   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48789     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48790   $as_echo_n "(cached) " >&6
48791 else
48792
48793
48794       ac_ext=cpp
48795 ac_cpp='$CXXCPP $CPPFLAGS'
48796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48799
48800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48801 /* end confdefs.h.  */
48802 #include <math.h>
48803 int
48804 main ()
48805 {
48806  sincosf(0, 0, 0);
48807   ;
48808   return 0;
48809 }
48810 _ACEOF
48811 if ac_fn_cxx_try_compile "$LINENO"; then :
48812   glibcxx_cv_func_sincosf_use=yes
48813 else
48814   glibcxx_cv_func_sincosf_use=no
48815 fi
48816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48817       ac_ext=c
48818 ac_cpp='$CPP $CPPFLAGS'
48819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48822
48823
48824 fi
48825
48826   fi
48827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48828 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48829
48830   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48831     for ac_func in sincosf
48832 do :
48833   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48834 if test "x$ac_cv_func_sincosf" = x""yes; then :
48835   cat >>confdefs.h <<_ACEOF
48836 #define HAVE_SINCOSF 1
48837 _ACEOF
48838
48839 fi
48840 done
48841
48842   else
48843
48844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48845 $as_echo_n "checking for _sincosf declaration... " >&6; }
48846   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48847     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48848   $as_echo_n "(cached) " >&6
48849 else
48850
48851
48852       ac_ext=cpp
48853 ac_cpp='$CXXCPP $CPPFLAGS'
48854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48857
48858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48859 /* end confdefs.h.  */
48860 #include <math.h>
48861 int
48862 main ()
48863 {
48864  _sincosf(0, 0, 0);
48865   ;
48866   return 0;
48867 }
48868 _ACEOF
48869 if ac_fn_cxx_try_compile "$LINENO"; then :
48870   glibcxx_cv_func__sincosf_use=yes
48871 else
48872   glibcxx_cv_func__sincosf_use=no
48873 fi
48874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48875       ac_ext=c
48876 ac_cpp='$CPP $CPPFLAGS'
48877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48880
48881
48882 fi
48883
48884   fi
48885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48886 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48887
48888     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48889       for ac_func in _sincosf
48890 do :
48891   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48892 if test "x$ac_cv_func__sincosf" = x""yes; then :
48893   cat >>confdefs.h <<_ACEOF
48894 #define HAVE__SINCOSF 1
48895 _ACEOF
48896
48897 fi
48898 done
48899
48900     fi
48901   fi
48902
48903
48904
48905
48906
48907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48908 $as_echo_n "checking for finitef declaration... " >&6; }
48909   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48910     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48911   $as_echo_n "(cached) " >&6
48912 else
48913
48914
48915       ac_ext=cpp
48916 ac_cpp='$CXXCPP $CPPFLAGS'
48917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48920
48921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48922 /* end confdefs.h.  */
48923 #include <math.h>
48924                       #ifdef HAVE_IEEEFP_H
48925                       #include <ieeefp.h>
48926                       #endif
48927
48928 int
48929 main ()
48930 {
48931  finitef(0);
48932   ;
48933   return 0;
48934 }
48935 _ACEOF
48936 if ac_fn_cxx_try_compile "$LINENO"; then :
48937   glibcxx_cv_func_finitef_use=yes
48938 else
48939   glibcxx_cv_func_finitef_use=no
48940 fi
48941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48942       ac_ext=c
48943 ac_cpp='$CPP $CPPFLAGS'
48944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48947
48948
48949 fi
48950
48951   fi
48952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48953 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48954
48955   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48956     for ac_func in finitef
48957 do :
48958   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48959 if test "x$ac_cv_func_finitef" = x""yes; then :
48960   cat >>confdefs.h <<_ACEOF
48961 #define HAVE_FINITEF 1
48962 _ACEOF
48963
48964 fi
48965 done
48966
48967   else
48968
48969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48970 $as_echo_n "checking for _finitef declaration... " >&6; }
48971   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48972     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48973   $as_echo_n "(cached) " >&6
48974 else
48975
48976
48977       ac_ext=cpp
48978 ac_cpp='$CXXCPP $CPPFLAGS'
48979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48982
48983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48984 /* end confdefs.h.  */
48985 #include <math.h>
48986                       #ifdef HAVE_IEEEFP_H
48987                       #include <ieeefp.h>
48988                       #endif
48989
48990 int
48991 main ()
48992 {
48993  _finitef(0);
48994   ;
48995   return 0;
48996 }
48997 _ACEOF
48998 if ac_fn_cxx_try_compile "$LINENO"; then :
48999   glibcxx_cv_func__finitef_use=yes
49000 else
49001   glibcxx_cv_func__finitef_use=no
49002 fi
49003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49004       ac_ext=c
49005 ac_cpp='$CPP $CPPFLAGS'
49006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49009
49010
49011 fi
49012
49013   fi
49014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49015 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49016
49017     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49018       for ac_func in _finitef
49019 do :
49020   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49021 if test "x$ac_cv_func__finitef" = x""yes; then :
49022   cat >>confdefs.h <<_ACEOF
49023 #define HAVE__FINITEF 1
49024 _ACEOF
49025
49026 fi
49027 done
49028
49029     fi
49030   fi
49031
49032
49033
49034
49035
49036     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49037 $as_echo_n "checking for long double trig functions... " >&6; }
49038   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49039   $as_echo_n "(cached) " >&6
49040 else
49041
49042
49043     ac_ext=cpp
49044 ac_cpp='$CXXCPP $CPPFLAGS'
49045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49048
49049     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49050 /* end confdefs.h.  */
49051 #include <math.h>
49052 int
49053 main ()
49054 {
49055 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49056   ;
49057   return 0;
49058 }
49059 _ACEOF
49060 if ac_fn_cxx_try_compile "$LINENO"; then :
49061   glibcxx_cv_func_long_double_trig_use=yes
49062 else
49063   glibcxx_cv_func_long_double_trig_use=no
49064 fi
49065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49066     ac_ext=c
49067 ac_cpp='$CPP $CPPFLAGS'
49068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49071
49072 fi
49073
49074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49075 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49076   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49077     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49078 do :
49079   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49081 eval as_val=\$$as_ac_var
49082    if test "x$as_val" = x""yes; then :
49083   cat >>confdefs.h <<_ACEOF
49084 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49085 _ACEOF
49086
49087 fi
49088 done
49089
49090   else
49091     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49092 $as_echo_n "checking for _long double trig functions... " >&6; }
49093     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49094   $as_echo_n "(cached) " >&6
49095 else
49096
49097
49098       ac_ext=cpp
49099 ac_cpp='$CXXCPP $CPPFLAGS'
49100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49103
49104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49105 /* end confdefs.h.  */
49106 #include <math.h>
49107 int
49108 main ()
49109 {
49110 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49111   ;
49112   return 0;
49113 }
49114 _ACEOF
49115 if ac_fn_cxx_try_compile "$LINENO"; then :
49116   glibcxx_cv_func__long_double_trig_use=yes
49117 else
49118   glibcxx_cv_func__long_double_trig_use=no
49119 fi
49120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49121       ac_ext=c
49122 ac_cpp='$CPP $CPPFLAGS'
49123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49126
49127 fi
49128
49129     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49130 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49131     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49132       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49133 do :
49134   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49136 eval as_val=\$$as_ac_var
49137    if test "x$as_val" = x""yes; then :
49138   cat >>confdefs.h <<_ACEOF
49139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49140 _ACEOF
49141
49142 fi
49143 done
49144
49145     fi
49146   fi
49147
49148
49149
49150
49151
49152     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49153 $as_echo_n "checking for long double round functions... " >&6; }
49154   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49155   $as_echo_n "(cached) " >&6
49156 else
49157
49158
49159     ac_ext=cpp
49160 ac_cpp='$CXXCPP $CPPFLAGS'
49161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49164
49165     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49166 /* end confdefs.h.  */
49167 #include <math.h>
49168 int
49169 main ()
49170 {
49171 ceill (0); floorl (0);
49172   ;
49173   return 0;
49174 }
49175 _ACEOF
49176 if ac_fn_cxx_try_compile "$LINENO"; then :
49177   glibcxx_cv_func_long_double_round_use=yes
49178 else
49179   glibcxx_cv_func_long_double_round_use=no
49180 fi
49181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49182     ac_ext=c
49183 ac_cpp='$CPP $CPPFLAGS'
49184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49187
49188 fi
49189
49190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49191 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49192   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49193     for ac_func in ceill floorl
49194 do :
49195   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49197 eval as_val=\$$as_ac_var
49198    if test "x$as_val" = x""yes; then :
49199   cat >>confdefs.h <<_ACEOF
49200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49201 _ACEOF
49202
49203 fi
49204 done
49205
49206   else
49207     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49208 $as_echo_n "checking for _long double round functions... " >&6; }
49209     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49210   $as_echo_n "(cached) " >&6
49211 else
49212
49213
49214       ac_ext=cpp
49215 ac_cpp='$CXXCPP $CPPFLAGS'
49216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49219
49220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49221 /* end confdefs.h.  */
49222 #include <math.h>
49223 int
49224 main ()
49225 {
49226 _ceill (0); _floorl (0);
49227   ;
49228   return 0;
49229 }
49230 _ACEOF
49231 if ac_fn_cxx_try_compile "$LINENO"; then :
49232   glibcxx_cv_func__long_double_round_use=yes
49233 else
49234   glibcxx_cv_func__long_double_round_use=no
49235 fi
49236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49237       ac_ext=c
49238 ac_cpp='$CPP $CPPFLAGS'
49239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49242
49243 fi
49244
49245     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49246 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49247     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49248       for ac_func in _ceill _floorl
49249 do :
49250   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49252 eval as_val=\$$as_ac_var
49253    if test "x$as_val" = x""yes; then :
49254   cat >>confdefs.h <<_ACEOF
49255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49256 _ACEOF
49257
49258 fi
49259 done
49260
49261     fi
49262   fi
49263
49264
49265
49266
49267
49268
49269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49270 $as_echo_n "checking for isnanl declaration... " >&6; }
49271   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49272     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49273   $as_echo_n "(cached) " >&6
49274 else
49275
49276
49277       ac_ext=cpp
49278 ac_cpp='$CXXCPP $CPPFLAGS'
49279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49282
49283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49284 /* end confdefs.h.  */
49285 #include <math.h>
49286                       #ifdef HAVE_IEEEFP_H
49287                       #include <ieeefp.h>
49288                       #endif
49289
49290 int
49291 main ()
49292 {
49293  isnanl(0);
49294   ;
49295   return 0;
49296 }
49297 _ACEOF
49298 if ac_fn_cxx_try_compile "$LINENO"; then :
49299   glibcxx_cv_func_isnanl_use=yes
49300 else
49301   glibcxx_cv_func_isnanl_use=no
49302 fi
49303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49304       ac_ext=c
49305 ac_cpp='$CPP $CPPFLAGS'
49306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49309
49310
49311 fi
49312
49313   fi
49314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49315 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49316
49317   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49318     for ac_func in isnanl
49319 do :
49320   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49321 if test "x$ac_cv_func_isnanl" = x""yes; then :
49322   cat >>confdefs.h <<_ACEOF
49323 #define HAVE_ISNANL 1
49324 _ACEOF
49325
49326 fi
49327 done
49328
49329   else
49330
49331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49332 $as_echo_n "checking for _isnanl declaration... " >&6; }
49333   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49334     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49335   $as_echo_n "(cached) " >&6
49336 else
49337
49338
49339       ac_ext=cpp
49340 ac_cpp='$CXXCPP $CPPFLAGS'
49341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49344
49345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49346 /* end confdefs.h.  */
49347 #include <math.h>
49348                       #ifdef HAVE_IEEEFP_H
49349                       #include <ieeefp.h>
49350                       #endif
49351
49352 int
49353 main ()
49354 {
49355  _isnanl(0);
49356   ;
49357   return 0;
49358 }
49359 _ACEOF
49360 if ac_fn_cxx_try_compile "$LINENO"; then :
49361   glibcxx_cv_func__isnanl_use=yes
49362 else
49363   glibcxx_cv_func__isnanl_use=no
49364 fi
49365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49366       ac_ext=c
49367 ac_cpp='$CPP $CPPFLAGS'
49368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49371
49372
49373 fi
49374
49375   fi
49376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49377 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49378
49379     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49380       for ac_func in _isnanl
49381 do :
49382   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49383 if test "x$ac_cv_func__isnanl" = x""yes; then :
49384   cat >>confdefs.h <<_ACEOF
49385 #define HAVE__ISNANL 1
49386 _ACEOF
49387
49388 fi
49389 done
49390
49391     fi
49392   fi
49393
49394
49395
49396
49397
49398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49399 $as_echo_n "checking for isinfl declaration... " >&6; }
49400   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49401     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49402   $as_echo_n "(cached) " >&6
49403 else
49404
49405
49406       ac_ext=cpp
49407 ac_cpp='$CXXCPP $CPPFLAGS'
49408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49411
49412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49413 /* end confdefs.h.  */
49414 #include <math.h>
49415                       #ifdef HAVE_IEEEFP_H
49416                       #include <ieeefp.h>
49417                       #endif
49418
49419 int
49420 main ()
49421 {
49422  isinfl(0);
49423   ;
49424   return 0;
49425 }
49426 _ACEOF
49427 if ac_fn_cxx_try_compile "$LINENO"; then :
49428   glibcxx_cv_func_isinfl_use=yes
49429 else
49430   glibcxx_cv_func_isinfl_use=no
49431 fi
49432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49433       ac_ext=c
49434 ac_cpp='$CPP $CPPFLAGS'
49435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49438
49439
49440 fi
49441
49442   fi
49443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49444 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49445
49446   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49447     for ac_func in isinfl
49448 do :
49449   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49450 if test "x$ac_cv_func_isinfl" = x""yes; then :
49451   cat >>confdefs.h <<_ACEOF
49452 #define HAVE_ISINFL 1
49453 _ACEOF
49454
49455 fi
49456 done
49457
49458   else
49459
49460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49461 $as_echo_n "checking for _isinfl declaration... " >&6; }
49462   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49463     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49464   $as_echo_n "(cached) " >&6
49465 else
49466
49467
49468       ac_ext=cpp
49469 ac_cpp='$CXXCPP $CPPFLAGS'
49470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49473
49474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49475 /* end confdefs.h.  */
49476 #include <math.h>
49477                       #ifdef HAVE_IEEEFP_H
49478                       #include <ieeefp.h>
49479                       #endif
49480
49481 int
49482 main ()
49483 {
49484  _isinfl(0);
49485   ;
49486   return 0;
49487 }
49488 _ACEOF
49489 if ac_fn_cxx_try_compile "$LINENO"; then :
49490   glibcxx_cv_func__isinfl_use=yes
49491 else
49492   glibcxx_cv_func__isinfl_use=no
49493 fi
49494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49495       ac_ext=c
49496 ac_cpp='$CPP $CPPFLAGS'
49497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49500
49501
49502 fi
49503
49504   fi
49505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49506 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49507
49508     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49509       for ac_func in _isinfl
49510 do :
49511   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49512 if test "x$ac_cv_func__isinfl" = x""yes; then :
49513   cat >>confdefs.h <<_ACEOF
49514 #define HAVE__ISINFL 1
49515 _ACEOF
49516
49517 fi
49518 done
49519
49520     fi
49521   fi
49522
49523
49524
49525
49526
49527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49528 $as_echo_n "checking for atan2l declaration... " >&6; }
49529   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49530     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49531   $as_echo_n "(cached) " >&6
49532 else
49533
49534
49535       ac_ext=cpp
49536 ac_cpp='$CXXCPP $CPPFLAGS'
49537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49540
49541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49542 /* end confdefs.h.  */
49543 #include <math.h>
49544 int
49545 main ()
49546 {
49547  atan2l(0, 0);
49548   ;
49549   return 0;
49550 }
49551 _ACEOF
49552 if ac_fn_cxx_try_compile "$LINENO"; then :
49553   glibcxx_cv_func_atan2l_use=yes
49554 else
49555   glibcxx_cv_func_atan2l_use=no
49556 fi
49557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49558       ac_ext=c
49559 ac_cpp='$CPP $CPPFLAGS'
49560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49563
49564
49565 fi
49566
49567   fi
49568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49569 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49570
49571   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49572     for ac_func in atan2l
49573 do :
49574   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49575 if test "x$ac_cv_func_atan2l" = x""yes; then :
49576   cat >>confdefs.h <<_ACEOF
49577 #define HAVE_ATAN2L 1
49578 _ACEOF
49579
49580 fi
49581 done
49582
49583   else
49584
49585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49586 $as_echo_n "checking for _atan2l declaration... " >&6; }
49587   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49588     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49589   $as_echo_n "(cached) " >&6
49590 else
49591
49592
49593       ac_ext=cpp
49594 ac_cpp='$CXXCPP $CPPFLAGS'
49595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49598
49599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49600 /* end confdefs.h.  */
49601 #include <math.h>
49602 int
49603 main ()
49604 {
49605  _atan2l(0, 0);
49606   ;
49607   return 0;
49608 }
49609 _ACEOF
49610 if ac_fn_cxx_try_compile "$LINENO"; then :
49611   glibcxx_cv_func__atan2l_use=yes
49612 else
49613   glibcxx_cv_func__atan2l_use=no
49614 fi
49615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49616       ac_ext=c
49617 ac_cpp='$CPP $CPPFLAGS'
49618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49621
49622
49623 fi
49624
49625   fi
49626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49627 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49628
49629     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49630       for ac_func in _atan2l
49631 do :
49632   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49633 if test "x$ac_cv_func__atan2l" = x""yes; then :
49634   cat >>confdefs.h <<_ACEOF
49635 #define HAVE__ATAN2L 1
49636 _ACEOF
49637
49638 fi
49639 done
49640
49641     fi
49642   fi
49643
49644
49645
49646
49647
49648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49649 $as_echo_n "checking for expl declaration... " >&6; }
49650   if test x${glibcxx_cv_func_expl_use+set} != xset; then
49651     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49652   $as_echo_n "(cached) " >&6
49653 else
49654
49655
49656       ac_ext=cpp
49657 ac_cpp='$CXXCPP $CPPFLAGS'
49658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49661
49662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49663 /* end confdefs.h.  */
49664 #include <math.h>
49665                       #ifdef HAVE_IEEEFP_H
49666                       #include <ieeefp.h>
49667                       #endif
49668
49669 int
49670 main ()
49671 {
49672  expl(0);
49673   ;
49674   return 0;
49675 }
49676 _ACEOF
49677 if ac_fn_cxx_try_compile "$LINENO"; then :
49678   glibcxx_cv_func_expl_use=yes
49679 else
49680   glibcxx_cv_func_expl_use=no
49681 fi
49682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49683       ac_ext=c
49684 ac_cpp='$CPP $CPPFLAGS'
49685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49688
49689
49690 fi
49691
49692   fi
49693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49694 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49695
49696   if test x$glibcxx_cv_func_expl_use = x"yes"; then
49697     for ac_func in expl
49698 do :
49699   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49700 if test "x$ac_cv_func_expl" = x""yes; then :
49701   cat >>confdefs.h <<_ACEOF
49702 #define HAVE_EXPL 1
49703 _ACEOF
49704
49705 fi
49706 done
49707
49708   else
49709
49710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49711 $as_echo_n "checking for _expl declaration... " >&6; }
49712   if test x${glibcxx_cv_func__expl_use+set} != xset; then
49713     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49714   $as_echo_n "(cached) " >&6
49715 else
49716
49717
49718       ac_ext=cpp
49719 ac_cpp='$CXXCPP $CPPFLAGS'
49720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49723
49724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49725 /* end confdefs.h.  */
49726 #include <math.h>
49727                       #ifdef HAVE_IEEEFP_H
49728                       #include <ieeefp.h>
49729                       #endif
49730
49731 int
49732 main ()
49733 {
49734  _expl(0);
49735   ;
49736   return 0;
49737 }
49738 _ACEOF
49739 if ac_fn_cxx_try_compile "$LINENO"; then :
49740   glibcxx_cv_func__expl_use=yes
49741 else
49742   glibcxx_cv_func__expl_use=no
49743 fi
49744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49745       ac_ext=c
49746 ac_cpp='$CPP $CPPFLAGS'
49747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49750
49751
49752 fi
49753
49754   fi
49755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49756 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49757
49758     if test x$glibcxx_cv_func__expl_use = x"yes"; then
49759       for ac_func in _expl
49760 do :
49761   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49762 if test "x$ac_cv_func__expl" = x""yes; then :
49763   cat >>confdefs.h <<_ACEOF
49764 #define HAVE__EXPL 1
49765 _ACEOF
49766
49767 fi
49768 done
49769
49770     fi
49771   fi
49772
49773
49774
49775
49776
49777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49778 $as_echo_n "checking for fabsl declaration... " >&6; }
49779   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49780     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49781   $as_echo_n "(cached) " >&6
49782 else
49783
49784
49785       ac_ext=cpp
49786 ac_cpp='$CXXCPP $CPPFLAGS'
49787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49790
49791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49792 /* end confdefs.h.  */
49793 #include <math.h>
49794                       #ifdef HAVE_IEEEFP_H
49795                       #include <ieeefp.h>
49796                       #endif
49797
49798 int
49799 main ()
49800 {
49801  fabsl(0);
49802   ;
49803   return 0;
49804 }
49805 _ACEOF
49806 if ac_fn_cxx_try_compile "$LINENO"; then :
49807   glibcxx_cv_func_fabsl_use=yes
49808 else
49809   glibcxx_cv_func_fabsl_use=no
49810 fi
49811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49812       ac_ext=c
49813 ac_cpp='$CPP $CPPFLAGS'
49814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49817
49818
49819 fi
49820
49821   fi
49822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49823 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49824
49825   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49826     for ac_func in fabsl
49827 do :
49828   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49829 if test "x$ac_cv_func_fabsl" = x""yes; then :
49830   cat >>confdefs.h <<_ACEOF
49831 #define HAVE_FABSL 1
49832 _ACEOF
49833
49834 fi
49835 done
49836
49837   else
49838
49839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49840 $as_echo_n "checking for _fabsl declaration... " >&6; }
49841   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49842     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49843   $as_echo_n "(cached) " >&6
49844 else
49845
49846
49847       ac_ext=cpp
49848 ac_cpp='$CXXCPP $CPPFLAGS'
49849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49852
49853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49854 /* end confdefs.h.  */
49855 #include <math.h>
49856                       #ifdef HAVE_IEEEFP_H
49857                       #include <ieeefp.h>
49858                       #endif
49859
49860 int
49861 main ()
49862 {
49863  _fabsl(0);
49864   ;
49865   return 0;
49866 }
49867 _ACEOF
49868 if ac_fn_cxx_try_compile "$LINENO"; then :
49869   glibcxx_cv_func__fabsl_use=yes
49870 else
49871   glibcxx_cv_func__fabsl_use=no
49872 fi
49873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49874       ac_ext=c
49875 ac_cpp='$CPP $CPPFLAGS'
49876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49879
49880
49881 fi
49882
49883   fi
49884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49885 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49886
49887     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49888       for ac_func in _fabsl
49889 do :
49890   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49891 if test "x$ac_cv_func__fabsl" = x""yes; then :
49892   cat >>confdefs.h <<_ACEOF
49893 #define HAVE__FABSL 1
49894 _ACEOF
49895
49896 fi
49897 done
49898
49899     fi
49900   fi
49901
49902
49903
49904
49905
49906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49907 $as_echo_n "checking for fmodl declaration... " >&6; }
49908   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49909     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49910   $as_echo_n "(cached) " >&6
49911 else
49912
49913
49914       ac_ext=cpp
49915 ac_cpp='$CXXCPP $CPPFLAGS'
49916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49919
49920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49921 /* end confdefs.h.  */
49922 #include <math.h>
49923 int
49924 main ()
49925 {
49926  fmodl(0, 0);
49927   ;
49928   return 0;
49929 }
49930 _ACEOF
49931 if ac_fn_cxx_try_compile "$LINENO"; then :
49932   glibcxx_cv_func_fmodl_use=yes
49933 else
49934   glibcxx_cv_func_fmodl_use=no
49935 fi
49936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49937       ac_ext=c
49938 ac_cpp='$CPP $CPPFLAGS'
49939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49942
49943
49944 fi
49945
49946   fi
49947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49948 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49949
49950   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49951     for ac_func in fmodl
49952 do :
49953   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49954 if test "x$ac_cv_func_fmodl" = x""yes; then :
49955   cat >>confdefs.h <<_ACEOF
49956 #define HAVE_FMODL 1
49957 _ACEOF
49958
49959 fi
49960 done
49961
49962   else
49963
49964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49965 $as_echo_n "checking for _fmodl declaration... " >&6; }
49966   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49967     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49968   $as_echo_n "(cached) " >&6
49969 else
49970
49971
49972       ac_ext=cpp
49973 ac_cpp='$CXXCPP $CPPFLAGS'
49974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49977
49978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49979 /* end confdefs.h.  */
49980 #include <math.h>
49981 int
49982 main ()
49983 {
49984  _fmodl(0, 0);
49985   ;
49986   return 0;
49987 }
49988 _ACEOF
49989 if ac_fn_cxx_try_compile "$LINENO"; then :
49990   glibcxx_cv_func__fmodl_use=yes
49991 else
49992   glibcxx_cv_func__fmodl_use=no
49993 fi
49994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49995       ac_ext=c
49996 ac_cpp='$CPP $CPPFLAGS'
49997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50000
50001
50002 fi
50003
50004   fi
50005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50006 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50007
50008     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50009       for ac_func in _fmodl
50010 do :
50011   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50012 if test "x$ac_cv_func__fmodl" = x""yes; then :
50013   cat >>confdefs.h <<_ACEOF
50014 #define HAVE__FMODL 1
50015 _ACEOF
50016
50017 fi
50018 done
50019
50020     fi
50021   fi
50022
50023
50024
50025
50026
50027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50028 $as_echo_n "checking for frexpl declaration... " >&6; }
50029   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50030     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50031   $as_echo_n "(cached) " >&6
50032 else
50033
50034
50035       ac_ext=cpp
50036 ac_cpp='$CXXCPP $CPPFLAGS'
50037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50040
50041       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50042 /* end confdefs.h.  */
50043 #include <math.h>
50044 int
50045 main ()
50046 {
50047  frexpl(0, 0);
50048   ;
50049   return 0;
50050 }
50051 _ACEOF
50052 if ac_fn_cxx_try_compile "$LINENO"; then :
50053   glibcxx_cv_func_frexpl_use=yes
50054 else
50055   glibcxx_cv_func_frexpl_use=no
50056 fi
50057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50058       ac_ext=c
50059 ac_cpp='$CPP $CPPFLAGS'
50060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50063
50064
50065 fi
50066
50067   fi
50068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50069 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50070
50071   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50072     for ac_func in frexpl
50073 do :
50074   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50075 if test "x$ac_cv_func_frexpl" = x""yes; then :
50076   cat >>confdefs.h <<_ACEOF
50077 #define HAVE_FREXPL 1
50078 _ACEOF
50079
50080 fi
50081 done
50082
50083   else
50084
50085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50086 $as_echo_n "checking for _frexpl declaration... " >&6; }
50087   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50088     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50089   $as_echo_n "(cached) " >&6
50090 else
50091
50092
50093       ac_ext=cpp
50094 ac_cpp='$CXXCPP $CPPFLAGS'
50095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50098
50099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50100 /* end confdefs.h.  */
50101 #include <math.h>
50102 int
50103 main ()
50104 {
50105  _frexpl(0, 0);
50106   ;
50107   return 0;
50108 }
50109 _ACEOF
50110 if ac_fn_cxx_try_compile "$LINENO"; then :
50111   glibcxx_cv_func__frexpl_use=yes
50112 else
50113   glibcxx_cv_func__frexpl_use=no
50114 fi
50115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50116       ac_ext=c
50117 ac_cpp='$CPP $CPPFLAGS'
50118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50121
50122
50123 fi
50124
50125   fi
50126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50127 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50128
50129     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50130       for ac_func in _frexpl
50131 do :
50132   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50133 if test "x$ac_cv_func__frexpl" = x""yes; then :
50134   cat >>confdefs.h <<_ACEOF
50135 #define HAVE__FREXPL 1
50136 _ACEOF
50137
50138 fi
50139 done
50140
50141     fi
50142   fi
50143
50144
50145
50146
50147
50148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50149 $as_echo_n "checking for hypotl declaration... " >&6; }
50150   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50151     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50152   $as_echo_n "(cached) " >&6
50153 else
50154
50155
50156       ac_ext=cpp
50157 ac_cpp='$CXXCPP $CPPFLAGS'
50158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50161
50162       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50163 /* end confdefs.h.  */
50164 #include <math.h>
50165 int
50166 main ()
50167 {
50168  hypotl(0, 0);
50169   ;
50170   return 0;
50171 }
50172 _ACEOF
50173 if ac_fn_cxx_try_compile "$LINENO"; then :
50174   glibcxx_cv_func_hypotl_use=yes
50175 else
50176   glibcxx_cv_func_hypotl_use=no
50177 fi
50178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50179       ac_ext=c
50180 ac_cpp='$CPP $CPPFLAGS'
50181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50184
50185
50186 fi
50187
50188   fi
50189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50190 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50191
50192   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50193     for ac_func in hypotl
50194 do :
50195   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50196 if test "x$ac_cv_func_hypotl" = x""yes; then :
50197   cat >>confdefs.h <<_ACEOF
50198 #define HAVE_HYPOTL 1
50199 _ACEOF
50200
50201 fi
50202 done
50203
50204   else
50205
50206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50207 $as_echo_n "checking for _hypotl declaration... " >&6; }
50208   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50209     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50210   $as_echo_n "(cached) " >&6
50211 else
50212
50213
50214       ac_ext=cpp
50215 ac_cpp='$CXXCPP $CPPFLAGS'
50216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50219
50220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50221 /* end confdefs.h.  */
50222 #include <math.h>
50223 int
50224 main ()
50225 {
50226  _hypotl(0, 0);
50227   ;
50228   return 0;
50229 }
50230 _ACEOF
50231 if ac_fn_cxx_try_compile "$LINENO"; then :
50232   glibcxx_cv_func__hypotl_use=yes
50233 else
50234   glibcxx_cv_func__hypotl_use=no
50235 fi
50236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50237       ac_ext=c
50238 ac_cpp='$CPP $CPPFLAGS'
50239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50242
50243
50244 fi
50245
50246   fi
50247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50248 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50249
50250     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50251       for ac_func in _hypotl
50252 do :
50253   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50254 if test "x$ac_cv_func__hypotl" = x""yes; then :
50255   cat >>confdefs.h <<_ACEOF
50256 #define HAVE__HYPOTL 1
50257 _ACEOF
50258
50259 fi
50260 done
50261
50262     fi
50263   fi
50264
50265
50266
50267
50268
50269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50270 $as_echo_n "checking for ldexpl declaration... " >&6; }
50271   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50272     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50273   $as_echo_n "(cached) " >&6
50274 else
50275
50276
50277       ac_ext=cpp
50278 ac_cpp='$CXXCPP $CPPFLAGS'
50279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50282
50283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50284 /* end confdefs.h.  */
50285 #include <math.h>
50286 int
50287 main ()
50288 {
50289  ldexpl(0, 0);
50290   ;
50291   return 0;
50292 }
50293 _ACEOF
50294 if ac_fn_cxx_try_compile "$LINENO"; then :
50295   glibcxx_cv_func_ldexpl_use=yes
50296 else
50297   glibcxx_cv_func_ldexpl_use=no
50298 fi
50299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50300       ac_ext=c
50301 ac_cpp='$CPP $CPPFLAGS'
50302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50305
50306
50307 fi
50308
50309   fi
50310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50311 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50312
50313   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50314     for ac_func in ldexpl
50315 do :
50316   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50317 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50318   cat >>confdefs.h <<_ACEOF
50319 #define HAVE_LDEXPL 1
50320 _ACEOF
50321
50322 fi
50323 done
50324
50325   else
50326
50327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50328 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50329   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50330     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50331   $as_echo_n "(cached) " >&6
50332 else
50333
50334
50335       ac_ext=cpp
50336 ac_cpp='$CXXCPP $CPPFLAGS'
50337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50340
50341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50342 /* end confdefs.h.  */
50343 #include <math.h>
50344 int
50345 main ()
50346 {
50347  _ldexpl(0, 0);
50348   ;
50349   return 0;
50350 }
50351 _ACEOF
50352 if ac_fn_cxx_try_compile "$LINENO"; then :
50353   glibcxx_cv_func__ldexpl_use=yes
50354 else
50355   glibcxx_cv_func__ldexpl_use=no
50356 fi
50357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50358       ac_ext=c
50359 ac_cpp='$CPP $CPPFLAGS'
50360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50363
50364
50365 fi
50366
50367   fi
50368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50369 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50370
50371     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50372       for ac_func in _ldexpl
50373 do :
50374   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50375 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50376   cat >>confdefs.h <<_ACEOF
50377 #define HAVE__LDEXPL 1
50378 _ACEOF
50379
50380 fi
50381 done
50382
50383     fi
50384   fi
50385
50386
50387
50388
50389
50390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50391 $as_echo_n "checking for logl declaration... " >&6; }
50392   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50393     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50394   $as_echo_n "(cached) " >&6
50395 else
50396
50397
50398       ac_ext=cpp
50399 ac_cpp='$CXXCPP $CPPFLAGS'
50400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50403
50404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50405 /* end confdefs.h.  */
50406 #include <math.h>
50407                       #ifdef HAVE_IEEEFP_H
50408                       #include <ieeefp.h>
50409                       #endif
50410
50411 int
50412 main ()
50413 {
50414  logl(0);
50415   ;
50416   return 0;
50417 }
50418 _ACEOF
50419 if ac_fn_cxx_try_compile "$LINENO"; then :
50420   glibcxx_cv_func_logl_use=yes
50421 else
50422   glibcxx_cv_func_logl_use=no
50423 fi
50424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50425       ac_ext=c
50426 ac_cpp='$CPP $CPPFLAGS'
50427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50430
50431
50432 fi
50433
50434   fi
50435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50436 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50437
50438   if test x$glibcxx_cv_func_logl_use = x"yes"; then
50439     for ac_func in logl
50440 do :
50441   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50442 if test "x$ac_cv_func_logl" = x""yes; then :
50443   cat >>confdefs.h <<_ACEOF
50444 #define HAVE_LOGL 1
50445 _ACEOF
50446
50447 fi
50448 done
50449
50450   else
50451
50452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50453 $as_echo_n "checking for _logl declaration... " >&6; }
50454   if test x${glibcxx_cv_func__logl_use+set} != xset; then
50455     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50456   $as_echo_n "(cached) " >&6
50457 else
50458
50459
50460       ac_ext=cpp
50461 ac_cpp='$CXXCPP $CPPFLAGS'
50462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50465
50466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50467 /* end confdefs.h.  */
50468 #include <math.h>
50469                       #ifdef HAVE_IEEEFP_H
50470                       #include <ieeefp.h>
50471                       #endif
50472
50473 int
50474 main ()
50475 {
50476  _logl(0);
50477   ;
50478   return 0;
50479 }
50480 _ACEOF
50481 if ac_fn_cxx_try_compile "$LINENO"; then :
50482   glibcxx_cv_func__logl_use=yes
50483 else
50484   glibcxx_cv_func__logl_use=no
50485 fi
50486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50487       ac_ext=c
50488 ac_cpp='$CPP $CPPFLAGS'
50489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50492
50493
50494 fi
50495
50496   fi
50497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50498 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50499
50500     if test x$glibcxx_cv_func__logl_use = x"yes"; then
50501       for ac_func in _logl
50502 do :
50503   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50504 if test "x$ac_cv_func__logl" = x""yes; then :
50505   cat >>confdefs.h <<_ACEOF
50506 #define HAVE__LOGL 1
50507 _ACEOF
50508
50509 fi
50510 done
50511
50512     fi
50513   fi
50514
50515
50516
50517
50518
50519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50520 $as_echo_n "checking for log10l declaration... " >&6; }
50521   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50522     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50523   $as_echo_n "(cached) " >&6
50524 else
50525
50526
50527       ac_ext=cpp
50528 ac_cpp='$CXXCPP $CPPFLAGS'
50529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50532
50533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50534 /* end confdefs.h.  */
50535 #include <math.h>
50536                       #ifdef HAVE_IEEEFP_H
50537                       #include <ieeefp.h>
50538                       #endif
50539
50540 int
50541 main ()
50542 {
50543  log10l(0);
50544   ;
50545   return 0;
50546 }
50547 _ACEOF
50548 if ac_fn_cxx_try_compile "$LINENO"; then :
50549   glibcxx_cv_func_log10l_use=yes
50550 else
50551   glibcxx_cv_func_log10l_use=no
50552 fi
50553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50554       ac_ext=c
50555 ac_cpp='$CPP $CPPFLAGS'
50556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50559
50560
50561 fi
50562
50563   fi
50564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50565 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50566
50567   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50568     for ac_func in log10l
50569 do :
50570   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50571 if test "x$ac_cv_func_log10l" = x""yes; then :
50572   cat >>confdefs.h <<_ACEOF
50573 #define HAVE_LOG10L 1
50574 _ACEOF
50575
50576 fi
50577 done
50578
50579   else
50580
50581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50582 $as_echo_n "checking for _log10l declaration... " >&6; }
50583   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50584     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50585   $as_echo_n "(cached) " >&6
50586 else
50587
50588
50589       ac_ext=cpp
50590 ac_cpp='$CXXCPP $CPPFLAGS'
50591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50594
50595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50596 /* end confdefs.h.  */
50597 #include <math.h>
50598                       #ifdef HAVE_IEEEFP_H
50599                       #include <ieeefp.h>
50600                       #endif
50601
50602 int
50603 main ()
50604 {
50605  _log10l(0);
50606   ;
50607   return 0;
50608 }
50609 _ACEOF
50610 if ac_fn_cxx_try_compile "$LINENO"; then :
50611   glibcxx_cv_func__log10l_use=yes
50612 else
50613   glibcxx_cv_func__log10l_use=no
50614 fi
50615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50616       ac_ext=c
50617 ac_cpp='$CPP $CPPFLAGS'
50618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50621
50622
50623 fi
50624
50625   fi
50626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50627 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50628
50629     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50630       for ac_func in _log10l
50631 do :
50632   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50633 if test "x$ac_cv_func__log10l" = x""yes; then :
50634   cat >>confdefs.h <<_ACEOF
50635 #define HAVE__LOG10L 1
50636 _ACEOF
50637
50638 fi
50639 done
50640
50641     fi
50642   fi
50643
50644
50645
50646
50647
50648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50649 $as_echo_n "checking for modfl declaration... " >&6; }
50650   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50651     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50652   $as_echo_n "(cached) " >&6
50653 else
50654
50655
50656       ac_ext=cpp
50657 ac_cpp='$CXXCPP $CPPFLAGS'
50658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50661
50662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50663 /* end confdefs.h.  */
50664 #include <math.h>
50665 int
50666 main ()
50667 {
50668  modfl(0, 0);
50669   ;
50670   return 0;
50671 }
50672 _ACEOF
50673 if ac_fn_cxx_try_compile "$LINENO"; then :
50674   glibcxx_cv_func_modfl_use=yes
50675 else
50676   glibcxx_cv_func_modfl_use=no
50677 fi
50678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50679       ac_ext=c
50680 ac_cpp='$CPP $CPPFLAGS'
50681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50684
50685
50686 fi
50687
50688   fi
50689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50690 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50691
50692   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50693     for ac_func in modfl
50694 do :
50695   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50696 if test "x$ac_cv_func_modfl" = x""yes; then :
50697   cat >>confdefs.h <<_ACEOF
50698 #define HAVE_MODFL 1
50699 _ACEOF
50700
50701 fi
50702 done
50703
50704   else
50705
50706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50707 $as_echo_n "checking for _modfl declaration... " >&6; }
50708   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50709     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50710   $as_echo_n "(cached) " >&6
50711 else
50712
50713
50714       ac_ext=cpp
50715 ac_cpp='$CXXCPP $CPPFLAGS'
50716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50719
50720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50721 /* end confdefs.h.  */
50722 #include <math.h>
50723 int
50724 main ()
50725 {
50726  _modfl(0, 0);
50727   ;
50728   return 0;
50729 }
50730 _ACEOF
50731 if ac_fn_cxx_try_compile "$LINENO"; then :
50732   glibcxx_cv_func__modfl_use=yes
50733 else
50734   glibcxx_cv_func__modfl_use=no
50735 fi
50736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50737       ac_ext=c
50738 ac_cpp='$CPP $CPPFLAGS'
50739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50742
50743
50744 fi
50745
50746   fi
50747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50748 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50749
50750     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50751       for ac_func in _modfl
50752 do :
50753   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50754 if test "x$ac_cv_func__modfl" = x""yes; then :
50755   cat >>confdefs.h <<_ACEOF
50756 #define HAVE__MODFL 1
50757 _ACEOF
50758
50759 fi
50760 done
50761
50762     fi
50763   fi
50764
50765
50766
50767
50768
50769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50770 $as_echo_n "checking for powl declaration... " >&6; }
50771   if test x${glibcxx_cv_func_powl_use+set} != xset; then
50772     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50773   $as_echo_n "(cached) " >&6
50774 else
50775
50776
50777       ac_ext=cpp
50778 ac_cpp='$CXXCPP $CPPFLAGS'
50779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50782
50783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50784 /* end confdefs.h.  */
50785 #include <math.h>
50786 int
50787 main ()
50788 {
50789  powl(0, 0);
50790   ;
50791   return 0;
50792 }
50793 _ACEOF
50794 if ac_fn_cxx_try_compile "$LINENO"; then :
50795   glibcxx_cv_func_powl_use=yes
50796 else
50797   glibcxx_cv_func_powl_use=no
50798 fi
50799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50800       ac_ext=c
50801 ac_cpp='$CPP $CPPFLAGS'
50802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50805
50806
50807 fi
50808
50809   fi
50810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50811 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50812
50813   if test x$glibcxx_cv_func_powl_use = x"yes"; then
50814     for ac_func in powl
50815 do :
50816   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50817 if test "x$ac_cv_func_powl" = x""yes; then :
50818   cat >>confdefs.h <<_ACEOF
50819 #define HAVE_POWL 1
50820 _ACEOF
50821
50822 fi
50823 done
50824
50825   else
50826
50827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50828 $as_echo_n "checking for _powl declaration... " >&6; }
50829   if test x${glibcxx_cv_func__powl_use+set} != xset; then
50830     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50831   $as_echo_n "(cached) " >&6
50832 else
50833
50834
50835       ac_ext=cpp
50836 ac_cpp='$CXXCPP $CPPFLAGS'
50837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50840
50841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50842 /* end confdefs.h.  */
50843 #include <math.h>
50844 int
50845 main ()
50846 {
50847  _powl(0, 0);
50848   ;
50849   return 0;
50850 }
50851 _ACEOF
50852 if ac_fn_cxx_try_compile "$LINENO"; then :
50853   glibcxx_cv_func__powl_use=yes
50854 else
50855   glibcxx_cv_func__powl_use=no
50856 fi
50857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50858       ac_ext=c
50859 ac_cpp='$CPP $CPPFLAGS'
50860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50863
50864
50865 fi
50866
50867   fi
50868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50869 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50870
50871     if test x$glibcxx_cv_func__powl_use = x"yes"; then
50872       for ac_func in _powl
50873 do :
50874   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50875 if test "x$ac_cv_func__powl" = x""yes; then :
50876   cat >>confdefs.h <<_ACEOF
50877 #define HAVE__POWL 1
50878 _ACEOF
50879
50880 fi
50881 done
50882
50883     fi
50884   fi
50885
50886
50887
50888
50889
50890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50891 $as_echo_n "checking for sqrtl declaration... " >&6; }
50892   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50893     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50894   $as_echo_n "(cached) " >&6
50895 else
50896
50897
50898       ac_ext=cpp
50899 ac_cpp='$CXXCPP $CPPFLAGS'
50900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50903
50904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50905 /* end confdefs.h.  */
50906 #include <math.h>
50907                       #ifdef HAVE_IEEEFP_H
50908                       #include <ieeefp.h>
50909                       #endif
50910
50911 int
50912 main ()
50913 {
50914  sqrtl(0);
50915   ;
50916   return 0;
50917 }
50918 _ACEOF
50919 if ac_fn_cxx_try_compile "$LINENO"; then :
50920   glibcxx_cv_func_sqrtl_use=yes
50921 else
50922   glibcxx_cv_func_sqrtl_use=no
50923 fi
50924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50925       ac_ext=c
50926 ac_cpp='$CPP $CPPFLAGS'
50927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50930
50931
50932 fi
50933
50934   fi
50935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50936 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50937
50938   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50939     for ac_func in sqrtl
50940 do :
50941   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50942 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50943   cat >>confdefs.h <<_ACEOF
50944 #define HAVE_SQRTL 1
50945 _ACEOF
50946
50947 fi
50948 done
50949
50950   else
50951
50952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50953 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50954   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50955     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50956   $as_echo_n "(cached) " >&6
50957 else
50958
50959
50960       ac_ext=cpp
50961 ac_cpp='$CXXCPP $CPPFLAGS'
50962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50965
50966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50967 /* end confdefs.h.  */
50968 #include <math.h>
50969                       #ifdef HAVE_IEEEFP_H
50970                       #include <ieeefp.h>
50971                       #endif
50972
50973 int
50974 main ()
50975 {
50976  _sqrtl(0);
50977   ;
50978   return 0;
50979 }
50980 _ACEOF
50981 if ac_fn_cxx_try_compile "$LINENO"; then :
50982   glibcxx_cv_func__sqrtl_use=yes
50983 else
50984   glibcxx_cv_func__sqrtl_use=no
50985 fi
50986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50987       ac_ext=c
50988 ac_cpp='$CPP $CPPFLAGS'
50989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50992
50993
50994 fi
50995
50996   fi
50997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50998 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50999
51000     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51001       for ac_func in _sqrtl
51002 do :
51003   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51004 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51005   cat >>confdefs.h <<_ACEOF
51006 #define HAVE__SQRTL 1
51007 _ACEOF
51008
51009 fi
51010 done
51011
51012     fi
51013   fi
51014
51015
51016
51017
51018
51019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51020 $as_echo_n "checking for sincosl declaration... " >&6; }
51021   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51022     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51023   $as_echo_n "(cached) " >&6
51024 else
51025
51026
51027       ac_ext=cpp
51028 ac_cpp='$CXXCPP $CPPFLAGS'
51029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51032
51033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51034 /* end confdefs.h.  */
51035 #include <math.h>
51036 int
51037 main ()
51038 {
51039  sincosl(0, 0, 0);
51040   ;
51041   return 0;
51042 }
51043 _ACEOF
51044 if ac_fn_cxx_try_compile "$LINENO"; then :
51045   glibcxx_cv_func_sincosl_use=yes
51046 else
51047   glibcxx_cv_func_sincosl_use=no
51048 fi
51049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51050       ac_ext=c
51051 ac_cpp='$CPP $CPPFLAGS'
51052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51055
51056
51057 fi
51058
51059   fi
51060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51061 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51062
51063   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51064     for ac_func in sincosl
51065 do :
51066   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51067 if test "x$ac_cv_func_sincosl" = x""yes; then :
51068   cat >>confdefs.h <<_ACEOF
51069 #define HAVE_SINCOSL 1
51070 _ACEOF
51071
51072 fi
51073 done
51074
51075   else
51076
51077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51078 $as_echo_n "checking for _sincosl declaration... " >&6; }
51079   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51080     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51081   $as_echo_n "(cached) " >&6
51082 else
51083
51084
51085       ac_ext=cpp
51086 ac_cpp='$CXXCPP $CPPFLAGS'
51087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51090
51091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51092 /* end confdefs.h.  */
51093 #include <math.h>
51094 int
51095 main ()
51096 {
51097  _sincosl(0, 0, 0);
51098   ;
51099   return 0;
51100 }
51101 _ACEOF
51102 if ac_fn_cxx_try_compile "$LINENO"; then :
51103   glibcxx_cv_func__sincosl_use=yes
51104 else
51105   glibcxx_cv_func__sincosl_use=no
51106 fi
51107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51108       ac_ext=c
51109 ac_cpp='$CPP $CPPFLAGS'
51110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51113
51114
51115 fi
51116
51117   fi
51118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51119 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51120
51121     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51122       for ac_func in _sincosl
51123 do :
51124   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51125 if test "x$ac_cv_func__sincosl" = x""yes; then :
51126   cat >>confdefs.h <<_ACEOF
51127 #define HAVE__SINCOSL 1
51128 _ACEOF
51129
51130 fi
51131 done
51132
51133     fi
51134   fi
51135
51136
51137
51138
51139
51140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51141 $as_echo_n "checking for finitel declaration... " >&6; }
51142   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51143     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51144   $as_echo_n "(cached) " >&6
51145 else
51146
51147
51148       ac_ext=cpp
51149 ac_cpp='$CXXCPP $CPPFLAGS'
51150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51153
51154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51155 /* end confdefs.h.  */
51156 #include <math.h>
51157                       #ifdef HAVE_IEEEFP_H
51158                       #include <ieeefp.h>
51159                       #endif
51160
51161 int
51162 main ()
51163 {
51164  finitel(0);
51165   ;
51166   return 0;
51167 }
51168 _ACEOF
51169 if ac_fn_cxx_try_compile "$LINENO"; then :
51170   glibcxx_cv_func_finitel_use=yes
51171 else
51172   glibcxx_cv_func_finitel_use=no
51173 fi
51174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51175       ac_ext=c
51176 ac_cpp='$CPP $CPPFLAGS'
51177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51180
51181
51182 fi
51183
51184   fi
51185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51186 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51187
51188   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51189     for ac_func in finitel
51190 do :
51191   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51192 if test "x$ac_cv_func_finitel" = x""yes; then :
51193   cat >>confdefs.h <<_ACEOF
51194 #define HAVE_FINITEL 1
51195 _ACEOF
51196
51197 fi
51198 done
51199
51200   else
51201
51202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51203 $as_echo_n "checking for _finitel declaration... " >&6; }
51204   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51205     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51206   $as_echo_n "(cached) " >&6
51207 else
51208
51209
51210       ac_ext=cpp
51211 ac_cpp='$CXXCPP $CPPFLAGS'
51212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51215
51216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51217 /* end confdefs.h.  */
51218 #include <math.h>
51219                       #ifdef HAVE_IEEEFP_H
51220                       #include <ieeefp.h>
51221                       #endif
51222
51223 int
51224 main ()
51225 {
51226  _finitel(0);
51227   ;
51228   return 0;
51229 }
51230 _ACEOF
51231 if ac_fn_cxx_try_compile "$LINENO"; then :
51232   glibcxx_cv_func__finitel_use=yes
51233 else
51234   glibcxx_cv_func__finitel_use=no
51235 fi
51236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51237       ac_ext=c
51238 ac_cpp='$CPP $CPPFLAGS'
51239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51242
51243
51244 fi
51245
51246   fi
51247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51248 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51249
51250     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51251       for ac_func in _finitel
51252 do :
51253   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51254 if test "x$ac_cv_func__finitel" = x""yes; then :
51255   cat >>confdefs.h <<_ACEOF
51256 #define HAVE__FINITEL 1
51257 _ACEOF
51258
51259 fi
51260 done
51261
51262     fi
51263   fi
51264
51265
51266
51267
51268   LIBS="$ac_save_LIBS"
51269   CXXFLAGS="$ac_save_CXXFLAGS"
51270
51271
51272   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51273   ac_save_CXXFLAGS="$CXXFLAGS"
51274   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51275
51276
51277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51278 $as_echo_n "checking for strtold declaration... " >&6; }
51279   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51280     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51281   $as_echo_n "(cached) " >&6
51282 else
51283
51284
51285       ac_ext=cpp
51286 ac_cpp='$CXXCPP $CPPFLAGS'
51287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51290
51291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51292 /* end confdefs.h.  */
51293 #include <stdlib.h>
51294 int
51295 main ()
51296 {
51297  strtold(0, 0);
51298   ;
51299   return 0;
51300 }
51301 _ACEOF
51302 if ac_fn_cxx_try_compile "$LINENO"; then :
51303   glibcxx_cv_func_strtold_use=yes
51304 else
51305   glibcxx_cv_func_strtold_use=no
51306 fi
51307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51308       ac_ext=c
51309 ac_cpp='$CPP $CPPFLAGS'
51310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51313
51314
51315 fi
51316
51317   fi
51318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51319 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51320   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51321     for ac_func in strtold
51322 do :
51323   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51324 if test "x$ac_cv_func_strtold" = x""yes; then :
51325   cat >>confdefs.h <<_ACEOF
51326 #define HAVE_STRTOLD 1
51327 _ACEOF
51328
51329 fi
51330 done
51331
51332   fi
51333
51334
51335
51336
51337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51338 $as_echo_n "checking for strtof declaration... " >&6; }
51339   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51340     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51341   $as_echo_n "(cached) " >&6
51342 else
51343
51344
51345       ac_ext=cpp
51346 ac_cpp='$CXXCPP $CPPFLAGS'
51347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51350
51351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51352 /* end confdefs.h.  */
51353 #include <stdlib.h>
51354 int
51355 main ()
51356 {
51357  strtof(0, 0);
51358   ;
51359   return 0;
51360 }
51361 _ACEOF
51362 if ac_fn_cxx_try_compile "$LINENO"; then :
51363   glibcxx_cv_func_strtof_use=yes
51364 else
51365   glibcxx_cv_func_strtof_use=no
51366 fi
51367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51368       ac_ext=c
51369 ac_cpp='$CPP $CPPFLAGS'
51370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51373
51374
51375 fi
51376
51377   fi
51378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51379 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51380   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51381     for ac_func in strtof
51382 do :
51383   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51384 if test "x$ac_cv_func_strtof" = x""yes; then :
51385   cat >>confdefs.h <<_ACEOF
51386 #define HAVE_STRTOF 1
51387 _ACEOF
51388
51389 fi
51390 done
51391
51392   fi
51393
51394
51395
51396
51397   CXXFLAGS="$ac_save_CXXFLAGS"
51398
51399     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51400
51401
51402
51403    # Check whether --enable-tls was given.
51404 if test "${enable_tls+set}" = set; then :
51405   enableval=$enable_tls;
51406       case "$enableval" in
51407        yes|no) ;;
51408        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51409       esac
51410
51411 else
51412   enable_tls=yes
51413 fi
51414
51415
51416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51417 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51418 if test "${gcc_cv_have_tls+set}" = set; then :
51419   $as_echo_n "(cached) " >&6
51420 else
51421
51422     if test "$cross_compiling" = yes; then :
51423                 if test x$gcc_no_link = xyes; then
51424   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51425 fi
51426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51427 /* end confdefs.h.  */
51428 __thread int a; int b; int main() { return a = b; }
51429 _ACEOF
51430 if ac_fn_c_try_link "$LINENO"; then :
51431   chktls_save_LDFLAGS="$LDFLAGS"
51432                           case $host in
51433             *-*-linux*)
51434               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51435               ;;
51436           esac
51437           chktls_save_CFLAGS="$CFLAGS"
51438           CFLAGS="-fPIC $CFLAGS"
51439                   if test x$gcc_no_link = xyes; then
51440   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51441 fi
51442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51443 /* end confdefs.h.  */
51444 int f() { return 0; }
51445 _ACEOF
51446 if ac_fn_c_try_link "$LINENO"; then :
51447   if test x$gcc_no_link = xyes; then
51448   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51449 fi
51450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51451 /* end confdefs.h.  */
51452 __thread int a; int b; int f() { return a = b; }
51453 _ACEOF
51454 if ac_fn_c_try_link "$LINENO"; then :
51455   gcc_cv_have_tls=yes
51456 else
51457   gcc_cv_have_tls=no
51458 fi
51459 rm -f core conftest.err conftest.$ac_objext \
51460     conftest$ac_exeext conftest.$ac_ext
51461 else
51462   gcc_cv_have_tls=yes
51463 fi
51464 rm -f core conftest.err conftest.$ac_objext \
51465     conftest$ac_exeext conftest.$ac_ext
51466           CFLAGS="$chktls_save_CFLAGS"
51467           LDFLAGS="$chktls_save_LDFLAGS"
51468 else
51469   gcc_cv_have_tls=no
51470 fi
51471 rm -f core conftest.err conftest.$ac_objext \
51472     conftest$ac_exeext conftest.$ac_ext
51473
51474
51475 else
51476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51477 /* end confdefs.h.  */
51478 __thread int a; int b; int main() { return a = b; }
51479 _ACEOF
51480 if ac_fn_c_try_run "$LINENO"; then :
51481                       chktls_save_LDFLAGS="$LDFLAGS"
51482       LDFLAGS="-static $LDFLAGS"
51483       if test x$gcc_no_link = xyes; then
51484   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51485 fi
51486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51487 /* end confdefs.h.  */
51488 int main() { return 0; }
51489 _ACEOF
51490 if ac_fn_c_try_link "$LINENO"; then :
51491   if test "$cross_compiling" = yes; then :
51492   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51494 as_fn_error "cannot run test program while cross compiling
51495 See \`config.log' for more details." "$LINENO" 5; }
51496 else
51497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51498 /* end confdefs.h.  */
51499 __thread int a; int b; int main() { return a = b; }
51500 _ACEOF
51501 if ac_fn_c_try_run "$LINENO"; then :
51502   gcc_cv_have_tls=yes
51503 else
51504   gcc_cv_have_tls=no
51505 fi
51506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51507   conftest.$ac_objext conftest.beam conftest.$ac_ext
51508 fi
51509
51510 else
51511   gcc_cv_have_tls=yes
51512 fi
51513 rm -f core conftest.err conftest.$ac_objext \
51514     conftest$ac_exeext conftest.$ac_ext
51515       LDFLAGS="$chktls_save_LDFLAGS"
51516       if test $gcc_cv_have_tls = yes; then
51517                                                 chktls_save_CFLAGS="$CFLAGS"
51518         thread_CFLAGS=failed
51519         for flag in '' '-pthread' '-lpthread'; do
51520           CFLAGS="$flag $chktls_save_CFLAGS"
51521           if test x$gcc_no_link = xyes; then
51522   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51523 fi
51524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51525 /* end confdefs.h.  */
51526 #include <pthread.h>
51527                 void *g(void *d) { return NULL; }
51528 int
51529 main ()
51530 {
51531 pthread_t t; pthread_create(&t,NULL,g,NULL);
51532   ;
51533   return 0;
51534 }
51535 _ACEOF
51536 if ac_fn_c_try_link "$LINENO"; then :
51537   thread_CFLAGS="$flag"
51538 fi
51539 rm -f core conftest.err conftest.$ac_objext \
51540     conftest$ac_exeext conftest.$ac_ext
51541           if test "X$thread_CFLAGS" != Xfailed; then
51542             break
51543           fi
51544         done
51545         CFLAGS="$chktls_save_CFLAGS"
51546         if test "X$thread_CFLAGS" != Xfailed; then
51547           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51548                                                   if test "$cross_compiling" = yes; then :
51549   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51551 as_fn_error "cannot run test program while cross compiling
51552 See \`config.log' for more details." "$LINENO" 5; }
51553 else
51554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51555 /* end confdefs.h.  */
51556 #include <pthread.h>
51557                 __thread int a;
51558                 static int *volatile a_in_other_thread;
51559                 static void *
51560                 thread_func (void *arg)
51561                 {
51562                   a_in_other_thread = &a;
51563                   return (void *)0;
51564                 }
51565 int
51566 main ()
51567 {
51568 pthread_t thread;
51569                 void *thread_retval;
51570                 int *volatile a_in_main_thread;
51571                 a_in_main_thread = &a;
51572                 if (pthread_create (&thread, (pthread_attr_t *)0,
51573                                     thread_func, (void *)0))
51574                   return 0;
51575                 if (pthread_join (thread, &thread_retval))
51576                   return 0;
51577                 return (a_in_other_thread == a_in_main_thread);
51578   ;
51579   return 0;
51580 }
51581 _ACEOF
51582 if ac_fn_c_try_run "$LINENO"; then :
51583   gcc_cv_have_tls=yes
51584 else
51585   gcc_cv_have_tls=no
51586 fi
51587 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51588   conftest.$ac_objext conftest.beam conftest.$ac_ext
51589 fi
51590
51591           CFLAGS="$chktls_save_CFLAGS"
51592         fi
51593       fi
51594 else
51595   gcc_cv_have_tls=no
51596 fi
51597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51598   conftest.$ac_objext conftest.beam conftest.$ac_ext
51599 fi
51600
51601 fi
51602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51603 $as_echo "$gcc_cv_have_tls" >&6; }
51604   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51605
51606 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51607
51608   fi
51609
51610
51611
51612
51613
51614           am_save_CPPFLAGS="$CPPFLAGS"
51615
51616   for element in $INCICONV; do
51617     haveit=
51618     for x in $CPPFLAGS; do
51619
51620   acl_save_prefix="$prefix"
51621   prefix="$acl_final_prefix"
51622   acl_save_exec_prefix="$exec_prefix"
51623   exec_prefix="$acl_final_exec_prefix"
51624   eval x=\"$x\"
51625   exec_prefix="$acl_save_exec_prefix"
51626   prefix="$acl_save_prefix"
51627
51628       if test "X$x" = "X$element"; then
51629         haveit=yes
51630         break
51631       fi
51632     done
51633     if test -z "$haveit"; then
51634       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51635     fi
51636   done
51637
51638
51639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51640 $as_echo_n "checking for iconv... " >&6; }
51641 if test "${am_cv_func_iconv+set}" = set; then :
51642   $as_echo_n "(cached) " >&6
51643 else
51644
51645     am_cv_func_iconv="no, consider installing GNU libiconv"
51646     am_cv_lib_iconv=no
51647     if test x$gcc_no_link = xyes; then
51648   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51649 fi
51650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51651 /* end confdefs.h.  */
51652 #include <stdlib.h>
51653 #include <iconv.h>
51654 int
51655 main ()
51656 {
51657 iconv_t cd = iconv_open("","");
51658        iconv(cd,NULL,NULL,NULL,NULL);
51659        iconv_close(cd);
51660   ;
51661   return 0;
51662 }
51663 _ACEOF
51664 if ac_fn_c_try_link "$LINENO"; then :
51665   am_cv_func_iconv=yes
51666 fi
51667 rm -f core conftest.err conftest.$ac_objext \
51668     conftest$ac_exeext conftest.$ac_ext
51669     if test "$am_cv_func_iconv" != yes; then
51670       am_save_LIBS="$LIBS"
51671       LIBS="$LIBS $LIBICONV"
51672       if test x$gcc_no_link = xyes; then
51673   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51674 fi
51675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51676 /* end confdefs.h.  */
51677 #include <stdlib.h>
51678 #include <iconv.h>
51679 int
51680 main ()
51681 {
51682 iconv_t cd = iconv_open("","");
51683          iconv(cd,NULL,NULL,NULL,NULL);
51684          iconv_close(cd);
51685   ;
51686   return 0;
51687 }
51688 _ACEOF
51689 if ac_fn_c_try_link "$LINENO"; then :
51690   am_cv_lib_iconv=yes
51691         am_cv_func_iconv=yes
51692 fi
51693 rm -f core conftest.err conftest.$ac_objext \
51694     conftest$ac_exeext conftest.$ac_ext
51695       LIBS="$am_save_LIBS"
51696     fi
51697
51698 fi
51699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51700 $as_echo "$am_cv_func_iconv" >&6; }
51701   if test "$am_cv_func_iconv" = yes; then
51702
51703 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51704
51705   fi
51706   if test "$am_cv_lib_iconv" = yes; then
51707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51708 $as_echo_n "checking how to link with libiconv... " >&6; }
51709     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51710 $as_echo "$LIBICONV" >&6; }
51711   else
51712             CPPFLAGS="$am_save_CPPFLAGS"
51713     LIBICONV=
51714     LTLIBICONV=
51715   fi
51716
51717
51718
51719   if test "$am_cv_func_iconv" = yes; then
51720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51721 $as_echo_n "checking for iconv declaration... " >&6; }
51722     if test "${am_cv_proto_iconv+set}" = set; then :
51723   $as_echo_n "(cached) " >&6
51724 else
51725
51726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51727 /* end confdefs.h.  */
51728
51729 #include <stdlib.h>
51730 #include <iconv.h>
51731 extern
51732 #ifdef __cplusplus
51733 "C"
51734 #endif
51735 #if defined(__STDC__) || defined(__cplusplus)
51736 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51737 #else
51738 size_t iconv();
51739 #endif
51740
51741 int
51742 main ()
51743 {
51744
51745   ;
51746   return 0;
51747 }
51748 _ACEOF
51749 if ac_fn_c_try_compile "$LINENO"; then :
51750   am_cv_proto_iconv_arg1=""
51751 else
51752   am_cv_proto_iconv_arg1="const"
51753 fi
51754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51755       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);"
51756 fi
51757
51758     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51759     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51760          }$am_cv_proto_iconv" >&5
51761 $as_echo "${ac_t:-
51762          }$am_cv_proto_iconv" >&6; }
51763
51764 cat >>confdefs.h <<_ACEOF
51765 #define ICONV_CONST $am_cv_proto_iconv_arg1
51766 _ACEOF
51767
51768   fi
51769
51770     ;;
51771   *-mingw32*)
51772
51773   # If we're not using GNU ld, then there's no point in even trying these
51774   # tests.  Check for that first.  We should have already tested for gld
51775   # by now (in libtool), but require it now just to be safe...
51776   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51777   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51778
51779
51780
51781   # The name set by libtool depends on the version of libtool.  Shame on us
51782   # for depending on an impl detail, but c'est la vie.  Older versions used
51783   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51784   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51785   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51786   # set (hence we're using an older libtool), then set it.
51787   if test x${with_gnu_ld+set} != xset; then
51788     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51789       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51790       with_gnu_ld=no
51791     else
51792       with_gnu_ld=$ac_cv_prog_gnu_ld
51793     fi
51794   fi
51795
51796   # Start by getting the version number.  I think the libtool test already
51797   # does some of this, but throws away the result.
51798   glibcxx_ld_is_gold=no
51799   if test x"$with_gnu_ld" = x"yes"; then
51800     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51801 $as_echo_n "checking for ld version... " >&6; }
51802
51803     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51804       glibcxx_ld_is_gold=yes
51805     fi
51806     ldver=`$LD --version 2>/dev/null |
51807            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'`
51808
51809     glibcxx_gnu_ld_version=`echo $ldver | \
51810            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51811     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51812 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51813   fi
51814
51815   # Set --gc-sections.
51816   glibcxx_have_gc_sections=no
51817   if test "$glibcxx_ld_is_gold" = "yes"; then
51818     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51819       glibcxx_have_gc_sections=yes
51820     fi
51821   else
51822     glibcxx_gcsections_min_ld=21602
51823     if test x"$with_gnu_ld" = x"yes" &&
51824         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51825       glibcxx_have_gc_sections=yes
51826     fi
51827   fi
51828   if test "$glibcxx_have_gc_sections" = "yes"; then
51829     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
51830     # NB: This flag only works reliably after 2.16.1. Configure tests
51831     # for this are difficult, so hard wire a value that should work.
51832
51833     ac_test_CFLAGS="${CFLAGS+set}"
51834     ac_save_CFLAGS="$CFLAGS"
51835     CFLAGS='-Wl,--gc-sections'
51836
51837     # Check for -Wl,--gc-sections
51838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51839 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51840     if test x$gcc_no_link = xyes; then
51841   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51842 fi
51843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51844 /* end confdefs.h.  */
51845  int one(void) { return 1; }
51846      int two(void) { return 2; }
51847
51848 int
51849 main ()
51850 {
51851  two();
51852   ;
51853   return 0;
51854 }
51855 _ACEOF
51856 if ac_fn_c_try_link "$LINENO"; then :
51857   ac_gcsections=yes
51858 else
51859   ac_gcsections=no
51860 fi
51861 rm -f core conftest.err conftest.$ac_objext \
51862     conftest$ac_exeext conftest.$ac_ext
51863     if test "$ac_gcsections" = "yes"; then
51864       rm -f conftest.c
51865       touch conftest.c
51866       if $CC -c conftest.c; then
51867         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51868            grep "Warning: gc-sections option ignored" > /dev/null; then
51869           ac_gcsections=no
51870         fi
51871       fi
51872       rm -f conftest.c conftest.o conftest
51873     fi
51874     if test "$ac_gcsections" = "yes"; then
51875       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51876     fi
51877     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51878 $as_echo "$ac_gcsections" >&6; }
51879
51880     if test "$ac_test_CFLAGS" = set; then
51881       CFLAGS="$ac_save_CFLAGS"
51882     else
51883       # this is the suspicious part
51884       CFLAGS=''
51885     fi
51886   fi
51887
51888   # Set -z,relro.
51889   # Note this is only for shared objects.
51890   ac_ld_relro=no
51891   if test x"$with_gnu_ld" = x"yes"; then
51892     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51893 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51894     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51895     if test -n "$cxx_z_relo"; then
51896       OPT_LDFLAGS="-Wl,-z,relro"
51897       ac_ld_relro=yes
51898     fi
51899     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51900 $as_echo "$ac_ld_relro" >&6; }
51901   fi
51902
51903   # Set linker optimization flags.
51904   if test x"$with_gnu_ld" = x"yes"; then
51905     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51906   fi
51907
51908
51909
51910
51911
51912   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51913   ac_save_CXXFLAGS="$CXXFLAGS"
51914   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51915
51916     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51917 $as_echo_n "checking for sin in -lm... " >&6; }
51918 if test "${ac_cv_lib_m_sin+set}" = set; then :
51919   $as_echo_n "(cached) " >&6
51920 else
51921   ac_check_lib_save_LIBS=$LIBS
51922 LIBS="-lm  $LIBS"
51923 if test x$gcc_no_link = xyes; then
51924   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51925 fi
51926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51927 /* end confdefs.h.  */
51928
51929 /* Override any GCC internal prototype to avoid an error.
51930    Use char because int might match the return type of a GCC
51931    builtin and then its argument prototype would still apply.  */
51932 #ifdef __cplusplus
51933 extern "C"
51934 #endif
51935 char sin ();
51936 int
51937 main ()
51938 {
51939 return sin ();
51940   ;
51941   return 0;
51942 }
51943 _ACEOF
51944 if ac_fn_c_try_link "$LINENO"; then :
51945   ac_cv_lib_m_sin=yes
51946 else
51947   ac_cv_lib_m_sin=no
51948 fi
51949 rm -f core conftest.err conftest.$ac_objext \
51950     conftest$ac_exeext conftest.$ac_ext
51951 LIBS=$ac_check_lib_save_LIBS
51952 fi
51953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51954 $as_echo "$ac_cv_lib_m_sin" >&6; }
51955 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51956   libm="-lm"
51957 fi
51958
51959   ac_save_LIBS="$LIBS"
51960   LIBS="$LIBS $libm"
51961
51962
51963
51964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51965 $as_echo_n "checking for isinf declaration... " >&6; }
51966   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51967     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51968   $as_echo_n "(cached) " >&6
51969 else
51970
51971
51972       ac_ext=cpp
51973 ac_cpp='$CXXCPP $CPPFLAGS'
51974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51977
51978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51979 /* end confdefs.h.  */
51980 #include <math.h>
51981                       #ifdef HAVE_IEEEFP_H
51982                       #include <ieeefp.h>
51983                       #endif
51984
51985 int
51986 main ()
51987 {
51988  isinf(0);
51989   ;
51990   return 0;
51991 }
51992 _ACEOF
51993 if ac_fn_cxx_try_compile "$LINENO"; then :
51994   glibcxx_cv_func_isinf_use=yes
51995 else
51996   glibcxx_cv_func_isinf_use=no
51997 fi
51998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51999       ac_ext=c
52000 ac_cpp='$CPP $CPPFLAGS'
52001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52004
52005
52006 fi
52007
52008   fi
52009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52010 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52011
52012   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52013     for ac_func in isinf
52014 do :
52015   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52016 if test "x$ac_cv_func_isinf" = x""yes; then :
52017   cat >>confdefs.h <<_ACEOF
52018 #define HAVE_ISINF 1
52019 _ACEOF
52020
52021 fi
52022 done
52023
52024   else
52025
52026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52027 $as_echo_n "checking for _isinf declaration... " >&6; }
52028   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52029     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52030   $as_echo_n "(cached) " >&6
52031 else
52032
52033
52034       ac_ext=cpp
52035 ac_cpp='$CXXCPP $CPPFLAGS'
52036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52039
52040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52041 /* end confdefs.h.  */
52042 #include <math.h>
52043                       #ifdef HAVE_IEEEFP_H
52044                       #include <ieeefp.h>
52045                       #endif
52046
52047 int
52048 main ()
52049 {
52050  _isinf(0);
52051   ;
52052   return 0;
52053 }
52054 _ACEOF
52055 if ac_fn_cxx_try_compile "$LINENO"; then :
52056   glibcxx_cv_func__isinf_use=yes
52057 else
52058   glibcxx_cv_func__isinf_use=no
52059 fi
52060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52061       ac_ext=c
52062 ac_cpp='$CPP $CPPFLAGS'
52063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52066
52067
52068 fi
52069
52070   fi
52071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52072 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52073
52074     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52075       for ac_func in _isinf
52076 do :
52077   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52078 if test "x$ac_cv_func__isinf" = x""yes; then :
52079   cat >>confdefs.h <<_ACEOF
52080 #define HAVE__ISINF 1
52081 _ACEOF
52082
52083 fi
52084 done
52085
52086     fi
52087   fi
52088
52089
52090
52091
52092
52093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52094 $as_echo_n "checking for isnan declaration... " >&6; }
52095   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52096     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52097   $as_echo_n "(cached) " >&6
52098 else
52099
52100
52101       ac_ext=cpp
52102 ac_cpp='$CXXCPP $CPPFLAGS'
52103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52106
52107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52108 /* end confdefs.h.  */
52109 #include <math.h>
52110                       #ifdef HAVE_IEEEFP_H
52111                       #include <ieeefp.h>
52112                       #endif
52113
52114 int
52115 main ()
52116 {
52117  isnan(0);
52118   ;
52119   return 0;
52120 }
52121 _ACEOF
52122 if ac_fn_cxx_try_compile "$LINENO"; then :
52123   glibcxx_cv_func_isnan_use=yes
52124 else
52125   glibcxx_cv_func_isnan_use=no
52126 fi
52127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52128       ac_ext=c
52129 ac_cpp='$CPP $CPPFLAGS'
52130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52133
52134
52135 fi
52136
52137   fi
52138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52139 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52140
52141   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52142     for ac_func in isnan
52143 do :
52144   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52145 if test "x$ac_cv_func_isnan" = x""yes; then :
52146   cat >>confdefs.h <<_ACEOF
52147 #define HAVE_ISNAN 1
52148 _ACEOF
52149
52150 fi
52151 done
52152
52153   else
52154
52155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52156 $as_echo_n "checking for _isnan declaration... " >&6; }
52157   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52158     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52159   $as_echo_n "(cached) " >&6
52160 else
52161
52162
52163       ac_ext=cpp
52164 ac_cpp='$CXXCPP $CPPFLAGS'
52165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52168
52169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52170 /* end confdefs.h.  */
52171 #include <math.h>
52172                       #ifdef HAVE_IEEEFP_H
52173                       #include <ieeefp.h>
52174                       #endif
52175
52176 int
52177 main ()
52178 {
52179  _isnan(0);
52180   ;
52181   return 0;
52182 }
52183 _ACEOF
52184 if ac_fn_cxx_try_compile "$LINENO"; then :
52185   glibcxx_cv_func__isnan_use=yes
52186 else
52187   glibcxx_cv_func__isnan_use=no
52188 fi
52189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52190       ac_ext=c
52191 ac_cpp='$CPP $CPPFLAGS'
52192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52195
52196
52197 fi
52198
52199   fi
52200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52201 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52202
52203     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52204       for ac_func in _isnan
52205 do :
52206   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52207 if test "x$ac_cv_func__isnan" = x""yes; then :
52208   cat >>confdefs.h <<_ACEOF
52209 #define HAVE__ISNAN 1
52210 _ACEOF
52211
52212 fi
52213 done
52214
52215     fi
52216   fi
52217
52218
52219
52220
52221
52222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52223 $as_echo_n "checking for finite declaration... " >&6; }
52224   if test x${glibcxx_cv_func_finite_use+set} != xset; then
52225     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52226   $as_echo_n "(cached) " >&6
52227 else
52228
52229
52230       ac_ext=cpp
52231 ac_cpp='$CXXCPP $CPPFLAGS'
52232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52235
52236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52237 /* end confdefs.h.  */
52238 #include <math.h>
52239                       #ifdef HAVE_IEEEFP_H
52240                       #include <ieeefp.h>
52241                       #endif
52242
52243 int
52244 main ()
52245 {
52246  finite(0);
52247   ;
52248   return 0;
52249 }
52250 _ACEOF
52251 if ac_fn_cxx_try_compile "$LINENO"; then :
52252   glibcxx_cv_func_finite_use=yes
52253 else
52254   glibcxx_cv_func_finite_use=no
52255 fi
52256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52257       ac_ext=c
52258 ac_cpp='$CPP $CPPFLAGS'
52259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52262
52263
52264 fi
52265
52266   fi
52267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52268 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52269
52270   if test x$glibcxx_cv_func_finite_use = x"yes"; then
52271     for ac_func in finite
52272 do :
52273   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52274 if test "x$ac_cv_func_finite" = x""yes; then :
52275   cat >>confdefs.h <<_ACEOF
52276 #define HAVE_FINITE 1
52277 _ACEOF
52278
52279 fi
52280 done
52281
52282   else
52283
52284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52285 $as_echo_n "checking for _finite declaration... " >&6; }
52286   if test x${glibcxx_cv_func__finite_use+set} != xset; then
52287     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52288   $as_echo_n "(cached) " >&6
52289 else
52290
52291
52292       ac_ext=cpp
52293 ac_cpp='$CXXCPP $CPPFLAGS'
52294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52297
52298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52299 /* end confdefs.h.  */
52300 #include <math.h>
52301                       #ifdef HAVE_IEEEFP_H
52302                       #include <ieeefp.h>
52303                       #endif
52304
52305 int
52306 main ()
52307 {
52308  _finite(0);
52309   ;
52310   return 0;
52311 }
52312 _ACEOF
52313 if ac_fn_cxx_try_compile "$LINENO"; then :
52314   glibcxx_cv_func__finite_use=yes
52315 else
52316   glibcxx_cv_func__finite_use=no
52317 fi
52318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52319       ac_ext=c
52320 ac_cpp='$CPP $CPPFLAGS'
52321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52324
52325
52326 fi
52327
52328   fi
52329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52330 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52331
52332     if test x$glibcxx_cv_func__finite_use = x"yes"; then
52333       for ac_func in _finite
52334 do :
52335   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52336 if test "x$ac_cv_func__finite" = x""yes; then :
52337   cat >>confdefs.h <<_ACEOF
52338 #define HAVE__FINITE 1
52339 _ACEOF
52340
52341 fi
52342 done
52343
52344     fi
52345   fi
52346
52347
52348
52349
52350
52351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52352 $as_echo_n "checking for sincos declaration... " >&6; }
52353   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52354     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52355   $as_echo_n "(cached) " >&6
52356 else
52357
52358
52359       ac_ext=cpp
52360 ac_cpp='$CXXCPP $CPPFLAGS'
52361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52364
52365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52366 /* end confdefs.h.  */
52367 #include <math.h>
52368 int
52369 main ()
52370 {
52371  sincos(0, 0, 0);
52372   ;
52373   return 0;
52374 }
52375 _ACEOF
52376 if ac_fn_cxx_try_compile "$LINENO"; then :
52377   glibcxx_cv_func_sincos_use=yes
52378 else
52379   glibcxx_cv_func_sincos_use=no
52380 fi
52381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52382       ac_ext=c
52383 ac_cpp='$CPP $CPPFLAGS'
52384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52387
52388
52389 fi
52390
52391   fi
52392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52393 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52394
52395   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52396     for ac_func in sincos
52397 do :
52398   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52399 if test "x$ac_cv_func_sincos" = x""yes; then :
52400   cat >>confdefs.h <<_ACEOF
52401 #define HAVE_SINCOS 1
52402 _ACEOF
52403
52404 fi
52405 done
52406
52407   else
52408
52409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52410 $as_echo_n "checking for _sincos declaration... " >&6; }
52411   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52412     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52413   $as_echo_n "(cached) " >&6
52414 else
52415
52416
52417       ac_ext=cpp
52418 ac_cpp='$CXXCPP $CPPFLAGS'
52419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52422
52423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52424 /* end confdefs.h.  */
52425 #include <math.h>
52426 int
52427 main ()
52428 {
52429  _sincos(0, 0, 0);
52430   ;
52431   return 0;
52432 }
52433 _ACEOF
52434 if ac_fn_cxx_try_compile "$LINENO"; then :
52435   glibcxx_cv_func__sincos_use=yes
52436 else
52437   glibcxx_cv_func__sincos_use=no
52438 fi
52439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52440       ac_ext=c
52441 ac_cpp='$CPP $CPPFLAGS'
52442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52445
52446
52447 fi
52448
52449   fi
52450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52451 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52452
52453     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52454       for ac_func in _sincos
52455 do :
52456   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52457 if test "x$ac_cv_func__sincos" = x""yes; then :
52458   cat >>confdefs.h <<_ACEOF
52459 #define HAVE__SINCOS 1
52460 _ACEOF
52461
52462 fi
52463 done
52464
52465     fi
52466   fi
52467
52468
52469
52470
52471
52472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52473 $as_echo_n "checking for fpclass declaration... " >&6; }
52474   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52475     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52476   $as_echo_n "(cached) " >&6
52477 else
52478
52479
52480       ac_ext=cpp
52481 ac_cpp='$CXXCPP $CPPFLAGS'
52482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52485
52486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52487 /* end confdefs.h.  */
52488 #include <math.h>
52489                       #ifdef HAVE_IEEEFP_H
52490                       #include <ieeefp.h>
52491                       #endif
52492
52493 int
52494 main ()
52495 {
52496  fpclass(0);
52497   ;
52498   return 0;
52499 }
52500 _ACEOF
52501 if ac_fn_cxx_try_compile "$LINENO"; then :
52502   glibcxx_cv_func_fpclass_use=yes
52503 else
52504   glibcxx_cv_func_fpclass_use=no
52505 fi
52506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52507       ac_ext=c
52508 ac_cpp='$CPP $CPPFLAGS'
52509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52512
52513
52514 fi
52515
52516   fi
52517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52518 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52519
52520   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52521     for ac_func in fpclass
52522 do :
52523   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52524 if test "x$ac_cv_func_fpclass" = x""yes; then :
52525   cat >>confdefs.h <<_ACEOF
52526 #define HAVE_FPCLASS 1
52527 _ACEOF
52528
52529 fi
52530 done
52531
52532   else
52533
52534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52535 $as_echo_n "checking for _fpclass declaration... " >&6; }
52536   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52537     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52538   $as_echo_n "(cached) " >&6
52539 else
52540
52541
52542       ac_ext=cpp
52543 ac_cpp='$CXXCPP $CPPFLAGS'
52544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52547
52548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52549 /* end confdefs.h.  */
52550 #include <math.h>
52551                       #ifdef HAVE_IEEEFP_H
52552                       #include <ieeefp.h>
52553                       #endif
52554
52555 int
52556 main ()
52557 {
52558  _fpclass(0);
52559   ;
52560   return 0;
52561 }
52562 _ACEOF
52563 if ac_fn_cxx_try_compile "$LINENO"; then :
52564   glibcxx_cv_func__fpclass_use=yes
52565 else
52566   glibcxx_cv_func__fpclass_use=no
52567 fi
52568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52569       ac_ext=c
52570 ac_cpp='$CPP $CPPFLAGS'
52571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52574
52575
52576 fi
52577
52578   fi
52579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52580 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52581
52582     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52583       for ac_func in _fpclass
52584 do :
52585   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52586 if test "x$ac_cv_func__fpclass" = x""yes; then :
52587   cat >>confdefs.h <<_ACEOF
52588 #define HAVE__FPCLASS 1
52589 _ACEOF
52590
52591 fi
52592 done
52593
52594     fi
52595   fi
52596
52597
52598
52599
52600
52601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52602 $as_echo_n "checking for qfpclass declaration... " >&6; }
52603   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52604     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52605   $as_echo_n "(cached) " >&6
52606 else
52607
52608
52609       ac_ext=cpp
52610 ac_cpp='$CXXCPP $CPPFLAGS'
52611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52614
52615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52616 /* end confdefs.h.  */
52617 #include <math.h>
52618                       #ifdef HAVE_IEEEFP_H
52619                       #include <ieeefp.h>
52620                       #endif
52621
52622 int
52623 main ()
52624 {
52625  qfpclass(0);
52626   ;
52627   return 0;
52628 }
52629 _ACEOF
52630 if ac_fn_cxx_try_compile "$LINENO"; then :
52631   glibcxx_cv_func_qfpclass_use=yes
52632 else
52633   glibcxx_cv_func_qfpclass_use=no
52634 fi
52635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52636       ac_ext=c
52637 ac_cpp='$CPP $CPPFLAGS'
52638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52641
52642
52643 fi
52644
52645   fi
52646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52647 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52648
52649   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52650     for ac_func in qfpclass
52651 do :
52652   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52653 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52654   cat >>confdefs.h <<_ACEOF
52655 #define HAVE_QFPCLASS 1
52656 _ACEOF
52657
52658 fi
52659 done
52660
52661   else
52662
52663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52664 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52665   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52666     if test "${glibcxx_cv_func__qfpclass_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  _qfpclass(0);
52688   ;
52689   return 0;
52690 }
52691 _ACEOF
52692 if ac_fn_cxx_try_compile "$LINENO"; then :
52693   glibcxx_cv_func__qfpclass_use=yes
52694 else
52695   glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
52709 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52710
52711     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52712       for ac_func in _qfpclass
52713 do :
52714   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52715 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52716   cat >>confdefs.h <<_ACEOF
52717 #define HAVE__QFPCLASS 1
52718 _ACEOF
52719
52720 fi
52721 done
52722
52723     fi
52724   fi
52725
52726
52727
52728
52729
52730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52731 $as_echo_n "checking for hypot declaration... " >&6; }
52732   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52733     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52734   $as_echo_n "(cached) " >&6
52735 else
52736
52737
52738       ac_ext=cpp
52739 ac_cpp='$CXXCPP $CPPFLAGS'
52740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52743
52744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52745 /* end confdefs.h.  */
52746 #include <math.h>
52747 int
52748 main ()
52749 {
52750  hypot(0, 0);
52751   ;
52752   return 0;
52753 }
52754 _ACEOF
52755 if ac_fn_cxx_try_compile "$LINENO"; then :
52756   glibcxx_cv_func_hypot_use=yes
52757 else
52758   glibcxx_cv_func_hypot_use=no
52759 fi
52760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52761       ac_ext=c
52762 ac_cpp='$CPP $CPPFLAGS'
52763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52766
52767
52768 fi
52769
52770   fi
52771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52772 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52773
52774   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52775     for ac_func in hypot
52776 do :
52777   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52778 if test "x$ac_cv_func_hypot" = x""yes; then :
52779   cat >>confdefs.h <<_ACEOF
52780 #define HAVE_HYPOT 1
52781 _ACEOF
52782
52783 fi
52784 done
52785
52786   else
52787
52788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52789 $as_echo_n "checking for _hypot declaration... " >&6; }
52790   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52791     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52792   $as_echo_n "(cached) " >&6
52793 else
52794
52795
52796       ac_ext=cpp
52797 ac_cpp='$CXXCPP $CPPFLAGS'
52798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52801
52802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52803 /* end confdefs.h.  */
52804 #include <math.h>
52805 int
52806 main ()
52807 {
52808  _hypot(0, 0);
52809   ;
52810   return 0;
52811 }
52812 _ACEOF
52813 if ac_fn_cxx_try_compile "$LINENO"; then :
52814   glibcxx_cv_func__hypot_use=yes
52815 else
52816   glibcxx_cv_func__hypot_use=no
52817 fi
52818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52819       ac_ext=c
52820 ac_cpp='$CPP $CPPFLAGS'
52821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52824
52825
52826 fi
52827
52828   fi
52829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52830 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52831
52832     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52833       for ac_func in _hypot
52834 do :
52835   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52836 if test "x$ac_cv_func__hypot" = x""yes; then :
52837   cat >>confdefs.h <<_ACEOF
52838 #define HAVE__HYPOT 1
52839 _ACEOF
52840
52841 fi
52842 done
52843
52844     fi
52845   fi
52846
52847
52848
52849
52850
52851     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52852 $as_echo_n "checking for float trig functions... " >&6; }
52853   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52854   $as_echo_n "(cached) " >&6
52855 else
52856
52857
52858     ac_ext=cpp
52859 ac_cpp='$CXXCPP $CPPFLAGS'
52860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52863
52864     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52865 /* end confdefs.h.  */
52866 #include <math.h>
52867 int
52868 main ()
52869 {
52870 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52871   ;
52872   return 0;
52873 }
52874 _ACEOF
52875 if ac_fn_cxx_try_compile "$LINENO"; then :
52876   glibcxx_cv_func_float_trig_use=yes
52877 else
52878   glibcxx_cv_func_float_trig_use=no
52879 fi
52880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52881     ac_ext=c
52882 ac_cpp='$CPP $CPPFLAGS'
52883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52886
52887 fi
52888
52889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52890 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52891   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52892     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52893 do :
52894   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52896 eval as_val=\$$as_ac_var
52897    if test "x$as_val" = x""yes; then :
52898   cat >>confdefs.h <<_ACEOF
52899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52900 _ACEOF
52901
52902 fi
52903 done
52904
52905   else
52906     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52907 $as_echo_n "checking for _float trig functions... " >&6; }
52908     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52909   $as_echo_n "(cached) " >&6
52910 else
52911
52912
52913       ac_ext=cpp
52914 ac_cpp='$CXXCPP $CPPFLAGS'
52915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52918
52919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52920 /* end confdefs.h.  */
52921 #include <math.h>
52922 int
52923 main ()
52924 {
52925 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52926   ;
52927   return 0;
52928 }
52929 _ACEOF
52930 if ac_fn_cxx_try_compile "$LINENO"; then :
52931   glibcxx_cv_func__float_trig_use=yes
52932 else
52933   glibcxx_cv_func__float_trig_use=no
52934 fi
52935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52936       ac_ext=c
52937 ac_cpp='$CPP $CPPFLAGS'
52938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52941
52942 fi
52943
52944     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52945 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52946     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52947       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52948 do :
52949   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52951 eval as_val=\$$as_ac_var
52952    if test "x$as_val" = x""yes; then :
52953   cat >>confdefs.h <<_ACEOF
52954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52955 _ACEOF
52956
52957 fi
52958 done
52959
52960     fi
52961   fi
52962
52963
52964
52965
52966
52967     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52968 $as_echo_n "checking for float round functions... " >&6; }
52969   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52970   $as_echo_n "(cached) " >&6
52971 else
52972
52973
52974     ac_ext=cpp
52975 ac_cpp='$CXXCPP $CPPFLAGS'
52976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52979
52980     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52981 /* end confdefs.h.  */
52982 #include <math.h>
52983 int
52984 main ()
52985 {
52986 ceilf (0); floorf (0);
52987   ;
52988   return 0;
52989 }
52990 _ACEOF
52991 if ac_fn_cxx_try_compile "$LINENO"; then :
52992   glibcxx_cv_func_float_round_use=yes
52993 else
52994   glibcxx_cv_func_float_round_use=no
52995 fi
52996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52997     ac_ext=c
52998 ac_cpp='$CPP $CPPFLAGS'
52999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53002
53003 fi
53004
53005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53006 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53007   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53008     for ac_func in ceilf floorf
53009 do :
53010   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53012 eval as_val=\$$as_ac_var
53013    if test "x$as_val" = x""yes; then :
53014   cat >>confdefs.h <<_ACEOF
53015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53016 _ACEOF
53017
53018 fi
53019 done
53020
53021   else
53022     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53023 $as_echo_n "checking for _float round functions... " >&6; }
53024     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53025   $as_echo_n "(cached) " >&6
53026 else
53027
53028
53029       ac_ext=cpp
53030 ac_cpp='$CXXCPP $CPPFLAGS'
53031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53034
53035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53036 /* end confdefs.h.  */
53037 #include <math.h>
53038 int
53039 main ()
53040 {
53041 _ceilf (0); _floorf (0);
53042   ;
53043   return 0;
53044 }
53045 _ACEOF
53046 if ac_fn_cxx_try_compile "$LINENO"; then :
53047   glibcxx_cv_func__float_round_use=yes
53048 else
53049   glibcxx_cv_func__float_round_use=no
53050 fi
53051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53052       ac_ext=c
53053 ac_cpp='$CPP $CPPFLAGS'
53054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53057
53058 fi
53059
53060     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53061 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53062     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53063       for ac_func in _ceilf _floorf
53064 do :
53065   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53067 eval as_val=\$$as_ac_var
53068    if test "x$as_val" = x""yes; then :
53069   cat >>confdefs.h <<_ACEOF
53070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53071 _ACEOF
53072
53073 fi
53074 done
53075
53076     fi
53077   fi
53078
53079
53080
53081
53082
53083
53084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53085 $as_echo_n "checking for expf declaration... " >&6; }
53086   if test x${glibcxx_cv_func_expf_use+set} != xset; then
53087     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53088   $as_echo_n "(cached) " >&6
53089 else
53090
53091
53092       ac_ext=cpp
53093 ac_cpp='$CXXCPP $CPPFLAGS'
53094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53097
53098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53099 /* end confdefs.h.  */
53100 #include <math.h>
53101                       #ifdef HAVE_IEEEFP_H
53102                       #include <ieeefp.h>
53103                       #endif
53104
53105 int
53106 main ()
53107 {
53108  expf(0);
53109   ;
53110   return 0;
53111 }
53112 _ACEOF
53113 if ac_fn_cxx_try_compile "$LINENO"; then :
53114   glibcxx_cv_func_expf_use=yes
53115 else
53116   glibcxx_cv_func_expf_use=no
53117 fi
53118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53119       ac_ext=c
53120 ac_cpp='$CPP $CPPFLAGS'
53121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53124
53125
53126 fi
53127
53128   fi
53129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53130 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53131
53132   if test x$glibcxx_cv_func_expf_use = x"yes"; then
53133     for ac_func in expf
53134 do :
53135   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53136 if test "x$ac_cv_func_expf" = x""yes; then :
53137   cat >>confdefs.h <<_ACEOF
53138 #define HAVE_EXPF 1
53139 _ACEOF
53140
53141 fi
53142 done
53143
53144   else
53145
53146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53147 $as_echo_n "checking for _expf declaration... " >&6; }
53148   if test x${glibcxx_cv_func__expf_use+set} != xset; then
53149     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53150   $as_echo_n "(cached) " >&6
53151 else
53152
53153
53154       ac_ext=cpp
53155 ac_cpp='$CXXCPP $CPPFLAGS'
53156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53159
53160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53161 /* end confdefs.h.  */
53162 #include <math.h>
53163                       #ifdef HAVE_IEEEFP_H
53164                       #include <ieeefp.h>
53165                       #endif
53166
53167 int
53168 main ()
53169 {
53170  _expf(0);
53171   ;
53172   return 0;
53173 }
53174 _ACEOF
53175 if ac_fn_cxx_try_compile "$LINENO"; then :
53176   glibcxx_cv_func__expf_use=yes
53177 else
53178   glibcxx_cv_func__expf_use=no
53179 fi
53180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53181       ac_ext=c
53182 ac_cpp='$CPP $CPPFLAGS'
53183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53186
53187
53188 fi
53189
53190   fi
53191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53192 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53193
53194     if test x$glibcxx_cv_func__expf_use = x"yes"; then
53195       for ac_func in _expf
53196 do :
53197   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53198 if test "x$ac_cv_func__expf" = x""yes; then :
53199   cat >>confdefs.h <<_ACEOF
53200 #define HAVE__EXPF 1
53201 _ACEOF
53202
53203 fi
53204 done
53205
53206     fi
53207   fi
53208
53209
53210
53211
53212
53213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53214 $as_echo_n "checking for isnanf declaration... " >&6; }
53215   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53216     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53217   $as_echo_n "(cached) " >&6
53218 else
53219
53220
53221       ac_ext=cpp
53222 ac_cpp='$CXXCPP $CPPFLAGS'
53223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53226
53227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53228 /* end confdefs.h.  */
53229 #include <math.h>
53230                       #ifdef HAVE_IEEEFP_H
53231                       #include <ieeefp.h>
53232                       #endif
53233
53234 int
53235 main ()
53236 {
53237  isnanf(0);
53238   ;
53239   return 0;
53240 }
53241 _ACEOF
53242 if ac_fn_cxx_try_compile "$LINENO"; then :
53243   glibcxx_cv_func_isnanf_use=yes
53244 else
53245   glibcxx_cv_func_isnanf_use=no
53246 fi
53247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53248       ac_ext=c
53249 ac_cpp='$CPP $CPPFLAGS'
53250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53253
53254
53255 fi
53256
53257   fi
53258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53259 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53260
53261   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53262     for ac_func in isnanf
53263 do :
53264   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53265 if test "x$ac_cv_func_isnanf" = x""yes; then :
53266   cat >>confdefs.h <<_ACEOF
53267 #define HAVE_ISNANF 1
53268 _ACEOF
53269
53270 fi
53271 done
53272
53273   else
53274
53275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53276 $as_echo_n "checking for _isnanf declaration... " >&6; }
53277   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53278     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53279   $as_echo_n "(cached) " >&6
53280 else
53281
53282
53283       ac_ext=cpp
53284 ac_cpp='$CXXCPP $CPPFLAGS'
53285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53288
53289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53290 /* end confdefs.h.  */
53291 #include <math.h>
53292                       #ifdef HAVE_IEEEFP_H
53293                       #include <ieeefp.h>
53294                       #endif
53295
53296 int
53297 main ()
53298 {
53299  _isnanf(0);
53300   ;
53301   return 0;
53302 }
53303 _ACEOF
53304 if ac_fn_cxx_try_compile "$LINENO"; then :
53305   glibcxx_cv_func__isnanf_use=yes
53306 else
53307   glibcxx_cv_func__isnanf_use=no
53308 fi
53309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53310       ac_ext=c
53311 ac_cpp='$CPP $CPPFLAGS'
53312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53315
53316
53317 fi
53318
53319   fi
53320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53321 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53322
53323     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53324       for ac_func in _isnanf
53325 do :
53326   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53327 if test "x$ac_cv_func__isnanf" = x""yes; then :
53328   cat >>confdefs.h <<_ACEOF
53329 #define HAVE__ISNANF 1
53330 _ACEOF
53331
53332 fi
53333 done
53334
53335     fi
53336   fi
53337
53338
53339
53340
53341
53342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53343 $as_echo_n "checking for isinff declaration... " >&6; }
53344   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53345     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53346   $as_echo_n "(cached) " >&6
53347 else
53348
53349
53350       ac_ext=cpp
53351 ac_cpp='$CXXCPP $CPPFLAGS'
53352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53355
53356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53357 /* end confdefs.h.  */
53358 #include <math.h>
53359                       #ifdef HAVE_IEEEFP_H
53360                       #include <ieeefp.h>
53361                       #endif
53362
53363 int
53364 main ()
53365 {
53366  isinff(0);
53367   ;
53368   return 0;
53369 }
53370 _ACEOF
53371 if ac_fn_cxx_try_compile "$LINENO"; then :
53372   glibcxx_cv_func_isinff_use=yes
53373 else
53374   glibcxx_cv_func_isinff_use=no
53375 fi
53376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53377       ac_ext=c
53378 ac_cpp='$CPP $CPPFLAGS'
53379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53382
53383
53384 fi
53385
53386   fi
53387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53388 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53389
53390   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53391     for ac_func in isinff
53392 do :
53393   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53394 if test "x$ac_cv_func_isinff" = x""yes; then :
53395   cat >>confdefs.h <<_ACEOF
53396 #define HAVE_ISINFF 1
53397 _ACEOF
53398
53399 fi
53400 done
53401
53402   else
53403
53404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53405 $as_echo_n "checking for _isinff declaration... " >&6; }
53406   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53407     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53408   $as_echo_n "(cached) " >&6
53409 else
53410
53411
53412       ac_ext=cpp
53413 ac_cpp='$CXXCPP $CPPFLAGS'
53414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53417
53418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53419 /* end confdefs.h.  */
53420 #include <math.h>
53421                       #ifdef HAVE_IEEEFP_H
53422                       #include <ieeefp.h>
53423                       #endif
53424
53425 int
53426 main ()
53427 {
53428  _isinff(0);
53429   ;
53430   return 0;
53431 }
53432 _ACEOF
53433 if ac_fn_cxx_try_compile "$LINENO"; then :
53434   glibcxx_cv_func__isinff_use=yes
53435 else
53436   glibcxx_cv_func__isinff_use=no
53437 fi
53438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53439       ac_ext=c
53440 ac_cpp='$CPP $CPPFLAGS'
53441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53444
53445
53446 fi
53447
53448   fi
53449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53450 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53451
53452     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53453       for ac_func in _isinff
53454 do :
53455   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53456 if test "x$ac_cv_func__isinff" = x""yes; then :
53457   cat >>confdefs.h <<_ACEOF
53458 #define HAVE__ISINFF 1
53459 _ACEOF
53460
53461 fi
53462 done
53463
53464     fi
53465   fi
53466
53467
53468
53469
53470
53471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53472 $as_echo_n "checking for atan2f declaration... " >&6; }
53473   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53474     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53475   $as_echo_n "(cached) " >&6
53476 else
53477
53478
53479       ac_ext=cpp
53480 ac_cpp='$CXXCPP $CPPFLAGS'
53481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53484
53485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53486 /* end confdefs.h.  */
53487 #include <math.h>
53488 int
53489 main ()
53490 {
53491  atan2f(0, 0);
53492   ;
53493   return 0;
53494 }
53495 _ACEOF
53496 if ac_fn_cxx_try_compile "$LINENO"; then :
53497   glibcxx_cv_func_atan2f_use=yes
53498 else
53499   glibcxx_cv_func_atan2f_use=no
53500 fi
53501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53502       ac_ext=c
53503 ac_cpp='$CPP $CPPFLAGS'
53504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53507
53508
53509 fi
53510
53511   fi
53512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53513 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53514
53515   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53516     for ac_func in atan2f
53517 do :
53518   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53519 if test "x$ac_cv_func_atan2f" = x""yes; then :
53520   cat >>confdefs.h <<_ACEOF
53521 #define HAVE_ATAN2F 1
53522 _ACEOF
53523
53524 fi
53525 done
53526
53527   else
53528
53529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53530 $as_echo_n "checking for _atan2f declaration... " >&6; }
53531   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53532     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53533   $as_echo_n "(cached) " >&6
53534 else
53535
53536
53537       ac_ext=cpp
53538 ac_cpp='$CXXCPP $CPPFLAGS'
53539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53542
53543       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53544 /* end confdefs.h.  */
53545 #include <math.h>
53546 int
53547 main ()
53548 {
53549  _atan2f(0, 0);
53550   ;
53551   return 0;
53552 }
53553 _ACEOF
53554 if ac_fn_cxx_try_compile "$LINENO"; then :
53555   glibcxx_cv_func__atan2f_use=yes
53556 else
53557   glibcxx_cv_func__atan2f_use=no
53558 fi
53559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53560       ac_ext=c
53561 ac_cpp='$CPP $CPPFLAGS'
53562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53565
53566
53567 fi
53568
53569   fi
53570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53571 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53572
53573     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53574       for ac_func in _atan2f
53575 do :
53576   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53577 if test "x$ac_cv_func__atan2f" = x""yes; then :
53578   cat >>confdefs.h <<_ACEOF
53579 #define HAVE__ATAN2F 1
53580 _ACEOF
53581
53582 fi
53583 done
53584
53585     fi
53586   fi
53587
53588
53589
53590
53591
53592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53593 $as_echo_n "checking for fabsf declaration... " >&6; }
53594   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53595     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53596   $as_echo_n "(cached) " >&6
53597 else
53598
53599
53600       ac_ext=cpp
53601 ac_cpp='$CXXCPP $CPPFLAGS'
53602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53605
53606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53607 /* end confdefs.h.  */
53608 #include <math.h>
53609                       #ifdef HAVE_IEEEFP_H
53610                       #include <ieeefp.h>
53611                       #endif
53612
53613 int
53614 main ()
53615 {
53616  fabsf(0);
53617   ;
53618   return 0;
53619 }
53620 _ACEOF
53621 if ac_fn_cxx_try_compile "$LINENO"; then :
53622   glibcxx_cv_func_fabsf_use=yes
53623 else
53624   glibcxx_cv_func_fabsf_use=no
53625 fi
53626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53627       ac_ext=c
53628 ac_cpp='$CPP $CPPFLAGS'
53629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53632
53633
53634 fi
53635
53636   fi
53637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53638 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53639
53640   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53641     for ac_func in fabsf
53642 do :
53643   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53644 if test "x$ac_cv_func_fabsf" = x""yes; then :
53645   cat >>confdefs.h <<_ACEOF
53646 #define HAVE_FABSF 1
53647 _ACEOF
53648
53649 fi
53650 done
53651
53652   else
53653
53654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53655 $as_echo_n "checking for _fabsf declaration... " >&6; }
53656   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53657     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53658   $as_echo_n "(cached) " >&6
53659 else
53660
53661
53662       ac_ext=cpp
53663 ac_cpp='$CXXCPP $CPPFLAGS'
53664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53667
53668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53669 /* end confdefs.h.  */
53670 #include <math.h>
53671                       #ifdef HAVE_IEEEFP_H
53672                       #include <ieeefp.h>
53673                       #endif
53674
53675 int
53676 main ()
53677 {
53678  _fabsf(0);
53679   ;
53680   return 0;
53681 }
53682 _ACEOF
53683 if ac_fn_cxx_try_compile "$LINENO"; then :
53684   glibcxx_cv_func__fabsf_use=yes
53685 else
53686   glibcxx_cv_func__fabsf_use=no
53687 fi
53688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53689       ac_ext=c
53690 ac_cpp='$CPP $CPPFLAGS'
53691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53694
53695
53696 fi
53697
53698   fi
53699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53700 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53701
53702     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53703       for ac_func in _fabsf
53704 do :
53705   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53706 if test "x$ac_cv_func__fabsf" = x""yes; then :
53707   cat >>confdefs.h <<_ACEOF
53708 #define HAVE__FABSF 1
53709 _ACEOF
53710
53711 fi
53712 done
53713
53714     fi
53715   fi
53716
53717
53718
53719
53720
53721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53722 $as_echo_n "checking for fmodf declaration... " >&6; }
53723   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53724     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53725   $as_echo_n "(cached) " >&6
53726 else
53727
53728
53729       ac_ext=cpp
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53734
53735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53736 /* end confdefs.h.  */
53737 #include <math.h>
53738 int
53739 main ()
53740 {
53741  fmodf(0, 0);
53742   ;
53743   return 0;
53744 }
53745 _ACEOF
53746 if ac_fn_cxx_try_compile "$LINENO"; then :
53747   glibcxx_cv_func_fmodf_use=yes
53748 else
53749   glibcxx_cv_func_fmodf_use=no
53750 fi
53751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53752       ac_ext=c
53753 ac_cpp='$CPP $CPPFLAGS'
53754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53757
53758
53759 fi
53760
53761   fi
53762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53763 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53764
53765   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53766     for ac_func in fmodf
53767 do :
53768   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53769 if test "x$ac_cv_func_fmodf" = x""yes; then :
53770   cat >>confdefs.h <<_ACEOF
53771 #define HAVE_FMODF 1
53772 _ACEOF
53773
53774 fi
53775 done
53776
53777   else
53778
53779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53780 $as_echo_n "checking for _fmodf declaration... " >&6; }
53781   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53782     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53783   $as_echo_n "(cached) " >&6
53784 else
53785
53786
53787       ac_ext=cpp
53788 ac_cpp='$CXXCPP $CPPFLAGS'
53789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53792
53793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53794 /* end confdefs.h.  */
53795 #include <math.h>
53796 int
53797 main ()
53798 {
53799  _fmodf(0, 0);
53800   ;
53801   return 0;
53802 }
53803 _ACEOF
53804 if ac_fn_cxx_try_compile "$LINENO"; then :
53805   glibcxx_cv_func__fmodf_use=yes
53806 else
53807   glibcxx_cv_func__fmodf_use=no
53808 fi
53809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53810       ac_ext=c
53811 ac_cpp='$CPP $CPPFLAGS'
53812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53815
53816
53817 fi
53818
53819   fi
53820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53821 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53822
53823     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53824       for ac_func in _fmodf
53825 do :
53826   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53827 if test "x$ac_cv_func__fmodf" = x""yes; then :
53828   cat >>confdefs.h <<_ACEOF
53829 #define HAVE__FMODF 1
53830 _ACEOF
53831
53832 fi
53833 done
53834
53835     fi
53836   fi
53837
53838
53839
53840
53841
53842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53843 $as_echo_n "checking for frexpf declaration... " >&6; }
53844   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53845     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53846   $as_echo_n "(cached) " >&6
53847 else
53848
53849
53850       ac_ext=cpp
53851 ac_cpp='$CXXCPP $CPPFLAGS'
53852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53855
53856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53857 /* end confdefs.h.  */
53858 #include <math.h>
53859 int
53860 main ()
53861 {
53862  frexpf(0, 0);
53863   ;
53864   return 0;
53865 }
53866 _ACEOF
53867 if ac_fn_cxx_try_compile "$LINENO"; then :
53868   glibcxx_cv_func_frexpf_use=yes
53869 else
53870   glibcxx_cv_func_frexpf_use=no
53871 fi
53872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53873       ac_ext=c
53874 ac_cpp='$CPP $CPPFLAGS'
53875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53878
53879
53880 fi
53881
53882   fi
53883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53884 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53885
53886   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53887     for ac_func in frexpf
53888 do :
53889   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53890 if test "x$ac_cv_func_frexpf" = x""yes; then :
53891   cat >>confdefs.h <<_ACEOF
53892 #define HAVE_FREXPF 1
53893 _ACEOF
53894
53895 fi
53896 done
53897
53898   else
53899
53900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53901 $as_echo_n "checking for _frexpf declaration... " >&6; }
53902   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53903     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53904   $as_echo_n "(cached) " >&6
53905 else
53906
53907
53908       ac_ext=cpp
53909 ac_cpp='$CXXCPP $CPPFLAGS'
53910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53913
53914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53915 /* end confdefs.h.  */
53916 #include <math.h>
53917 int
53918 main ()
53919 {
53920  _frexpf(0, 0);
53921   ;
53922   return 0;
53923 }
53924 _ACEOF
53925 if ac_fn_cxx_try_compile "$LINENO"; then :
53926   glibcxx_cv_func__frexpf_use=yes
53927 else
53928   glibcxx_cv_func__frexpf_use=no
53929 fi
53930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53931       ac_ext=c
53932 ac_cpp='$CPP $CPPFLAGS'
53933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53936
53937
53938 fi
53939
53940   fi
53941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53942 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53943
53944     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53945       for ac_func in _frexpf
53946 do :
53947   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53948 if test "x$ac_cv_func__frexpf" = x""yes; then :
53949   cat >>confdefs.h <<_ACEOF
53950 #define HAVE__FREXPF 1
53951 _ACEOF
53952
53953 fi
53954 done
53955
53956     fi
53957   fi
53958
53959
53960
53961
53962
53963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53964 $as_echo_n "checking for hypotf declaration... " >&6; }
53965   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53966     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53967   $as_echo_n "(cached) " >&6
53968 else
53969
53970
53971       ac_ext=cpp
53972 ac_cpp='$CXXCPP $CPPFLAGS'
53973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53976
53977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53978 /* end confdefs.h.  */
53979 #include <math.h>
53980 int
53981 main ()
53982 {
53983  hypotf(0, 0);
53984   ;
53985   return 0;
53986 }
53987 _ACEOF
53988 if ac_fn_cxx_try_compile "$LINENO"; then :
53989   glibcxx_cv_func_hypotf_use=yes
53990 else
53991   glibcxx_cv_func_hypotf_use=no
53992 fi
53993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53994       ac_ext=c
53995 ac_cpp='$CPP $CPPFLAGS'
53996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53999
54000
54001 fi
54002
54003   fi
54004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54005 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54006
54007   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54008     for ac_func in hypotf
54009 do :
54010   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54011 if test "x$ac_cv_func_hypotf" = x""yes; then :
54012   cat >>confdefs.h <<_ACEOF
54013 #define HAVE_HYPOTF 1
54014 _ACEOF
54015
54016 fi
54017 done
54018
54019   else
54020
54021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54022 $as_echo_n "checking for _hypotf declaration... " >&6; }
54023   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54024     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54025   $as_echo_n "(cached) " >&6
54026 else
54027
54028
54029       ac_ext=cpp
54030 ac_cpp='$CXXCPP $CPPFLAGS'
54031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54034
54035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54036 /* end confdefs.h.  */
54037 #include <math.h>
54038 int
54039 main ()
54040 {
54041  _hypotf(0, 0);
54042   ;
54043   return 0;
54044 }
54045 _ACEOF
54046 if ac_fn_cxx_try_compile "$LINENO"; then :
54047   glibcxx_cv_func__hypotf_use=yes
54048 else
54049   glibcxx_cv_func__hypotf_use=no
54050 fi
54051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54052       ac_ext=c
54053 ac_cpp='$CPP $CPPFLAGS'
54054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54057
54058
54059 fi
54060
54061   fi
54062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54063 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54064
54065     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54066       for ac_func in _hypotf
54067 do :
54068   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54069 if test "x$ac_cv_func__hypotf" = x""yes; then :
54070   cat >>confdefs.h <<_ACEOF
54071 #define HAVE__HYPOTF 1
54072 _ACEOF
54073
54074 fi
54075 done
54076
54077     fi
54078   fi
54079
54080
54081
54082
54083
54084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54085 $as_echo_n "checking for ldexpf declaration... " >&6; }
54086   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54087     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54088   $as_echo_n "(cached) " >&6
54089 else
54090
54091
54092       ac_ext=cpp
54093 ac_cpp='$CXXCPP $CPPFLAGS'
54094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54097
54098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54099 /* end confdefs.h.  */
54100 #include <math.h>
54101 int
54102 main ()
54103 {
54104  ldexpf(0, 0);
54105   ;
54106   return 0;
54107 }
54108 _ACEOF
54109 if ac_fn_cxx_try_compile "$LINENO"; then :
54110   glibcxx_cv_func_ldexpf_use=yes
54111 else
54112   glibcxx_cv_func_ldexpf_use=no
54113 fi
54114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54115       ac_ext=c
54116 ac_cpp='$CPP $CPPFLAGS'
54117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54120
54121
54122 fi
54123
54124   fi
54125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54126 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54127
54128   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54129     for ac_func in ldexpf
54130 do :
54131   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54132 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54133   cat >>confdefs.h <<_ACEOF
54134 #define HAVE_LDEXPF 1
54135 _ACEOF
54136
54137 fi
54138 done
54139
54140   else
54141
54142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54143 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54144   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54145     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54146   $as_echo_n "(cached) " >&6
54147 else
54148
54149
54150       ac_ext=cpp
54151 ac_cpp='$CXXCPP $CPPFLAGS'
54152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54155
54156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54157 /* end confdefs.h.  */
54158 #include <math.h>
54159 int
54160 main ()
54161 {
54162  _ldexpf(0, 0);
54163   ;
54164   return 0;
54165 }
54166 _ACEOF
54167 if ac_fn_cxx_try_compile "$LINENO"; then :
54168   glibcxx_cv_func__ldexpf_use=yes
54169 else
54170   glibcxx_cv_func__ldexpf_use=no
54171 fi
54172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54173       ac_ext=c
54174 ac_cpp='$CPP $CPPFLAGS'
54175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54178
54179
54180 fi
54181
54182   fi
54183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54184 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54185
54186     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54187       for ac_func in _ldexpf
54188 do :
54189   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54190 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54191   cat >>confdefs.h <<_ACEOF
54192 #define HAVE__LDEXPF 1
54193 _ACEOF
54194
54195 fi
54196 done
54197
54198     fi
54199   fi
54200
54201
54202
54203
54204
54205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54206 $as_echo_n "checking for logf declaration... " >&6; }
54207   if test x${glibcxx_cv_func_logf_use+set} != xset; then
54208     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54209   $as_echo_n "(cached) " >&6
54210 else
54211
54212
54213       ac_ext=cpp
54214 ac_cpp='$CXXCPP $CPPFLAGS'
54215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54218
54219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54220 /* end confdefs.h.  */
54221 #include <math.h>
54222                       #ifdef HAVE_IEEEFP_H
54223                       #include <ieeefp.h>
54224                       #endif
54225
54226 int
54227 main ()
54228 {
54229  logf(0);
54230   ;
54231   return 0;
54232 }
54233 _ACEOF
54234 if ac_fn_cxx_try_compile "$LINENO"; then :
54235   glibcxx_cv_func_logf_use=yes
54236 else
54237   glibcxx_cv_func_logf_use=no
54238 fi
54239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54240       ac_ext=c
54241 ac_cpp='$CPP $CPPFLAGS'
54242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54245
54246
54247 fi
54248
54249   fi
54250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54251 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54252
54253   if test x$glibcxx_cv_func_logf_use = x"yes"; then
54254     for ac_func in logf
54255 do :
54256   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54257 if test "x$ac_cv_func_logf" = x""yes; then :
54258   cat >>confdefs.h <<_ACEOF
54259 #define HAVE_LOGF 1
54260 _ACEOF
54261
54262 fi
54263 done
54264
54265   else
54266
54267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54268 $as_echo_n "checking for _logf declaration... " >&6; }
54269   if test x${glibcxx_cv_func__logf_use+set} != xset; then
54270     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54271   $as_echo_n "(cached) " >&6
54272 else
54273
54274
54275       ac_ext=cpp
54276 ac_cpp='$CXXCPP $CPPFLAGS'
54277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54280
54281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54282 /* end confdefs.h.  */
54283 #include <math.h>
54284                       #ifdef HAVE_IEEEFP_H
54285                       #include <ieeefp.h>
54286                       #endif
54287
54288 int
54289 main ()
54290 {
54291  _logf(0);
54292   ;
54293   return 0;
54294 }
54295 _ACEOF
54296 if ac_fn_cxx_try_compile "$LINENO"; then :
54297   glibcxx_cv_func__logf_use=yes
54298 else
54299   glibcxx_cv_func__logf_use=no
54300 fi
54301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54302       ac_ext=c
54303 ac_cpp='$CPP $CPPFLAGS'
54304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54307
54308
54309 fi
54310
54311   fi
54312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54313 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54314
54315     if test x$glibcxx_cv_func__logf_use = x"yes"; then
54316       for ac_func in _logf
54317 do :
54318   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54319 if test "x$ac_cv_func__logf" = x""yes; then :
54320   cat >>confdefs.h <<_ACEOF
54321 #define HAVE__LOGF 1
54322 _ACEOF
54323
54324 fi
54325 done
54326
54327     fi
54328   fi
54329
54330
54331
54332
54333
54334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54335 $as_echo_n "checking for log10f declaration... " >&6; }
54336   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54337     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54338   $as_echo_n "(cached) " >&6
54339 else
54340
54341
54342       ac_ext=cpp
54343 ac_cpp='$CXXCPP $CPPFLAGS'
54344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54347
54348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54349 /* end confdefs.h.  */
54350 #include <math.h>
54351                       #ifdef HAVE_IEEEFP_H
54352                       #include <ieeefp.h>
54353                       #endif
54354
54355 int
54356 main ()
54357 {
54358  log10f(0);
54359   ;
54360   return 0;
54361 }
54362 _ACEOF
54363 if ac_fn_cxx_try_compile "$LINENO"; then :
54364   glibcxx_cv_func_log10f_use=yes
54365 else
54366   glibcxx_cv_func_log10f_use=no
54367 fi
54368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54369       ac_ext=c
54370 ac_cpp='$CPP $CPPFLAGS'
54371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54374
54375
54376 fi
54377
54378   fi
54379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54380 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54381
54382   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54383     for ac_func in log10f
54384 do :
54385   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54386 if test "x$ac_cv_func_log10f" = x""yes; then :
54387   cat >>confdefs.h <<_ACEOF
54388 #define HAVE_LOG10F 1
54389 _ACEOF
54390
54391 fi
54392 done
54393
54394   else
54395
54396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54397 $as_echo_n "checking for _log10f declaration... " >&6; }
54398   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54399     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54400   $as_echo_n "(cached) " >&6
54401 else
54402
54403
54404       ac_ext=cpp
54405 ac_cpp='$CXXCPP $CPPFLAGS'
54406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54409
54410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54411 /* end confdefs.h.  */
54412 #include <math.h>
54413                       #ifdef HAVE_IEEEFP_H
54414                       #include <ieeefp.h>
54415                       #endif
54416
54417 int
54418 main ()
54419 {
54420  _log10f(0);
54421   ;
54422   return 0;
54423 }
54424 _ACEOF
54425 if ac_fn_cxx_try_compile "$LINENO"; then :
54426   glibcxx_cv_func__log10f_use=yes
54427 else
54428   glibcxx_cv_func__log10f_use=no
54429 fi
54430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54431       ac_ext=c
54432 ac_cpp='$CPP $CPPFLAGS'
54433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54436
54437
54438 fi
54439
54440   fi
54441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54442 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54443
54444     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54445       for ac_func in _log10f
54446 do :
54447   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54448 if test "x$ac_cv_func__log10f" = x""yes; then :
54449   cat >>confdefs.h <<_ACEOF
54450 #define HAVE__LOG10F 1
54451 _ACEOF
54452
54453 fi
54454 done
54455
54456     fi
54457   fi
54458
54459
54460
54461
54462
54463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54464 $as_echo_n "checking for modff declaration... " >&6; }
54465   if test x${glibcxx_cv_func_modff_use+set} != xset; then
54466     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54467   $as_echo_n "(cached) " >&6
54468 else
54469
54470
54471       ac_ext=cpp
54472 ac_cpp='$CXXCPP $CPPFLAGS'
54473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54476
54477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54478 /* end confdefs.h.  */
54479 #include <math.h>
54480 int
54481 main ()
54482 {
54483  modff(0, 0);
54484   ;
54485   return 0;
54486 }
54487 _ACEOF
54488 if ac_fn_cxx_try_compile "$LINENO"; then :
54489   glibcxx_cv_func_modff_use=yes
54490 else
54491   glibcxx_cv_func_modff_use=no
54492 fi
54493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54494       ac_ext=c
54495 ac_cpp='$CPP $CPPFLAGS'
54496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54499
54500
54501 fi
54502
54503   fi
54504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54505 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54506
54507   if test x$glibcxx_cv_func_modff_use = x"yes"; then
54508     for ac_func in modff
54509 do :
54510   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54511 if test "x$ac_cv_func_modff" = x""yes; then :
54512   cat >>confdefs.h <<_ACEOF
54513 #define HAVE_MODFF 1
54514 _ACEOF
54515
54516 fi
54517 done
54518
54519   else
54520
54521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54522 $as_echo_n "checking for _modff declaration... " >&6; }
54523   if test x${glibcxx_cv_func__modff_use+set} != xset; then
54524     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54525   $as_echo_n "(cached) " >&6
54526 else
54527
54528
54529       ac_ext=cpp
54530 ac_cpp='$CXXCPP $CPPFLAGS'
54531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54534
54535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54536 /* end confdefs.h.  */
54537 #include <math.h>
54538 int
54539 main ()
54540 {
54541  _modff(0, 0);
54542   ;
54543   return 0;
54544 }
54545 _ACEOF
54546 if ac_fn_cxx_try_compile "$LINENO"; then :
54547   glibcxx_cv_func__modff_use=yes
54548 else
54549   glibcxx_cv_func__modff_use=no
54550 fi
54551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54552       ac_ext=c
54553 ac_cpp='$CPP $CPPFLAGS'
54554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54557
54558
54559 fi
54560
54561   fi
54562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54563 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54564
54565     if test x$glibcxx_cv_func__modff_use = x"yes"; then
54566       for ac_func in _modff
54567 do :
54568   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54569 if test "x$ac_cv_func__modff" = x""yes; then :
54570   cat >>confdefs.h <<_ACEOF
54571 #define HAVE__MODFF 1
54572 _ACEOF
54573
54574 fi
54575 done
54576
54577     fi
54578   fi
54579
54580
54581
54582
54583
54584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54585 $as_echo_n "checking for modf declaration... " >&6; }
54586   if test x${glibcxx_cv_func_modf_use+set} != xset; then
54587     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54588   $as_echo_n "(cached) " >&6
54589 else
54590
54591
54592       ac_ext=cpp
54593 ac_cpp='$CXXCPP $CPPFLAGS'
54594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54597
54598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54599 /* end confdefs.h.  */
54600 #include <math.h>
54601 int
54602 main ()
54603 {
54604  modf(0, 0);
54605   ;
54606   return 0;
54607 }
54608 _ACEOF
54609 if ac_fn_cxx_try_compile "$LINENO"; then :
54610   glibcxx_cv_func_modf_use=yes
54611 else
54612   glibcxx_cv_func_modf_use=no
54613 fi
54614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54615       ac_ext=c
54616 ac_cpp='$CPP $CPPFLAGS'
54617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54620
54621
54622 fi
54623
54624   fi
54625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54626 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54627
54628   if test x$glibcxx_cv_func_modf_use = x"yes"; then
54629     for ac_func in modf
54630 do :
54631   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54632 if test "x$ac_cv_func_modf" = x""yes; then :
54633   cat >>confdefs.h <<_ACEOF
54634 #define HAVE_MODF 1
54635 _ACEOF
54636
54637 fi
54638 done
54639
54640   else
54641
54642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54643 $as_echo_n "checking for _modf declaration... " >&6; }
54644   if test x${glibcxx_cv_func__modf_use+set} != xset; then
54645     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54646   $as_echo_n "(cached) " >&6
54647 else
54648
54649
54650       ac_ext=cpp
54651 ac_cpp='$CXXCPP $CPPFLAGS'
54652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54655
54656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54657 /* end confdefs.h.  */
54658 #include <math.h>
54659 int
54660 main ()
54661 {
54662  _modf(0, 0);
54663   ;
54664   return 0;
54665 }
54666 _ACEOF
54667 if ac_fn_cxx_try_compile "$LINENO"; then :
54668   glibcxx_cv_func__modf_use=yes
54669 else
54670   glibcxx_cv_func__modf_use=no
54671 fi
54672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54673       ac_ext=c
54674 ac_cpp='$CPP $CPPFLAGS'
54675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54678
54679
54680 fi
54681
54682   fi
54683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54684 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54685
54686     if test x$glibcxx_cv_func__modf_use = x"yes"; then
54687       for ac_func in _modf
54688 do :
54689   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54690 if test "x$ac_cv_func__modf" = x""yes; then :
54691   cat >>confdefs.h <<_ACEOF
54692 #define HAVE__MODF 1
54693 _ACEOF
54694
54695 fi
54696 done
54697
54698     fi
54699   fi
54700
54701
54702
54703
54704
54705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54706 $as_echo_n "checking for powf declaration... " >&6; }
54707   if test x${glibcxx_cv_func_powf_use+set} != xset; then
54708     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54709   $as_echo_n "(cached) " >&6
54710 else
54711
54712
54713       ac_ext=cpp
54714 ac_cpp='$CXXCPP $CPPFLAGS'
54715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54718
54719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54720 /* end confdefs.h.  */
54721 #include <math.h>
54722 int
54723 main ()
54724 {
54725  powf(0, 0);
54726   ;
54727   return 0;
54728 }
54729 _ACEOF
54730 if ac_fn_cxx_try_compile "$LINENO"; then :
54731   glibcxx_cv_func_powf_use=yes
54732 else
54733   glibcxx_cv_func_powf_use=no
54734 fi
54735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54736       ac_ext=c
54737 ac_cpp='$CPP $CPPFLAGS'
54738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54741
54742
54743 fi
54744
54745   fi
54746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54747 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54748
54749   if test x$glibcxx_cv_func_powf_use = x"yes"; then
54750     for ac_func in powf
54751 do :
54752   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54753 if test "x$ac_cv_func_powf" = x""yes; then :
54754   cat >>confdefs.h <<_ACEOF
54755 #define HAVE_POWF 1
54756 _ACEOF
54757
54758 fi
54759 done
54760
54761   else
54762
54763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54764 $as_echo_n "checking for _powf declaration... " >&6; }
54765   if test x${glibcxx_cv_func__powf_use+set} != xset; then
54766     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54767   $as_echo_n "(cached) " >&6
54768 else
54769
54770
54771       ac_ext=cpp
54772 ac_cpp='$CXXCPP $CPPFLAGS'
54773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54776
54777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54778 /* end confdefs.h.  */
54779 #include <math.h>
54780 int
54781 main ()
54782 {
54783  _powf(0, 0);
54784   ;
54785   return 0;
54786 }
54787 _ACEOF
54788 if ac_fn_cxx_try_compile "$LINENO"; then :
54789   glibcxx_cv_func__powf_use=yes
54790 else
54791   glibcxx_cv_func__powf_use=no
54792 fi
54793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54794       ac_ext=c
54795 ac_cpp='$CPP $CPPFLAGS'
54796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54799
54800
54801 fi
54802
54803   fi
54804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54805 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54806
54807     if test x$glibcxx_cv_func__powf_use = x"yes"; then
54808       for ac_func in _powf
54809 do :
54810   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54811 if test "x$ac_cv_func__powf" = x""yes; then :
54812   cat >>confdefs.h <<_ACEOF
54813 #define HAVE__POWF 1
54814 _ACEOF
54815
54816 fi
54817 done
54818
54819     fi
54820   fi
54821
54822
54823
54824
54825
54826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54827 $as_echo_n "checking for sqrtf declaration... " >&6; }
54828   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54829     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54830   $as_echo_n "(cached) " >&6
54831 else
54832
54833
54834       ac_ext=cpp
54835 ac_cpp='$CXXCPP $CPPFLAGS'
54836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54839
54840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54841 /* end confdefs.h.  */
54842 #include <math.h>
54843                       #ifdef HAVE_IEEEFP_H
54844                       #include <ieeefp.h>
54845                       #endif
54846
54847 int
54848 main ()
54849 {
54850  sqrtf(0);
54851   ;
54852   return 0;
54853 }
54854 _ACEOF
54855 if ac_fn_cxx_try_compile "$LINENO"; then :
54856   glibcxx_cv_func_sqrtf_use=yes
54857 else
54858   glibcxx_cv_func_sqrtf_use=no
54859 fi
54860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54861       ac_ext=c
54862 ac_cpp='$CPP $CPPFLAGS'
54863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54866
54867
54868 fi
54869
54870   fi
54871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54872 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54873
54874   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54875     for ac_func in sqrtf
54876 do :
54877   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54878 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54879   cat >>confdefs.h <<_ACEOF
54880 #define HAVE_SQRTF 1
54881 _ACEOF
54882
54883 fi
54884 done
54885
54886   else
54887
54888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54889 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54890   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54891     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54892   $as_echo_n "(cached) " >&6
54893 else
54894
54895
54896       ac_ext=cpp
54897 ac_cpp='$CXXCPP $CPPFLAGS'
54898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54901
54902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54903 /* end confdefs.h.  */
54904 #include <math.h>
54905                       #ifdef HAVE_IEEEFP_H
54906                       #include <ieeefp.h>
54907                       #endif
54908
54909 int
54910 main ()
54911 {
54912  _sqrtf(0);
54913   ;
54914   return 0;
54915 }
54916 _ACEOF
54917 if ac_fn_cxx_try_compile "$LINENO"; then :
54918   glibcxx_cv_func__sqrtf_use=yes
54919 else
54920   glibcxx_cv_func__sqrtf_use=no
54921 fi
54922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54923       ac_ext=c
54924 ac_cpp='$CPP $CPPFLAGS'
54925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54928
54929
54930 fi
54931
54932   fi
54933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54934 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54935
54936     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54937       for ac_func in _sqrtf
54938 do :
54939   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54940 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54941   cat >>confdefs.h <<_ACEOF
54942 #define HAVE__SQRTF 1
54943 _ACEOF
54944
54945 fi
54946 done
54947
54948     fi
54949   fi
54950
54951
54952
54953
54954
54955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54956 $as_echo_n "checking for sincosf declaration... " >&6; }
54957   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54958     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54959   $as_echo_n "(cached) " >&6
54960 else
54961
54962
54963       ac_ext=cpp
54964 ac_cpp='$CXXCPP $CPPFLAGS'
54965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54968
54969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54970 /* end confdefs.h.  */
54971 #include <math.h>
54972 int
54973 main ()
54974 {
54975  sincosf(0, 0, 0);
54976   ;
54977   return 0;
54978 }
54979 _ACEOF
54980 if ac_fn_cxx_try_compile "$LINENO"; then :
54981   glibcxx_cv_func_sincosf_use=yes
54982 else
54983   glibcxx_cv_func_sincosf_use=no
54984 fi
54985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54986       ac_ext=c
54987 ac_cpp='$CPP $CPPFLAGS'
54988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54991
54992
54993 fi
54994
54995   fi
54996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54997 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54998
54999   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55000     for ac_func in sincosf
55001 do :
55002   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55003 if test "x$ac_cv_func_sincosf" = x""yes; then :
55004   cat >>confdefs.h <<_ACEOF
55005 #define HAVE_SINCOSF 1
55006 _ACEOF
55007
55008 fi
55009 done
55010
55011   else
55012
55013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55014 $as_echo_n "checking for _sincosf declaration... " >&6; }
55015   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55016     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55017   $as_echo_n "(cached) " >&6
55018 else
55019
55020
55021       ac_ext=cpp
55022 ac_cpp='$CXXCPP $CPPFLAGS'
55023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55026
55027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55028 /* end confdefs.h.  */
55029 #include <math.h>
55030 int
55031 main ()
55032 {
55033  _sincosf(0, 0, 0);
55034   ;
55035   return 0;
55036 }
55037 _ACEOF
55038 if ac_fn_cxx_try_compile "$LINENO"; then :
55039   glibcxx_cv_func__sincosf_use=yes
55040 else
55041   glibcxx_cv_func__sincosf_use=no
55042 fi
55043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55044       ac_ext=c
55045 ac_cpp='$CPP $CPPFLAGS'
55046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55049
55050
55051 fi
55052
55053   fi
55054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55055 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55056
55057     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55058       for ac_func in _sincosf
55059 do :
55060   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55061 if test "x$ac_cv_func__sincosf" = x""yes; then :
55062   cat >>confdefs.h <<_ACEOF
55063 #define HAVE__SINCOSF 1
55064 _ACEOF
55065
55066 fi
55067 done
55068
55069     fi
55070   fi
55071
55072
55073
55074
55075
55076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55077 $as_echo_n "checking for finitef declaration... " >&6; }
55078   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55079     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55080   $as_echo_n "(cached) " >&6
55081 else
55082
55083
55084       ac_ext=cpp
55085 ac_cpp='$CXXCPP $CPPFLAGS'
55086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55089
55090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55091 /* end confdefs.h.  */
55092 #include <math.h>
55093                       #ifdef HAVE_IEEEFP_H
55094                       #include <ieeefp.h>
55095                       #endif
55096
55097 int
55098 main ()
55099 {
55100  finitef(0);
55101   ;
55102   return 0;
55103 }
55104 _ACEOF
55105 if ac_fn_cxx_try_compile "$LINENO"; then :
55106   glibcxx_cv_func_finitef_use=yes
55107 else
55108   glibcxx_cv_func_finitef_use=no
55109 fi
55110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55111       ac_ext=c
55112 ac_cpp='$CPP $CPPFLAGS'
55113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55116
55117
55118 fi
55119
55120   fi
55121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55122 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55123
55124   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55125     for ac_func in finitef
55126 do :
55127   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55128 if test "x$ac_cv_func_finitef" = x""yes; then :
55129   cat >>confdefs.h <<_ACEOF
55130 #define HAVE_FINITEF 1
55131 _ACEOF
55132
55133 fi
55134 done
55135
55136   else
55137
55138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55139 $as_echo_n "checking for _finitef declaration... " >&6; }
55140   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55141     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55142   $as_echo_n "(cached) " >&6
55143 else
55144
55145
55146       ac_ext=cpp
55147 ac_cpp='$CXXCPP $CPPFLAGS'
55148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55151
55152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55153 /* end confdefs.h.  */
55154 #include <math.h>
55155                       #ifdef HAVE_IEEEFP_H
55156                       #include <ieeefp.h>
55157                       #endif
55158
55159 int
55160 main ()
55161 {
55162  _finitef(0);
55163   ;
55164   return 0;
55165 }
55166 _ACEOF
55167 if ac_fn_cxx_try_compile "$LINENO"; then :
55168   glibcxx_cv_func__finitef_use=yes
55169 else
55170   glibcxx_cv_func__finitef_use=no
55171 fi
55172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55173       ac_ext=c
55174 ac_cpp='$CPP $CPPFLAGS'
55175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55178
55179
55180 fi
55181
55182   fi
55183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55184 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55185
55186     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55187       for ac_func in _finitef
55188 do :
55189   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55190 if test "x$ac_cv_func__finitef" = x""yes; then :
55191   cat >>confdefs.h <<_ACEOF
55192 #define HAVE__FINITEF 1
55193 _ACEOF
55194
55195 fi
55196 done
55197
55198     fi
55199   fi
55200
55201
55202
55203
55204
55205     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55206 $as_echo_n "checking for long double trig functions... " >&6; }
55207   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55208   $as_echo_n "(cached) " >&6
55209 else
55210
55211
55212     ac_ext=cpp
55213 ac_cpp='$CXXCPP $CPPFLAGS'
55214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55217
55218     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55219 /* end confdefs.h.  */
55220 #include <math.h>
55221 int
55222 main ()
55223 {
55224 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55225   ;
55226   return 0;
55227 }
55228 _ACEOF
55229 if ac_fn_cxx_try_compile "$LINENO"; then :
55230   glibcxx_cv_func_long_double_trig_use=yes
55231 else
55232   glibcxx_cv_func_long_double_trig_use=no
55233 fi
55234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55235     ac_ext=c
55236 ac_cpp='$CPP $CPPFLAGS'
55237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55240
55241 fi
55242
55243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55244 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55245   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55246     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55247 do :
55248   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55250 eval as_val=\$$as_ac_var
55251    if test "x$as_val" = x""yes; then :
55252   cat >>confdefs.h <<_ACEOF
55253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55254 _ACEOF
55255
55256 fi
55257 done
55258
55259   else
55260     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55261 $as_echo_n "checking for _long double trig functions... " >&6; }
55262     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55263   $as_echo_n "(cached) " >&6
55264 else
55265
55266
55267       ac_ext=cpp
55268 ac_cpp='$CXXCPP $CPPFLAGS'
55269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55272
55273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55274 /* end confdefs.h.  */
55275 #include <math.h>
55276 int
55277 main ()
55278 {
55279 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55280   ;
55281   return 0;
55282 }
55283 _ACEOF
55284 if ac_fn_cxx_try_compile "$LINENO"; then :
55285   glibcxx_cv_func__long_double_trig_use=yes
55286 else
55287   glibcxx_cv_func__long_double_trig_use=no
55288 fi
55289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55290       ac_ext=c
55291 ac_cpp='$CPP $CPPFLAGS'
55292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55295
55296 fi
55297
55298     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55299 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55300     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55301       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55302 do :
55303   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55305 eval as_val=\$$as_ac_var
55306    if test "x$as_val" = x""yes; then :
55307   cat >>confdefs.h <<_ACEOF
55308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55309 _ACEOF
55310
55311 fi
55312 done
55313
55314     fi
55315   fi
55316
55317
55318
55319
55320
55321     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55322 $as_echo_n "checking for long double round functions... " >&6; }
55323   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55324   $as_echo_n "(cached) " >&6
55325 else
55326
55327
55328     ac_ext=cpp
55329 ac_cpp='$CXXCPP $CPPFLAGS'
55330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55333
55334     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55335 /* end confdefs.h.  */
55336 #include <math.h>
55337 int
55338 main ()
55339 {
55340 ceill (0); floorl (0);
55341   ;
55342   return 0;
55343 }
55344 _ACEOF
55345 if ac_fn_cxx_try_compile "$LINENO"; then :
55346   glibcxx_cv_func_long_double_round_use=yes
55347 else
55348   glibcxx_cv_func_long_double_round_use=no
55349 fi
55350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55351     ac_ext=c
55352 ac_cpp='$CPP $CPPFLAGS'
55353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55356
55357 fi
55358
55359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55360 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55361   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55362     for ac_func in ceill floorl
55363 do :
55364   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55366 eval as_val=\$$as_ac_var
55367    if test "x$as_val" = x""yes; then :
55368   cat >>confdefs.h <<_ACEOF
55369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55370 _ACEOF
55371
55372 fi
55373 done
55374
55375   else
55376     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55377 $as_echo_n "checking for _long double round functions... " >&6; }
55378     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55379   $as_echo_n "(cached) " >&6
55380 else
55381
55382
55383       ac_ext=cpp
55384 ac_cpp='$CXXCPP $CPPFLAGS'
55385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55388
55389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55390 /* end confdefs.h.  */
55391 #include <math.h>
55392 int
55393 main ()
55394 {
55395 _ceill (0); _floorl (0);
55396   ;
55397   return 0;
55398 }
55399 _ACEOF
55400 if ac_fn_cxx_try_compile "$LINENO"; then :
55401   glibcxx_cv_func__long_double_round_use=yes
55402 else
55403   glibcxx_cv_func__long_double_round_use=no
55404 fi
55405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55406       ac_ext=c
55407 ac_cpp='$CPP $CPPFLAGS'
55408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55411
55412 fi
55413
55414     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55415 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55416     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55417       for ac_func in _ceill _floorl
55418 do :
55419   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55421 eval as_val=\$$as_ac_var
55422    if test "x$as_val" = x""yes; then :
55423   cat >>confdefs.h <<_ACEOF
55424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55425 _ACEOF
55426
55427 fi
55428 done
55429
55430     fi
55431   fi
55432
55433
55434
55435
55436
55437
55438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55439 $as_echo_n "checking for isnanl declaration... " >&6; }
55440   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55441     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55442   $as_echo_n "(cached) " >&6
55443 else
55444
55445
55446       ac_ext=cpp
55447 ac_cpp='$CXXCPP $CPPFLAGS'
55448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55451
55452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55453 /* end confdefs.h.  */
55454 #include <math.h>
55455                       #ifdef HAVE_IEEEFP_H
55456                       #include <ieeefp.h>
55457                       #endif
55458
55459 int
55460 main ()
55461 {
55462  isnanl(0);
55463   ;
55464   return 0;
55465 }
55466 _ACEOF
55467 if ac_fn_cxx_try_compile "$LINENO"; then :
55468   glibcxx_cv_func_isnanl_use=yes
55469 else
55470   glibcxx_cv_func_isnanl_use=no
55471 fi
55472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55473       ac_ext=c
55474 ac_cpp='$CPP $CPPFLAGS'
55475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55478
55479
55480 fi
55481
55482   fi
55483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55484 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55485
55486   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55487     for ac_func in isnanl
55488 do :
55489   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55490 if test "x$ac_cv_func_isnanl" = x""yes; then :
55491   cat >>confdefs.h <<_ACEOF
55492 #define HAVE_ISNANL 1
55493 _ACEOF
55494
55495 fi
55496 done
55497
55498   else
55499
55500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55501 $as_echo_n "checking for _isnanl declaration... " >&6; }
55502   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55503     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55504   $as_echo_n "(cached) " >&6
55505 else
55506
55507
55508       ac_ext=cpp
55509 ac_cpp='$CXXCPP $CPPFLAGS'
55510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55513
55514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55515 /* end confdefs.h.  */
55516 #include <math.h>
55517                       #ifdef HAVE_IEEEFP_H
55518                       #include <ieeefp.h>
55519                       #endif
55520
55521 int
55522 main ()
55523 {
55524  _isnanl(0);
55525   ;
55526   return 0;
55527 }
55528 _ACEOF
55529 if ac_fn_cxx_try_compile "$LINENO"; then :
55530   glibcxx_cv_func__isnanl_use=yes
55531 else
55532   glibcxx_cv_func__isnanl_use=no
55533 fi
55534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55535       ac_ext=c
55536 ac_cpp='$CPP $CPPFLAGS'
55537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55540
55541
55542 fi
55543
55544   fi
55545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55546 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55547
55548     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55549       for ac_func in _isnanl
55550 do :
55551   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55552 if test "x$ac_cv_func__isnanl" = x""yes; then :
55553   cat >>confdefs.h <<_ACEOF
55554 #define HAVE__ISNANL 1
55555 _ACEOF
55556
55557 fi
55558 done
55559
55560     fi
55561   fi
55562
55563
55564
55565
55566
55567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55568 $as_echo_n "checking for isinfl declaration... " >&6; }
55569   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55570     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55571   $as_echo_n "(cached) " >&6
55572 else
55573
55574
55575       ac_ext=cpp
55576 ac_cpp='$CXXCPP $CPPFLAGS'
55577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55580
55581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55582 /* end confdefs.h.  */
55583 #include <math.h>
55584                       #ifdef HAVE_IEEEFP_H
55585                       #include <ieeefp.h>
55586                       #endif
55587
55588 int
55589 main ()
55590 {
55591  isinfl(0);
55592   ;
55593   return 0;
55594 }
55595 _ACEOF
55596 if ac_fn_cxx_try_compile "$LINENO"; then :
55597   glibcxx_cv_func_isinfl_use=yes
55598 else
55599   glibcxx_cv_func_isinfl_use=no
55600 fi
55601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55602       ac_ext=c
55603 ac_cpp='$CPP $CPPFLAGS'
55604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55607
55608
55609 fi
55610
55611   fi
55612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55613 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55614
55615   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55616     for ac_func in isinfl
55617 do :
55618   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55619 if test "x$ac_cv_func_isinfl" = x""yes; then :
55620   cat >>confdefs.h <<_ACEOF
55621 #define HAVE_ISINFL 1
55622 _ACEOF
55623
55624 fi
55625 done
55626
55627   else
55628
55629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55630 $as_echo_n "checking for _isinfl declaration... " >&6; }
55631   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55632     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55633   $as_echo_n "(cached) " >&6
55634 else
55635
55636
55637       ac_ext=cpp
55638 ac_cpp='$CXXCPP $CPPFLAGS'
55639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55642
55643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55644 /* end confdefs.h.  */
55645 #include <math.h>
55646                       #ifdef HAVE_IEEEFP_H
55647                       #include <ieeefp.h>
55648                       #endif
55649
55650 int
55651 main ()
55652 {
55653  _isinfl(0);
55654   ;
55655   return 0;
55656 }
55657 _ACEOF
55658 if ac_fn_cxx_try_compile "$LINENO"; then :
55659   glibcxx_cv_func__isinfl_use=yes
55660 else
55661   glibcxx_cv_func__isinfl_use=no
55662 fi
55663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55664       ac_ext=c
55665 ac_cpp='$CPP $CPPFLAGS'
55666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55669
55670
55671 fi
55672
55673   fi
55674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55675 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55676
55677     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55678       for ac_func in _isinfl
55679 do :
55680   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55681 if test "x$ac_cv_func__isinfl" = x""yes; then :
55682   cat >>confdefs.h <<_ACEOF
55683 #define HAVE__ISINFL 1
55684 _ACEOF
55685
55686 fi
55687 done
55688
55689     fi
55690   fi
55691
55692
55693
55694
55695
55696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55697 $as_echo_n "checking for atan2l declaration... " >&6; }
55698   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55699     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55700   $as_echo_n "(cached) " >&6
55701 else
55702
55703
55704       ac_ext=cpp
55705 ac_cpp='$CXXCPP $CPPFLAGS'
55706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55709
55710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55711 /* end confdefs.h.  */
55712 #include <math.h>
55713 int
55714 main ()
55715 {
55716  atan2l(0, 0);
55717   ;
55718   return 0;
55719 }
55720 _ACEOF
55721 if ac_fn_cxx_try_compile "$LINENO"; then :
55722   glibcxx_cv_func_atan2l_use=yes
55723 else
55724   glibcxx_cv_func_atan2l_use=no
55725 fi
55726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55727       ac_ext=c
55728 ac_cpp='$CPP $CPPFLAGS'
55729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55732
55733
55734 fi
55735
55736   fi
55737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55738 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55739
55740   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55741     for ac_func in atan2l
55742 do :
55743   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55744 if test "x$ac_cv_func_atan2l" = x""yes; then :
55745   cat >>confdefs.h <<_ACEOF
55746 #define HAVE_ATAN2L 1
55747 _ACEOF
55748
55749 fi
55750 done
55751
55752   else
55753
55754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55755 $as_echo_n "checking for _atan2l declaration... " >&6; }
55756   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55757     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55758   $as_echo_n "(cached) " >&6
55759 else
55760
55761
55762       ac_ext=cpp
55763 ac_cpp='$CXXCPP $CPPFLAGS'
55764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55767
55768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55769 /* end confdefs.h.  */
55770 #include <math.h>
55771 int
55772 main ()
55773 {
55774  _atan2l(0, 0);
55775   ;
55776   return 0;
55777 }
55778 _ACEOF
55779 if ac_fn_cxx_try_compile "$LINENO"; then :
55780   glibcxx_cv_func__atan2l_use=yes
55781 else
55782   glibcxx_cv_func__atan2l_use=no
55783 fi
55784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55785       ac_ext=c
55786 ac_cpp='$CPP $CPPFLAGS'
55787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55790
55791
55792 fi
55793
55794   fi
55795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55796 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55797
55798     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55799       for ac_func in _atan2l
55800 do :
55801   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55802 if test "x$ac_cv_func__atan2l" = x""yes; then :
55803   cat >>confdefs.h <<_ACEOF
55804 #define HAVE__ATAN2L 1
55805 _ACEOF
55806
55807 fi
55808 done
55809
55810     fi
55811   fi
55812
55813
55814
55815
55816
55817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55818 $as_echo_n "checking for expl declaration... " >&6; }
55819   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55820     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55821   $as_echo_n "(cached) " >&6
55822 else
55823
55824
55825       ac_ext=cpp
55826 ac_cpp='$CXXCPP $CPPFLAGS'
55827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55830
55831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55832 /* end confdefs.h.  */
55833 #include <math.h>
55834                       #ifdef HAVE_IEEEFP_H
55835                       #include <ieeefp.h>
55836                       #endif
55837
55838 int
55839 main ()
55840 {
55841  expl(0);
55842   ;
55843   return 0;
55844 }
55845 _ACEOF
55846 if ac_fn_cxx_try_compile "$LINENO"; then :
55847   glibcxx_cv_func_expl_use=yes
55848 else
55849   glibcxx_cv_func_expl_use=no
55850 fi
55851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55852       ac_ext=c
55853 ac_cpp='$CPP $CPPFLAGS'
55854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55857
55858
55859 fi
55860
55861   fi
55862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55863 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55864
55865   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55866     for ac_func in expl
55867 do :
55868   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55869 if test "x$ac_cv_func_expl" = x""yes; then :
55870   cat >>confdefs.h <<_ACEOF
55871 #define HAVE_EXPL 1
55872 _ACEOF
55873
55874 fi
55875 done
55876
55877   else
55878
55879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55880 $as_echo_n "checking for _expl declaration... " >&6; }
55881   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55882     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55883   $as_echo_n "(cached) " >&6
55884 else
55885
55886
55887       ac_ext=cpp
55888 ac_cpp='$CXXCPP $CPPFLAGS'
55889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55892
55893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55894 /* end confdefs.h.  */
55895 #include <math.h>
55896                       #ifdef HAVE_IEEEFP_H
55897                       #include <ieeefp.h>
55898                       #endif
55899
55900 int
55901 main ()
55902 {
55903  _expl(0);
55904   ;
55905   return 0;
55906 }
55907 _ACEOF
55908 if ac_fn_cxx_try_compile "$LINENO"; then :
55909   glibcxx_cv_func__expl_use=yes
55910 else
55911   glibcxx_cv_func__expl_use=no
55912 fi
55913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55914       ac_ext=c
55915 ac_cpp='$CPP $CPPFLAGS'
55916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55919
55920
55921 fi
55922
55923   fi
55924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55925 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55926
55927     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55928       for ac_func in _expl
55929 do :
55930   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55931 if test "x$ac_cv_func__expl" = x""yes; then :
55932   cat >>confdefs.h <<_ACEOF
55933 #define HAVE__EXPL 1
55934 _ACEOF
55935
55936 fi
55937 done
55938
55939     fi
55940   fi
55941
55942
55943
55944
55945
55946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55947 $as_echo_n "checking for fabsl declaration... " >&6; }
55948   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55949     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55950   $as_echo_n "(cached) " >&6
55951 else
55952
55953
55954       ac_ext=cpp
55955 ac_cpp='$CXXCPP $CPPFLAGS'
55956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55959
55960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55961 /* end confdefs.h.  */
55962 #include <math.h>
55963                       #ifdef HAVE_IEEEFP_H
55964                       #include <ieeefp.h>
55965                       #endif
55966
55967 int
55968 main ()
55969 {
55970  fabsl(0);
55971   ;
55972   return 0;
55973 }
55974 _ACEOF
55975 if ac_fn_cxx_try_compile "$LINENO"; then :
55976   glibcxx_cv_func_fabsl_use=yes
55977 else
55978   glibcxx_cv_func_fabsl_use=no
55979 fi
55980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55981       ac_ext=c
55982 ac_cpp='$CPP $CPPFLAGS'
55983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55986
55987
55988 fi
55989
55990   fi
55991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55992 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55993
55994   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55995     for ac_func in fabsl
55996 do :
55997   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55998 if test "x$ac_cv_func_fabsl" = x""yes; then :
55999   cat >>confdefs.h <<_ACEOF
56000 #define HAVE_FABSL 1
56001 _ACEOF
56002
56003 fi
56004 done
56005
56006   else
56007
56008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56009 $as_echo_n "checking for _fabsl declaration... " >&6; }
56010   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56011     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56012   $as_echo_n "(cached) " >&6
56013 else
56014
56015
56016       ac_ext=cpp
56017 ac_cpp='$CXXCPP $CPPFLAGS'
56018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56021
56022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56023 /* end confdefs.h.  */
56024 #include <math.h>
56025                       #ifdef HAVE_IEEEFP_H
56026                       #include <ieeefp.h>
56027                       #endif
56028
56029 int
56030 main ()
56031 {
56032  _fabsl(0);
56033   ;
56034   return 0;
56035 }
56036 _ACEOF
56037 if ac_fn_cxx_try_compile "$LINENO"; then :
56038   glibcxx_cv_func__fabsl_use=yes
56039 else
56040   glibcxx_cv_func__fabsl_use=no
56041 fi
56042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56043       ac_ext=c
56044 ac_cpp='$CPP $CPPFLAGS'
56045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56048
56049
56050 fi
56051
56052   fi
56053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56054 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56055
56056     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56057       for ac_func in _fabsl
56058 do :
56059   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56060 if test "x$ac_cv_func__fabsl" = x""yes; then :
56061   cat >>confdefs.h <<_ACEOF
56062 #define HAVE__FABSL 1
56063 _ACEOF
56064
56065 fi
56066 done
56067
56068     fi
56069   fi
56070
56071
56072
56073
56074
56075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56076 $as_echo_n "checking for fmodl declaration... " >&6; }
56077   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56078     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56079   $as_echo_n "(cached) " >&6
56080 else
56081
56082
56083       ac_ext=cpp
56084 ac_cpp='$CXXCPP $CPPFLAGS'
56085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56088
56089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56090 /* end confdefs.h.  */
56091 #include <math.h>
56092 int
56093 main ()
56094 {
56095  fmodl(0, 0);
56096   ;
56097   return 0;
56098 }
56099 _ACEOF
56100 if ac_fn_cxx_try_compile "$LINENO"; then :
56101   glibcxx_cv_func_fmodl_use=yes
56102 else
56103   glibcxx_cv_func_fmodl_use=no
56104 fi
56105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56106       ac_ext=c
56107 ac_cpp='$CPP $CPPFLAGS'
56108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56111
56112
56113 fi
56114
56115   fi
56116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56117 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56118
56119   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56120     for ac_func in fmodl
56121 do :
56122   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56123 if test "x$ac_cv_func_fmodl" = x""yes; then :
56124   cat >>confdefs.h <<_ACEOF
56125 #define HAVE_FMODL 1
56126 _ACEOF
56127
56128 fi
56129 done
56130
56131   else
56132
56133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56134 $as_echo_n "checking for _fmodl declaration... " >&6; }
56135   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56136     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56137   $as_echo_n "(cached) " >&6
56138 else
56139
56140
56141       ac_ext=cpp
56142 ac_cpp='$CXXCPP $CPPFLAGS'
56143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56146
56147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56148 /* end confdefs.h.  */
56149 #include <math.h>
56150 int
56151 main ()
56152 {
56153  _fmodl(0, 0);
56154   ;
56155   return 0;
56156 }
56157 _ACEOF
56158 if ac_fn_cxx_try_compile "$LINENO"; then :
56159   glibcxx_cv_func__fmodl_use=yes
56160 else
56161   glibcxx_cv_func__fmodl_use=no
56162 fi
56163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56164       ac_ext=c
56165 ac_cpp='$CPP $CPPFLAGS'
56166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56169
56170
56171 fi
56172
56173   fi
56174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56175 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56176
56177     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56178       for ac_func in _fmodl
56179 do :
56180   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56181 if test "x$ac_cv_func__fmodl" = x""yes; then :
56182   cat >>confdefs.h <<_ACEOF
56183 #define HAVE__FMODL 1
56184 _ACEOF
56185
56186 fi
56187 done
56188
56189     fi
56190   fi
56191
56192
56193
56194
56195
56196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56197 $as_echo_n "checking for frexpl declaration... " >&6; }
56198   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56199     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56200   $as_echo_n "(cached) " >&6
56201 else
56202
56203
56204       ac_ext=cpp
56205 ac_cpp='$CXXCPP $CPPFLAGS'
56206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56209
56210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56211 /* end confdefs.h.  */
56212 #include <math.h>
56213 int
56214 main ()
56215 {
56216  frexpl(0, 0);
56217   ;
56218   return 0;
56219 }
56220 _ACEOF
56221 if ac_fn_cxx_try_compile "$LINENO"; then :
56222   glibcxx_cv_func_frexpl_use=yes
56223 else
56224   glibcxx_cv_func_frexpl_use=no
56225 fi
56226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56227       ac_ext=c
56228 ac_cpp='$CPP $CPPFLAGS'
56229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56232
56233
56234 fi
56235
56236   fi
56237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56238 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56239
56240   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56241     for ac_func in frexpl
56242 do :
56243   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56244 if test "x$ac_cv_func_frexpl" = x""yes; then :
56245   cat >>confdefs.h <<_ACEOF
56246 #define HAVE_FREXPL 1
56247 _ACEOF
56248
56249 fi
56250 done
56251
56252   else
56253
56254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56255 $as_echo_n "checking for _frexpl declaration... " >&6; }
56256   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56257     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56258   $as_echo_n "(cached) " >&6
56259 else
56260
56261
56262       ac_ext=cpp
56263 ac_cpp='$CXXCPP $CPPFLAGS'
56264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56267
56268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56269 /* end confdefs.h.  */
56270 #include <math.h>
56271 int
56272 main ()
56273 {
56274  _frexpl(0, 0);
56275   ;
56276   return 0;
56277 }
56278 _ACEOF
56279 if ac_fn_cxx_try_compile "$LINENO"; then :
56280   glibcxx_cv_func__frexpl_use=yes
56281 else
56282   glibcxx_cv_func__frexpl_use=no
56283 fi
56284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56285       ac_ext=c
56286 ac_cpp='$CPP $CPPFLAGS'
56287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56290
56291
56292 fi
56293
56294   fi
56295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56296 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56297
56298     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56299       for ac_func in _frexpl
56300 do :
56301   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56302 if test "x$ac_cv_func__frexpl" = x""yes; then :
56303   cat >>confdefs.h <<_ACEOF
56304 #define HAVE__FREXPL 1
56305 _ACEOF
56306
56307 fi
56308 done
56309
56310     fi
56311   fi
56312
56313
56314
56315
56316
56317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56318 $as_echo_n "checking for hypotl declaration... " >&6; }
56319   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56320     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56321   $as_echo_n "(cached) " >&6
56322 else
56323
56324
56325       ac_ext=cpp
56326 ac_cpp='$CXXCPP $CPPFLAGS'
56327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56330
56331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56332 /* end confdefs.h.  */
56333 #include <math.h>
56334 int
56335 main ()
56336 {
56337  hypotl(0, 0);
56338   ;
56339   return 0;
56340 }
56341 _ACEOF
56342 if ac_fn_cxx_try_compile "$LINENO"; then :
56343   glibcxx_cv_func_hypotl_use=yes
56344 else
56345   glibcxx_cv_func_hypotl_use=no
56346 fi
56347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56348       ac_ext=c
56349 ac_cpp='$CPP $CPPFLAGS'
56350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56353
56354
56355 fi
56356
56357   fi
56358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56359 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56360
56361   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56362     for ac_func in hypotl
56363 do :
56364   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56365 if test "x$ac_cv_func_hypotl" = x""yes; then :
56366   cat >>confdefs.h <<_ACEOF
56367 #define HAVE_HYPOTL 1
56368 _ACEOF
56369
56370 fi
56371 done
56372
56373   else
56374
56375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56376 $as_echo_n "checking for _hypotl declaration... " >&6; }
56377   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56378     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56379   $as_echo_n "(cached) " >&6
56380 else
56381
56382
56383       ac_ext=cpp
56384 ac_cpp='$CXXCPP $CPPFLAGS'
56385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56388
56389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56390 /* end confdefs.h.  */
56391 #include <math.h>
56392 int
56393 main ()
56394 {
56395  _hypotl(0, 0);
56396   ;
56397   return 0;
56398 }
56399 _ACEOF
56400 if ac_fn_cxx_try_compile "$LINENO"; then :
56401   glibcxx_cv_func__hypotl_use=yes
56402 else
56403   glibcxx_cv_func__hypotl_use=no
56404 fi
56405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56406       ac_ext=c
56407 ac_cpp='$CPP $CPPFLAGS'
56408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56411
56412
56413 fi
56414
56415   fi
56416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56417 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56418
56419     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56420       for ac_func in _hypotl
56421 do :
56422   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56423 if test "x$ac_cv_func__hypotl" = x""yes; then :
56424   cat >>confdefs.h <<_ACEOF
56425 #define HAVE__HYPOTL 1
56426 _ACEOF
56427
56428 fi
56429 done
56430
56431     fi
56432   fi
56433
56434
56435
56436
56437
56438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56439 $as_echo_n "checking for ldexpl declaration... " >&6; }
56440   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56441     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56442   $as_echo_n "(cached) " >&6
56443 else
56444
56445
56446       ac_ext=cpp
56447 ac_cpp='$CXXCPP $CPPFLAGS'
56448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56451
56452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56453 /* end confdefs.h.  */
56454 #include <math.h>
56455 int
56456 main ()
56457 {
56458  ldexpl(0, 0);
56459   ;
56460   return 0;
56461 }
56462 _ACEOF
56463 if ac_fn_cxx_try_compile "$LINENO"; then :
56464   glibcxx_cv_func_ldexpl_use=yes
56465 else
56466   glibcxx_cv_func_ldexpl_use=no
56467 fi
56468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56469       ac_ext=c
56470 ac_cpp='$CPP $CPPFLAGS'
56471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56474
56475
56476 fi
56477
56478   fi
56479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56480 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56481
56482   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56483     for ac_func in ldexpl
56484 do :
56485   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56486 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56487   cat >>confdefs.h <<_ACEOF
56488 #define HAVE_LDEXPL 1
56489 _ACEOF
56490
56491 fi
56492 done
56493
56494   else
56495
56496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56497 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56498   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56499     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56500   $as_echo_n "(cached) " >&6
56501 else
56502
56503
56504       ac_ext=cpp
56505 ac_cpp='$CXXCPP $CPPFLAGS'
56506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56509
56510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56511 /* end confdefs.h.  */
56512 #include <math.h>
56513 int
56514 main ()
56515 {
56516  _ldexpl(0, 0);
56517   ;
56518   return 0;
56519 }
56520 _ACEOF
56521 if ac_fn_cxx_try_compile "$LINENO"; then :
56522   glibcxx_cv_func__ldexpl_use=yes
56523 else
56524   glibcxx_cv_func__ldexpl_use=no
56525 fi
56526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56527       ac_ext=c
56528 ac_cpp='$CPP $CPPFLAGS'
56529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56532
56533
56534 fi
56535
56536   fi
56537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56538 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56539
56540     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56541       for ac_func in _ldexpl
56542 do :
56543   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56544 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56545   cat >>confdefs.h <<_ACEOF
56546 #define HAVE__LDEXPL 1
56547 _ACEOF
56548
56549 fi
56550 done
56551
56552     fi
56553   fi
56554
56555
56556
56557
56558
56559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56560 $as_echo_n "checking for logl declaration... " >&6; }
56561   if test x${glibcxx_cv_func_logl_use+set} != xset; then
56562     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56563   $as_echo_n "(cached) " >&6
56564 else
56565
56566
56567       ac_ext=cpp
56568 ac_cpp='$CXXCPP $CPPFLAGS'
56569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56572
56573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56574 /* end confdefs.h.  */
56575 #include <math.h>
56576                       #ifdef HAVE_IEEEFP_H
56577                       #include <ieeefp.h>
56578                       #endif
56579
56580 int
56581 main ()
56582 {
56583  logl(0);
56584   ;
56585   return 0;
56586 }
56587 _ACEOF
56588 if ac_fn_cxx_try_compile "$LINENO"; then :
56589   glibcxx_cv_func_logl_use=yes
56590 else
56591   glibcxx_cv_func_logl_use=no
56592 fi
56593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56594       ac_ext=c
56595 ac_cpp='$CPP $CPPFLAGS'
56596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56599
56600
56601 fi
56602
56603   fi
56604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56605 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56606
56607   if test x$glibcxx_cv_func_logl_use = x"yes"; then
56608     for ac_func in logl
56609 do :
56610   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56611 if test "x$ac_cv_func_logl" = x""yes; then :
56612   cat >>confdefs.h <<_ACEOF
56613 #define HAVE_LOGL 1
56614 _ACEOF
56615
56616 fi
56617 done
56618
56619   else
56620
56621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56622 $as_echo_n "checking for _logl declaration... " >&6; }
56623   if test x${glibcxx_cv_func__logl_use+set} != xset; then
56624     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56625   $as_echo_n "(cached) " >&6
56626 else
56627
56628
56629       ac_ext=cpp
56630 ac_cpp='$CXXCPP $CPPFLAGS'
56631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56634
56635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56636 /* end confdefs.h.  */
56637 #include <math.h>
56638                       #ifdef HAVE_IEEEFP_H
56639                       #include <ieeefp.h>
56640                       #endif
56641
56642 int
56643 main ()
56644 {
56645  _logl(0);
56646   ;
56647   return 0;
56648 }
56649 _ACEOF
56650 if ac_fn_cxx_try_compile "$LINENO"; then :
56651   glibcxx_cv_func__logl_use=yes
56652 else
56653   glibcxx_cv_func__logl_use=no
56654 fi
56655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56656       ac_ext=c
56657 ac_cpp='$CPP $CPPFLAGS'
56658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56661
56662
56663 fi
56664
56665   fi
56666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56667 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56668
56669     if test x$glibcxx_cv_func__logl_use = x"yes"; then
56670       for ac_func in _logl
56671 do :
56672   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56673 if test "x$ac_cv_func__logl" = x""yes; then :
56674   cat >>confdefs.h <<_ACEOF
56675 #define HAVE__LOGL 1
56676 _ACEOF
56677
56678 fi
56679 done
56680
56681     fi
56682   fi
56683
56684
56685
56686
56687
56688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56689 $as_echo_n "checking for log10l declaration... " >&6; }
56690   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56691     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56692   $as_echo_n "(cached) " >&6
56693 else
56694
56695
56696       ac_ext=cpp
56697 ac_cpp='$CXXCPP $CPPFLAGS'
56698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56701
56702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56703 /* end confdefs.h.  */
56704 #include <math.h>
56705                       #ifdef HAVE_IEEEFP_H
56706                       #include <ieeefp.h>
56707                       #endif
56708
56709 int
56710 main ()
56711 {
56712  log10l(0);
56713   ;
56714   return 0;
56715 }
56716 _ACEOF
56717 if ac_fn_cxx_try_compile "$LINENO"; then :
56718   glibcxx_cv_func_log10l_use=yes
56719 else
56720   glibcxx_cv_func_log10l_use=no
56721 fi
56722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56723       ac_ext=c
56724 ac_cpp='$CPP $CPPFLAGS'
56725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56728
56729
56730 fi
56731
56732   fi
56733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56734 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56735
56736   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56737     for ac_func in log10l
56738 do :
56739   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56740 if test "x$ac_cv_func_log10l" = x""yes; then :
56741   cat >>confdefs.h <<_ACEOF
56742 #define HAVE_LOG10L 1
56743 _ACEOF
56744
56745 fi
56746 done
56747
56748   else
56749
56750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56751 $as_echo_n "checking for _log10l declaration... " >&6; }
56752   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56753     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56754   $as_echo_n "(cached) " >&6
56755 else
56756
56757
56758       ac_ext=cpp
56759 ac_cpp='$CXXCPP $CPPFLAGS'
56760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56763
56764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56765 /* end confdefs.h.  */
56766 #include <math.h>
56767                       #ifdef HAVE_IEEEFP_H
56768                       #include <ieeefp.h>
56769                       #endif
56770
56771 int
56772 main ()
56773 {
56774  _log10l(0);
56775   ;
56776   return 0;
56777 }
56778 _ACEOF
56779 if ac_fn_cxx_try_compile "$LINENO"; then :
56780   glibcxx_cv_func__log10l_use=yes
56781 else
56782   glibcxx_cv_func__log10l_use=no
56783 fi
56784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56785       ac_ext=c
56786 ac_cpp='$CPP $CPPFLAGS'
56787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56790
56791
56792 fi
56793
56794   fi
56795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56796 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56797
56798     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56799       for ac_func in _log10l
56800 do :
56801   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56802 if test "x$ac_cv_func__log10l" = x""yes; then :
56803   cat >>confdefs.h <<_ACEOF
56804 #define HAVE__LOG10L 1
56805 _ACEOF
56806
56807 fi
56808 done
56809
56810     fi
56811   fi
56812
56813
56814
56815
56816
56817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56818 $as_echo_n "checking for modfl declaration... " >&6; }
56819   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56820     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56821   $as_echo_n "(cached) " >&6
56822 else
56823
56824
56825       ac_ext=cpp
56826 ac_cpp='$CXXCPP $CPPFLAGS'
56827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56830
56831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56832 /* end confdefs.h.  */
56833 #include <math.h>
56834 int
56835 main ()
56836 {
56837  modfl(0, 0);
56838   ;
56839   return 0;
56840 }
56841 _ACEOF
56842 if ac_fn_cxx_try_compile "$LINENO"; then :
56843   glibcxx_cv_func_modfl_use=yes
56844 else
56845   glibcxx_cv_func_modfl_use=no
56846 fi
56847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56848       ac_ext=c
56849 ac_cpp='$CPP $CPPFLAGS'
56850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56853
56854
56855 fi
56856
56857   fi
56858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56859 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56860
56861   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56862     for ac_func in modfl
56863 do :
56864   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56865 if test "x$ac_cv_func_modfl" = x""yes; then :
56866   cat >>confdefs.h <<_ACEOF
56867 #define HAVE_MODFL 1
56868 _ACEOF
56869
56870 fi
56871 done
56872
56873   else
56874
56875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56876 $as_echo_n "checking for _modfl declaration... " >&6; }
56877   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56878     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56879   $as_echo_n "(cached) " >&6
56880 else
56881
56882
56883       ac_ext=cpp
56884 ac_cpp='$CXXCPP $CPPFLAGS'
56885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56888
56889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56890 /* end confdefs.h.  */
56891 #include <math.h>
56892 int
56893 main ()
56894 {
56895  _modfl(0, 0);
56896   ;
56897   return 0;
56898 }
56899 _ACEOF
56900 if ac_fn_cxx_try_compile "$LINENO"; then :
56901   glibcxx_cv_func__modfl_use=yes
56902 else
56903   glibcxx_cv_func__modfl_use=no
56904 fi
56905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56906       ac_ext=c
56907 ac_cpp='$CPP $CPPFLAGS'
56908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56911
56912
56913 fi
56914
56915   fi
56916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56917 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56918
56919     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56920       for ac_func in _modfl
56921 do :
56922   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56923 if test "x$ac_cv_func__modfl" = x""yes; then :
56924   cat >>confdefs.h <<_ACEOF
56925 #define HAVE__MODFL 1
56926 _ACEOF
56927
56928 fi
56929 done
56930
56931     fi
56932   fi
56933
56934
56935
56936
56937
56938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56939 $as_echo_n "checking for powl declaration... " >&6; }
56940   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56941     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56942   $as_echo_n "(cached) " >&6
56943 else
56944
56945
56946       ac_ext=cpp
56947 ac_cpp='$CXXCPP $CPPFLAGS'
56948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56951
56952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56953 /* end confdefs.h.  */
56954 #include <math.h>
56955 int
56956 main ()
56957 {
56958  powl(0, 0);
56959   ;
56960   return 0;
56961 }
56962 _ACEOF
56963 if ac_fn_cxx_try_compile "$LINENO"; then :
56964   glibcxx_cv_func_powl_use=yes
56965 else
56966   glibcxx_cv_func_powl_use=no
56967 fi
56968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56969       ac_ext=c
56970 ac_cpp='$CPP $CPPFLAGS'
56971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56974
56975
56976 fi
56977
56978   fi
56979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56980 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56981
56982   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56983     for ac_func in powl
56984 do :
56985   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56986 if test "x$ac_cv_func_powl" = x""yes; then :
56987   cat >>confdefs.h <<_ACEOF
56988 #define HAVE_POWL 1
56989 _ACEOF
56990
56991 fi
56992 done
56993
56994   else
56995
56996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56997 $as_echo_n "checking for _powl declaration... " >&6; }
56998   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56999     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57000   $as_echo_n "(cached) " >&6
57001 else
57002
57003
57004       ac_ext=cpp
57005 ac_cpp='$CXXCPP $CPPFLAGS'
57006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57009
57010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57011 /* end confdefs.h.  */
57012 #include <math.h>
57013 int
57014 main ()
57015 {
57016  _powl(0, 0);
57017   ;
57018   return 0;
57019 }
57020 _ACEOF
57021 if ac_fn_cxx_try_compile "$LINENO"; then :
57022   glibcxx_cv_func__powl_use=yes
57023 else
57024   glibcxx_cv_func__powl_use=no
57025 fi
57026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57027       ac_ext=c
57028 ac_cpp='$CPP $CPPFLAGS'
57029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57032
57033
57034 fi
57035
57036   fi
57037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57038 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57039
57040     if test x$glibcxx_cv_func__powl_use = x"yes"; then
57041       for ac_func in _powl
57042 do :
57043   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57044 if test "x$ac_cv_func__powl" = x""yes; then :
57045   cat >>confdefs.h <<_ACEOF
57046 #define HAVE__POWL 1
57047 _ACEOF
57048
57049 fi
57050 done
57051
57052     fi
57053   fi
57054
57055
57056
57057
57058
57059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57060 $as_echo_n "checking for sqrtl declaration... " >&6; }
57061   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57062     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57063   $as_echo_n "(cached) " >&6
57064 else
57065
57066
57067       ac_ext=cpp
57068 ac_cpp='$CXXCPP $CPPFLAGS'
57069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57072
57073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57074 /* end confdefs.h.  */
57075 #include <math.h>
57076                       #ifdef HAVE_IEEEFP_H
57077                       #include <ieeefp.h>
57078                       #endif
57079
57080 int
57081 main ()
57082 {
57083  sqrtl(0);
57084   ;
57085   return 0;
57086 }
57087 _ACEOF
57088 if ac_fn_cxx_try_compile "$LINENO"; then :
57089   glibcxx_cv_func_sqrtl_use=yes
57090 else
57091   glibcxx_cv_func_sqrtl_use=no
57092 fi
57093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57094       ac_ext=c
57095 ac_cpp='$CPP $CPPFLAGS'
57096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57099
57100
57101 fi
57102
57103   fi
57104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57105 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57106
57107   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57108     for ac_func in sqrtl
57109 do :
57110   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57111 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57112   cat >>confdefs.h <<_ACEOF
57113 #define HAVE_SQRTL 1
57114 _ACEOF
57115
57116 fi
57117 done
57118
57119   else
57120
57121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57122 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57123   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57124     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57125   $as_echo_n "(cached) " >&6
57126 else
57127
57128
57129       ac_ext=cpp
57130 ac_cpp='$CXXCPP $CPPFLAGS'
57131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57134
57135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57136 /* end confdefs.h.  */
57137 #include <math.h>
57138                       #ifdef HAVE_IEEEFP_H
57139                       #include <ieeefp.h>
57140                       #endif
57141
57142 int
57143 main ()
57144 {
57145  _sqrtl(0);
57146   ;
57147   return 0;
57148 }
57149 _ACEOF
57150 if ac_fn_cxx_try_compile "$LINENO"; then :
57151   glibcxx_cv_func__sqrtl_use=yes
57152 else
57153   glibcxx_cv_func__sqrtl_use=no
57154 fi
57155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57156       ac_ext=c
57157 ac_cpp='$CPP $CPPFLAGS'
57158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57161
57162
57163 fi
57164
57165   fi
57166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57167 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57168
57169     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57170       for ac_func in _sqrtl
57171 do :
57172   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57173 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57174   cat >>confdefs.h <<_ACEOF
57175 #define HAVE__SQRTL 1
57176 _ACEOF
57177
57178 fi
57179 done
57180
57181     fi
57182   fi
57183
57184
57185
57186
57187
57188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57189 $as_echo_n "checking for sincosl declaration... " >&6; }
57190   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57191     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57192   $as_echo_n "(cached) " >&6
57193 else
57194
57195
57196       ac_ext=cpp
57197 ac_cpp='$CXXCPP $CPPFLAGS'
57198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57201
57202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57203 /* end confdefs.h.  */
57204 #include <math.h>
57205 int
57206 main ()
57207 {
57208  sincosl(0, 0, 0);
57209   ;
57210   return 0;
57211 }
57212 _ACEOF
57213 if ac_fn_cxx_try_compile "$LINENO"; then :
57214   glibcxx_cv_func_sincosl_use=yes
57215 else
57216   glibcxx_cv_func_sincosl_use=no
57217 fi
57218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57219       ac_ext=c
57220 ac_cpp='$CPP $CPPFLAGS'
57221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57224
57225
57226 fi
57227
57228   fi
57229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57230 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57231
57232   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57233     for ac_func in sincosl
57234 do :
57235   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57236 if test "x$ac_cv_func_sincosl" = x""yes; then :
57237   cat >>confdefs.h <<_ACEOF
57238 #define HAVE_SINCOSL 1
57239 _ACEOF
57240
57241 fi
57242 done
57243
57244   else
57245
57246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57247 $as_echo_n "checking for _sincosl declaration... " >&6; }
57248   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57249     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57250   $as_echo_n "(cached) " >&6
57251 else
57252
57253
57254       ac_ext=cpp
57255 ac_cpp='$CXXCPP $CPPFLAGS'
57256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57259
57260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57261 /* end confdefs.h.  */
57262 #include <math.h>
57263 int
57264 main ()
57265 {
57266  _sincosl(0, 0, 0);
57267   ;
57268   return 0;
57269 }
57270 _ACEOF
57271 if ac_fn_cxx_try_compile "$LINENO"; then :
57272   glibcxx_cv_func__sincosl_use=yes
57273 else
57274   glibcxx_cv_func__sincosl_use=no
57275 fi
57276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57277       ac_ext=c
57278 ac_cpp='$CPP $CPPFLAGS'
57279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57282
57283
57284 fi
57285
57286   fi
57287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57288 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57289
57290     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57291       for ac_func in _sincosl
57292 do :
57293   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57294 if test "x$ac_cv_func__sincosl" = x""yes; then :
57295   cat >>confdefs.h <<_ACEOF
57296 #define HAVE__SINCOSL 1
57297 _ACEOF
57298
57299 fi
57300 done
57301
57302     fi
57303   fi
57304
57305
57306
57307
57308
57309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57310 $as_echo_n "checking for finitel declaration... " >&6; }
57311   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57312     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57313   $as_echo_n "(cached) " >&6
57314 else
57315
57316
57317       ac_ext=cpp
57318 ac_cpp='$CXXCPP $CPPFLAGS'
57319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57322
57323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57324 /* end confdefs.h.  */
57325 #include <math.h>
57326                       #ifdef HAVE_IEEEFP_H
57327                       #include <ieeefp.h>
57328                       #endif
57329
57330 int
57331 main ()
57332 {
57333  finitel(0);
57334   ;
57335   return 0;
57336 }
57337 _ACEOF
57338 if ac_fn_cxx_try_compile "$LINENO"; then :
57339   glibcxx_cv_func_finitel_use=yes
57340 else
57341   glibcxx_cv_func_finitel_use=no
57342 fi
57343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57344       ac_ext=c
57345 ac_cpp='$CPP $CPPFLAGS'
57346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57349
57350
57351 fi
57352
57353   fi
57354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57355 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57356
57357   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57358     for ac_func in finitel
57359 do :
57360   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57361 if test "x$ac_cv_func_finitel" = x""yes; then :
57362   cat >>confdefs.h <<_ACEOF
57363 #define HAVE_FINITEL 1
57364 _ACEOF
57365
57366 fi
57367 done
57368
57369   else
57370
57371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57372 $as_echo_n "checking for _finitel declaration... " >&6; }
57373   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57374     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57375   $as_echo_n "(cached) " >&6
57376 else
57377
57378
57379       ac_ext=cpp
57380 ac_cpp='$CXXCPP $CPPFLAGS'
57381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57384
57385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57386 /* end confdefs.h.  */
57387 #include <math.h>
57388                       #ifdef HAVE_IEEEFP_H
57389                       #include <ieeefp.h>
57390                       #endif
57391
57392 int
57393 main ()
57394 {
57395  _finitel(0);
57396   ;
57397   return 0;
57398 }
57399 _ACEOF
57400 if ac_fn_cxx_try_compile "$LINENO"; then :
57401   glibcxx_cv_func__finitel_use=yes
57402 else
57403   glibcxx_cv_func__finitel_use=no
57404 fi
57405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57406       ac_ext=c
57407 ac_cpp='$CPP $CPPFLAGS'
57408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57411
57412
57413 fi
57414
57415   fi
57416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57417 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57418
57419     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57420       for ac_func in _finitel
57421 do :
57422   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57423 if test "x$ac_cv_func__finitel" = x""yes; then :
57424   cat >>confdefs.h <<_ACEOF
57425 #define HAVE__FINITEL 1
57426 _ACEOF
57427
57428 fi
57429 done
57430
57431     fi
57432   fi
57433
57434
57435
57436
57437   LIBS="$ac_save_LIBS"
57438   CXXFLAGS="$ac_save_CXXFLAGS"
57439
57440
57441   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57442   ac_save_CXXFLAGS="$CXXFLAGS"
57443   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57444
57445
57446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57447 $as_echo_n "checking for strtold declaration... " >&6; }
57448   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57449     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57450   $as_echo_n "(cached) " >&6
57451 else
57452
57453
57454       ac_ext=cpp
57455 ac_cpp='$CXXCPP $CPPFLAGS'
57456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57459
57460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57461 /* end confdefs.h.  */
57462 #include <stdlib.h>
57463 int
57464 main ()
57465 {
57466  strtold(0, 0);
57467   ;
57468   return 0;
57469 }
57470 _ACEOF
57471 if ac_fn_cxx_try_compile "$LINENO"; then :
57472   glibcxx_cv_func_strtold_use=yes
57473 else
57474   glibcxx_cv_func_strtold_use=no
57475 fi
57476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57477       ac_ext=c
57478 ac_cpp='$CPP $CPPFLAGS'
57479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57482
57483
57484 fi
57485
57486   fi
57487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57488 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57489   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57490     for ac_func in strtold
57491 do :
57492   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57493 if test "x$ac_cv_func_strtold" = x""yes; then :
57494   cat >>confdefs.h <<_ACEOF
57495 #define HAVE_STRTOLD 1
57496 _ACEOF
57497
57498 fi
57499 done
57500
57501   fi
57502
57503
57504
57505
57506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57507 $as_echo_n "checking for strtof declaration... " >&6; }
57508   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57509     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57510   $as_echo_n "(cached) " >&6
57511 else
57512
57513
57514       ac_ext=cpp
57515 ac_cpp='$CXXCPP $CPPFLAGS'
57516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57519
57520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57521 /* end confdefs.h.  */
57522 #include <stdlib.h>
57523 int
57524 main ()
57525 {
57526  strtof(0, 0);
57527   ;
57528   return 0;
57529 }
57530 _ACEOF
57531 if ac_fn_cxx_try_compile "$LINENO"; then :
57532   glibcxx_cv_func_strtof_use=yes
57533 else
57534   glibcxx_cv_func_strtof_use=no
57535 fi
57536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57537       ac_ext=c
57538 ac_cpp='$CPP $CPPFLAGS'
57539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57542
57543
57544 fi
57545
57546   fi
57547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57548 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57549   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57550     for ac_func in strtof
57551 do :
57552   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57553 if test "x$ac_cv_func_strtof" = x""yes; then :
57554   cat >>confdefs.h <<_ACEOF
57555 #define HAVE_STRTOF 1
57556 _ACEOF
57557
57558 fi
57559 done
57560
57561   fi
57562
57563
57564
57565
57566   CXXFLAGS="$ac_save_CXXFLAGS"
57567
57568     ;;
57569   *-netbsd*)
57570     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57571
57572
57573   # If we're not using GNU ld, then there's no point in even trying these
57574   # tests.  Check for that first.  We should have already tested for gld
57575   # by now (in libtool), but require it now just to be safe...
57576   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57577   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57578
57579
57580
57581   # The name set by libtool depends on the version of libtool.  Shame on us
57582   # for depending on an impl detail, but c'est la vie.  Older versions used
57583   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57584   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57585   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57586   # set (hence we're using an older libtool), then set it.
57587   if test x${with_gnu_ld+set} != xset; then
57588     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57589       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57590       with_gnu_ld=no
57591     else
57592       with_gnu_ld=$ac_cv_prog_gnu_ld
57593     fi
57594   fi
57595
57596   # Start by getting the version number.  I think the libtool test already
57597   # does some of this, but throws away the result.
57598   glibcxx_ld_is_gold=no
57599   if test x"$with_gnu_ld" = x"yes"; then
57600     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57601 $as_echo_n "checking for ld version... " >&6; }
57602
57603     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57604       glibcxx_ld_is_gold=yes
57605     fi
57606     ldver=`$LD --version 2>/dev/null |
57607            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'`
57608
57609     glibcxx_gnu_ld_version=`echo $ldver | \
57610            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57611     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57612 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57613   fi
57614
57615   # Set --gc-sections.
57616   glibcxx_have_gc_sections=no
57617   if test "$glibcxx_ld_is_gold" = "yes"; then
57618     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57619       glibcxx_have_gc_sections=yes
57620     fi
57621   else
57622     glibcxx_gcsections_min_ld=21602
57623     if test x"$with_gnu_ld" = x"yes" &&
57624         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57625       glibcxx_have_gc_sections=yes
57626     fi
57627   fi
57628   if test "$glibcxx_have_gc_sections" = "yes"; then
57629     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57630     # NB: This flag only works reliably after 2.16.1. Configure tests
57631     # for this are difficult, so hard wire a value that should work.
57632
57633     ac_test_CFLAGS="${CFLAGS+set}"
57634     ac_save_CFLAGS="$CFLAGS"
57635     CFLAGS='-Wl,--gc-sections'
57636
57637     # Check for -Wl,--gc-sections
57638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57639 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57640     if test x$gcc_no_link = xyes; then
57641   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57642 fi
57643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57644 /* end confdefs.h.  */
57645  int one(void) { return 1; }
57646      int two(void) { return 2; }
57647
57648 int
57649 main ()
57650 {
57651  two();
57652   ;
57653   return 0;
57654 }
57655 _ACEOF
57656 if ac_fn_c_try_link "$LINENO"; then :
57657   ac_gcsections=yes
57658 else
57659   ac_gcsections=no
57660 fi
57661 rm -f core conftest.err conftest.$ac_objext \
57662     conftest$ac_exeext conftest.$ac_ext
57663     if test "$ac_gcsections" = "yes"; then
57664       rm -f conftest.c
57665       touch conftest.c
57666       if $CC -c conftest.c; then
57667         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57668            grep "Warning: gc-sections option ignored" > /dev/null; then
57669           ac_gcsections=no
57670         fi
57671       fi
57672       rm -f conftest.c conftest.o conftest
57673     fi
57674     if test "$ac_gcsections" = "yes"; then
57675       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57676     fi
57677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57678 $as_echo "$ac_gcsections" >&6; }
57679
57680     if test "$ac_test_CFLAGS" = set; then
57681       CFLAGS="$ac_save_CFLAGS"
57682     else
57683       # this is the suspicious part
57684       CFLAGS=''
57685     fi
57686   fi
57687
57688   # Set -z,relro.
57689   # Note this is only for shared objects.
57690   ac_ld_relro=no
57691   if test x"$with_gnu_ld" = x"yes"; then
57692     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57693 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57694     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57695     if test -n "$cxx_z_relo"; then
57696       OPT_LDFLAGS="-Wl,-z,relro"
57697       ac_ld_relro=yes
57698     fi
57699     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57700 $as_echo "$ac_ld_relro" >&6; }
57701   fi
57702
57703   # Set linker optimization flags.
57704   if test x"$with_gnu_ld" = x"yes"; then
57705     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57706   fi
57707
57708
57709
57710
57711     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57712
57713     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57714
57715     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57716
57717     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57718
57719     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57720
57721     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57722
57723     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57724
57725     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57726
57727     if test x"long_double_math_on_this_cpu" = x"yes"; then
57728       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57729
57730       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57731
57732       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57733
57734     fi
57735     ;;
57736   *-qnx6.1* | *-qnx6.2*)
57737     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57738
57739
57740   # If we're not using GNU ld, then there's no point in even trying these
57741   # tests.  Check for that first.  We should have already tested for gld
57742   # by now (in libtool), but require it now just to be safe...
57743   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57744   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57745
57746
57747
57748   # The name set by libtool depends on the version of libtool.  Shame on us
57749   # for depending on an impl detail, but c'est la vie.  Older versions used
57750   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57751   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57752   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57753   # set (hence we're using an older libtool), then set it.
57754   if test x${with_gnu_ld+set} != xset; then
57755     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57756       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57757       with_gnu_ld=no
57758     else
57759       with_gnu_ld=$ac_cv_prog_gnu_ld
57760     fi
57761   fi
57762
57763   # Start by getting the version number.  I think the libtool test already
57764   # does some of this, but throws away the result.
57765   glibcxx_ld_is_gold=no
57766   if test x"$with_gnu_ld" = x"yes"; then
57767     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57768 $as_echo_n "checking for ld version... " >&6; }
57769
57770     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57771       glibcxx_ld_is_gold=yes
57772     fi
57773     ldver=`$LD --version 2>/dev/null |
57774            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'`
57775
57776     glibcxx_gnu_ld_version=`echo $ldver | \
57777            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57778     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57779 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57780   fi
57781
57782   # Set --gc-sections.
57783   glibcxx_have_gc_sections=no
57784   if test "$glibcxx_ld_is_gold" = "yes"; then
57785     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57786       glibcxx_have_gc_sections=yes
57787     fi
57788   else
57789     glibcxx_gcsections_min_ld=21602
57790     if test x"$with_gnu_ld" = x"yes" &&
57791         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57792       glibcxx_have_gc_sections=yes
57793     fi
57794   fi
57795   if test "$glibcxx_have_gc_sections" = "yes"; then
57796     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57797     # NB: This flag only works reliably after 2.16.1. Configure tests
57798     # for this are difficult, so hard wire a value that should work.
57799
57800     ac_test_CFLAGS="${CFLAGS+set}"
57801     ac_save_CFLAGS="$CFLAGS"
57802     CFLAGS='-Wl,--gc-sections'
57803
57804     # Check for -Wl,--gc-sections
57805     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57806 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57807     if test x$gcc_no_link = xyes; then
57808   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57809 fi
57810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57811 /* end confdefs.h.  */
57812  int one(void) { return 1; }
57813      int two(void) { return 2; }
57814
57815 int
57816 main ()
57817 {
57818  two();
57819   ;
57820   return 0;
57821 }
57822 _ACEOF
57823 if ac_fn_c_try_link "$LINENO"; then :
57824   ac_gcsections=yes
57825 else
57826   ac_gcsections=no
57827 fi
57828 rm -f core conftest.err conftest.$ac_objext \
57829     conftest$ac_exeext conftest.$ac_ext
57830     if test "$ac_gcsections" = "yes"; then
57831       rm -f conftest.c
57832       touch conftest.c
57833       if $CC -c conftest.c; then
57834         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57835            grep "Warning: gc-sections option ignored" > /dev/null; then
57836           ac_gcsections=no
57837         fi
57838       fi
57839       rm -f conftest.c conftest.o conftest
57840     fi
57841     if test "$ac_gcsections" = "yes"; then
57842       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57843     fi
57844     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57845 $as_echo "$ac_gcsections" >&6; }
57846
57847     if test "$ac_test_CFLAGS" = set; then
57848       CFLAGS="$ac_save_CFLAGS"
57849     else
57850       # this is the suspicious part
57851       CFLAGS=''
57852     fi
57853   fi
57854
57855   # Set -z,relro.
57856   # Note this is only for shared objects.
57857   ac_ld_relro=no
57858   if test x"$with_gnu_ld" = x"yes"; then
57859     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57860 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57861     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57862     if test -n "$cxx_z_relo"; then
57863       OPT_LDFLAGS="-Wl,-z,relro"
57864       ac_ld_relro=yes
57865     fi
57866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57867 $as_echo "$ac_ld_relro" >&6; }
57868   fi
57869
57870   # Set linker optimization flags.
57871   if test x"$with_gnu_ld" = x"yes"; then
57872     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57873   fi
57874
57875
57876
57877
57878     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57879
57880     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57881
57882     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57883
57884     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57885
57886     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57887
57888     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57889
57890     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57891
57892     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57893
57894     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57895
57896     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57897
57898     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57899
57900     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57901
57902     ;;
57903   *-rtems*)
57904
57905   # All these tests are for C++; save the language and the compiler flags.
57906   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57907   # found in GLIBCXX_CONFIGURE.
57908
57909   ac_ext=cpp
57910 ac_cpp='$CXXCPP $CPPFLAGS'
57911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57914
57915   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57916   ac_save_CXXFLAGS="$CXXFLAGS"
57917
57918   # Check for maintainer-mode bits.
57919   if test x"$USE_MAINTAINER_MODE" = xno; then
57920     WERROR=''
57921   else
57922     WERROR='-Werror'
57923   fi
57924
57925   # Check for -ffunction-sections -fdata-sections
57926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57927 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57928   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57930 /* end confdefs.h.  */
57931 int foo; void bar() { };
57932 int
57933 main ()
57934 {
57935
57936   ;
57937   return 0;
57938 }
57939 _ACEOF
57940 if ac_fn_cxx_try_compile "$LINENO"; then :
57941   ac_fdsections=yes
57942 else
57943   ac_fdsections=no
57944 fi
57945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57946   if test "$ac_test_CXXFLAGS" = set; then
57947     CXXFLAGS="$ac_save_CXXFLAGS"
57948   else
57949     # this is the suspicious part
57950     CXXFLAGS=''
57951   fi
57952   if test x"$ac_fdsections" = x"yes"; then
57953     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57954   fi
57955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57956 $as_echo "$ac_fdsections" >&6; }
57957
57958   ac_ext=c
57959 ac_cpp='$CPP $CPPFLAGS'
57960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57963
57964
57965
57966
57967
57968   # If we're not using GNU ld, then there's no point in even trying these
57969   # tests.  Check for that first.  We should have already tested for gld
57970   # by now (in libtool), but require it now just to be safe...
57971   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57972   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57973
57974
57975
57976   # The name set by libtool depends on the version of libtool.  Shame on us
57977   # for depending on an impl detail, but c'est la vie.  Older versions used
57978   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57979   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57980   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57981   # set (hence we're using an older libtool), then set it.
57982   if test x${with_gnu_ld+set} != xset; then
57983     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57984       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57985       with_gnu_ld=no
57986     else
57987       with_gnu_ld=$ac_cv_prog_gnu_ld
57988     fi
57989   fi
57990
57991   # Start by getting the version number.  I think the libtool test already
57992   # does some of this, but throws away the result.
57993   glibcxx_ld_is_gold=no
57994   if test x"$with_gnu_ld" = x"yes"; then
57995     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57996 $as_echo_n "checking for ld version... " >&6; }
57997
57998     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57999       glibcxx_ld_is_gold=yes
58000     fi
58001     ldver=`$LD --version 2>/dev/null |
58002            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'`
58003
58004     glibcxx_gnu_ld_version=`echo $ldver | \
58005            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58007 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58008   fi
58009
58010   # Set --gc-sections.
58011   glibcxx_have_gc_sections=no
58012   if test "$glibcxx_ld_is_gold" = "yes"; then
58013     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58014       glibcxx_have_gc_sections=yes
58015     fi
58016   else
58017     glibcxx_gcsections_min_ld=21602
58018     if test x"$with_gnu_ld" = x"yes" &&
58019         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58020       glibcxx_have_gc_sections=yes
58021     fi
58022   fi
58023   if test "$glibcxx_have_gc_sections" = "yes"; then
58024     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58025     # NB: This flag only works reliably after 2.16.1. Configure tests
58026     # for this are difficult, so hard wire a value that should work.
58027
58028     ac_test_CFLAGS="${CFLAGS+set}"
58029     ac_save_CFLAGS="$CFLAGS"
58030     CFLAGS='-Wl,--gc-sections'
58031
58032     # Check for -Wl,--gc-sections
58033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58034 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58035     if test x$gcc_no_link = xyes; then
58036   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58037 fi
58038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58039 /* end confdefs.h.  */
58040  int one(void) { return 1; }
58041      int two(void) { return 2; }
58042
58043 int
58044 main ()
58045 {
58046  two();
58047   ;
58048   return 0;
58049 }
58050 _ACEOF
58051 if ac_fn_c_try_link "$LINENO"; then :
58052   ac_gcsections=yes
58053 else
58054   ac_gcsections=no
58055 fi
58056 rm -f core conftest.err conftest.$ac_objext \
58057     conftest$ac_exeext conftest.$ac_ext
58058     if test "$ac_gcsections" = "yes"; then
58059       rm -f conftest.c
58060       touch conftest.c
58061       if $CC -c conftest.c; then
58062         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58063            grep "Warning: gc-sections option ignored" > /dev/null; then
58064           ac_gcsections=no
58065         fi
58066       fi
58067       rm -f conftest.c conftest.o conftest
58068     fi
58069     if test "$ac_gcsections" = "yes"; then
58070       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58071     fi
58072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58073 $as_echo "$ac_gcsections" >&6; }
58074
58075     if test "$ac_test_CFLAGS" = set; then
58076       CFLAGS="$ac_save_CFLAGS"
58077     else
58078       # this is the suspicious part
58079       CFLAGS=''
58080     fi
58081   fi
58082
58083   # Set -z,relro.
58084   # Note this is only for shared objects.
58085   ac_ld_relro=no
58086   if test x"$with_gnu_ld" = x"yes"; then
58087     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58088 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58089     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58090     if test -n "$cxx_z_relo"; then
58091       OPT_LDFLAGS="-Wl,-z,relro"
58092       ac_ld_relro=yes
58093     fi
58094     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58095 $as_echo "$ac_ld_relro" >&6; }
58096   fi
58097
58098   # Set linker optimization flags.
58099   if test x"$with_gnu_ld" = x"yes"; then
58100     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58101   fi
58102
58103
58104
58105
58106
58107   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58108   ac_save_CXXFLAGS="$CXXFLAGS"
58109   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58110
58111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58112 $as_echo_n "checking for sin in -lm... " >&6; }
58113 if test "${ac_cv_lib_m_sin+set}" = set; then :
58114   $as_echo_n "(cached) " >&6
58115 else
58116   ac_check_lib_save_LIBS=$LIBS
58117 LIBS="-lm  $LIBS"
58118 if test x$gcc_no_link = xyes; then
58119   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58120 fi
58121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58122 /* end confdefs.h.  */
58123
58124 /* Override any GCC internal prototype to avoid an error.
58125    Use char because int might match the return type of a GCC
58126    builtin and then its argument prototype would still apply.  */
58127 #ifdef __cplusplus
58128 extern "C"
58129 #endif
58130 char sin ();
58131 int
58132 main ()
58133 {
58134 return sin ();
58135   ;
58136   return 0;
58137 }
58138 _ACEOF
58139 if ac_fn_c_try_link "$LINENO"; then :
58140   ac_cv_lib_m_sin=yes
58141 else
58142   ac_cv_lib_m_sin=no
58143 fi
58144 rm -f core conftest.err conftest.$ac_objext \
58145     conftest$ac_exeext conftest.$ac_ext
58146 LIBS=$ac_check_lib_save_LIBS
58147 fi
58148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58149 $as_echo "$ac_cv_lib_m_sin" >&6; }
58150 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58151   libm="-lm"
58152 fi
58153
58154   ac_save_LIBS="$LIBS"
58155   LIBS="$LIBS $libm"
58156
58157
58158
58159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58160 $as_echo_n "checking for isinf declaration... " >&6; }
58161   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58162     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58163   $as_echo_n "(cached) " >&6
58164 else
58165
58166
58167       ac_ext=cpp
58168 ac_cpp='$CXXCPP $CPPFLAGS'
58169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58172
58173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58174 /* end confdefs.h.  */
58175 #include <math.h>
58176                       #ifdef HAVE_IEEEFP_H
58177                       #include <ieeefp.h>
58178                       #endif
58179
58180 int
58181 main ()
58182 {
58183  isinf(0);
58184   ;
58185   return 0;
58186 }
58187 _ACEOF
58188 if ac_fn_cxx_try_compile "$LINENO"; then :
58189   glibcxx_cv_func_isinf_use=yes
58190 else
58191   glibcxx_cv_func_isinf_use=no
58192 fi
58193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58194       ac_ext=c
58195 ac_cpp='$CPP $CPPFLAGS'
58196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58199
58200
58201 fi
58202
58203   fi
58204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58205 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58206
58207   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58208     for ac_func in isinf
58209 do :
58210   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58211 if test "x$ac_cv_func_isinf" = x""yes; then :
58212   cat >>confdefs.h <<_ACEOF
58213 #define HAVE_ISINF 1
58214 _ACEOF
58215
58216 fi
58217 done
58218
58219   else
58220
58221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58222 $as_echo_n "checking for _isinf declaration... " >&6; }
58223   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58224     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58225   $as_echo_n "(cached) " >&6
58226 else
58227
58228
58229       ac_ext=cpp
58230 ac_cpp='$CXXCPP $CPPFLAGS'
58231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58234
58235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58236 /* end confdefs.h.  */
58237 #include <math.h>
58238                       #ifdef HAVE_IEEEFP_H
58239                       #include <ieeefp.h>
58240                       #endif
58241
58242 int
58243 main ()
58244 {
58245  _isinf(0);
58246   ;
58247   return 0;
58248 }
58249 _ACEOF
58250 if ac_fn_cxx_try_compile "$LINENO"; then :
58251   glibcxx_cv_func__isinf_use=yes
58252 else
58253   glibcxx_cv_func__isinf_use=no
58254 fi
58255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58256       ac_ext=c
58257 ac_cpp='$CPP $CPPFLAGS'
58258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58261
58262
58263 fi
58264
58265   fi
58266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58267 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58268
58269     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58270       for ac_func in _isinf
58271 do :
58272   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58273 if test "x$ac_cv_func__isinf" = x""yes; then :
58274   cat >>confdefs.h <<_ACEOF
58275 #define HAVE__ISINF 1
58276 _ACEOF
58277
58278 fi
58279 done
58280
58281     fi
58282   fi
58283
58284
58285
58286
58287
58288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58289 $as_echo_n "checking for isnan declaration... " >&6; }
58290   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58291     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58292   $as_echo_n "(cached) " >&6
58293 else
58294
58295
58296       ac_ext=cpp
58297 ac_cpp='$CXXCPP $CPPFLAGS'
58298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58301
58302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58303 /* end confdefs.h.  */
58304 #include <math.h>
58305                       #ifdef HAVE_IEEEFP_H
58306                       #include <ieeefp.h>
58307                       #endif
58308
58309 int
58310 main ()
58311 {
58312  isnan(0);
58313   ;
58314   return 0;
58315 }
58316 _ACEOF
58317 if ac_fn_cxx_try_compile "$LINENO"; then :
58318   glibcxx_cv_func_isnan_use=yes
58319 else
58320   glibcxx_cv_func_isnan_use=no
58321 fi
58322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58323       ac_ext=c
58324 ac_cpp='$CPP $CPPFLAGS'
58325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58328
58329
58330 fi
58331
58332   fi
58333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58334 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58335
58336   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58337     for ac_func in isnan
58338 do :
58339   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58340 if test "x$ac_cv_func_isnan" = x""yes; then :
58341   cat >>confdefs.h <<_ACEOF
58342 #define HAVE_ISNAN 1
58343 _ACEOF
58344
58345 fi
58346 done
58347
58348   else
58349
58350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58351 $as_echo_n "checking for _isnan declaration... " >&6; }
58352   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58353     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58354   $as_echo_n "(cached) " >&6
58355 else
58356
58357
58358       ac_ext=cpp
58359 ac_cpp='$CXXCPP $CPPFLAGS'
58360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58363
58364       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58365 /* end confdefs.h.  */
58366 #include <math.h>
58367                       #ifdef HAVE_IEEEFP_H
58368                       #include <ieeefp.h>
58369                       #endif
58370
58371 int
58372 main ()
58373 {
58374  _isnan(0);
58375   ;
58376   return 0;
58377 }
58378 _ACEOF
58379 if ac_fn_cxx_try_compile "$LINENO"; then :
58380   glibcxx_cv_func__isnan_use=yes
58381 else
58382   glibcxx_cv_func__isnan_use=no
58383 fi
58384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58385       ac_ext=c
58386 ac_cpp='$CPP $CPPFLAGS'
58387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58390
58391
58392 fi
58393
58394   fi
58395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58396 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58397
58398     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58399       for ac_func in _isnan
58400 do :
58401   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58402 if test "x$ac_cv_func__isnan" = x""yes; then :
58403   cat >>confdefs.h <<_ACEOF
58404 #define HAVE__ISNAN 1
58405 _ACEOF
58406
58407 fi
58408 done
58409
58410     fi
58411   fi
58412
58413
58414
58415
58416
58417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58418 $as_echo_n "checking for finite declaration... " >&6; }
58419   if test x${glibcxx_cv_func_finite_use+set} != xset; then
58420     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58421   $as_echo_n "(cached) " >&6
58422 else
58423
58424
58425       ac_ext=cpp
58426 ac_cpp='$CXXCPP $CPPFLAGS'
58427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58430
58431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58432 /* end confdefs.h.  */
58433 #include <math.h>
58434                       #ifdef HAVE_IEEEFP_H
58435                       #include <ieeefp.h>
58436                       #endif
58437
58438 int
58439 main ()
58440 {
58441  finite(0);
58442   ;
58443   return 0;
58444 }
58445 _ACEOF
58446 if ac_fn_cxx_try_compile "$LINENO"; then :
58447   glibcxx_cv_func_finite_use=yes
58448 else
58449   glibcxx_cv_func_finite_use=no
58450 fi
58451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58452       ac_ext=c
58453 ac_cpp='$CPP $CPPFLAGS'
58454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58457
58458
58459 fi
58460
58461   fi
58462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58463 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58464
58465   if test x$glibcxx_cv_func_finite_use = x"yes"; then
58466     for ac_func in finite
58467 do :
58468   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58469 if test "x$ac_cv_func_finite" = x""yes; then :
58470   cat >>confdefs.h <<_ACEOF
58471 #define HAVE_FINITE 1
58472 _ACEOF
58473
58474 fi
58475 done
58476
58477   else
58478
58479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58480 $as_echo_n "checking for _finite declaration... " >&6; }
58481   if test x${glibcxx_cv_func__finite_use+set} != xset; then
58482     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58483   $as_echo_n "(cached) " >&6
58484 else
58485
58486
58487       ac_ext=cpp
58488 ac_cpp='$CXXCPP $CPPFLAGS'
58489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58492
58493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58494 /* end confdefs.h.  */
58495 #include <math.h>
58496                       #ifdef HAVE_IEEEFP_H
58497                       #include <ieeefp.h>
58498                       #endif
58499
58500 int
58501 main ()
58502 {
58503  _finite(0);
58504   ;
58505   return 0;
58506 }
58507 _ACEOF
58508 if ac_fn_cxx_try_compile "$LINENO"; then :
58509   glibcxx_cv_func__finite_use=yes
58510 else
58511   glibcxx_cv_func__finite_use=no
58512 fi
58513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58514       ac_ext=c
58515 ac_cpp='$CPP $CPPFLAGS'
58516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58519
58520
58521 fi
58522
58523   fi
58524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58525 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58526
58527     if test x$glibcxx_cv_func__finite_use = x"yes"; then
58528       for ac_func in _finite
58529 do :
58530   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58531 if test "x$ac_cv_func__finite" = x""yes; then :
58532   cat >>confdefs.h <<_ACEOF
58533 #define HAVE__FINITE 1
58534 _ACEOF
58535
58536 fi
58537 done
58538
58539     fi
58540   fi
58541
58542
58543
58544
58545
58546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58547 $as_echo_n "checking for sincos declaration... " >&6; }
58548   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58549     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58550   $as_echo_n "(cached) " >&6
58551 else
58552
58553
58554       ac_ext=cpp
58555 ac_cpp='$CXXCPP $CPPFLAGS'
58556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58559
58560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58561 /* end confdefs.h.  */
58562 #include <math.h>
58563 int
58564 main ()
58565 {
58566  sincos(0, 0, 0);
58567   ;
58568   return 0;
58569 }
58570 _ACEOF
58571 if ac_fn_cxx_try_compile "$LINENO"; then :
58572   glibcxx_cv_func_sincos_use=yes
58573 else
58574   glibcxx_cv_func_sincos_use=no
58575 fi
58576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58577       ac_ext=c
58578 ac_cpp='$CPP $CPPFLAGS'
58579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58582
58583
58584 fi
58585
58586   fi
58587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58588 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58589
58590   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58591     for ac_func in sincos
58592 do :
58593   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58594 if test "x$ac_cv_func_sincos" = x""yes; then :
58595   cat >>confdefs.h <<_ACEOF
58596 #define HAVE_SINCOS 1
58597 _ACEOF
58598
58599 fi
58600 done
58601
58602   else
58603
58604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58605 $as_echo_n "checking for _sincos declaration... " >&6; }
58606   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58607     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58608   $as_echo_n "(cached) " >&6
58609 else
58610
58611
58612       ac_ext=cpp
58613 ac_cpp='$CXXCPP $CPPFLAGS'
58614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58617
58618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58619 /* end confdefs.h.  */
58620 #include <math.h>
58621 int
58622 main ()
58623 {
58624  _sincos(0, 0, 0);
58625   ;
58626   return 0;
58627 }
58628 _ACEOF
58629 if ac_fn_cxx_try_compile "$LINENO"; then :
58630   glibcxx_cv_func__sincos_use=yes
58631 else
58632   glibcxx_cv_func__sincos_use=no
58633 fi
58634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58635       ac_ext=c
58636 ac_cpp='$CPP $CPPFLAGS'
58637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58640
58641
58642 fi
58643
58644   fi
58645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58646 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58647
58648     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58649       for ac_func in _sincos
58650 do :
58651   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58652 if test "x$ac_cv_func__sincos" = x""yes; then :
58653   cat >>confdefs.h <<_ACEOF
58654 #define HAVE__SINCOS 1
58655 _ACEOF
58656
58657 fi
58658 done
58659
58660     fi
58661   fi
58662
58663
58664
58665
58666
58667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58668 $as_echo_n "checking for fpclass declaration... " >&6; }
58669   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58670     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58671   $as_echo_n "(cached) " >&6
58672 else
58673
58674
58675       ac_ext=cpp
58676 ac_cpp='$CXXCPP $CPPFLAGS'
58677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58680
58681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58682 /* end confdefs.h.  */
58683 #include <math.h>
58684                       #ifdef HAVE_IEEEFP_H
58685                       #include <ieeefp.h>
58686                       #endif
58687
58688 int
58689 main ()
58690 {
58691  fpclass(0);
58692   ;
58693   return 0;
58694 }
58695 _ACEOF
58696 if ac_fn_cxx_try_compile "$LINENO"; then :
58697   glibcxx_cv_func_fpclass_use=yes
58698 else
58699   glibcxx_cv_func_fpclass_use=no
58700 fi
58701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58702       ac_ext=c
58703 ac_cpp='$CPP $CPPFLAGS'
58704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58707
58708
58709 fi
58710
58711   fi
58712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58713 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58714
58715   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58716     for ac_func in fpclass
58717 do :
58718   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58719 if test "x$ac_cv_func_fpclass" = x""yes; then :
58720   cat >>confdefs.h <<_ACEOF
58721 #define HAVE_FPCLASS 1
58722 _ACEOF
58723
58724 fi
58725 done
58726
58727   else
58728
58729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58730 $as_echo_n "checking for _fpclass declaration... " >&6; }
58731   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58732     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58733   $as_echo_n "(cached) " >&6
58734 else
58735
58736
58737       ac_ext=cpp
58738 ac_cpp='$CXXCPP $CPPFLAGS'
58739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58742
58743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58744 /* end confdefs.h.  */
58745 #include <math.h>
58746                       #ifdef HAVE_IEEEFP_H
58747                       #include <ieeefp.h>
58748                       #endif
58749
58750 int
58751 main ()
58752 {
58753  _fpclass(0);
58754   ;
58755   return 0;
58756 }
58757 _ACEOF
58758 if ac_fn_cxx_try_compile "$LINENO"; then :
58759   glibcxx_cv_func__fpclass_use=yes
58760 else
58761   glibcxx_cv_func__fpclass_use=no
58762 fi
58763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58764       ac_ext=c
58765 ac_cpp='$CPP $CPPFLAGS'
58766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58769
58770
58771 fi
58772
58773   fi
58774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58775 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58776
58777     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58778       for ac_func in _fpclass
58779 do :
58780   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58781 if test "x$ac_cv_func__fpclass" = x""yes; then :
58782   cat >>confdefs.h <<_ACEOF
58783 #define HAVE__FPCLASS 1
58784 _ACEOF
58785
58786 fi
58787 done
58788
58789     fi
58790   fi
58791
58792
58793
58794
58795
58796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58797 $as_echo_n "checking for qfpclass declaration... " >&6; }
58798   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58799     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58800   $as_echo_n "(cached) " >&6
58801 else
58802
58803
58804       ac_ext=cpp
58805 ac_cpp='$CXXCPP $CPPFLAGS'
58806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58809
58810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58811 /* end confdefs.h.  */
58812 #include <math.h>
58813                       #ifdef HAVE_IEEEFP_H
58814                       #include <ieeefp.h>
58815                       #endif
58816
58817 int
58818 main ()
58819 {
58820  qfpclass(0);
58821   ;
58822   return 0;
58823 }
58824 _ACEOF
58825 if ac_fn_cxx_try_compile "$LINENO"; then :
58826   glibcxx_cv_func_qfpclass_use=yes
58827 else
58828   glibcxx_cv_func_qfpclass_use=no
58829 fi
58830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58831       ac_ext=c
58832 ac_cpp='$CPP $CPPFLAGS'
58833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58836
58837
58838 fi
58839
58840   fi
58841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58842 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58843
58844   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58845     for ac_func in qfpclass
58846 do :
58847   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58848 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58849   cat >>confdefs.h <<_ACEOF
58850 #define HAVE_QFPCLASS 1
58851 _ACEOF
58852
58853 fi
58854 done
58855
58856   else
58857
58858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58859 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58860   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58861     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58862   $as_echo_n "(cached) " >&6
58863 else
58864
58865
58866       ac_ext=cpp
58867 ac_cpp='$CXXCPP $CPPFLAGS'
58868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58871
58872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58873 /* end confdefs.h.  */
58874 #include <math.h>
58875                       #ifdef HAVE_IEEEFP_H
58876                       #include <ieeefp.h>
58877                       #endif
58878
58879 int
58880 main ()
58881 {
58882  _qfpclass(0);
58883   ;
58884   return 0;
58885 }
58886 _ACEOF
58887 if ac_fn_cxx_try_compile "$LINENO"; then :
58888   glibcxx_cv_func__qfpclass_use=yes
58889 else
58890   glibcxx_cv_func__qfpclass_use=no
58891 fi
58892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58893       ac_ext=c
58894 ac_cpp='$CPP $CPPFLAGS'
58895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58898
58899
58900 fi
58901
58902   fi
58903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58904 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58905
58906     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58907       for ac_func in _qfpclass
58908 do :
58909   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58910 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58911   cat >>confdefs.h <<_ACEOF
58912 #define HAVE__QFPCLASS 1
58913 _ACEOF
58914
58915 fi
58916 done
58917
58918     fi
58919   fi
58920
58921
58922
58923
58924
58925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58926 $as_echo_n "checking for hypot declaration... " >&6; }
58927   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58928     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58929   $as_echo_n "(cached) " >&6
58930 else
58931
58932
58933       ac_ext=cpp
58934 ac_cpp='$CXXCPP $CPPFLAGS'
58935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58938
58939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58940 /* end confdefs.h.  */
58941 #include <math.h>
58942 int
58943 main ()
58944 {
58945  hypot(0, 0);
58946   ;
58947   return 0;
58948 }
58949 _ACEOF
58950 if ac_fn_cxx_try_compile "$LINENO"; then :
58951   glibcxx_cv_func_hypot_use=yes
58952 else
58953   glibcxx_cv_func_hypot_use=no
58954 fi
58955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58956       ac_ext=c
58957 ac_cpp='$CPP $CPPFLAGS'
58958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58961
58962
58963 fi
58964
58965   fi
58966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58967 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58968
58969   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58970     for ac_func in hypot
58971 do :
58972   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58973 if test "x$ac_cv_func_hypot" = x""yes; then :
58974   cat >>confdefs.h <<_ACEOF
58975 #define HAVE_HYPOT 1
58976 _ACEOF
58977
58978 fi
58979 done
58980
58981   else
58982
58983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58984 $as_echo_n "checking for _hypot declaration... " >&6; }
58985   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58986     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58987   $as_echo_n "(cached) " >&6
58988 else
58989
58990
58991       ac_ext=cpp
58992 ac_cpp='$CXXCPP $CPPFLAGS'
58993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58996
58997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58998 /* end confdefs.h.  */
58999 #include <math.h>
59000 int
59001 main ()
59002 {
59003  _hypot(0, 0);
59004   ;
59005   return 0;
59006 }
59007 _ACEOF
59008 if ac_fn_cxx_try_compile "$LINENO"; then :
59009   glibcxx_cv_func__hypot_use=yes
59010 else
59011   glibcxx_cv_func__hypot_use=no
59012 fi
59013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59014       ac_ext=c
59015 ac_cpp='$CPP $CPPFLAGS'
59016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59019
59020
59021 fi
59022
59023   fi
59024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59025 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59026
59027     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59028       for ac_func in _hypot
59029 do :
59030   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59031 if test "x$ac_cv_func__hypot" = x""yes; then :
59032   cat >>confdefs.h <<_ACEOF
59033 #define HAVE__HYPOT 1
59034 _ACEOF
59035
59036 fi
59037 done
59038
59039     fi
59040   fi
59041
59042
59043
59044
59045
59046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59047 $as_echo_n "checking for float trig functions... " >&6; }
59048   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59049   $as_echo_n "(cached) " >&6
59050 else
59051
59052
59053     ac_ext=cpp
59054 ac_cpp='$CXXCPP $CPPFLAGS'
59055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058
59059     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h.  */
59061 #include <math.h>
59062 int
59063 main ()
59064 {
59065 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59066   ;
59067   return 0;
59068 }
59069 _ACEOF
59070 if ac_fn_cxx_try_compile "$LINENO"; then :
59071   glibcxx_cv_func_float_trig_use=yes
59072 else
59073   glibcxx_cv_func_float_trig_use=no
59074 fi
59075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59076     ac_ext=c
59077 ac_cpp='$CPP $CPPFLAGS'
59078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59081
59082 fi
59083
59084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59085 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59086   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59087     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59088 do :
59089   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59091 eval as_val=\$$as_ac_var
59092    if test "x$as_val" = x""yes; then :
59093   cat >>confdefs.h <<_ACEOF
59094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59095 _ACEOF
59096
59097 fi
59098 done
59099
59100   else
59101     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59102 $as_echo_n "checking for _float trig functions... " >&6; }
59103     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59104   $as_echo_n "(cached) " >&6
59105 else
59106
59107
59108       ac_ext=cpp
59109 ac_cpp='$CXXCPP $CPPFLAGS'
59110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59113
59114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59115 /* end confdefs.h.  */
59116 #include <math.h>
59117 int
59118 main ()
59119 {
59120 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59121   ;
59122   return 0;
59123 }
59124 _ACEOF
59125 if ac_fn_cxx_try_compile "$LINENO"; then :
59126   glibcxx_cv_func__float_trig_use=yes
59127 else
59128   glibcxx_cv_func__float_trig_use=no
59129 fi
59130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59131       ac_ext=c
59132 ac_cpp='$CPP $CPPFLAGS'
59133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59136
59137 fi
59138
59139     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59140 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59141     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59142       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59143 do :
59144   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59146 eval as_val=\$$as_ac_var
59147    if test "x$as_val" = x""yes; then :
59148   cat >>confdefs.h <<_ACEOF
59149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59150 _ACEOF
59151
59152 fi
59153 done
59154
59155     fi
59156   fi
59157
59158
59159
59160
59161
59162     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59163 $as_echo_n "checking for float round functions... " >&6; }
59164   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59165   $as_echo_n "(cached) " >&6
59166 else
59167
59168
59169     ac_ext=cpp
59170 ac_cpp='$CXXCPP $CPPFLAGS'
59171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59174
59175     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59176 /* end confdefs.h.  */
59177 #include <math.h>
59178 int
59179 main ()
59180 {
59181 ceilf (0); floorf (0);
59182   ;
59183   return 0;
59184 }
59185 _ACEOF
59186 if ac_fn_cxx_try_compile "$LINENO"; then :
59187   glibcxx_cv_func_float_round_use=yes
59188 else
59189   glibcxx_cv_func_float_round_use=no
59190 fi
59191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59192     ac_ext=c
59193 ac_cpp='$CPP $CPPFLAGS'
59194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59197
59198 fi
59199
59200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59201 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59202   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59203     for ac_func in ceilf floorf
59204 do :
59205   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59207 eval as_val=\$$as_ac_var
59208    if test "x$as_val" = x""yes; then :
59209   cat >>confdefs.h <<_ACEOF
59210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59211 _ACEOF
59212
59213 fi
59214 done
59215
59216   else
59217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59218 $as_echo_n "checking for _float round functions... " >&6; }
59219     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59220   $as_echo_n "(cached) " >&6
59221 else
59222
59223
59224       ac_ext=cpp
59225 ac_cpp='$CXXCPP $CPPFLAGS'
59226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59229
59230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59231 /* end confdefs.h.  */
59232 #include <math.h>
59233 int
59234 main ()
59235 {
59236 _ceilf (0); _floorf (0);
59237   ;
59238   return 0;
59239 }
59240 _ACEOF
59241 if ac_fn_cxx_try_compile "$LINENO"; then :
59242   glibcxx_cv_func__float_round_use=yes
59243 else
59244   glibcxx_cv_func__float_round_use=no
59245 fi
59246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59247       ac_ext=c
59248 ac_cpp='$CPP $CPPFLAGS'
59249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59252
59253 fi
59254
59255     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59256 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59257     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59258       for ac_func in _ceilf _floorf
59259 do :
59260   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59262 eval as_val=\$$as_ac_var
59263    if test "x$as_val" = x""yes; then :
59264   cat >>confdefs.h <<_ACEOF
59265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59266 _ACEOF
59267
59268 fi
59269 done
59270
59271     fi
59272   fi
59273
59274
59275
59276
59277
59278
59279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59280 $as_echo_n "checking for expf declaration... " >&6; }
59281   if test x${glibcxx_cv_func_expf_use+set} != xset; then
59282     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59283   $as_echo_n "(cached) " >&6
59284 else
59285
59286
59287       ac_ext=cpp
59288 ac_cpp='$CXXCPP $CPPFLAGS'
59289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59292
59293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59294 /* end confdefs.h.  */
59295 #include <math.h>
59296                       #ifdef HAVE_IEEEFP_H
59297                       #include <ieeefp.h>
59298                       #endif
59299
59300 int
59301 main ()
59302 {
59303  expf(0);
59304   ;
59305   return 0;
59306 }
59307 _ACEOF
59308 if ac_fn_cxx_try_compile "$LINENO"; then :
59309   glibcxx_cv_func_expf_use=yes
59310 else
59311   glibcxx_cv_func_expf_use=no
59312 fi
59313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59314       ac_ext=c
59315 ac_cpp='$CPP $CPPFLAGS'
59316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59319
59320
59321 fi
59322
59323   fi
59324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59325 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59326
59327   if test x$glibcxx_cv_func_expf_use = x"yes"; then
59328     for ac_func in expf
59329 do :
59330   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59331 if test "x$ac_cv_func_expf" = x""yes; then :
59332   cat >>confdefs.h <<_ACEOF
59333 #define HAVE_EXPF 1
59334 _ACEOF
59335
59336 fi
59337 done
59338
59339   else
59340
59341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59342 $as_echo_n "checking for _expf declaration... " >&6; }
59343   if test x${glibcxx_cv_func__expf_use+set} != xset; then
59344     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59345   $as_echo_n "(cached) " >&6
59346 else
59347
59348
59349       ac_ext=cpp
59350 ac_cpp='$CXXCPP $CPPFLAGS'
59351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59354
59355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59356 /* end confdefs.h.  */
59357 #include <math.h>
59358                       #ifdef HAVE_IEEEFP_H
59359                       #include <ieeefp.h>
59360                       #endif
59361
59362 int
59363 main ()
59364 {
59365  _expf(0);
59366   ;
59367   return 0;
59368 }
59369 _ACEOF
59370 if ac_fn_cxx_try_compile "$LINENO"; then :
59371   glibcxx_cv_func__expf_use=yes
59372 else
59373   glibcxx_cv_func__expf_use=no
59374 fi
59375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59376       ac_ext=c
59377 ac_cpp='$CPP $CPPFLAGS'
59378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59381
59382
59383 fi
59384
59385   fi
59386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59387 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59388
59389     if test x$glibcxx_cv_func__expf_use = x"yes"; then
59390       for ac_func in _expf
59391 do :
59392   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59393 if test "x$ac_cv_func__expf" = x""yes; then :
59394   cat >>confdefs.h <<_ACEOF
59395 #define HAVE__EXPF 1
59396 _ACEOF
59397
59398 fi
59399 done
59400
59401     fi
59402   fi
59403
59404
59405
59406
59407
59408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59409 $as_echo_n "checking for isnanf declaration... " >&6; }
59410   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59411     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59412   $as_echo_n "(cached) " >&6
59413 else
59414
59415
59416       ac_ext=cpp
59417 ac_cpp='$CXXCPP $CPPFLAGS'
59418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59421
59422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59423 /* end confdefs.h.  */
59424 #include <math.h>
59425                       #ifdef HAVE_IEEEFP_H
59426                       #include <ieeefp.h>
59427                       #endif
59428
59429 int
59430 main ()
59431 {
59432  isnanf(0);
59433   ;
59434   return 0;
59435 }
59436 _ACEOF
59437 if ac_fn_cxx_try_compile "$LINENO"; then :
59438   glibcxx_cv_func_isnanf_use=yes
59439 else
59440   glibcxx_cv_func_isnanf_use=no
59441 fi
59442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59443       ac_ext=c
59444 ac_cpp='$CPP $CPPFLAGS'
59445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59448
59449
59450 fi
59451
59452   fi
59453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59454 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59455
59456   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59457     for ac_func in isnanf
59458 do :
59459   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59460 if test "x$ac_cv_func_isnanf" = x""yes; then :
59461   cat >>confdefs.h <<_ACEOF
59462 #define HAVE_ISNANF 1
59463 _ACEOF
59464
59465 fi
59466 done
59467
59468   else
59469
59470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59471 $as_echo_n "checking for _isnanf declaration... " >&6; }
59472   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59473     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59474   $as_echo_n "(cached) " >&6
59475 else
59476
59477
59478       ac_ext=cpp
59479 ac_cpp='$CXXCPP $CPPFLAGS'
59480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59483
59484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59485 /* end confdefs.h.  */
59486 #include <math.h>
59487                       #ifdef HAVE_IEEEFP_H
59488                       #include <ieeefp.h>
59489                       #endif
59490
59491 int
59492 main ()
59493 {
59494  _isnanf(0);
59495   ;
59496   return 0;
59497 }
59498 _ACEOF
59499 if ac_fn_cxx_try_compile "$LINENO"; then :
59500   glibcxx_cv_func__isnanf_use=yes
59501 else
59502   glibcxx_cv_func__isnanf_use=no
59503 fi
59504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59505       ac_ext=c
59506 ac_cpp='$CPP $CPPFLAGS'
59507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59510
59511
59512 fi
59513
59514   fi
59515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59516 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59517
59518     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59519       for ac_func in _isnanf
59520 do :
59521   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59522 if test "x$ac_cv_func__isnanf" = x""yes; then :
59523   cat >>confdefs.h <<_ACEOF
59524 #define HAVE__ISNANF 1
59525 _ACEOF
59526
59527 fi
59528 done
59529
59530     fi
59531   fi
59532
59533
59534
59535
59536
59537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59538 $as_echo_n "checking for isinff declaration... " >&6; }
59539   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59540     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59541   $as_echo_n "(cached) " >&6
59542 else
59543
59544
59545       ac_ext=cpp
59546 ac_cpp='$CXXCPP $CPPFLAGS'
59547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59550
59551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59552 /* end confdefs.h.  */
59553 #include <math.h>
59554                       #ifdef HAVE_IEEEFP_H
59555                       #include <ieeefp.h>
59556                       #endif
59557
59558 int
59559 main ()
59560 {
59561  isinff(0);
59562   ;
59563   return 0;
59564 }
59565 _ACEOF
59566 if ac_fn_cxx_try_compile "$LINENO"; then :
59567   glibcxx_cv_func_isinff_use=yes
59568 else
59569   glibcxx_cv_func_isinff_use=no
59570 fi
59571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59572       ac_ext=c
59573 ac_cpp='$CPP $CPPFLAGS'
59574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59577
59578
59579 fi
59580
59581   fi
59582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59583 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59584
59585   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59586     for ac_func in isinff
59587 do :
59588   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59589 if test "x$ac_cv_func_isinff" = x""yes; then :
59590   cat >>confdefs.h <<_ACEOF
59591 #define HAVE_ISINFF 1
59592 _ACEOF
59593
59594 fi
59595 done
59596
59597   else
59598
59599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59600 $as_echo_n "checking for _isinff declaration... " >&6; }
59601   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59602     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59603   $as_echo_n "(cached) " >&6
59604 else
59605
59606
59607       ac_ext=cpp
59608 ac_cpp='$CXXCPP $CPPFLAGS'
59609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59612
59613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59614 /* end confdefs.h.  */
59615 #include <math.h>
59616                       #ifdef HAVE_IEEEFP_H
59617                       #include <ieeefp.h>
59618                       #endif
59619
59620 int
59621 main ()
59622 {
59623  _isinff(0);
59624   ;
59625   return 0;
59626 }
59627 _ACEOF
59628 if ac_fn_cxx_try_compile "$LINENO"; then :
59629   glibcxx_cv_func__isinff_use=yes
59630 else
59631   glibcxx_cv_func__isinff_use=no
59632 fi
59633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59634       ac_ext=c
59635 ac_cpp='$CPP $CPPFLAGS'
59636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59639
59640
59641 fi
59642
59643   fi
59644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59645 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59646
59647     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59648       for ac_func in _isinff
59649 do :
59650   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59651 if test "x$ac_cv_func__isinff" = x""yes; then :
59652   cat >>confdefs.h <<_ACEOF
59653 #define HAVE__ISINFF 1
59654 _ACEOF
59655
59656 fi
59657 done
59658
59659     fi
59660   fi
59661
59662
59663
59664
59665
59666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59667 $as_echo_n "checking for atan2f declaration... " >&6; }
59668   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59669     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59670   $as_echo_n "(cached) " >&6
59671 else
59672
59673
59674       ac_ext=cpp
59675 ac_cpp='$CXXCPP $CPPFLAGS'
59676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59679
59680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59681 /* end confdefs.h.  */
59682 #include <math.h>
59683 int
59684 main ()
59685 {
59686  atan2f(0, 0);
59687   ;
59688   return 0;
59689 }
59690 _ACEOF
59691 if ac_fn_cxx_try_compile "$LINENO"; then :
59692   glibcxx_cv_func_atan2f_use=yes
59693 else
59694   glibcxx_cv_func_atan2f_use=no
59695 fi
59696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59697       ac_ext=c
59698 ac_cpp='$CPP $CPPFLAGS'
59699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59702
59703
59704 fi
59705
59706   fi
59707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59708 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59709
59710   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59711     for ac_func in atan2f
59712 do :
59713   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59714 if test "x$ac_cv_func_atan2f" = x""yes; then :
59715   cat >>confdefs.h <<_ACEOF
59716 #define HAVE_ATAN2F 1
59717 _ACEOF
59718
59719 fi
59720 done
59721
59722   else
59723
59724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59725 $as_echo_n "checking for _atan2f declaration... " >&6; }
59726   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59727     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59728   $as_echo_n "(cached) " >&6
59729 else
59730
59731
59732       ac_ext=cpp
59733 ac_cpp='$CXXCPP $CPPFLAGS'
59734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59737
59738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59739 /* end confdefs.h.  */
59740 #include <math.h>
59741 int
59742 main ()
59743 {
59744  _atan2f(0, 0);
59745   ;
59746   return 0;
59747 }
59748 _ACEOF
59749 if ac_fn_cxx_try_compile "$LINENO"; then :
59750   glibcxx_cv_func__atan2f_use=yes
59751 else
59752   glibcxx_cv_func__atan2f_use=no
59753 fi
59754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59755       ac_ext=c
59756 ac_cpp='$CPP $CPPFLAGS'
59757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59760
59761
59762 fi
59763
59764   fi
59765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59766 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59767
59768     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59769       for ac_func in _atan2f
59770 do :
59771   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59772 if test "x$ac_cv_func__atan2f" = x""yes; then :
59773   cat >>confdefs.h <<_ACEOF
59774 #define HAVE__ATAN2F 1
59775 _ACEOF
59776
59777 fi
59778 done
59779
59780     fi
59781   fi
59782
59783
59784
59785
59786
59787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59788 $as_echo_n "checking for fabsf declaration... " >&6; }
59789   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59790     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59791   $as_echo_n "(cached) " >&6
59792 else
59793
59794
59795       ac_ext=cpp
59796 ac_cpp='$CXXCPP $CPPFLAGS'
59797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59800
59801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59802 /* end confdefs.h.  */
59803 #include <math.h>
59804                       #ifdef HAVE_IEEEFP_H
59805                       #include <ieeefp.h>
59806                       #endif
59807
59808 int
59809 main ()
59810 {
59811  fabsf(0);
59812   ;
59813   return 0;
59814 }
59815 _ACEOF
59816 if ac_fn_cxx_try_compile "$LINENO"; then :
59817   glibcxx_cv_func_fabsf_use=yes
59818 else
59819   glibcxx_cv_func_fabsf_use=no
59820 fi
59821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59822       ac_ext=c
59823 ac_cpp='$CPP $CPPFLAGS'
59824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59827
59828
59829 fi
59830
59831   fi
59832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59833 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59834
59835   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59836     for ac_func in fabsf
59837 do :
59838   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59839 if test "x$ac_cv_func_fabsf" = x""yes; then :
59840   cat >>confdefs.h <<_ACEOF
59841 #define HAVE_FABSF 1
59842 _ACEOF
59843
59844 fi
59845 done
59846
59847   else
59848
59849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59850 $as_echo_n "checking for _fabsf declaration... " >&6; }
59851   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59852     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59853   $as_echo_n "(cached) " >&6
59854 else
59855
59856
59857       ac_ext=cpp
59858 ac_cpp='$CXXCPP $CPPFLAGS'
59859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59862
59863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59864 /* end confdefs.h.  */
59865 #include <math.h>
59866                       #ifdef HAVE_IEEEFP_H
59867                       #include <ieeefp.h>
59868                       #endif
59869
59870 int
59871 main ()
59872 {
59873  _fabsf(0);
59874   ;
59875   return 0;
59876 }
59877 _ACEOF
59878 if ac_fn_cxx_try_compile "$LINENO"; then :
59879   glibcxx_cv_func__fabsf_use=yes
59880 else
59881   glibcxx_cv_func__fabsf_use=no
59882 fi
59883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59884       ac_ext=c
59885 ac_cpp='$CPP $CPPFLAGS'
59886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59889
59890
59891 fi
59892
59893   fi
59894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59895 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59896
59897     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59898       for ac_func in _fabsf
59899 do :
59900   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59901 if test "x$ac_cv_func__fabsf" = x""yes; then :
59902   cat >>confdefs.h <<_ACEOF
59903 #define HAVE__FABSF 1
59904 _ACEOF
59905
59906 fi
59907 done
59908
59909     fi
59910   fi
59911
59912
59913
59914
59915
59916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59917 $as_echo_n "checking for fmodf declaration... " >&6; }
59918   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59919     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59920   $as_echo_n "(cached) " >&6
59921 else
59922
59923
59924       ac_ext=cpp
59925 ac_cpp='$CXXCPP $CPPFLAGS'
59926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59929
59930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59931 /* end confdefs.h.  */
59932 #include <math.h>
59933 int
59934 main ()
59935 {
59936  fmodf(0, 0);
59937   ;
59938   return 0;
59939 }
59940 _ACEOF
59941 if ac_fn_cxx_try_compile "$LINENO"; then :
59942   glibcxx_cv_func_fmodf_use=yes
59943 else
59944   glibcxx_cv_func_fmodf_use=no
59945 fi
59946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59947       ac_ext=c
59948 ac_cpp='$CPP $CPPFLAGS'
59949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59952
59953
59954 fi
59955
59956   fi
59957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59958 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59959
59960   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59961     for ac_func in fmodf
59962 do :
59963   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59964 if test "x$ac_cv_func_fmodf" = x""yes; then :
59965   cat >>confdefs.h <<_ACEOF
59966 #define HAVE_FMODF 1
59967 _ACEOF
59968
59969 fi
59970 done
59971
59972   else
59973
59974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59975 $as_echo_n "checking for _fmodf declaration... " >&6; }
59976   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59977     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59978   $as_echo_n "(cached) " >&6
59979 else
59980
59981
59982       ac_ext=cpp
59983 ac_cpp='$CXXCPP $CPPFLAGS'
59984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59987
59988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59989 /* end confdefs.h.  */
59990 #include <math.h>
59991 int
59992 main ()
59993 {
59994  _fmodf(0, 0);
59995   ;
59996   return 0;
59997 }
59998 _ACEOF
59999 if ac_fn_cxx_try_compile "$LINENO"; then :
60000   glibcxx_cv_func__fmodf_use=yes
60001 else
60002   glibcxx_cv_func__fmodf_use=no
60003 fi
60004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60005       ac_ext=c
60006 ac_cpp='$CPP $CPPFLAGS'
60007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60010
60011
60012 fi
60013
60014   fi
60015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60016 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60017
60018     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60019       for ac_func in _fmodf
60020 do :
60021   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60022 if test "x$ac_cv_func__fmodf" = x""yes; then :
60023   cat >>confdefs.h <<_ACEOF
60024 #define HAVE__FMODF 1
60025 _ACEOF
60026
60027 fi
60028 done
60029
60030     fi
60031   fi
60032
60033
60034
60035
60036
60037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60038 $as_echo_n "checking for frexpf declaration... " >&6; }
60039   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60040     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60041   $as_echo_n "(cached) " >&6
60042 else
60043
60044
60045       ac_ext=cpp
60046 ac_cpp='$CXXCPP $CPPFLAGS'
60047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60050
60051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60052 /* end confdefs.h.  */
60053 #include <math.h>
60054 int
60055 main ()
60056 {
60057  frexpf(0, 0);
60058   ;
60059   return 0;
60060 }
60061 _ACEOF
60062 if ac_fn_cxx_try_compile "$LINENO"; then :
60063   glibcxx_cv_func_frexpf_use=yes
60064 else
60065   glibcxx_cv_func_frexpf_use=no
60066 fi
60067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60068       ac_ext=c
60069 ac_cpp='$CPP $CPPFLAGS'
60070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60073
60074
60075 fi
60076
60077   fi
60078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60079 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60080
60081   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60082     for ac_func in frexpf
60083 do :
60084   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60085 if test "x$ac_cv_func_frexpf" = x""yes; then :
60086   cat >>confdefs.h <<_ACEOF
60087 #define HAVE_FREXPF 1
60088 _ACEOF
60089
60090 fi
60091 done
60092
60093   else
60094
60095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60096 $as_echo_n "checking for _frexpf declaration... " >&6; }
60097   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60098     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60099   $as_echo_n "(cached) " >&6
60100 else
60101
60102
60103       ac_ext=cpp
60104 ac_cpp='$CXXCPP $CPPFLAGS'
60105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60108
60109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60110 /* end confdefs.h.  */
60111 #include <math.h>
60112 int
60113 main ()
60114 {
60115  _frexpf(0, 0);
60116   ;
60117   return 0;
60118 }
60119 _ACEOF
60120 if ac_fn_cxx_try_compile "$LINENO"; then :
60121   glibcxx_cv_func__frexpf_use=yes
60122 else
60123   glibcxx_cv_func__frexpf_use=no
60124 fi
60125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60126       ac_ext=c
60127 ac_cpp='$CPP $CPPFLAGS'
60128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60131
60132
60133 fi
60134
60135   fi
60136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60137 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60138
60139     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60140       for ac_func in _frexpf
60141 do :
60142   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60143 if test "x$ac_cv_func__frexpf" = x""yes; then :
60144   cat >>confdefs.h <<_ACEOF
60145 #define HAVE__FREXPF 1
60146 _ACEOF
60147
60148 fi
60149 done
60150
60151     fi
60152   fi
60153
60154
60155
60156
60157
60158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60159 $as_echo_n "checking for hypotf declaration... " >&6; }
60160   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60161     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60162   $as_echo_n "(cached) " >&6
60163 else
60164
60165
60166       ac_ext=cpp
60167 ac_cpp='$CXXCPP $CPPFLAGS'
60168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60171
60172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60173 /* end confdefs.h.  */
60174 #include <math.h>
60175 int
60176 main ()
60177 {
60178  hypotf(0, 0);
60179   ;
60180   return 0;
60181 }
60182 _ACEOF
60183 if ac_fn_cxx_try_compile "$LINENO"; then :
60184   glibcxx_cv_func_hypotf_use=yes
60185 else
60186   glibcxx_cv_func_hypotf_use=no
60187 fi
60188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60189       ac_ext=c
60190 ac_cpp='$CPP $CPPFLAGS'
60191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60194
60195
60196 fi
60197
60198   fi
60199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60200 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60201
60202   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60203     for ac_func in hypotf
60204 do :
60205   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60206 if test "x$ac_cv_func_hypotf" = x""yes; then :
60207   cat >>confdefs.h <<_ACEOF
60208 #define HAVE_HYPOTF 1
60209 _ACEOF
60210
60211 fi
60212 done
60213
60214   else
60215
60216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60217 $as_echo_n "checking for _hypotf declaration... " >&6; }
60218   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60219     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60220   $as_echo_n "(cached) " >&6
60221 else
60222
60223
60224       ac_ext=cpp
60225 ac_cpp='$CXXCPP $CPPFLAGS'
60226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60229
60230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60231 /* end confdefs.h.  */
60232 #include <math.h>
60233 int
60234 main ()
60235 {
60236  _hypotf(0, 0);
60237   ;
60238   return 0;
60239 }
60240 _ACEOF
60241 if ac_fn_cxx_try_compile "$LINENO"; then :
60242   glibcxx_cv_func__hypotf_use=yes
60243 else
60244   glibcxx_cv_func__hypotf_use=no
60245 fi
60246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60247       ac_ext=c
60248 ac_cpp='$CPP $CPPFLAGS'
60249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60252
60253
60254 fi
60255
60256   fi
60257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60258 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60259
60260     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60261       for ac_func in _hypotf
60262 do :
60263   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60264 if test "x$ac_cv_func__hypotf" = x""yes; then :
60265   cat >>confdefs.h <<_ACEOF
60266 #define HAVE__HYPOTF 1
60267 _ACEOF
60268
60269 fi
60270 done
60271
60272     fi
60273   fi
60274
60275
60276
60277
60278
60279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60280 $as_echo_n "checking for ldexpf declaration... " >&6; }
60281   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60282     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60283   $as_echo_n "(cached) " >&6
60284 else
60285
60286
60287       ac_ext=cpp
60288 ac_cpp='$CXXCPP $CPPFLAGS'
60289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60292
60293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60294 /* end confdefs.h.  */
60295 #include <math.h>
60296 int
60297 main ()
60298 {
60299  ldexpf(0, 0);
60300   ;
60301   return 0;
60302 }
60303 _ACEOF
60304 if ac_fn_cxx_try_compile "$LINENO"; then :
60305   glibcxx_cv_func_ldexpf_use=yes
60306 else
60307   glibcxx_cv_func_ldexpf_use=no
60308 fi
60309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60310       ac_ext=c
60311 ac_cpp='$CPP $CPPFLAGS'
60312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60315
60316
60317 fi
60318
60319   fi
60320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60321 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60322
60323   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60324     for ac_func in ldexpf
60325 do :
60326   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60327 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60328   cat >>confdefs.h <<_ACEOF
60329 #define HAVE_LDEXPF 1
60330 _ACEOF
60331
60332 fi
60333 done
60334
60335   else
60336
60337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60338 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60339   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60340     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60341   $as_echo_n "(cached) " >&6
60342 else
60343
60344
60345       ac_ext=cpp
60346 ac_cpp='$CXXCPP $CPPFLAGS'
60347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60350
60351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60352 /* end confdefs.h.  */
60353 #include <math.h>
60354 int
60355 main ()
60356 {
60357  _ldexpf(0, 0);
60358   ;
60359   return 0;
60360 }
60361 _ACEOF
60362 if ac_fn_cxx_try_compile "$LINENO"; then :
60363   glibcxx_cv_func__ldexpf_use=yes
60364 else
60365   glibcxx_cv_func__ldexpf_use=no
60366 fi
60367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60368       ac_ext=c
60369 ac_cpp='$CPP $CPPFLAGS'
60370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60373
60374
60375 fi
60376
60377   fi
60378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60379 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60380
60381     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60382       for ac_func in _ldexpf
60383 do :
60384   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60385 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60386   cat >>confdefs.h <<_ACEOF
60387 #define HAVE__LDEXPF 1
60388 _ACEOF
60389
60390 fi
60391 done
60392
60393     fi
60394   fi
60395
60396
60397
60398
60399
60400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60401 $as_echo_n "checking for logf declaration... " >&6; }
60402   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60403     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60404   $as_echo_n "(cached) " >&6
60405 else
60406
60407
60408       ac_ext=cpp
60409 ac_cpp='$CXXCPP $CPPFLAGS'
60410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60413
60414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60415 /* end confdefs.h.  */
60416 #include <math.h>
60417                       #ifdef HAVE_IEEEFP_H
60418                       #include <ieeefp.h>
60419                       #endif
60420
60421 int
60422 main ()
60423 {
60424  logf(0);
60425   ;
60426   return 0;
60427 }
60428 _ACEOF
60429 if ac_fn_cxx_try_compile "$LINENO"; then :
60430   glibcxx_cv_func_logf_use=yes
60431 else
60432   glibcxx_cv_func_logf_use=no
60433 fi
60434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60435       ac_ext=c
60436 ac_cpp='$CPP $CPPFLAGS'
60437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60440
60441
60442 fi
60443
60444   fi
60445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60446 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60447
60448   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60449     for ac_func in logf
60450 do :
60451   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60452 if test "x$ac_cv_func_logf" = x""yes; then :
60453   cat >>confdefs.h <<_ACEOF
60454 #define HAVE_LOGF 1
60455 _ACEOF
60456
60457 fi
60458 done
60459
60460   else
60461
60462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60463 $as_echo_n "checking for _logf declaration... " >&6; }
60464   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60465     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60466   $as_echo_n "(cached) " >&6
60467 else
60468
60469
60470       ac_ext=cpp
60471 ac_cpp='$CXXCPP $CPPFLAGS'
60472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60475
60476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60477 /* end confdefs.h.  */
60478 #include <math.h>
60479                       #ifdef HAVE_IEEEFP_H
60480                       #include <ieeefp.h>
60481                       #endif
60482
60483 int
60484 main ()
60485 {
60486  _logf(0);
60487   ;
60488   return 0;
60489 }
60490 _ACEOF
60491 if ac_fn_cxx_try_compile "$LINENO"; then :
60492   glibcxx_cv_func__logf_use=yes
60493 else
60494   glibcxx_cv_func__logf_use=no
60495 fi
60496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60497       ac_ext=c
60498 ac_cpp='$CPP $CPPFLAGS'
60499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60502
60503
60504 fi
60505
60506   fi
60507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60508 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60509
60510     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60511       for ac_func in _logf
60512 do :
60513   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60514 if test "x$ac_cv_func__logf" = x""yes; then :
60515   cat >>confdefs.h <<_ACEOF
60516 #define HAVE__LOGF 1
60517 _ACEOF
60518
60519 fi
60520 done
60521
60522     fi
60523   fi
60524
60525
60526
60527
60528
60529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60530 $as_echo_n "checking for log10f declaration... " >&6; }
60531   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60532     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60533   $as_echo_n "(cached) " >&6
60534 else
60535
60536
60537       ac_ext=cpp
60538 ac_cpp='$CXXCPP $CPPFLAGS'
60539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60542
60543       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60544 /* end confdefs.h.  */
60545 #include <math.h>
60546                       #ifdef HAVE_IEEEFP_H
60547                       #include <ieeefp.h>
60548                       #endif
60549
60550 int
60551 main ()
60552 {
60553  log10f(0);
60554   ;
60555   return 0;
60556 }
60557 _ACEOF
60558 if ac_fn_cxx_try_compile "$LINENO"; then :
60559   glibcxx_cv_func_log10f_use=yes
60560 else
60561   glibcxx_cv_func_log10f_use=no
60562 fi
60563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60564       ac_ext=c
60565 ac_cpp='$CPP $CPPFLAGS'
60566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60569
60570
60571 fi
60572
60573   fi
60574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60575 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60576
60577   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60578     for ac_func in log10f
60579 do :
60580   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60581 if test "x$ac_cv_func_log10f" = x""yes; then :
60582   cat >>confdefs.h <<_ACEOF
60583 #define HAVE_LOG10F 1
60584 _ACEOF
60585
60586 fi
60587 done
60588
60589   else
60590
60591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60592 $as_echo_n "checking for _log10f declaration... " >&6; }
60593   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60594     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60595   $as_echo_n "(cached) " >&6
60596 else
60597
60598
60599       ac_ext=cpp
60600 ac_cpp='$CXXCPP $CPPFLAGS'
60601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60604
60605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60606 /* end confdefs.h.  */
60607 #include <math.h>
60608                       #ifdef HAVE_IEEEFP_H
60609                       #include <ieeefp.h>
60610                       #endif
60611
60612 int
60613 main ()
60614 {
60615  _log10f(0);
60616   ;
60617   return 0;
60618 }
60619 _ACEOF
60620 if ac_fn_cxx_try_compile "$LINENO"; then :
60621   glibcxx_cv_func__log10f_use=yes
60622 else
60623   glibcxx_cv_func__log10f_use=no
60624 fi
60625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60626       ac_ext=c
60627 ac_cpp='$CPP $CPPFLAGS'
60628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60631
60632
60633 fi
60634
60635   fi
60636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60637 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60638
60639     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60640       for ac_func in _log10f
60641 do :
60642   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60643 if test "x$ac_cv_func__log10f" = x""yes; then :
60644   cat >>confdefs.h <<_ACEOF
60645 #define HAVE__LOG10F 1
60646 _ACEOF
60647
60648 fi
60649 done
60650
60651     fi
60652   fi
60653
60654
60655
60656
60657
60658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60659 $as_echo_n "checking for modff declaration... " >&6; }
60660   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60661     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60662   $as_echo_n "(cached) " >&6
60663 else
60664
60665
60666       ac_ext=cpp
60667 ac_cpp='$CXXCPP $CPPFLAGS'
60668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60671
60672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60673 /* end confdefs.h.  */
60674 #include <math.h>
60675 int
60676 main ()
60677 {
60678  modff(0, 0);
60679   ;
60680   return 0;
60681 }
60682 _ACEOF
60683 if ac_fn_cxx_try_compile "$LINENO"; then :
60684   glibcxx_cv_func_modff_use=yes
60685 else
60686   glibcxx_cv_func_modff_use=no
60687 fi
60688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60689       ac_ext=c
60690 ac_cpp='$CPP $CPPFLAGS'
60691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60694
60695
60696 fi
60697
60698   fi
60699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60700 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60701
60702   if test x$glibcxx_cv_func_modff_use = x"yes"; then
60703     for ac_func in modff
60704 do :
60705   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60706 if test "x$ac_cv_func_modff" = x""yes; then :
60707   cat >>confdefs.h <<_ACEOF
60708 #define HAVE_MODFF 1
60709 _ACEOF
60710
60711 fi
60712 done
60713
60714   else
60715
60716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60717 $as_echo_n "checking for _modff declaration... " >&6; }
60718   if test x${glibcxx_cv_func__modff_use+set} != xset; then
60719     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60720   $as_echo_n "(cached) " >&6
60721 else
60722
60723
60724       ac_ext=cpp
60725 ac_cpp='$CXXCPP $CPPFLAGS'
60726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60729
60730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60731 /* end confdefs.h.  */
60732 #include <math.h>
60733 int
60734 main ()
60735 {
60736  _modff(0, 0);
60737   ;
60738   return 0;
60739 }
60740 _ACEOF
60741 if ac_fn_cxx_try_compile "$LINENO"; then :
60742   glibcxx_cv_func__modff_use=yes
60743 else
60744   glibcxx_cv_func__modff_use=no
60745 fi
60746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60747       ac_ext=c
60748 ac_cpp='$CPP $CPPFLAGS'
60749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60752
60753
60754 fi
60755
60756   fi
60757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60758 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60759
60760     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60761       for ac_func in _modff
60762 do :
60763   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60764 if test "x$ac_cv_func__modff" = x""yes; then :
60765   cat >>confdefs.h <<_ACEOF
60766 #define HAVE__MODFF 1
60767 _ACEOF
60768
60769 fi
60770 done
60771
60772     fi
60773   fi
60774
60775
60776
60777
60778
60779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60780 $as_echo_n "checking for modf declaration... " >&6; }
60781   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60782     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60783   $as_echo_n "(cached) " >&6
60784 else
60785
60786
60787       ac_ext=cpp
60788 ac_cpp='$CXXCPP $CPPFLAGS'
60789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60792
60793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60794 /* end confdefs.h.  */
60795 #include <math.h>
60796 int
60797 main ()
60798 {
60799  modf(0, 0);
60800   ;
60801   return 0;
60802 }
60803 _ACEOF
60804 if ac_fn_cxx_try_compile "$LINENO"; then :
60805   glibcxx_cv_func_modf_use=yes
60806 else
60807   glibcxx_cv_func_modf_use=no
60808 fi
60809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60810       ac_ext=c
60811 ac_cpp='$CPP $CPPFLAGS'
60812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60815
60816
60817 fi
60818
60819   fi
60820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60821 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60822
60823   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60824     for ac_func in modf
60825 do :
60826   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60827 if test "x$ac_cv_func_modf" = x""yes; then :
60828   cat >>confdefs.h <<_ACEOF
60829 #define HAVE_MODF 1
60830 _ACEOF
60831
60832 fi
60833 done
60834
60835   else
60836
60837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60838 $as_echo_n "checking for _modf declaration... " >&6; }
60839   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60840     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60841   $as_echo_n "(cached) " >&6
60842 else
60843
60844
60845       ac_ext=cpp
60846 ac_cpp='$CXXCPP $CPPFLAGS'
60847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60850
60851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60852 /* end confdefs.h.  */
60853 #include <math.h>
60854 int
60855 main ()
60856 {
60857  _modf(0, 0);
60858   ;
60859   return 0;
60860 }
60861 _ACEOF
60862 if ac_fn_cxx_try_compile "$LINENO"; then :
60863   glibcxx_cv_func__modf_use=yes
60864 else
60865   glibcxx_cv_func__modf_use=no
60866 fi
60867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60868       ac_ext=c
60869 ac_cpp='$CPP $CPPFLAGS'
60870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60873
60874
60875 fi
60876
60877   fi
60878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60879 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60880
60881     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60882       for ac_func in _modf
60883 do :
60884   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60885 if test "x$ac_cv_func__modf" = x""yes; then :
60886   cat >>confdefs.h <<_ACEOF
60887 #define HAVE__MODF 1
60888 _ACEOF
60889
60890 fi
60891 done
60892
60893     fi
60894   fi
60895
60896
60897
60898
60899
60900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60901 $as_echo_n "checking for powf declaration... " >&6; }
60902   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60903     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60904   $as_echo_n "(cached) " >&6
60905 else
60906
60907
60908       ac_ext=cpp
60909 ac_cpp='$CXXCPP $CPPFLAGS'
60910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60913
60914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60915 /* end confdefs.h.  */
60916 #include <math.h>
60917 int
60918 main ()
60919 {
60920  powf(0, 0);
60921   ;
60922   return 0;
60923 }
60924 _ACEOF
60925 if ac_fn_cxx_try_compile "$LINENO"; then :
60926   glibcxx_cv_func_powf_use=yes
60927 else
60928   glibcxx_cv_func_powf_use=no
60929 fi
60930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60931       ac_ext=c
60932 ac_cpp='$CPP $CPPFLAGS'
60933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60936
60937
60938 fi
60939
60940   fi
60941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60942 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60943
60944   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60945     for ac_func in powf
60946 do :
60947   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60948 if test "x$ac_cv_func_powf" = x""yes; then :
60949   cat >>confdefs.h <<_ACEOF
60950 #define HAVE_POWF 1
60951 _ACEOF
60952
60953 fi
60954 done
60955
60956   else
60957
60958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60959 $as_echo_n "checking for _powf declaration... " >&6; }
60960   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60961     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60962   $as_echo_n "(cached) " >&6
60963 else
60964
60965
60966       ac_ext=cpp
60967 ac_cpp='$CXXCPP $CPPFLAGS'
60968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60971
60972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60973 /* end confdefs.h.  */
60974 #include <math.h>
60975 int
60976 main ()
60977 {
60978  _powf(0, 0);
60979   ;
60980   return 0;
60981 }
60982 _ACEOF
60983 if ac_fn_cxx_try_compile "$LINENO"; then :
60984   glibcxx_cv_func__powf_use=yes
60985 else
60986   glibcxx_cv_func__powf_use=no
60987 fi
60988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60989       ac_ext=c
60990 ac_cpp='$CPP $CPPFLAGS'
60991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60994
60995
60996 fi
60997
60998   fi
60999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61000 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61001
61002     if test x$glibcxx_cv_func__powf_use = x"yes"; then
61003       for ac_func in _powf
61004 do :
61005   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61006 if test "x$ac_cv_func__powf" = x""yes; then :
61007   cat >>confdefs.h <<_ACEOF
61008 #define HAVE__POWF 1
61009 _ACEOF
61010
61011 fi
61012 done
61013
61014     fi
61015   fi
61016
61017
61018
61019
61020
61021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61022 $as_echo_n "checking for sqrtf declaration... " >&6; }
61023   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61024     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61025   $as_echo_n "(cached) " >&6
61026 else
61027
61028
61029       ac_ext=cpp
61030 ac_cpp='$CXXCPP $CPPFLAGS'
61031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61034
61035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61036 /* end confdefs.h.  */
61037 #include <math.h>
61038                       #ifdef HAVE_IEEEFP_H
61039                       #include <ieeefp.h>
61040                       #endif
61041
61042 int
61043 main ()
61044 {
61045  sqrtf(0);
61046   ;
61047   return 0;
61048 }
61049 _ACEOF
61050 if ac_fn_cxx_try_compile "$LINENO"; then :
61051   glibcxx_cv_func_sqrtf_use=yes
61052 else
61053   glibcxx_cv_func_sqrtf_use=no
61054 fi
61055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61056       ac_ext=c
61057 ac_cpp='$CPP $CPPFLAGS'
61058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61061
61062
61063 fi
61064
61065   fi
61066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61067 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61068
61069   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61070     for ac_func in sqrtf
61071 do :
61072   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61073 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61074   cat >>confdefs.h <<_ACEOF
61075 #define HAVE_SQRTF 1
61076 _ACEOF
61077
61078 fi
61079 done
61080
61081   else
61082
61083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61084 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61085   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61086     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61087   $as_echo_n "(cached) " >&6
61088 else
61089
61090
61091       ac_ext=cpp
61092 ac_cpp='$CXXCPP $CPPFLAGS'
61093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61096
61097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61098 /* end confdefs.h.  */
61099 #include <math.h>
61100                       #ifdef HAVE_IEEEFP_H
61101                       #include <ieeefp.h>
61102                       #endif
61103
61104 int
61105 main ()
61106 {
61107  _sqrtf(0);
61108   ;
61109   return 0;
61110 }
61111 _ACEOF
61112 if ac_fn_cxx_try_compile "$LINENO"; then :
61113   glibcxx_cv_func__sqrtf_use=yes
61114 else
61115   glibcxx_cv_func__sqrtf_use=no
61116 fi
61117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61118       ac_ext=c
61119 ac_cpp='$CPP $CPPFLAGS'
61120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61123
61124
61125 fi
61126
61127   fi
61128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61129 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61130
61131     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61132       for ac_func in _sqrtf
61133 do :
61134   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61135 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61136   cat >>confdefs.h <<_ACEOF
61137 #define HAVE__SQRTF 1
61138 _ACEOF
61139
61140 fi
61141 done
61142
61143     fi
61144   fi
61145
61146
61147
61148
61149
61150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61151 $as_echo_n "checking for sincosf declaration... " >&6; }
61152   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61153     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61154   $as_echo_n "(cached) " >&6
61155 else
61156
61157
61158       ac_ext=cpp
61159 ac_cpp='$CXXCPP $CPPFLAGS'
61160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61163
61164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61165 /* end confdefs.h.  */
61166 #include <math.h>
61167 int
61168 main ()
61169 {
61170  sincosf(0, 0, 0);
61171   ;
61172   return 0;
61173 }
61174 _ACEOF
61175 if ac_fn_cxx_try_compile "$LINENO"; then :
61176   glibcxx_cv_func_sincosf_use=yes
61177 else
61178   glibcxx_cv_func_sincosf_use=no
61179 fi
61180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61181       ac_ext=c
61182 ac_cpp='$CPP $CPPFLAGS'
61183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61186
61187
61188 fi
61189
61190   fi
61191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61192 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61193
61194   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61195     for ac_func in sincosf
61196 do :
61197   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61198 if test "x$ac_cv_func_sincosf" = x""yes; then :
61199   cat >>confdefs.h <<_ACEOF
61200 #define HAVE_SINCOSF 1
61201 _ACEOF
61202
61203 fi
61204 done
61205
61206   else
61207
61208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61209 $as_echo_n "checking for _sincosf declaration... " >&6; }
61210   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61211     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61212   $as_echo_n "(cached) " >&6
61213 else
61214
61215
61216       ac_ext=cpp
61217 ac_cpp='$CXXCPP $CPPFLAGS'
61218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61221
61222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61223 /* end confdefs.h.  */
61224 #include <math.h>
61225 int
61226 main ()
61227 {
61228  _sincosf(0, 0, 0);
61229   ;
61230   return 0;
61231 }
61232 _ACEOF
61233 if ac_fn_cxx_try_compile "$LINENO"; then :
61234   glibcxx_cv_func__sincosf_use=yes
61235 else
61236   glibcxx_cv_func__sincosf_use=no
61237 fi
61238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61239       ac_ext=c
61240 ac_cpp='$CPP $CPPFLAGS'
61241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61244
61245
61246 fi
61247
61248   fi
61249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61250 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61251
61252     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61253       for ac_func in _sincosf
61254 do :
61255   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61256 if test "x$ac_cv_func__sincosf" = x""yes; then :
61257   cat >>confdefs.h <<_ACEOF
61258 #define HAVE__SINCOSF 1
61259 _ACEOF
61260
61261 fi
61262 done
61263
61264     fi
61265   fi
61266
61267
61268
61269
61270
61271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61272 $as_echo_n "checking for finitef declaration... " >&6; }
61273   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61274     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61275   $as_echo_n "(cached) " >&6
61276 else
61277
61278
61279       ac_ext=cpp
61280 ac_cpp='$CXXCPP $CPPFLAGS'
61281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61284
61285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61286 /* end confdefs.h.  */
61287 #include <math.h>
61288                       #ifdef HAVE_IEEEFP_H
61289                       #include <ieeefp.h>
61290                       #endif
61291
61292 int
61293 main ()
61294 {
61295  finitef(0);
61296   ;
61297   return 0;
61298 }
61299 _ACEOF
61300 if ac_fn_cxx_try_compile "$LINENO"; then :
61301   glibcxx_cv_func_finitef_use=yes
61302 else
61303   glibcxx_cv_func_finitef_use=no
61304 fi
61305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61306       ac_ext=c
61307 ac_cpp='$CPP $CPPFLAGS'
61308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61311
61312
61313 fi
61314
61315   fi
61316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61317 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61318
61319   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61320     for ac_func in finitef
61321 do :
61322   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61323 if test "x$ac_cv_func_finitef" = x""yes; then :
61324   cat >>confdefs.h <<_ACEOF
61325 #define HAVE_FINITEF 1
61326 _ACEOF
61327
61328 fi
61329 done
61330
61331   else
61332
61333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61334 $as_echo_n "checking for _finitef declaration... " >&6; }
61335   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61336     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61337   $as_echo_n "(cached) " >&6
61338 else
61339
61340
61341       ac_ext=cpp
61342 ac_cpp='$CXXCPP $CPPFLAGS'
61343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61346
61347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61348 /* end confdefs.h.  */
61349 #include <math.h>
61350                       #ifdef HAVE_IEEEFP_H
61351                       #include <ieeefp.h>
61352                       #endif
61353
61354 int
61355 main ()
61356 {
61357  _finitef(0);
61358   ;
61359   return 0;
61360 }
61361 _ACEOF
61362 if ac_fn_cxx_try_compile "$LINENO"; then :
61363   glibcxx_cv_func__finitef_use=yes
61364 else
61365   glibcxx_cv_func__finitef_use=no
61366 fi
61367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61368       ac_ext=c
61369 ac_cpp='$CPP $CPPFLAGS'
61370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61373
61374
61375 fi
61376
61377   fi
61378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61379 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61380
61381     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61382       for ac_func in _finitef
61383 do :
61384   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61385 if test "x$ac_cv_func__finitef" = x""yes; then :
61386   cat >>confdefs.h <<_ACEOF
61387 #define HAVE__FINITEF 1
61388 _ACEOF
61389
61390 fi
61391 done
61392
61393     fi
61394   fi
61395
61396
61397
61398
61399
61400     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61401 $as_echo_n "checking for long double trig functions... " >&6; }
61402   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61403   $as_echo_n "(cached) " >&6
61404 else
61405
61406
61407     ac_ext=cpp
61408 ac_cpp='$CXXCPP $CPPFLAGS'
61409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61412
61413     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61414 /* end confdefs.h.  */
61415 #include <math.h>
61416 int
61417 main ()
61418 {
61419 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61420   ;
61421   return 0;
61422 }
61423 _ACEOF
61424 if ac_fn_cxx_try_compile "$LINENO"; then :
61425   glibcxx_cv_func_long_double_trig_use=yes
61426 else
61427   glibcxx_cv_func_long_double_trig_use=no
61428 fi
61429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61430     ac_ext=c
61431 ac_cpp='$CPP $CPPFLAGS'
61432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61435
61436 fi
61437
61438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61439 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61440   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61441     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61442 do :
61443   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61445 eval as_val=\$$as_ac_var
61446    if test "x$as_val" = x""yes; then :
61447   cat >>confdefs.h <<_ACEOF
61448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61449 _ACEOF
61450
61451 fi
61452 done
61453
61454   else
61455     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61456 $as_echo_n "checking for _long double trig functions... " >&6; }
61457     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61458   $as_echo_n "(cached) " >&6
61459 else
61460
61461
61462       ac_ext=cpp
61463 ac_cpp='$CXXCPP $CPPFLAGS'
61464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61467
61468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61469 /* end confdefs.h.  */
61470 #include <math.h>
61471 int
61472 main ()
61473 {
61474 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61475   ;
61476   return 0;
61477 }
61478 _ACEOF
61479 if ac_fn_cxx_try_compile "$LINENO"; then :
61480   glibcxx_cv_func__long_double_trig_use=yes
61481 else
61482   glibcxx_cv_func__long_double_trig_use=no
61483 fi
61484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61485       ac_ext=c
61486 ac_cpp='$CPP $CPPFLAGS'
61487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61490
61491 fi
61492
61493     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61494 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61495     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61496       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61497 do :
61498   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61500 eval as_val=\$$as_ac_var
61501    if test "x$as_val" = x""yes; then :
61502   cat >>confdefs.h <<_ACEOF
61503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61504 _ACEOF
61505
61506 fi
61507 done
61508
61509     fi
61510   fi
61511
61512
61513
61514
61515
61516     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61517 $as_echo_n "checking for long double round functions... " >&6; }
61518   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61519   $as_echo_n "(cached) " >&6
61520 else
61521
61522
61523     ac_ext=cpp
61524 ac_cpp='$CXXCPP $CPPFLAGS'
61525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61528
61529     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61530 /* end confdefs.h.  */
61531 #include <math.h>
61532 int
61533 main ()
61534 {
61535 ceill (0); floorl (0);
61536   ;
61537   return 0;
61538 }
61539 _ACEOF
61540 if ac_fn_cxx_try_compile "$LINENO"; then :
61541   glibcxx_cv_func_long_double_round_use=yes
61542 else
61543   glibcxx_cv_func_long_double_round_use=no
61544 fi
61545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61546     ac_ext=c
61547 ac_cpp='$CPP $CPPFLAGS'
61548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61551
61552 fi
61553
61554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61555 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61556   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61557     for ac_func in ceill floorl
61558 do :
61559   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61561 eval as_val=\$$as_ac_var
61562    if test "x$as_val" = x""yes; then :
61563   cat >>confdefs.h <<_ACEOF
61564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61565 _ACEOF
61566
61567 fi
61568 done
61569
61570   else
61571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61572 $as_echo_n "checking for _long double round functions... " >&6; }
61573     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61574   $as_echo_n "(cached) " >&6
61575 else
61576
61577
61578       ac_ext=cpp
61579 ac_cpp='$CXXCPP $CPPFLAGS'
61580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61583
61584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61585 /* end confdefs.h.  */
61586 #include <math.h>
61587 int
61588 main ()
61589 {
61590 _ceill (0); _floorl (0);
61591   ;
61592   return 0;
61593 }
61594 _ACEOF
61595 if ac_fn_cxx_try_compile "$LINENO"; then :
61596   glibcxx_cv_func__long_double_round_use=yes
61597 else
61598   glibcxx_cv_func__long_double_round_use=no
61599 fi
61600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61601       ac_ext=c
61602 ac_cpp='$CPP $CPPFLAGS'
61603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61606
61607 fi
61608
61609     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61610 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61611     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61612       for ac_func in _ceill _floorl
61613 do :
61614   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61616 eval as_val=\$$as_ac_var
61617    if test "x$as_val" = x""yes; then :
61618   cat >>confdefs.h <<_ACEOF
61619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61620 _ACEOF
61621
61622 fi
61623 done
61624
61625     fi
61626   fi
61627
61628
61629
61630
61631
61632
61633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61634 $as_echo_n "checking for isnanl declaration... " >&6; }
61635   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61636     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61637   $as_echo_n "(cached) " >&6
61638 else
61639
61640
61641       ac_ext=cpp
61642 ac_cpp='$CXXCPP $CPPFLAGS'
61643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61646
61647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61648 /* end confdefs.h.  */
61649 #include <math.h>
61650                       #ifdef HAVE_IEEEFP_H
61651                       #include <ieeefp.h>
61652                       #endif
61653
61654 int
61655 main ()
61656 {
61657  isnanl(0);
61658   ;
61659   return 0;
61660 }
61661 _ACEOF
61662 if ac_fn_cxx_try_compile "$LINENO"; then :
61663   glibcxx_cv_func_isnanl_use=yes
61664 else
61665   glibcxx_cv_func_isnanl_use=no
61666 fi
61667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61668       ac_ext=c
61669 ac_cpp='$CPP $CPPFLAGS'
61670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61673
61674
61675 fi
61676
61677   fi
61678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61679 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61680
61681   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61682     for ac_func in isnanl
61683 do :
61684   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61685 if test "x$ac_cv_func_isnanl" = x""yes; then :
61686   cat >>confdefs.h <<_ACEOF
61687 #define HAVE_ISNANL 1
61688 _ACEOF
61689
61690 fi
61691 done
61692
61693   else
61694
61695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61696 $as_echo_n "checking for _isnanl declaration... " >&6; }
61697   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61698     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61699   $as_echo_n "(cached) " >&6
61700 else
61701
61702
61703       ac_ext=cpp
61704 ac_cpp='$CXXCPP $CPPFLAGS'
61705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61708
61709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61710 /* end confdefs.h.  */
61711 #include <math.h>
61712                       #ifdef HAVE_IEEEFP_H
61713                       #include <ieeefp.h>
61714                       #endif
61715
61716 int
61717 main ()
61718 {
61719  _isnanl(0);
61720   ;
61721   return 0;
61722 }
61723 _ACEOF
61724 if ac_fn_cxx_try_compile "$LINENO"; then :
61725   glibcxx_cv_func__isnanl_use=yes
61726 else
61727   glibcxx_cv_func__isnanl_use=no
61728 fi
61729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61730       ac_ext=c
61731 ac_cpp='$CPP $CPPFLAGS'
61732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61735
61736
61737 fi
61738
61739   fi
61740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61741 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61742
61743     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61744       for ac_func in _isnanl
61745 do :
61746   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61747 if test "x$ac_cv_func__isnanl" = x""yes; then :
61748   cat >>confdefs.h <<_ACEOF
61749 #define HAVE__ISNANL 1
61750 _ACEOF
61751
61752 fi
61753 done
61754
61755     fi
61756   fi
61757
61758
61759
61760
61761
61762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61763 $as_echo_n "checking for isinfl declaration... " >&6; }
61764   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61765     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61766   $as_echo_n "(cached) " >&6
61767 else
61768
61769
61770       ac_ext=cpp
61771 ac_cpp='$CXXCPP $CPPFLAGS'
61772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61775
61776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61777 /* end confdefs.h.  */
61778 #include <math.h>
61779                       #ifdef HAVE_IEEEFP_H
61780                       #include <ieeefp.h>
61781                       #endif
61782
61783 int
61784 main ()
61785 {
61786  isinfl(0);
61787   ;
61788   return 0;
61789 }
61790 _ACEOF
61791 if ac_fn_cxx_try_compile "$LINENO"; then :
61792   glibcxx_cv_func_isinfl_use=yes
61793 else
61794   glibcxx_cv_func_isinfl_use=no
61795 fi
61796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61797       ac_ext=c
61798 ac_cpp='$CPP $CPPFLAGS'
61799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61802
61803
61804 fi
61805
61806   fi
61807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61808 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61809
61810   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61811     for ac_func in isinfl
61812 do :
61813   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61814 if test "x$ac_cv_func_isinfl" = x""yes; then :
61815   cat >>confdefs.h <<_ACEOF
61816 #define HAVE_ISINFL 1
61817 _ACEOF
61818
61819 fi
61820 done
61821
61822   else
61823
61824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61825 $as_echo_n "checking for _isinfl declaration... " >&6; }
61826   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61827     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61828   $as_echo_n "(cached) " >&6
61829 else
61830
61831
61832       ac_ext=cpp
61833 ac_cpp='$CXXCPP $CPPFLAGS'
61834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61837
61838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61839 /* end confdefs.h.  */
61840 #include <math.h>
61841                       #ifdef HAVE_IEEEFP_H
61842                       #include <ieeefp.h>
61843                       #endif
61844
61845 int
61846 main ()
61847 {
61848  _isinfl(0);
61849   ;
61850   return 0;
61851 }
61852 _ACEOF
61853 if ac_fn_cxx_try_compile "$LINENO"; then :
61854   glibcxx_cv_func__isinfl_use=yes
61855 else
61856   glibcxx_cv_func__isinfl_use=no
61857 fi
61858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61859       ac_ext=c
61860 ac_cpp='$CPP $CPPFLAGS'
61861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61864
61865
61866 fi
61867
61868   fi
61869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61870 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61871
61872     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61873       for ac_func in _isinfl
61874 do :
61875   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61876 if test "x$ac_cv_func__isinfl" = x""yes; then :
61877   cat >>confdefs.h <<_ACEOF
61878 #define HAVE__ISINFL 1
61879 _ACEOF
61880
61881 fi
61882 done
61883
61884     fi
61885   fi
61886
61887
61888
61889
61890
61891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61892 $as_echo_n "checking for atan2l declaration... " >&6; }
61893   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61894     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61895   $as_echo_n "(cached) " >&6
61896 else
61897
61898
61899       ac_ext=cpp
61900 ac_cpp='$CXXCPP $CPPFLAGS'
61901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61904
61905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61906 /* end confdefs.h.  */
61907 #include <math.h>
61908 int
61909 main ()
61910 {
61911  atan2l(0, 0);
61912   ;
61913   return 0;
61914 }
61915 _ACEOF
61916 if ac_fn_cxx_try_compile "$LINENO"; then :
61917   glibcxx_cv_func_atan2l_use=yes
61918 else
61919   glibcxx_cv_func_atan2l_use=no
61920 fi
61921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61922       ac_ext=c
61923 ac_cpp='$CPP $CPPFLAGS'
61924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61927
61928
61929 fi
61930
61931   fi
61932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61933 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61934
61935   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61936     for ac_func in atan2l
61937 do :
61938   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61939 if test "x$ac_cv_func_atan2l" = x""yes; then :
61940   cat >>confdefs.h <<_ACEOF
61941 #define HAVE_ATAN2L 1
61942 _ACEOF
61943
61944 fi
61945 done
61946
61947   else
61948
61949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61950 $as_echo_n "checking for _atan2l declaration... " >&6; }
61951   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61952     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61953   $as_echo_n "(cached) " >&6
61954 else
61955
61956
61957       ac_ext=cpp
61958 ac_cpp='$CXXCPP $CPPFLAGS'
61959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61962
61963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61964 /* end confdefs.h.  */
61965 #include <math.h>
61966 int
61967 main ()
61968 {
61969  _atan2l(0, 0);
61970   ;
61971   return 0;
61972 }
61973 _ACEOF
61974 if ac_fn_cxx_try_compile "$LINENO"; then :
61975   glibcxx_cv_func__atan2l_use=yes
61976 else
61977   glibcxx_cv_func__atan2l_use=no
61978 fi
61979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61980       ac_ext=c
61981 ac_cpp='$CPP $CPPFLAGS'
61982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61985
61986
61987 fi
61988
61989   fi
61990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61991 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61992
61993     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61994       for ac_func in _atan2l
61995 do :
61996   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61997 if test "x$ac_cv_func__atan2l" = x""yes; then :
61998   cat >>confdefs.h <<_ACEOF
61999 #define HAVE__ATAN2L 1
62000 _ACEOF
62001
62002 fi
62003 done
62004
62005     fi
62006   fi
62007
62008
62009
62010
62011
62012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62013 $as_echo_n "checking for expl declaration... " >&6; }
62014   if test x${glibcxx_cv_func_expl_use+set} != xset; then
62015     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62016   $as_echo_n "(cached) " >&6
62017 else
62018
62019
62020       ac_ext=cpp
62021 ac_cpp='$CXXCPP $CPPFLAGS'
62022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62025
62026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62027 /* end confdefs.h.  */
62028 #include <math.h>
62029                       #ifdef HAVE_IEEEFP_H
62030                       #include <ieeefp.h>
62031                       #endif
62032
62033 int
62034 main ()
62035 {
62036  expl(0);
62037   ;
62038   return 0;
62039 }
62040 _ACEOF
62041 if ac_fn_cxx_try_compile "$LINENO"; then :
62042   glibcxx_cv_func_expl_use=yes
62043 else
62044   glibcxx_cv_func_expl_use=no
62045 fi
62046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62047       ac_ext=c
62048 ac_cpp='$CPP $CPPFLAGS'
62049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62052
62053
62054 fi
62055
62056   fi
62057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62058 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62059
62060   if test x$glibcxx_cv_func_expl_use = x"yes"; then
62061     for ac_func in expl
62062 do :
62063   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62064 if test "x$ac_cv_func_expl" = x""yes; then :
62065   cat >>confdefs.h <<_ACEOF
62066 #define HAVE_EXPL 1
62067 _ACEOF
62068
62069 fi
62070 done
62071
62072   else
62073
62074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62075 $as_echo_n "checking for _expl declaration... " >&6; }
62076   if test x${glibcxx_cv_func__expl_use+set} != xset; then
62077     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62078   $as_echo_n "(cached) " >&6
62079 else
62080
62081
62082       ac_ext=cpp
62083 ac_cpp='$CXXCPP $CPPFLAGS'
62084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62087
62088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62089 /* end confdefs.h.  */
62090 #include <math.h>
62091                       #ifdef HAVE_IEEEFP_H
62092                       #include <ieeefp.h>
62093                       #endif
62094
62095 int
62096 main ()
62097 {
62098  _expl(0);
62099   ;
62100   return 0;
62101 }
62102 _ACEOF
62103 if ac_fn_cxx_try_compile "$LINENO"; then :
62104   glibcxx_cv_func__expl_use=yes
62105 else
62106   glibcxx_cv_func__expl_use=no
62107 fi
62108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62109       ac_ext=c
62110 ac_cpp='$CPP $CPPFLAGS'
62111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62114
62115
62116 fi
62117
62118   fi
62119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62120 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62121
62122     if test x$glibcxx_cv_func__expl_use = x"yes"; then
62123       for ac_func in _expl
62124 do :
62125   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62126 if test "x$ac_cv_func__expl" = x""yes; then :
62127   cat >>confdefs.h <<_ACEOF
62128 #define HAVE__EXPL 1
62129 _ACEOF
62130
62131 fi
62132 done
62133
62134     fi
62135   fi
62136
62137
62138
62139
62140
62141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62142 $as_echo_n "checking for fabsl declaration... " >&6; }
62143   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62144     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62145   $as_echo_n "(cached) " >&6
62146 else
62147
62148
62149       ac_ext=cpp
62150 ac_cpp='$CXXCPP $CPPFLAGS'
62151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62154
62155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62156 /* end confdefs.h.  */
62157 #include <math.h>
62158                       #ifdef HAVE_IEEEFP_H
62159                       #include <ieeefp.h>
62160                       #endif
62161
62162 int
62163 main ()
62164 {
62165  fabsl(0);
62166   ;
62167   return 0;
62168 }
62169 _ACEOF
62170 if ac_fn_cxx_try_compile "$LINENO"; then :
62171   glibcxx_cv_func_fabsl_use=yes
62172 else
62173   glibcxx_cv_func_fabsl_use=no
62174 fi
62175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62176       ac_ext=c
62177 ac_cpp='$CPP $CPPFLAGS'
62178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62181
62182
62183 fi
62184
62185   fi
62186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62187 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62188
62189   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62190     for ac_func in fabsl
62191 do :
62192   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62193 if test "x$ac_cv_func_fabsl" = x""yes; then :
62194   cat >>confdefs.h <<_ACEOF
62195 #define HAVE_FABSL 1
62196 _ACEOF
62197
62198 fi
62199 done
62200
62201   else
62202
62203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62204 $as_echo_n "checking for _fabsl declaration... " >&6; }
62205   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62206     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62207   $as_echo_n "(cached) " >&6
62208 else
62209
62210
62211       ac_ext=cpp
62212 ac_cpp='$CXXCPP $CPPFLAGS'
62213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62216
62217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62218 /* end confdefs.h.  */
62219 #include <math.h>
62220                       #ifdef HAVE_IEEEFP_H
62221                       #include <ieeefp.h>
62222                       #endif
62223
62224 int
62225 main ()
62226 {
62227  _fabsl(0);
62228   ;
62229   return 0;
62230 }
62231 _ACEOF
62232 if ac_fn_cxx_try_compile "$LINENO"; then :
62233   glibcxx_cv_func__fabsl_use=yes
62234 else
62235   glibcxx_cv_func__fabsl_use=no
62236 fi
62237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62238       ac_ext=c
62239 ac_cpp='$CPP $CPPFLAGS'
62240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62243
62244
62245 fi
62246
62247   fi
62248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62249 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62250
62251     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62252       for ac_func in _fabsl
62253 do :
62254   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62255 if test "x$ac_cv_func__fabsl" = x""yes; then :
62256   cat >>confdefs.h <<_ACEOF
62257 #define HAVE__FABSL 1
62258 _ACEOF
62259
62260 fi
62261 done
62262
62263     fi
62264   fi
62265
62266
62267
62268
62269
62270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62271 $as_echo_n "checking for fmodl declaration... " >&6; }
62272   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62273     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62274   $as_echo_n "(cached) " >&6
62275 else
62276
62277
62278       ac_ext=cpp
62279 ac_cpp='$CXXCPP $CPPFLAGS'
62280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62283
62284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62285 /* end confdefs.h.  */
62286 #include <math.h>
62287 int
62288 main ()
62289 {
62290  fmodl(0, 0);
62291   ;
62292   return 0;
62293 }
62294 _ACEOF
62295 if ac_fn_cxx_try_compile "$LINENO"; then :
62296   glibcxx_cv_func_fmodl_use=yes
62297 else
62298   glibcxx_cv_func_fmodl_use=no
62299 fi
62300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62301       ac_ext=c
62302 ac_cpp='$CPP $CPPFLAGS'
62303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62306
62307
62308 fi
62309
62310   fi
62311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62312 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62313
62314   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62315     for ac_func in fmodl
62316 do :
62317   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62318 if test "x$ac_cv_func_fmodl" = x""yes; then :
62319   cat >>confdefs.h <<_ACEOF
62320 #define HAVE_FMODL 1
62321 _ACEOF
62322
62323 fi
62324 done
62325
62326   else
62327
62328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62329 $as_echo_n "checking for _fmodl declaration... " >&6; }
62330   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62331     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62332   $as_echo_n "(cached) " >&6
62333 else
62334
62335
62336       ac_ext=cpp
62337 ac_cpp='$CXXCPP $CPPFLAGS'
62338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62341
62342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62343 /* end confdefs.h.  */
62344 #include <math.h>
62345 int
62346 main ()
62347 {
62348  _fmodl(0, 0);
62349   ;
62350   return 0;
62351 }
62352 _ACEOF
62353 if ac_fn_cxx_try_compile "$LINENO"; then :
62354   glibcxx_cv_func__fmodl_use=yes
62355 else
62356   glibcxx_cv_func__fmodl_use=no
62357 fi
62358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62359       ac_ext=c
62360 ac_cpp='$CPP $CPPFLAGS'
62361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62364
62365
62366 fi
62367
62368   fi
62369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62370 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62371
62372     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62373       for ac_func in _fmodl
62374 do :
62375   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62376 if test "x$ac_cv_func__fmodl" = x""yes; then :
62377   cat >>confdefs.h <<_ACEOF
62378 #define HAVE__FMODL 1
62379 _ACEOF
62380
62381 fi
62382 done
62383
62384     fi
62385   fi
62386
62387
62388
62389
62390
62391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62392 $as_echo_n "checking for frexpl declaration... " >&6; }
62393   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62394     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62395   $as_echo_n "(cached) " >&6
62396 else
62397
62398
62399       ac_ext=cpp
62400 ac_cpp='$CXXCPP $CPPFLAGS'
62401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62404
62405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62406 /* end confdefs.h.  */
62407 #include <math.h>
62408 int
62409 main ()
62410 {
62411  frexpl(0, 0);
62412   ;
62413   return 0;
62414 }
62415 _ACEOF
62416 if ac_fn_cxx_try_compile "$LINENO"; then :
62417   glibcxx_cv_func_frexpl_use=yes
62418 else
62419   glibcxx_cv_func_frexpl_use=no
62420 fi
62421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62422       ac_ext=c
62423 ac_cpp='$CPP $CPPFLAGS'
62424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62427
62428
62429 fi
62430
62431   fi
62432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62433 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62434
62435   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62436     for ac_func in frexpl
62437 do :
62438   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62439 if test "x$ac_cv_func_frexpl" = x""yes; then :
62440   cat >>confdefs.h <<_ACEOF
62441 #define HAVE_FREXPL 1
62442 _ACEOF
62443
62444 fi
62445 done
62446
62447   else
62448
62449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62450 $as_echo_n "checking for _frexpl declaration... " >&6; }
62451   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62452     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62453   $as_echo_n "(cached) " >&6
62454 else
62455
62456
62457       ac_ext=cpp
62458 ac_cpp='$CXXCPP $CPPFLAGS'
62459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62462
62463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62464 /* end confdefs.h.  */
62465 #include <math.h>
62466 int
62467 main ()
62468 {
62469  _frexpl(0, 0);
62470   ;
62471   return 0;
62472 }
62473 _ACEOF
62474 if ac_fn_cxx_try_compile "$LINENO"; then :
62475   glibcxx_cv_func__frexpl_use=yes
62476 else
62477   glibcxx_cv_func__frexpl_use=no
62478 fi
62479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62480       ac_ext=c
62481 ac_cpp='$CPP $CPPFLAGS'
62482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62485
62486
62487 fi
62488
62489   fi
62490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62491 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62492
62493     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62494       for ac_func in _frexpl
62495 do :
62496   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62497 if test "x$ac_cv_func__frexpl" = x""yes; then :
62498   cat >>confdefs.h <<_ACEOF
62499 #define HAVE__FREXPL 1
62500 _ACEOF
62501
62502 fi
62503 done
62504
62505     fi
62506   fi
62507
62508
62509
62510
62511
62512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62513 $as_echo_n "checking for hypotl declaration... " >&6; }
62514   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62515     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62516   $as_echo_n "(cached) " >&6
62517 else
62518
62519
62520       ac_ext=cpp
62521 ac_cpp='$CXXCPP $CPPFLAGS'
62522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62525
62526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62527 /* end confdefs.h.  */
62528 #include <math.h>
62529 int
62530 main ()
62531 {
62532  hypotl(0, 0);
62533   ;
62534   return 0;
62535 }
62536 _ACEOF
62537 if ac_fn_cxx_try_compile "$LINENO"; then :
62538   glibcxx_cv_func_hypotl_use=yes
62539 else
62540   glibcxx_cv_func_hypotl_use=no
62541 fi
62542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62543       ac_ext=c
62544 ac_cpp='$CPP $CPPFLAGS'
62545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62548
62549
62550 fi
62551
62552   fi
62553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62554 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62555
62556   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62557     for ac_func in hypotl
62558 do :
62559   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62560 if test "x$ac_cv_func_hypotl" = x""yes; then :
62561   cat >>confdefs.h <<_ACEOF
62562 #define HAVE_HYPOTL 1
62563 _ACEOF
62564
62565 fi
62566 done
62567
62568   else
62569
62570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62571 $as_echo_n "checking for _hypotl declaration... " >&6; }
62572   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62573     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62574   $as_echo_n "(cached) " >&6
62575 else
62576
62577
62578       ac_ext=cpp
62579 ac_cpp='$CXXCPP $CPPFLAGS'
62580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62583
62584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62585 /* end confdefs.h.  */
62586 #include <math.h>
62587 int
62588 main ()
62589 {
62590  _hypotl(0, 0);
62591   ;
62592   return 0;
62593 }
62594 _ACEOF
62595 if ac_fn_cxx_try_compile "$LINENO"; then :
62596   glibcxx_cv_func__hypotl_use=yes
62597 else
62598   glibcxx_cv_func__hypotl_use=no
62599 fi
62600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62601       ac_ext=c
62602 ac_cpp='$CPP $CPPFLAGS'
62603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62606
62607
62608 fi
62609
62610   fi
62611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62612 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62613
62614     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62615       for ac_func in _hypotl
62616 do :
62617   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62618 if test "x$ac_cv_func__hypotl" = x""yes; then :
62619   cat >>confdefs.h <<_ACEOF
62620 #define HAVE__HYPOTL 1
62621 _ACEOF
62622
62623 fi
62624 done
62625
62626     fi
62627   fi
62628
62629
62630
62631
62632
62633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62634 $as_echo_n "checking for ldexpl declaration... " >&6; }
62635   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62636     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62637   $as_echo_n "(cached) " >&6
62638 else
62639
62640
62641       ac_ext=cpp
62642 ac_cpp='$CXXCPP $CPPFLAGS'
62643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62646
62647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62648 /* end confdefs.h.  */
62649 #include <math.h>
62650 int
62651 main ()
62652 {
62653  ldexpl(0, 0);
62654   ;
62655   return 0;
62656 }
62657 _ACEOF
62658 if ac_fn_cxx_try_compile "$LINENO"; then :
62659   glibcxx_cv_func_ldexpl_use=yes
62660 else
62661   glibcxx_cv_func_ldexpl_use=no
62662 fi
62663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62664       ac_ext=c
62665 ac_cpp='$CPP $CPPFLAGS'
62666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62669
62670
62671 fi
62672
62673   fi
62674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62675 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62676
62677   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62678     for ac_func in ldexpl
62679 do :
62680   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62681 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62682   cat >>confdefs.h <<_ACEOF
62683 #define HAVE_LDEXPL 1
62684 _ACEOF
62685
62686 fi
62687 done
62688
62689   else
62690
62691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62692 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62693   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62694     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62695   $as_echo_n "(cached) " >&6
62696 else
62697
62698
62699       ac_ext=cpp
62700 ac_cpp='$CXXCPP $CPPFLAGS'
62701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62704
62705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62706 /* end confdefs.h.  */
62707 #include <math.h>
62708 int
62709 main ()
62710 {
62711  _ldexpl(0, 0);
62712   ;
62713   return 0;
62714 }
62715 _ACEOF
62716 if ac_fn_cxx_try_compile "$LINENO"; then :
62717   glibcxx_cv_func__ldexpl_use=yes
62718 else
62719   glibcxx_cv_func__ldexpl_use=no
62720 fi
62721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62722       ac_ext=c
62723 ac_cpp='$CPP $CPPFLAGS'
62724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62727
62728
62729 fi
62730
62731   fi
62732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62733 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62734
62735     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62736       for ac_func in _ldexpl
62737 do :
62738   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62739 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62740   cat >>confdefs.h <<_ACEOF
62741 #define HAVE__LDEXPL 1
62742 _ACEOF
62743
62744 fi
62745 done
62746
62747     fi
62748   fi
62749
62750
62751
62752
62753
62754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62755 $as_echo_n "checking for logl declaration... " >&6; }
62756   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62757     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62758   $as_echo_n "(cached) " >&6
62759 else
62760
62761
62762       ac_ext=cpp
62763 ac_cpp='$CXXCPP $CPPFLAGS'
62764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62767
62768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62769 /* end confdefs.h.  */
62770 #include <math.h>
62771                       #ifdef HAVE_IEEEFP_H
62772                       #include <ieeefp.h>
62773                       #endif
62774
62775 int
62776 main ()
62777 {
62778  logl(0);
62779   ;
62780   return 0;
62781 }
62782 _ACEOF
62783 if ac_fn_cxx_try_compile "$LINENO"; then :
62784   glibcxx_cv_func_logl_use=yes
62785 else
62786   glibcxx_cv_func_logl_use=no
62787 fi
62788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62789       ac_ext=c
62790 ac_cpp='$CPP $CPPFLAGS'
62791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62794
62795
62796 fi
62797
62798   fi
62799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62800 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62801
62802   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62803     for ac_func in logl
62804 do :
62805   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62806 if test "x$ac_cv_func_logl" = x""yes; then :
62807   cat >>confdefs.h <<_ACEOF
62808 #define HAVE_LOGL 1
62809 _ACEOF
62810
62811 fi
62812 done
62813
62814   else
62815
62816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62817 $as_echo_n "checking for _logl declaration... " >&6; }
62818   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62819     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62820   $as_echo_n "(cached) " >&6
62821 else
62822
62823
62824       ac_ext=cpp
62825 ac_cpp='$CXXCPP $CPPFLAGS'
62826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62829
62830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62831 /* end confdefs.h.  */
62832 #include <math.h>
62833                       #ifdef HAVE_IEEEFP_H
62834                       #include <ieeefp.h>
62835                       #endif
62836
62837 int
62838 main ()
62839 {
62840  _logl(0);
62841   ;
62842   return 0;
62843 }
62844 _ACEOF
62845 if ac_fn_cxx_try_compile "$LINENO"; then :
62846   glibcxx_cv_func__logl_use=yes
62847 else
62848   glibcxx_cv_func__logl_use=no
62849 fi
62850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62851       ac_ext=c
62852 ac_cpp='$CPP $CPPFLAGS'
62853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62856
62857
62858 fi
62859
62860   fi
62861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62862 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62863
62864     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62865       for ac_func in _logl
62866 do :
62867   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62868 if test "x$ac_cv_func__logl" = x""yes; then :
62869   cat >>confdefs.h <<_ACEOF
62870 #define HAVE__LOGL 1
62871 _ACEOF
62872
62873 fi
62874 done
62875
62876     fi
62877   fi
62878
62879
62880
62881
62882
62883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62884 $as_echo_n "checking for log10l declaration... " >&6; }
62885   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62886     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62887   $as_echo_n "(cached) " >&6
62888 else
62889
62890
62891       ac_ext=cpp
62892 ac_cpp='$CXXCPP $CPPFLAGS'
62893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62896
62897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62898 /* end confdefs.h.  */
62899 #include <math.h>
62900                       #ifdef HAVE_IEEEFP_H
62901                       #include <ieeefp.h>
62902                       #endif
62903
62904 int
62905 main ()
62906 {
62907  log10l(0);
62908   ;
62909   return 0;
62910 }
62911 _ACEOF
62912 if ac_fn_cxx_try_compile "$LINENO"; then :
62913   glibcxx_cv_func_log10l_use=yes
62914 else
62915   glibcxx_cv_func_log10l_use=no
62916 fi
62917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62918       ac_ext=c
62919 ac_cpp='$CPP $CPPFLAGS'
62920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62923
62924
62925 fi
62926
62927   fi
62928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62929 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62930
62931   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62932     for ac_func in log10l
62933 do :
62934   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62935 if test "x$ac_cv_func_log10l" = x""yes; then :
62936   cat >>confdefs.h <<_ACEOF
62937 #define HAVE_LOG10L 1
62938 _ACEOF
62939
62940 fi
62941 done
62942
62943   else
62944
62945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62946 $as_echo_n "checking for _log10l declaration... " >&6; }
62947   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62948     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62949   $as_echo_n "(cached) " >&6
62950 else
62951
62952
62953       ac_ext=cpp
62954 ac_cpp='$CXXCPP $CPPFLAGS'
62955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62958
62959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62960 /* end confdefs.h.  */
62961 #include <math.h>
62962                       #ifdef HAVE_IEEEFP_H
62963                       #include <ieeefp.h>
62964                       #endif
62965
62966 int
62967 main ()
62968 {
62969  _log10l(0);
62970   ;
62971   return 0;
62972 }
62973 _ACEOF
62974 if ac_fn_cxx_try_compile "$LINENO"; then :
62975   glibcxx_cv_func__log10l_use=yes
62976 else
62977   glibcxx_cv_func__log10l_use=no
62978 fi
62979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62980       ac_ext=c
62981 ac_cpp='$CPP $CPPFLAGS'
62982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62985
62986
62987 fi
62988
62989   fi
62990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62991 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62992
62993     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62994       for ac_func in _log10l
62995 do :
62996   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62997 if test "x$ac_cv_func__log10l" = x""yes; then :
62998   cat >>confdefs.h <<_ACEOF
62999 #define HAVE__LOG10L 1
63000 _ACEOF
63001
63002 fi
63003 done
63004
63005     fi
63006   fi
63007
63008
63009
63010
63011
63012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63013 $as_echo_n "checking for modfl declaration... " >&6; }
63014   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63015     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63016   $as_echo_n "(cached) " >&6
63017 else
63018
63019
63020       ac_ext=cpp
63021 ac_cpp='$CXXCPP $CPPFLAGS'
63022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63025
63026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63027 /* end confdefs.h.  */
63028 #include <math.h>
63029 int
63030 main ()
63031 {
63032  modfl(0, 0);
63033   ;
63034   return 0;
63035 }
63036 _ACEOF
63037 if ac_fn_cxx_try_compile "$LINENO"; then :
63038   glibcxx_cv_func_modfl_use=yes
63039 else
63040   glibcxx_cv_func_modfl_use=no
63041 fi
63042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63043       ac_ext=c
63044 ac_cpp='$CPP $CPPFLAGS'
63045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63048
63049
63050 fi
63051
63052   fi
63053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63054 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63055
63056   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63057     for ac_func in modfl
63058 do :
63059   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63060 if test "x$ac_cv_func_modfl" = x""yes; then :
63061   cat >>confdefs.h <<_ACEOF
63062 #define HAVE_MODFL 1
63063 _ACEOF
63064
63065 fi
63066 done
63067
63068   else
63069
63070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63071 $as_echo_n "checking for _modfl declaration... " >&6; }
63072   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63073     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63074   $as_echo_n "(cached) " >&6
63075 else
63076
63077
63078       ac_ext=cpp
63079 ac_cpp='$CXXCPP $CPPFLAGS'
63080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63083
63084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63085 /* end confdefs.h.  */
63086 #include <math.h>
63087 int
63088 main ()
63089 {
63090  _modfl(0, 0);
63091   ;
63092   return 0;
63093 }
63094 _ACEOF
63095 if ac_fn_cxx_try_compile "$LINENO"; then :
63096   glibcxx_cv_func__modfl_use=yes
63097 else
63098   glibcxx_cv_func__modfl_use=no
63099 fi
63100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63101       ac_ext=c
63102 ac_cpp='$CPP $CPPFLAGS'
63103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63106
63107
63108 fi
63109
63110   fi
63111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63112 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63113
63114     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63115       for ac_func in _modfl
63116 do :
63117   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63118 if test "x$ac_cv_func__modfl" = x""yes; then :
63119   cat >>confdefs.h <<_ACEOF
63120 #define HAVE__MODFL 1
63121 _ACEOF
63122
63123 fi
63124 done
63125
63126     fi
63127   fi
63128
63129
63130
63131
63132
63133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63134 $as_echo_n "checking for powl declaration... " >&6; }
63135   if test x${glibcxx_cv_func_powl_use+set} != xset; then
63136     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63137   $as_echo_n "(cached) " >&6
63138 else
63139
63140
63141       ac_ext=cpp
63142 ac_cpp='$CXXCPP $CPPFLAGS'
63143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63146
63147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63148 /* end confdefs.h.  */
63149 #include <math.h>
63150 int
63151 main ()
63152 {
63153  powl(0, 0);
63154   ;
63155   return 0;
63156 }
63157 _ACEOF
63158 if ac_fn_cxx_try_compile "$LINENO"; then :
63159   glibcxx_cv_func_powl_use=yes
63160 else
63161   glibcxx_cv_func_powl_use=no
63162 fi
63163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63164       ac_ext=c
63165 ac_cpp='$CPP $CPPFLAGS'
63166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63169
63170
63171 fi
63172
63173   fi
63174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63175 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63176
63177   if test x$glibcxx_cv_func_powl_use = x"yes"; then
63178     for ac_func in powl
63179 do :
63180   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63181 if test "x$ac_cv_func_powl" = x""yes; then :
63182   cat >>confdefs.h <<_ACEOF
63183 #define HAVE_POWL 1
63184 _ACEOF
63185
63186 fi
63187 done
63188
63189   else
63190
63191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63192 $as_echo_n "checking for _powl declaration... " >&6; }
63193   if test x${glibcxx_cv_func__powl_use+set} != xset; then
63194     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63195   $as_echo_n "(cached) " >&6
63196 else
63197
63198
63199       ac_ext=cpp
63200 ac_cpp='$CXXCPP $CPPFLAGS'
63201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63204
63205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63206 /* end confdefs.h.  */
63207 #include <math.h>
63208 int
63209 main ()
63210 {
63211  _powl(0, 0);
63212   ;
63213   return 0;
63214 }
63215 _ACEOF
63216 if ac_fn_cxx_try_compile "$LINENO"; then :
63217   glibcxx_cv_func__powl_use=yes
63218 else
63219   glibcxx_cv_func__powl_use=no
63220 fi
63221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63222       ac_ext=c
63223 ac_cpp='$CPP $CPPFLAGS'
63224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63227
63228
63229 fi
63230
63231   fi
63232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63233 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63234
63235     if test x$glibcxx_cv_func__powl_use = x"yes"; then
63236       for ac_func in _powl
63237 do :
63238   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63239 if test "x$ac_cv_func__powl" = x""yes; then :
63240   cat >>confdefs.h <<_ACEOF
63241 #define HAVE__POWL 1
63242 _ACEOF
63243
63244 fi
63245 done
63246
63247     fi
63248   fi
63249
63250
63251
63252
63253
63254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63255 $as_echo_n "checking for sqrtl declaration... " >&6; }
63256   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63257     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63258   $as_echo_n "(cached) " >&6
63259 else
63260
63261
63262       ac_ext=cpp
63263 ac_cpp='$CXXCPP $CPPFLAGS'
63264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63267
63268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63269 /* end confdefs.h.  */
63270 #include <math.h>
63271                       #ifdef HAVE_IEEEFP_H
63272                       #include <ieeefp.h>
63273                       #endif
63274
63275 int
63276 main ()
63277 {
63278  sqrtl(0);
63279   ;
63280   return 0;
63281 }
63282 _ACEOF
63283 if ac_fn_cxx_try_compile "$LINENO"; then :
63284   glibcxx_cv_func_sqrtl_use=yes
63285 else
63286   glibcxx_cv_func_sqrtl_use=no
63287 fi
63288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63289       ac_ext=c
63290 ac_cpp='$CPP $CPPFLAGS'
63291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63294
63295
63296 fi
63297
63298   fi
63299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63300 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63301
63302   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63303     for ac_func in sqrtl
63304 do :
63305   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63306 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63307   cat >>confdefs.h <<_ACEOF
63308 #define HAVE_SQRTL 1
63309 _ACEOF
63310
63311 fi
63312 done
63313
63314   else
63315
63316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63317 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63318   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63319     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63320   $as_echo_n "(cached) " >&6
63321 else
63322
63323
63324       ac_ext=cpp
63325 ac_cpp='$CXXCPP $CPPFLAGS'
63326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63329
63330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63331 /* end confdefs.h.  */
63332 #include <math.h>
63333                       #ifdef HAVE_IEEEFP_H
63334                       #include <ieeefp.h>
63335                       #endif
63336
63337 int
63338 main ()
63339 {
63340  _sqrtl(0);
63341   ;
63342   return 0;
63343 }
63344 _ACEOF
63345 if ac_fn_cxx_try_compile "$LINENO"; then :
63346   glibcxx_cv_func__sqrtl_use=yes
63347 else
63348   glibcxx_cv_func__sqrtl_use=no
63349 fi
63350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63351       ac_ext=c
63352 ac_cpp='$CPP $CPPFLAGS'
63353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63356
63357
63358 fi
63359
63360   fi
63361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63362 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63363
63364     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63365       for ac_func in _sqrtl
63366 do :
63367   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63368 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63369   cat >>confdefs.h <<_ACEOF
63370 #define HAVE__SQRTL 1
63371 _ACEOF
63372
63373 fi
63374 done
63375
63376     fi
63377   fi
63378
63379
63380
63381
63382
63383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63384 $as_echo_n "checking for sincosl declaration... " >&6; }
63385   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63386     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63387   $as_echo_n "(cached) " >&6
63388 else
63389
63390
63391       ac_ext=cpp
63392 ac_cpp='$CXXCPP $CPPFLAGS'
63393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63396
63397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63398 /* end confdefs.h.  */
63399 #include <math.h>
63400 int
63401 main ()
63402 {
63403  sincosl(0, 0, 0);
63404   ;
63405   return 0;
63406 }
63407 _ACEOF
63408 if ac_fn_cxx_try_compile "$LINENO"; then :
63409   glibcxx_cv_func_sincosl_use=yes
63410 else
63411   glibcxx_cv_func_sincosl_use=no
63412 fi
63413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63414       ac_ext=c
63415 ac_cpp='$CPP $CPPFLAGS'
63416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63419
63420
63421 fi
63422
63423   fi
63424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63425 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63426
63427   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63428     for ac_func in sincosl
63429 do :
63430   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63431 if test "x$ac_cv_func_sincosl" = x""yes; then :
63432   cat >>confdefs.h <<_ACEOF
63433 #define HAVE_SINCOSL 1
63434 _ACEOF
63435
63436 fi
63437 done
63438
63439   else
63440
63441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63442 $as_echo_n "checking for _sincosl declaration... " >&6; }
63443   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63444     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63445   $as_echo_n "(cached) " >&6
63446 else
63447
63448
63449       ac_ext=cpp
63450 ac_cpp='$CXXCPP $CPPFLAGS'
63451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63454
63455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63456 /* end confdefs.h.  */
63457 #include <math.h>
63458 int
63459 main ()
63460 {
63461  _sincosl(0, 0, 0);
63462   ;
63463   return 0;
63464 }
63465 _ACEOF
63466 if ac_fn_cxx_try_compile "$LINENO"; then :
63467   glibcxx_cv_func__sincosl_use=yes
63468 else
63469   glibcxx_cv_func__sincosl_use=no
63470 fi
63471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63472       ac_ext=c
63473 ac_cpp='$CPP $CPPFLAGS'
63474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63477
63478
63479 fi
63480
63481   fi
63482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63483 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63484
63485     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63486       for ac_func in _sincosl
63487 do :
63488   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63489 if test "x$ac_cv_func__sincosl" = x""yes; then :
63490   cat >>confdefs.h <<_ACEOF
63491 #define HAVE__SINCOSL 1
63492 _ACEOF
63493
63494 fi
63495 done
63496
63497     fi
63498   fi
63499
63500
63501
63502
63503
63504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63505 $as_echo_n "checking for finitel declaration... " >&6; }
63506   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63507     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63508   $as_echo_n "(cached) " >&6
63509 else
63510
63511
63512       ac_ext=cpp
63513 ac_cpp='$CXXCPP $CPPFLAGS'
63514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63517
63518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63519 /* end confdefs.h.  */
63520 #include <math.h>
63521                       #ifdef HAVE_IEEEFP_H
63522                       #include <ieeefp.h>
63523                       #endif
63524
63525 int
63526 main ()
63527 {
63528  finitel(0);
63529   ;
63530   return 0;
63531 }
63532 _ACEOF
63533 if ac_fn_cxx_try_compile "$LINENO"; then :
63534   glibcxx_cv_func_finitel_use=yes
63535 else
63536   glibcxx_cv_func_finitel_use=no
63537 fi
63538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63539       ac_ext=c
63540 ac_cpp='$CPP $CPPFLAGS'
63541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63544
63545
63546 fi
63547
63548   fi
63549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63550 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63551
63552   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63553     for ac_func in finitel
63554 do :
63555   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63556 if test "x$ac_cv_func_finitel" = x""yes; then :
63557   cat >>confdefs.h <<_ACEOF
63558 #define HAVE_FINITEL 1
63559 _ACEOF
63560
63561 fi
63562 done
63563
63564   else
63565
63566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63567 $as_echo_n "checking for _finitel declaration... " >&6; }
63568   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63569     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63570   $as_echo_n "(cached) " >&6
63571 else
63572
63573
63574       ac_ext=cpp
63575 ac_cpp='$CXXCPP $CPPFLAGS'
63576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63579
63580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63581 /* end confdefs.h.  */
63582 #include <math.h>
63583                       #ifdef HAVE_IEEEFP_H
63584                       #include <ieeefp.h>
63585                       #endif
63586
63587 int
63588 main ()
63589 {
63590  _finitel(0);
63591   ;
63592   return 0;
63593 }
63594 _ACEOF
63595 if ac_fn_cxx_try_compile "$LINENO"; then :
63596   glibcxx_cv_func__finitel_use=yes
63597 else
63598   glibcxx_cv_func__finitel_use=no
63599 fi
63600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63601       ac_ext=c
63602 ac_cpp='$CPP $CPPFLAGS'
63603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63606
63607
63608 fi
63609
63610   fi
63611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63612 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63613
63614     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63615       for ac_func in _finitel
63616 do :
63617   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63618 if test "x$ac_cv_func__finitel" = x""yes; then :
63619   cat >>confdefs.h <<_ACEOF
63620 #define HAVE__FINITEL 1
63621 _ACEOF
63622
63623 fi
63624 done
63625
63626     fi
63627   fi
63628
63629
63630
63631
63632   LIBS="$ac_save_LIBS"
63633   CXXFLAGS="$ac_save_CXXFLAGS"
63634
63635
63636   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63637   ac_save_CXXFLAGS="$CXXFLAGS"
63638   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63639
63640
63641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63642 $as_echo_n "checking for strtold declaration... " >&6; }
63643   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63644     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63645   $as_echo_n "(cached) " >&6
63646 else
63647
63648
63649       ac_ext=cpp
63650 ac_cpp='$CXXCPP $CPPFLAGS'
63651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63654
63655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63656 /* end confdefs.h.  */
63657 #include <stdlib.h>
63658 int
63659 main ()
63660 {
63661  strtold(0, 0);
63662   ;
63663   return 0;
63664 }
63665 _ACEOF
63666 if ac_fn_cxx_try_compile "$LINENO"; then :
63667   glibcxx_cv_func_strtold_use=yes
63668 else
63669   glibcxx_cv_func_strtold_use=no
63670 fi
63671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63672       ac_ext=c
63673 ac_cpp='$CPP $CPPFLAGS'
63674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63677
63678
63679 fi
63680
63681   fi
63682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63683 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63684   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63685     for ac_func in strtold
63686 do :
63687   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63688 if test "x$ac_cv_func_strtold" = x""yes; then :
63689   cat >>confdefs.h <<_ACEOF
63690 #define HAVE_STRTOLD 1
63691 _ACEOF
63692
63693 fi
63694 done
63695
63696   fi
63697
63698
63699
63700
63701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63702 $as_echo_n "checking for strtof declaration... " >&6; }
63703   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63704     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63705   $as_echo_n "(cached) " >&6
63706 else
63707
63708
63709       ac_ext=cpp
63710 ac_cpp='$CXXCPP $CPPFLAGS'
63711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63714
63715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63716 /* end confdefs.h.  */
63717 #include <stdlib.h>
63718 int
63719 main ()
63720 {
63721  strtof(0, 0);
63722   ;
63723   return 0;
63724 }
63725 _ACEOF
63726 if ac_fn_cxx_try_compile "$LINENO"; then :
63727   glibcxx_cv_func_strtof_use=yes
63728 else
63729   glibcxx_cv_func_strtof_use=no
63730 fi
63731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63732       ac_ext=c
63733 ac_cpp='$CPP $CPPFLAGS'
63734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63737
63738
63739 fi
63740
63741   fi
63742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63743 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63744   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63745     for ac_func in strtof
63746 do :
63747   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63748 if test "x$ac_cv_func_strtof" = x""yes; then :
63749   cat >>confdefs.h <<_ACEOF
63750 #define HAVE_STRTOF 1
63751 _ACEOF
63752
63753 fi
63754 done
63755
63756   fi
63757
63758
63759
63760
63761   CXXFLAGS="$ac_save_CXXFLAGS"
63762
63763     ;;
63764   *-solaris*)
63765     case "$target" in
63766       *-solaris2.9 | *-solaris2.10)
63767
63768   # If we're not using GNU ld, then there's no point in even trying these
63769   # tests.  Check for that first.  We should have already tested for gld
63770   # by now (in libtool), but require it now just to be safe...
63771   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63772   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63773
63774
63775
63776   # The name set by libtool depends on the version of libtool.  Shame on us
63777   # for depending on an impl detail, but c'est la vie.  Older versions used
63778   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63779   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63780   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63781   # set (hence we're using an older libtool), then set it.
63782   if test x${with_gnu_ld+set} != xset; then
63783     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63784       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63785       with_gnu_ld=no
63786     else
63787       with_gnu_ld=$ac_cv_prog_gnu_ld
63788     fi
63789   fi
63790
63791   # Start by getting the version number.  I think the libtool test already
63792   # does some of this, but throws away the result.
63793   glibcxx_ld_is_gold=no
63794   if test x"$with_gnu_ld" = x"yes"; then
63795     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63796 $as_echo_n "checking for ld version... " >&6; }
63797
63798     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63799       glibcxx_ld_is_gold=yes
63800     fi
63801     ldver=`$LD --version 2>/dev/null |
63802            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'`
63803
63804     glibcxx_gnu_ld_version=`echo $ldver | \
63805            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63806     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63807 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63808   fi
63809
63810   # Set --gc-sections.
63811   glibcxx_have_gc_sections=no
63812   if test "$glibcxx_ld_is_gold" = "yes"; then
63813     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63814       glibcxx_have_gc_sections=yes
63815     fi
63816   else
63817     glibcxx_gcsections_min_ld=21602
63818     if test x"$with_gnu_ld" = x"yes" &&
63819         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63820       glibcxx_have_gc_sections=yes
63821     fi
63822   fi
63823   if test "$glibcxx_have_gc_sections" = "yes"; then
63824     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63825     # NB: This flag only works reliably after 2.16.1. Configure tests
63826     # for this are difficult, so hard wire a value that should work.
63827
63828     ac_test_CFLAGS="${CFLAGS+set}"
63829     ac_save_CFLAGS="$CFLAGS"
63830     CFLAGS='-Wl,--gc-sections'
63831
63832     # Check for -Wl,--gc-sections
63833     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63834 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63835     if test x$gcc_no_link = xyes; then
63836   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63837 fi
63838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63839 /* end confdefs.h.  */
63840  int one(void) { return 1; }
63841      int two(void) { return 2; }
63842
63843 int
63844 main ()
63845 {
63846  two();
63847   ;
63848   return 0;
63849 }
63850 _ACEOF
63851 if ac_fn_c_try_link "$LINENO"; then :
63852   ac_gcsections=yes
63853 else
63854   ac_gcsections=no
63855 fi
63856 rm -f core conftest.err conftest.$ac_objext \
63857     conftest$ac_exeext conftest.$ac_ext
63858     if test "$ac_gcsections" = "yes"; then
63859       rm -f conftest.c
63860       touch conftest.c
63861       if $CC -c conftest.c; then
63862         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63863            grep "Warning: gc-sections option ignored" > /dev/null; then
63864           ac_gcsections=no
63865         fi
63866       fi
63867       rm -f conftest.c conftest.o conftest
63868     fi
63869     if test "$ac_gcsections" = "yes"; then
63870       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63871     fi
63872     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63873 $as_echo "$ac_gcsections" >&6; }
63874
63875     if test "$ac_test_CFLAGS" = set; then
63876       CFLAGS="$ac_save_CFLAGS"
63877     else
63878       # this is the suspicious part
63879       CFLAGS=''
63880     fi
63881   fi
63882
63883   # Set -z,relro.
63884   # Note this is only for shared objects.
63885   ac_ld_relro=no
63886   if test x"$with_gnu_ld" = x"yes"; then
63887     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63888 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63889     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63890     if test -n "$cxx_z_relo"; then
63891       OPT_LDFLAGS="-Wl,-z,relro"
63892       ac_ld_relro=yes
63893     fi
63894     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63895 $as_echo "$ac_ld_relro" >&6; }
63896   fi
63897
63898   # Set linker optimization flags.
63899   if test x"$with_gnu_ld" = x"yes"; then
63900     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63901   fi
63902
63903
63904
63905
63906          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63907
63908          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63909
63910          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63911
63912          # All of the dependencies for wide character support are here, so
63913          # turn it on.
63914          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63915
63916         ;;
63917     esac
63918     case "$target" in
63919       *-*-solaris2.10)
63920       # These two C99 functions are present only in Solaris >= 10
63921       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63922
63923       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63924
63925      ;;
63926     esac
63927     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63928
63929     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63930
63931     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63932
63933     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63934
63935     ;;
63936   *-tpf)
63937     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63938     SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63939
63940     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63941
63942     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63943
63944     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63945
63946     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63947
63948     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63949
63950     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63951
63952     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63953
63954     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63955
63956     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63957
63958     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63959
63960     if test x"long_double_math_on_this_cpu" = x"yes"; then
63961       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63962
63963       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63964
63965       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63966
63967       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63968
63969     fi
63970     ;;
63971   *-*vms*)
63972     # Check for available headers.
63973     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63974
63975   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63976   ac_save_CXXFLAGS="$CXXFLAGS"
63977   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63978
63979     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63980 $as_echo_n "checking for sin in -lm... " >&6; }
63981 if test "${ac_cv_lib_m_sin+set}" = set; then :
63982   $as_echo_n "(cached) " >&6
63983 else
63984   ac_check_lib_save_LIBS=$LIBS
63985 LIBS="-lm  $LIBS"
63986 if test x$gcc_no_link = xyes; then
63987   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63988 fi
63989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63990 /* end confdefs.h.  */
63991
63992 /* Override any GCC internal prototype to avoid an error.
63993    Use char because int might match the return type of a GCC
63994    builtin and then its argument prototype would still apply.  */
63995 #ifdef __cplusplus
63996 extern "C"
63997 #endif
63998 char sin ();
63999 int
64000 main ()
64001 {
64002 return sin ();
64003   ;
64004   return 0;
64005 }
64006 _ACEOF
64007 if ac_fn_c_try_link "$LINENO"; then :
64008   ac_cv_lib_m_sin=yes
64009 else
64010   ac_cv_lib_m_sin=no
64011 fi
64012 rm -f core conftest.err conftest.$ac_objext \
64013     conftest$ac_exeext conftest.$ac_ext
64014 LIBS=$ac_check_lib_save_LIBS
64015 fi
64016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
64017 $as_echo "$ac_cv_lib_m_sin" >&6; }
64018 if test "x$ac_cv_lib_m_sin" = x""yes; then :
64019   libm="-lm"
64020 fi
64021
64022   ac_save_LIBS="$LIBS"
64023   LIBS="$LIBS $libm"
64024
64025
64026
64027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
64028 $as_echo_n "checking for isinf declaration... " >&6; }
64029   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64030     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64031   $as_echo_n "(cached) " >&6
64032 else
64033
64034
64035       ac_ext=cpp
64036 ac_cpp='$CXXCPP $CPPFLAGS'
64037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64040
64041       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64042 /* end confdefs.h.  */
64043 #include <math.h>
64044                       #ifdef HAVE_IEEEFP_H
64045                       #include <ieeefp.h>
64046                       #endif
64047
64048 int
64049 main ()
64050 {
64051  isinf(0);
64052   ;
64053   return 0;
64054 }
64055 _ACEOF
64056 if ac_fn_cxx_try_compile "$LINENO"; then :
64057   glibcxx_cv_func_isinf_use=yes
64058 else
64059   glibcxx_cv_func_isinf_use=no
64060 fi
64061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64062       ac_ext=c
64063 ac_cpp='$CPP $CPPFLAGS'
64064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64067
64068
64069 fi
64070
64071   fi
64072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
64073 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
64074
64075   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64076     for ac_func in isinf
64077 do :
64078   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
64079 if test "x$ac_cv_func_isinf" = x""yes; then :
64080   cat >>confdefs.h <<_ACEOF
64081 #define HAVE_ISINF 1
64082 _ACEOF
64083
64084 fi
64085 done
64086
64087   else
64088
64089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
64090 $as_echo_n "checking for _isinf declaration... " >&6; }
64091   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64092     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
64093   $as_echo_n "(cached) " >&6
64094 else
64095
64096
64097       ac_ext=cpp
64098 ac_cpp='$CXXCPP $CPPFLAGS'
64099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64102
64103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64104 /* end confdefs.h.  */
64105 #include <math.h>
64106                       #ifdef HAVE_IEEEFP_H
64107                       #include <ieeefp.h>
64108                       #endif
64109
64110 int
64111 main ()
64112 {
64113  _isinf(0);
64114   ;
64115   return 0;
64116 }
64117 _ACEOF
64118 if ac_fn_cxx_try_compile "$LINENO"; then :
64119   glibcxx_cv_func__isinf_use=yes
64120 else
64121   glibcxx_cv_func__isinf_use=no
64122 fi
64123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64124       ac_ext=c
64125 ac_cpp='$CPP $CPPFLAGS'
64126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64129
64130
64131 fi
64132
64133   fi
64134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64135 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64136
64137     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64138       for ac_func in _isinf
64139 do :
64140   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64141 if test "x$ac_cv_func__isinf" = x""yes; then :
64142   cat >>confdefs.h <<_ACEOF
64143 #define HAVE__ISINF 1
64144 _ACEOF
64145
64146 fi
64147 done
64148
64149     fi
64150   fi
64151
64152
64153
64154
64155
64156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64157 $as_echo_n "checking for isnan declaration... " >&6; }
64158   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64159     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64160   $as_echo_n "(cached) " >&6
64161 else
64162
64163
64164       ac_ext=cpp
64165 ac_cpp='$CXXCPP $CPPFLAGS'
64166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64169
64170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64171 /* end confdefs.h.  */
64172 #include <math.h>
64173                       #ifdef HAVE_IEEEFP_H
64174                       #include <ieeefp.h>
64175                       #endif
64176
64177 int
64178 main ()
64179 {
64180  isnan(0);
64181   ;
64182   return 0;
64183 }
64184 _ACEOF
64185 if ac_fn_cxx_try_compile "$LINENO"; then :
64186   glibcxx_cv_func_isnan_use=yes
64187 else
64188   glibcxx_cv_func_isnan_use=no
64189 fi
64190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64191       ac_ext=c
64192 ac_cpp='$CPP $CPPFLAGS'
64193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64196
64197
64198 fi
64199
64200   fi
64201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64202 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64203
64204   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64205     for ac_func in isnan
64206 do :
64207   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64208 if test "x$ac_cv_func_isnan" = x""yes; then :
64209   cat >>confdefs.h <<_ACEOF
64210 #define HAVE_ISNAN 1
64211 _ACEOF
64212
64213 fi
64214 done
64215
64216   else
64217
64218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64219 $as_echo_n "checking for _isnan declaration... " >&6; }
64220   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64221     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64222   $as_echo_n "(cached) " >&6
64223 else
64224
64225
64226       ac_ext=cpp
64227 ac_cpp='$CXXCPP $CPPFLAGS'
64228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64231
64232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64233 /* end confdefs.h.  */
64234 #include <math.h>
64235                       #ifdef HAVE_IEEEFP_H
64236                       #include <ieeefp.h>
64237                       #endif
64238
64239 int
64240 main ()
64241 {
64242  _isnan(0);
64243   ;
64244   return 0;
64245 }
64246 _ACEOF
64247 if ac_fn_cxx_try_compile "$LINENO"; then :
64248   glibcxx_cv_func__isnan_use=yes
64249 else
64250   glibcxx_cv_func__isnan_use=no
64251 fi
64252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64253       ac_ext=c
64254 ac_cpp='$CPP $CPPFLAGS'
64255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64258
64259
64260 fi
64261
64262   fi
64263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64264 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64265
64266     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64267       for ac_func in _isnan
64268 do :
64269   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64270 if test "x$ac_cv_func__isnan" = x""yes; then :
64271   cat >>confdefs.h <<_ACEOF
64272 #define HAVE__ISNAN 1
64273 _ACEOF
64274
64275 fi
64276 done
64277
64278     fi
64279   fi
64280
64281
64282
64283
64284
64285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64286 $as_echo_n "checking for finite declaration... " >&6; }
64287   if test x${glibcxx_cv_func_finite_use+set} != xset; then
64288     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64289   $as_echo_n "(cached) " >&6
64290 else
64291
64292
64293       ac_ext=cpp
64294 ac_cpp='$CXXCPP $CPPFLAGS'
64295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64298
64299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64300 /* end confdefs.h.  */
64301 #include <math.h>
64302                       #ifdef HAVE_IEEEFP_H
64303                       #include <ieeefp.h>
64304                       #endif
64305
64306 int
64307 main ()
64308 {
64309  finite(0);
64310   ;
64311   return 0;
64312 }
64313 _ACEOF
64314 if ac_fn_cxx_try_compile "$LINENO"; then :
64315   glibcxx_cv_func_finite_use=yes
64316 else
64317   glibcxx_cv_func_finite_use=no
64318 fi
64319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64320       ac_ext=c
64321 ac_cpp='$CPP $CPPFLAGS'
64322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64325
64326
64327 fi
64328
64329   fi
64330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64331 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64332
64333   if test x$glibcxx_cv_func_finite_use = x"yes"; then
64334     for ac_func in finite
64335 do :
64336   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64337 if test "x$ac_cv_func_finite" = x""yes; then :
64338   cat >>confdefs.h <<_ACEOF
64339 #define HAVE_FINITE 1
64340 _ACEOF
64341
64342 fi
64343 done
64344
64345   else
64346
64347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64348 $as_echo_n "checking for _finite declaration... " >&6; }
64349   if test x${glibcxx_cv_func__finite_use+set} != xset; then
64350     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64351   $as_echo_n "(cached) " >&6
64352 else
64353
64354
64355       ac_ext=cpp
64356 ac_cpp='$CXXCPP $CPPFLAGS'
64357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64360
64361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64362 /* end confdefs.h.  */
64363 #include <math.h>
64364                       #ifdef HAVE_IEEEFP_H
64365                       #include <ieeefp.h>
64366                       #endif
64367
64368 int
64369 main ()
64370 {
64371  _finite(0);
64372   ;
64373   return 0;
64374 }
64375 _ACEOF
64376 if ac_fn_cxx_try_compile "$LINENO"; then :
64377   glibcxx_cv_func__finite_use=yes
64378 else
64379   glibcxx_cv_func__finite_use=no
64380 fi
64381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64382       ac_ext=c
64383 ac_cpp='$CPP $CPPFLAGS'
64384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64387
64388
64389 fi
64390
64391   fi
64392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64393 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64394
64395     if test x$glibcxx_cv_func__finite_use = x"yes"; then
64396       for ac_func in _finite
64397 do :
64398   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64399 if test "x$ac_cv_func__finite" = x""yes; then :
64400   cat >>confdefs.h <<_ACEOF
64401 #define HAVE__FINITE 1
64402 _ACEOF
64403
64404 fi
64405 done
64406
64407     fi
64408   fi
64409
64410
64411
64412
64413
64414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64415 $as_echo_n "checking for sincos declaration... " >&6; }
64416   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64417     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64418   $as_echo_n "(cached) " >&6
64419 else
64420
64421
64422       ac_ext=cpp
64423 ac_cpp='$CXXCPP $CPPFLAGS'
64424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64427
64428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64429 /* end confdefs.h.  */
64430 #include <math.h>
64431 int
64432 main ()
64433 {
64434  sincos(0, 0, 0);
64435   ;
64436   return 0;
64437 }
64438 _ACEOF
64439 if ac_fn_cxx_try_compile "$LINENO"; then :
64440   glibcxx_cv_func_sincos_use=yes
64441 else
64442   glibcxx_cv_func_sincos_use=no
64443 fi
64444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64445       ac_ext=c
64446 ac_cpp='$CPP $CPPFLAGS'
64447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64450
64451
64452 fi
64453
64454   fi
64455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64456 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64457
64458   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64459     for ac_func in sincos
64460 do :
64461   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64462 if test "x$ac_cv_func_sincos" = x""yes; then :
64463   cat >>confdefs.h <<_ACEOF
64464 #define HAVE_SINCOS 1
64465 _ACEOF
64466
64467 fi
64468 done
64469
64470   else
64471
64472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64473 $as_echo_n "checking for _sincos declaration... " >&6; }
64474   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64475     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64476   $as_echo_n "(cached) " >&6
64477 else
64478
64479
64480       ac_ext=cpp
64481 ac_cpp='$CXXCPP $CPPFLAGS'
64482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64485
64486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64487 /* end confdefs.h.  */
64488 #include <math.h>
64489 int
64490 main ()
64491 {
64492  _sincos(0, 0, 0);
64493   ;
64494   return 0;
64495 }
64496 _ACEOF
64497 if ac_fn_cxx_try_compile "$LINENO"; then :
64498   glibcxx_cv_func__sincos_use=yes
64499 else
64500   glibcxx_cv_func__sincos_use=no
64501 fi
64502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64503       ac_ext=c
64504 ac_cpp='$CPP $CPPFLAGS'
64505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64508
64509
64510 fi
64511
64512   fi
64513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64514 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64515
64516     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64517       for ac_func in _sincos
64518 do :
64519   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64520 if test "x$ac_cv_func__sincos" = x""yes; then :
64521   cat >>confdefs.h <<_ACEOF
64522 #define HAVE__SINCOS 1
64523 _ACEOF
64524
64525 fi
64526 done
64527
64528     fi
64529   fi
64530
64531
64532
64533
64534
64535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64536 $as_echo_n "checking for fpclass declaration... " >&6; }
64537   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64538     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64539   $as_echo_n "(cached) " >&6
64540 else
64541
64542
64543       ac_ext=cpp
64544 ac_cpp='$CXXCPP $CPPFLAGS'
64545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64548
64549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64550 /* end confdefs.h.  */
64551 #include <math.h>
64552                       #ifdef HAVE_IEEEFP_H
64553                       #include <ieeefp.h>
64554                       #endif
64555
64556 int
64557 main ()
64558 {
64559  fpclass(0);
64560   ;
64561   return 0;
64562 }
64563 _ACEOF
64564 if ac_fn_cxx_try_compile "$LINENO"; then :
64565   glibcxx_cv_func_fpclass_use=yes
64566 else
64567   glibcxx_cv_func_fpclass_use=no
64568 fi
64569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64570       ac_ext=c
64571 ac_cpp='$CPP $CPPFLAGS'
64572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64575
64576
64577 fi
64578
64579   fi
64580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64581 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64582
64583   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64584     for ac_func in fpclass
64585 do :
64586   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64587 if test "x$ac_cv_func_fpclass" = x""yes; then :
64588   cat >>confdefs.h <<_ACEOF
64589 #define HAVE_FPCLASS 1
64590 _ACEOF
64591
64592 fi
64593 done
64594
64595   else
64596
64597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64598 $as_echo_n "checking for _fpclass declaration... " >&6; }
64599   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64600     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64601   $as_echo_n "(cached) " >&6
64602 else
64603
64604
64605       ac_ext=cpp
64606 ac_cpp='$CXXCPP $CPPFLAGS'
64607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64610
64611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64612 /* end confdefs.h.  */
64613 #include <math.h>
64614                       #ifdef HAVE_IEEEFP_H
64615                       #include <ieeefp.h>
64616                       #endif
64617
64618 int
64619 main ()
64620 {
64621  _fpclass(0);
64622   ;
64623   return 0;
64624 }
64625 _ACEOF
64626 if ac_fn_cxx_try_compile "$LINENO"; then :
64627   glibcxx_cv_func__fpclass_use=yes
64628 else
64629   glibcxx_cv_func__fpclass_use=no
64630 fi
64631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64632       ac_ext=c
64633 ac_cpp='$CPP $CPPFLAGS'
64634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64637
64638
64639 fi
64640
64641   fi
64642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64643 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64644
64645     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64646       for ac_func in _fpclass
64647 do :
64648   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64649 if test "x$ac_cv_func__fpclass" = x""yes; then :
64650   cat >>confdefs.h <<_ACEOF
64651 #define HAVE__FPCLASS 1
64652 _ACEOF
64653
64654 fi
64655 done
64656
64657     fi
64658   fi
64659
64660
64661
64662
64663
64664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64665 $as_echo_n "checking for qfpclass declaration... " >&6; }
64666   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64667     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64668   $as_echo_n "(cached) " >&6
64669 else
64670
64671
64672       ac_ext=cpp
64673 ac_cpp='$CXXCPP $CPPFLAGS'
64674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64677
64678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64679 /* end confdefs.h.  */
64680 #include <math.h>
64681                       #ifdef HAVE_IEEEFP_H
64682                       #include <ieeefp.h>
64683                       #endif
64684
64685 int
64686 main ()
64687 {
64688  qfpclass(0);
64689   ;
64690   return 0;
64691 }
64692 _ACEOF
64693 if ac_fn_cxx_try_compile "$LINENO"; then :
64694   glibcxx_cv_func_qfpclass_use=yes
64695 else
64696   glibcxx_cv_func_qfpclass_use=no
64697 fi
64698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64699       ac_ext=c
64700 ac_cpp='$CPP $CPPFLAGS'
64701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64704
64705
64706 fi
64707
64708   fi
64709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64710 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64711
64712   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64713     for ac_func in qfpclass
64714 do :
64715   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64716 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64717   cat >>confdefs.h <<_ACEOF
64718 #define HAVE_QFPCLASS 1
64719 _ACEOF
64720
64721 fi
64722 done
64723
64724   else
64725
64726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64727 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64728   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64729     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64730   $as_echo_n "(cached) " >&6
64731 else
64732
64733
64734       ac_ext=cpp
64735 ac_cpp='$CXXCPP $CPPFLAGS'
64736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64739
64740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64741 /* end confdefs.h.  */
64742 #include <math.h>
64743                       #ifdef HAVE_IEEEFP_H
64744                       #include <ieeefp.h>
64745                       #endif
64746
64747 int
64748 main ()
64749 {
64750  _qfpclass(0);
64751   ;
64752   return 0;
64753 }
64754 _ACEOF
64755 if ac_fn_cxx_try_compile "$LINENO"; then :
64756   glibcxx_cv_func__qfpclass_use=yes
64757 else
64758   glibcxx_cv_func__qfpclass_use=no
64759 fi
64760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64761       ac_ext=c
64762 ac_cpp='$CPP $CPPFLAGS'
64763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64766
64767
64768 fi
64769
64770   fi
64771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64772 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64773
64774     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64775       for ac_func in _qfpclass
64776 do :
64777   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64778 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64779   cat >>confdefs.h <<_ACEOF
64780 #define HAVE__QFPCLASS 1
64781 _ACEOF
64782
64783 fi
64784 done
64785
64786     fi
64787   fi
64788
64789
64790
64791
64792
64793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64794 $as_echo_n "checking for hypot declaration... " >&6; }
64795   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64796     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64797   $as_echo_n "(cached) " >&6
64798 else
64799
64800
64801       ac_ext=cpp
64802 ac_cpp='$CXXCPP $CPPFLAGS'
64803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64806
64807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64808 /* end confdefs.h.  */
64809 #include <math.h>
64810 int
64811 main ()
64812 {
64813  hypot(0, 0);
64814   ;
64815   return 0;
64816 }
64817 _ACEOF
64818 if ac_fn_cxx_try_compile "$LINENO"; then :
64819   glibcxx_cv_func_hypot_use=yes
64820 else
64821   glibcxx_cv_func_hypot_use=no
64822 fi
64823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64824       ac_ext=c
64825 ac_cpp='$CPP $CPPFLAGS'
64826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64829
64830
64831 fi
64832
64833   fi
64834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64835 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64836
64837   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64838     for ac_func in hypot
64839 do :
64840   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64841 if test "x$ac_cv_func_hypot" = x""yes; then :
64842   cat >>confdefs.h <<_ACEOF
64843 #define HAVE_HYPOT 1
64844 _ACEOF
64845
64846 fi
64847 done
64848
64849   else
64850
64851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64852 $as_echo_n "checking for _hypot declaration... " >&6; }
64853   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64854     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64855   $as_echo_n "(cached) " >&6
64856 else
64857
64858
64859       ac_ext=cpp
64860 ac_cpp='$CXXCPP $CPPFLAGS'
64861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64864
64865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64866 /* end confdefs.h.  */
64867 #include <math.h>
64868 int
64869 main ()
64870 {
64871  _hypot(0, 0);
64872   ;
64873   return 0;
64874 }
64875 _ACEOF
64876 if ac_fn_cxx_try_compile "$LINENO"; then :
64877   glibcxx_cv_func__hypot_use=yes
64878 else
64879   glibcxx_cv_func__hypot_use=no
64880 fi
64881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64882       ac_ext=c
64883 ac_cpp='$CPP $CPPFLAGS'
64884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64887
64888
64889 fi
64890
64891   fi
64892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64893 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64894
64895     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64896       for ac_func in _hypot
64897 do :
64898   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64899 if test "x$ac_cv_func__hypot" = x""yes; then :
64900   cat >>confdefs.h <<_ACEOF
64901 #define HAVE__HYPOT 1
64902 _ACEOF
64903
64904 fi
64905 done
64906
64907     fi
64908   fi
64909
64910
64911
64912
64913
64914     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64915 $as_echo_n "checking for float trig functions... " >&6; }
64916   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64917   $as_echo_n "(cached) " >&6
64918 else
64919
64920
64921     ac_ext=cpp
64922 ac_cpp='$CXXCPP $CPPFLAGS'
64923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64926
64927     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64928 /* end confdefs.h.  */
64929 #include <math.h>
64930 int
64931 main ()
64932 {
64933 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64934   ;
64935   return 0;
64936 }
64937 _ACEOF
64938 if ac_fn_cxx_try_compile "$LINENO"; then :
64939   glibcxx_cv_func_float_trig_use=yes
64940 else
64941   glibcxx_cv_func_float_trig_use=no
64942 fi
64943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64944     ac_ext=c
64945 ac_cpp='$CPP $CPPFLAGS'
64946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64949
64950 fi
64951
64952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64953 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64954   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64955     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64956 do :
64957   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64958 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64959 eval as_val=\$$as_ac_var
64960    if test "x$as_val" = x""yes; then :
64961   cat >>confdefs.h <<_ACEOF
64962 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64963 _ACEOF
64964
64965 fi
64966 done
64967
64968   else
64969     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64970 $as_echo_n "checking for _float trig functions... " >&6; }
64971     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64972   $as_echo_n "(cached) " >&6
64973 else
64974
64975
64976       ac_ext=cpp
64977 ac_cpp='$CXXCPP $CPPFLAGS'
64978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64981
64982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64983 /* end confdefs.h.  */
64984 #include <math.h>
64985 int
64986 main ()
64987 {
64988 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64989   ;
64990   return 0;
64991 }
64992 _ACEOF
64993 if ac_fn_cxx_try_compile "$LINENO"; then :
64994   glibcxx_cv_func__float_trig_use=yes
64995 else
64996   glibcxx_cv_func__float_trig_use=no
64997 fi
64998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64999       ac_ext=c
65000 ac_cpp='$CPP $CPPFLAGS'
65001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65004
65005 fi
65006
65007     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65008 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65009     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65010       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65011 do :
65012   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65014 eval as_val=\$$as_ac_var
65015    if test "x$as_val" = x""yes; then :
65016   cat >>confdefs.h <<_ACEOF
65017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65018 _ACEOF
65019
65020 fi
65021 done
65022
65023     fi
65024   fi
65025
65026
65027
65028
65029
65030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65031 $as_echo_n "checking for float round functions... " >&6; }
65032   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65033   $as_echo_n "(cached) " >&6
65034 else
65035
65036
65037     ac_ext=cpp
65038 ac_cpp='$CXXCPP $CPPFLAGS'
65039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65042
65043     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65044 /* end confdefs.h.  */
65045 #include <math.h>
65046 int
65047 main ()
65048 {
65049 ceilf (0); floorf (0);
65050   ;
65051   return 0;
65052 }
65053 _ACEOF
65054 if ac_fn_cxx_try_compile "$LINENO"; then :
65055   glibcxx_cv_func_float_round_use=yes
65056 else
65057   glibcxx_cv_func_float_round_use=no
65058 fi
65059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65060     ac_ext=c
65061 ac_cpp='$CPP $CPPFLAGS'
65062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65065
65066 fi
65067
65068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
65069 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
65070   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65071     for ac_func in ceilf floorf
65072 do :
65073   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65075 eval as_val=\$$as_ac_var
65076    if test "x$as_val" = x""yes; then :
65077   cat >>confdefs.h <<_ACEOF
65078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65079 _ACEOF
65080
65081 fi
65082 done
65083
65084   else
65085     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
65086 $as_echo_n "checking for _float round functions... " >&6; }
65087     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
65088   $as_echo_n "(cached) " >&6
65089 else
65090
65091
65092       ac_ext=cpp
65093 ac_cpp='$CXXCPP $CPPFLAGS'
65094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65097
65098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65099 /* end confdefs.h.  */
65100 #include <math.h>
65101 int
65102 main ()
65103 {
65104 _ceilf (0); _floorf (0);
65105   ;
65106   return 0;
65107 }
65108 _ACEOF
65109 if ac_fn_cxx_try_compile "$LINENO"; then :
65110   glibcxx_cv_func__float_round_use=yes
65111 else
65112   glibcxx_cv_func__float_round_use=no
65113 fi
65114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65115       ac_ext=c
65116 ac_cpp='$CPP $CPPFLAGS'
65117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65120
65121 fi
65122
65123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65124 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65125     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65126       for ac_func in _ceilf _floorf
65127 do :
65128   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65130 eval as_val=\$$as_ac_var
65131    if test "x$as_val" = x""yes; then :
65132   cat >>confdefs.h <<_ACEOF
65133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65134 _ACEOF
65135
65136 fi
65137 done
65138
65139     fi
65140   fi
65141
65142
65143
65144
65145
65146
65147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65148 $as_echo_n "checking for expf declaration... " >&6; }
65149   if test x${glibcxx_cv_func_expf_use+set} != xset; then
65150     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65151   $as_echo_n "(cached) " >&6
65152 else
65153
65154
65155       ac_ext=cpp
65156 ac_cpp='$CXXCPP $CPPFLAGS'
65157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65160
65161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65162 /* end confdefs.h.  */
65163 #include <math.h>
65164                       #ifdef HAVE_IEEEFP_H
65165                       #include <ieeefp.h>
65166                       #endif
65167
65168 int
65169 main ()
65170 {
65171  expf(0);
65172   ;
65173   return 0;
65174 }
65175 _ACEOF
65176 if ac_fn_cxx_try_compile "$LINENO"; then :
65177   glibcxx_cv_func_expf_use=yes
65178 else
65179   glibcxx_cv_func_expf_use=no
65180 fi
65181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65182       ac_ext=c
65183 ac_cpp='$CPP $CPPFLAGS'
65184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65187
65188
65189 fi
65190
65191   fi
65192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65193 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65194
65195   if test x$glibcxx_cv_func_expf_use = x"yes"; then
65196     for ac_func in expf
65197 do :
65198   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65199 if test "x$ac_cv_func_expf" = x""yes; then :
65200   cat >>confdefs.h <<_ACEOF
65201 #define HAVE_EXPF 1
65202 _ACEOF
65203
65204 fi
65205 done
65206
65207   else
65208
65209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65210 $as_echo_n "checking for _expf declaration... " >&6; }
65211   if test x${glibcxx_cv_func__expf_use+set} != xset; then
65212     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65213   $as_echo_n "(cached) " >&6
65214 else
65215
65216
65217       ac_ext=cpp
65218 ac_cpp='$CXXCPP $CPPFLAGS'
65219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65222
65223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65224 /* end confdefs.h.  */
65225 #include <math.h>
65226                       #ifdef HAVE_IEEEFP_H
65227                       #include <ieeefp.h>
65228                       #endif
65229
65230 int
65231 main ()
65232 {
65233  _expf(0);
65234   ;
65235   return 0;
65236 }
65237 _ACEOF
65238 if ac_fn_cxx_try_compile "$LINENO"; then :
65239   glibcxx_cv_func__expf_use=yes
65240 else
65241   glibcxx_cv_func__expf_use=no
65242 fi
65243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65244       ac_ext=c
65245 ac_cpp='$CPP $CPPFLAGS'
65246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65249
65250
65251 fi
65252
65253   fi
65254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65255 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65256
65257     if test x$glibcxx_cv_func__expf_use = x"yes"; then
65258       for ac_func in _expf
65259 do :
65260   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65261 if test "x$ac_cv_func__expf" = x""yes; then :
65262   cat >>confdefs.h <<_ACEOF
65263 #define HAVE__EXPF 1
65264 _ACEOF
65265
65266 fi
65267 done
65268
65269     fi
65270   fi
65271
65272
65273
65274
65275
65276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65277 $as_echo_n "checking for isnanf declaration... " >&6; }
65278   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65279     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65280   $as_echo_n "(cached) " >&6
65281 else
65282
65283
65284       ac_ext=cpp
65285 ac_cpp='$CXXCPP $CPPFLAGS'
65286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65289
65290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65291 /* end confdefs.h.  */
65292 #include <math.h>
65293                       #ifdef HAVE_IEEEFP_H
65294                       #include <ieeefp.h>
65295                       #endif
65296
65297 int
65298 main ()
65299 {
65300  isnanf(0);
65301   ;
65302   return 0;
65303 }
65304 _ACEOF
65305 if ac_fn_cxx_try_compile "$LINENO"; then :
65306   glibcxx_cv_func_isnanf_use=yes
65307 else
65308   glibcxx_cv_func_isnanf_use=no
65309 fi
65310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65311       ac_ext=c
65312 ac_cpp='$CPP $CPPFLAGS'
65313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65316
65317
65318 fi
65319
65320   fi
65321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65322 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65323
65324   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65325     for ac_func in isnanf
65326 do :
65327   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65328 if test "x$ac_cv_func_isnanf" = x""yes; then :
65329   cat >>confdefs.h <<_ACEOF
65330 #define HAVE_ISNANF 1
65331 _ACEOF
65332
65333 fi
65334 done
65335
65336   else
65337
65338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65339 $as_echo_n "checking for _isnanf declaration... " >&6; }
65340   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65341     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65342   $as_echo_n "(cached) " >&6
65343 else
65344
65345
65346       ac_ext=cpp
65347 ac_cpp='$CXXCPP $CPPFLAGS'
65348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65351
65352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65353 /* end confdefs.h.  */
65354 #include <math.h>
65355                       #ifdef HAVE_IEEEFP_H
65356                       #include <ieeefp.h>
65357                       #endif
65358
65359 int
65360 main ()
65361 {
65362  _isnanf(0);
65363   ;
65364   return 0;
65365 }
65366 _ACEOF
65367 if ac_fn_cxx_try_compile "$LINENO"; then :
65368   glibcxx_cv_func__isnanf_use=yes
65369 else
65370   glibcxx_cv_func__isnanf_use=no
65371 fi
65372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65373       ac_ext=c
65374 ac_cpp='$CPP $CPPFLAGS'
65375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65378
65379
65380 fi
65381
65382   fi
65383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65384 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65385
65386     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65387       for ac_func in _isnanf
65388 do :
65389   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65390 if test "x$ac_cv_func__isnanf" = x""yes; then :
65391   cat >>confdefs.h <<_ACEOF
65392 #define HAVE__ISNANF 1
65393 _ACEOF
65394
65395 fi
65396 done
65397
65398     fi
65399   fi
65400
65401
65402
65403
65404
65405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65406 $as_echo_n "checking for isinff declaration... " >&6; }
65407   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65408     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65409   $as_echo_n "(cached) " >&6
65410 else
65411
65412
65413       ac_ext=cpp
65414 ac_cpp='$CXXCPP $CPPFLAGS'
65415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65418
65419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65420 /* end confdefs.h.  */
65421 #include <math.h>
65422                       #ifdef HAVE_IEEEFP_H
65423                       #include <ieeefp.h>
65424                       #endif
65425
65426 int
65427 main ()
65428 {
65429  isinff(0);
65430   ;
65431   return 0;
65432 }
65433 _ACEOF
65434 if ac_fn_cxx_try_compile "$LINENO"; then :
65435   glibcxx_cv_func_isinff_use=yes
65436 else
65437   glibcxx_cv_func_isinff_use=no
65438 fi
65439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65440       ac_ext=c
65441 ac_cpp='$CPP $CPPFLAGS'
65442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65445
65446
65447 fi
65448
65449   fi
65450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65451 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65452
65453   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65454     for ac_func in isinff
65455 do :
65456   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65457 if test "x$ac_cv_func_isinff" = x""yes; then :
65458   cat >>confdefs.h <<_ACEOF
65459 #define HAVE_ISINFF 1
65460 _ACEOF
65461
65462 fi
65463 done
65464
65465   else
65466
65467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65468 $as_echo_n "checking for _isinff declaration... " >&6; }
65469   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65470     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65471   $as_echo_n "(cached) " >&6
65472 else
65473
65474
65475       ac_ext=cpp
65476 ac_cpp='$CXXCPP $CPPFLAGS'
65477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65480
65481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65482 /* end confdefs.h.  */
65483 #include <math.h>
65484                       #ifdef HAVE_IEEEFP_H
65485                       #include <ieeefp.h>
65486                       #endif
65487
65488 int
65489 main ()
65490 {
65491  _isinff(0);
65492   ;
65493   return 0;
65494 }
65495 _ACEOF
65496 if ac_fn_cxx_try_compile "$LINENO"; then :
65497   glibcxx_cv_func__isinff_use=yes
65498 else
65499   glibcxx_cv_func__isinff_use=no
65500 fi
65501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65502       ac_ext=c
65503 ac_cpp='$CPP $CPPFLAGS'
65504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65507
65508
65509 fi
65510
65511   fi
65512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65513 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65514
65515     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65516       for ac_func in _isinff
65517 do :
65518   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65519 if test "x$ac_cv_func__isinff" = x""yes; then :
65520   cat >>confdefs.h <<_ACEOF
65521 #define HAVE__ISINFF 1
65522 _ACEOF
65523
65524 fi
65525 done
65526
65527     fi
65528   fi
65529
65530
65531
65532
65533
65534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65535 $as_echo_n "checking for atan2f declaration... " >&6; }
65536   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65537     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65538   $as_echo_n "(cached) " >&6
65539 else
65540
65541
65542       ac_ext=cpp
65543 ac_cpp='$CXXCPP $CPPFLAGS'
65544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65547
65548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65549 /* end confdefs.h.  */
65550 #include <math.h>
65551 int
65552 main ()
65553 {
65554  atan2f(0, 0);
65555   ;
65556   return 0;
65557 }
65558 _ACEOF
65559 if ac_fn_cxx_try_compile "$LINENO"; then :
65560   glibcxx_cv_func_atan2f_use=yes
65561 else
65562   glibcxx_cv_func_atan2f_use=no
65563 fi
65564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65565       ac_ext=c
65566 ac_cpp='$CPP $CPPFLAGS'
65567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65570
65571
65572 fi
65573
65574   fi
65575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65576 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65577
65578   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65579     for ac_func in atan2f
65580 do :
65581   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65582 if test "x$ac_cv_func_atan2f" = x""yes; then :
65583   cat >>confdefs.h <<_ACEOF
65584 #define HAVE_ATAN2F 1
65585 _ACEOF
65586
65587 fi
65588 done
65589
65590   else
65591
65592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65593 $as_echo_n "checking for _atan2f declaration... " >&6; }
65594   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65595     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65596   $as_echo_n "(cached) " >&6
65597 else
65598
65599
65600       ac_ext=cpp
65601 ac_cpp='$CXXCPP $CPPFLAGS'
65602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65605
65606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65607 /* end confdefs.h.  */
65608 #include <math.h>
65609 int
65610 main ()
65611 {
65612  _atan2f(0, 0);
65613   ;
65614   return 0;
65615 }
65616 _ACEOF
65617 if ac_fn_cxx_try_compile "$LINENO"; then :
65618   glibcxx_cv_func__atan2f_use=yes
65619 else
65620   glibcxx_cv_func__atan2f_use=no
65621 fi
65622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65623       ac_ext=c
65624 ac_cpp='$CPP $CPPFLAGS'
65625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65628
65629
65630 fi
65631
65632   fi
65633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65634 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65635
65636     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65637       for ac_func in _atan2f
65638 do :
65639   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65640 if test "x$ac_cv_func__atan2f" = x""yes; then :
65641   cat >>confdefs.h <<_ACEOF
65642 #define HAVE__ATAN2F 1
65643 _ACEOF
65644
65645 fi
65646 done
65647
65648     fi
65649   fi
65650
65651
65652
65653
65654
65655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65656 $as_echo_n "checking for fabsf declaration... " >&6; }
65657   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65658     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65659   $as_echo_n "(cached) " >&6
65660 else
65661
65662
65663       ac_ext=cpp
65664 ac_cpp='$CXXCPP $CPPFLAGS'
65665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65668
65669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65670 /* end confdefs.h.  */
65671 #include <math.h>
65672                       #ifdef HAVE_IEEEFP_H
65673                       #include <ieeefp.h>
65674                       #endif
65675
65676 int
65677 main ()
65678 {
65679  fabsf(0);
65680   ;
65681   return 0;
65682 }
65683 _ACEOF
65684 if ac_fn_cxx_try_compile "$LINENO"; then :
65685   glibcxx_cv_func_fabsf_use=yes
65686 else
65687   glibcxx_cv_func_fabsf_use=no
65688 fi
65689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65690       ac_ext=c
65691 ac_cpp='$CPP $CPPFLAGS'
65692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65695
65696
65697 fi
65698
65699   fi
65700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65701 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65702
65703   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65704     for ac_func in fabsf
65705 do :
65706   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65707 if test "x$ac_cv_func_fabsf" = x""yes; then :
65708   cat >>confdefs.h <<_ACEOF
65709 #define HAVE_FABSF 1
65710 _ACEOF
65711
65712 fi
65713 done
65714
65715   else
65716
65717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65718 $as_echo_n "checking for _fabsf declaration... " >&6; }
65719   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65720     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65721   $as_echo_n "(cached) " >&6
65722 else
65723
65724
65725       ac_ext=cpp
65726 ac_cpp='$CXXCPP $CPPFLAGS'
65727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65730
65731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65732 /* end confdefs.h.  */
65733 #include <math.h>
65734                       #ifdef HAVE_IEEEFP_H
65735                       #include <ieeefp.h>
65736                       #endif
65737
65738 int
65739 main ()
65740 {
65741  _fabsf(0);
65742   ;
65743   return 0;
65744 }
65745 _ACEOF
65746 if ac_fn_cxx_try_compile "$LINENO"; then :
65747   glibcxx_cv_func__fabsf_use=yes
65748 else
65749   glibcxx_cv_func__fabsf_use=no
65750 fi
65751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65752       ac_ext=c
65753 ac_cpp='$CPP $CPPFLAGS'
65754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65757
65758
65759 fi
65760
65761   fi
65762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65763 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65764
65765     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65766       for ac_func in _fabsf
65767 do :
65768   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65769 if test "x$ac_cv_func__fabsf" = x""yes; then :
65770   cat >>confdefs.h <<_ACEOF
65771 #define HAVE__FABSF 1
65772 _ACEOF
65773
65774 fi
65775 done
65776
65777     fi
65778   fi
65779
65780
65781
65782
65783
65784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65785 $as_echo_n "checking for fmodf declaration... " >&6; }
65786   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65787     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65788   $as_echo_n "(cached) " >&6
65789 else
65790
65791
65792       ac_ext=cpp
65793 ac_cpp='$CXXCPP $CPPFLAGS'
65794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65797
65798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65799 /* end confdefs.h.  */
65800 #include <math.h>
65801 int
65802 main ()
65803 {
65804  fmodf(0, 0);
65805   ;
65806   return 0;
65807 }
65808 _ACEOF
65809 if ac_fn_cxx_try_compile "$LINENO"; then :
65810   glibcxx_cv_func_fmodf_use=yes
65811 else
65812   glibcxx_cv_func_fmodf_use=no
65813 fi
65814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65815       ac_ext=c
65816 ac_cpp='$CPP $CPPFLAGS'
65817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65820
65821
65822 fi
65823
65824   fi
65825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65826 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65827
65828   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65829     for ac_func in fmodf
65830 do :
65831   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65832 if test "x$ac_cv_func_fmodf" = x""yes; then :
65833   cat >>confdefs.h <<_ACEOF
65834 #define HAVE_FMODF 1
65835 _ACEOF
65836
65837 fi
65838 done
65839
65840   else
65841
65842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65843 $as_echo_n "checking for _fmodf declaration... " >&6; }
65844   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65845     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65846   $as_echo_n "(cached) " >&6
65847 else
65848
65849
65850       ac_ext=cpp
65851 ac_cpp='$CXXCPP $CPPFLAGS'
65852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65855
65856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65857 /* end confdefs.h.  */
65858 #include <math.h>
65859 int
65860 main ()
65861 {
65862  _fmodf(0, 0);
65863   ;
65864   return 0;
65865 }
65866 _ACEOF
65867 if ac_fn_cxx_try_compile "$LINENO"; then :
65868   glibcxx_cv_func__fmodf_use=yes
65869 else
65870   glibcxx_cv_func__fmodf_use=no
65871 fi
65872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65873       ac_ext=c
65874 ac_cpp='$CPP $CPPFLAGS'
65875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65878
65879
65880 fi
65881
65882   fi
65883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65884 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65885
65886     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65887       for ac_func in _fmodf
65888 do :
65889   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65890 if test "x$ac_cv_func__fmodf" = x""yes; then :
65891   cat >>confdefs.h <<_ACEOF
65892 #define HAVE__FMODF 1
65893 _ACEOF
65894
65895 fi
65896 done
65897
65898     fi
65899   fi
65900
65901
65902
65903
65904
65905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65906 $as_echo_n "checking for frexpf declaration... " >&6; }
65907   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65908     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65909   $as_echo_n "(cached) " >&6
65910 else
65911
65912
65913       ac_ext=cpp
65914 ac_cpp='$CXXCPP $CPPFLAGS'
65915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65918
65919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65920 /* end confdefs.h.  */
65921 #include <math.h>
65922 int
65923 main ()
65924 {
65925  frexpf(0, 0);
65926   ;
65927   return 0;
65928 }
65929 _ACEOF
65930 if ac_fn_cxx_try_compile "$LINENO"; then :
65931   glibcxx_cv_func_frexpf_use=yes
65932 else
65933   glibcxx_cv_func_frexpf_use=no
65934 fi
65935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65936       ac_ext=c
65937 ac_cpp='$CPP $CPPFLAGS'
65938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65941
65942
65943 fi
65944
65945   fi
65946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65947 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65948
65949   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65950     for ac_func in frexpf
65951 do :
65952   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65953 if test "x$ac_cv_func_frexpf" = x""yes; then :
65954   cat >>confdefs.h <<_ACEOF
65955 #define HAVE_FREXPF 1
65956 _ACEOF
65957
65958 fi
65959 done
65960
65961   else
65962
65963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65964 $as_echo_n "checking for _frexpf declaration... " >&6; }
65965   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65966     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65967   $as_echo_n "(cached) " >&6
65968 else
65969
65970
65971       ac_ext=cpp
65972 ac_cpp='$CXXCPP $CPPFLAGS'
65973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65976
65977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65978 /* end confdefs.h.  */
65979 #include <math.h>
65980 int
65981 main ()
65982 {
65983  _frexpf(0, 0);
65984   ;
65985   return 0;
65986 }
65987 _ACEOF
65988 if ac_fn_cxx_try_compile "$LINENO"; then :
65989   glibcxx_cv_func__frexpf_use=yes
65990 else
65991   glibcxx_cv_func__frexpf_use=no
65992 fi
65993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65994       ac_ext=c
65995 ac_cpp='$CPP $CPPFLAGS'
65996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65999
66000
66001 fi
66002
66003   fi
66004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
66005 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66006
66007     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66008       for ac_func in _frexpf
66009 do :
66010   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66011 if test "x$ac_cv_func__frexpf" = x""yes; then :
66012   cat >>confdefs.h <<_ACEOF
66013 #define HAVE__FREXPF 1
66014 _ACEOF
66015
66016 fi
66017 done
66018
66019     fi
66020   fi
66021
66022
66023
66024
66025
66026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
66027 $as_echo_n "checking for hypotf declaration... " >&6; }
66028   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66029     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
66030   $as_echo_n "(cached) " >&6
66031 else
66032
66033
66034       ac_ext=cpp
66035 ac_cpp='$CXXCPP $CPPFLAGS'
66036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66039
66040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66041 /* end confdefs.h.  */
66042 #include <math.h>
66043 int
66044 main ()
66045 {
66046  hypotf(0, 0);
66047   ;
66048   return 0;
66049 }
66050 _ACEOF
66051 if ac_fn_cxx_try_compile "$LINENO"; then :
66052   glibcxx_cv_func_hypotf_use=yes
66053 else
66054   glibcxx_cv_func_hypotf_use=no
66055 fi
66056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66057       ac_ext=c
66058 ac_cpp='$CPP $CPPFLAGS'
66059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66062
66063
66064 fi
66065
66066   fi
66067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
66068 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
66069
66070   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
66071     for ac_func in hypotf
66072 do :
66073   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
66074 if test "x$ac_cv_func_hypotf" = x""yes; then :
66075   cat >>confdefs.h <<_ACEOF
66076 #define HAVE_HYPOTF 1
66077 _ACEOF
66078
66079 fi
66080 done
66081
66082   else
66083
66084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
66085 $as_echo_n "checking for _hypotf declaration... " >&6; }
66086   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
66087     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
66088   $as_echo_n "(cached) " >&6
66089 else
66090
66091
66092       ac_ext=cpp
66093 ac_cpp='$CXXCPP $CPPFLAGS'
66094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66097
66098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66099 /* end confdefs.h.  */
66100 #include <math.h>
66101 int
66102 main ()
66103 {
66104  _hypotf(0, 0);
66105   ;
66106   return 0;
66107 }
66108 _ACEOF
66109 if ac_fn_cxx_try_compile "$LINENO"; then :
66110   glibcxx_cv_func__hypotf_use=yes
66111 else
66112   glibcxx_cv_func__hypotf_use=no
66113 fi
66114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66115       ac_ext=c
66116 ac_cpp='$CPP $CPPFLAGS'
66117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66120
66121
66122 fi
66123
66124   fi
66125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66126 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66127
66128     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66129       for ac_func in _hypotf
66130 do :
66131   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66132 if test "x$ac_cv_func__hypotf" = x""yes; then :
66133   cat >>confdefs.h <<_ACEOF
66134 #define HAVE__HYPOTF 1
66135 _ACEOF
66136
66137 fi
66138 done
66139
66140     fi
66141   fi
66142
66143
66144
66145
66146
66147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66148 $as_echo_n "checking for ldexpf declaration... " >&6; }
66149   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66150     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66151   $as_echo_n "(cached) " >&6
66152 else
66153
66154
66155       ac_ext=cpp
66156 ac_cpp='$CXXCPP $CPPFLAGS'
66157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66160
66161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66162 /* end confdefs.h.  */
66163 #include <math.h>
66164 int
66165 main ()
66166 {
66167  ldexpf(0, 0);
66168   ;
66169   return 0;
66170 }
66171 _ACEOF
66172 if ac_fn_cxx_try_compile "$LINENO"; then :
66173   glibcxx_cv_func_ldexpf_use=yes
66174 else
66175   glibcxx_cv_func_ldexpf_use=no
66176 fi
66177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66178       ac_ext=c
66179 ac_cpp='$CPP $CPPFLAGS'
66180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66183
66184
66185 fi
66186
66187   fi
66188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66189 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66190
66191   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66192     for ac_func in ldexpf
66193 do :
66194   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66195 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66196   cat >>confdefs.h <<_ACEOF
66197 #define HAVE_LDEXPF 1
66198 _ACEOF
66199
66200 fi
66201 done
66202
66203   else
66204
66205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66206 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66207   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66208     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66209   $as_echo_n "(cached) " >&6
66210 else
66211
66212
66213       ac_ext=cpp
66214 ac_cpp='$CXXCPP $CPPFLAGS'
66215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66218
66219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66220 /* end confdefs.h.  */
66221 #include <math.h>
66222 int
66223 main ()
66224 {
66225  _ldexpf(0, 0);
66226   ;
66227   return 0;
66228 }
66229 _ACEOF
66230 if ac_fn_cxx_try_compile "$LINENO"; then :
66231   glibcxx_cv_func__ldexpf_use=yes
66232 else
66233   glibcxx_cv_func__ldexpf_use=no
66234 fi
66235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66236       ac_ext=c
66237 ac_cpp='$CPP $CPPFLAGS'
66238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66241
66242
66243 fi
66244
66245   fi
66246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66247 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66248
66249     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66250       for ac_func in _ldexpf
66251 do :
66252   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66253 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66254   cat >>confdefs.h <<_ACEOF
66255 #define HAVE__LDEXPF 1
66256 _ACEOF
66257
66258 fi
66259 done
66260
66261     fi
66262   fi
66263
66264
66265
66266
66267
66268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66269 $as_echo_n "checking for logf declaration... " >&6; }
66270   if test x${glibcxx_cv_func_logf_use+set} != xset; then
66271     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66272   $as_echo_n "(cached) " >&6
66273 else
66274
66275
66276       ac_ext=cpp
66277 ac_cpp='$CXXCPP $CPPFLAGS'
66278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66281
66282       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66283 /* end confdefs.h.  */
66284 #include <math.h>
66285                       #ifdef HAVE_IEEEFP_H
66286                       #include <ieeefp.h>
66287                       #endif
66288
66289 int
66290 main ()
66291 {
66292  logf(0);
66293   ;
66294   return 0;
66295 }
66296 _ACEOF
66297 if ac_fn_cxx_try_compile "$LINENO"; then :
66298   glibcxx_cv_func_logf_use=yes
66299 else
66300   glibcxx_cv_func_logf_use=no
66301 fi
66302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66303       ac_ext=c
66304 ac_cpp='$CPP $CPPFLAGS'
66305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66308
66309
66310 fi
66311
66312   fi
66313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66314 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66315
66316   if test x$glibcxx_cv_func_logf_use = x"yes"; then
66317     for ac_func in logf
66318 do :
66319   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66320 if test "x$ac_cv_func_logf" = x""yes; then :
66321   cat >>confdefs.h <<_ACEOF
66322 #define HAVE_LOGF 1
66323 _ACEOF
66324
66325 fi
66326 done
66327
66328   else
66329
66330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66331 $as_echo_n "checking for _logf declaration... " >&6; }
66332   if test x${glibcxx_cv_func__logf_use+set} != xset; then
66333     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66334   $as_echo_n "(cached) " >&6
66335 else
66336
66337
66338       ac_ext=cpp
66339 ac_cpp='$CXXCPP $CPPFLAGS'
66340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66343
66344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66345 /* end confdefs.h.  */
66346 #include <math.h>
66347                       #ifdef HAVE_IEEEFP_H
66348                       #include <ieeefp.h>
66349                       #endif
66350
66351 int
66352 main ()
66353 {
66354  _logf(0);
66355   ;
66356   return 0;
66357 }
66358 _ACEOF
66359 if ac_fn_cxx_try_compile "$LINENO"; then :
66360   glibcxx_cv_func__logf_use=yes
66361 else
66362   glibcxx_cv_func__logf_use=no
66363 fi
66364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66365       ac_ext=c
66366 ac_cpp='$CPP $CPPFLAGS'
66367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66370
66371
66372 fi
66373
66374   fi
66375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66376 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66377
66378     if test x$glibcxx_cv_func__logf_use = x"yes"; then
66379       for ac_func in _logf
66380 do :
66381   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66382 if test "x$ac_cv_func__logf" = x""yes; then :
66383   cat >>confdefs.h <<_ACEOF
66384 #define HAVE__LOGF 1
66385 _ACEOF
66386
66387 fi
66388 done
66389
66390     fi
66391   fi
66392
66393
66394
66395
66396
66397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66398 $as_echo_n "checking for log10f declaration... " >&6; }
66399   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66400     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66401   $as_echo_n "(cached) " >&6
66402 else
66403
66404
66405       ac_ext=cpp
66406 ac_cpp='$CXXCPP $CPPFLAGS'
66407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66410
66411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66412 /* end confdefs.h.  */
66413 #include <math.h>
66414                       #ifdef HAVE_IEEEFP_H
66415                       #include <ieeefp.h>
66416                       #endif
66417
66418 int
66419 main ()
66420 {
66421  log10f(0);
66422   ;
66423   return 0;
66424 }
66425 _ACEOF
66426 if ac_fn_cxx_try_compile "$LINENO"; then :
66427   glibcxx_cv_func_log10f_use=yes
66428 else
66429   glibcxx_cv_func_log10f_use=no
66430 fi
66431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66432       ac_ext=c
66433 ac_cpp='$CPP $CPPFLAGS'
66434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66437
66438
66439 fi
66440
66441   fi
66442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66443 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66444
66445   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66446     for ac_func in log10f
66447 do :
66448   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66449 if test "x$ac_cv_func_log10f" = x""yes; then :
66450   cat >>confdefs.h <<_ACEOF
66451 #define HAVE_LOG10F 1
66452 _ACEOF
66453
66454 fi
66455 done
66456
66457   else
66458
66459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66460 $as_echo_n "checking for _log10f declaration... " >&6; }
66461   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66462     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66463   $as_echo_n "(cached) " >&6
66464 else
66465
66466
66467       ac_ext=cpp
66468 ac_cpp='$CXXCPP $CPPFLAGS'
66469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66472
66473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66474 /* end confdefs.h.  */
66475 #include <math.h>
66476                       #ifdef HAVE_IEEEFP_H
66477                       #include <ieeefp.h>
66478                       #endif
66479
66480 int
66481 main ()
66482 {
66483  _log10f(0);
66484   ;
66485   return 0;
66486 }
66487 _ACEOF
66488 if ac_fn_cxx_try_compile "$LINENO"; then :
66489   glibcxx_cv_func__log10f_use=yes
66490 else
66491   glibcxx_cv_func__log10f_use=no
66492 fi
66493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66494       ac_ext=c
66495 ac_cpp='$CPP $CPPFLAGS'
66496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66499
66500
66501 fi
66502
66503   fi
66504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66505 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66506
66507     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66508       for ac_func in _log10f
66509 do :
66510   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66511 if test "x$ac_cv_func__log10f" = x""yes; then :
66512   cat >>confdefs.h <<_ACEOF
66513 #define HAVE__LOG10F 1
66514 _ACEOF
66515
66516 fi
66517 done
66518
66519     fi
66520   fi
66521
66522
66523
66524
66525
66526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66527 $as_echo_n "checking for modff declaration... " >&6; }
66528   if test x${glibcxx_cv_func_modff_use+set} != xset; then
66529     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66530   $as_echo_n "(cached) " >&6
66531 else
66532
66533
66534       ac_ext=cpp
66535 ac_cpp='$CXXCPP $CPPFLAGS'
66536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66539
66540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66541 /* end confdefs.h.  */
66542 #include <math.h>
66543 int
66544 main ()
66545 {
66546  modff(0, 0);
66547   ;
66548   return 0;
66549 }
66550 _ACEOF
66551 if ac_fn_cxx_try_compile "$LINENO"; then :
66552   glibcxx_cv_func_modff_use=yes
66553 else
66554   glibcxx_cv_func_modff_use=no
66555 fi
66556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66557       ac_ext=c
66558 ac_cpp='$CPP $CPPFLAGS'
66559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66562
66563
66564 fi
66565
66566   fi
66567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66568 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66569
66570   if test x$glibcxx_cv_func_modff_use = x"yes"; then
66571     for ac_func in modff
66572 do :
66573   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66574 if test "x$ac_cv_func_modff" = x""yes; then :
66575   cat >>confdefs.h <<_ACEOF
66576 #define HAVE_MODFF 1
66577 _ACEOF
66578
66579 fi
66580 done
66581
66582   else
66583
66584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66585 $as_echo_n "checking for _modff declaration... " >&6; }
66586   if test x${glibcxx_cv_func__modff_use+set} != xset; then
66587     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66588   $as_echo_n "(cached) " >&6
66589 else
66590
66591
66592       ac_ext=cpp
66593 ac_cpp='$CXXCPP $CPPFLAGS'
66594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66597
66598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66599 /* end confdefs.h.  */
66600 #include <math.h>
66601 int
66602 main ()
66603 {
66604  _modff(0, 0);
66605   ;
66606   return 0;
66607 }
66608 _ACEOF
66609 if ac_fn_cxx_try_compile "$LINENO"; then :
66610   glibcxx_cv_func__modff_use=yes
66611 else
66612   glibcxx_cv_func__modff_use=no
66613 fi
66614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66615       ac_ext=c
66616 ac_cpp='$CPP $CPPFLAGS'
66617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66620
66621
66622 fi
66623
66624   fi
66625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66626 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66627
66628     if test x$glibcxx_cv_func__modff_use = x"yes"; then
66629       for ac_func in _modff
66630 do :
66631   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66632 if test "x$ac_cv_func__modff" = x""yes; then :
66633   cat >>confdefs.h <<_ACEOF
66634 #define HAVE__MODFF 1
66635 _ACEOF
66636
66637 fi
66638 done
66639
66640     fi
66641   fi
66642
66643
66644
66645
66646
66647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66648 $as_echo_n "checking for modf declaration... " >&6; }
66649   if test x${glibcxx_cv_func_modf_use+set} != xset; then
66650     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66651   $as_echo_n "(cached) " >&6
66652 else
66653
66654
66655       ac_ext=cpp
66656 ac_cpp='$CXXCPP $CPPFLAGS'
66657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66660
66661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66662 /* end confdefs.h.  */
66663 #include <math.h>
66664 int
66665 main ()
66666 {
66667  modf(0, 0);
66668   ;
66669   return 0;
66670 }
66671 _ACEOF
66672 if ac_fn_cxx_try_compile "$LINENO"; then :
66673   glibcxx_cv_func_modf_use=yes
66674 else
66675   glibcxx_cv_func_modf_use=no
66676 fi
66677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66678       ac_ext=c
66679 ac_cpp='$CPP $CPPFLAGS'
66680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66683
66684
66685 fi
66686
66687   fi
66688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66689 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66690
66691   if test x$glibcxx_cv_func_modf_use = x"yes"; then
66692     for ac_func in modf
66693 do :
66694   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66695 if test "x$ac_cv_func_modf" = x""yes; then :
66696   cat >>confdefs.h <<_ACEOF
66697 #define HAVE_MODF 1
66698 _ACEOF
66699
66700 fi
66701 done
66702
66703   else
66704
66705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66706 $as_echo_n "checking for _modf declaration... " >&6; }
66707   if test x${glibcxx_cv_func__modf_use+set} != xset; then
66708     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66709   $as_echo_n "(cached) " >&6
66710 else
66711
66712
66713       ac_ext=cpp
66714 ac_cpp='$CXXCPP $CPPFLAGS'
66715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66718
66719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66720 /* end confdefs.h.  */
66721 #include <math.h>
66722 int
66723 main ()
66724 {
66725  _modf(0, 0);
66726   ;
66727   return 0;
66728 }
66729 _ACEOF
66730 if ac_fn_cxx_try_compile "$LINENO"; then :
66731   glibcxx_cv_func__modf_use=yes
66732 else
66733   glibcxx_cv_func__modf_use=no
66734 fi
66735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66736       ac_ext=c
66737 ac_cpp='$CPP $CPPFLAGS'
66738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66741
66742
66743 fi
66744
66745   fi
66746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66747 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66748
66749     if test x$glibcxx_cv_func__modf_use = x"yes"; then
66750       for ac_func in _modf
66751 do :
66752   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66753 if test "x$ac_cv_func__modf" = x""yes; then :
66754   cat >>confdefs.h <<_ACEOF
66755 #define HAVE__MODF 1
66756 _ACEOF
66757
66758 fi
66759 done
66760
66761     fi
66762   fi
66763
66764
66765
66766
66767
66768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66769 $as_echo_n "checking for powf declaration... " >&6; }
66770   if test x${glibcxx_cv_func_powf_use+set} != xset; then
66771     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66772   $as_echo_n "(cached) " >&6
66773 else
66774
66775
66776       ac_ext=cpp
66777 ac_cpp='$CXXCPP $CPPFLAGS'
66778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66781
66782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66783 /* end confdefs.h.  */
66784 #include <math.h>
66785 int
66786 main ()
66787 {
66788  powf(0, 0);
66789   ;
66790   return 0;
66791 }
66792 _ACEOF
66793 if ac_fn_cxx_try_compile "$LINENO"; then :
66794   glibcxx_cv_func_powf_use=yes
66795 else
66796   glibcxx_cv_func_powf_use=no
66797 fi
66798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66799       ac_ext=c
66800 ac_cpp='$CPP $CPPFLAGS'
66801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66804
66805
66806 fi
66807
66808   fi
66809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66810 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66811
66812   if test x$glibcxx_cv_func_powf_use = x"yes"; then
66813     for ac_func in powf
66814 do :
66815   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66816 if test "x$ac_cv_func_powf" = x""yes; then :
66817   cat >>confdefs.h <<_ACEOF
66818 #define HAVE_POWF 1
66819 _ACEOF
66820
66821 fi
66822 done
66823
66824   else
66825
66826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66827 $as_echo_n "checking for _powf declaration... " >&6; }
66828   if test x${glibcxx_cv_func__powf_use+set} != xset; then
66829     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66830   $as_echo_n "(cached) " >&6
66831 else
66832
66833
66834       ac_ext=cpp
66835 ac_cpp='$CXXCPP $CPPFLAGS'
66836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66839
66840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66841 /* end confdefs.h.  */
66842 #include <math.h>
66843 int
66844 main ()
66845 {
66846  _powf(0, 0);
66847   ;
66848   return 0;
66849 }
66850 _ACEOF
66851 if ac_fn_cxx_try_compile "$LINENO"; then :
66852   glibcxx_cv_func__powf_use=yes
66853 else
66854   glibcxx_cv_func__powf_use=no
66855 fi
66856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66857       ac_ext=c
66858 ac_cpp='$CPP $CPPFLAGS'
66859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66862
66863
66864 fi
66865
66866   fi
66867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66868 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66869
66870     if test x$glibcxx_cv_func__powf_use = x"yes"; then
66871       for ac_func in _powf
66872 do :
66873   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66874 if test "x$ac_cv_func__powf" = x""yes; then :
66875   cat >>confdefs.h <<_ACEOF
66876 #define HAVE__POWF 1
66877 _ACEOF
66878
66879 fi
66880 done
66881
66882     fi
66883   fi
66884
66885
66886
66887
66888
66889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66890 $as_echo_n "checking for sqrtf declaration... " >&6; }
66891   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66892     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66893   $as_echo_n "(cached) " >&6
66894 else
66895
66896
66897       ac_ext=cpp
66898 ac_cpp='$CXXCPP $CPPFLAGS'
66899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66902
66903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66904 /* end confdefs.h.  */
66905 #include <math.h>
66906                       #ifdef HAVE_IEEEFP_H
66907                       #include <ieeefp.h>
66908                       #endif
66909
66910 int
66911 main ()
66912 {
66913  sqrtf(0);
66914   ;
66915   return 0;
66916 }
66917 _ACEOF
66918 if ac_fn_cxx_try_compile "$LINENO"; then :
66919   glibcxx_cv_func_sqrtf_use=yes
66920 else
66921   glibcxx_cv_func_sqrtf_use=no
66922 fi
66923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66924       ac_ext=c
66925 ac_cpp='$CPP $CPPFLAGS'
66926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66929
66930
66931 fi
66932
66933   fi
66934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66935 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66936
66937   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66938     for ac_func in sqrtf
66939 do :
66940   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66941 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66942   cat >>confdefs.h <<_ACEOF
66943 #define HAVE_SQRTF 1
66944 _ACEOF
66945
66946 fi
66947 done
66948
66949   else
66950
66951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66952 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66953   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66954     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66955   $as_echo_n "(cached) " >&6
66956 else
66957
66958
66959       ac_ext=cpp
66960 ac_cpp='$CXXCPP $CPPFLAGS'
66961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66964
66965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66966 /* end confdefs.h.  */
66967 #include <math.h>
66968                       #ifdef HAVE_IEEEFP_H
66969                       #include <ieeefp.h>
66970                       #endif
66971
66972 int
66973 main ()
66974 {
66975  _sqrtf(0);
66976   ;
66977   return 0;
66978 }
66979 _ACEOF
66980 if ac_fn_cxx_try_compile "$LINENO"; then :
66981   glibcxx_cv_func__sqrtf_use=yes
66982 else
66983   glibcxx_cv_func__sqrtf_use=no
66984 fi
66985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66986       ac_ext=c
66987 ac_cpp='$CPP $CPPFLAGS'
66988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66991
66992
66993 fi
66994
66995   fi
66996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66997 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66998
66999     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67000       for ac_func in _sqrtf
67001 do :
67002   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67003 if test "x$ac_cv_func__sqrtf" = x""yes; then :
67004   cat >>confdefs.h <<_ACEOF
67005 #define HAVE__SQRTF 1
67006 _ACEOF
67007
67008 fi
67009 done
67010
67011     fi
67012   fi
67013
67014
67015
67016
67017
67018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
67019 $as_echo_n "checking for sincosf declaration... " >&6; }
67020   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
67021     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
67022   $as_echo_n "(cached) " >&6
67023 else
67024
67025
67026       ac_ext=cpp
67027 ac_cpp='$CXXCPP $CPPFLAGS'
67028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67031
67032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67033 /* end confdefs.h.  */
67034 #include <math.h>
67035 int
67036 main ()
67037 {
67038  sincosf(0, 0, 0);
67039   ;
67040   return 0;
67041 }
67042 _ACEOF
67043 if ac_fn_cxx_try_compile "$LINENO"; then :
67044   glibcxx_cv_func_sincosf_use=yes
67045 else
67046   glibcxx_cv_func_sincosf_use=no
67047 fi
67048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67049       ac_ext=c
67050 ac_cpp='$CPP $CPPFLAGS'
67051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67054
67055
67056 fi
67057
67058   fi
67059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67060 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67061
67062   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67063     for ac_func in sincosf
67064 do :
67065   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67066 if test "x$ac_cv_func_sincosf" = x""yes; then :
67067   cat >>confdefs.h <<_ACEOF
67068 #define HAVE_SINCOSF 1
67069 _ACEOF
67070
67071 fi
67072 done
67073
67074   else
67075
67076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
67077 $as_echo_n "checking for _sincosf declaration... " >&6; }
67078   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
67079     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
67080   $as_echo_n "(cached) " >&6
67081 else
67082
67083
67084       ac_ext=cpp
67085 ac_cpp='$CXXCPP $CPPFLAGS'
67086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67089
67090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67091 /* end confdefs.h.  */
67092 #include <math.h>
67093 int
67094 main ()
67095 {
67096  _sincosf(0, 0, 0);
67097   ;
67098   return 0;
67099 }
67100 _ACEOF
67101 if ac_fn_cxx_try_compile "$LINENO"; then :
67102   glibcxx_cv_func__sincosf_use=yes
67103 else
67104   glibcxx_cv_func__sincosf_use=no
67105 fi
67106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67107       ac_ext=c
67108 ac_cpp='$CPP $CPPFLAGS'
67109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67112
67113
67114 fi
67115
67116   fi
67117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67118 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67119
67120     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67121       for ac_func in _sincosf
67122 do :
67123   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67124 if test "x$ac_cv_func__sincosf" = x""yes; then :
67125   cat >>confdefs.h <<_ACEOF
67126 #define HAVE__SINCOSF 1
67127 _ACEOF
67128
67129 fi
67130 done
67131
67132     fi
67133   fi
67134
67135
67136
67137
67138
67139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67140 $as_echo_n "checking for finitef declaration... " >&6; }
67141   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67142     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67143   $as_echo_n "(cached) " >&6
67144 else
67145
67146
67147       ac_ext=cpp
67148 ac_cpp='$CXXCPP $CPPFLAGS'
67149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67152
67153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67154 /* end confdefs.h.  */
67155 #include <math.h>
67156                       #ifdef HAVE_IEEEFP_H
67157                       #include <ieeefp.h>
67158                       #endif
67159
67160 int
67161 main ()
67162 {
67163  finitef(0);
67164   ;
67165   return 0;
67166 }
67167 _ACEOF
67168 if ac_fn_cxx_try_compile "$LINENO"; then :
67169   glibcxx_cv_func_finitef_use=yes
67170 else
67171   glibcxx_cv_func_finitef_use=no
67172 fi
67173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67174       ac_ext=c
67175 ac_cpp='$CPP $CPPFLAGS'
67176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67179
67180
67181 fi
67182
67183   fi
67184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67185 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67186
67187   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67188     for ac_func in finitef
67189 do :
67190   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67191 if test "x$ac_cv_func_finitef" = x""yes; then :
67192   cat >>confdefs.h <<_ACEOF
67193 #define HAVE_FINITEF 1
67194 _ACEOF
67195
67196 fi
67197 done
67198
67199   else
67200
67201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67202 $as_echo_n "checking for _finitef declaration... " >&6; }
67203   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67204     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67205   $as_echo_n "(cached) " >&6
67206 else
67207
67208
67209       ac_ext=cpp
67210 ac_cpp='$CXXCPP $CPPFLAGS'
67211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67214
67215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67216 /* end confdefs.h.  */
67217 #include <math.h>
67218                       #ifdef HAVE_IEEEFP_H
67219                       #include <ieeefp.h>
67220                       #endif
67221
67222 int
67223 main ()
67224 {
67225  _finitef(0);
67226   ;
67227   return 0;
67228 }
67229 _ACEOF
67230 if ac_fn_cxx_try_compile "$LINENO"; then :
67231   glibcxx_cv_func__finitef_use=yes
67232 else
67233   glibcxx_cv_func__finitef_use=no
67234 fi
67235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67236       ac_ext=c
67237 ac_cpp='$CPP $CPPFLAGS'
67238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67241
67242
67243 fi
67244
67245   fi
67246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67247 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67248
67249     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67250       for ac_func in _finitef
67251 do :
67252   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67253 if test "x$ac_cv_func__finitef" = x""yes; then :
67254   cat >>confdefs.h <<_ACEOF
67255 #define HAVE__FINITEF 1
67256 _ACEOF
67257
67258 fi
67259 done
67260
67261     fi
67262   fi
67263
67264
67265
67266
67267
67268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67269 $as_echo_n "checking for long double trig functions... " >&6; }
67270   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67271   $as_echo_n "(cached) " >&6
67272 else
67273
67274
67275     ac_ext=cpp
67276 ac_cpp='$CXXCPP $CPPFLAGS'
67277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67280
67281     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67282 /* end confdefs.h.  */
67283 #include <math.h>
67284 int
67285 main ()
67286 {
67287 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67288   ;
67289   return 0;
67290 }
67291 _ACEOF
67292 if ac_fn_cxx_try_compile "$LINENO"; then :
67293   glibcxx_cv_func_long_double_trig_use=yes
67294 else
67295   glibcxx_cv_func_long_double_trig_use=no
67296 fi
67297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67298     ac_ext=c
67299 ac_cpp='$CPP $CPPFLAGS'
67300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67303
67304 fi
67305
67306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67307 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67308   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67309     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67310 do :
67311   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67313 eval as_val=\$$as_ac_var
67314    if test "x$as_val" = x""yes; then :
67315   cat >>confdefs.h <<_ACEOF
67316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67317 _ACEOF
67318
67319 fi
67320 done
67321
67322   else
67323     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67324 $as_echo_n "checking for _long double trig functions... " >&6; }
67325     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67326   $as_echo_n "(cached) " >&6
67327 else
67328
67329
67330       ac_ext=cpp
67331 ac_cpp='$CXXCPP $CPPFLAGS'
67332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67335
67336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67337 /* end confdefs.h.  */
67338 #include <math.h>
67339 int
67340 main ()
67341 {
67342 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67343   ;
67344   return 0;
67345 }
67346 _ACEOF
67347 if ac_fn_cxx_try_compile "$LINENO"; then :
67348   glibcxx_cv_func__long_double_trig_use=yes
67349 else
67350   glibcxx_cv_func__long_double_trig_use=no
67351 fi
67352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67353       ac_ext=c
67354 ac_cpp='$CPP $CPPFLAGS'
67355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67358
67359 fi
67360
67361     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67362 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67363     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67364       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67365 do :
67366   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67368 eval as_val=\$$as_ac_var
67369    if test "x$as_val" = x""yes; then :
67370   cat >>confdefs.h <<_ACEOF
67371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67372 _ACEOF
67373
67374 fi
67375 done
67376
67377     fi
67378   fi
67379
67380
67381
67382
67383
67384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67385 $as_echo_n "checking for long double round functions... " >&6; }
67386   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67387   $as_echo_n "(cached) " >&6
67388 else
67389
67390
67391     ac_ext=cpp
67392 ac_cpp='$CXXCPP $CPPFLAGS'
67393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67396
67397     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67398 /* end confdefs.h.  */
67399 #include <math.h>
67400 int
67401 main ()
67402 {
67403 ceill (0); floorl (0);
67404   ;
67405   return 0;
67406 }
67407 _ACEOF
67408 if ac_fn_cxx_try_compile "$LINENO"; then :
67409   glibcxx_cv_func_long_double_round_use=yes
67410 else
67411   glibcxx_cv_func_long_double_round_use=no
67412 fi
67413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67414     ac_ext=c
67415 ac_cpp='$CPP $CPPFLAGS'
67416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67419
67420 fi
67421
67422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67423 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67424   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67425     for ac_func in ceill floorl
67426 do :
67427   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67429 eval as_val=\$$as_ac_var
67430    if test "x$as_val" = x""yes; then :
67431   cat >>confdefs.h <<_ACEOF
67432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67433 _ACEOF
67434
67435 fi
67436 done
67437
67438   else
67439     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67440 $as_echo_n "checking for _long double round functions... " >&6; }
67441     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67442   $as_echo_n "(cached) " >&6
67443 else
67444
67445
67446       ac_ext=cpp
67447 ac_cpp='$CXXCPP $CPPFLAGS'
67448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67451
67452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67453 /* end confdefs.h.  */
67454 #include <math.h>
67455 int
67456 main ()
67457 {
67458 _ceill (0); _floorl (0);
67459   ;
67460   return 0;
67461 }
67462 _ACEOF
67463 if ac_fn_cxx_try_compile "$LINENO"; then :
67464   glibcxx_cv_func__long_double_round_use=yes
67465 else
67466   glibcxx_cv_func__long_double_round_use=no
67467 fi
67468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67469       ac_ext=c
67470 ac_cpp='$CPP $CPPFLAGS'
67471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67474
67475 fi
67476
67477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67478 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67479     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67480       for ac_func in _ceill _floorl
67481 do :
67482   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67484 eval as_val=\$$as_ac_var
67485    if test "x$as_val" = x""yes; then :
67486   cat >>confdefs.h <<_ACEOF
67487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67488 _ACEOF
67489
67490 fi
67491 done
67492
67493     fi
67494   fi
67495
67496
67497
67498
67499
67500
67501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67502 $as_echo_n "checking for isnanl declaration... " >&6; }
67503   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67504     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67505   $as_echo_n "(cached) " >&6
67506 else
67507
67508
67509       ac_ext=cpp
67510 ac_cpp='$CXXCPP $CPPFLAGS'
67511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67514
67515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67516 /* end confdefs.h.  */
67517 #include <math.h>
67518                       #ifdef HAVE_IEEEFP_H
67519                       #include <ieeefp.h>
67520                       #endif
67521
67522 int
67523 main ()
67524 {
67525  isnanl(0);
67526   ;
67527   return 0;
67528 }
67529 _ACEOF
67530 if ac_fn_cxx_try_compile "$LINENO"; then :
67531   glibcxx_cv_func_isnanl_use=yes
67532 else
67533   glibcxx_cv_func_isnanl_use=no
67534 fi
67535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67536       ac_ext=c
67537 ac_cpp='$CPP $CPPFLAGS'
67538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67541
67542
67543 fi
67544
67545   fi
67546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67547 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67548
67549   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67550     for ac_func in isnanl
67551 do :
67552   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67553 if test "x$ac_cv_func_isnanl" = x""yes; then :
67554   cat >>confdefs.h <<_ACEOF
67555 #define HAVE_ISNANL 1
67556 _ACEOF
67557
67558 fi
67559 done
67560
67561   else
67562
67563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67564 $as_echo_n "checking for _isnanl declaration... " >&6; }
67565   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67566     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67567   $as_echo_n "(cached) " >&6
67568 else
67569
67570
67571       ac_ext=cpp
67572 ac_cpp='$CXXCPP $CPPFLAGS'
67573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67576
67577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67578 /* end confdefs.h.  */
67579 #include <math.h>
67580                       #ifdef HAVE_IEEEFP_H
67581                       #include <ieeefp.h>
67582                       #endif
67583
67584 int
67585 main ()
67586 {
67587  _isnanl(0);
67588   ;
67589   return 0;
67590 }
67591 _ACEOF
67592 if ac_fn_cxx_try_compile "$LINENO"; then :
67593   glibcxx_cv_func__isnanl_use=yes
67594 else
67595   glibcxx_cv_func__isnanl_use=no
67596 fi
67597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67598       ac_ext=c
67599 ac_cpp='$CPP $CPPFLAGS'
67600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67603
67604
67605 fi
67606
67607   fi
67608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67609 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67610
67611     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67612       for ac_func in _isnanl
67613 do :
67614   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67615 if test "x$ac_cv_func__isnanl" = x""yes; then :
67616   cat >>confdefs.h <<_ACEOF
67617 #define HAVE__ISNANL 1
67618 _ACEOF
67619
67620 fi
67621 done
67622
67623     fi
67624   fi
67625
67626
67627
67628
67629
67630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67631 $as_echo_n "checking for isinfl declaration... " >&6; }
67632   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67633     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67634   $as_echo_n "(cached) " >&6
67635 else
67636
67637
67638       ac_ext=cpp
67639 ac_cpp='$CXXCPP $CPPFLAGS'
67640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67643
67644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67645 /* end confdefs.h.  */
67646 #include <math.h>
67647                       #ifdef HAVE_IEEEFP_H
67648                       #include <ieeefp.h>
67649                       #endif
67650
67651 int
67652 main ()
67653 {
67654  isinfl(0);
67655   ;
67656   return 0;
67657 }
67658 _ACEOF
67659 if ac_fn_cxx_try_compile "$LINENO"; then :
67660   glibcxx_cv_func_isinfl_use=yes
67661 else
67662   glibcxx_cv_func_isinfl_use=no
67663 fi
67664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67665       ac_ext=c
67666 ac_cpp='$CPP $CPPFLAGS'
67667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67670
67671
67672 fi
67673
67674   fi
67675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67676 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67677
67678   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67679     for ac_func in isinfl
67680 do :
67681   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67682 if test "x$ac_cv_func_isinfl" = x""yes; then :
67683   cat >>confdefs.h <<_ACEOF
67684 #define HAVE_ISINFL 1
67685 _ACEOF
67686
67687 fi
67688 done
67689
67690   else
67691
67692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67693 $as_echo_n "checking for _isinfl declaration... " >&6; }
67694   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67695     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67696   $as_echo_n "(cached) " >&6
67697 else
67698
67699
67700       ac_ext=cpp
67701 ac_cpp='$CXXCPP $CPPFLAGS'
67702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67705
67706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67707 /* end confdefs.h.  */
67708 #include <math.h>
67709                       #ifdef HAVE_IEEEFP_H
67710                       #include <ieeefp.h>
67711                       #endif
67712
67713 int
67714 main ()
67715 {
67716  _isinfl(0);
67717   ;
67718   return 0;
67719 }
67720 _ACEOF
67721 if ac_fn_cxx_try_compile "$LINENO"; then :
67722   glibcxx_cv_func__isinfl_use=yes
67723 else
67724   glibcxx_cv_func__isinfl_use=no
67725 fi
67726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67727       ac_ext=c
67728 ac_cpp='$CPP $CPPFLAGS'
67729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67732
67733
67734 fi
67735
67736   fi
67737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67738 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67739
67740     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67741       for ac_func in _isinfl
67742 do :
67743   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67744 if test "x$ac_cv_func__isinfl" = x""yes; then :
67745   cat >>confdefs.h <<_ACEOF
67746 #define HAVE__ISINFL 1
67747 _ACEOF
67748
67749 fi
67750 done
67751
67752     fi
67753   fi
67754
67755
67756
67757
67758
67759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67760 $as_echo_n "checking for atan2l declaration... " >&6; }
67761   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67762     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67763   $as_echo_n "(cached) " >&6
67764 else
67765
67766
67767       ac_ext=cpp
67768 ac_cpp='$CXXCPP $CPPFLAGS'
67769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67772
67773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67774 /* end confdefs.h.  */
67775 #include <math.h>
67776 int
67777 main ()
67778 {
67779  atan2l(0, 0);
67780   ;
67781   return 0;
67782 }
67783 _ACEOF
67784 if ac_fn_cxx_try_compile "$LINENO"; then :
67785   glibcxx_cv_func_atan2l_use=yes
67786 else
67787   glibcxx_cv_func_atan2l_use=no
67788 fi
67789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67790       ac_ext=c
67791 ac_cpp='$CPP $CPPFLAGS'
67792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67795
67796
67797 fi
67798
67799   fi
67800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67801 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67802
67803   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67804     for ac_func in atan2l
67805 do :
67806   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67807 if test "x$ac_cv_func_atan2l" = x""yes; then :
67808   cat >>confdefs.h <<_ACEOF
67809 #define HAVE_ATAN2L 1
67810 _ACEOF
67811
67812 fi
67813 done
67814
67815   else
67816
67817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67818 $as_echo_n "checking for _atan2l declaration... " >&6; }
67819   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67820     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67821   $as_echo_n "(cached) " >&6
67822 else
67823
67824
67825       ac_ext=cpp
67826 ac_cpp='$CXXCPP $CPPFLAGS'
67827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67830
67831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67832 /* end confdefs.h.  */
67833 #include <math.h>
67834 int
67835 main ()
67836 {
67837  _atan2l(0, 0);
67838   ;
67839   return 0;
67840 }
67841 _ACEOF
67842 if ac_fn_cxx_try_compile "$LINENO"; then :
67843   glibcxx_cv_func__atan2l_use=yes
67844 else
67845   glibcxx_cv_func__atan2l_use=no
67846 fi
67847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67848       ac_ext=c
67849 ac_cpp='$CPP $CPPFLAGS'
67850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67853
67854
67855 fi
67856
67857   fi
67858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67859 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67860
67861     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67862       for ac_func in _atan2l
67863 do :
67864   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67865 if test "x$ac_cv_func__atan2l" = x""yes; then :
67866   cat >>confdefs.h <<_ACEOF
67867 #define HAVE__ATAN2L 1
67868 _ACEOF
67869
67870 fi
67871 done
67872
67873     fi
67874   fi
67875
67876
67877
67878
67879
67880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67881 $as_echo_n "checking for expl declaration... " >&6; }
67882   if test x${glibcxx_cv_func_expl_use+set} != xset; then
67883     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67884   $as_echo_n "(cached) " >&6
67885 else
67886
67887
67888       ac_ext=cpp
67889 ac_cpp='$CXXCPP $CPPFLAGS'
67890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67893
67894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67895 /* end confdefs.h.  */
67896 #include <math.h>
67897                       #ifdef HAVE_IEEEFP_H
67898                       #include <ieeefp.h>
67899                       #endif
67900
67901 int
67902 main ()
67903 {
67904  expl(0);
67905   ;
67906   return 0;
67907 }
67908 _ACEOF
67909 if ac_fn_cxx_try_compile "$LINENO"; then :
67910   glibcxx_cv_func_expl_use=yes
67911 else
67912   glibcxx_cv_func_expl_use=no
67913 fi
67914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67915       ac_ext=c
67916 ac_cpp='$CPP $CPPFLAGS'
67917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67920
67921
67922 fi
67923
67924   fi
67925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67926 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67927
67928   if test x$glibcxx_cv_func_expl_use = x"yes"; then
67929     for ac_func in expl
67930 do :
67931   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67932 if test "x$ac_cv_func_expl" = x""yes; then :
67933   cat >>confdefs.h <<_ACEOF
67934 #define HAVE_EXPL 1
67935 _ACEOF
67936
67937 fi
67938 done
67939
67940   else
67941
67942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67943 $as_echo_n "checking for _expl declaration... " >&6; }
67944   if test x${glibcxx_cv_func__expl_use+set} != xset; then
67945     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67946   $as_echo_n "(cached) " >&6
67947 else
67948
67949
67950       ac_ext=cpp
67951 ac_cpp='$CXXCPP $CPPFLAGS'
67952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67955
67956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67957 /* end confdefs.h.  */
67958 #include <math.h>
67959                       #ifdef HAVE_IEEEFP_H
67960                       #include <ieeefp.h>
67961                       #endif
67962
67963 int
67964 main ()
67965 {
67966  _expl(0);
67967   ;
67968   return 0;
67969 }
67970 _ACEOF
67971 if ac_fn_cxx_try_compile "$LINENO"; then :
67972   glibcxx_cv_func__expl_use=yes
67973 else
67974   glibcxx_cv_func__expl_use=no
67975 fi
67976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67977       ac_ext=c
67978 ac_cpp='$CPP $CPPFLAGS'
67979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67982
67983
67984 fi
67985
67986   fi
67987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67988 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67989
67990     if test x$glibcxx_cv_func__expl_use = x"yes"; then
67991       for ac_func in _expl
67992 do :
67993   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67994 if test "x$ac_cv_func__expl" = x""yes; then :
67995   cat >>confdefs.h <<_ACEOF
67996 #define HAVE__EXPL 1
67997 _ACEOF
67998
67999 fi
68000 done
68001
68002     fi
68003   fi
68004
68005
68006
68007
68008
68009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68010 $as_echo_n "checking for fabsl declaration... " >&6; }
68011   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68012     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68013   $as_echo_n "(cached) " >&6
68014 else
68015
68016
68017       ac_ext=cpp
68018 ac_cpp='$CXXCPP $CPPFLAGS'
68019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68022
68023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68024 /* end confdefs.h.  */
68025 #include <math.h>
68026                       #ifdef HAVE_IEEEFP_H
68027                       #include <ieeefp.h>
68028                       #endif
68029
68030 int
68031 main ()
68032 {
68033  fabsl(0);
68034   ;
68035   return 0;
68036 }
68037 _ACEOF
68038 if ac_fn_cxx_try_compile "$LINENO"; then :
68039   glibcxx_cv_func_fabsl_use=yes
68040 else
68041   glibcxx_cv_func_fabsl_use=no
68042 fi
68043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68044       ac_ext=c
68045 ac_cpp='$CPP $CPPFLAGS'
68046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68049
68050
68051 fi
68052
68053   fi
68054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68055 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68056
68057   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68058     for ac_func in fabsl
68059 do :
68060   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68061 if test "x$ac_cv_func_fabsl" = x""yes; then :
68062   cat >>confdefs.h <<_ACEOF
68063 #define HAVE_FABSL 1
68064 _ACEOF
68065
68066 fi
68067 done
68068
68069   else
68070
68071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
68072 $as_echo_n "checking for _fabsl declaration... " >&6; }
68073   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
68074     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
68075   $as_echo_n "(cached) " >&6
68076 else
68077
68078
68079       ac_ext=cpp
68080 ac_cpp='$CXXCPP $CPPFLAGS'
68081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68084
68085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68086 /* end confdefs.h.  */
68087 #include <math.h>
68088                       #ifdef HAVE_IEEEFP_H
68089                       #include <ieeefp.h>
68090                       #endif
68091
68092 int
68093 main ()
68094 {
68095  _fabsl(0);
68096   ;
68097   return 0;
68098 }
68099 _ACEOF
68100 if ac_fn_cxx_try_compile "$LINENO"; then :
68101   glibcxx_cv_func__fabsl_use=yes
68102 else
68103   glibcxx_cv_func__fabsl_use=no
68104 fi
68105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68106       ac_ext=c
68107 ac_cpp='$CPP $CPPFLAGS'
68108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68111
68112
68113 fi
68114
68115   fi
68116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68117 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68118
68119     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68120       for ac_func in _fabsl
68121 do :
68122   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68123 if test "x$ac_cv_func__fabsl" = x""yes; then :
68124   cat >>confdefs.h <<_ACEOF
68125 #define HAVE__FABSL 1
68126 _ACEOF
68127
68128 fi
68129 done
68130
68131     fi
68132   fi
68133
68134
68135
68136
68137
68138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68139 $as_echo_n "checking for fmodl declaration... " >&6; }
68140   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68141     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68142   $as_echo_n "(cached) " >&6
68143 else
68144
68145
68146       ac_ext=cpp
68147 ac_cpp='$CXXCPP $CPPFLAGS'
68148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68151
68152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68153 /* end confdefs.h.  */
68154 #include <math.h>
68155 int
68156 main ()
68157 {
68158  fmodl(0, 0);
68159   ;
68160   return 0;
68161 }
68162 _ACEOF
68163 if ac_fn_cxx_try_compile "$LINENO"; then :
68164   glibcxx_cv_func_fmodl_use=yes
68165 else
68166   glibcxx_cv_func_fmodl_use=no
68167 fi
68168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68169       ac_ext=c
68170 ac_cpp='$CPP $CPPFLAGS'
68171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68174
68175
68176 fi
68177
68178   fi
68179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68180 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68181
68182   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68183     for ac_func in fmodl
68184 do :
68185   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68186 if test "x$ac_cv_func_fmodl" = x""yes; then :
68187   cat >>confdefs.h <<_ACEOF
68188 #define HAVE_FMODL 1
68189 _ACEOF
68190
68191 fi
68192 done
68193
68194   else
68195
68196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68197 $as_echo_n "checking for _fmodl declaration... " >&6; }
68198   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68199     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68200   $as_echo_n "(cached) " >&6
68201 else
68202
68203
68204       ac_ext=cpp
68205 ac_cpp='$CXXCPP $CPPFLAGS'
68206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68209
68210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68211 /* end confdefs.h.  */
68212 #include <math.h>
68213 int
68214 main ()
68215 {
68216  _fmodl(0, 0);
68217   ;
68218   return 0;
68219 }
68220 _ACEOF
68221 if ac_fn_cxx_try_compile "$LINENO"; then :
68222   glibcxx_cv_func__fmodl_use=yes
68223 else
68224   glibcxx_cv_func__fmodl_use=no
68225 fi
68226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68227       ac_ext=c
68228 ac_cpp='$CPP $CPPFLAGS'
68229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68232
68233
68234 fi
68235
68236   fi
68237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68238 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68239
68240     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68241       for ac_func in _fmodl
68242 do :
68243   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68244 if test "x$ac_cv_func__fmodl" = x""yes; then :
68245   cat >>confdefs.h <<_ACEOF
68246 #define HAVE__FMODL 1
68247 _ACEOF
68248
68249 fi
68250 done
68251
68252     fi
68253   fi
68254
68255
68256
68257
68258
68259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68260 $as_echo_n "checking for frexpl declaration... " >&6; }
68261   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68262     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68263   $as_echo_n "(cached) " >&6
68264 else
68265
68266
68267       ac_ext=cpp
68268 ac_cpp='$CXXCPP $CPPFLAGS'
68269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68272
68273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68274 /* end confdefs.h.  */
68275 #include <math.h>
68276 int
68277 main ()
68278 {
68279  frexpl(0, 0);
68280   ;
68281   return 0;
68282 }
68283 _ACEOF
68284 if ac_fn_cxx_try_compile "$LINENO"; then :
68285   glibcxx_cv_func_frexpl_use=yes
68286 else
68287   glibcxx_cv_func_frexpl_use=no
68288 fi
68289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68290       ac_ext=c
68291 ac_cpp='$CPP $CPPFLAGS'
68292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68295
68296
68297 fi
68298
68299   fi
68300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68301 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68302
68303   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68304     for ac_func in frexpl
68305 do :
68306   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68307 if test "x$ac_cv_func_frexpl" = x""yes; then :
68308   cat >>confdefs.h <<_ACEOF
68309 #define HAVE_FREXPL 1
68310 _ACEOF
68311
68312 fi
68313 done
68314
68315   else
68316
68317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68318 $as_echo_n "checking for _frexpl declaration... " >&6; }
68319   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68320     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68321   $as_echo_n "(cached) " >&6
68322 else
68323
68324
68325       ac_ext=cpp
68326 ac_cpp='$CXXCPP $CPPFLAGS'
68327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68330
68331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68332 /* end confdefs.h.  */
68333 #include <math.h>
68334 int
68335 main ()
68336 {
68337  _frexpl(0, 0);
68338   ;
68339   return 0;
68340 }
68341 _ACEOF
68342 if ac_fn_cxx_try_compile "$LINENO"; then :
68343   glibcxx_cv_func__frexpl_use=yes
68344 else
68345   glibcxx_cv_func__frexpl_use=no
68346 fi
68347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68348       ac_ext=c
68349 ac_cpp='$CPP $CPPFLAGS'
68350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68353
68354
68355 fi
68356
68357   fi
68358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68359 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68360
68361     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68362       for ac_func in _frexpl
68363 do :
68364   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68365 if test "x$ac_cv_func__frexpl" = x""yes; then :
68366   cat >>confdefs.h <<_ACEOF
68367 #define HAVE__FREXPL 1
68368 _ACEOF
68369
68370 fi
68371 done
68372
68373     fi
68374   fi
68375
68376
68377
68378
68379
68380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68381 $as_echo_n "checking for hypotl declaration... " >&6; }
68382   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68383     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68384   $as_echo_n "(cached) " >&6
68385 else
68386
68387
68388       ac_ext=cpp
68389 ac_cpp='$CXXCPP $CPPFLAGS'
68390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68393
68394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68395 /* end confdefs.h.  */
68396 #include <math.h>
68397 int
68398 main ()
68399 {
68400  hypotl(0, 0);
68401   ;
68402   return 0;
68403 }
68404 _ACEOF
68405 if ac_fn_cxx_try_compile "$LINENO"; then :
68406   glibcxx_cv_func_hypotl_use=yes
68407 else
68408   glibcxx_cv_func_hypotl_use=no
68409 fi
68410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68411       ac_ext=c
68412 ac_cpp='$CPP $CPPFLAGS'
68413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68416
68417
68418 fi
68419
68420   fi
68421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68422 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68423
68424   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68425     for ac_func in hypotl
68426 do :
68427   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68428 if test "x$ac_cv_func_hypotl" = x""yes; then :
68429   cat >>confdefs.h <<_ACEOF
68430 #define HAVE_HYPOTL 1
68431 _ACEOF
68432
68433 fi
68434 done
68435
68436   else
68437
68438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68439 $as_echo_n "checking for _hypotl declaration... " >&6; }
68440   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68441     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68442   $as_echo_n "(cached) " >&6
68443 else
68444
68445
68446       ac_ext=cpp
68447 ac_cpp='$CXXCPP $CPPFLAGS'
68448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68451
68452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68453 /* end confdefs.h.  */
68454 #include <math.h>
68455 int
68456 main ()
68457 {
68458  _hypotl(0, 0);
68459   ;
68460   return 0;
68461 }
68462 _ACEOF
68463 if ac_fn_cxx_try_compile "$LINENO"; then :
68464   glibcxx_cv_func__hypotl_use=yes
68465 else
68466   glibcxx_cv_func__hypotl_use=no
68467 fi
68468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68469       ac_ext=c
68470 ac_cpp='$CPP $CPPFLAGS'
68471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68474
68475
68476 fi
68477
68478   fi
68479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68480 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68481
68482     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68483       for ac_func in _hypotl
68484 do :
68485   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68486 if test "x$ac_cv_func__hypotl" = x""yes; then :
68487   cat >>confdefs.h <<_ACEOF
68488 #define HAVE__HYPOTL 1
68489 _ACEOF
68490
68491 fi
68492 done
68493
68494     fi
68495   fi
68496
68497
68498
68499
68500
68501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68502 $as_echo_n "checking for ldexpl declaration... " >&6; }
68503   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68504     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68505   $as_echo_n "(cached) " >&6
68506 else
68507
68508
68509       ac_ext=cpp
68510 ac_cpp='$CXXCPP $CPPFLAGS'
68511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68514
68515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68516 /* end confdefs.h.  */
68517 #include <math.h>
68518 int
68519 main ()
68520 {
68521  ldexpl(0, 0);
68522   ;
68523   return 0;
68524 }
68525 _ACEOF
68526 if ac_fn_cxx_try_compile "$LINENO"; then :
68527   glibcxx_cv_func_ldexpl_use=yes
68528 else
68529   glibcxx_cv_func_ldexpl_use=no
68530 fi
68531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68532       ac_ext=c
68533 ac_cpp='$CPP $CPPFLAGS'
68534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68537
68538
68539 fi
68540
68541   fi
68542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68543 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68544
68545   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68546     for ac_func in ldexpl
68547 do :
68548   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68549 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68550   cat >>confdefs.h <<_ACEOF
68551 #define HAVE_LDEXPL 1
68552 _ACEOF
68553
68554 fi
68555 done
68556
68557   else
68558
68559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68560 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68561   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68562     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68563   $as_echo_n "(cached) " >&6
68564 else
68565
68566
68567       ac_ext=cpp
68568 ac_cpp='$CXXCPP $CPPFLAGS'
68569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68572
68573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68574 /* end confdefs.h.  */
68575 #include <math.h>
68576 int
68577 main ()
68578 {
68579  _ldexpl(0, 0);
68580   ;
68581   return 0;
68582 }
68583 _ACEOF
68584 if ac_fn_cxx_try_compile "$LINENO"; then :
68585   glibcxx_cv_func__ldexpl_use=yes
68586 else
68587   glibcxx_cv_func__ldexpl_use=no
68588 fi
68589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68590       ac_ext=c
68591 ac_cpp='$CPP $CPPFLAGS'
68592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68595
68596
68597 fi
68598
68599   fi
68600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68601 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68602
68603     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68604       for ac_func in _ldexpl
68605 do :
68606   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68607 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68608   cat >>confdefs.h <<_ACEOF
68609 #define HAVE__LDEXPL 1
68610 _ACEOF
68611
68612 fi
68613 done
68614
68615     fi
68616   fi
68617
68618
68619
68620
68621
68622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68623 $as_echo_n "checking for logl declaration... " >&6; }
68624   if test x${glibcxx_cv_func_logl_use+set} != xset; then
68625     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68626   $as_echo_n "(cached) " >&6
68627 else
68628
68629
68630       ac_ext=cpp
68631 ac_cpp='$CXXCPP $CPPFLAGS'
68632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68635
68636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68637 /* end confdefs.h.  */
68638 #include <math.h>
68639                       #ifdef HAVE_IEEEFP_H
68640                       #include <ieeefp.h>
68641                       #endif
68642
68643 int
68644 main ()
68645 {
68646  logl(0);
68647   ;
68648   return 0;
68649 }
68650 _ACEOF
68651 if ac_fn_cxx_try_compile "$LINENO"; then :
68652   glibcxx_cv_func_logl_use=yes
68653 else
68654   glibcxx_cv_func_logl_use=no
68655 fi
68656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68657       ac_ext=c
68658 ac_cpp='$CPP $CPPFLAGS'
68659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68662
68663
68664 fi
68665
68666   fi
68667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68668 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68669
68670   if test x$glibcxx_cv_func_logl_use = x"yes"; then
68671     for ac_func in logl
68672 do :
68673   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68674 if test "x$ac_cv_func_logl" = x""yes; then :
68675   cat >>confdefs.h <<_ACEOF
68676 #define HAVE_LOGL 1
68677 _ACEOF
68678
68679 fi
68680 done
68681
68682   else
68683
68684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68685 $as_echo_n "checking for _logl declaration... " >&6; }
68686   if test x${glibcxx_cv_func__logl_use+set} != xset; then
68687     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68688   $as_echo_n "(cached) " >&6
68689 else
68690
68691
68692       ac_ext=cpp
68693 ac_cpp='$CXXCPP $CPPFLAGS'
68694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68697
68698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68699 /* end confdefs.h.  */
68700 #include <math.h>
68701                       #ifdef HAVE_IEEEFP_H
68702                       #include <ieeefp.h>
68703                       #endif
68704
68705 int
68706 main ()
68707 {
68708  _logl(0);
68709   ;
68710   return 0;
68711 }
68712 _ACEOF
68713 if ac_fn_cxx_try_compile "$LINENO"; then :
68714   glibcxx_cv_func__logl_use=yes
68715 else
68716   glibcxx_cv_func__logl_use=no
68717 fi
68718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68719       ac_ext=c
68720 ac_cpp='$CPP $CPPFLAGS'
68721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68724
68725
68726 fi
68727
68728   fi
68729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68730 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68731
68732     if test x$glibcxx_cv_func__logl_use = x"yes"; then
68733       for ac_func in _logl
68734 do :
68735   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68736 if test "x$ac_cv_func__logl" = x""yes; then :
68737   cat >>confdefs.h <<_ACEOF
68738 #define HAVE__LOGL 1
68739 _ACEOF
68740
68741 fi
68742 done
68743
68744     fi
68745   fi
68746
68747
68748
68749
68750
68751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68752 $as_echo_n "checking for log10l declaration... " >&6; }
68753   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68754     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68755   $as_echo_n "(cached) " >&6
68756 else
68757
68758
68759       ac_ext=cpp
68760 ac_cpp='$CXXCPP $CPPFLAGS'
68761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68764
68765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68766 /* end confdefs.h.  */
68767 #include <math.h>
68768                       #ifdef HAVE_IEEEFP_H
68769                       #include <ieeefp.h>
68770                       #endif
68771
68772 int
68773 main ()
68774 {
68775  log10l(0);
68776   ;
68777   return 0;
68778 }
68779 _ACEOF
68780 if ac_fn_cxx_try_compile "$LINENO"; then :
68781   glibcxx_cv_func_log10l_use=yes
68782 else
68783   glibcxx_cv_func_log10l_use=no
68784 fi
68785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68786       ac_ext=c
68787 ac_cpp='$CPP $CPPFLAGS'
68788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68791
68792
68793 fi
68794
68795   fi
68796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68797 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68798
68799   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68800     for ac_func in log10l
68801 do :
68802   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68803 if test "x$ac_cv_func_log10l" = x""yes; then :
68804   cat >>confdefs.h <<_ACEOF
68805 #define HAVE_LOG10L 1
68806 _ACEOF
68807
68808 fi
68809 done
68810
68811   else
68812
68813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68814 $as_echo_n "checking for _log10l declaration... " >&6; }
68815   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68816     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68817   $as_echo_n "(cached) " >&6
68818 else
68819
68820
68821       ac_ext=cpp
68822 ac_cpp='$CXXCPP $CPPFLAGS'
68823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68826
68827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68828 /* end confdefs.h.  */
68829 #include <math.h>
68830                       #ifdef HAVE_IEEEFP_H
68831                       #include <ieeefp.h>
68832                       #endif
68833
68834 int
68835 main ()
68836 {
68837  _log10l(0);
68838   ;
68839   return 0;
68840 }
68841 _ACEOF
68842 if ac_fn_cxx_try_compile "$LINENO"; then :
68843   glibcxx_cv_func__log10l_use=yes
68844 else
68845   glibcxx_cv_func__log10l_use=no
68846 fi
68847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68848       ac_ext=c
68849 ac_cpp='$CPP $CPPFLAGS'
68850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68853
68854
68855 fi
68856
68857   fi
68858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68859 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68860
68861     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68862       for ac_func in _log10l
68863 do :
68864   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68865 if test "x$ac_cv_func__log10l" = x""yes; then :
68866   cat >>confdefs.h <<_ACEOF
68867 #define HAVE__LOG10L 1
68868 _ACEOF
68869
68870 fi
68871 done
68872
68873     fi
68874   fi
68875
68876
68877
68878
68879
68880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68881 $as_echo_n "checking for modfl declaration... " >&6; }
68882   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68883     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68884   $as_echo_n "(cached) " >&6
68885 else
68886
68887
68888       ac_ext=cpp
68889 ac_cpp='$CXXCPP $CPPFLAGS'
68890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68893
68894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68895 /* end confdefs.h.  */
68896 #include <math.h>
68897 int
68898 main ()
68899 {
68900  modfl(0, 0);
68901   ;
68902   return 0;
68903 }
68904 _ACEOF
68905 if ac_fn_cxx_try_compile "$LINENO"; then :
68906   glibcxx_cv_func_modfl_use=yes
68907 else
68908   glibcxx_cv_func_modfl_use=no
68909 fi
68910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68911       ac_ext=c
68912 ac_cpp='$CPP $CPPFLAGS'
68913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68916
68917
68918 fi
68919
68920   fi
68921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68922 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68923
68924   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68925     for ac_func in modfl
68926 do :
68927   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68928 if test "x$ac_cv_func_modfl" = x""yes; then :
68929   cat >>confdefs.h <<_ACEOF
68930 #define HAVE_MODFL 1
68931 _ACEOF
68932
68933 fi
68934 done
68935
68936   else
68937
68938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68939 $as_echo_n "checking for _modfl declaration... " >&6; }
68940   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68941     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68942   $as_echo_n "(cached) " >&6
68943 else
68944
68945
68946       ac_ext=cpp
68947 ac_cpp='$CXXCPP $CPPFLAGS'
68948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68951
68952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68953 /* end confdefs.h.  */
68954 #include <math.h>
68955 int
68956 main ()
68957 {
68958  _modfl(0, 0);
68959   ;
68960   return 0;
68961 }
68962 _ACEOF
68963 if ac_fn_cxx_try_compile "$LINENO"; then :
68964   glibcxx_cv_func__modfl_use=yes
68965 else
68966   glibcxx_cv_func__modfl_use=no
68967 fi
68968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68969       ac_ext=c
68970 ac_cpp='$CPP $CPPFLAGS'
68971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68974
68975
68976 fi
68977
68978   fi
68979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68980 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68981
68982     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68983       for ac_func in _modfl
68984 do :
68985   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68986 if test "x$ac_cv_func__modfl" = x""yes; then :
68987   cat >>confdefs.h <<_ACEOF
68988 #define HAVE__MODFL 1
68989 _ACEOF
68990
68991 fi
68992 done
68993
68994     fi
68995   fi
68996
68997
68998
68999
69000
69001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69002 $as_echo_n "checking for powl declaration... " >&6; }
69003   if test x${glibcxx_cv_func_powl_use+set} != xset; then
69004     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69005   $as_echo_n "(cached) " >&6
69006 else
69007
69008
69009       ac_ext=cpp
69010 ac_cpp='$CXXCPP $CPPFLAGS'
69011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69014
69015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69016 /* end confdefs.h.  */
69017 #include <math.h>
69018 int
69019 main ()
69020 {
69021  powl(0, 0);
69022   ;
69023   return 0;
69024 }
69025 _ACEOF
69026 if ac_fn_cxx_try_compile "$LINENO"; then :
69027   glibcxx_cv_func_powl_use=yes
69028 else
69029   glibcxx_cv_func_powl_use=no
69030 fi
69031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69032       ac_ext=c
69033 ac_cpp='$CPP $CPPFLAGS'
69034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69037
69038
69039 fi
69040
69041   fi
69042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69043 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69044
69045   if test x$glibcxx_cv_func_powl_use = x"yes"; then
69046     for ac_func in powl
69047 do :
69048   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69049 if test "x$ac_cv_func_powl" = x""yes; then :
69050   cat >>confdefs.h <<_ACEOF
69051 #define HAVE_POWL 1
69052 _ACEOF
69053
69054 fi
69055 done
69056
69057   else
69058
69059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69060 $as_echo_n "checking for _powl declaration... " >&6; }
69061   if test x${glibcxx_cv_func__powl_use+set} != xset; then
69062     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69063   $as_echo_n "(cached) " >&6
69064 else
69065
69066
69067       ac_ext=cpp
69068 ac_cpp='$CXXCPP $CPPFLAGS'
69069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69072
69073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69074 /* end confdefs.h.  */
69075 #include <math.h>
69076 int
69077 main ()
69078 {
69079  _powl(0, 0);
69080   ;
69081   return 0;
69082 }
69083 _ACEOF
69084 if ac_fn_cxx_try_compile "$LINENO"; then :
69085   glibcxx_cv_func__powl_use=yes
69086 else
69087   glibcxx_cv_func__powl_use=no
69088 fi
69089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69090       ac_ext=c
69091 ac_cpp='$CPP $CPPFLAGS'
69092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69095
69096
69097 fi
69098
69099   fi
69100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69101 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69102
69103     if test x$glibcxx_cv_func__powl_use = x"yes"; then
69104       for ac_func in _powl
69105 do :
69106   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69107 if test "x$ac_cv_func__powl" = x""yes; then :
69108   cat >>confdefs.h <<_ACEOF
69109 #define HAVE__POWL 1
69110 _ACEOF
69111
69112 fi
69113 done
69114
69115     fi
69116   fi
69117
69118
69119
69120
69121
69122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69123 $as_echo_n "checking for sqrtl declaration... " >&6; }
69124   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69125     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69126   $as_echo_n "(cached) " >&6
69127 else
69128
69129
69130       ac_ext=cpp
69131 ac_cpp='$CXXCPP $CPPFLAGS'
69132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69135
69136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69137 /* end confdefs.h.  */
69138 #include <math.h>
69139                       #ifdef HAVE_IEEEFP_H
69140                       #include <ieeefp.h>
69141                       #endif
69142
69143 int
69144 main ()
69145 {
69146  sqrtl(0);
69147   ;
69148   return 0;
69149 }
69150 _ACEOF
69151 if ac_fn_cxx_try_compile "$LINENO"; then :
69152   glibcxx_cv_func_sqrtl_use=yes
69153 else
69154   glibcxx_cv_func_sqrtl_use=no
69155 fi
69156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69157       ac_ext=c
69158 ac_cpp='$CPP $CPPFLAGS'
69159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69162
69163
69164 fi
69165
69166   fi
69167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69168 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69169
69170   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69171     for ac_func in sqrtl
69172 do :
69173   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69174 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69175   cat >>confdefs.h <<_ACEOF
69176 #define HAVE_SQRTL 1
69177 _ACEOF
69178
69179 fi
69180 done
69181
69182   else
69183
69184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69185 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69186   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69187     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69188   $as_echo_n "(cached) " >&6
69189 else
69190
69191
69192       ac_ext=cpp
69193 ac_cpp='$CXXCPP $CPPFLAGS'
69194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69197
69198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69199 /* end confdefs.h.  */
69200 #include <math.h>
69201                       #ifdef HAVE_IEEEFP_H
69202                       #include <ieeefp.h>
69203                       #endif
69204
69205 int
69206 main ()
69207 {
69208  _sqrtl(0);
69209   ;
69210   return 0;
69211 }
69212 _ACEOF
69213 if ac_fn_cxx_try_compile "$LINENO"; then :
69214   glibcxx_cv_func__sqrtl_use=yes
69215 else
69216   glibcxx_cv_func__sqrtl_use=no
69217 fi
69218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69219       ac_ext=c
69220 ac_cpp='$CPP $CPPFLAGS'
69221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69224
69225
69226 fi
69227
69228   fi
69229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69230 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69231
69232     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69233       for ac_func in _sqrtl
69234 do :
69235   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69236 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69237   cat >>confdefs.h <<_ACEOF
69238 #define HAVE__SQRTL 1
69239 _ACEOF
69240
69241 fi
69242 done
69243
69244     fi
69245   fi
69246
69247
69248
69249
69250
69251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69252 $as_echo_n "checking for sincosl declaration... " >&6; }
69253   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69254     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69255   $as_echo_n "(cached) " >&6
69256 else
69257
69258
69259       ac_ext=cpp
69260 ac_cpp='$CXXCPP $CPPFLAGS'
69261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69264
69265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69266 /* end confdefs.h.  */
69267 #include <math.h>
69268 int
69269 main ()
69270 {
69271  sincosl(0, 0, 0);
69272   ;
69273   return 0;
69274 }
69275 _ACEOF
69276 if ac_fn_cxx_try_compile "$LINENO"; then :
69277   glibcxx_cv_func_sincosl_use=yes
69278 else
69279   glibcxx_cv_func_sincosl_use=no
69280 fi
69281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69282       ac_ext=c
69283 ac_cpp='$CPP $CPPFLAGS'
69284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69287
69288
69289 fi
69290
69291   fi
69292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69293 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69294
69295   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69296     for ac_func in sincosl
69297 do :
69298   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69299 if test "x$ac_cv_func_sincosl" = x""yes; then :
69300   cat >>confdefs.h <<_ACEOF
69301 #define HAVE_SINCOSL 1
69302 _ACEOF
69303
69304 fi
69305 done
69306
69307   else
69308
69309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69310 $as_echo_n "checking for _sincosl declaration... " >&6; }
69311   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69312     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69313   $as_echo_n "(cached) " >&6
69314 else
69315
69316
69317       ac_ext=cpp
69318 ac_cpp='$CXXCPP $CPPFLAGS'
69319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69322
69323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69324 /* end confdefs.h.  */
69325 #include <math.h>
69326 int
69327 main ()
69328 {
69329  _sincosl(0, 0, 0);
69330   ;
69331   return 0;
69332 }
69333 _ACEOF
69334 if ac_fn_cxx_try_compile "$LINENO"; then :
69335   glibcxx_cv_func__sincosl_use=yes
69336 else
69337   glibcxx_cv_func__sincosl_use=no
69338 fi
69339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69340       ac_ext=c
69341 ac_cpp='$CPP $CPPFLAGS'
69342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69345
69346
69347 fi
69348
69349   fi
69350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69351 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69352
69353     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69354       for ac_func in _sincosl
69355 do :
69356   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69357 if test "x$ac_cv_func__sincosl" = x""yes; then :
69358   cat >>confdefs.h <<_ACEOF
69359 #define HAVE__SINCOSL 1
69360 _ACEOF
69361
69362 fi
69363 done
69364
69365     fi
69366   fi
69367
69368
69369
69370
69371
69372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69373 $as_echo_n "checking for finitel declaration... " >&6; }
69374   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69375     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69376   $as_echo_n "(cached) " >&6
69377 else
69378
69379
69380       ac_ext=cpp
69381 ac_cpp='$CXXCPP $CPPFLAGS'
69382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69385
69386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69387 /* end confdefs.h.  */
69388 #include <math.h>
69389                       #ifdef HAVE_IEEEFP_H
69390                       #include <ieeefp.h>
69391                       #endif
69392
69393 int
69394 main ()
69395 {
69396  finitel(0);
69397   ;
69398   return 0;
69399 }
69400 _ACEOF
69401 if ac_fn_cxx_try_compile "$LINENO"; then :
69402   glibcxx_cv_func_finitel_use=yes
69403 else
69404   glibcxx_cv_func_finitel_use=no
69405 fi
69406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69407       ac_ext=c
69408 ac_cpp='$CPP $CPPFLAGS'
69409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69412
69413
69414 fi
69415
69416   fi
69417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69418 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69419
69420   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69421     for ac_func in finitel
69422 do :
69423   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69424 if test "x$ac_cv_func_finitel" = x""yes; then :
69425   cat >>confdefs.h <<_ACEOF
69426 #define HAVE_FINITEL 1
69427 _ACEOF
69428
69429 fi
69430 done
69431
69432   else
69433
69434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69435 $as_echo_n "checking for _finitel declaration... " >&6; }
69436   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69437     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69438   $as_echo_n "(cached) " >&6
69439 else
69440
69441
69442       ac_ext=cpp
69443 ac_cpp='$CXXCPP $CPPFLAGS'
69444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69447
69448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69449 /* end confdefs.h.  */
69450 #include <math.h>
69451                       #ifdef HAVE_IEEEFP_H
69452                       #include <ieeefp.h>
69453                       #endif
69454
69455 int
69456 main ()
69457 {
69458  _finitel(0);
69459   ;
69460   return 0;
69461 }
69462 _ACEOF
69463 if ac_fn_cxx_try_compile "$LINENO"; then :
69464   glibcxx_cv_func__finitel_use=yes
69465 else
69466   glibcxx_cv_func__finitel_use=no
69467 fi
69468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69469       ac_ext=c
69470 ac_cpp='$CPP $CPPFLAGS'
69471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69474
69475
69476 fi
69477
69478   fi
69479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69480 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69481
69482     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69483       for ac_func in _finitel
69484 do :
69485   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69486 if test "x$ac_cv_func__finitel" = x""yes; then :
69487   cat >>confdefs.h <<_ACEOF
69488 #define HAVE__FINITEL 1
69489 _ACEOF
69490
69491 fi
69492 done
69493
69494     fi
69495   fi
69496
69497
69498
69499
69500   LIBS="$ac_save_LIBS"
69501   CXXFLAGS="$ac_save_CXXFLAGS"
69502
69503
69504   ac_test_CXXFLAGS="${CXXFLAGS+set}"
69505   ac_save_CXXFLAGS="$CXXFLAGS"
69506   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69507
69508
69509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69510 $as_echo_n "checking for strtold declaration... " >&6; }
69511   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69512     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69513   $as_echo_n "(cached) " >&6
69514 else
69515
69516
69517       ac_ext=cpp
69518 ac_cpp='$CXXCPP $CPPFLAGS'
69519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69522
69523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69524 /* end confdefs.h.  */
69525 #include <stdlib.h>
69526 int
69527 main ()
69528 {
69529  strtold(0, 0);
69530   ;
69531   return 0;
69532 }
69533 _ACEOF
69534 if ac_fn_cxx_try_compile "$LINENO"; then :
69535   glibcxx_cv_func_strtold_use=yes
69536 else
69537   glibcxx_cv_func_strtold_use=no
69538 fi
69539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69540       ac_ext=c
69541 ac_cpp='$CPP $CPPFLAGS'
69542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69545
69546
69547 fi
69548
69549   fi
69550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69551 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69552   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69553     for ac_func in strtold
69554 do :
69555   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69556 if test "x$ac_cv_func_strtold" = x""yes; then :
69557   cat >>confdefs.h <<_ACEOF
69558 #define HAVE_STRTOLD 1
69559 _ACEOF
69560
69561 fi
69562 done
69563
69564   fi
69565
69566
69567
69568
69569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69570 $as_echo_n "checking for strtof declaration... " >&6; }
69571   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69572     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69573   $as_echo_n "(cached) " >&6
69574 else
69575
69576
69577       ac_ext=cpp
69578 ac_cpp='$CXXCPP $CPPFLAGS'
69579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69582
69583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69584 /* end confdefs.h.  */
69585 #include <stdlib.h>
69586 int
69587 main ()
69588 {
69589  strtof(0, 0);
69590   ;
69591   return 0;
69592 }
69593 _ACEOF
69594 if ac_fn_cxx_try_compile "$LINENO"; then :
69595   glibcxx_cv_func_strtof_use=yes
69596 else
69597   glibcxx_cv_func_strtof_use=no
69598 fi
69599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69600       ac_ext=c
69601 ac_cpp='$CPP $CPPFLAGS'
69602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69605
69606
69607 fi
69608
69609   fi
69610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69611 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69612   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69613     for ac_func in strtof
69614 do :
69615   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69616 if test "x$ac_cv_func_strtof" = x""yes; then :
69617   cat >>confdefs.h <<_ACEOF
69618 #define HAVE_STRTOF 1
69619 _ACEOF
69620
69621 fi
69622 done
69623
69624   fi
69625
69626
69627
69628
69629   CXXFLAGS="$ac_save_CXXFLAGS"
69630
69631     ;;
69632   *-vxworks)
69633     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69634
69635     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69636
69637     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69638
69639     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69640
69641     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69642
69643     $as_echo "#define HAVE_COSF 1" >>confdefs.h
69644
69645     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69646
69647     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69648
69649     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69650
69651     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69652
69653     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69654
69655     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69656
69657     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69658
69659     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69660
69661     $as_echo "#define HAVE_POWF 1" >>confdefs.h
69662
69663     $as_echo "#define HAVE_SINF 1" >>confdefs.h
69664
69665     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69666
69667     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69668
69669     $as_echo "#define HAVE_TANF 1" >>confdefs.h
69670
69671     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69672
69673     ;;
69674   *)
69675     as_fn_error "No support for this host/target combination." "$LINENO" 5
69676    ;;
69677 esac
69678
69679   fi
69680
69681   # At some point, we should differentiate between architectures
69682   # like x86, which have long double versions, and alpha/powerpc/etc.,
69683   # which don't. For the time being, punt.
69684   if test x"long_double_math_on_this_cpu" = x"yes"; then
69685     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69686
69687     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69688
69689     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69690
69691     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69692
69693     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69694
69695     $as_echo "#define HAVE_COSL 1" >>confdefs.h
69696
69697     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69698
69699     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69700
69701     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69702
69703     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69704
69705     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69706
69707     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69708
69709     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69710
69711     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69712
69713     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69714
69715     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69716
69717     $as_echo "#define HAVE_POWL 1" >>confdefs.h
69718
69719     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69720
69721     $as_echo "#define HAVE_SINL 1" >>confdefs.h
69722
69723     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69724
69725     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69726
69727     $as_echo "#define HAVE_TANL 1" >>confdefs.h
69728
69729     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69730
69731   fi
69732 fi
69733
69734 # Check for _Unwind_GetIPInfo.
69735
69736
69737 # Check whether --with-system-libunwind was given.
69738 if test "${with_system_libunwind+set}" = set; then :
69739   withval=$with_system_libunwind;
69740 fi
69741
69742   # If system-libunwind was not specifically set, pick a default setting.
69743   if test x$with_system_libunwind = x; then
69744     case ${target} in
69745       ia64-*-hpux*) with_system_libunwind=yes ;;
69746       *) with_system_libunwind=no ;;
69747     esac
69748   fi
69749   # Based on system-libunwind and target, do we have ipinfo?
69750   if  test x$with_system_libunwind = xyes; then
69751     case ${target} in
69752       ia64-*-*) have_unwind_getipinfo=no ;;
69753       *) have_unwind_getipinfo=yes ;;
69754     esac
69755   else
69756     # Darwin before version 9 does not have _Unwind_GetIPInfo.
69757
69758     case ${target} in
69759       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69760       *) have_unwind_getipinfo=yes ;;
69761     esac
69762
69763   fi
69764
69765   if test x$have_unwind_getipinfo = xyes; then
69766
69767 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69768
69769   fi
69770
69771
69772  # Check whether --enable-linux-futex was given.
69773 if test "${enable_linux_futex+set}" = set; then :
69774   enableval=$enable_linux_futex;
69775       case "$enableval" in
69776        yes|no|default) ;;
69777        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69778                           esac
69779
69780 else
69781   enable_linux_futex=default
69782 fi
69783
69784
69785 case "$target" in
69786   *-linux*)
69787     case "$enable_linux_futex" in
69788       default)
69789         # If headers don't have gettid/futex syscalls definition, then
69790         # default to no, otherwise there will be compile time failures.
69791         # Otherwise, default to yes.  If we don't detect we are
69792         # compiled/linked against NPTL and not cross-compiling, check
69793         # if programs are run by default against NPTL and if not, issue
69794         # a warning.
69795         enable_linux_futex=no
69796         if test x$gcc_no_link = xyes; then
69797   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69798 fi
69799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69800 /* end confdefs.h.  */
69801 #include <sys/syscall.h>
69802            int lk;
69803 int
69804 main ()
69805 {
69806 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69807   ;
69808   return 0;
69809 }
69810 _ACEOF
69811 if ac_fn_c_try_link "$LINENO"; then :
69812   save_LIBS="$LIBS"
69813            LIBS="-lpthread $LIBS"
69814            if test x$gcc_no_link = xyes; then
69815   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69816 fi
69817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69818 /* end confdefs.h.  */
69819 #ifndef _GNU_SOURCE
69820              #define _GNU_SOURCE 1
69821              #endif
69822              #include <pthread.h>
69823              pthread_t th; void *status;
69824 int
69825 main ()
69826 {
69827 pthread_tryjoin_np (th, &status);
69828   ;
69829   return 0;
69830 }
69831 _ACEOF
69832 if ac_fn_c_try_link "$LINENO"; then :
69833   enable_linux_futex=yes
69834 else
69835   if test x$cross_compiling = xno; then
69836                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69837                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69838                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69839 If so, please configure with --disable-linux-futex" >&5
69840 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69841 If so, please configure with --disable-linux-futex" >&2;}
69842                fi
69843              fi
69844              enable_linux_futex=yes
69845 fi
69846 rm -f core conftest.err conftest.$ac_objext \
69847     conftest$ac_exeext conftest.$ac_ext
69848            LIBS="$save_LIBS"
69849 fi
69850 rm -f core conftest.err conftest.$ac_objext \
69851     conftest$ac_exeext conftest.$ac_ext
69852         ;;
69853       yes)
69854         if test x$gcc_no_link = xyes; then
69855   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69856 fi
69857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69858 /* end confdefs.h.  */
69859 #include <sys/syscall.h>
69860            int lk;
69861 int
69862 main ()
69863 {
69864 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69865   ;
69866   return 0;
69867 }
69868 _ACEOF
69869 if ac_fn_c_try_link "$LINENO"; then :
69870
69871 else
69872   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69873 fi
69874 rm -f core conftest.err conftest.$ac_objext \
69875     conftest$ac_exeext conftest.$ac_ext
69876         ;;
69877     esac
69878     ;;
69879   *)
69880     enable_linux_futex=no
69881     ;;
69882 esac
69883 if test x$enable_linux_futex = xyes; then
69884
69885 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69886
69887 fi
69888
69889
69890
69891
69892 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
69893
69894 acx_cv_header_stdint=stddef.h
69895 acx_cv_header_stdint_kind="(already complete)"
69896 for i in stdint.h $inttype_headers; do
69897   unset ac_cv_type_uintptr_t
69898   unset ac_cv_type_uintmax_t
69899   unset ac_cv_type_int_least32_t
69900   unset ac_cv_type_int_fast32_t
69901   unset ac_cv_type_uint64_t
69902   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69903   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69904 #include <$i>
69905 "
69906 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69907   acx_cv_header_stdint=$i
69908 else
69909   continue
69910 fi
69911
69912   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69913 #include <$i>
69914 "
69915 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69916
69917 else
69918   acx_cv_header_stdint_kind="(mostly complete)"
69919 fi
69920
69921   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69922 #include <$i>
69923 "
69924 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69925
69926 else
69927   acx_cv_header_stdint_kind="(mostly complete)"
69928 fi
69929
69930   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69931 #include <$i>
69932 "
69933 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69934
69935 else
69936   acx_cv_header_stdint_kind="(mostly complete)"
69937 fi
69938
69939   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69940 #include <$i>
69941 "
69942 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69943
69944 else
69945   acx_cv_header_stdint_kind="(lacks uint64_t)"
69946 fi
69947
69948   break
69949 done
69950 if test "$acx_cv_header_stdint" = stddef.h; then
69951   acx_cv_header_stdint_kind="(lacks uintmax_t)"
69952   for i in stdint.h $inttype_headers; do
69953     unset ac_cv_type_uintptr_t
69954     unset ac_cv_type_uint32_t
69955     unset ac_cv_type_uint64_t
69956     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69957     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69958 #include <$i>
69959 "
69960 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69961   acx_cv_header_stdint=$i
69962 else
69963   continue
69964 fi
69965
69966     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69967 #include <$i>
69968 "
69969 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69970
69971 fi
69972
69973     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69974 #include <$i>
69975 "
69976 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69977
69978 fi
69979
69980     break
69981   done
69982 fi
69983 if test "$acx_cv_header_stdint" = stddef.h; then
69984   acx_cv_header_stdint_kind="(u_intXX_t style)"
69985   for i in sys/types.h $inttype_headers; do
69986     unset ac_cv_type_u_int32_t
69987     unset ac_cv_type_u_int64_t
69988     $as_echo_n "looking for u_intXX_t types in $i, " >&6
69989     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69990 #include <$i>
69991 "
69992 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69993   acx_cv_header_stdint=$i
69994 else
69995   continue
69996 fi
69997
69998     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69999 #include <$i>
70000 "
70001 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
70002
70003 fi
70004
70005     break
70006   done
70007 fi
70008 if test "$acx_cv_header_stdint" = stddef.h; then
70009   acx_cv_header_stdint_kind="(using manual detection)"
70010 fi
70011
70012 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
70013 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
70014 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
70015 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
70016 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
70017
70018 # ----------------- Summarize what we found so far
70019
70020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
70021 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
70022
70023 case `$as_basename -- include/gstdint.h ||
70024 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
70025          Xinclude/gstdint.h : 'X\(//\)$' \| \
70026          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
70027 $as_echo X/include/gstdint.h |
70028     sed '/^.*\/\([^/][^/]*\)\/*$/{
70029             s//\1/
70030             q
70031           }
70032           /^X\/\(\/\/\)$/{
70033             s//\1/
70034             q
70035           }
70036           /^X\/\(\/\).*/{
70037             s//\1/
70038             q
70039           }
70040           s/.*/./; q'` in
70041   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70042 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70043   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70044 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70045   *) ;;
70046 esac
70047
70048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
70049 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
70050
70051 # ----------------- done included file, check C basic types --------
70052
70053 # Lacking an uintptr_t?  Test size of void *
70054 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
70055   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
70056 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70057 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70058 # This bug is HP SR number 8606223364.
70059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
70060 $as_echo_n "checking size of void *... " >&6; }
70061 if test "${ac_cv_sizeof_void_p+set}" = set; then :
70062   $as_echo_n "(cached) " >&6
70063 else
70064   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
70065
70066 else
70067   if test "$ac_cv_type_void_p" = yes; then
70068      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70070 { as_fn_set_status 77
70071 as_fn_error "cannot compute sizeof (void *)
70072 See \`config.log' for more details." "$LINENO" 5; }; }
70073    else
70074      ac_cv_sizeof_void_p=0
70075    fi
70076 fi
70077
70078 fi
70079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
70080 $as_echo "$ac_cv_sizeof_void_p" >&6; }
70081
70082
70083
70084 cat >>confdefs.h <<_ACEOF
70085 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
70086 _ACEOF
70087
70088  ;;
70089 esac
70090
70091 # Lacking an uint64_t?  Test size of long
70092 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
70093   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
70094 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70095 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70096 # This bug is HP SR number 8606223364.
70097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
70098 $as_echo_n "checking size of long... " >&6; }
70099 if test "${ac_cv_sizeof_long+set}" = set; then :
70100   $as_echo_n "(cached) " >&6
70101 else
70102   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
70103
70104 else
70105   if test "$ac_cv_type_long" = yes; then
70106      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70108 { as_fn_set_status 77
70109 as_fn_error "cannot compute sizeof (long)
70110 See \`config.log' for more details." "$LINENO" 5; }; }
70111    else
70112      ac_cv_sizeof_long=0
70113    fi
70114 fi
70115
70116 fi
70117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70118 $as_echo "$ac_cv_sizeof_long" >&6; }
70119
70120
70121
70122 cat >>confdefs.h <<_ACEOF
70123 #define SIZEOF_LONG $ac_cv_sizeof_long
70124 _ACEOF
70125
70126  ;;
70127 esac
70128
70129 if test $acx_cv_header_stdint = stddef.h; then
70130   # Lacking a good header?  Test size of everything and deduce all types.
70131   # The cast to long int works around a bug in the HP C Compiler
70132 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70133 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70134 # This bug is HP SR number 8606223364.
70135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70136 $as_echo_n "checking size of int... " >&6; }
70137 if test "${ac_cv_sizeof_int+set}" = set; then :
70138   $as_echo_n "(cached) " >&6
70139 else
70140   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
70141
70142 else
70143   if test "$ac_cv_type_int" = yes; then
70144      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70146 { as_fn_set_status 77
70147 as_fn_error "cannot compute sizeof (int)
70148 See \`config.log' for more details." "$LINENO" 5; }; }
70149    else
70150      ac_cv_sizeof_int=0
70151    fi
70152 fi
70153
70154 fi
70155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70156 $as_echo "$ac_cv_sizeof_int" >&6; }
70157
70158
70159
70160 cat >>confdefs.h <<_ACEOF
70161 #define SIZEOF_INT $ac_cv_sizeof_int
70162 _ACEOF
70163
70164
70165   # The cast to long int works around a bug in the HP C Compiler
70166 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70167 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70168 # This bug is HP SR number 8606223364.
70169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70170 $as_echo_n "checking size of short... " >&6; }
70171 if test "${ac_cv_sizeof_short+set}" = set; then :
70172   $as_echo_n "(cached) " >&6
70173 else
70174   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
70175
70176 else
70177   if test "$ac_cv_type_short" = yes; then
70178      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70180 { as_fn_set_status 77
70181 as_fn_error "cannot compute sizeof (short)
70182 See \`config.log' for more details." "$LINENO" 5; }; }
70183    else
70184      ac_cv_sizeof_short=0
70185    fi
70186 fi
70187
70188 fi
70189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70190 $as_echo "$ac_cv_sizeof_short" >&6; }
70191
70192
70193
70194 cat >>confdefs.h <<_ACEOF
70195 #define SIZEOF_SHORT $ac_cv_sizeof_short
70196 _ACEOF
70197
70198
70199   # The cast to long int works around a bug in the HP C Compiler
70200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70202 # This bug is HP SR number 8606223364.
70203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70204 $as_echo_n "checking size of char... " >&6; }
70205 if test "${ac_cv_sizeof_char+set}" = set; then :
70206   $as_echo_n "(cached) " >&6
70207 else
70208   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
70209
70210 else
70211   if test "$ac_cv_type_char" = yes; then
70212      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70214 { as_fn_set_status 77
70215 as_fn_error "cannot compute sizeof (char)
70216 See \`config.log' for more details." "$LINENO" 5; }; }
70217    else
70218      ac_cv_sizeof_char=0
70219    fi
70220 fi
70221
70222 fi
70223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70224 $as_echo "$ac_cv_sizeof_char" >&6; }
70225
70226
70227
70228 cat >>confdefs.h <<_ACEOF
70229 #define SIZEOF_CHAR $ac_cv_sizeof_char
70230 _ACEOF
70231
70232
70233
70234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70235 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70236   case "$ac_cv_sizeof_char" in
70237     1) acx_cv_type_int8_t=char ;;
70238     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70239   esac
70240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70241 $as_echo "$acx_cv_type_int8_t" >&6; }
70242
70243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70244 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70245   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70246     2:*) acx_cv_type_int16_t=int ;;
70247     *:2) acx_cv_type_int16_t=short ;;
70248     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70249   esac
70250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70251 $as_echo "$acx_cv_type_int16_t" >&6; }
70252
70253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70254 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70255   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70256     4:*) acx_cv_type_int32_t=int ;;
70257     *:4) acx_cv_type_int32_t=long ;;
70258     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70259   esac
70260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70261 $as_echo "$acx_cv_type_int32_t" >&6; }
70262 fi
70263
70264 # These tests are here to make the output prettier
70265
70266 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70267   case "$ac_cv_sizeof_long" in
70268     8) acx_cv_type_int64_t=long ;;
70269   esac
70270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70271 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70273 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70274 fi
70275
70276 # Now we can use the above types
70277
70278 if test "$ac_cv_type_uintptr_t" != yes; then
70279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70280 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70281   case $ac_cv_sizeof_void_p in
70282     2) acx_cv_type_intptr_t=int16_t ;;
70283     4) acx_cv_type_intptr_t=int32_t ;;
70284     8) acx_cv_type_intptr_t=int64_t ;;
70285     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70286   esac
70287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70288 $as_echo "$acx_cv_type_intptr_t" >&6; }
70289 fi
70290
70291 # ----------------- done all checks, emit header -------------
70292 ac_config_commands="$ac_config_commands include/gstdint.h"
70293
70294
70295
70296
70297
70298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70299 $as_echo_n "checking for GNU c++filt... " >&6; }
70300 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70301   $as_echo_n "(cached) " >&6
70302 else
70303   if test -z "$CXXFILT"; then
70304   ac_path_CXXFILT_found=false
70305   # Loop through the user's path and test for each of PROGNAME-LIST
70306   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70307 for as_dir in $PATH
70308 do
70309   IFS=$as_save_IFS
70310   test -z "$as_dir" && as_dir=.
70311     for ac_prog in c++filt gc++filt; do
70312     for ac_exec_ext in '' $ac_executable_extensions; do
70313       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70314       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70315 # Check for GNU $ac_path_CXXFILT
70316 case `"$ac_path_CXXFILT" --version 2>&1` in
70317 *GNU*)
70318   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70319 esac
70320
70321       $ac_path_CXXFILT_found && break 3
70322     done
70323   done
70324   done
70325 IFS=$as_save_IFS
70326   if test -z "$ac_cv_path_CXXFILT"; then
70327     :
70328   fi
70329 else
70330   ac_cv_path_CXXFILT=$CXXFILT
70331 fi
70332
70333 fi
70334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70335 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70336   CXXFILT=$ac_cv_path_CXXFILT
70337
70338
70339
70340  # Check whether --enable-symvers was given.
70341 if test "${enable_symvers+set}" = set; then :
70342   enableval=$enable_symvers;
70343       case "$enableval" in
70344        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70345        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70346                         esac
70347
70348 else
70349   enable_symvers=yes
70350 fi
70351
70352
70353
70354 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70355 # don't know enough about $LD to do tricks...
70356
70357 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70358 # with extern "C++" in version scripts.
70359
70360
70361 # Turn a 'yes' into a suitable default.
70362 if test x$enable_symvers = xyes ; then
70363   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70364     enable_symvers=no
70365   else
70366     if test $with_gnu_ld = yes ; then
70367       case ${target_os} in
70368         hpux*)
70369           enable_symvers=no ;;
70370         *)
70371           enable_symvers=gnu ;;
70372       esac
70373     else
70374       case ${target_os} in
70375         darwin*)
70376           enable_symvers=darwin ;;
70377         # Sun symbol versioning exists since Solaris 2.5.
70378         solaris2.[5-9]* | solaris2.1[0-9]*)
70379           # make_sunver.pl needs GNU c++filt to support extern "C++" in
70380           # version scripts, so disable symbol versioning if none can be
70381           # found.
70382           if test -z "$ac_cv_path_CXXFILT"; then
70383             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70384 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70385             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
70386 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
70387             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70388 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70389             enable_symvers=no
70390           else
70391             enable_symvers=sun
70392           fi
70393           ;;
70394         *)
70395           enable_symvers=no ;;
70396       esac
70397     fi
70398   fi
70399 fi
70400
70401 # Check to see if 'darwin' or 'darwin-export' can win.
70402 if test x$enable_symvers = xdarwin-export ; then
70403     enable_symvers=darwin
70404 fi
70405
70406 # Check if 'sun' was requested on non-Solaris 2 platforms.
70407 if test x$enable_symvers = xsun ; then
70408   case ${target_os} in
70409     solaris2*)
70410       # All fine.
70411       ;;
70412     *)
70413       # Unlikely to work.
70414       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70415 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70416       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70417 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70418       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70419 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70420       enable_symvers=no
70421       ;;
70422   esac
70423 fi
70424
70425 # Check to see if 'gnu' can win.
70426 if test $enable_symvers = gnu ||
70427   test $enable_symvers = gnu-versioned-namespace ||
70428   test $enable_symvers = sun; then
70429   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70431 $as_echo_n "checking for shared libgcc... " >&6; }
70432   ac_save_CFLAGS="$CFLAGS"
70433   CFLAGS=' -lgcc_s'
70434   if test x$gcc_no_link = xyes; then
70435   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70436 fi
70437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70438 /* end confdefs.h.  */
70439
70440 int
70441 main ()
70442 {
70443 return 0;
70444   ;
70445   return 0;
70446 }
70447 _ACEOF
70448 if ac_fn_c_try_link "$LINENO"; then :
70449   glibcxx_shared_libgcc=yes
70450 else
70451   glibcxx_shared_libgcc=no
70452 fi
70453 rm -f core conftest.err conftest.$ac_objext \
70454     conftest$ac_exeext conftest.$ac_ext
70455   CFLAGS="$ac_save_CFLAGS"
70456   if test $glibcxx_shared_libgcc = no; then
70457     cat > conftest.c <<EOF
70458 int main (void) { return 0; }
70459 EOF
70460     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70461                              -shared -shared-libgcc -o conftest.so \
70462                              conftest.c -v 2>&1 >/dev/null \
70463                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70464     rm -f conftest.c conftest.so
70465     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70466       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70467       if test x$gcc_no_link = xyes; then
70468   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70469 fi
70470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70471 /* end confdefs.h.  */
70472
70473 int
70474 main ()
70475 {
70476 return 0;
70477   ;
70478   return 0;
70479 }
70480 _ACEOF
70481 if ac_fn_c_try_link "$LINENO"; then :
70482   glibcxx_shared_libgcc=yes
70483 fi
70484 rm -f core conftest.err conftest.$ac_objext \
70485     conftest$ac_exeext conftest.$ac_ext
70486       CFLAGS="$ac_save_CFLAGS"
70487     fi
70488   fi
70489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70490 $as_echo "$glibcxx_shared_libgcc" >&6; }
70491
70492   # For GNU ld, we need at least this version.  The format is described in
70493   # GLIBCXX_CHECK_LINKER_FEATURES above.
70494   glibcxx_min_gnu_ld_version=21400
70495
70496   # If no shared libgcc, can't win.
70497   if test $glibcxx_shared_libgcc != yes; then
70498       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70499 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70500       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70501 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70502       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70503 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70504       enable_symvers=no
70505   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70506     : All interesting versions of Sun ld support sun style symbol versioning.
70507   elif test $with_gnu_ld != yes ; then
70508     # just fail for now
70509     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70510 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70511     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70512 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70513     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70514 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70515     enable_symvers=no
70516   elif test $glibcxx_ld_is_gold = yes ; then
70517     : All versions of gold support symbol versioning.
70518   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70519     # The right tools, the right setup, but too old.  Fallbacks?
70520     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70521 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70522     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70523 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70524     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70525 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70526     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70527 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70528     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70529 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70530     enable_symvers=no
70531   fi
70532 fi
70533
70534 # For libtool versioning info, format is CURRENT:REVISION:AGE
70535 libtool_VERSION=6:18:0
70536
70537 # Everything parsed; figure out what files and settings to use.
70538 case $enable_symvers in
70539   no)
70540     SYMVER_FILE=config/abi/pre/none.ver
70541     ;;
70542   gnu)
70543     SYMVER_FILE=config/abi/pre/gnu.ver
70544
70545 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70546
70547     ;;
70548   gnu-versioned-namespace)
70549     libtool_VERSION=7:0:0
70550     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70551
70552 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70553
70554     ;;
70555   darwin)
70556     SYMVER_FILE=config/abi/pre/gnu.ver
70557
70558 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70559
70560     ;;
70561   sun)
70562     SYMVER_FILE=config/abi/pre/gnu.ver
70563
70564 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70565
70566     ;;
70567 esac
70568
70569 if test x$enable_symvers != xno ; then
70570
70571 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70572
70573 fi
70574
70575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70576 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70577 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70578   $as_echo_n "(cached) " >&6
70579 else
70580
70581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70582 /* end confdefs.h.  */
70583 void foo (void); __asm (".symver foo, bar@SYMVER");
70584 int
70585 main ()
70586 {
70587
70588   ;
70589   return 0;
70590 }
70591 _ACEOF
70592 if ac_fn_c_try_compile "$LINENO"; then :
70593   glibcxx_cv_have_as_symver_directive=yes
70594 else
70595   glibcxx_cv_have_as_symver_directive=no
70596 fi
70597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70598 fi
70599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70600 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70601 if test $glibcxx_cv_have_as_symver_directive = yes; then
70602
70603 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70604
70605 fi
70606
70607
70608
70609
70610
70611
70612
70613
70614 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70615 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70616
70617 if test $enable_symvers != no ; then
70618    case ${target_os} in
70619      # The Solaris 2 runtime linker doesn't support the GNU extension of
70620      # binding the same symbol to different versions
70621      solaris2*)
70622        ;;
70623      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70624      *)
70625
70626 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70627
70628        ;;
70629     esac
70630 fi
70631
70632 # Now, set up compatibility support, if any.
70633 # In addition, need this to deal with std::size_t mangling in
70634 # src/compatibility.cc.  In a perfect world, could use
70635 # typeid(std::size_t).name()[0] to do direct substitution.
70636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70637 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70638 ac_save_CFLAGS="$CFLAGS"
70639 CFLAGS="-Werror"
70640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70641 /* end confdefs.h.  */
70642
70643 int
70644 main ()
70645 {
70646 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70647   ;
70648   return 0;
70649 }
70650 _ACEOF
70651 if ac_fn_c_try_compile "$LINENO"; then :
70652   glibcxx_size_t_is_i=yes
70653 else
70654   glibcxx_size_t_is_i=no
70655 fi
70656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70657 CFLAGS=$ac_save_CFLAGS
70658 if test "$glibcxx_size_t_is_i" = yes; then
70659
70660 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70661
70662 fi
70663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70664 $as_echo "$glibcxx_size_t_is_i" >&6; }
70665
70666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70667 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70668 ac_save_CFLAGS="$CFLAGS"
70669 CFLAGS="-Werror"
70670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70671 /* end confdefs.h.  */
70672
70673 int
70674 main ()
70675 {
70676 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70677   ;
70678   return 0;
70679 }
70680 _ACEOF
70681 if ac_fn_c_try_compile "$LINENO"; then :
70682   glibcxx_ptrdiff_t_is_i=yes
70683 else
70684   glibcxx_ptrdiff_t_is_i=no
70685 fi
70686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70687 CFLAGS=$ac_save_CFLAGS
70688 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70689
70690 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70691
70692 fi
70693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70694 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70695
70696
70697
70698
70699  # Check whether --enable-libstdcxx-visibility was given.
70700 if test "${enable_libstdcxx_visibility+set}" = set; then :
70701   enableval=$enable_libstdcxx_visibility;
70702       case "$enableval" in
70703        yes|no) ;;
70704        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70705       esac
70706
70707 else
70708   enable_libstdcxx_visibility=yes
70709 fi
70710
70711
70712
70713 if test x$enable_libstdcxx_visibility = xyes ; then
70714       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70715 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70716 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70717   $as_echo_n "(cached) " >&6
70718 else
70719
70720   save_CFLAGS="$CFLAGS"
70721   CFLAGS="$CFLAGS -Werror"
70722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70723 /* end confdefs.h.  */
70724 void __attribute__((visibility("hidden"))) foo(void) { }
70725 int
70726 main ()
70727 {
70728
70729   ;
70730   return 0;
70731 }
70732 _ACEOF
70733 if ac_fn_c_try_compile "$LINENO"; then :
70734   glibcxx_cv_have_attribute_visibility=yes
70735 else
70736   glibcxx_cv_have_attribute_visibility=no
70737 fi
70738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70739   CFLAGS="$save_CFLAGS"
70740 fi
70741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70742 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70743   if test $glibcxx_cv_have_attribute_visibility = no; then
70744     enable_libstdcxx_visibility=no
70745   fi
70746 fi
70747
70748
70749 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70750 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70751
70752
70753 ac_ldbl_compat=no
70754 case "$target" in
70755   powerpc*-*-linux* | \
70756   sparc*-*-linux* | \
70757   s390*-*-linux* | \
70758   alpha*-*-linux*)
70759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70760 /* end confdefs.h.  */
70761
70762 int
70763 main ()
70764 {
70765
70766 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70767 #error no need for long double compatibility
70768 #endif
70769
70770   ;
70771   return 0;
70772 }
70773 _ACEOF
70774 if ac_fn_c_try_compile "$LINENO"; then :
70775   ac_ldbl_compat=yes
70776 else
70777   ac_ldbl_compat=no
70778 fi
70779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70780   if test "$ac_ldbl_compat" = yes; then
70781
70782 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70783
70784     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70785   fi
70786 esac
70787
70788
70789 # Check if assembler supports disabling hardware capability support.
70790
70791   test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70792
70793   ac_save_CFLAGS="$CFLAGS"
70794   CFLAGS="$CFLAGS -Wa,-nH"
70795
70796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70797 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70799 /* end confdefs.h.  */
70800
70801 int
70802 main ()
70803 {
70804 return 0;
70805   ;
70806   return 0;
70807 }
70808 _ACEOF
70809 if ac_fn_c_try_compile "$LINENO"; then :
70810   ac_hwcap_flags=yes
70811 else
70812   ac_hwcap_flags=no
70813 fi
70814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70815   if test "$ac_hwcap_flags" = "yes"; then
70816     HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70817   fi
70818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70819 $as_echo "$ac_hwcap_flags" >&6; }
70820
70821   CFLAGS="$ac_save_CFLAGS"
70822
70823
70824
70825
70826 # Check if assembler supports rdrand opcode.
70827
70828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70829 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70830   if test "${ac_cv_x86_rdrand+set}" = set; then :
70831   $as_echo_n "(cached) " >&6
70832 else
70833
70834   ac_cv_x86_rdrand=no
70835   case "$target" in
70836     i?86-*-* | \
70837     x86_64-*-*)
70838     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70839 /* end confdefs.h.  */
70840
70841 int
70842 main ()
70843 {
70844 asm("rdrand %eax");
70845   ;
70846   return 0;
70847 }
70848 _ACEOF
70849 if ac_fn_c_try_compile "$LINENO"; then :
70850   ac_cv_x86_rdrand=yes
70851 else
70852   ac_cv_x86_rdrand=no
70853 fi
70854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70855   esac
70856
70857 fi
70858
70859   if test $ac_cv_x86_rdrand = yes; then
70860
70861 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70862
70863   fi
70864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70865 $as_echo "$ac_cv_x86_rdrand" >&6; }
70866
70867
70868 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70869
70870   if $GLIBCXX_IS_NATIVE ; then
70871     # Do checks for resource limit functions.
70872
70873   setrlimit_have_headers=yes
70874   for ac_header in unistd.h sys/time.h sys/resource.h
70875 do :
70876   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70877 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70878 eval as_val=\$$as_ac_Header
70879    if test "x$as_val" = x""yes; then :
70880   cat >>confdefs.h <<_ACEOF
70881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70882 _ACEOF
70883
70884 else
70885   setrlimit_have_headers=no
70886 fi
70887
70888 done
70889
70890   # If don't have the headers, then we can't run the tests now, and we
70891   # won't be seeing any of these during testsuite compilation.
70892   if test $setrlimit_have_headers = yes; then
70893     # Can't do these in a loop, else the resulting syntax is wrong.
70894
70895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70896 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70898 /* end confdefs.h.  */
70899 #include <unistd.h>
70900      #include <sys/time.h>
70901      #include <sys/resource.h>
70902
70903 int
70904 main ()
70905 {
70906  int f = RLIMIT_DATA ;
70907   ;
70908   return 0;
70909 }
70910 _ACEOF
70911 if ac_fn_c_try_compile "$LINENO"; then :
70912   glibcxx_mresult=1
70913 else
70914   glibcxx_mresult=0
70915 fi
70916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70917
70918 cat >>confdefs.h <<_ACEOF
70919 #define HAVE_LIMIT_DATA $glibcxx_mresult
70920 _ACEOF
70921
70922   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70924 $as_echo "$res" >&6; }
70925
70926
70927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70928 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70930 /* end confdefs.h.  */
70931 #include <unistd.h>
70932      #include <sys/time.h>
70933      #include <sys/resource.h>
70934
70935 int
70936 main ()
70937 {
70938  int f = RLIMIT_RSS ;
70939   ;
70940   return 0;
70941 }
70942 _ACEOF
70943 if ac_fn_c_try_compile "$LINENO"; then :
70944   glibcxx_mresult=1
70945 else
70946   glibcxx_mresult=0
70947 fi
70948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70949
70950 cat >>confdefs.h <<_ACEOF
70951 #define HAVE_LIMIT_RSS $glibcxx_mresult
70952 _ACEOF
70953
70954   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70956 $as_echo "$res" >&6; }
70957
70958
70959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70960 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70962 /* end confdefs.h.  */
70963 #include <unistd.h>
70964      #include <sys/time.h>
70965      #include <sys/resource.h>
70966
70967 int
70968 main ()
70969 {
70970  int f = RLIMIT_VMEM ;
70971   ;
70972   return 0;
70973 }
70974 _ACEOF
70975 if ac_fn_c_try_compile "$LINENO"; then :
70976   glibcxx_mresult=1
70977 else
70978   glibcxx_mresult=0
70979 fi
70980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70981
70982 cat >>confdefs.h <<_ACEOF
70983 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70984 _ACEOF
70985
70986   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70988 $as_echo "$res" >&6; }
70989
70990
70991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70992 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70994 /* end confdefs.h.  */
70995 #include <unistd.h>
70996      #include <sys/time.h>
70997      #include <sys/resource.h>
70998
70999 int
71000 main ()
71001 {
71002  int f = RLIMIT_AS ;
71003   ;
71004   return 0;
71005 }
71006 _ACEOF
71007 if ac_fn_c_try_compile "$LINENO"; then :
71008   glibcxx_mresult=1
71009 else
71010   glibcxx_mresult=0
71011 fi
71012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71013
71014 cat >>confdefs.h <<_ACEOF
71015 #define HAVE_LIMIT_AS $glibcxx_mresult
71016 _ACEOF
71017
71018   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71020 $as_echo "$res" >&6; }
71021
71022
71023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
71024 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
71025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71026 /* end confdefs.h.  */
71027 #include <unistd.h>
71028      #include <sys/time.h>
71029      #include <sys/resource.h>
71030
71031 int
71032 main ()
71033 {
71034  int f = RLIMIT_FSIZE ;
71035   ;
71036   return 0;
71037 }
71038 _ACEOF
71039 if ac_fn_c_try_compile "$LINENO"; then :
71040   glibcxx_mresult=1
71041 else
71042   glibcxx_mresult=0
71043 fi
71044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71045
71046 cat >>confdefs.h <<_ACEOF
71047 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
71048 _ACEOF
71049
71050   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71052 $as_echo "$res" >&6; }
71053
71054
71055     # Check for rlimit, setrlimit.
71056     if test "${glibcxx_cv_setrlimit+set}" = set; then :
71057   $as_echo_n "(cached) " >&6
71058 else
71059
71060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71061 /* end confdefs.h.  */
71062 #include <unistd.h>
71063          #include <sys/time.h>
71064          #include <sys/resource.h>
71065
71066 int
71067 main ()
71068 {
71069 struct rlimit r;
71070          setrlimit(0, &r);
71071   ;
71072   return 0;
71073 }
71074 _ACEOF
71075 if ac_fn_c_try_compile "$LINENO"; then :
71076   glibcxx_cv_setrlimit=yes
71077 else
71078   glibcxx_cv_setrlimit=no
71079 fi
71080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71081
71082 fi
71083
71084   fi
71085
71086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
71087 $as_echo_n "checking for testsuite resource limits support... " >&6; }
71088   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
71089     ac_res_limits=yes
71090
71091 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
71092
71093   else
71094     ac_res_limits=no
71095   fi
71096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
71097 $as_echo "$ac_res_limits" >&6; }
71098
71099
71100     # Look for setenv, so that extended locale tests can be performed.
71101
71102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71103 $as_echo_n "checking for setenv declaration... " >&6; }
71104   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71105     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71106   $as_echo_n "(cached) " >&6
71107 else
71108
71109
71110       ac_ext=cpp
71111 ac_cpp='$CXXCPP $CPPFLAGS'
71112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71115
71116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71117 /* end confdefs.h.  */
71118 #include <stdlib.h>
71119 int
71120 main ()
71121 {
71122  setenv(0, 0, 0);
71123   ;
71124   return 0;
71125 }
71126 _ACEOF
71127 if ac_fn_cxx_try_compile "$LINENO"; then :
71128   glibcxx_cv_func_setenv_use=yes
71129 else
71130   glibcxx_cv_func_setenv_use=no
71131 fi
71132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71133       ac_ext=c
71134 ac_cpp='$CPP $CPPFLAGS'
71135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71138
71139
71140 fi
71141
71142   fi
71143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71144 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71145   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71146     for ac_func in setenv
71147 do :
71148   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71149 if test "x$ac_cv_func_setenv" = x""yes; then :
71150   cat >>confdefs.h <<_ACEOF
71151 #define HAVE_SETENV 1
71152 _ACEOF
71153
71154 fi
71155 done
71156
71157   fi
71158
71159   fi
71160
71161   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71162      test $enable_symvers != no; then
71163     case "$host" in
71164       *-*-cygwin*)
71165         enable_abi_check=no ;;
71166       *)
71167         enable_abi_check=yes ;;
71168     esac
71169   else
71170     # Only build this as native, since automake does not understand
71171     # CXX_FOR_BUILD.
71172     enable_abi_check=no
71173   fi
71174
71175   # Export file names for ABI checking.
71176   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71177
71178   baseline_subdir_switch="$abi_baseline_subdir_switch"
71179
71180
71181
71182 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
71183
71184    # Check whether --enable-libstdcxx-threads was given.
71185 if test "${enable_libstdcxx_threads+set}" = set; then :
71186   enableval=$enable_libstdcxx_threads;
71187       case "$enableval" in
71188        yes|no) ;;
71189        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71190       esac
71191
71192 else
71193   enable_libstdcxx_threads=auto
71194 fi
71195
71196
71197
71198   if test x$enable_libstdcxx_threads = xauto ||
71199      test x$enable_libstdcxx_threads = xyes; then
71200
71201
71202   ac_ext=cpp
71203 ac_cpp='$CXXCPP $CPPFLAGS'
71204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71207
71208
71209   ac_save_CXXFLAGS="$CXXFLAGS"
71210   CXXFLAGS="$CXXFLAGS -fno-exceptions \
71211         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71212
71213   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71214   case $target_thread_file in
71215     posix)
71216       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71217   esac
71218
71219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71220 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71221
71222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71223 /* end confdefs.h.  */
71224 #include <unistd.h>
71225 int
71226 main ()
71227 {
71228
71229       // In case of POSIX threads check _POSIX_TIMEOUTS.
71230       #if (defined(_PTHREADS) \
71231           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71232       #error
71233       #endif
71234
71235   ;
71236   return 0;
71237 }
71238 _ACEOF
71239 if ac_fn_cxx_try_compile "$LINENO"; then :
71240   ac_gthread_use_mutex_timedlock=1
71241 else
71242   ac_gthread_use_mutex_timedlock=0
71243 fi
71244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71245
71246
71247 cat >>confdefs.h <<_ACEOF
71248 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71249 _ACEOF
71250
71251
71252   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71253   else res_mutex_timedlock=no ; fi
71254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71255 $as_echo "$res_mutex_timedlock" >&6; }
71256
71257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71258 $as_echo_n "checking for gthreads library... " >&6; }
71259
71260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71261 /* end confdefs.h.  */
71262 #include "gthr.h"
71263 int
71264 main ()
71265 {
71266
71267       #ifndef __GTHREADS_CXX0X
71268       #error
71269       #endif
71270
71271   ;
71272   return 0;
71273 }
71274 _ACEOF
71275 if ac_fn_cxx_try_compile "$LINENO"; then :
71276   case $target_os in
71277           # gthreads support breaks symbol versioning on Solaris 9 (PR
71278           # libstdc++/52189).
71279           solaris2.9*)
71280             if test x$enable_symvers = xno; then
71281               ac_has_gthreads=yes
71282             elif test x$enable_libstdcxx_threads = xyes; then
71283               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71284 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71285               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71286 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71287               ac_has_gthreads=yes
71288             else
71289               ac_has_gthreads=no
71290             fi
71291             ;;
71292           *)
71293             ac_has_gthreads=yes
71294             ;;
71295         esac
71296 else
71297   ac_has_gthreads=no
71298 fi
71299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71300   else
71301     ac_has_gthreads=no
71302   fi
71303
71304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71305 $as_echo "$ac_has_gthreads" >&6; }
71306
71307   if test x"$ac_has_gthreads" = x"yes"; then
71308
71309 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71310
71311   fi
71312
71313   CXXFLAGS="$ac_save_CXXFLAGS"
71314   ac_ext=c
71315 ac_cpp='$CPP $CPPFLAGS'
71316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71319
71320
71321
71322 # Define documentation rules conditionally.
71323
71324 # See if makeinfo has been installed and is modern enough
71325 # that we can use it.
71326
71327   # Extract the first word of "makeinfo", so it can be a program name with args.
71328 set dummy makeinfo; ac_word=$2
71329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71330 $as_echo_n "checking for $ac_word... " >&6; }
71331 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71332   $as_echo_n "(cached) " >&6
71333 else
71334   if test -n "$MAKEINFO"; then
71335   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71336 else
71337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71338 for as_dir in $PATH
71339 do
71340   IFS=$as_save_IFS
71341   test -z "$as_dir" && as_dir=.
71342     for ac_exec_ext in '' $ac_executable_extensions; do
71343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71344     ac_cv_prog_MAKEINFO="makeinfo"
71345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71346     break 2
71347   fi
71348 done
71349   done
71350 IFS=$as_save_IFS
71351
71352 fi
71353 fi
71354 MAKEINFO=$ac_cv_prog_MAKEINFO
71355 if test -n "$MAKEINFO"; then
71356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71357 $as_echo "$MAKEINFO" >&6; }
71358 else
71359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71360 $as_echo "no" >&6; }
71361 fi
71362
71363
71364   if test -n "$MAKEINFO"; then
71365     # Found it, now check the version.
71366     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71367 $as_echo_n "checking for modern makeinfo... " >&6; }
71368 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71369   $as_echo_n "(cached) " >&6
71370 else
71371   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71372                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71373
71374                     case $ac_prog_version in
71375                       '')  gcc_cv_prog_makeinfo_modern=no;;
71376                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
71377                       *)   gcc_cv_prog_makeinfo_modern=no;;
71378                     esac
71379
71380 fi
71381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71382 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71383   else
71384     gcc_cv_prog_makeinfo_modern=no
71385   fi
71386   if test $gcc_cv_prog_makeinfo_modern = no; then
71387     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71388   fi
71389
71390  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71391   BUILD_INFO_TRUE=
71392   BUILD_INFO_FALSE='#'
71393 else
71394   BUILD_INFO_TRUE='#'
71395   BUILD_INFO_FALSE=
71396 fi
71397
71398
71399 # Check for doxygen
71400 # Extract the first word of "doxygen", so it can be a program name with args.
71401 set dummy doxygen; ac_word=$2
71402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71403 $as_echo_n "checking for $ac_word... " >&6; }
71404 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71405   $as_echo_n "(cached) " >&6
71406 else
71407   if test -n "$DOXYGEN"; then
71408   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71409 else
71410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71411 for as_dir in $PATH
71412 do
71413   IFS=$as_save_IFS
71414   test -z "$as_dir" && as_dir=.
71415     for ac_exec_ext in '' $ac_executable_extensions; do
71416   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71417     ac_cv_prog_DOXYGEN="yes"
71418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71419     break 2
71420   fi
71421 done
71422   done
71423 IFS=$as_save_IFS
71424
71425   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71426 fi
71427 fi
71428 DOXYGEN=$ac_cv_prog_DOXYGEN
71429 if test -n "$DOXYGEN"; then
71430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71431 $as_echo "$DOXYGEN" >&6; }
71432 else
71433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71434 $as_echo "no" >&6; }
71435 fi
71436
71437
71438 # Extract the first word of "dot", so it can be a program name with args.
71439 set dummy dot; ac_word=$2
71440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71441 $as_echo_n "checking for $ac_word... " >&6; }
71442 if test "${ac_cv_prog_DOT+set}" = set; then :
71443   $as_echo_n "(cached) " >&6
71444 else
71445   if test -n "$DOT"; then
71446   ac_cv_prog_DOT="$DOT" # Let the user override the test.
71447 else
71448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71449 for as_dir in $PATH
71450 do
71451   IFS=$as_save_IFS
71452   test -z "$as_dir" && as_dir=.
71453     for ac_exec_ext in '' $ac_executable_extensions; do
71454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71455     ac_cv_prog_DOT="yes"
71456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71457     break 2
71458   fi
71459 done
71460   done
71461 IFS=$as_save_IFS
71462
71463   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71464 fi
71465 fi
71466 DOT=$ac_cv_prog_DOT
71467 if test -n "$DOT"; then
71468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71469 $as_echo "$DOT" >&6; }
71470 else
71471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71472 $as_echo "no" >&6; }
71473 fi
71474
71475
71476
71477 # Check for docbook
71478 # Extract the first word of "xsltproc", so it can be a program name with args.
71479 set dummy xsltproc; ac_word=$2
71480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71481 $as_echo_n "checking for $ac_word... " >&6; }
71482 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71483   $as_echo_n "(cached) " >&6
71484 else
71485   if test -n "$XSLTPROC"; then
71486   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71487 else
71488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71489 for as_dir in $PATH
71490 do
71491   IFS=$as_save_IFS
71492   test -z "$as_dir" && as_dir=.
71493     for ac_exec_ext in '' $ac_executable_extensions; do
71494   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71495     ac_cv_prog_XSLTPROC="yes"
71496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71497     break 2
71498   fi
71499 done
71500   done
71501 IFS=$as_save_IFS
71502
71503   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71504 fi
71505 fi
71506 XSLTPROC=$ac_cv_prog_XSLTPROC
71507 if test -n "$XSLTPROC"; then
71508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71509 $as_echo "$XSLTPROC" >&6; }
71510 else
71511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71512 $as_echo "no" >&6; }
71513 fi
71514
71515
71516 # Extract the first word of "xmllint", so it can be a program name with args.
71517 set dummy xmllint; ac_word=$2
71518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71519 $as_echo_n "checking for $ac_word... " >&6; }
71520 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71521   $as_echo_n "(cached) " >&6
71522 else
71523   if test -n "$XMLLINT"; then
71524   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71525 else
71526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71527 for as_dir in $PATH
71528 do
71529   IFS=$as_save_IFS
71530   test -z "$as_dir" && as_dir=.
71531     for ac_exec_ext in '' $ac_executable_extensions; do
71532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71533     ac_cv_prog_XMLLINT="yes"
71534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71535     break 2
71536   fi
71537 done
71538   done
71539 IFS=$as_save_IFS
71540
71541   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71542 fi
71543 fi
71544 XMLLINT=$ac_cv_prog_XMLLINT
71545 if test -n "$XMLLINT"; then
71546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71547 $as_echo "$XMLLINT" >&6; }
71548 else
71549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71550 $as_echo "no" >&6; }
71551 fi
71552
71553
71554
71555
71556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71557 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71558 glibcxx_stylesheets=no
71559 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
71560   glibcxx_stylesheets=yes
71561 fi
71562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71563 $as_echo "$glibcxx_stylesheets" >&6; }
71564
71565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71566 $as_echo_n "checking for local stylesheet directory... " >&6; }
71567 glibcxx_local_stylesheets=no
71568 if test x"$glibcxx_stylesheets" = x"yes"; then
71569   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71570     glibcxx_local_stylesheets=yes
71571     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71572   fi
71573   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71574     glibcxx_local_stylesheets=yes
71575     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71576   fi
71577   if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
71578     glibcxx_local_stylesheets=yes
71579     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
71580   fi
71581 fi
71582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71583 $as_echo "$glibcxx_local_stylesheets" >&6; }
71584
71585 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71586
71587   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71588 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71589 else
71590   glibcxx_stylesheets=no
71591 fi
71592
71593 # Check for epub3 dependencies.
71594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71595 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71596 glibcxx_epub_stylesheets=no
71597 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71598    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71599       glibcxx_epub_stylesheets=yes
71600    fi
71601 fi
71602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71603 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71604  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71605   BUILD_EPUB_TRUE=
71606   BUILD_EPUB_FALSE='#'
71607 else
71608   BUILD_EPUB_TRUE='#'
71609   BUILD_EPUB_FALSE=
71610 fi
71611
71612
71613
71614
71615 # Check for xml/html dependencies.
71616  if test $ac_cv_prog_DOXYGEN = "yes" &&
71617                test $ac_cv_prog_DOT = "yes" &&
71618                test $ac_cv_prog_XSLTPROC = "yes" &&
71619                test $ac_cv_prog_XMLLINT = "yes" &&
71620                test $glibcxx_stylesheets = "yes"; then
71621   BUILD_XML_TRUE=
71622   BUILD_XML_FALSE='#'
71623 else
71624   BUILD_XML_TRUE='#'
71625   BUILD_XML_FALSE=
71626 fi
71627
71628
71629  if test $ac_cv_prog_DOXYGEN = "yes" &&
71630                test $ac_cv_prog_DOT = "yes" &&
71631                test $ac_cv_prog_XSLTPROC = "yes" &&
71632                test $ac_cv_prog_XMLLINT = "yes" &&
71633                test $glibcxx_stylesheets = "yes"; then
71634   BUILD_HTML_TRUE=
71635   BUILD_HTML_FALSE='#'
71636 else
71637   BUILD_HTML_TRUE='#'
71638   BUILD_HTML_FALSE=
71639 fi
71640
71641
71642 # Check for man dependencies.
71643  if test $ac_cv_prog_DOXYGEN = "yes" &&
71644                test $ac_cv_prog_DOT = "yes"; then
71645   BUILD_MAN_TRUE=
71646   BUILD_MAN_FALSE='#'
71647 else
71648   BUILD_MAN_TRUE='#'
71649   BUILD_MAN_FALSE=
71650 fi
71651
71652
71653 # Check for pdf dependencies.
71654 # Extract the first word of "dblatex", so it can be a program name with args.
71655 set dummy dblatex; ac_word=$2
71656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71657 $as_echo_n "checking for $ac_word... " >&6; }
71658 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71659   $as_echo_n "(cached) " >&6
71660 else
71661   if test -n "$DBLATEX"; then
71662   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71663 else
71664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71665 for as_dir in $PATH
71666 do
71667   IFS=$as_save_IFS
71668   test -z "$as_dir" && as_dir=.
71669     for ac_exec_ext in '' $ac_executable_extensions; do
71670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71671     ac_cv_prog_DBLATEX="yes"
71672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71673     break 2
71674   fi
71675 done
71676   done
71677 IFS=$as_save_IFS
71678
71679   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71680 fi
71681 fi
71682 DBLATEX=$ac_cv_prog_DBLATEX
71683 if test -n "$DBLATEX"; then
71684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71685 $as_echo "$DBLATEX" >&6; }
71686 else
71687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71688 $as_echo "no" >&6; }
71689 fi
71690
71691
71692 # Extract the first word of "pdflatex", so it can be a program name with args.
71693 set dummy pdflatex; ac_word=$2
71694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71695 $as_echo_n "checking for $ac_word... " >&6; }
71696 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71697   $as_echo_n "(cached) " >&6
71698 else
71699   if test -n "$PDFLATEX"; then
71700   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71701 else
71702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71703 for as_dir in $PATH
71704 do
71705   IFS=$as_save_IFS
71706   test -z "$as_dir" && as_dir=.
71707     for ac_exec_ext in '' $ac_executable_extensions; do
71708   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71709     ac_cv_prog_PDFLATEX="yes"
71710     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71711     break 2
71712   fi
71713 done
71714   done
71715 IFS=$as_save_IFS
71716
71717   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71718 fi
71719 fi
71720 PDFLATEX=$ac_cv_prog_PDFLATEX
71721 if test -n "$PDFLATEX"; then
71722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71723 $as_echo "$PDFLATEX" >&6; }
71724 else
71725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71726 $as_echo "no" >&6; }
71727 fi
71728
71729
71730  if test $ac_cv_prog_DBLATEX = "yes" &&
71731                test $ac_cv_prog_PDFLATEX = "yes"; then
71732   BUILD_PDF_TRUE=
71733   BUILD_PDF_FALSE='#'
71734 else
71735   BUILD_PDF_TRUE='#'
71736   BUILD_PDF_FALSE=
71737 fi
71738
71739
71740
71741 # Propagate the target-specific source directories through the build chain.
71742 ATOMICITY_SRCDIR=config/${atomicity_dir}
71743 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71744 ATOMIC_FLAGS=${atomic_flags}
71745 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71746 OS_INC_SRCDIR=config/${os_include_dir}
71747 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71748 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71749 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71750 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
71751
71752
71753
71754
71755
71756
71757
71758
71759
71760
71761
71762 # Determine cross-compile flags and AM_CONDITIONALs.
71763 #AC_SUBST(GLIBCXX_IS_NATIVE)
71764 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71765     if test $is_hosted = yes; then
71766   GLIBCXX_HOSTED_TRUE=
71767   GLIBCXX_HOSTED_FALSE='#'
71768 else
71769   GLIBCXX_HOSTED_TRUE='#'
71770   GLIBCXX_HOSTED_FALSE=
71771 fi
71772
71773
71774     if test $enable_libstdcxx_pch = yes; then
71775   GLIBCXX_BUILD_PCH_TRUE=
71776   GLIBCXX_BUILD_PCH_FALSE='#'
71777 else
71778   GLIBCXX_BUILD_PCH_TRUE='#'
71779   GLIBCXX_BUILD_PCH_FALSE=
71780 fi
71781
71782
71783     if test $enable_cheaders = c; then
71784   GLIBCXX_C_HEADERS_C_TRUE=
71785   GLIBCXX_C_HEADERS_C_FALSE='#'
71786 else
71787   GLIBCXX_C_HEADERS_C_TRUE='#'
71788   GLIBCXX_C_HEADERS_C_FALSE=
71789 fi
71790
71791
71792     if test $enable_cheaders = c_std; then
71793   GLIBCXX_C_HEADERS_C_STD_TRUE=
71794   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71795 else
71796   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71797   GLIBCXX_C_HEADERS_C_STD_FALSE=
71798 fi
71799
71800
71801     if test $enable_cheaders = c_global; then
71802   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71803   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71804 else
71805   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71806   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71807 fi
71808
71809
71810     if test $c_compatibility = yes; then
71811   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71812   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71813 else
71814   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71815   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71816 fi
71817
71818
71819     if test $enable_libstdcxx_debug = yes; then
71820   GLIBCXX_BUILD_DEBUG_TRUE=
71821   GLIBCXX_BUILD_DEBUG_FALSE='#'
71822 else
71823   GLIBCXX_BUILD_DEBUG_TRUE='#'
71824   GLIBCXX_BUILD_DEBUG_FALSE=
71825 fi
71826
71827
71828     if test $enable_extern_template = yes; then
71829   ENABLE_EXTERN_TEMPLATE_TRUE=
71830   ENABLE_EXTERN_TEMPLATE_FALSE='#'
71831 else
71832   ENABLE_EXTERN_TEMPLATE_TRUE='#'
71833   ENABLE_EXTERN_TEMPLATE_FALSE=
71834 fi
71835
71836
71837     if test $python_mod_dir != no; then
71838   ENABLE_PYTHONDIR_TRUE=
71839   ENABLE_PYTHONDIR_FALSE='#'
71840 else
71841   ENABLE_PYTHONDIR_TRUE='#'
71842   ENABLE_PYTHONDIR_FALSE=
71843 fi
71844
71845
71846     if test $enable_werror = yes; then
71847   ENABLE_WERROR_TRUE=
71848   ENABLE_WERROR_FALSE='#'
71849 else
71850   ENABLE_WERROR_TRUE='#'
71851   ENABLE_WERROR_FALSE=
71852 fi
71853
71854
71855     if test $enable_symvers != no; then
71856   ENABLE_SYMVERS_TRUE=
71857   ENABLE_SYMVERS_FALSE='#'
71858 else
71859   ENABLE_SYMVERS_TRUE='#'
71860   ENABLE_SYMVERS_FALSE=
71861 fi
71862
71863
71864     if test $enable_symvers = gnu; then
71865   ENABLE_SYMVERS_GNU_TRUE=
71866   ENABLE_SYMVERS_GNU_FALSE='#'
71867 else
71868   ENABLE_SYMVERS_GNU_TRUE='#'
71869   ENABLE_SYMVERS_GNU_FALSE=
71870 fi
71871
71872
71873     if test $enable_symvers = gnu-versioned-namespace; then
71874   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71875   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71876 else
71877   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71878   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71879 fi
71880
71881
71882     if test $enable_symvers = darwin; then
71883   ENABLE_SYMVERS_DARWIN_TRUE=
71884   ENABLE_SYMVERS_DARWIN_FALSE='#'
71885 else
71886   ENABLE_SYMVERS_DARWIN_TRUE='#'
71887   ENABLE_SYMVERS_DARWIN_FALSE=
71888 fi
71889
71890
71891     if test $enable_symvers = sun; then
71892   ENABLE_SYMVERS_SUN_TRUE=
71893   ENABLE_SYMVERS_SUN_FALSE='#'
71894 else
71895   ENABLE_SYMVERS_SUN_TRUE='#'
71896   ENABLE_SYMVERS_SUN_FALSE=
71897 fi
71898
71899
71900     if test $enable_libstdcxx_visibility = yes; then
71901   ENABLE_VISIBILITY_TRUE=
71902   ENABLE_VISIBILITY_FALSE='#'
71903 else
71904   ENABLE_VISIBILITY_TRUE='#'
71905   ENABLE_VISIBILITY_FALSE=
71906 fi
71907
71908
71909     if test $ac_ldbl_compat = yes; then
71910   GLIBCXX_LDBL_COMPAT_TRUE=
71911   GLIBCXX_LDBL_COMPAT_FALSE='#'
71912 else
71913   GLIBCXX_LDBL_COMPAT_TRUE='#'
71914   GLIBCXX_LDBL_COMPAT_FALSE=
71915 fi
71916
71917
71918
71919
71920 cat >confcache <<\_ACEOF
71921 # This file is a shell script that caches the results of configure
71922 # tests run on this system so they can be shared between configure
71923 # scripts and configure runs, see configure's option --config-cache.
71924 # It is not useful on other systems.  If it contains results you don't
71925 # want to keep, you may remove or edit it.
71926 #
71927 # config.status only pays attention to the cache file if you give it
71928 # the --recheck option to rerun configure.
71929 #
71930 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71931 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71932 # following values.
71933
71934 _ACEOF
71935
71936 # The following way of writing the cache mishandles newlines in values,
71937 # but we know of no workaround that is simple, portable, and efficient.
71938 # So, we kill variables containing newlines.
71939 # Ultrix sh set writes to stderr and can't be redirected directly,
71940 # and sets the high bit in the cache file unless we assign to the vars.
71941 (
71942   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71943     eval ac_val=\$$ac_var
71944     case $ac_val in #(
71945     *${as_nl}*)
71946       case $ac_var in #(
71947       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71948 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71949       esac
71950       case $ac_var in #(
71951       _ | IFS | as_nl) ;; #(
71952       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71953       *) { eval $ac_var=; unset $ac_var;} ;;
71954       esac ;;
71955     esac
71956   done
71957
71958   (set) 2>&1 |
71959     case $as_nl`(ac_space=' '; set) 2>&1` in #(
71960     *${as_nl}ac_space=\ *)
71961       # `set' does not quote correctly, so add quotes: double-quote
71962       # substitution turns \\\\ into \\, and sed turns \\ into \.
71963       sed -n \
71964         "s/'/'\\\\''/g;
71965           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71966       ;; #(
71967     *)
71968       # `set' quotes correctly as required by POSIX, so do not add quotes.
71969       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71970       ;;
71971     esac |
71972     sort
71973 ) |
71974   sed '
71975      /^ac_cv_env_/b end
71976      t clear
71977      :clear
71978      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71979      t end
71980      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71981      :end' >>confcache
71982 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71983   if test -w "$cache_file"; then
71984     test "x$cache_file" != "x/dev/null" &&
71985       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71986 $as_echo "$as_me: updating cache $cache_file" >&6;}
71987     cat confcache >$cache_file
71988   else
71989     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71990 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71991   fi
71992 fi
71993 rm -f confcache
71994
71995 if test ${multilib} = yes; then
71996   multilib_arg="--enable-multilib"
71997 else
71998   multilib_arg=
71999 fi
72000
72001 # Export all the install information.
72002
72003   glibcxx_toolexecdir=no
72004   glibcxx_toolexeclibdir=no
72005   glibcxx_prefixdir=$prefix
72006
72007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
72008 $as_echo_n "checking for gxx-include-dir... " >&6; }
72009
72010 # Check whether --with-gxx-include-dir was given.
72011 if test "${with_gxx_include_dir+set}" = set; then :
72012   withval=$with_gxx_include_dir; case "$withval" in
72013       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
72014       no)  gxx_include_dir=no ;;
72015       *)   gxx_include_dir=$withval ;;
72016      esac
72017 else
72018   gxx_include_dir=no
72019 fi
72020
72021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72022 $as_echo "$gxx_include_dir" >&6; }
72023
72024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
72025 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
72026   # Check whether --enable-version-specific-runtime-libs was given.
72027 if test "${enable_version_specific_runtime_libs+set}" = set; then :
72028   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
72029       yes) version_specific_libs=yes ;;
72030       no)  version_specific_libs=no ;;
72031       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
72032      esac
72033 else
72034   version_specific_libs=no
72035 fi
72036
72037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
72038 $as_echo "$version_specific_libs" >&6; }
72039
72040   # Default case for install directory for include files.
72041   if test $version_specific_libs = no && test $gxx_include_dir = no; then
72042     gxx_include_dir='include/c++/${gcc_version}'
72043     if test -n "$with_cross_host" &&
72044        test x"$with_cross_host" != x"no"; then
72045       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
72046     else
72047       gxx_include_dir='${prefix}/'"$gxx_include_dir"
72048     fi
72049   fi
72050
72051   # Version-specific runtime libs processing.
72052   if test $version_specific_libs = yes; then
72053     # Need the gcc compiler version to know where to install libraries
72054     # and header files if --enable-version-specific-runtime-libs option
72055     # is selected.  FIXME: these variables are misnamed, there are
72056     # no executables installed in _toolexecdir or _toolexeclibdir.
72057     if test x"$gxx_include_dir" = x"no"; then
72058       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
72059     fi
72060     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72061     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
72062   fi
72063
72064   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
72065   # Install a library built with a cross compiler in tooldir, not libdir.
72066   if test x"$glibcxx_toolexecdir" = x"no"; then
72067     if test -n "$with_cross_host" &&
72068        test x"$with_cross_host" != x"no"; then
72069       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
72070       glibcxx_toolexeclibdir='${toolexecdir}/lib'
72071     else
72072       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72073       glibcxx_toolexeclibdir='${libdir}'
72074     fi
72075     multi_os_directory=`$CXX -print-multi-os-directory`
72076     case $multi_os_directory in
72077       .) ;; # Avoid trailing /.
72078       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
72079     esac
72080   fi
72081
72082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
72083 $as_echo_n "checking for install location... " >&6; }
72084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72085 $as_echo "$gxx_include_dir" >&6; }
72086
72087
72088
72089
72090
72091
72092
72093 # Export all the include and flag information to Makefiles.
72094
72095   # Used for every C++ compile we perform.
72096   GLIBCXX_INCLUDES="\
72097 -I$glibcxx_builddir/include/$host_alias \
72098 -I$glibcxx_builddir/include \
72099 -I$glibcxx_srcdir/libsupc++"
72100
72101   # For Canadian crosses, pick this up too.
72102   if test $CANADIAN = yes; then
72103     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72104   fi
72105
72106   # Stuff in the actual top level.  Currently only used by libsupc++ to
72107   # get unwind* headers from the libgcc dir.
72108   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72109   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72110
72111   # Now, export this to all the little Makefiles....
72112
72113
72114
72115
72116   # Optimization flags that are probably a good idea for thrill-seekers. Just
72117   # uncomment the lines below and make, everything else is ready to go...
72118   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72119   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72120
72121
72122   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72123
72124
72125
72126 ac_config_files="$ac_config_files Makefile"
72127
72128 ac_config_files="$ac_config_files scripts/testsuite_flags"
72129
72130 ac_config_files="$ac_config_files scripts/extract_symvers"
72131
72132 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72133
72134
72135 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72136 # that multilib installs will end up installed in the correct place.
72137 # The testsuite needs it for multilib-aware ABI baseline files.
72138 # To work around this not being passed down from config-ml.in ->
72139 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72140 # append it here.  Only modify Makefiles that have just been created.
72141 #
72142 # Also, get rid of this simulated-VPATH thing that automake does.
72143 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"
72144
72145
72146 ac_config_commands="$ac_config_commands generate-headers"
72147
72148
72149 cat >confcache <<\_ACEOF
72150 # This file is a shell script that caches the results of configure
72151 # tests run on this system so they can be shared between configure
72152 # scripts and configure runs, see configure's option --config-cache.
72153 # It is not useful on other systems.  If it contains results you don't
72154 # want to keep, you may remove or edit it.
72155 #
72156 # config.status only pays attention to the cache file if you give it
72157 # the --recheck option to rerun configure.
72158 #
72159 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72160 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72161 # following values.
72162
72163 _ACEOF
72164
72165 # The following way of writing the cache mishandles newlines in values,
72166 # but we know of no workaround that is simple, portable, and efficient.
72167 # So, we kill variables containing newlines.
72168 # Ultrix sh set writes to stderr and can't be redirected directly,
72169 # and sets the high bit in the cache file unless we assign to the vars.
72170 (
72171   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72172     eval ac_val=\$$ac_var
72173     case $ac_val in #(
72174     *${as_nl}*)
72175       case $ac_var in #(
72176       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72177 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72178       esac
72179       case $ac_var in #(
72180       _ | IFS | as_nl) ;; #(
72181       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72182       *) { eval $ac_var=; unset $ac_var;} ;;
72183       esac ;;
72184     esac
72185   done
72186
72187   (set) 2>&1 |
72188     case $as_nl`(ac_space=' '; set) 2>&1` in #(
72189     *${as_nl}ac_space=\ *)
72190       # `set' does not quote correctly, so add quotes: double-quote
72191       # substitution turns \\\\ into \\, and sed turns \\ into \.
72192       sed -n \
72193         "s/'/'\\\\''/g;
72194           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72195       ;; #(
72196     *)
72197       # `set' quotes correctly as required by POSIX, so do not add quotes.
72198       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72199       ;;
72200     esac |
72201     sort
72202 ) |
72203   sed '
72204      /^ac_cv_env_/b end
72205      t clear
72206      :clear
72207      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72208      t end
72209      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72210      :end' >>confcache
72211 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72212   if test -w "$cache_file"; then
72213     test "x$cache_file" != "x/dev/null" &&
72214       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72215 $as_echo "$as_me: updating cache $cache_file" >&6;}
72216     cat confcache >$cache_file
72217   else
72218     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72219 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72220   fi
72221 fi
72222 rm -f confcache
72223
72224 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72225 # Let make expand exec_prefix.
72226 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72227
72228 DEFS=-DHAVE_CONFIG_H
72229
72230 ac_libobjs=
72231 ac_ltlibobjs=
72232 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72233   # 1. Remove the extension, and $U if already installed.
72234   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72235   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72236   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
72237   #    will be set to the directory where LIBOBJS objects are built.
72238   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72239   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72240 done
72241 LIBOBJS=$ac_libobjs
72242
72243 LTLIBOBJS=$ac_ltlibobjs
72244
72245
72246  if test -n "$EXEEXT"; then
72247   am__EXEEXT_TRUE=
72248   am__EXEEXT_FALSE='#'
72249 else
72250   am__EXEEXT_TRUE='#'
72251   am__EXEEXT_FALSE=
72252 fi
72253
72254 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72255   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72257 fi
72258 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72259   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72261 fi
72262 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72263   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72265 fi
72266 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72267   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72269 fi
72270 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72271   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72273 fi
72274 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72275   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72277 fi
72278 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72279   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72281 fi
72282 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72283   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72285 fi
72286 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72287   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72289 fi
72290 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72291   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72293 fi
72294 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72295   as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72297 fi
72298 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72299   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72301 fi
72302 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72303   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72305 fi
72306 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72307   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72309 fi
72310 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72311   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72313 fi
72314 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72315   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72317 fi
72318 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72319   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72321 fi
72322 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72323   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72325 fi
72326 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72327   as_fn_error "conditional \"BUILD_INFO\" was never defined.
72328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72329 fi
72330 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72331   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72333 fi
72334 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72335   as_fn_error "conditional \"BUILD_XML\" was never defined.
72336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72337 fi
72338 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72339   as_fn_error "conditional \"BUILD_HTML\" was never defined.
72340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72341 fi
72342 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72343   as_fn_error "conditional \"BUILD_MAN\" was never defined.
72344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72345 fi
72346 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72347   as_fn_error "conditional \"BUILD_PDF\" was never defined.
72348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72349 fi
72350
72351 : ${CONFIG_STATUS=./config.status}
72352 ac_write_fail=0
72353 ac_clean_files_save=$ac_clean_files
72354 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72355 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72356 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72357 as_write_fail=0
72358 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72359 #! $SHELL
72360 # Generated by $as_me.
72361 # Run this file to recreate the current configuration.
72362 # Compiler output produced by configure, useful for debugging
72363 # configure, is in config.log if it exists.
72364
72365 debug=false
72366 ac_cs_recheck=false
72367 ac_cs_silent=false
72368
72369 SHELL=\${CONFIG_SHELL-$SHELL}
72370 export SHELL
72371 _ASEOF
72372 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72373 ## -------------------- ##
72374 ## M4sh Initialization. ##
72375 ## -------------------- ##
72376
72377 # Be more Bourne compatible
72378 DUALCASE=1; export DUALCASE # for MKS sh
72379 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72380   emulate sh
72381   NULLCMD=:
72382   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72383   # is contrary to our usage.  Disable this feature.
72384   alias -g '${1+"$@"}'='"$@"'
72385   setopt NO_GLOB_SUBST
72386 else
72387   case `(set -o) 2>/dev/null` in #(
72388   *posix*) :
72389     set -o posix ;; #(
72390   *) :
72391      ;;
72392 esac
72393 fi
72394
72395
72396 as_nl='
72397 '
72398 export as_nl
72399 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72400 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72401 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72402 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72403 # Prefer a ksh shell builtin over an external printf program on Solaris,
72404 # but without wasting forks for bash or zsh.
72405 if test -z "$BASH_VERSION$ZSH_VERSION" \
72406     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72407   as_echo='print -r --'
72408   as_echo_n='print -rn --'
72409 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72410   as_echo='printf %s\n'
72411   as_echo_n='printf %s'
72412 else
72413   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72414     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72415     as_echo_n='/usr/ucb/echo -n'
72416   else
72417     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72418     as_echo_n_body='eval
72419       arg=$1;
72420       case $arg in #(
72421       *"$as_nl"*)
72422         expr "X$arg" : "X\\(.*\\)$as_nl";
72423         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72424       esac;
72425       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72426     '
72427     export as_echo_n_body
72428     as_echo_n='sh -c $as_echo_n_body as_echo'
72429   fi
72430   export as_echo_body
72431   as_echo='sh -c $as_echo_body as_echo'
72432 fi
72433
72434 # The user is always right.
72435 if test "${PATH_SEPARATOR+set}" != set; then
72436   PATH_SEPARATOR=:
72437   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72438     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72439       PATH_SEPARATOR=';'
72440   }
72441 fi
72442
72443
72444 # IFS
72445 # We need space, tab and new line, in precisely that order.  Quoting is
72446 # there to prevent editors from complaining about space-tab.
72447 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72448 # splitting by setting IFS to empty value.)
72449 IFS=" ""        $as_nl"
72450
72451 # Find who we are.  Look in the path if we contain no directory separator.
72452 case $0 in #((
72453   *[\\/]* ) as_myself=$0 ;;
72454   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72455 for as_dir in $PATH
72456 do
72457   IFS=$as_save_IFS
72458   test -z "$as_dir" && as_dir=.
72459     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72460   done
72461 IFS=$as_save_IFS
72462
72463      ;;
72464 esac
72465 # We did not find ourselves, most probably we were run as `sh COMMAND'
72466 # in which case we are not to be found in the path.
72467 if test "x$as_myself" = x; then
72468   as_myself=$0
72469 fi
72470 if test ! -f "$as_myself"; then
72471   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72472   exit 1
72473 fi
72474
72475 # Unset variables that we do not need and which cause bugs (e.g. in
72476 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
72477 # suppresses any "Segmentation fault" message there.  '((' could
72478 # trigger a bug in pdksh 5.2.14.
72479 for as_var in BASH_ENV ENV MAIL MAILPATH
72480 do eval test x\${$as_var+set} = xset \
72481   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72482 done
72483 PS1='$ '
72484 PS2='> '
72485 PS4='+ '
72486
72487 # NLS nuisances.
72488 LC_ALL=C
72489 export LC_ALL
72490 LANGUAGE=C
72491 export LANGUAGE
72492
72493 # CDPATH.
72494 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72495
72496
72497 # as_fn_error ERROR [LINENO LOG_FD]
72498 # ---------------------------------
72499 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72500 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72501 # script with status $?, using 1 if that was 0.
72502 as_fn_error ()
72503 {
72504   as_status=$?; test $as_status -eq 0 && as_status=1
72505   if test "$3"; then
72506     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72507     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72508   fi
72509   $as_echo "$as_me: error: $1" >&2
72510   as_fn_exit $as_status
72511 } # as_fn_error
72512
72513
72514 # as_fn_set_status STATUS
72515 # -----------------------
72516 # Set $? to STATUS, without forking.
72517 as_fn_set_status ()
72518 {
72519   return $1
72520 } # as_fn_set_status
72521
72522 # as_fn_exit STATUS
72523 # -----------------
72524 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72525 as_fn_exit ()
72526 {
72527   set +e
72528   as_fn_set_status $1
72529   exit $1
72530 } # as_fn_exit
72531
72532 # as_fn_unset VAR
72533 # ---------------
72534 # Portably unset VAR.
72535 as_fn_unset ()
72536 {
72537   { eval $1=; unset $1;}
72538 }
72539 as_unset=as_fn_unset
72540 # as_fn_append VAR VALUE
72541 # ----------------------
72542 # Append the text in VALUE to the end of the definition contained in VAR. Take
72543 # advantage of any shell optimizations that allow amortized linear growth over
72544 # repeated appends, instead of the typical quadratic growth present in naive
72545 # implementations.
72546 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72547   eval 'as_fn_append ()
72548   {
72549     eval $1+=\$2
72550   }'
72551 else
72552   as_fn_append ()
72553   {
72554     eval $1=\$$1\$2
72555   }
72556 fi # as_fn_append
72557
72558 # as_fn_arith ARG...
72559 # ------------------
72560 # Perform arithmetic evaluation on the ARGs, and store the result in the
72561 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72562 # must be portable across $(()) and expr.
72563 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72564   eval 'as_fn_arith ()
72565   {
72566     as_val=$(( $* ))
72567   }'
72568 else
72569   as_fn_arith ()
72570   {
72571     as_val=`expr "$@" || test $? -eq 1`
72572   }
72573 fi # as_fn_arith
72574
72575
72576 if expr a : '\(a\)' >/dev/null 2>&1 &&
72577    test "X`expr 00001 : '.*\(...\)'`" = X001; then
72578   as_expr=expr
72579 else
72580   as_expr=false
72581 fi
72582
72583 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72584   as_basename=basename
72585 else
72586   as_basename=false
72587 fi
72588
72589 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72590   as_dirname=dirname
72591 else
72592   as_dirname=false
72593 fi
72594
72595 as_me=`$as_basename -- "$0" ||
72596 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72597          X"$0" : 'X\(//\)$' \| \
72598          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72599 $as_echo X/"$0" |
72600     sed '/^.*\/\([^/][^/]*\)\/*$/{
72601             s//\1/
72602             q
72603           }
72604           /^X\/\(\/\/\)$/{
72605             s//\1/
72606             q
72607           }
72608           /^X\/\(\/\).*/{
72609             s//\1/
72610             q
72611           }
72612           s/.*/./; q'`
72613
72614 # Avoid depending upon Character Ranges.
72615 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72616 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72617 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72618 as_cr_digits='0123456789'
72619 as_cr_alnum=$as_cr_Letters$as_cr_digits
72620
72621 ECHO_C= ECHO_N= ECHO_T=
72622 case `echo -n x` in #(((((
72623 -n*)
72624   case `echo 'xy\c'` in
72625   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
72626   xy)  ECHO_C='\c';;
72627   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
72628        ECHO_T=' ';;
72629   esac;;
72630 *)
72631   ECHO_N='-n';;
72632 esac
72633
72634 rm -f conf$$ conf$$.exe conf$$.file
72635 if test -d conf$$.dir; then
72636   rm -f conf$$.dir/conf$$.file
72637 else
72638   rm -f conf$$.dir
72639   mkdir conf$$.dir 2>/dev/null
72640 fi
72641 if (echo >conf$$.file) 2>/dev/null; then
72642   if ln -s conf$$.file conf$$ 2>/dev/null; then
72643     as_ln_s='ln -s'
72644     # ... but there are two gotchas:
72645     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72646     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72647     # In both cases, we have to default to `cp -p'.
72648     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72649       as_ln_s='cp -p'
72650   elif ln conf$$.file conf$$ 2>/dev/null; then
72651     as_ln_s=ln
72652   else
72653     as_ln_s='cp -p'
72654   fi
72655 else
72656   as_ln_s='cp -p'
72657 fi
72658 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72659 rmdir conf$$.dir 2>/dev/null
72660
72661
72662 # as_fn_mkdir_p
72663 # -------------
72664 # Create "$as_dir" as a directory, including parents if necessary.
72665 as_fn_mkdir_p ()
72666 {
72667
72668   case $as_dir in #(
72669   -*) as_dir=./$as_dir;;
72670   esac
72671   test -d "$as_dir" || eval $as_mkdir_p || {
72672     as_dirs=
72673     while :; do
72674       case $as_dir in #(
72675       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72676       *) as_qdir=$as_dir;;
72677       esac
72678       as_dirs="'$as_qdir' $as_dirs"
72679       as_dir=`$as_dirname -- "$as_dir" ||
72680 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72681          X"$as_dir" : 'X\(//\)[^/]' \| \
72682          X"$as_dir" : 'X\(//\)$' \| \
72683          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72684 $as_echo X"$as_dir" |
72685     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72686             s//\1/
72687             q
72688           }
72689           /^X\(\/\/\)[^/].*/{
72690             s//\1/
72691             q
72692           }
72693           /^X\(\/\/\)$/{
72694             s//\1/
72695             q
72696           }
72697           /^X\(\/\).*/{
72698             s//\1/
72699             q
72700           }
72701           s/.*/./; q'`
72702       test -d "$as_dir" && break
72703     done
72704     test -z "$as_dirs" || eval "mkdir $as_dirs"
72705   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72706
72707
72708 } # as_fn_mkdir_p
72709 if mkdir -p . 2>/dev/null; then
72710   as_mkdir_p='mkdir -p "$as_dir"'
72711 else
72712   test -d ./-p && rmdir ./-p
72713   as_mkdir_p=false
72714 fi
72715
72716 if test -x / >/dev/null 2>&1; then
72717   as_test_x='test -x'
72718 else
72719   if ls -dL / >/dev/null 2>&1; then
72720     as_ls_L_option=L
72721   else
72722     as_ls_L_option=
72723   fi
72724   as_test_x='
72725     eval sh -c '\''
72726       if test -d "$1"; then
72727         test -d "$1/.";
72728       else
72729         case $1 in #(
72730         -*)set "./$1";;
72731         esac;
72732         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72733         ???[sx]*):;;*)false;;esac;fi
72734     '\'' sh
72735   '
72736 fi
72737 as_executable_p=$as_test_x
72738
72739 # Sed expression to map a string onto a valid CPP name.
72740 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72741
72742 # Sed expression to map a string onto a valid variable name.
72743 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72744
72745
72746 exec 6>&1
72747 ## ----------------------------------- ##
72748 ## Main body of $CONFIG_STATUS script. ##
72749 ## ----------------------------------- ##
72750 _ASEOF
72751 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72752
72753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72754 # Save the log message, to keep $0 and so on meaningful, and to
72755 # report actual input values of CONFIG_FILES etc. instead of their
72756 # values after options handling.
72757 ac_log="
72758 This file was extended by package-unused $as_me version-unused, which was
72759 generated by GNU Autoconf 2.64.  Invocation command line was
72760
72761   CONFIG_FILES    = $CONFIG_FILES
72762   CONFIG_HEADERS  = $CONFIG_HEADERS
72763   CONFIG_LINKS    = $CONFIG_LINKS
72764   CONFIG_COMMANDS = $CONFIG_COMMANDS
72765   $ $0 $@
72766
72767 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72768 "
72769
72770 _ACEOF
72771
72772 case $ac_config_files in *"
72773 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72774 esac
72775
72776 case $ac_config_headers in *"
72777 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72778 esac
72779
72780
72781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72782 # Files that config.status was made for.
72783 config_files="$ac_config_files"
72784 config_headers="$ac_config_headers"
72785 config_commands="$ac_config_commands"
72786
72787 _ACEOF
72788
72789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72790 ac_cs_usage="\
72791 \`$as_me' instantiates files and other configuration actions
72792 from templates according to the current configuration.  Unless the files
72793 and actions are specified as TAGs, all are instantiated by default.
72794
72795 Usage: $0 [OPTION]... [TAG]...
72796
72797   -h, --help       print this help, then exit
72798   -V, --version    print version number and configuration settings, then exit
72799   -q, --quiet, --silent
72800                    do not print progress messages
72801   -d, --debug      don't remove temporary files
72802       --recheck    update $as_me by reconfiguring in the same conditions
72803       --file=FILE[:TEMPLATE]
72804                    instantiate the configuration file FILE
72805       --header=FILE[:TEMPLATE]
72806                    instantiate the configuration header FILE
72807
72808 Configuration files:
72809 $config_files
72810
72811 Configuration headers:
72812 $config_headers
72813
72814 Configuration commands:
72815 $config_commands
72816
72817 Report bugs to the package provider."
72818
72819 _ACEOF
72820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72821 ac_cs_version="\\
72822 package-unused config.status version-unused
72823 configured by $0, generated by GNU Autoconf 2.64,
72824   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72825
72826 Copyright (C) 2009 Free Software Foundation, Inc.
72827 This config.status script is free software; the Free Software Foundation
72828 gives unlimited permission to copy, distribute and modify it."
72829
72830 ac_pwd='$ac_pwd'
72831 srcdir='$srcdir'
72832 INSTALL='$INSTALL'
72833 MKDIR_P='$MKDIR_P'
72834 AWK='$AWK'
72835 test -n "\$AWK" || AWK=awk
72836 _ACEOF
72837
72838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72839 # The default lists apply if the user does not specify any file.
72840 ac_need_defaults=:
72841 while test $# != 0
72842 do
72843   case $1 in
72844   --*=*)
72845     ac_option=`expr "X$1" : 'X\([^=]*\)='`
72846     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72847     ac_shift=:
72848     ;;
72849   *)
72850     ac_option=$1
72851     ac_optarg=$2
72852     ac_shift=shift
72853     ;;
72854   esac
72855
72856   case $ac_option in
72857   # Handling of the options.
72858   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72859     ac_cs_recheck=: ;;
72860   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72861     $as_echo "$ac_cs_version"; exit ;;
72862   --debug | --debu | --deb | --de | --d | -d )
72863     debug=: ;;
72864   --file | --fil | --fi | --f )
72865     $ac_shift
72866     case $ac_optarg in
72867     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72868     esac
72869     as_fn_append CONFIG_FILES " '$ac_optarg'"
72870     ac_need_defaults=false;;
72871   --header | --heade | --head | --hea )
72872     $ac_shift
72873     case $ac_optarg in
72874     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72875     esac
72876     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72877     ac_need_defaults=false;;
72878   --he | --h)
72879     # Conflict between --help and --header
72880     as_fn_error "ambiguous option: \`$1'
72881 Try \`$0 --help' for more information.";;
72882   --help | --hel | -h )
72883     $as_echo "$ac_cs_usage"; exit ;;
72884   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72885   | -silent | --silent | --silen | --sile | --sil | --si | --s)
72886     ac_cs_silent=: ;;
72887
72888   # This is an error.
72889   -*) as_fn_error "unrecognized option: \`$1'
72890 Try \`$0 --help' for more information." ;;
72891
72892   *) as_fn_append ac_config_targets " $1"
72893      ac_need_defaults=false ;;
72894
72895   esac
72896   shift
72897 done
72898
72899 ac_configure_extra_args=
72900
72901 if $ac_cs_silent; then
72902   exec 6>/dev/null
72903   ac_configure_extra_args="$ac_configure_extra_args --silent"
72904 fi
72905
72906 _ACEOF
72907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72908 if \$ac_cs_recheck; then
72909   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72910   shift
72911   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72912   CONFIG_SHELL='$SHELL'
72913   export CONFIG_SHELL
72914   exec "\$@"
72915 fi
72916
72917 _ACEOF
72918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72919 exec 5>>config.log
72920 {
72921   echo
72922   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72923 ## Running $as_me. ##
72924 _ASBOX
72925   $as_echo "$ac_log"
72926 } >&5
72927
72928 _ACEOF
72929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72930 #
72931 # INIT-COMMANDS
72932 #
72933
72934 srcdir="$srcdir"
72935 host="$host"
72936 target="$target"
72937 with_multisubdir="$with_multisubdir"
72938 with_multisrctop="$with_multisrctop"
72939 with_target_subdir="$with_target_subdir"
72940 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72941 multi_basedir="$multi_basedir"
72942 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72943 CC="$CC"
72944 CXX="$CXX"
72945 GFORTRAN="$GFORTRAN"
72946 GCJ="$GCJ"
72947
72948
72949 # The HP-UX ksh and POSIX shell print the target directory to stdout
72950 # if CDPATH is set.
72951 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72952
72953 sed_quote_subst='$sed_quote_subst'
72954 double_quote_subst='$double_quote_subst'
72955 delay_variable_subst='$delay_variable_subst'
72956 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72957 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72958 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72959 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72960 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72961 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72962 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72963 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72964 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72965 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72966 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72967 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72968 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72969 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72970 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72971 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72972 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72973 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72974 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72975 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72976 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72977 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72978 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72979 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72980 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72981 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72982 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72983 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72984 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72985 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72986 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72987 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72988 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72989 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72990 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72991 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72992 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72993 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72994 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72995 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72996 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72997 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72998 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72999 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
73000 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
73001 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
73002 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
73003 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
73004 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"`'
73005 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
73006 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
73007 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
73008 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
73009 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
73010 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
73011 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
73012 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
73013 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
73014 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
73015 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
73016 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
73017 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
73018 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
73019 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
73020 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73021 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
73022 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
73023 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
73024 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
73025 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
73026 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
73027 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73028 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
73029 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73030 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
73031 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73032 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
73033 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
73034 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
73035 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
73036 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
73037 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
73038 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
73039 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
73040 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
73041 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
73042 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
73043 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
73044 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
73045 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
73046 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
73047 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
73048 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
73049 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
73050 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
73051 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
73052 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
73053 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
73054 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
73055 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
73056 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
73057 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
73058 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
73059 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
73060 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
73061 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
73062 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
73063 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73064 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73065 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
73066 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
73067 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
73068 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
73069 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
73070 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
73071 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
73072 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
73073 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
73074 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
73075 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
73076 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
73077 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
73078 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
73079 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
73080 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
73081 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
73082 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
73083 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
73084 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73085 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73086 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
73087 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
73088 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
73089 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
73090 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
73091 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
73092 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73093 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73094 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73095 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73096 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73097 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73098 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73099 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73100 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73101 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73102 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73103 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73104 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73105 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73106 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73107 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73108 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73109 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73110 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73111 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73112 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73113 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73114 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73115 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73116 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73117 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73118 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73119 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73120 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73121 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73122 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73123 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73124 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73125 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73126 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73127 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73128 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73129 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73130 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73131
73132 LTCC='$LTCC'
73133 LTCFLAGS='$LTCFLAGS'
73134 compiler='$compiler_DEFAULT'
73135
73136 # A function that is used when there is no print builtin or printf.
73137 func_fallback_echo ()
73138 {
73139   eval 'cat <<_LTECHO_EOF
73140 \$1
73141 _LTECHO_EOF'
73142 }
73143
73144 # Quote evaled strings.
73145 for var in SHELL \
73146 ECHO \
73147 SED \
73148 GREP \
73149 EGREP \
73150 FGREP \
73151 LD \
73152 NM \
73153 LN_S \
73154 lt_SP2NL \
73155 lt_NL2SP \
73156 reload_flag \
73157 OBJDUMP \
73158 deplibs_check_method \
73159 file_magic_cmd \
73160 AR \
73161 AR_FLAGS \
73162 STRIP \
73163 RANLIB \
73164 CC \
73165 CFLAGS \
73166 compiler \
73167 lt_cv_sys_global_symbol_pipe \
73168 lt_cv_sys_global_symbol_to_cdecl \
73169 lt_cv_sys_global_symbol_to_c_name_address \
73170 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73171 lt_prog_compiler_no_builtin_flag \
73172 lt_prog_compiler_wl \
73173 lt_prog_compiler_pic \
73174 lt_prog_compiler_static \
73175 lt_cv_prog_compiler_c_o \
73176 need_locks \
73177 DSYMUTIL \
73178 NMEDIT \
73179 LIPO \
73180 OTOOL \
73181 OTOOL64 \
73182 shrext_cmds \
73183 export_dynamic_flag_spec \
73184 whole_archive_flag_spec \
73185 compiler_needs_object \
73186 with_gnu_ld \
73187 allow_undefined_flag \
73188 no_undefined_flag \
73189 hardcode_libdir_flag_spec \
73190 hardcode_libdir_flag_spec_ld \
73191 hardcode_libdir_separator \
73192 fix_srcfile_path \
73193 exclude_expsyms \
73194 include_expsyms \
73195 file_list_spec \
73196 variables_saved_for_relink \
73197 libname_spec \
73198 library_names_spec \
73199 soname_spec \
73200 install_override_mode \
73201 finish_eval \
73202 old_striplib \
73203 striplib \
73204 compiler_lib_search_dirs \
73205 predep_objects \
73206 postdep_objects \
73207 predeps \
73208 postdeps \
73209 compiler_lib_search_path \
73210 LD_CXX \
73211 reload_flag_CXX \
73212 compiler_CXX \
73213 lt_prog_compiler_no_builtin_flag_CXX \
73214 lt_prog_compiler_wl_CXX \
73215 lt_prog_compiler_pic_CXX \
73216 lt_prog_compiler_static_CXX \
73217 lt_cv_prog_compiler_c_o_CXX \
73218 export_dynamic_flag_spec_CXX \
73219 whole_archive_flag_spec_CXX \
73220 compiler_needs_object_CXX \
73221 with_gnu_ld_CXX \
73222 allow_undefined_flag_CXX \
73223 no_undefined_flag_CXX \
73224 hardcode_libdir_flag_spec_CXX \
73225 hardcode_libdir_flag_spec_ld_CXX \
73226 hardcode_libdir_separator_CXX \
73227 fix_srcfile_path_CXX \
73228 exclude_expsyms_CXX \
73229 include_expsyms_CXX \
73230 file_list_spec_CXX \
73231 compiler_lib_search_dirs_CXX \
73232 predep_objects_CXX \
73233 postdep_objects_CXX \
73234 predeps_CXX \
73235 postdeps_CXX \
73236 compiler_lib_search_path_CXX; do
73237     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73238     *[\\\\\\\`\\"\\\$]*)
73239       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73240       ;;
73241     *)
73242       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73243       ;;
73244     esac
73245 done
73246
73247 # Double-quote double-evaled strings.
73248 for var in reload_cmds \
73249 old_postinstall_cmds \
73250 old_postuninstall_cmds \
73251 old_archive_cmds \
73252 extract_expsyms_cmds \
73253 old_archive_from_new_cmds \
73254 old_archive_from_expsyms_cmds \
73255 archive_cmds \
73256 archive_expsym_cmds \
73257 module_cmds \
73258 module_expsym_cmds \
73259 export_symbols_cmds \
73260 prelink_cmds \
73261 postinstall_cmds \
73262 postuninstall_cmds \
73263 finish_cmds \
73264 sys_lib_search_path_spec \
73265 sys_lib_dlsearch_path_spec \
73266 reload_cmds_CXX \
73267 old_archive_cmds_CXX \
73268 old_archive_from_new_cmds_CXX \
73269 old_archive_from_expsyms_cmds_CXX \
73270 archive_cmds_CXX \
73271 archive_expsym_cmds_CXX \
73272 module_cmds_CXX \
73273 module_expsym_cmds_CXX \
73274 export_symbols_cmds_CXX \
73275 prelink_cmds_CXX; do
73276     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73277     *[\\\\\\\`\\"\\\$]*)
73278       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73279       ;;
73280     *)
73281       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73282       ;;
73283     esac
73284 done
73285
73286 ac_aux_dir='$ac_aux_dir'
73287 xsi_shell='$xsi_shell'
73288 lt_shell_append='$lt_shell_append'
73289
73290 # See if we are running on zsh, and set the options which allow our
73291 # commands through without removal of \ escapes INIT.
73292 if test -n "\${ZSH_VERSION+set}" ; then
73293    setopt NO_GLOB_SUBST
73294 fi
73295
73296
73297     PACKAGE='$PACKAGE'
73298     VERSION='$VERSION'
73299     TIMESTAMP='$TIMESTAMP'
73300     RM='$RM'
73301     ofile='$ofile'
73302
73303
73304
73305
73306
73307
73308 GCC="$GCC"
73309 CC="$CC"
73310 acx_cv_header_stdint="$acx_cv_header_stdint"
73311 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73312 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73313 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73314 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73315 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73316 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73317 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73318 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73319 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73320 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73321 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73322 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73323 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73324
73325
73326 _ACEOF
73327
73328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73329
73330 # Handling of arguments.
73331 for ac_config_target in $ac_config_targets
73332 do
73333   case $ac_config_target in
73334     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73335     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73336     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73337     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73338     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73339     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73340     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73341     "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73342     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73343     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73344     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73345     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73346     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73347     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73348     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73349     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73350     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73351     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73352
73353   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73354   esac
73355 done
73356
73357
73358 # If the user did not use the arguments to specify the items to instantiate,
73359 # then the envvar interface is used.  Set only those that are not.
73360 # We use the long form for the default assignment because of an extremely
73361 # bizarre bug on SunOS 4.1.3.
73362 if $ac_need_defaults; then
73363   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73364   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73365   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73366 fi
73367
73368 # Have a temporary directory for convenience.  Make it in the build tree
73369 # simply because there is no reason against having it here, and in addition,
73370 # creating and moving files from /tmp can sometimes cause problems.
73371 # Hook for its removal unless debugging.
73372 # Note that there is a small window in which the directory will not be cleaned:
73373 # after its creation but before its name has been assigned to `$tmp'.
73374 $debug ||
73375 {
73376   tmp=
73377   trap 'exit_status=$?
73378   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73379 ' 0
73380   trap 'as_fn_exit 1' 1 2 13 15
73381 }
73382 # Create a (secure) tmp directory for tmp files.
73383
73384 {
73385   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73386   test -n "$tmp" && test -d "$tmp"
73387 }  ||
73388 {
73389   tmp=./conf$$-$RANDOM
73390   (umask 077 && mkdir "$tmp")
73391 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73392
73393 # Set up the scripts for CONFIG_FILES section.
73394 # No need to generate them if there are no CONFIG_FILES.
73395 # This happens for instance with `./config.status config.h'.
73396 if test -n "$CONFIG_FILES"; then
73397
73398
73399 ac_cr=`echo X | tr X '\015'`
73400 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73401 # But we know of no other shell where ac_cr would be empty at this
73402 # point, so we can use a bashism as a fallback.
73403 if test "x$ac_cr" = x; then
73404   eval ac_cr=\$\'\\r\'
73405 fi
73406 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73407 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73408   ac_cs_awk_cr='\r'
73409 else
73410   ac_cs_awk_cr=$ac_cr
73411 fi
73412
73413 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73414 _ACEOF
73415
73416
73417 {
73418   echo "cat >conf$$subs.awk <<_ACEOF" &&
73419   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73420   echo "_ACEOF"
73421 } >conf$$subs.sh ||
73422   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73423 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73424 ac_delim='%!_!# '
73425 for ac_last_try in false false false false false :; do
73426   . ./conf$$subs.sh ||
73427     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73428
73429   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73430   if test $ac_delim_n = $ac_delim_num; then
73431     break
73432   elif $ac_last_try; then
73433     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73434   else
73435     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73436   fi
73437 done
73438 rm -f conf$$subs.sh
73439
73440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73441 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73442 _ACEOF
73443 sed -n '
73444 h
73445 s/^/S["/; s/!.*/"]=/
73446 p
73447 g
73448 s/^[^!]*!//
73449 :repl
73450 t repl
73451 s/'"$ac_delim"'$//
73452 t delim
73453 :nl
73454 h
73455 s/\(.\{148\}\).*/\1/
73456 t more1
73457 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73458 p
73459 n
73460 b repl
73461 :more1
73462 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73463 p
73464 g
73465 s/.\{148\}//
73466 t nl
73467 :delim
73468 h
73469 s/\(.\{148\}\).*/\1/
73470 t more2
73471 s/["\\]/\\&/g; s/^/"/; s/$/"/
73472 p
73473 b
73474 :more2
73475 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73476 p
73477 g
73478 s/.\{148\}//
73479 t delim
73480 ' <conf$$subs.awk | sed '
73481 /^[^""]/{
73482   N
73483   s/\n//
73484 }
73485 ' >>$CONFIG_STATUS || ac_write_fail=1
73486 rm -f conf$$subs.awk
73487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73488 _ACAWK
73489 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73490   for (key in S) S_is_set[key] = 1
73491   FS = "\a"
73492
73493 }
73494 {
73495   line = $ 0
73496   nfields = split(line, field, "@")
73497   substed = 0
73498   len = length(field[1])
73499   for (i = 2; i < nfields; i++) {
73500     key = field[i]
73501     keylen = length(key)
73502     if (S_is_set[key]) {
73503       value = S[key]
73504       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73505       len += length(value) + length(field[++i])
73506       substed = 1
73507     } else
73508       len += 1 + keylen
73509   }
73510
73511   print line
73512 }
73513
73514 _ACAWK
73515 _ACEOF
73516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73517 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73518   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73519 else
73520   cat
73521 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73522   || as_fn_error "could not setup config files machinery" "$LINENO" 5
73523 _ACEOF
73524
73525 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73526 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73527 # trailing colons and then remove the whole line if VPATH becomes empty
73528 # (actually we leave an empty line to preserve line numbers).
73529 if test "x$srcdir" = x.; then
73530   ac_vpsub='/^[  ]*VPATH[        ]*=/{
73531 s/:*\$(srcdir):*/:/
73532 s/:*\${srcdir}:*/:/
73533 s/:*@srcdir@:*/:/
73534 s/^\([^=]*=[     ]*\):*/\1/
73535 s/:*$//
73536 s/^[^=]*=[       ]*$//
73537 }'
73538 fi
73539
73540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73541 fi # test -n "$CONFIG_FILES"
73542
73543 # Set up the scripts for CONFIG_HEADERS section.
73544 # No need to generate them if there are no CONFIG_HEADERS.
73545 # This happens for instance with `./config.status Makefile'.
73546 if test -n "$CONFIG_HEADERS"; then
73547 cat >"$tmp/defines.awk" <<\_ACAWK ||
73548 BEGIN {
73549 _ACEOF
73550
73551 # Transform confdefs.h into an awk script `defines.awk', embedded as
73552 # here-document in config.status, that substitutes the proper values into
73553 # config.h.in to produce config.h.
73554
73555 # Create a delimiter string that does not exist in confdefs.h, to ease
73556 # handling of long lines.
73557 ac_delim='%!_!# '
73558 for ac_last_try in false false :; do
73559   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73560   if test -z "$ac_t"; then
73561     break
73562   elif $ac_last_try; then
73563     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73564   else
73565     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73566   fi
73567 done
73568
73569 # For the awk script, D is an array of macro values keyed by name,
73570 # likewise P contains macro parameters if any.  Preserve backslash
73571 # newline sequences.
73572
73573 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73574 sed -n '
73575 s/.\{148\}/&'"$ac_delim"'/g
73576 t rset
73577 :rset
73578 s/^[     ]*#[    ]*define[       ][      ]*/ /
73579 t def
73580 d
73581 :def
73582 s/\\$//
73583 t bsnl
73584 s/["\\]/\\&/g
73585 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
73586 D["\1"]=" \3"/p
73587 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
73588 d
73589 :bsnl
73590 s/["\\]/\\&/g
73591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
73592 D["\1"]=" \3\\\\\\n"\\/p
73593 t cont
73594 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73595 t cont
73596 d
73597 :cont
73598 n
73599 s/.\{148\}/&'"$ac_delim"'/g
73600 t clear
73601 :clear
73602 s/\\$//
73603 t bsnlc
73604 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73605 d
73606 :bsnlc
73607 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73608 b cont
73609 ' <confdefs.h | sed '
73610 s/'"$ac_delim"'/"\\\
73611 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73612
73613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73614   for (key in D) D_is_set[key] = 1
73615   FS = "\a"
73616 }
73617 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73618   line = \$ 0
73619   split(line, arg, " ")
73620   if (arg[1] == "#") {
73621     defundef = arg[2]
73622     mac1 = arg[3]
73623   } else {
73624     defundef = substr(arg[1], 2)
73625     mac1 = arg[2]
73626   }
73627   split(mac1, mac2, "(") #)
73628   macro = mac2[1]
73629   prefix = substr(line, 1, index(line, defundef) - 1)
73630   if (D_is_set[macro]) {
73631     # Preserve the white space surrounding the "#".
73632     print prefix "define", macro P[macro] D[macro]
73633     next
73634   } else {
73635     # Replace #undef with comments.  This is necessary, for example,
73636     # in the case of _POSIX_SOURCE, which is predefined and required
73637     # on some systems where configure will not decide to define it.
73638     if (defundef == "undef") {
73639       print "/*", prefix defundef, macro, "*/"
73640       next
73641     }
73642   }
73643 }
73644 { print }
73645 _ACAWK
73646 _ACEOF
73647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73648   as_fn_error "could not setup config headers machinery" "$LINENO" 5
73649 fi # test -n "$CONFIG_HEADERS"
73650
73651
73652 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
73653 shift
73654 for ac_tag
73655 do
73656   case $ac_tag in
73657   :[FHLC]) ac_mode=$ac_tag; continue;;
73658   esac
73659   case $ac_mode$ac_tag in
73660   :[FHL]*:*);;
73661   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73662   :[FH]-) ac_tag=-:-;;
73663   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73664   esac
73665   ac_save_IFS=$IFS
73666   IFS=:
73667   set x $ac_tag
73668   IFS=$ac_save_IFS
73669   shift
73670   ac_file=$1
73671   shift
73672
73673   case $ac_mode in
73674   :L) ac_source=$1;;
73675   :[FH])
73676     ac_file_inputs=
73677     for ac_f
73678     do
73679       case $ac_f in
73680       -) ac_f="$tmp/stdin";;
73681       *) # Look for the file first in the build tree, then in the source tree
73682          # (if the path is not absolute).  The absolute path cannot be DOS-style,
73683          # because $ac_f cannot contain `:'.
73684          test -f "$ac_f" ||
73685            case $ac_f in
73686            [\\/$]*) false;;
73687            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73688            esac ||
73689            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73690       esac
73691       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73692       as_fn_append ac_file_inputs " '$ac_f'"
73693     done
73694
73695     # Let's still pretend it is `configure' which instantiates (i.e., don't
73696     # use $as_me), people would be surprised to read:
73697     #    /* config.h.  Generated by config.status.  */
73698     configure_input='Generated from '`
73699           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73700         `' by configure.'
73701     if test x"$ac_file" != x-; then
73702       configure_input="$ac_file.  $configure_input"
73703       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73704 $as_echo "$as_me: creating $ac_file" >&6;}
73705     fi
73706     # Neutralize special characters interpreted by sed in replacement strings.
73707     case $configure_input in #(
73708     *\&* | *\|* | *\\* )
73709        ac_sed_conf_input=`$as_echo "$configure_input" |
73710        sed 's/[\\\\&|]/\\\\&/g'`;; #(
73711     *) ac_sed_conf_input=$configure_input;;
73712     esac
73713
73714     case $ac_tag in
73715     *:-:* | *:-) cat >"$tmp/stdin" \
73716       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73717     esac
73718     ;;
73719   esac
73720
73721   ac_dir=`$as_dirname -- "$ac_file" ||
73722 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73723          X"$ac_file" : 'X\(//\)[^/]' \| \
73724          X"$ac_file" : 'X\(//\)$' \| \
73725          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73726 $as_echo X"$ac_file" |
73727     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73728             s//\1/
73729             q
73730           }
73731           /^X\(\/\/\)[^/].*/{
73732             s//\1/
73733             q
73734           }
73735           /^X\(\/\/\)$/{
73736             s//\1/
73737             q
73738           }
73739           /^X\(\/\).*/{
73740             s//\1/
73741             q
73742           }
73743           s/.*/./; q'`
73744   as_dir="$ac_dir"; as_fn_mkdir_p
73745   ac_builddir=.
73746
73747 case "$ac_dir" in
73748 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73749 *)
73750   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73751   # A ".." for each directory in $ac_dir_suffix.
73752   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73753   case $ac_top_builddir_sub in
73754   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73755   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73756   esac ;;
73757 esac
73758 ac_abs_top_builddir=$ac_pwd
73759 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73760 # for backward compatibility:
73761 ac_top_builddir=$ac_top_build_prefix
73762
73763 case $srcdir in
73764   .)  # We are building in place.
73765     ac_srcdir=.
73766     ac_top_srcdir=$ac_top_builddir_sub
73767     ac_abs_top_srcdir=$ac_pwd ;;
73768   [\\/]* | ?:[\\/]* )  # Absolute name.
73769     ac_srcdir=$srcdir$ac_dir_suffix;
73770     ac_top_srcdir=$srcdir
73771     ac_abs_top_srcdir=$srcdir ;;
73772   *) # Relative name.
73773     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73774     ac_top_srcdir=$ac_top_build_prefix$srcdir
73775     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73776 esac
73777 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73778
73779
73780   case $ac_mode in
73781   :F)
73782   #
73783   # CONFIG_FILE
73784   #
73785
73786   case $INSTALL in
73787   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73788   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73789   esac
73790   ac_MKDIR_P=$MKDIR_P
73791   case $MKDIR_P in
73792   [\\/$]* | ?:[\\/]* ) ;;
73793   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73794   esac
73795 _ACEOF
73796
73797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73798 # If the template does not know about datarootdir, expand it.
73799 # FIXME: This hack should be removed a few years after 2.60.
73800 ac_datarootdir_hack=; ac_datarootdir_seen=
73801 ac_sed_dataroot='
73802 /datarootdir/ {
73803   p
73804   q
73805 }
73806 /@datadir@/p
73807 /@docdir@/p
73808 /@infodir@/p
73809 /@localedir@/p
73810 /@mandir@/p'
73811 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73812 *datarootdir*) ac_datarootdir_seen=yes;;
73813 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73814   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73815 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73816 _ACEOF
73817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73818   ac_datarootdir_hack='
73819   s&@datadir@&$datadir&g
73820   s&@docdir@&$docdir&g
73821   s&@infodir@&$infodir&g
73822   s&@localedir@&$localedir&g
73823   s&@mandir@&$mandir&g
73824   s&\\\${datarootdir}&$datarootdir&g' ;;
73825 esac
73826 _ACEOF
73827
73828 # Neutralize VPATH when `$srcdir' = `.'.
73829 # Shell code in configure.ac might set extrasub.
73830 # FIXME: do we really want to maintain this feature?
73831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73832 ac_sed_extra="$ac_vpsub
73833 $extrasub
73834 _ACEOF
73835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73836 :t
73837 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73838 s|@configure_input@|$ac_sed_conf_input|;t t
73839 s&@top_builddir@&$ac_top_builddir_sub&;t t
73840 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73841 s&@srcdir@&$ac_srcdir&;t t
73842 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73843 s&@top_srcdir@&$ac_top_srcdir&;t t
73844 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73845 s&@builddir@&$ac_builddir&;t t
73846 s&@abs_builddir@&$ac_abs_builddir&;t t
73847 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73848 s&@INSTALL@&$ac_INSTALL&;t t
73849 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73850 $ac_datarootdir_hack
73851 "
73852 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73853   || as_fn_error "could not create $ac_file" "$LINENO" 5
73854
73855 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73856   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73857   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73858   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73859 which seems to be undefined.  Please make sure it is defined." >&5
73860 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73861 which seems to be undefined.  Please make sure it is defined." >&2;}
73862
73863   rm -f "$tmp/stdin"
73864   case $ac_file in
73865   -) cat "$tmp/out" && rm -f "$tmp/out";;
73866   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73867   esac \
73868   || as_fn_error "could not create $ac_file" "$LINENO" 5
73869  ;;
73870   :H)
73871   #
73872   # CONFIG_HEADER
73873   #
73874   if test x"$ac_file" != x-; then
73875     {
73876       $as_echo "/* $configure_input  */" \
73877       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73878     } >"$tmp/config.h" \
73879       || as_fn_error "could not create $ac_file" "$LINENO" 5
73880     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73881       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73882 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73883     else
73884       rm -f "$ac_file"
73885       mv "$tmp/config.h" "$ac_file" \
73886         || as_fn_error "could not create $ac_file" "$LINENO" 5
73887     fi
73888   else
73889     $as_echo "/* $configure_input  */" \
73890       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73891       || as_fn_error "could not create -" "$LINENO" 5
73892   fi
73893 # Compute "$ac_file"'s index in $config_headers.
73894 _am_arg="$ac_file"
73895 _am_stamp_count=1
73896 for _am_header in $config_headers :; do
73897   case $_am_header in
73898     $_am_arg | $_am_arg:* )
73899       break ;;
73900     * )
73901       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73902   esac
73903 done
73904 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73905 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73906          X"$_am_arg" : 'X\(//\)[^/]' \| \
73907          X"$_am_arg" : 'X\(//\)$' \| \
73908          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73909 $as_echo X"$_am_arg" |
73910     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73911             s//\1/
73912             q
73913           }
73914           /^X\(\/\/\)[^/].*/{
73915             s//\1/
73916             q
73917           }
73918           /^X\(\/\/\)$/{
73919             s//\1/
73920             q
73921           }
73922           /^X\(\/\).*/{
73923             s//\1/
73924             q
73925           }
73926           s/.*/./; q'`/stamp-h$_am_stamp_count
73927  ;;
73928
73929   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73930 $as_echo "$as_me: executing $ac_file commands" >&6;}
73931  ;;
73932   esac
73933
73934
73935   case $ac_file$ac_mode in
73936     "default-1":C)
73937 # Only add multilib support code if we just rebuilt the top-level
73938 # Makefile.
73939 case " $CONFIG_FILES " in
73940  *" Makefile "*)
73941    ac_file=Makefile . ${multi_basedir}/config-ml.in
73942    ;;
73943 esac ;;
73944     "libtool":C)
73945
73946     # See if we are running on zsh, and set the options which allow our
73947     # commands through without removal of \ escapes.
73948     if test -n "${ZSH_VERSION+set}" ; then
73949       setopt NO_GLOB_SUBST
73950     fi
73951
73952     cfgfile="${ofile}T"
73953     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73954     $RM "$cfgfile"
73955
73956     cat <<_LT_EOF >> "$cfgfile"
73957 #! $SHELL
73958
73959 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73960 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73961 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73962 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73963 #
73964 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73965 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73966 #   Written by Gordon Matzigkeit, 1996
73967 #
73968 #   This file is part of GNU Libtool.
73969 #
73970 # GNU Libtool is free software; you can redistribute it and/or
73971 # modify it under the terms of the GNU General Public License as
73972 # published by the Free Software Foundation; either version 2 of
73973 # the License, or (at your option) any later version.
73974 #
73975 # As a special exception to the GNU General Public License,
73976 # if you distribute this file as part of a program or library that
73977 # is built using GNU Libtool, you may include this file under the
73978 # same distribution terms that you use for the rest of that program.
73979 #
73980 # GNU Libtool is distributed in the hope that it will be useful,
73981 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73982 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
73983 # GNU General Public License for more details.
73984 #
73985 # You should have received a copy of the GNU General Public License
73986 # along with GNU Libtool; see the file COPYING.  If not, a copy
73987 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73988 # obtained by writing to the Free Software Foundation, Inc.,
73989 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73990
73991
73992 # The names of the tagged configurations supported by this script.
73993 available_tags="CXX "
73994
73995 # ### BEGIN LIBTOOL CONFIG
73996
73997 # Which release of libtool.m4 was used?
73998 macro_version=$macro_version
73999 macro_revision=$macro_revision
74000
74001 # Whether or not to build shared libraries.
74002 build_libtool_libs=$enable_shared
74003
74004 # Whether or not to build static libraries.
74005 build_old_libs=$enable_static
74006
74007 # What type of objects to build.
74008 pic_mode=$pic_mode
74009
74010 # Whether or not to optimize for fast installation.
74011 fast_install=$enable_fast_install
74012
74013 # Shell to use when invoking shell scripts.
74014 SHELL=$lt_SHELL
74015
74016 # An echo program that protects backslashes.
74017 ECHO=$lt_ECHO
74018
74019 # The host system.
74020 host_alias=$host_alias
74021 host=$host
74022 host_os=$host_os
74023
74024 # The build system.
74025 build_alias=$build_alias
74026 build=$build
74027 build_os=$build_os
74028
74029 # A sed program that does not truncate output.
74030 SED=$lt_SED
74031
74032 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
74033 Xsed="\$SED -e 1s/^X//"
74034
74035 # A grep program that handles long lines.
74036 GREP=$lt_GREP
74037
74038 # An ERE matcher.
74039 EGREP=$lt_EGREP
74040
74041 # A literal string matcher.
74042 FGREP=$lt_FGREP
74043
74044 # A BSD- or MS-compatible name lister.
74045 NM=$lt_NM
74046
74047 # Whether we need soft or hard links.
74048 LN_S=$lt_LN_S
74049
74050 # What is the maximum length of a command?
74051 max_cmd_len=$max_cmd_len
74052
74053 # Object file suffix (normally "o").
74054 objext=$ac_objext
74055
74056 # Executable file suffix (normally "").
74057 exeext=$exeext
74058
74059 # whether the shell understands "unset".
74060 lt_unset=$lt_unset
74061
74062 # turn spaces into newlines.
74063 SP2NL=$lt_lt_SP2NL
74064
74065 # turn newlines into spaces.
74066 NL2SP=$lt_lt_NL2SP
74067
74068 # An object symbol dumper.
74069 OBJDUMP=$lt_OBJDUMP
74070
74071 # Method to check whether dependent libraries are shared objects.
74072 deplibs_check_method=$lt_deplibs_check_method
74073
74074 # Command to use when deplibs_check_method == "file_magic".
74075 file_magic_cmd=$lt_file_magic_cmd
74076
74077 # The archiver.
74078 AR=$lt_AR
74079 AR_FLAGS=$lt_AR_FLAGS
74080
74081 # A symbol stripping program.
74082 STRIP=$lt_STRIP
74083
74084 # Commands used to install an old-style archive.
74085 RANLIB=$lt_RANLIB
74086 old_postinstall_cmds=$lt_old_postinstall_cmds
74087 old_postuninstall_cmds=$lt_old_postuninstall_cmds
74088
74089 # Whether to use a lock for old archive extraction.
74090 lock_old_archive_extraction=$lock_old_archive_extraction
74091
74092 # A C compiler.
74093 LTCC=$lt_CC
74094
74095 # LTCC compiler flags.
74096 LTCFLAGS=$lt_CFLAGS
74097
74098 # Take the output of nm and produce a listing of raw symbols and C names.
74099 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
74100
74101 # Transform the output of nm in a proper C declaration.
74102 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74103
74104 # Transform the output of nm in a C name address pair.
74105 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74106
74107 # Transform the output of nm in a C name address pair when lib prefix is needed.
74108 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74109
74110 # The name of the directory that contains temporary libtool files.
74111 objdir=$objdir
74112
74113 # Used to examine libraries when file_magic_cmd begins with "file".
74114 MAGIC_CMD=$MAGIC_CMD
74115
74116 # Must we lock files when doing compilation?
74117 need_locks=$lt_need_locks
74118
74119 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74120 DSYMUTIL=$lt_DSYMUTIL
74121
74122 # Tool to change global to local symbols on Mac OS X.
74123 NMEDIT=$lt_NMEDIT
74124
74125 # Tool to manipulate fat objects and archives on Mac OS X.
74126 LIPO=$lt_LIPO
74127
74128 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74129 OTOOL=$lt_OTOOL
74130
74131 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74132 OTOOL64=$lt_OTOOL64
74133
74134 # Old archive suffix (normally "a").
74135 libext=$libext
74136
74137 # Shared library suffix (normally ".so").
74138 shrext_cmds=$lt_shrext_cmds
74139
74140 # The commands to extract the exported symbol list from a shared archive.
74141 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74142
74143 # Variables whose values should be saved in libtool wrapper scripts and
74144 # restored at link time.
74145 variables_saved_for_relink=$lt_variables_saved_for_relink
74146
74147 # Do we need the "lib" prefix for modules?
74148 need_lib_prefix=$need_lib_prefix
74149
74150 # Do we need a version for libraries?
74151 need_version=$need_version
74152
74153 # Library versioning type.
74154 version_type=$version_type
74155
74156 # Shared library runtime path variable.
74157 runpath_var=$runpath_var
74158
74159 # Shared library path variable.
74160 shlibpath_var=$shlibpath_var
74161
74162 # Is shlibpath searched before the hard-coded library search path?
74163 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74164
74165 # Format of library name prefix.
74166 libname_spec=$lt_libname_spec
74167
74168 # List of archive names.  First name is the real one, the rest are links.
74169 # The last name is the one that the linker finds with -lNAME
74170 library_names_spec=$lt_library_names_spec
74171
74172 # The coded name of the library, if different from the real name.
74173 soname_spec=$lt_soname_spec
74174
74175 # Permission mode override for installation of shared libraries.
74176 install_override_mode=$lt_install_override_mode
74177
74178 # Command to use after installation of a shared archive.
74179 postinstall_cmds=$lt_postinstall_cmds
74180
74181 # Command to use after uninstallation of a shared archive.
74182 postuninstall_cmds=$lt_postuninstall_cmds
74183
74184 # Commands used to finish a libtool library installation in a directory.
74185 finish_cmds=$lt_finish_cmds
74186
74187 # As "finish_cmds", except a single script fragment to be evaled but
74188 # not shown.
74189 finish_eval=$lt_finish_eval
74190
74191 # Whether we should hardcode library paths into libraries.
74192 hardcode_into_libs=$hardcode_into_libs
74193
74194 # Compile-time system search path for libraries.
74195 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74196
74197 # Run-time system search path for libraries.
74198 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74199
74200 # Whether dlopen is supported.
74201 dlopen_support=$enable_dlopen
74202
74203 # Whether dlopen of programs is supported.
74204 dlopen_self=$enable_dlopen_self
74205
74206 # Whether dlopen of statically linked programs is supported.
74207 dlopen_self_static=$enable_dlopen_self_static
74208
74209 # Commands to strip libraries.
74210 old_striplib=$lt_old_striplib
74211 striplib=$lt_striplib
74212
74213
74214 # The linker used to build libraries.
74215 LD=$lt_LD
74216
74217 # How to create reloadable object files.
74218 reload_flag=$lt_reload_flag
74219 reload_cmds=$lt_reload_cmds
74220
74221 # Commands used to build an old-style archive.
74222 old_archive_cmds=$lt_old_archive_cmds
74223
74224 # A language specific compiler.
74225 CC=$lt_compiler
74226
74227 # Is the compiler the GNU compiler?
74228 with_gcc=$GCC
74229
74230 # Compiler flag to turn off builtin functions.
74231 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74232
74233 # How to pass a linker flag through the compiler.
74234 wl=$lt_lt_prog_compiler_wl
74235
74236 # Additional compiler flags for building library objects.
74237 pic_flag=$lt_lt_prog_compiler_pic
74238
74239 # Compiler flag to prevent dynamic linking.
74240 link_static_flag=$lt_lt_prog_compiler_static
74241
74242 # Does compiler simultaneously support -c and -o options?
74243 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74244
74245 # Whether or not to add -lc for building shared libraries.
74246 build_libtool_need_lc=$archive_cmds_need_lc
74247
74248 # Whether or not to disallow shared libs when runtime libs are static.
74249 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74250
74251 # Compiler flag to allow reflexive dlopens.
74252 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74253
74254 # Compiler flag to generate shared objects directly from archives.
74255 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74256
74257 # Whether the compiler copes with passing no objects directly.
74258 compiler_needs_object=$lt_compiler_needs_object
74259
74260 # Create an old-style archive from a shared archive.
74261 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74262
74263 # Create a temporary old-style archive to link instead of a shared archive.
74264 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74265
74266 # Commands used to build a shared archive.
74267 archive_cmds=$lt_archive_cmds
74268 archive_expsym_cmds=$lt_archive_expsym_cmds
74269
74270 # Commands used to build a loadable module if different from building
74271 # a shared archive.
74272 module_cmds=$lt_module_cmds
74273 module_expsym_cmds=$lt_module_expsym_cmds
74274
74275 # Whether we are building with GNU ld or not.
74276 with_gnu_ld=$lt_with_gnu_ld
74277
74278 # Flag that allows shared libraries with undefined symbols to be built.
74279 allow_undefined_flag=$lt_allow_undefined_flag
74280
74281 # Flag that enforces no undefined symbols.
74282 no_undefined_flag=$lt_no_undefined_flag
74283
74284 # Flag to hardcode \$libdir into a binary during linking.
74285 # This must work even if \$libdir does not exist
74286 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74287
74288 # If ld is used when linking, flag to hardcode \$libdir into a binary
74289 # during linking.  This must work even if \$libdir does not exist.
74290 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74291
74292 # Whether we need a single "-rpath" flag with a separated argument.
74293 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74294
74295 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74296 # DIR into the resulting binary.
74297 hardcode_direct=$hardcode_direct
74298
74299 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74300 # DIR into the resulting binary and the resulting library dependency is
74301 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74302 # library is relocated.
74303 hardcode_direct_absolute=$hardcode_direct_absolute
74304
74305 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74306 # into the resulting binary.
74307 hardcode_minus_L=$hardcode_minus_L
74308
74309 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74310 # into the resulting binary.
74311 hardcode_shlibpath_var=$hardcode_shlibpath_var
74312
74313 # Set to "yes" if building a shared library automatically hardcodes DIR
74314 # into the library and all subsequent libraries and executables linked
74315 # against it.
74316 hardcode_automatic=$hardcode_automatic
74317
74318 # Set to yes if linker adds runtime paths of dependent libraries
74319 # to runtime path list.
74320 inherit_rpath=$inherit_rpath
74321
74322 # Whether libtool must link a program against all its dependency libraries.
74323 link_all_deplibs=$link_all_deplibs
74324
74325 # Fix the shell variable \$srcfile for the compiler.
74326 fix_srcfile_path=$lt_fix_srcfile_path
74327
74328 # Set to "yes" if exported symbols are required.
74329 always_export_symbols=$always_export_symbols
74330
74331 # The commands to list exported symbols.
74332 export_symbols_cmds=$lt_export_symbols_cmds
74333
74334 # Symbols that should not be listed in the preloaded symbols.
74335 exclude_expsyms=$lt_exclude_expsyms
74336
74337 # Symbols that must always be exported.
74338 include_expsyms=$lt_include_expsyms
74339
74340 # Commands necessary for linking programs (against libraries) with templates.
74341 prelink_cmds=$lt_prelink_cmds
74342
74343 # Specify filename containing input files.
74344 file_list_spec=$lt_file_list_spec
74345
74346 # How to hardcode a shared library path into an executable.
74347 hardcode_action=$hardcode_action
74348
74349 # The directories searched by this compiler when creating a shared library.
74350 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74351
74352 # Dependencies to place before and after the objects being linked to
74353 # create a shared library.
74354 predep_objects=$lt_predep_objects
74355 postdep_objects=$lt_postdep_objects
74356 predeps=$lt_predeps
74357 postdeps=$lt_postdeps
74358
74359 # The library search path used internally by the compiler when linking
74360 # a shared library.
74361 compiler_lib_search_path=$lt_compiler_lib_search_path
74362
74363 # ### END LIBTOOL CONFIG
74364
74365 _LT_EOF
74366
74367   case $host_os in
74368   aix3*)
74369     cat <<\_LT_EOF >> "$cfgfile"
74370 # AIX sometimes has problems with the GCC collect2 program.  For some
74371 # reason, if we set the COLLECT_NAMES environment variable, the problems
74372 # vanish in a puff of smoke.
74373 if test "X${COLLECT_NAMES+set}" != Xset; then
74374   COLLECT_NAMES=
74375   export COLLECT_NAMES
74376 fi
74377 _LT_EOF
74378     ;;
74379   esac
74380
74381
74382 ltmain="$ac_aux_dir/ltmain.sh"
74383
74384
74385   # We use sed instead of cat because bash on DJGPP gets confused if
74386   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
74387   # text mode, it properly converts lines to CR/LF.  This bash problem
74388   # is reportedly fixed, but why not run on old versions too?
74389   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74390     || (rm -f "$cfgfile"; exit 1)
74391
74392   case $xsi_shell in
74393   yes)
74394     cat << \_LT_EOF >> "$cfgfile"
74395
74396 # func_dirname file append nondir_replacement
74397 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
74398 # otherwise set result to NONDIR_REPLACEMENT.
74399 func_dirname ()
74400 {
74401   case ${1} in
74402     */*) func_dirname_result="${1%/*}${2}" ;;
74403     *  ) func_dirname_result="${3}" ;;
74404   esac
74405 }
74406
74407 # func_basename file
74408 func_basename ()
74409 {
74410   func_basename_result="${1##*/}"
74411 }
74412
74413 # func_dirname_and_basename file append nondir_replacement
74414 # perform func_basename and func_dirname in a single function
74415 # call:
74416 #   dirname:  Compute the dirname of FILE.  If nonempty,
74417 #             add APPEND to the result, otherwise set result
74418 #             to NONDIR_REPLACEMENT.
74419 #             value returned in "$func_dirname_result"
74420 #   basename: Compute filename of FILE.
74421 #             value retuned in "$func_basename_result"
74422 # Implementation must be kept synchronized with func_dirname
74423 # and func_basename. For efficiency, we do not delegate to
74424 # those functions but instead duplicate the functionality here.
74425 func_dirname_and_basename ()
74426 {
74427   case ${1} in
74428     */*) func_dirname_result="${1%/*}${2}" ;;
74429     *  ) func_dirname_result="${3}" ;;
74430   esac
74431   func_basename_result="${1##*/}"
74432 }
74433
74434 # func_stripname prefix suffix name
74435 # strip PREFIX and SUFFIX off of NAME.
74436 # PREFIX and SUFFIX must not contain globbing or regex special
74437 # characters, hashes, percent signs, but SUFFIX may contain a leading
74438 # dot (in which case that matches only a dot).
74439 func_stripname ()
74440 {
74441   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74442   # positional parameters, so assign one to ordinary parameter first.
74443   func_stripname_result=${3}
74444   func_stripname_result=${func_stripname_result#"${1}"}
74445   func_stripname_result=${func_stripname_result%"${2}"}
74446 }
74447
74448 # func_opt_split
74449 func_opt_split ()
74450 {
74451   func_opt_split_opt=${1%%=*}
74452   func_opt_split_arg=${1#*=}
74453 }
74454
74455 # func_lo2o object
74456 func_lo2o ()
74457 {
74458   case ${1} in
74459     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74460     *)    func_lo2o_result=${1} ;;
74461   esac
74462 }
74463
74464 # func_xform libobj-or-source
74465 func_xform ()
74466 {
74467   func_xform_result=${1%.*}.lo
74468 }
74469
74470 # func_arith arithmetic-term...
74471 func_arith ()
74472 {
74473   func_arith_result=$(( $* ))
74474 }
74475
74476 # func_len string
74477 # STRING may not start with a hyphen.
74478 func_len ()
74479 {
74480   func_len_result=${#1}
74481 }
74482
74483 _LT_EOF
74484     ;;
74485   *) # Bourne compatible functions.
74486     cat << \_LT_EOF >> "$cfgfile"
74487
74488 # func_dirname file append nondir_replacement
74489 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
74490 # otherwise set result to NONDIR_REPLACEMENT.
74491 func_dirname ()
74492 {
74493   # Extract subdirectory from the argument.
74494   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74495   if test "X$func_dirname_result" = "X${1}"; then
74496     func_dirname_result="${3}"
74497   else
74498     func_dirname_result="$func_dirname_result${2}"
74499   fi
74500 }
74501
74502 # func_basename file
74503 func_basename ()
74504 {
74505   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74506 }
74507
74508
74509 # func_stripname prefix suffix name
74510 # strip PREFIX and SUFFIX off of NAME.
74511 # PREFIX and SUFFIX must not contain globbing or regex special
74512 # characters, hashes, percent signs, but SUFFIX may contain a leading
74513 # dot (in which case that matches only a dot).
74514 # func_strip_suffix prefix name
74515 func_stripname ()
74516 {
74517   case ${2} in
74518     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74519     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74520   esac
74521 }
74522
74523 # sed scripts:
74524 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74525 my_sed_long_arg='1s/^-[^=]*=//'
74526
74527 # func_opt_split
74528 func_opt_split ()
74529 {
74530   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74531   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74532 }
74533
74534 # func_lo2o object
74535 func_lo2o ()
74536 {
74537   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74538 }
74539
74540 # func_xform libobj-or-source
74541 func_xform ()
74542 {
74543   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74544 }
74545
74546 # func_arith arithmetic-term...
74547 func_arith ()
74548 {
74549   func_arith_result=`expr "$@"`
74550 }
74551
74552 # func_len string
74553 # STRING may not start with a hyphen.
74554 func_len ()
74555 {
74556   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74557 }
74558
74559 _LT_EOF
74560 esac
74561
74562 case $lt_shell_append in
74563   yes)
74564     cat << \_LT_EOF >> "$cfgfile"
74565
74566 # func_append var value
74567 # Append VALUE to the end of shell variable VAR.
74568 func_append ()
74569 {
74570   eval "$1+=\$2"
74571 }
74572 _LT_EOF
74573     ;;
74574   *)
74575     cat << \_LT_EOF >> "$cfgfile"
74576
74577 # func_append var value
74578 # Append VALUE to the end of shell variable VAR.
74579 func_append ()
74580 {
74581   eval "$1=\$$1\$2"
74582 }
74583
74584 _LT_EOF
74585     ;;
74586   esac
74587
74588
74589   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74590     || (rm -f "$cfgfile"; exit 1)
74591
74592   mv -f "$cfgfile" "$ofile" ||
74593     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74594   chmod +x "$ofile"
74595
74596
74597     cat <<_LT_EOF >> "$ofile"
74598
74599 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74600
74601 # The linker used to build libraries.
74602 LD=$lt_LD_CXX
74603
74604 # How to create reloadable object files.
74605 reload_flag=$lt_reload_flag_CXX
74606 reload_cmds=$lt_reload_cmds_CXX
74607
74608 # Commands used to build an old-style archive.
74609 old_archive_cmds=$lt_old_archive_cmds_CXX
74610
74611 # A language specific compiler.
74612 CC=$lt_compiler_CXX
74613
74614 # Is the compiler the GNU compiler?
74615 with_gcc=$GCC_CXX
74616
74617 # Compiler flag to turn off builtin functions.
74618 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74619
74620 # How to pass a linker flag through the compiler.
74621 wl=$lt_lt_prog_compiler_wl_CXX
74622
74623 # Additional compiler flags for building library objects.
74624 pic_flag=$lt_lt_prog_compiler_pic_CXX
74625
74626 # Compiler flag to prevent dynamic linking.
74627 link_static_flag=$lt_lt_prog_compiler_static_CXX
74628
74629 # Does compiler simultaneously support -c and -o options?
74630 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74631
74632 # Whether or not to add -lc for building shared libraries.
74633 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74634
74635 # Whether or not to disallow shared libs when runtime libs are static.
74636 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74637
74638 # Compiler flag to allow reflexive dlopens.
74639 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74640
74641 # Compiler flag to generate shared objects directly from archives.
74642 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74643
74644 # Whether the compiler copes with passing no objects directly.
74645 compiler_needs_object=$lt_compiler_needs_object_CXX
74646
74647 # Create an old-style archive from a shared archive.
74648 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74649
74650 # Create a temporary old-style archive to link instead of a shared archive.
74651 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74652
74653 # Commands used to build a shared archive.
74654 archive_cmds=$lt_archive_cmds_CXX
74655 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74656
74657 # Commands used to build a loadable module if different from building
74658 # a shared archive.
74659 module_cmds=$lt_module_cmds_CXX
74660 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74661
74662 # Whether we are building with GNU ld or not.
74663 with_gnu_ld=$lt_with_gnu_ld_CXX
74664
74665 # Flag that allows shared libraries with undefined symbols to be built.
74666 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74667
74668 # Flag that enforces no undefined symbols.
74669 no_undefined_flag=$lt_no_undefined_flag_CXX
74670
74671 # Flag to hardcode \$libdir into a binary during linking.
74672 # This must work even if \$libdir does not exist
74673 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74674
74675 # If ld is used when linking, flag to hardcode \$libdir into a binary
74676 # during linking.  This must work even if \$libdir does not exist.
74677 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74678
74679 # Whether we need a single "-rpath" flag with a separated argument.
74680 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74681
74682 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74683 # DIR into the resulting binary.
74684 hardcode_direct=$hardcode_direct_CXX
74685
74686 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74687 # DIR into the resulting binary and the resulting library dependency is
74688 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74689 # library is relocated.
74690 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74691
74692 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74693 # into the resulting binary.
74694 hardcode_minus_L=$hardcode_minus_L_CXX
74695
74696 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74697 # into the resulting binary.
74698 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74699
74700 # Set to "yes" if building a shared library automatically hardcodes DIR
74701 # into the library and all subsequent libraries and executables linked
74702 # against it.
74703 hardcode_automatic=$hardcode_automatic_CXX
74704
74705 # Set to yes if linker adds runtime paths of dependent libraries
74706 # to runtime path list.
74707 inherit_rpath=$inherit_rpath_CXX
74708
74709 # Whether libtool must link a program against all its dependency libraries.
74710 link_all_deplibs=$link_all_deplibs_CXX
74711
74712 # Fix the shell variable \$srcfile for the compiler.
74713 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74714
74715 # Set to "yes" if exported symbols are required.
74716 always_export_symbols=$always_export_symbols_CXX
74717
74718 # The commands to list exported symbols.
74719 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74720
74721 # Symbols that should not be listed in the preloaded symbols.
74722 exclude_expsyms=$lt_exclude_expsyms_CXX
74723
74724 # Symbols that must always be exported.
74725 include_expsyms=$lt_include_expsyms_CXX
74726
74727 # Commands necessary for linking programs (against libraries) with templates.
74728 prelink_cmds=$lt_prelink_cmds_CXX
74729
74730 # Specify filename containing input files.
74731 file_list_spec=$lt_file_list_spec_CXX
74732
74733 # How to hardcode a shared library path into an executable.
74734 hardcode_action=$hardcode_action_CXX
74735
74736 # The directories searched by this compiler when creating a shared library.
74737 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74738
74739 # Dependencies to place before and after the objects being linked to
74740 # create a shared library.
74741 predep_objects=$lt_predep_objects_CXX
74742 postdep_objects=$lt_postdep_objects_CXX
74743 predeps=$lt_predeps_CXX
74744 postdeps=$lt_postdeps_CXX
74745
74746 # The library search path used internally by the compiler when linking
74747 # a shared library.
74748 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74749
74750 # ### END LIBTOOL TAG CONFIG: CXX
74751 _LT_EOF
74752
74753  ;;
74754     "include/gstdint.h":C)
74755 if test "$GCC" = yes; then
74756   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74757 else
74758   echo "/* generated for $CC */" > tmp-stdint.h
74759 fi
74760
74761 sed 's/^ *//' >> tmp-stdint.h <<EOF
74762
74763   #ifndef GCC_GENERATED_STDINT_H
74764   #define GCC_GENERATED_STDINT_H 1
74765
74766   #include <sys/types.h>
74767 EOF
74768
74769 if test "$acx_cv_header_stdint" != stdint.h; then
74770   echo "#include <stddef.h>" >> tmp-stdint.h
74771 fi
74772 if test "$acx_cv_header_stdint" != stddef.h; then
74773   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74774 fi
74775
74776 sed 's/^ *//' >> tmp-stdint.h <<EOF
74777   /* glibc uses these symbols as guards to prevent redefinitions.  */
74778   #ifdef __int8_t_defined
74779   #define _INT8_T
74780   #define _INT16_T
74781   #define _INT32_T
74782   #endif
74783   #ifdef __uint32_t_defined
74784   #define _UINT32_T
74785   #endif
74786
74787 EOF
74788
74789 # ----------------- done header, emit basic int types -------------
74790 if test "$acx_cv_header_stdint" = stddef.h; then
74791   sed 's/^ *//' >> tmp-stdint.h <<EOF
74792
74793     #ifndef _UINT8_T
74794     #define _UINT8_T
74795     #ifndef __uint8_t_defined
74796     #define __uint8_t_defined
74797     #ifndef uint8_t
74798     typedef unsigned $acx_cv_type_int8_t uint8_t;
74799     #endif
74800     #endif
74801     #endif
74802
74803     #ifndef _UINT16_T
74804     #define _UINT16_T
74805     #ifndef __uint16_t_defined
74806     #define __uint16_t_defined
74807     #ifndef uint16_t
74808     typedef unsigned $acx_cv_type_int16_t uint16_t;
74809     #endif
74810     #endif
74811     #endif
74812
74813     #ifndef _UINT32_T
74814     #define _UINT32_T
74815     #ifndef __uint32_t_defined
74816     #define __uint32_t_defined
74817     #ifndef uint32_t
74818     typedef unsigned $acx_cv_type_int32_t uint32_t;
74819     #endif
74820     #endif
74821     #endif
74822
74823     #ifndef _INT8_T
74824     #define _INT8_T
74825     #ifndef __int8_t_defined
74826     #define __int8_t_defined
74827     #ifndef int8_t
74828     typedef $acx_cv_type_int8_t int8_t;
74829     #endif
74830     #endif
74831     #endif
74832
74833     #ifndef _INT16_T
74834     #define _INT16_T
74835     #ifndef __int16_t_defined
74836     #define __int16_t_defined
74837     #ifndef int16_t
74838     typedef $acx_cv_type_int16_t int16_t;
74839     #endif
74840     #endif
74841     #endif
74842
74843     #ifndef _INT32_T
74844     #define _INT32_T
74845     #ifndef __int32_t_defined
74846     #define __int32_t_defined
74847     #ifndef int32_t
74848     typedef $acx_cv_type_int32_t int32_t;
74849     #endif
74850     #endif
74851     #endif
74852 EOF
74853 elif test "$ac_cv_type_u_int32_t" = yes; then
74854   sed 's/^ *//' >> tmp-stdint.h <<EOF
74855
74856     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74857     #ifndef _INT8_T
74858     #define _INT8_T
74859     #endif
74860     #ifndef _INT16_T
74861     #define _INT16_T
74862     #endif
74863     #ifndef _INT32_T
74864     #define _INT32_T
74865     #endif
74866
74867     #ifndef _UINT8_T
74868     #define _UINT8_T
74869     #ifndef __uint8_t_defined
74870     #define __uint8_t_defined
74871     #ifndef uint8_t
74872     typedef u_int8_t uint8_t;
74873     #endif
74874     #endif
74875     #endif
74876
74877     #ifndef _UINT16_T
74878     #define _UINT16_T
74879     #ifndef __uint16_t_defined
74880     #define __uint16_t_defined
74881     #ifndef uint16_t
74882     typedef u_int16_t uint16_t;
74883     #endif
74884     #endif
74885     #endif
74886
74887     #ifndef _UINT32_T
74888     #define _UINT32_T
74889     #ifndef __uint32_t_defined
74890     #define __uint32_t_defined
74891     #ifndef uint32_t
74892     typedef u_int32_t uint32_t;
74893     #endif
74894     #endif
74895     #endif
74896 EOF
74897 else
74898   sed 's/^ *//' >> tmp-stdint.h <<EOF
74899
74900     /* Some systems have guard macros to prevent redefinitions, define them.  */
74901     #ifndef _INT8_T
74902     #define _INT8_T
74903     #endif
74904     #ifndef _INT16_T
74905     #define _INT16_T
74906     #endif
74907     #ifndef _INT32_T
74908     #define _INT32_T
74909     #endif
74910     #ifndef _UINT8_T
74911     #define _UINT8_T
74912     #endif
74913     #ifndef _UINT16_T
74914     #define _UINT16_T
74915     #endif
74916     #ifndef _UINT32_T
74917     #define _UINT32_T
74918     #endif
74919 EOF
74920 fi
74921
74922 # ------------- done basic int types, emit int64_t types ------------
74923 if test "$ac_cv_type_uint64_t" = yes; then
74924   sed 's/^ *//' >> tmp-stdint.h <<EOF
74925
74926     /* system headers have good uint64_t and int64_t */
74927     #ifndef _INT64_T
74928     #define _INT64_T
74929     #endif
74930     #ifndef _UINT64_T
74931     #define _UINT64_T
74932     #endif
74933 EOF
74934 elif test "$ac_cv_type_u_int64_t" = yes; then
74935   sed 's/^ *//' >> tmp-stdint.h <<EOF
74936
74937     /* system headers have an u_int64_t (and int64_t) */
74938     #ifndef _INT64_T
74939     #define _INT64_T
74940     #endif
74941     #ifndef _UINT64_T
74942     #define _UINT64_T
74943     #ifndef __uint64_t_defined
74944     #define __uint64_t_defined
74945     #ifndef uint64_t
74946     typedef u_int64_t uint64_t;
74947     #endif
74948     #endif
74949     #endif
74950 EOF
74951 elif test -n "$acx_cv_type_int64_t"; then
74952   sed 's/^ *//' >> tmp-stdint.h <<EOF
74953
74954     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74955     #ifndef _INT64_T
74956     #define _INT64_T
74957     #ifndef int64_t
74958     typedef $acx_cv_type_int64_t int64_t;
74959     #endif
74960     #endif
74961     #ifndef _UINT64_T
74962     #define _UINT64_T
74963     #ifndef __uint64_t_defined
74964     #define __uint64_t_defined
74965     #ifndef uint64_t
74966     typedef unsigned $acx_cv_type_int64_t uint64_t;
74967     #endif
74968     #endif
74969     #endif
74970 EOF
74971 else
74972   sed 's/^ *//' >> tmp-stdint.h <<EOF
74973
74974     /* some common heuristics for int64_t, using compiler-specific tests */
74975     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74976     #ifndef _INT64_T
74977     #define _INT64_T
74978     #ifndef __int64_t_defined
74979     #ifndef int64_t
74980     typedef long long int64_t;
74981     #endif
74982     #endif
74983     #endif
74984     #ifndef _UINT64_T
74985     #define _UINT64_T
74986     #ifndef uint64_t
74987     typedef unsigned long long uint64_t;
74988     #endif
74989     #endif
74990
74991     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74992     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74993        does not implement __extension__.  But that compiler doesn't define
74994        __GNUC_MINOR__.  */
74995     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74996     # define __extension__
74997     # endif
74998
74999     # ifndef _INT64_T
75000     # define _INT64_T
75001     # ifndef int64_t
75002     __extension__ typedef long long int64_t;
75003     # endif
75004     # endif
75005     # ifndef _UINT64_T
75006     # define _UINT64_T
75007     # ifndef uint64_t
75008     __extension__ typedef unsigned long long uint64_t;
75009     # endif
75010     # endif
75011
75012     #elif !defined __STRICT_ANSI__
75013     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
75014
75015     #  ifndef _INT64_T
75016     #  define _INT64_T
75017     #  ifndef int64_t
75018     typedef __int64 int64_t;
75019     #  endif
75020     #  endif
75021     #  ifndef _UINT64_T
75022     #  define _UINT64_T
75023     #  ifndef uint64_t
75024     typedef unsigned __int64 uint64_t;
75025     #  endif
75026     #  endif
75027     # endif /* compiler */
75028
75029     #endif /* ANSI version */
75030 EOF
75031 fi
75032
75033 # ------------- done int64_t types, emit intptr types ------------
75034 if test "$ac_cv_type_uintptr_t" != yes; then
75035   sed 's/^ *//' >> tmp-stdint.h <<EOF
75036
75037     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
75038     #ifndef __uintptr_t_defined
75039     #ifndef uintptr_t
75040     typedef u$acx_cv_type_intptr_t uintptr_t;
75041     #endif
75042     #endif
75043     #ifndef __intptr_t_defined
75044     #ifndef intptr_t
75045     typedef $acx_cv_type_intptr_t  intptr_t;
75046     #endif
75047     #endif
75048 EOF
75049 fi
75050
75051 # ------------- done intptr types, emit int_least types ------------
75052 if test "$ac_cv_type_int_least32_t" != yes; then
75053   sed 's/^ *//' >> tmp-stdint.h <<EOF
75054
75055     /* Define int_least types */
75056     typedef int8_t     int_least8_t;
75057     typedef int16_t    int_least16_t;
75058     typedef int32_t    int_least32_t;
75059     #ifdef _INT64_T
75060     typedef int64_t    int_least64_t;
75061     #endif
75062
75063     typedef uint8_t    uint_least8_t;
75064     typedef uint16_t   uint_least16_t;
75065     typedef uint32_t   uint_least32_t;
75066     #ifdef _UINT64_T
75067     typedef uint64_t   uint_least64_t;
75068     #endif
75069 EOF
75070 fi
75071
75072 # ------------- done intptr types, emit int_fast types ------------
75073 if test "$ac_cv_type_int_fast32_t" != yes; then
75074       sed 's/^ *//' >> tmp-stdint.h <<EOF
75075
75076     /* Define int_fast types.  short is often slow */
75077     typedef int8_t       int_fast8_t;
75078     typedef int          int_fast16_t;
75079     typedef int32_t      int_fast32_t;
75080     #ifdef _INT64_T
75081     typedef int64_t      int_fast64_t;
75082     #endif
75083
75084     typedef uint8_t      uint_fast8_t;
75085     typedef unsigned int uint_fast16_t;
75086     typedef uint32_t     uint_fast32_t;
75087     #ifdef _UINT64_T
75088     typedef uint64_t     uint_fast64_t;
75089     #endif
75090 EOF
75091 fi
75092
75093 if test "$ac_cv_type_uintmax_t" != yes; then
75094   sed 's/^ *//' >> tmp-stdint.h <<EOF
75095
75096     /* Define intmax based on what we found */
75097     #ifndef intmax_t
75098     #ifdef _INT64_T
75099     typedef int64_t       intmax_t;
75100     #else
75101     typedef long          intmax_t;
75102     #endif
75103     #endif
75104     #ifndef uintmax_t
75105     #ifdef _UINT64_T
75106     typedef uint64_t      uintmax_t;
75107     #else
75108     typedef unsigned long uintmax_t;
75109     #endif
75110     #endif
75111 EOF
75112 fi
75113
75114 sed 's/^ *//' >> tmp-stdint.h <<EOF
75115
75116   #endif /* GCC_GENERATED_STDINT_H */
75117 EOF
75118
75119 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75120   rm -f tmp-stdint.h
75121 else
75122   mv -f tmp-stdint.h include/gstdint.h
75123 fi
75124
75125  ;;
75126     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75127     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75128     "include/Makefile":F) cat > vpsed$$ << \_EOF
75129 s!`test -f '$<' || echo '$(srcdir)/'`!!
75130 _EOF
75131    sed -f vpsed$$ $ac_file > tmp$$
75132    mv tmp$$ $ac_file
75133    rm vpsed$$
75134    echo 'MULTISUBDIR =' >> $ac_file
75135    ml_norecursion=yes
75136    . ${multi_basedir}/config-ml.in
75137    { ml_norecursion=; unset ml_norecursion;}
75138  ;;
75139     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75140 s!`test -f '$<' || echo '$(srcdir)/'`!!
75141 _EOF
75142    sed -f vpsed$$ $ac_file > tmp$$
75143    mv tmp$$ $ac_file
75144    rm vpsed$$
75145    echo 'MULTISUBDIR =' >> $ac_file
75146    ml_norecursion=yes
75147    . ${multi_basedir}/config-ml.in
75148    { ml_norecursion=; unset ml_norecursion;}
75149  ;;
75150     "python/Makefile":F) cat > vpsed$$ << \_EOF
75151 s!`test -f '$<' || echo '$(srcdir)/'`!!
75152 _EOF
75153    sed -f vpsed$$ $ac_file > tmp$$
75154    mv tmp$$ $ac_file
75155    rm vpsed$$
75156    echo 'MULTISUBDIR =' >> $ac_file
75157    ml_norecursion=yes
75158    . ${multi_basedir}/config-ml.in
75159    { ml_norecursion=; unset ml_norecursion;}
75160  ;;
75161     "src/Makefile":F) cat > vpsed$$ << \_EOF
75162 s!`test -f '$<' || echo '$(srcdir)/'`!!
75163 _EOF
75164    sed -f vpsed$$ $ac_file > tmp$$
75165    mv tmp$$ $ac_file
75166    rm vpsed$$
75167    echo 'MULTISUBDIR =' >> $ac_file
75168    ml_norecursion=yes
75169    . ${multi_basedir}/config-ml.in
75170    { ml_norecursion=; unset ml_norecursion;}
75171  ;;
75172     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75173 s!`test -f '$<' || echo '$(srcdir)/'`!!
75174 _EOF
75175    sed -f vpsed$$ $ac_file > tmp$$
75176    mv tmp$$ $ac_file
75177    rm vpsed$$
75178    echo 'MULTISUBDIR =' >> $ac_file
75179    ml_norecursion=yes
75180    . ${multi_basedir}/config-ml.in
75181    { ml_norecursion=; unset ml_norecursion;}
75182  ;;
75183     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75184 s!`test -f '$<' || echo '$(srcdir)/'`!!
75185 _EOF
75186    sed -f vpsed$$ $ac_file > tmp$$
75187    mv tmp$$ $ac_file
75188    rm vpsed$$
75189    echo 'MULTISUBDIR =' >> $ac_file
75190    ml_norecursion=yes
75191    . ${multi_basedir}/config-ml.in
75192    { ml_norecursion=; unset ml_norecursion;}
75193  ;;
75194     "doc/Makefile":F) cat > vpsed$$ << \_EOF
75195 s!`test -f '$<' || echo '$(srcdir)/'`!!
75196 _EOF
75197    sed -f vpsed$$ $ac_file > tmp$$
75198    mv tmp$$ $ac_file
75199    rm vpsed$$
75200    echo 'MULTISUBDIR =' >> $ac_file
75201    ml_norecursion=yes
75202    . ${multi_basedir}/config-ml.in
75203    { ml_norecursion=; unset ml_norecursion;}
75204  ;;
75205     "po/Makefile":F) cat > vpsed$$ << \_EOF
75206 s!`test -f '$<' || echo '$(srcdir)/'`!!
75207 _EOF
75208    sed -f vpsed$$ $ac_file > tmp$$
75209    mv tmp$$ $ac_file
75210    rm vpsed$$
75211    echo 'MULTISUBDIR =' >> $ac_file
75212    ml_norecursion=yes
75213    . ${multi_basedir}/config-ml.in
75214    { ml_norecursion=; unset ml_norecursion;}
75215  ;;
75216     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75217 s!`test -f '$<' || echo '$(srcdir)/'`!!
75218 _EOF
75219    sed -f vpsed$$ $ac_file > tmp$$
75220    mv tmp$$ $ac_file
75221    rm vpsed$$
75222    echo 'MULTISUBDIR =' >> $ac_file
75223    ml_norecursion=yes
75224    . ${multi_basedir}/config-ml.in
75225    { ml_norecursion=; unset ml_norecursion;}
75226  ;;
75227     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75228
75229   esac
75230 done # for ac_tag
75231
75232
75233 as_fn_exit 0
75234 _ACEOF
75235 ac_clean_files=$ac_clean_files_save
75236
75237 test $ac_write_fail = 0 ||
75238   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75239
75240
75241 # configure is writing to config.log, and then calls config.status.
75242 # config.status does its own redirection, appending to config.log.
75243 # Unfortunately, on DOS this fails, as config.log is still kept open
75244 # by configure, so config.status won't be able to write to it; its
75245 # output is simply discarded.  So we exec the FD to /dev/null,
75246 # effectively closing config.log, so it can be properly (re)opened and
75247 # appended to by config.status.  When coming back to configure, we
75248 # need to make the FD available again.
75249 if test "$no_create" != yes; then
75250   ac_cs_success=:
75251   ac_config_status_args=
75252   test "$silent" = yes &&
75253     ac_config_status_args="$ac_config_status_args --quiet"
75254   exec 5>/dev/null
75255   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75256   exec 5>>config.log
75257   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75258   # would make configure fail if this is the last instruction.
75259   $ac_cs_success || as_fn_exit $?
75260 fi
75261 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75262   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75263 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
75264 fi
75265