acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to enable features if...
[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=auto]
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
19347
19348    # Check whether --enable-libstdcxx-time was given.
19349 if test "${enable_libstdcxx_time+set}" = set; then :
19350   enableval=$enable_libstdcxx_time;
19351       case "$enableval" in
19352        yes|no|rt) ;;
19353        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19354                         esac
19355
19356 else
19357   enable_libstdcxx_time=auto
19358 fi
19359
19360
19361
19362
19363   ac_ext=cpp
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19368
19369   ac_save_CXXFLAGS="$CXXFLAGS"
19370   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19371   ac_save_LIBS="$LIBS"
19372
19373   ac_has_clock_monotonic=no
19374   ac_has_clock_realtime=no
19375   ac_has_nanosleep=no
19376   ac_has_sched_yield=no
19377
19378   if test x"$enable_libstdcxx_time" = x"auto"; then
19379
19380     case "${target_os}" in
19381       cygwin*)
19382         ac_has_nanosleep=yes
19383         ;;
19384       darwin*)
19385         ac_has_nanosleep=yes
19386         ac_has_sched_yield=yes
19387         ;;
19388       gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19389         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19390 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19391         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h.  */
19393 #include <features.h>
19394 int
19395 main ()
19396 {
19397
19398           #if ! __GLIBC_PREREQ(2, 17)
19399           #error
19400           #endif
19401
19402   ;
19403   return 0;
19404 }
19405 _ACEOF
19406 if ac_fn_cxx_try_compile "$LINENO"; then :
19407   glibcxx_glibc217=yes
19408 else
19409   glibcxx_glibc217=no
19410 fi
19411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19412         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19413 $as_echo "$glibcxx_glibc217" >&6; }
19414
19415         if test x"$glibcxx_glibc217" = x"yes"; then
19416           ac_has_clock_monotonic=yes
19417           ac_has_clock_realtime=yes
19418         fi
19419         ac_has_nanosleep=yes
19420         ac_has_sched_yield=yes
19421         ;;
19422       freebsd*|netbsd*)
19423         ac_has_clock_monotonic=yes
19424         ac_has_clock_realtime=yes
19425         ac_has_nanosleep=yes
19426         ac_has_sched_yield=yes
19427         ;;
19428       openbsd*)
19429         ac_has_clock_monotonic=yes
19430         ac_has_clock_realtime=yes
19431         ac_has_nanosleep=yes
19432         ;;
19433       solaris*)
19434         GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19435         ac_has_clock_monotonic=yes
19436         ac_has_clock_realtime=yes
19437         ac_has_nanosleep=yes
19438         ac_has_sched_yield=yes
19439         ;;
19440     esac
19441
19442   elif test x"$enable_libstdcxx_time" != x"no"; then
19443
19444     if test x"$enable_libstdcxx_time" = x"rt"; then
19445       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19446 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19447 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19448   $as_echo_n "(cached) " >&6
19449 else
19450   ac_func_search_save_LIBS=$LIBS
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h.  */
19453
19454 /* Override any GCC internal prototype to avoid an error.
19455    Use char because int might match the return type of a GCC
19456    builtin and then its argument prototype would still apply.  */
19457 #ifdef __cplusplus
19458 extern "C"
19459 #endif
19460 char clock_gettime ();
19461 int
19462 main ()
19463 {
19464 return clock_gettime ();
19465   ;
19466   return 0;
19467 }
19468 _ACEOF
19469 for ac_lib in '' rt posix4; do
19470   if test -z "$ac_lib"; then
19471     ac_res="none required"
19472   else
19473     ac_res=-l$ac_lib
19474     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19475   fi
19476   if test x$gcc_no_link = xyes; then
19477   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19478 fi
19479 if ac_fn_cxx_try_link "$LINENO"; then :
19480   ac_cv_search_clock_gettime=$ac_res
19481 fi
19482 rm -f core conftest.err conftest.$ac_objext \
19483     conftest$ac_exeext
19484   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19485   break
19486 fi
19487 done
19488 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19489
19490 else
19491   ac_cv_search_clock_gettime=no
19492 fi
19493 rm conftest.$ac_ext
19494 LIBS=$ac_func_search_save_LIBS
19495 fi
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19497 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19498 ac_res=$ac_cv_search_clock_gettime
19499 if test "$ac_res" != no; then :
19500   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19501
19502 fi
19503
19504       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19505 $as_echo_n "checking for library containing nanosleep... " >&6; }
19506 if test "${ac_cv_search_nanosleep+set}" = set; then :
19507   $as_echo_n "(cached) " >&6
19508 else
19509   ac_func_search_save_LIBS=$LIBS
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h.  */
19512
19513 /* Override any GCC internal prototype to avoid an error.
19514    Use char because int might match the return type of a GCC
19515    builtin and then its argument prototype would still apply.  */
19516 #ifdef __cplusplus
19517 extern "C"
19518 #endif
19519 char nanosleep ();
19520 int
19521 main ()
19522 {
19523 return nanosleep ();
19524   ;
19525   return 0;
19526 }
19527 _ACEOF
19528 for ac_lib in '' rt posix4; do
19529   if test -z "$ac_lib"; then
19530     ac_res="none required"
19531   else
19532     ac_res=-l$ac_lib
19533     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19534   fi
19535   if test x$gcc_no_link = xyes; then
19536   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19537 fi
19538 if ac_fn_cxx_try_link "$LINENO"; then :
19539   ac_cv_search_nanosleep=$ac_res
19540 fi
19541 rm -f core conftest.err conftest.$ac_objext \
19542     conftest$ac_exeext
19543   if test "${ac_cv_search_nanosleep+set}" = set; then :
19544   break
19545 fi
19546 done
19547 if test "${ac_cv_search_nanosleep+set}" = set; then :
19548
19549 else
19550   ac_cv_search_nanosleep=no
19551 fi
19552 rm conftest.$ac_ext
19553 LIBS=$ac_func_search_save_LIBS
19554 fi
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19556 $as_echo "$ac_cv_search_nanosleep" >&6; }
19557 ac_res=$ac_cv_search_nanosleep
19558 if test "$ac_res" != no; then :
19559   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19560
19561 fi
19562
19563     else
19564       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19565 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19566 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19567   $as_echo_n "(cached) " >&6
19568 else
19569   ac_func_search_save_LIBS=$LIBS
19570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19571 /* end confdefs.h.  */
19572
19573 /* Override any GCC internal prototype to avoid an error.
19574    Use char because int might match the return type of a GCC
19575    builtin and then its argument prototype would still apply.  */
19576 #ifdef __cplusplus
19577 extern "C"
19578 #endif
19579 char clock_gettime ();
19580 int
19581 main ()
19582 {
19583 return clock_gettime ();
19584   ;
19585   return 0;
19586 }
19587 _ACEOF
19588 for ac_lib in '' posix4; do
19589   if test -z "$ac_lib"; then
19590     ac_res="none required"
19591   else
19592     ac_res=-l$ac_lib
19593     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19594   fi
19595   if test x$gcc_no_link = xyes; then
19596   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19597 fi
19598 if ac_fn_cxx_try_link "$LINENO"; then :
19599   ac_cv_search_clock_gettime=$ac_res
19600 fi
19601 rm -f core conftest.err conftest.$ac_objext \
19602     conftest$ac_exeext
19603   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19604   break
19605 fi
19606 done
19607 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19608
19609 else
19610   ac_cv_search_clock_gettime=no
19611 fi
19612 rm conftest.$ac_ext
19613 LIBS=$ac_func_search_save_LIBS
19614 fi
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19616 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19617 ac_res=$ac_cv_search_clock_gettime
19618 if test "$ac_res" != no; then :
19619   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19620
19621 fi
19622
19623       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19624 $as_echo_n "checking for library containing nanosleep... " >&6; }
19625 if test "${ac_cv_search_nanosleep+set}" = set; then :
19626   $as_echo_n "(cached) " >&6
19627 else
19628   ac_func_search_save_LIBS=$LIBS
19629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19630 /* end confdefs.h.  */
19631
19632 /* Override any GCC internal prototype to avoid an error.
19633    Use char because int might match the return type of a GCC
19634    builtin and then its argument prototype would still apply.  */
19635 #ifdef __cplusplus
19636 extern "C"
19637 #endif
19638 char nanosleep ();
19639 int
19640 main ()
19641 {
19642 return nanosleep ();
19643   ;
19644   return 0;
19645 }
19646 _ACEOF
19647 for ac_lib in '' posix4; do
19648   if test -z "$ac_lib"; then
19649     ac_res="none required"
19650   else
19651     ac_res=-l$ac_lib
19652     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19653   fi
19654   if test x$gcc_no_link = xyes; then
19655   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19656 fi
19657 if ac_fn_cxx_try_link "$LINENO"; then :
19658   ac_cv_search_nanosleep=$ac_res
19659 fi
19660 rm -f core conftest.err conftest.$ac_objext \
19661     conftest$ac_exeext
19662   if test "${ac_cv_search_nanosleep+set}" = set; then :
19663   break
19664 fi
19665 done
19666 if test "${ac_cv_search_nanosleep+set}" = set; then :
19667
19668 else
19669   ac_cv_search_nanosleep=no
19670 fi
19671 rm conftest.$ac_ext
19672 LIBS=$ac_func_search_save_LIBS
19673 fi
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19675 $as_echo "$ac_cv_search_nanosleep" >&6; }
19676 ac_res=$ac_cv_search_nanosleep
19677 if test "$ac_res" != no; then :
19678   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19679
19680 fi
19681
19682     fi
19683
19684     case "$ac_cv_search_clock_gettime" in
19685       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19686       ;;
19687     esac
19688     case "$ac_cv_search_nanosleep" in
19689       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19690       ;;
19691     esac
19692
19693     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19694 $as_echo_n "checking for library containing sched_yield... " >&6; }
19695 if test "${ac_cv_search_sched_yield+set}" = set; then :
19696   $as_echo_n "(cached) " >&6
19697 else
19698   ac_func_search_save_LIBS=$LIBS
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h.  */
19701
19702 /* Override any GCC internal prototype to avoid an error.
19703    Use char because int might match the return type of a GCC
19704    builtin and then its argument prototype would still apply.  */
19705 #ifdef __cplusplus
19706 extern "C"
19707 #endif
19708 char sched_yield ();
19709 int
19710 main ()
19711 {
19712 return sched_yield ();
19713   ;
19714   return 0;
19715 }
19716 _ACEOF
19717 for ac_lib in '' rt posix4; do
19718   if test -z "$ac_lib"; then
19719     ac_res="none required"
19720   else
19721     ac_res=-l$ac_lib
19722     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19723   fi
19724   if test x$gcc_no_link = xyes; then
19725   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19726 fi
19727 if ac_fn_cxx_try_link "$LINENO"; then :
19728   ac_cv_search_sched_yield=$ac_res
19729 fi
19730 rm -f core conftest.err conftest.$ac_objext \
19731     conftest$ac_exeext
19732   if test "${ac_cv_search_sched_yield+set}" = set; then :
19733   break
19734 fi
19735 done
19736 if test "${ac_cv_search_sched_yield+set}" = set; then :
19737
19738 else
19739   ac_cv_search_sched_yield=no
19740 fi
19741 rm conftest.$ac_ext
19742 LIBS=$ac_func_search_save_LIBS
19743 fi
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19745 $as_echo "$ac_cv_search_sched_yield" >&6; }
19746 ac_res=$ac_cv_search_sched_yield
19747 if test "$ac_res" != no; then :
19748   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19749
19750 fi
19751
19752
19753     case "$ac_cv_search_sched_yield" in
19754       -lposix4*)
19755       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19756       ac_has_sched_yield=yes
19757       ;;
19758       -lrt*)
19759       if test x"$enable_libstdcxx_time" = x"rt"; then
19760         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19761         ac_has_sched_yield=yes
19762       fi
19763       ;;
19764       *)
19765       ac_has_sched_yield=yes
19766       ;;
19767     esac
19768
19769     for ac_header in unistd.h
19770 do :
19771   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19772 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19773   cat >>confdefs.h <<_ACEOF
19774 #define HAVE_UNISTD_H 1
19775 _ACEOF
19776  ac_has_unistd_h=yes
19777 else
19778   ac_has_unistd_h=no
19779 fi
19780
19781 done
19782
19783
19784     if test x"$ac_has_unistd_h" = x"yes"; then
19785       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19786 $as_echo_n "checking for monotonic clock... " >&6; }
19787       if test x$gcc_no_link = xyes; then
19788   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19789 fi
19790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h.  */
19792 #include <unistd.h>
19793          #include <time.h>
19794
19795 int
19796 main ()
19797 {
19798 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19799           timespec tp;
19800          #endif
19801           clock_gettime(CLOCK_MONOTONIC, &tp);
19802
19803   ;
19804   return 0;
19805 }
19806 _ACEOF
19807 if ac_fn_cxx_try_link "$LINENO"; then :
19808   ac_has_clock_monotonic=yes
19809 else
19810   ac_has_clock_monotonic=no
19811 fi
19812 rm -f core conftest.err conftest.$ac_objext \
19813     conftest$ac_exeext conftest.$ac_ext
19814
19815       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19816 $as_echo "$ac_has_clock_monotonic" >&6; }
19817
19818       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19819 $as_echo_n "checking for realtime clock... " >&6; }
19820       if test x$gcc_no_link = xyes; then
19821   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19822 fi
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h.  */
19825 #include <unistd.h>
19826          #include <time.h>
19827
19828 int
19829 main ()
19830 {
19831 #if _POSIX_TIMERS > 0
19832           timespec tp;
19833          #endif
19834           clock_gettime(CLOCK_REALTIME, &tp);
19835
19836   ;
19837   return 0;
19838 }
19839 _ACEOF
19840 if ac_fn_cxx_try_link "$LINENO"; then :
19841   ac_has_clock_realtime=yes
19842 else
19843   ac_has_clock_realtime=no
19844 fi
19845 rm -f core conftest.err conftest.$ac_objext \
19846     conftest$ac_exeext conftest.$ac_ext
19847
19848       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19849 $as_echo "$ac_has_clock_realtime" >&6; }
19850
19851       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19852 $as_echo_n "checking for nanosleep... " >&6; }
19853       if test x$gcc_no_link = xyes; then
19854   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19855 fi
19856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19857 /* end confdefs.h.  */
19858 #include <unistd.h>
19859          #include <time.h>
19860
19861 int
19862 main ()
19863 {
19864 #if _POSIX_TIMERS > 0
19865           timespec tp;
19866          #endif
19867           nanosleep(&tp, 0);
19868
19869   ;
19870   return 0;
19871 }
19872 _ACEOF
19873 if ac_fn_cxx_try_link "$LINENO"; then :
19874   ac_has_nanosleep=yes
19875 else
19876   ac_has_nanosleep=no
19877 fi
19878 rm -f core conftest.err conftest.$ac_objext \
19879     conftest$ac_exeext conftest.$ac_ext
19880
19881       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19882 $as_echo "$ac_has_nanosleep" >&6; }
19883     fi
19884   fi
19885
19886   if test x"$ac_has_clock_monotonic" = x"yes"; then
19887
19888 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19889
19890   fi
19891
19892   if test x"$ac_has_clock_realtime" = x"yes"; then
19893
19894 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19895
19896   fi
19897
19898   if test x"$ac_has_sched_yield" = x"yes"; then
19899
19900 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19901
19902   fi
19903
19904   if test x"$ac_has_nanosleep" = x"yes"; then
19905
19906 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19907
19908   else
19909       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19910 $as_echo_n "checking for sleep... " >&6; }
19911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19912 /* end confdefs.h.  */
19913 #include <unistd.h>
19914 int
19915 main ()
19916 {
19917 sleep(1)
19918   ;
19919   return 0;
19920 }
19921 _ACEOF
19922 if ac_fn_cxx_try_compile "$LINENO"; then :
19923   ac_has_sleep=yes
19924 else
19925   ac_has_sleep=no
19926 fi
19927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928       if test x"$ac_has_sleep" = x"yes"; then
19929
19930 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19931
19932       fi
19933       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19934 $as_echo "$ac_has_sleep" >&6; }
19935       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19936 $as_echo_n "checking for usleep... " >&6; }
19937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19938 /* end confdefs.h.  */
19939 #include <unistd.h>
19940 int
19941 main ()
19942 {
19943 sleep(1);
19944                       usleep(100);
19945   ;
19946   return 0;
19947 }
19948 _ACEOF
19949 if ac_fn_cxx_try_compile "$LINENO"; then :
19950   ac_has_usleep=yes
19951 else
19952   ac_has_usleep=no
19953 fi
19954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19955       if test x"$ac_has_usleep" = x"yes"; then
19956
19957 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19958
19959       fi
19960       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19961 $as_echo "$ac_has_usleep" >&6; }
19962   fi
19963
19964   if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
19965       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
19966 $as_echo_n "checking for Sleep... " >&6; }
19967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19968 /* end confdefs.h.  */
19969 #include <windows.h>
19970 int
19971 main ()
19972 {
19973 Sleep(1)
19974   ;
19975   return 0;
19976 }
19977 _ACEOF
19978 if ac_fn_cxx_try_compile "$LINENO"; then :
19979   ac_has_win32_sleep=yes
19980 else
19981   ac_has_win32_sleep=no
19982 fi
19983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19984       if test x"$ac_has_win32_sleep" = x"yes"; then
19985
19986 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
19987
19988       fi
19989       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
19990 $as_echo "$ac_has_win32_sleep" >&6; }
19991   fi
19992
19993
19994
19995   CXXFLAGS="$ac_save_CXXFLAGS"
19996   LIBS="$ac_save_LIBS"
19997   ac_ext=c
19998 ac_cpp='$CPP $CPPFLAGS'
19999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20002
20003
20004
20005
20006   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20007 if test "x$ac_cv_header_locale_h" = x""yes; then :
20008
20009     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20010 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20011 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20012   $as_echo_n "(cached) " >&6
20013 else
20014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h.  */
20016 #include <locale.h>
20017 int
20018 main ()
20019 {
20020 return LC_MESSAGES
20021   ;
20022   return 0;
20023 }
20024 _ACEOF
20025 if ac_fn_c_try_compile "$LINENO"; then :
20026   ac_cv_val_LC_MESSAGES=yes
20027 else
20028   ac_cv_val_LC_MESSAGES=no
20029 fi
20030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20031 fi
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20033 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20034     if test $ac_cv_val_LC_MESSAGES = yes; then
20035
20036 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20037
20038     fi
20039
20040 fi
20041
20042
20043
20044
20045 # For hardware_concurrency
20046 for ac_header in sys/sysinfo.h
20047 do :
20048   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20049 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20050   cat >>confdefs.h <<_ACEOF
20051 #define HAVE_SYS_SYSINFO_H 1
20052 _ACEOF
20053
20054 fi
20055
20056 done
20057
20058
20059
20060
20061   ac_ext=cpp
20062 ac_cpp='$CXXCPP $CPPFLAGS'
20063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20066
20067   ac_save_CXXFLAGS="$CXXFLAGS"
20068   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20069
20070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20071 $as_echo_n "checking for get_nprocs... " >&6; }
20072   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20073   $as_echo_n "(cached) " >&6
20074 else
20075
20076     if test x$gcc_no_link = xyes; then
20077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h.  */
20079 #include <sys/sysinfo.h>
20080 int
20081 main ()
20082 {
20083 int n = get_nprocs();
20084   ;
20085   return 0;
20086 }
20087 _ACEOF
20088 if ac_fn_cxx_try_compile "$LINENO"; then :
20089   glibcxx_cv_GET_NPROCS=yes
20090 else
20091   glibcxx_cv_GET_NPROCS=no
20092 fi
20093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20094 else
20095   if test x$gcc_no_link = xyes; then
20096   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20097 fi
20098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20099 /* end confdefs.h.  */
20100 #include <sys/sysinfo.h>
20101 int
20102 main ()
20103 {
20104 int n = get_nprocs();
20105   ;
20106   return 0;
20107 }
20108 _ACEOF
20109 if ac_fn_cxx_try_link "$LINENO"; then :
20110   glibcxx_cv_GET_NPROCS=yes
20111 else
20112   glibcxx_cv_GET_NPROCS=no
20113 fi
20114 rm -f core conftest.err conftest.$ac_objext \
20115     conftest$ac_exeext conftest.$ac_ext
20116 fi
20117
20118 fi
20119
20120   if test $glibcxx_cv_GET_NPROCS = yes; then
20121
20122 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20123
20124   fi
20125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20126 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20127
20128   CXXFLAGS="$ac_save_CXXFLAGS"
20129   ac_ext=c
20130 ac_cpp='$CPP $CPPFLAGS'
20131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20134
20135
20136 for ac_header in unistd.h
20137 do :
20138   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20139 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20140   cat >>confdefs.h <<_ACEOF
20141 #define HAVE_UNISTD_H 1
20142 _ACEOF
20143
20144 fi
20145
20146 done
20147
20148
20149
20150
20151   ac_ext=cpp
20152 ac_cpp='$CXXCPP $CPPFLAGS'
20153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20156
20157   ac_save_CXXFLAGS="$CXXFLAGS"
20158   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20159
20160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20161 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20162   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20163   $as_echo_n "(cached) " >&6
20164 else
20165
20166     if test x$gcc_no_link = xyes; then
20167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20168 /* end confdefs.h.  */
20169 #include <unistd.h>
20170 int
20171 main ()
20172 {
20173 int n = sysconf(_SC_NPROCESSORS_ONLN);
20174   ;
20175   return 0;
20176 }
20177 _ACEOF
20178 if ac_fn_cxx_try_compile "$LINENO"; then :
20179   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20180 else
20181   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20182 fi
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 else
20185   if test x$gcc_no_link = xyes; then
20186   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20187 fi
20188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20189 /* end confdefs.h.  */
20190 #include <unistd.h>
20191 int
20192 main ()
20193 {
20194 int n = sysconf(_SC_NPROCESSORS_ONLN);
20195   ;
20196   return 0;
20197 }
20198 _ACEOF
20199 if ac_fn_cxx_try_link "$LINENO"; then :
20200   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20201 else
20202   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20203 fi
20204 rm -f core conftest.err conftest.$ac_objext \
20205     conftest$ac_exeext conftest.$ac_ext
20206 fi
20207
20208 fi
20209
20210   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20211
20212 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20213
20214   fi
20215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20216 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20217
20218   CXXFLAGS="$ac_save_CXXFLAGS"
20219   ac_ext=c
20220 ac_cpp='$CPP $CPPFLAGS'
20221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20224
20225
20226
20227
20228
20229   ac_ext=cpp
20230 ac_cpp='$CXXCPP $CPPFLAGS'
20231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20234
20235   ac_save_CXXFLAGS="$CXXFLAGS"
20236   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20237
20238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20239 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20240   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20241   $as_echo_n "(cached) " >&6
20242 else
20243
20244     if test x$gcc_no_link = xyes; then
20245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h.  */
20247 #include <unistd.h>
20248 int
20249 main ()
20250 {
20251 int n = sysconf(_SC_NPROC_ONLN);
20252   ;
20253   return 0;
20254 }
20255 _ACEOF
20256 if ac_fn_cxx_try_compile "$LINENO"; then :
20257   glibcxx_cv_SC_NPROC_ONLN=yes
20258 else
20259   glibcxx_cv_SC_NPROC_ONLN=no
20260 fi
20261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20262 else
20263   if test x$gcc_no_link = xyes; then
20264   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20265 fi
20266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20267 /* end confdefs.h.  */
20268 #include <unistd.h>
20269 int
20270 main ()
20271 {
20272 int n = sysconf(_SC_NPROC_ONLN);
20273   ;
20274   return 0;
20275 }
20276 _ACEOF
20277 if ac_fn_cxx_try_link "$LINENO"; then :
20278   glibcxx_cv_SC_NPROC_ONLN=yes
20279 else
20280   glibcxx_cv_SC_NPROC_ONLN=no
20281 fi
20282 rm -f core conftest.err conftest.$ac_objext \
20283     conftest$ac_exeext conftest.$ac_ext
20284 fi
20285
20286 fi
20287
20288   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20289
20290 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20291
20292   fi
20293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20294 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20295
20296   CXXFLAGS="$ac_save_CXXFLAGS"
20297   ac_ext=c
20298 ac_cpp='$CPP $CPPFLAGS'
20299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20302
20303
20304
20305
20306
20307   ac_ext=cpp
20308 ac_cpp='$CXXCPP $CPPFLAGS'
20309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20312
20313   ac_save_CXXFLAGS="$CXXFLAGS"
20314   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20315
20316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20317 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20318   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20319   $as_echo_n "(cached) " >&6
20320 else
20321
20322     if test x$gcc_no_link = xyes; then
20323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20324 /* end confdefs.h.  */
20325 #include <pthread.h>
20326 int
20327 main ()
20328 {
20329 int n = pthread_num_processors_np();
20330   ;
20331   return 0;
20332 }
20333 _ACEOF
20334 if ac_fn_cxx_try_compile "$LINENO"; then :
20335   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20336 else
20337   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20338 fi
20339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20340 else
20341   if test x$gcc_no_link = xyes; then
20342   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20343 fi
20344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20345 /* end confdefs.h.  */
20346 #include <pthread.h>
20347 int
20348 main ()
20349 {
20350 int n = pthread_num_processors_np();
20351   ;
20352   return 0;
20353 }
20354 _ACEOF
20355 if ac_fn_cxx_try_link "$LINENO"; then :
20356   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20357 else
20358   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20359 fi
20360 rm -f core conftest.err conftest.$ac_objext \
20361     conftest$ac_exeext conftest.$ac_ext
20362 fi
20363
20364 fi
20365
20366   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20367
20368 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20369
20370   fi
20371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20372 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20373
20374   CXXFLAGS="$ac_save_CXXFLAGS"
20375   ac_ext=c
20376 ac_cpp='$CPP $CPPFLAGS'
20377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20380
20381
20382
20383
20384
20385   ac_ext=cpp
20386 ac_cpp='$CXXCPP $CPPFLAGS'
20387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20390
20391   ac_save_CXXFLAGS="$CXXFLAGS"
20392   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20393
20394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20395 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20396   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20397   $as_echo_n "(cached) " >&6
20398 else
20399
20400     if test x$gcc_no_link = xyes; then
20401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20402 /* end confdefs.h.  */
20403
20404        #include <stddef.h>
20405        #include <sys/sysctl.h>
20406
20407 int
20408 main ()
20409 {
20410
20411        int count;
20412        size_t size = sizeof(count);
20413        int mib[] = { CTL_HW, HW_NCPU };
20414        sysctl(mib, 2, &count, &size, NULL, 0);
20415
20416   ;
20417   return 0;
20418 }
20419 _ACEOF
20420 if ac_fn_cxx_try_compile "$LINENO"; then :
20421   glibcxx_cv_SYSCTL_HW_NCPU=yes
20422 else
20423   glibcxx_cv_SYSCTL_HW_NCPU=no
20424 fi
20425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20426 else
20427   if test x$gcc_no_link = xyes; then
20428   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20429 fi
20430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20431 /* end confdefs.h.  */
20432
20433        #include <stddef.h>
20434        #include <sys/sysctl.h>
20435
20436 int
20437 main ()
20438 {
20439
20440        int count;
20441        size_t size = sizeof(count);
20442        int mib[] = { CTL_HW, HW_NCPU };
20443        sysctl(mib, 2, &count, &size, NULL, 0);
20444
20445   ;
20446   return 0;
20447 }
20448 _ACEOF
20449 if ac_fn_cxx_try_link "$LINENO"; then :
20450   glibcxx_cv_SYSCTL_HW_NCPU=yes
20451 else
20452   glibcxx_cv_SYSCTL_HW_NCPU=no
20453 fi
20454 rm -f core conftest.err conftest.$ac_objext \
20455     conftest$ac_exeext conftest.$ac_ext
20456 fi
20457
20458 fi
20459
20460   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20461
20462 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20463
20464   fi
20465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20466 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20467
20468   CXXFLAGS="$ac_save_CXXFLAGS"
20469   ac_ext=c
20470 ac_cpp='$CPP $CPPFLAGS'
20471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20474
20475
20476
20477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20478 $as_echo "for suitable sys/sdt.h" >&6; }
20479   # Note that this test has to be run with the C language.
20480   # Otherwise, sdt.h will try to include some headers from
20481   # libstdc++ itself.
20482
20483   ac_ext=c
20484 ac_cpp='$CPP $CPPFLAGS'
20485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20488
20489   if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20490   $as_echo_n "(cached) " >&6
20491 else
20492
20493     # Because we have to run the test in C, we use grep rather
20494     # than the compiler to check for the bug.  The bug is that
20495     # were strings without trailing whitespace, causing g++
20496     # to look for operator"".  The pattern searches for the fixed
20497     # output.
20498     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20499 /* end confdefs.h.  */
20500
20501       #include <sys/sdt.h>
20502       int f() { STAP_PROBE(hi, bob); }
20503
20504 _ACEOF
20505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20506   $EGREP " \",\" " >/dev/null 2>&1; then :
20507   glibcxx_cv_sys_sdt_h=yes
20508 else
20509   glibcxx_cv_sys_sdt_h=no
20510 fi
20511 rm -f conftest*
20512
20513
20514 fi
20515
20516   ac_ext=c
20517 ac_cpp='$CPP $CPPFLAGS'
20518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20521
20522   if test $glibcxx_cv_sys_sdt_h = yes; then
20523
20524 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20525
20526   fi
20527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20528 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20529
20530
20531 # Check for available headers.
20532 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20533 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20534 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20535 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20536 wchar.h wctype.h
20537 do :
20538   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20539 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20540 eval as_val=\$$as_ac_Header
20541    if test "x$as_val" = x""yes; then :
20542   cat >>confdefs.h <<_ACEOF
20543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20544 _ACEOF
20545
20546 fi
20547
20548 done
20549
20550
20551 # Only do link tests if native. Else, hardcode.
20552 if $GLIBCXX_IS_NATIVE; then
20553
20554   # We can do more elaborate tests that assume a working linker.
20555   CANADIAN=no
20556
20557
20558
20559 # Check whether --with-gnu-ld was given.
20560 if test "${with_gnu_ld+set}" = set; then :
20561   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20562 else
20563   with_gnu_ld=no
20564 fi
20565
20566 ac_prog=ld
20567 if test "$GCC" = yes; then
20568   # Check if gcc -print-prog-name=ld gives a path.
20569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20570 $as_echo_n "checking for ld used by $CC... " >&6; }
20571   case $host in
20572   *-*-mingw*)
20573     # gcc leaves a trailing carriage return which upsets mingw
20574     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20575   *)
20576     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20577   esac
20578   case $ac_prog in
20579     # Accept absolute paths.
20580     [\\/]* | ?:[\\/]*)
20581       re_direlt='/[^/][^/]*/\.\./'
20582       # Canonicalize the pathname of ld
20583       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20584       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20585         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20586       done
20587       test -z "$LD" && LD="$ac_prog"
20588       ;;
20589   "")
20590     # If it fails, then pretend we aren't using GCC.
20591     ac_prog=ld
20592     ;;
20593   *)
20594     # If it is relative, then search for the first ld in PATH.
20595     with_gnu_ld=unknown
20596     ;;
20597   esac
20598 elif test "$with_gnu_ld" = yes; then
20599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20600 $as_echo_n "checking for GNU ld... " >&6; }
20601 else
20602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20603 $as_echo_n "checking for non-GNU ld... " >&6; }
20604 fi
20605 if test "${lt_cv_path_LD+set}" = set; then :
20606   $as_echo_n "(cached) " >&6
20607 else
20608   if test -z "$LD"; then
20609   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20610   for ac_dir in $PATH; do
20611     IFS="$lt_save_ifs"
20612     test -z "$ac_dir" && ac_dir=.
20613     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20614       lt_cv_path_LD="$ac_dir/$ac_prog"
20615       # Check to see if the program is GNU ld.  I'd rather use --version,
20616       # but apparently some variants of GNU ld only accept -v.
20617       # Break only if it was the GNU/non-GNU ld that we prefer.
20618       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20619       *GNU* | *'with BFD'*)
20620         test "$with_gnu_ld" != no && break
20621         ;;
20622       *)
20623         test "$with_gnu_ld" != yes && break
20624         ;;
20625       esac
20626     fi
20627   done
20628   IFS="$lt_save_ifs"
20629 else
20630   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20631 fi
20632 fi
20633
20634 LD="$lt_cv_path_LD"
20635 if test -n "$LD"; then
20636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20637 $as_echo "$LD" >&6; }
20638 else
20639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20640 $as_echo "no" >&6; }
20641 fi
20642 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20644 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20645 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20646   $as_echo_n "(cached) " >&6
20647 else
20648   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20649 case `$LD -v 2>&1 </dev/null` in
20650 *GNU* | *'with BFD'*)
20651   lt_cv_prog_gnu_ld=yes
20652   ;;
20653 *)
20654   lt_cv_prog_gnu_ld=no
20655   ;;
20656 esac
20657 fi
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20659 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20660 with_gnu_ld=$lt_cv_prog_gnu_ld
20661
20662
20663
20664
20665
20666
20667
20668   # If we're not using GNU ld, then there's no point in even trying these
20669   # tests.  Check for that first.  We should have already tested for gld
20670   # by now (in libtool), but require it now just to be safe...
20671   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20672   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20673
20674
20675
20676   # The name set by libtool depends on the version of libtool.  Shame on us
20677   # for depending on an impl detail, but c'est la vie.  Older versions used
20678   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20679   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20680   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20681   # set (hence we're using an older libtool), then set it.
20682   if test x${with_gnu_ld+set} != xset; then
20683     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20684       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20685       with_gnu_ld=no
20686     else
20687       with_gnu_ld=$ac_cv_prog_gnu_ld
20688     fi
20689   fi
20690
20691   # Start by getting the version number.  I think the libtool test already
20692   # does some of this, but throws away the result.
20693   glibcxx_ld_is_gold=no
20694   if test x"$with_gnu_ld" = x"yes"; then
20695     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20696 $as_echo_n "checking for ld version... " >&6; }
20697
20698     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20699       glibcxx_ld_is_gold=yes
20700     fi
20701     ldver=`$LD --version 2>/dev/null |
20702            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'`
20703
20704     glibcxx_gnu_ld_version=`echo $ldver | \
20705            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20706     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20707 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20708   fi
20709
20710   # Set --gc-sections.
20711   glibcxx_have_gc_sections=no
20712   if test "$glibcxx_ld_is_gold" = "yes"; then
20713     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20714       glibcxx_have_gc_sections=yes
20715     fi
20716   else
20717     glibcxx_gcsections_min_ld=21602
20718     if test x"$with_gnu_ld" = x"yes" &&
20719         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20720       glibcxx_have_gc_sections=yes
20721     fi
20722   fi
20723   if test "$glibcxx_have_gc_sections" = "yes"; then
20724     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20725     # NB: This flag only works reliably after 2.16.1. Configure tests
20726     # for this are difficult, so hard wire a value that should work.
20727
20728     ac_test_CFLAGS="${CFLAGS+set}"
20729     ac_save_CFLAGS="$CFLAGS"
20730     CFLAGS='-Wl,--gc-sections'
20731
20732     # Check for -Wl,--gc-sections
20733     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20734 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20735     if test x$gcc_no_link = xyes; then
20736   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20737 fi
20738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20739 /* end confdefs.h.  */
20740  int one(void) { return 1; }
20741      int two(void) { return 2; }
20742
20743 int
20744 main ()
20745 {
20746  two();
20747   ;
20748   return 0;
20749 }
20750 _ACEOF
20751 if ac_fn_c_try_link "$LINENO"; then :
20752   ac_gcsections=yes
20753 else
20754   ac_gcsections=no
20755 fi
20756 rm -f core conftest.err conftest.$ac_objext \
20757     conftest$ac_exeext conftest.$ac_ext
20758     if test "$ac_gcsections" = "yes"; then
20759       rm -f conftest.c
20760       touch conftest.c
20761       if $CC -c conftest.c; then
20762         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20763            grep "Warning: gc-sections option ignored" > /dev/null; then
20764           ac_gcsections=no
20765         fi
20766       fi
20767       rm -f conftest.c conftest.o conftest
20768     fi
20769     if test "$ac_gcsections" = "yes"; then
20770       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20771     fi
20772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20773 $as_echo "$ac_gcsections" >&6; }
20774
20775     if test "$ac_test_CFLAGS" = set; then
20776       CFLAGS="$ac_save_CFLAGS"
20777     else
20778       # this is the suspicious part
20779       CFLAGS=''
20780     fi
20781   fi
20782
20783   # Set -z,relro.
20784   # Note this is only for shared objects.
20785   ac_ld_relro=no
20786   if test x"$with_gnu_ld" = x"yes"; then
20787     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20788 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20789     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20790     if test -n "$cxx_z_relo"; then
20791       OPT_LDFLAGS="-Wl,-z,relro"
20792       ac_ld_relro=yes
20793     fi
20794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20795 $as_echo "$ac_ld_relro" >&6; }
20796   fi
20797
20798   # Set linker optimization flags.
20799   if test x"$with_gnu_ld" = x"yes"; then
20800     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20801   fi
20802
20803
20804
20805
20806
20807   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20808   ac_save_CXXFLAGS="$CXXFLAGS"
20809   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20810
20811     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20812 $as_echo_n "checking for sin in -lm... " >&6; }
20813 if test "${ac_cv_lib_m_sin+set}" = set; then :
20814   $as_echo_n "(cached) " >&6
20815 else
20816   ac_check_lib_save_LIBS=$LIBS
20817 LIBS="-lm  $LIBS"
20818 if test x$gcc_no_link = xyes; then
20819   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20820 fi
20821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h.  */
20823
20824 /* Override any GCC internal prototype to avoid an error.
20825    Use char because int might match the return type of a GCC
20826    builtin and then its argument prototype would still apply.  */
20827 #ifdef __cplusplus
20828 extern "C"
20829 #endif
20830 char sin ();
20831 int
20832 main ()
20833 {
20834 return sin ();
20835   ;
20836   return 0;
20837 }
20838 _ACEOF
20839 if ac_fn_c_try_link "$LINENO"; then :
20840   ac_cv_lib_m_sin=yes
20841 else
20842   ac_cv_lib_m_sin=no
20843 fi
20844 rm -f core conftest.err conftest.$ac_objext \
20845     conftest$ac_exeext conftest.$ac_ext
20846 LIBS=$ac_check_lib_save_LIBS
20847 fi
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20849 $as_echo "$ac_cv_lib_m_sin" >&6; }
20850 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20851   libm="-lm"
20852 fi
20853
20854   ac_save_LIBS="$LIBS"
20855   LIBS="$LIBS $libm"
20856
20857
20858
20859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20860 $as_echo_n "checking for isinf declaration... " >&6; }
20861   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20862     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20863   $as_echo_n "(cached) " >&6
20864 else
20865
20866
20867       ac_ext=cpp
20868 ac_cpp='$CXXCPP $CPPFLAGS'
20869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20872
20873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20874 /* end confdefs.h.  */
20875 #include <math.h>
20876                       #ifdef HAVE_IEEEFP_H
20877                       #include <ieeefp.h>
20878                       #endif
20879
20880 int
20881 main ()
20882 {
20883  isinf(0);
20884   ;
20885   return 0;
20886 }
20887 _ACEOF
20888 if ac_fn_cxx_try_compile "$LINENO"; then :
20889   glibcxx_cv_func_isinf_use=yes
20890 else
20891   glibcxx_cv_func_isinf_use=no
20892 fi
20893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20894       ac_ext=c
20895 ac_cpp='$CPP $CPPFLAGS'
20896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20899
20900
20901 fi
20902
20903   fi
20904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20905 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20906
20907   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20908     for ac_func in isinf
20909 do :
20910   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20911 if test "x$ac_cv_func_isinf" = x""yes; then :
20912   cat >>confdefs.h <<_ACEOF
20913 #define HAVE_ISINF 1
20914 _ACEOF
20915
20916 fi
20917 done
20918
20919   else
20920
20921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20922 $as_echo_n "checking for _isinf declaration... " >&6; }
20923   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20924     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20925   $as_echo_n "(cached) " >&6
20926 else
20927
20928
20929       ac_ext=cpp
20930 ac_cpp='$CXXCPP $CPPFLAGS'
20931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20934
20935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20936 /* end confdefs.h.  */
20937 #include <math.h>
20938                       #ifdef HAVE_IEEEFP_H
20939                       #include <ieeefp.h>
20940                       #endif
20941
20942 int
20943 main ()
20944 {
20945  _isinf(0);
20946   ;
20947   return 0;
20948 }
20949 _ACEOF
20950 if ac_fn_cxx_try_compile "$LINENO"; then :
20951   glibcxx_cv_func__isinf_use=yes
20952 else
20953   glibcxx_cv_func__isinf_use=no
20954 fi
20955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20956       ac_ext=c
20957 ac_cpp='$CPP $CPPFLAGS'
20958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20961
20962
20963 fi
20964
20965   fi
20966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20967 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20968
20969     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20970       for ac_func in _isinf
20971 do :
20972   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20973 if test "x$ac_cv_func__isinf" = x""yes; then :
20974   cat >>confdefs.h <<_ACEOF
20975 #define HAVE__ISINF 1
20976 _ACEOF
20977
20978 fi
20979 done
20980
20981     fi
20982   fi
20983
20984
20985
20986
20987
20988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20989 $as_echo_n "checking for isnan declaration... " >&6; }
20990   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20991     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20992   $as_echo_n "(cached) " >&6
20993 else
20994
20995
20996       ac_ext=cpp
20997 ac_cpp='$CXXCPP $CPPFLAGS'
20998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21001
21002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h.  */
21004 #include <math.h>
21005                       #ifdef HAVE_IEEEFP_H
21006                       #include <ieeefp.h>
21007                       #endif
21008
21009 int
21010 main ()
21011 {
21012  isnan(0);
21013   ;
21014   return 0;
21015 }
21016 _ACEOF
21017 if ac_fn_cxx_try_compile "$LINENO"; then :
21018   glibcxx_cv_func_isnan_use=yes
21019 else
21020   glibcxx_cv_func_isnan_use=no
21021 fi
21022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21023       ac_ext=c
21024 ac_cpp='$CPP $CPPFLAGS'
21025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21028
21029
21030 fi
21031
21032   fi
21033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21034 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21035
21036   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21037     for ac_func in isnan
21038 do :
21039   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21040 if test "x$ac_cv_func_isnan" = x""yes; then :
21041   cat >>confdefs.h <<_ACEOF
21042 #define HAVE_ISNAN 1
21043 _ACEOF
21044
21045 fi
21046 done
21047
21048   else
21049
21050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21051 $as_echo_n "checking for _isnan declaration... " >&6; }
21052   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21053     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21054   $as_echo_n "(cached) " >&6
21055 else
21056
21057
21058       ac_ext=cpp
21059 ac_cpp='$CXXCPP $CPPFLAGS'
21060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21063
21064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21065 /* end confdefs.h.  */
21066 #include <math.h>
21067                       #ifdef HAVE_IEEEFP_H
21068                       #include <ieeefp.h>
21069                       #endif
21070
21071 int
21072 main ()
21073 {
21074  _isnan(0);
21075   ;
21076   return 0;
21077 }
21078 _ACEOF
21079 if ac_fn_cxx_try_compile "$LINENO"; then :
21080   glibcxx_cv_func__isnan_use=yes
21081 else
21082   glibcxx_cv_func__isnan_use=no
21083 fi
21084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21085       ac_ext=c
21086 ac_cpp='$CPP $CPPFLAGS'
21087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21090
21091
21092 fi
21093
21094   fi
21095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21096 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21097
21098     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21099       for ac_func in _isnan
21100 do :
21101   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21102 if test "x$ac_cv_func__isnan" = x""yes; then :
21103   cat >>confdefs.h <<_ACEOF
21104 #define HAVE__ISNAN 1
21105 _ACEOF
21106
21107 fi
21108 done
21109
21110     fi
21111   fi
21112
21113
21114
21115
21116
21117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21118 $as_echo_n "checking for finite declaration... " >&6; }
21119   if test x${glibcxx_cv_func_finite_use+set} != xset; then
21120     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21121   $as_echo_n "(cached) " >&6
21122 else
21123
21124
21125       ac_ext=cpp
21126 ac_cpp='$CXXCPP $CPPFLAGS'
21127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21130
21131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21132 /* end confdefs.h.  */
21133 #include <math.h>
21134                       #ifdef HAVE_IEEEFP_H
21135                       #include <ieeefp.h>
21136                       #endif
21137
21138 int
21139 main ()
21140 {
21141  finite(0);
21142   ;
21143   return 0;
21144 }
21145 _ACEOF
21146 if ac_fn_cxx_try_compile "$LINENO"; then :
21147   glibcxx_cv_func_finite_use=yes
21148 else
21149   glibcxx_cv_func_finite_use=no
21150 fi
21151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21152       ac_ext=c
21153 ac_cpp='$CPP $CPPFLAGS'
21154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21157
21158
21159 fi
21160
21161   fi
21162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21163 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21164
21165   if test x$glibcxx_cv_func_finite_use = x"yes"; then
21166     for ac_func in finite
21167 do :
21168   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21169 if test "x$ac_cv_func_finite" = x""yes; then :
21170   cat >>confdefs.h <<_ACEOF
21171 #define HAVE_FINITE 1
21172 _ACEOF
21173
21174 fi
21175 done
21176
21177   else
21178
21179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21180 $as_echo_n "checking for _finite declaration... " >&6; }
21181   if test x${glibcxx_cv_func__finite_use+set} != xset; then
21182     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21183   $as_echo_n "(cached) " >&6
21184 else
21185
21186
21187       ac_ext=cpp
21188 ac_cpp='$CXXCPP $CPPFLAGS'
21189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21192
21193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21194 /* end confdefs.h.  */
21195 #include <math.h>
21196                       #ifdef HAVE_IEEEFP_H
21197                       #include <ieeefp.h>
21198                       #endif
21199
21200 int
21201 main ()
21202 {
21203  _finite(0);
21204   ;
21205   return 0;
21206 }
21207 _ACEOF
21208 if ac_fn_cxx_try_compile "$LINENO"; then :
21209   glibcxx_cv_func__finite_use=yes
21210 else
21211   glibcxx_cv_func__finite_use=no
21212 fi
21213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21214       ac_ext=c
21215 ac_cpp='$CPP $CPPFLAGS'
21216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21219
21220
21221 fi
21222
21223   fi
21224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21225 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21226
21227     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21228       for ac_func in _finite
21229 do :
21230   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21231 if test "x$ac_cv_func__finite" = x""yes; then :
21232   cat >>confdefs.h <<_ACEOF
21233 #define HAVE__FINITE 1
21234 _ACEOF
21235
21236 fi
21237 done
21238
21239     fi
21240   fi
21241
21242
21243
21244
21245
21246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21247 $as_echo_n "checking for sincos declaration... " >&6; }
21248   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21249     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21250   $as_echo_n "(cached) " >&6
21251 else
21252
21253
21254       ac_ext=cpp
21255 ac_cpp='$CXXCPP $CPPFLAGS'
21256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21259
21260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21261 /* end confdefs.h.  */
21262 #include <math.h>
21263 int
21264 main ()
21265 {
21266  sincos(0, 0, 0);
21267   ;
21268   return 0;
21269 }
21270 _ACEOF
21271 if ac_fn_cxx_try_compile "$LINENO"; then :
21272   glibcxx_cv_func_sincos_use=yes
21273 else
21274   glibcxx_cv_func_sincos_use=no
21275 fi
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277       ac_ext=c
21278 ac_cpp='$CPP $CPPFLAGS'
21279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21282
21283
21284 fi
21285
21286   fi
21287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21288 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21289
21290   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21291     for ac_func in sincos
21292 do :
21293   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21294 if test "x$ac_cv_func_sincos" = x""yes; then :
21295   cat >>confdefs.h <<_ACEOF
21296 #define HAVE_SINCOS 1
21297 _ACEOF
21298
21299 fi
21300 done
21301
21302   else
21303
21304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21305 $as_echo_n "checking for _sincos declaration... " >&6; }
21306   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21307     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21308   $as_echo_n "(cached) " >&6
21309 else
21310
21311
21312       ac_ext=cpp
21313 ac_cpp='$CXXCPP $CPPFLAGS'
21314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21317
21318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h.  */
21320 #include <math.h>
21321 int
21322 main ()
21323 {
21324  _sincos(0, 0, 0);
21325   ;
21326   return 0;
21327 }
21328 _ACEOF
21329 if ac_fn_cxx_try_compile "$LINENO"; then :
21330   glibcxx_cv_func__sincos_use=yes
21331 else
21332   glibcxx_cv_func__sincos_use=no
21333 fi
21334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21335       ac_ext=c
21336 ac_cpp='$CPP $CPPFLAGS'
21337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21340
21341
21342 fi
21343
21344   fi
21345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21346 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21347
21348     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21349       for ac_func in _sincos
21350 do :
21351   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21352 if test "x$ac_cv_func__sincos" = x""yes; then :
21353   cat >>confdefs.h <<_ACEOF
21354 #define HAVE__SINCOS 1
21355 _ACEOF
21356
21357 fi
21358 done
21359
21360     fi
21361   fi
21362
21363
21364
21365
21366
21367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21368 $as_echo_n "checking for fpclass declaration... " >&6; }
21369   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21370     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21371   $as_echo_n "(cached) " >&6
21372 else
21373
21374
21375       ac_ext=cpp
21376 ac_cpp='$CXXCPP $CPPFLAGS'
21377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21380
21381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21382 /* end confdefs.h.  */
21383 #include <math.h>
21384                       #ifdef HAVE_IEEEFP_H
21385                       #include <ieeefp.h>
21386                       #endif
21387
21388 int
21389 main ()
21390 {
21391  fpclass(0);
21392   ;
21393   return 0;
21394 }
21395 _ACEOF
21396 if ac_fn_cxx_try_compile "$LINENO"; then :
21397   glibcxx_cv_func_fpclass_use=yes
21398 else
21399   glibcxx_cv_func_fpclass_use=no
21400 fi
21401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21402       ac_ext=c
21403 ac_cpp='$CPP $CPPFLAGS'
21404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21407
21408
21409 fi
21410
21411   fi
21412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21413 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21414
21415   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21416     for ac_func in fpclass
21417 do :
21418   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21419 if test "x$ac_cv_func_fpclass" = x""yes; then :
21420   cat >>confdefs.h <<_ACEOF
21421 #define HAVE_FPCLASS 1
21422 _ACEOF
21423
21424 fi
21425 done
21426
21427   else
21428
21429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21430 $as_echo_n "checking for _fpclass declaration... " >&6; }
21431   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21432     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21433   $as_echo_n "(cached) " >&6
21434 else
21435
21436
21437       ac_ext=cpp
21438 ac_cpp='$CXXCPP $CPPFLAGS'
21439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21442
21443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21444 /* end confdefs.h.  */
21445 #include <math.h>
21446                       #ifdef HAVE_IEEEFP_H
21447                       #include <ieeefp.h>
21448                       #endif
21449
21450 int
21451 main ()
21452 {
21453  _fpclass(0);
21454   ;
21455   return 0;
21456 }
21457 _ACEOF
21458 if ac_fn_cxx_try_compile "$LINENO"; then :
21459   glibcxx_cv_func__fpclass_use=yes
21460 else
21461   glibcxx_cv_func__fpclass_use=no
21462 fi
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21464       ac_ext=c
21465 ac_cpp='$CPP $CPPFLAGS'
21466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21469
21470
21471 fi
21472
21473   fi
21474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21475 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21476
21477     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21478       for ac_func in _fpclass
21479 do :
21480   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21481 if test "x$ac_cv_func__fpclass" = x""yes; then :
21482   cat >>confdefs.h <<_ACEOF
21483 #define HAVE__FPCLASS 1
21484 _ACEOF
21485
21486 fi
21487 done
21488
21489     fi
21490   fi
21491
21492
21493
21494
21495
21496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21497 $as_echo_n "checking for qfpclass declaration... " >&6; }
21498   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21499     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21500   $as_echo_n "(cached) " >&6
21501 else
21502
21503
21504       ac_ext=cpp
21505 ac_cpp='$CXXCPP $CPPFLAGS'
21506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21509
21510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21511 /* end confdefs.h.  */
21512 #include <math.h>
21513                       #ifdef HAVE_IEEEFP_H
21514                       #include <ieeefp.h>
21515                       #endif
21516
21517 int
21518 main ()
21519 {
21520  qfpclass(0);
21521   ;
21522   return 0;
21523 }
21524 _ACEOF
21525 if ac_fn_cxx_try_compile "$LINENO"; then :
21526   glibcxx_cv_func_qfpclass_use=yes
21527 else
21528   glibcxx_cv_func_qfpclass_use=no
21529 fi
21530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21531       ac_ext=c
21532 ac_cpp='$CPP $CPPFLAGS'
21533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21536
21537
21538 fi
21539
21540   fi
21541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21542 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21543
21544   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21545     for ac_func in qfpclass
21546 do :
21547   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21548 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21549   cat >>confdefs.h <<_ACEOF
21550 #define HAVE_QFPCLASS 1
21551 _ACEOF
21552
21553 fi
21554 done
21555
21556   else
21557
21558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21559 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21560   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21561     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21562   $as_echo_n "(cached) " >&6
21563 else
21564
21565
21566       ac_ext=cpp
21567 ac_cpp='$CXXCPP $CPPFLAGS'
21568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21571
21572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21573 /* end confdefs.h.  */
21574 #include <math.h>
21575                       #ifdef HAVE_IEEEFP_H
21576                       #include <ieeefp.h>
21577                       #endif
21578
21579 int
21580 main ()
21581 {
21582  _qfpclass(0);
21583   ;
21584   return 0;
21585 }
21586 _ACEOF
21587 if ac_fn_cxx_try_compile "$LINENO"; then :
21588   glibcxx_cv_func__qfpclass_use=yes
21589 else
21590   glibcxx_cv_func__qfpclass_use=no
21591 fi
21592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21593       ac_ext=c
21594 ac_cpp='$CPP $CPPFLAGS'
21595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21598
21599
21600 fi
21601
21602   fi
21603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21604 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21605
21606     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21607       for ac_func in _qfpclass
21608 do :
21609   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21610 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21611   cat >>confdefs.h <<_ACEOF
21612 #define HAVE__QFPCLASS 1
21613 _ACEOF
21614
21615 fi
21616 done
21617
21618     fi
21619   fi
21620
21621
21622
21623
21624
21625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21626 $as_echo_n "checking for hypot declaration... " >&6; }
21627   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21628     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21629   $as_echo_n "(cached) " >&6
21630 else
21631
21632
21633       ac_ext=cpp
21634 ac_cpp='$CXXCPP $CPPFLAGS'
21635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21638
21639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21640 /* end confdefs.h.  */
21641 #include <math.h>
21642 int
21643 main ()
21644 {
21645  hypot(0, 0);
21646   ;
21647   return 0;
21648 }
21649 _ACEOF
21650 if ac_fn_cxx_try_compile "$LINENO"; then :
21651   glibcxx_cv_func_hypot_use=yes
21652 else
21653   glibcxx_cv_func_hypot_use=no
21654 fi
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656       ac_ext=c
21657 ac_cpp='$CPP $CPPFLAGS'
21658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21661
21662
21663 fi
21664
21665   fi
21666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21667 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21668
21669   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21670     for ac_func in hypot
21671 do :
21672   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21673 if test "x$ac_cv_func_hypot" = x""yes; then :
21674   cat >>confdefs.h <<_ACEOF
21675 #define HAVE_HYPOT 1
21676 _ACEOF
21677
21678 fi
21679 done
21680
21681   else
21682
21683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21684 $as_echo_n "checking for _hypot declaration... " >&6; }
21685   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21686     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21687   $as_echo_n "(cached) " >&6
21688 else
21689
21690
21691       ac_ext=cpp
21692 ac_cpp='$CXXCPP $CPPFLAGS'
21693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21696
21697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21698 /* end confdefs.h.  */
21699 #include <math.h>
21700 int
21701 main ()
21702 {
21703  _hypot(0, 0);
21704   ;
21705   return 0;
21706 }
21707 _ACEOF
21708 if ac_fn_cxx_try_compile "$LINENO"; then :
21709   glibcxx_cv_func__hypot_use=yes
21710 else
21711   glibcxx_cv_func__hypot_use=no
21712 fi
21713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21714       ac_ext=c
21715 ac_cpp='$CPP $CPPFLAGS'
21716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21719
21720
21721 fi
21722
21723   fi
21724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21725 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21726
21727     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21728       for ac_func in _hypot
21729 do :
21730   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21731 if test "x$ac_cv_func__hypot" = x""yes; then :
21732   cat >>confdefs.h <<_ACEOF
21733 #define HAVE__HYPOT 1
21734 _ACEOF
21735
21736 fi
21737 done
21738
21739     fi
21740   fi
21741
21742
21743
21744
21745
21746     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21747 $as_echo_n "checking for float trig functions... " >&6; }
21748   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21749   $as_echo_n "(cached) " >&6
21750 else
21751
21752
21753     ac_ext=cpp
21754 ac_cpp='$CXXCPP $CPPFLAGS'
21755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21758
21759     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h.  */
21761 #include <math.h>
21762 int
21763 main ()
21764 {
21765 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21766   ;
21767   return 0;
21768 }
21769 _ACEOF
21770 if ac_fn_cxx_try_compile "$LINENO"; then :
21771   glibcxx_cv_func_float_trig_use=yes
21772 else
21773   glibcxx_cv_func_float_trig_use=no
21774 fi
21775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21776     ac_ext=c
21777 ac_cpp='$CPP $CPPFLAGS'
21778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21781
21782 fi
21783
21784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21785 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21786   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21787     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21788 do :
21789   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21790 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21791 eval as_val=\$$as_ac_var
21792    if test "x$as_val" = x""yes; then :
21793   cat >>confdefs.h <<_ACEOF
21794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21795 _ACEOF
21796
21797 fi
21798 done
21799
21800   else
21801     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21802 $as_echo_n "checking for _float trig functions... " >&6; }
21803     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21804   $as_echo_n "(cached) " >&6
21805 else
21806
21807
21808       ac_ext=cpp
21809 ac_cpp='$CXXCPP $CPPFLAGS'
21810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21813
21814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21815 /* end confdefs.h.  */
21816 #include <math.h>
21817 int
21818 main ()
21819 {
21820 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21821   ;
21822   return 0;
21823 }
21824 _ACEOF
21825 if ac_fn_cxx_try_compile "$LINENO"; then :
21826   glibcxx_cv_func__float_trig_use=yes
21827 else
21828   glibcxx_cv_func__float_trig_use=no
21829 fi
21830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21831       ac_ext=c
21832 ac_cpp='$CPP $CPPFLAGS'
21833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21836
21837 fi
21838
21839     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21840 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21841     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21842       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21843 do :
21844   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21845 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21846 eval as_val=\$$as_ac_var
21847    if test "x$as_val" = x""yes; then :
21848   cat >>confdefs.h <<_ACEOF
21849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21850 _ACEOF
21851
21852 fi
21853 done
21854
21855     fi
21856   fi
21857
21858
21859
21860
21861
21862     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21863 $as_echo_n "checking for float round functions... " >&6; }
21864   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21865   $as_echo_n "(cached) " >&6
21866 else
21867
21868
21869     ac_ext=cpp
21870 ac_cpp='$CXXCPP $CPPFLAGS'
21871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21874
21875     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h.  */
21877 #include <math.h>
21878 int
21879 main ()
21880 {
21881 ceilf (0); floorf (0);
21882   ;
21883   return 0;
21884 }
21885 _ACEOF
21886 if ac_fn_cxx_try_compile "$LINENO"; then :
21887   glibcxx_cv_func_float_round_use=yes
21888 else
21889   glibcxx_cv_func_float_round_use=no
21890 fi
21891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21892     ac_ext=c
21893 ac_cpp='$CPP $CPPFLAGS'
21894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21897
21898 fi
21899
21900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21901 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21902   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21903     for ac_func in ceilf floorf
21904 do :
21905   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21906 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21907 eval as_val=\$$as_ac_var
21908    if test "x$as_val" = x""yes; then :
21909   cat >>confdefs.h <<_ACEOF
21910 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21911 _ACEOF
21912
21913 fi
21914 done
21915
21916   else
21917     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21918 $as_echo_n "checking for _float round functions... " >&6; }
21919     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21920   $as_echo_n "(cached) " >&6
21921 else
21922
21923
21924       ac_ext=cpp
21925 ac_cpp='$CXXCPP $CPPFLAGS'
21926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21929
21930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h.  */
21932 #include <math.h>
21933 int
21934 main ()
21935 {
21936 _ceilf (0); _floorf (0);
21937   ;
21938   return 0;
21939 }
21940 _ACEOF
21941 if ac_fn_cxx_try_compile "$LINENO"; then :
21942   glibcxx_cv_func__float_round_use=yes
21943 else
21944   glibcxx_cv_func__float_round_use=no
21945 fi
21946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21947       ac_ext=c
21948 ac_cpp='$CPP $CPPFLAGS'
21949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21952
21953 fi
21954
21955     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21956 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21957     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21958       for ac_func in _ceilf _floorf
21959 do :
21960   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21961 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21962 eval as_val=\$$as_ac_var
21963    if test "x$as_val" = x""yes; then :
21964   cat >>confdefs.h <<_ACEOF
21965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21966 _ACEOF
21967
21968 fi
21969 done
21970
21971     fi
21972   fi
21973
21974
21975
21976
21977
21978
21979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21980 $as_echo_n "checking for expf declaration... " >&6; }
21981   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21982     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21983   $as_echo_n "(cached) " >&6
21984 else
21985
21986
21987       ac_ext=cpp
21988 ac_cpp='$CXXCPP $CPPFLAGS'
21989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21992
21993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21994 /* end confdefs.h.  */
21995 #include <math.h>
21996                       #ifdef HAVE_IEEEFP_H
21997                       #include <ieeefp.h>
21998                       #endif
21999
22000 int
22001 main ()
22002 {
22003  expf(0);
22004   ;
22005   return 0;
22006 }
22007 _ACEOF
22008 if ac_fn_cxx_try_compile "$LINENO"; then :
22009   glibcxx_cv_func_expf_use=yes
22010 else
22011   glibcxx_cv_func_expf_use=no
22012 fi
22013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22014       ac_ext=c
22015 ac_cpp='$CPP $CPPFLAGS'
22016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22019
22020
22021 fi
22022
22023   fi
22024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22025 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22026
22027   if test x$glibcxx_cv_func_expf_use = x"yes"; then
22028     for ac_func in expf
22029 do :
22030   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22031 if test "x$ac_cv_func_expf" = x""yes; then :
22032   cat >>confdefs.h <<_ACEOF
22033 #define HAVE_EXPF 1
22034 _ACEOF
22035
22036 fi
22037 done
22038
22039   else
22040
22041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22042 $as_echo_n "checking for _expf declaration... " >&6; }
22043   if test x${glibcxx_cv_func__expf_use+set} != xset; then
22044     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22045   $as_echo_n "(cached) " >&6
22046 else
22047
22048
22049       ac_ext=cpp
22050 ac_cpp='$CXXCPP $CPPFLAGS'
22051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22054
22055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22056 /* end confdefs.h.  */
22057 #include <math.h>
22058                       #ifdef HAVE_IEEEFP_H
22059                       #include <ieeefp.h>
22060                       #endif
22061
22062 int
22063 main ()
22064 {
22065  _expf(0);
22066   ;
22067   return 0;
22068 }
22069 _ACEOF
22070 if ac_fn_cxx_try_compile "$LINENO"; then :
22071   glibcxx_cv_func__expf_use=yes
22072 else
22073   glibcxx_cv_func__expf_use=no
22074 fi
22075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22076       ac_ext=c
22077 ac_cpp='$CPP $CPPFLAGS'
22078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22081
22082
22083 fi
22084
22085   fi
22086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22087 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22088
22089     if test x$glibcxx_cv_func__expf_use = x"yes"; then
22090       for ac_func in _expf
22091 do :
22092   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22093 if test "x$ac_cv_func__expf" = x""yes; then :
22094   cat >>confdefs.h <<_ACEOF
22095 #define HAVE__EXPF 1
22096 _ACEOF
22097
22098 fi
22099 done
22100
22101     fi
22102   fi
22103
22104
22105
22106
22107
22108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22109 $as_echo_n "checking for isnanf declaration... " >&6; }
22110   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22111     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22112   $as_echo_n "(cached) " >&6
22113 else
22114
22115
22116       ac_ext=cpp
22117 ac_cpp='$CXXCPP $CPPFLAGS'
22118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22121
22122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22123 /* end confdefs.h.  */
22124 #include <math.h>
22125                       #ifdef HAVE_IEEEFP_H
22126                       #include <ieeefp.h>
22127                       #endif
22128
22129 int
22130 main ()
22131 {
22132  isnanf(0);
22133   ;
22134   return 0;
22135 }
22136 _ACEOF
22137 if ac_fn_cxx_try_compile "$LINENO"; then :
22138   glibcxx_cv_func_isnanf_use=yes
22139 else
22140   glibcxx_cv_func_isnanf_use=no
22141 fi
22142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22143       ac_ext=c
22144 ac_cpp='$CPP $CPPFLAGS'
22145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22148
22149
22150 fi
22151
22152   fi
22153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22154 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22155
22156   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22157     for ac_func in isnanf
22158 do :
22159   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22160 if test "x$ac_cv_func_isnanf" = x""yes; then :
22161   cat >>confdefs.h <<_ACEOF
22162 #define HAVE_ISNANF 1
22163 _ACEOF
22164
22165 fi
22166 done
22167
22168   else
22169
22170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22171 $as_echo_n "checking for _isnanf declaration... " >&6; }
22172   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22173     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22174   $as_echo_n "(cached) " >&6
22175 else
22176
22177
22178       ac_ext=cpp
22179 ac_cpp='$CXXCPP $CPPFLAGS'
22180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22183
22184       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22185 /* end confdefs.h.  */
22186 #include <math.h>
22187                       #ifdef HAVE_IEEEFP_H
22188                       #include <ieeefp.h>
22189                       #endif
22190
22191 int
22192 main ()
22193 {
22194  _isnanf(0);
22195   ;
22196   return 0;
22197 }
22198 _ACEOF
22199 if ac_fn_cxx_try_compile "$LINENO"; then :
22200   glibcxx_cv_func__isnanf_use=yes
22201 else
22202   glibcxx_cv_func__isnanf_use=no
22203 fi
22204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22205       ac_ext=c
22206 ac_cpp='$CPP $CPPFLAGS'
22207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22210
22211
22212 fi
22213
22214   fi
22215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22216 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22217
22218     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22219       for ac_func in _isnanf
22220 do :
22221   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22222 if test "x$ac_cv_func__isnanf" = x""yes; then :
22223   cat >>confdefs.h <<_ACEOF
22224 #define HAVE__ISNANF 1
22225 _ACEOF
22226
22227 fi
22228 done
22229
22230     fi
22231   fi
22232
22233
22234
22235
22236
22237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22238 $as_echo_n "checking for isinff declaration... " >&6; }
22239   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22240     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22241   $as_echo_n "(cached) " >&6
22242 else
22243
22244
22245       ac_ext=cpp
22246 ac_cpp='$CXXCPP $CPPFLAGS'
22247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22250
22251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22252 /* end confdefs.h.  */
22253 #include <math.h>
22254                       #ifdef HAVE_IEEEFP_H
22255                       #include <ieeefp.h>
22256                       #endif
22257
22258 int
22259 main ()
22260 {
22261  isinff(0);
22262   ;
22263   return 0;
22264 }
22265 _ACEOF
22266 if ac_fn_cxx_try_compile "$LINENO"; then :
22267   glibcxx_cv_func_isinff_use=yes
22268 else
22269   glibcxx_cv_func_isinff_use=no
22270 fi
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272       ac_ext=c
22273 ac_cpp='$CPP $CPPFLAGS'
22274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22277
22278
22279 fi
22280
22281   fi
22282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22283 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22284
22285   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22286     for ac_func in isinff
22287 do :
22288   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22289 if test "x$ac_cv_func_isinff" = x""yes; then :
22290   cat >>confdefs.h <<_ACEOF
22291 #define HAVE_ISINFF 1
22292 _ACEOF
22293
22294 fi
22295 done
22296
22297   else
22298
22299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22300 $as_echo_n "checking for _isinff declaration... " >&6; }
22301   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22302     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22303   $as_echo_n "(cached) " >&6
22304 else
22305
22306
22307       ac_ext=cpp
22308 ac_cpp='$CXXCPP $CPPFLAGS'
22309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22312
22313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22314 /* end confdefs.h.  */
22315 #include <math.h>
22316                       #ifdef HAVE_IEEEFP_H
22317                       #include <ieeefp.h>
22318                       #endif
22319
22320 int
22321 main ()
22322 {
22323  _isinff(0);
22324   ;
22325   return 0;
22326 }
22327 _ACEOF
22328 if ac_fn_cxx_try_compile "$LINENO"; then :
22329   glibcxx_cv_func__isinff_use=yes
22330 else
22331   glibcxx_cv_func__isinff_use=no
22332 fi
22333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22334       ac_ext=c
22335 ac_cpp='$CPP $CPPFLAGS'
22336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22339
22340
22341 fi
22342
22343   fi
22344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22345 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22346
22347     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22348       for ac_func in _isinff
22349 do :
22350   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22351 if test "x$ac_cv_func__isinff" = x""yes; then :
22352   cat >>confdefs.h <<_ACEOF
22353 #define HAVE__ISINFF 1
22354 _ACEOF
22355
22356 fi
22357 done
22358
22359     fi
22360   fi
22361
22362
22363
22364
22365
22366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22367 $as_echo_n "checking for atan2f declaration... " >&6; }
22368   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22369     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22370   $as_echo_n "(cached) " >&6
22371 else
22372
22373
22374       ac_ext=cpp
22375 ac_cpp='$CXXCPP $CPPFLAGS'
22376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22379
22380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22381 /* end confdefs.h.  */
22382 #include <math.h>
22383 int
22384 main ()
22385 {
22386  atan2f(0, 0);
22387   ;
22388   return 0;
22389 }
22390 _ACEOF
22391 if ac_fn_cxx_try_compile "$LINENO"; then :
22392   glibcxx_cv_func_atan2f_use=yes
22393 else
22394   glibcxx_cv_func_atan2f_use=no
22395 fi
22396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22397       ac_ext=c
22398 ac_cpp='$CPP $CPPFLAGS'
22399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22402
22403
22404 fi
22405
22406   fi
22407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22408 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22409
22410   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22411     for ac_func in atan2f
22412 do :
22413   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22414 if test "x$ac_cv_func_atan2f" = x""yes; then :
22415   cat >>confdefs.h <<_ACEOF
22416 #define HAVE_ATAN2F 1
22417 _ACEOF
22418
22419 fi
22420 done
22421
22422   else
22423
22424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22425 $as_echo_n "checking for _atan2f declaration... " >&6; }
22426   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22427     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22428   $as_echo_n "(cached) " >&6
22429 else
22430
22431
22432       ac_ext=cpp
22433 ac_cpp='$CXXCPP $CPPFLAGS'
22434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22437
22438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22439 /* end confdefs.h.  */
22440 #include <math.h>
22441 int
22442 main ()
22443 {
22444  _atan2f(0, 0);
22445   ;
22446   return 0;
22447 }
22448 _ACEOF
22449 if ac_fn_cxx_try_compile "$LINENO"; then :
22450   glibcxx_cv_func__atan2f_use=yes
22451 else
22452   glibcxx_cv_func__atan2f_use=no
22453 fi
22454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22455       ac_ext=c
22456 ac_cpp='$CPP $CPPFLAGS'
22457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22460
22461
22462 fi
22463
22464   fi
22465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22466 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22467
22468     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22469       for ac_func in _atan2f
22470 do :
22471   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22472 if test "x$ac_cv_func__atan2f" = x""yes; then :
22473   cat >>confdefs.h <<_ACEOF
22474 #define HAVE__ATAN2F 1
22475 _ACEOF
22476
22477 fi
22478 done
22479
22480     fi
22481   fi
22482
22483
22484
22485
22486
22487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22488 $as_echo_n "checking for fabsf declaration... " >&6; }
22489   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22490     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22491   $as_echo_n "(cached) " >&6
22492 else
22493
22494
22495       ac_ext=cpp
22496 ac_cpp='$CXXCPP $CPPFLAGS'
22497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22500
22501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22502 /* end confdefs.h.  */
22503 #include <math.h>
22504                       #ifdef HAVE_IEEEFP_H
22505                       #include <ieeefp.h>
22506                       #endif
22507
22508 int
22509 main ()
22510 {
22511  fabsf(0);
22512   ;
22513   return 0;
22514 }
22515 _ACEOF
22516 if ac_fn_cxx_try_compile "$LINENO"; then :
22517   glibcxx_cv_func_fabsf_use=yes
22518 else
22519   glibcxx_cv_func_fabsf_use=no
22520 fi
22521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522       ac_ext=c
22523 ac_cpp='$CPP $CPPFLAGS'
22524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22527
22528
22529 fi
22530
22531   fi
22532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22533 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22534
22535   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22536     for ac_func in fabsf
22537 do :
22538   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22539 if test "x$ac_cv_func_fabsf" = x""yes; then :
22540   cat >>confdefs.h <<_ACEOF
22541 #define HAVE_FABSF 1
22542 _ACEOF
22543
22544 fi
22545 done
22546
22547   else
22548
22549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22550 $as_echo_n "checking for _fabsf declaration... " >&6; }
22551   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22552     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22553   $as_echo_n "(cached) " >&6
22554 else
22555
22556
22557       ac_ext=cpp
22558 ac_cpp='$CXXCPP $CPPFLAGS'
22559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22562
22563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22564 /* end confdefs.h.  */
22565 #include <math.h>
22566                       #ifdef HAVE_IEEEFP_H
22567                       #include <ieeefp.h>
22568                       #endif
22569
22570 int
22571 main ()
22572 {
22573  _fabsf(0);
22574   ;
22575   return 0;
22576 }
22577 _ACEOF
22578 if ac_fn_cxx_try_compile "$LINENO"; then :
22579   glibcxx_cv_func__fabsf_use=yes
22580 else
22581   glibcxx_cv_func__fabsf_use=no
22582 fi
22583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22584       ac_ext=c
22585 ac_cpp='$CPP $CPPFLAGS'
22586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22589
22590
22591 fi
22592
22593   fi
22594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22595 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22596
22597     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22598       for ac_func in _fabsf
22599 do :
22600   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22601 if test "x$ac_cv_func__fabsf" = x""yes; then :
22602   cat >>confdefs.h <<_ACEOF
22603 #define HAVE__FABSF 1
22604 _ACEOF
22605
22606 fi
22607 done
22608
22609     fi
22610   fi
22611
22612
22613
22614
22615
22616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22617 $as_echo_n "checking for fmodf declaration... " >&6; }
22618   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22619     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22620   $as_echo_n "(cached) " >&6
22621 else
22622
22623
22624       ac_ext=cpp
22625 ac_cpp='$CXXCPP $CPPFLAGS'
22626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22629
22630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22631 /* end confdefs.h.  */
22632 #include <math.h>
22633 int
22634 main ()
22635 {
22636  fmodf(0, 0);
22637   ;
22638   return 0;
22639 }
22640 _ACEOF
22641 if ac_fn_cxx_try_compile "$LINENO"; then :
22642   glibcxx_cv_func_fmodf_use=yes
22643 else
22644   glibcxx_cv_func_fmodf_use=no
22645 fi
22646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22647       ac_ext=c
22648 ac_cpp='$CPP $CPPFLAGS'
22649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22652
22653
22654 fi
22655
22656   fi
22657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22658 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22659
22660   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22661     for ac_func in fmodf
22662 do :
22663   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22664 if test "x$ac_cv_func_fmodf" = x""yes; then :
22665   cat >>confdefs.h <<_ACEOF
22666 #define HAVE_FMODF 1
22667 _ACEOF
22668
22669 fi
22670 done
22671
22672   else
22673
22674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22675 $as_echo_n "checking for _fmodf declaration... " >&6; }
22676   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22677     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22678   $as_echo_n "(cached) " >&6
22679 else
22680
22681
22682       ac_ext=cpp
22683 ac_cpp='$CXXCPP $CPPFLAGS'
22684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22687
22688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22689 /* end confdefs.h.  */
22690 #include <math.h>
22691 int
22692 main ()
22693 {
22694  _fmodf(0, 0);
22695   ;
22696   return 0;
22697 }
22698 _ACEOF
22699 if ac_fn_cxx_try_compile "$LINENO"; then :
22700   glibcxx_cv_func__fmodf_use=yes
22701 else
22702   glibcxx_cv_func__fmodf_use=no
22703 fi
22704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22705       ac_ext=c
22706 ac_cpp='$CPP $CPPFLAGS'
22707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22710
22711
22712 fi
22713
22714   fi
22715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22716 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22717
22718     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22719       for ac_func in _fmodf
22720 do :
22721   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22722 if test "x$ac_cv_func__fmodf" = x""yes; then :
22723   cat >>confdefs.h <<_ACEOF
22724 #define HAVE__FMODF 1
22725 _ACEOF
22726
22727 fi
22728 done
22729
22730     fi
22731   fi
22732
22733
22734
22735
22736
22737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22738 $as_echo_n "checking for frexpf declaration... " >&6; }
22739   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22740     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22741   $as_echo_n "(cached) " >&6
22742 else
22743
22744
22745       ac_ext=cpp
22746 ac_cpp='$CXXCPP $CPPFLAGS'
22747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22750
22751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22752 /* end confdefs.h.  */
22753 #include <math.h>
22754 int
22755 main ()
22756 {
22757  frexpf(0, 0);
22758   ;
22759   return 0;
22760 }
22761 _ACEOF
22762 if ac_fn_cxx_try_compile "$LINENO"; then :
22763   glibcxx_cv_func_frexpf_use=yes
22764 else
22765   glibcxx_cv_func_frexpf_use=no
22766 fi
22767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22768       ac_ext=c
22769 ac_cpp='$CPP $CPPFLAGS'
22770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22773
22774
22775 fi
22776
22777   fi
22778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22779 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22780
22781   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22782     for ac_func in frexpf
22783 do :
22784   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22785 if test "x$ac_cv_func_frexpf" = x""yes; then :
22786   cat >>confdefs.h <<_ACEOF
22787 #define HAVE_FREXPF 1
22788 _ACEOF
22789
22790 fi
22791 done
22792
22793   else
22794
22795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22796 $as_echo_n "checking for _frexpf declaration... " >&6; }
22797   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22798     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22799   $as_echo_n "(cached) " >&6
22800 else
22801
22802
22803       ac_ext=cpp
22804 ac_cpp='$CXXCPP $CPPFLAGS'
22805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22808
22809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22810 /* end confdefs.h.  */
22811 #include <math.h>
22812 int
22813 main ()
22814 {
22815  _frexpf(0, 0);
22816   ;
22817   return 0;
22818 }
22819 _ACEOF
22820 if ac_fn_cxx_try_compile "$LINENO"; then :
22821   glibcxx_cv_func__frexpf_use=yes
22822 else
22823   glibcxx_cv_func__frexpf_use=no
22824 fi
22825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826       ac_ext=c
22827 ac_cpp='$CPP $CPPFLAGS'
22828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22831
22832
22833 fi
22834
22835   fi
22836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22837 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22838
22839     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22840       for ac_func in _frexpf
22841 do :
22842   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22843 if test "x$ac_cv_func__frexpf" = x""yes; then :
22844   cat >>confdefs.h <<_ACEOF
22845 #define HAVE__FREXPF 1
22846 _ACEOF
22847
22848 fi
22849 done
22850
22851     fi
22852   fi
22853
22854
22855
22856
22857
22858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22859 $as_echo_n "checking for hypotf declaration... " >&6; }
22860   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22861     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22862   $as_echo_n "(cached) " >&6
22863 else
22864
22865
22866       ac_ext=cpp
22867 ac_cpp='$CXXCPP $CPPFLAGS'
22868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22871
22872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22873 /* end confdefs.h.  */
22874 #include <math.h>
22875 int
22876 main ()
22877 {
22878  hypotf(0, 0);
22879   ;
22880   return 0;
22881 }
22882 _ACEOF
22883 if ac_fn_cxx_try_compile "$LINENO"; then :
22884   glibcxx_cv_func_hypotf_use=yes
22885 else
22886   glibcxx_cv_func_hypotf_use=no
22887 fi
22888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22889       ac_ext=c
22890 ac_cpp='$CPP $CPPFLAGS'
22891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22894
22895
22896 fi
22897
22898   fi
22899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22900 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22901
22902   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22903     for ac_func in hypotf
22904 do :
22905   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22906 if test "x$ac_cv_func_hypotf" = x""yes; then :
22907   cat >>confdefs.h <<_ACEOF
22908 #define HAVE_HYPOTF 1
22909 _ACEOF
22910
22911 fi
22912 done
22913
22914   else
22915
22916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22917 $as_echo_n "checking for _hypotf declaration... " >&6; }
22918   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22919     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22920   $as_echo_n "(cached) " >&6
22921 else
22922
22923
22924       ac_ext=cpp
22925 ac_cpp='$CXXCPP $CPPFLAGS'
22926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22929
22930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22931 /* end confdefs.h.  */
22932 #include <math.h>
22933 int
22934 main ()
22935 {
22936  _hypotf(0, 0);
22937   ;
22938   return 0;
22939 }
22940 _ACEOF
22941 if ac_fn_cxx_try_compile "$LINENO"; then :
22942   glibcxx_cv_func__hypotf_use=yes
22943 else
22944   glibcxx_cv_func__hypotf_use=no
22945 fi
22946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22947       ac_ext=c
22948 ac_cpp='$CPP $CPPFLAGS'
22949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22952
22953
22954 fi
22955
22956   fi
22957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22958 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22959
22960     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22961       for ac_func in _hypotf
22962 do :
22963   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22964 if test "x$ac_cv_func__hypotf" = x""yes; then :
22965   cat >>confdefs.h <<_ACEOF
22966 #define HAVE__HYPOTF 1
22967 _ACEOF
22968
22969 fi
22970 done
22971
22972     fi
22973   fi
22974
22975
22976
22977
22978
22979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22980 $as_echo_n "checking for ldexpf declaration... " >&6; }
22981   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22982     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22983   $as_echo_n "(cached) " >&6
22984 else
22985
22986
22987       ac_ext=cpp
22988 ac_cpp='$CXXCPP $CPPFLAGS'
22989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22992
22993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h.  */
22995 #include <math.h>
22996 int
22997 main ()
22998 {
22999  ldexpf(0, 0);
23000   ;
23001   return 0;
23002 }
23003 _ACEOF
23004 if ac_fn_cxx_try_compile "$LINENO"; then :
23005   glibcxx_cv_func_ldexpf_use=yes
23006 else
23007   glibcxx_cv_func_ldexpf_use=no
23008 fi
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23010       ac_ext=c
23011 ac_cpp='$CPP $CPPFLAGS'
23012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23015
23016
23017 fi
23018
23019   fi
23020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23021 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23022
23023   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23024     for ac_func in ldexpf
23025 do :
23026   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23027 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23028   cat >>confdefs.h <<_ACEOF
23029 #define HAVE_LDEXPF 1
23030 _ACEOF
23031
23032 fi
23033 done
23034
23035   else
23036
23037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23038 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23039   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23040     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23041   $as_echo_n "(cached) " >&6
23042 else
23043
23044
23045       ac_ext=cpp
23046 ac_cpp='$CXXCPP $CPPFLAGS'
23047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23050
23051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23052 /* end confdefs.h.  */
23053 #include <math.h>
23054 int
23055 main ()
23056 {
23057  _ldexpf(0, 0);
23058   ;
23059   return 0;
23060 }
23061 _ACEOF
23062 if ac_fn_cxx_try_compile "$LINENO"; then :
23063   glibcxx_cv_func__ldexpf_use=yes
23064 else
23065   glibcxx_cv_func__ldexpf_use=no
23066 fi
23067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23068       ac_ext=c
23069 ac_cpp='$CPP $CPPFLAGS'
23070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23073
23074
23075 fi
23076
23077   fi
23078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23079 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23080
23081     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23082       for ac_func in _ldexpf
23083 do :
23084   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23085 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23086   cat >>confdefs.h <<_ACEOF
23087 #define HAVE__LDEXPF 1
23088 _ACEOF
23089
23090 fi
23091 done
23092
23093     fi
23094   fi
23095
23096
23097
23098
23099
23100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23101 $as_echo_n "checking for logf declaration... " >&6; }
23102   if test x${glibcxx_cv_func_logf_use+set} != xset; then
23103     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23104   $as_echo_n "(cached) " >&6
23105 else
23106
23107
23108       ac_ext=cpp
23109 ac_cpp='$CXXCPP $CPPFLAGS'
23110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23113
23114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23115 /* end confdefs.h.  */
23116 #include <math.h>
23117                       #ifdef HAVE_IEEEFP_H
23118                       #include <ieeefp.h>
23119                       #endif
23120
23121 int
23122 main ()
23123 {
23124  logf(0);
23125   ;
23126   return 0;
23127 }
23128 _ACEOF
23129 if ac_fn_cxx_try_compile "$LINENO"; then :
23130   glibcxx_cv_func_logf_use=yes
23131 else
23132   glibcxx_cv_func_logf_use=no
23133 fi
23134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23135       ac_ext=c
23136 ac_cpp='$CPP $CPPFLAGS'
23137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23140
23141
23142 fi
23143
23144   fi
23145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23146 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23147
23148   if test x$glibcxx_cv_func_logf_use = x"yes"; then
23149     for ac_func in logf
23150 do :
23151   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23152 if test "x$ac_cv_func_logf" = x""yes; then :
23153   cat >>confdefs.h <<_ACEOF
23154 #define HAVE_LOGF 1
23155 _ACEOF
23156
23157 fi
23158 done
23159
23160   else
23161
23162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23163 $as_echo_n "checking for _logf declaration... " >&6; }
23164   if test x${glibcxx_cv_func__logf_use+set} != xset; then
23165     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23166   $as_echo_n "(cached) " >&6
23167 else
23168
23169
23170       ac_ext=cpp
23171 ac_cpp='$CXXCPP $CPPFLAGS'
23172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23175
23176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177 /* end confdefs.h.  */
23178 #include <math.h>
23179                       #ifdef HAVE_IEEEFP_H
23180                       #include <ieeefp.h>
23181                       #endif
23182
23183 int
23184 main ()
23185 {
23186  _logf(0);
23187   ;
23188   return 0;
23189 }
23190 _ACEOF
23191 if ac_fn_cxx_try_compile "$LINENO"; then :
23192   glibcxx_cv_func__logf_use=yes
23193 else
23194   glibcxx_cv_func__logf_use=no
23195 fi
23196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23197       ac_ext=c
23198 ac_cpp='$CPP $CPPFLAGS'
23199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23202
23203
23204 fi
23205
23206   fi
23207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23208 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23209
23210     if test x$glibcxx_cv_func__logf_use = x"yes"; then
23211       for ac_func in _logf
23212 do :
23213   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23214 if test "x$ac_cv_func__logf" = x""yes; then :
23215   cat >>confdefs.h <<_ACEOF
23216 #define HAVE__LOGF 1
23217 _ACEOF
23218
23219 fi
23220 done
23221
23222     fi
23223   fi
23224
23225
23226
23227
23228
23229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23230 $as_echo_n "checking for log10f declaration... " >&6; }
23231   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23232     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23233   $as_echo_n "(cached) " >&6
23234 else
23235
23236
23237       ac_ext=cpp
23238 ac_cpp='$CXXCPP $CPPFLAGS'
23239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23242
23243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23244 /* end confdefs.h.  */
23245 #include <math.h>
23246                       #ifdef HAVE_IEEEFP_H
23247                       #include <ieeefp.h>
23248                       #endif
23249
23250 int
23251 main ()
23252 {
23253  log10f(0);
23254   ;
23255   return 0;
23256 }
23257 _ACEOF
23258 if ac_fn_cxx_try_compile "$LINENO"; then :
23259   glibcxx_cv_func_log10f_use=yes
23260 else
23261   glibcxx_cv_func_log10f_use=no
23262 fi
23263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23264       ac_ext=c
23265 ac_cpp='$CPP $CPPFLAGS'
23266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23269
23270
23271 fi
23272
23273   fi
23274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23275 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23276
23277   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23278     for ac_func in log10f
23279 do :
23280   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23281 if test "x$ac_cv_func_log10f" = x""yes; then :
23282   cat >>confdefs.h <<_ACEOF
23283 #define HAVE_LOG10F 1
23284 _ACEOF
23285
23286 fi
23287 done
23288
23289   else
23290
23291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23292 $as_echo_n "checking for _log10f declaration... " >&6; }
23293   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23294     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23295   $as_echo_n "(cached) " >&6
23296 else
23297
23298
23299       ac_ext=cpp
23300 ac_cpp='$CXXCPP $CPPFLAGS'
23301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23304
23305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23306 /* end confdefs.h.  */
23307 #include <math.h>
23308                       #ifdef HAVE_IEEEFP_H
23309                       #include <ieeefp.h>
23310                       #endif
23311
23312 int
23313 main ()
23314 {
23315  _log10f(0);
23316   ;
23317   return 0;
23318 }
23319 _ACEOF
23320 if ac_fn_cxx_try_compile "$LINENO"; then :
23321   glibcxx_cv_func__log10f_use=yes
23322 else
23323   glibcxx_cv_func__log10f_use=no
23324 fi
23325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23326       ac_ext=c
23327 ac_cpp='$CPP $CPPFLAGS'
23328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23331
23332
23333 fi
23334
23335   fi
23336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23337 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23338
23339     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23340       for ac_func in _log10f
23341 do :
23342   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23343 if test "x$ac_cv_func__log10f" = x""yes; then :
23344   cat >>confdefs.h <<_ACEOF
23345 #define HAVE__LOG10F 1
23346 _ACEOF
23347
23348 fi
23349 done
23350
23351     fi
23352   fi
23353
23354
23355
23356
23357
23358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23359 $as_echo_n "checking for modff declaration... " >&6; }
23360   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23361     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23362   $as_echo_n "(cached) " >&6
23363 else
23364
23365
23366       ac_ext=cpp
23367 ac_cpp='$CXXCPP $CPPFLAGS'
23368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23371
23372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23373 /* end confdefs.h.  */
23374 #include <math.h>
23375 int
23376 main ()
23377 {
23378  modff(0, 0);
23379   ;
23380   return 0;
23381 }
23382 _ACEOF
23383 if ac_fn_cxx_try_compile "$LINENO"; then :
23384   glibcxx_cv_func_modff_use=yes
23385 else
23386   glibcxx_cv_func_modff_use=no
23387 fi
23388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23389       ac_ext=c
23390 ac_cpp='$CPP $CPPFLAGS'
23391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23394
23395
23396 fi
23397
23398   fi
23399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23400 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23401
23402   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23403     for ac_func in modff
23404 do :
23405   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23406 if test "x$ac_cv_func_modff" = x""yes; then :
23407   cat >>confdefs.h <<_ACEOF
23408 #define HAVE_MODFF 1
23409 _ACEOF
23410
23411 fi
23412 done
23413
23414   else
23415
23416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23417 $as_echo_n "checking for _modff declaration... " >&6; }
23418   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23419     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23420   $as_echo_n "(cached) " >&6
23421 else
23422
23423
23424       ac_ext=cpp
23425 ac_cpp='$CXXCPP $CPPFLAGS'
23426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23429
23430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23431 /* end confdefs.h.  */
23432 #include <math.h>
23433 int
23434 main ()
23435 {
23436  _modff(0, 0);
23437   ;
23438   return 0;
23439 }
23440 _ACEOF
23441 if ac_fn_cxx_try_compile "$LINENO"; then :
23442   glibcxx_cv_func__modff_use=yes
23443 else
23444   glibcxx_cv_func__modff_use=no
23445 fi
23446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23447       ac_ext=c
23448 ac_cpp='$CPP $CPPFLAGS'
23449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23452
23453
23454 fi
23455
23456   fi
23457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23458 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23459
23460     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23461       for ac_func in _modff
23462 do :
23463   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23464 if test "x$ac_cv_func__modff" = x""yes; then :
23465   cat >>confdefs.h <<_ACEOF
23466 #define HAVE__MODFF 1
23467 _ACEOF
23468
23469 fi
23470 done
23471
23472     fi
23473   fi
23474
23475
23476
23477
23478
23479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23480 $as_echo_n "checking for modf declaration... " >&6; }
23481   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23482     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23483   $as_echo_n "(cached) " >&6
23484 else
23485
23486
23487       ac_ext=cpp
23488 ac_cpp='$CXXCPP $CPPFLAGS'
23489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23492
23493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h.  */
23495 #include <math.h>
23496 int
23497 main ()
23498 {
23499  modf(0, 0);
23500   ;
23501   return 0;
23502 }
23503 _ACEOF
23504 if ac_fn_cxx_try_compile "$LINENO"; then :
23505   glibcxx_cv_func_modf_use=yes
23506 else
23507   glibcxx_cv_func_modf_use=no
23508 fi
23509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23510       ac_ext=c
23511 ac_cpp='$CPP $CPPFLAGS'
23512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23515
23516
23517 fi
23518
23519   fi
23520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23521 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23522
23523   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23524     for ac_func in modf
23525 do :
23526   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23527 if test "x$ac_cv_func_modf" = x""yes; then :
23528   cat >>confdefs.h <<_ACEOF
23529 #define HAVE_MODF 1
23530 _ACEOF
23531
23532 fi
23533 done
23534
23535   else
23536
23537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23538 $as_echo_n "checking for _modf declaration... " >&6; }
23539   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23540     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23541   $as_echo_n "(cached) " >&6
23542 else
23543
23544
23545       ac_ext=cpp
23546 ac_cpp='$CXXCPP $CPPFLAGS'
23547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23550
23551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23552 /* end confdefs.h.  */
23553 #include <math.h>
23554 int
23555 main ()
23556 {
23557  _modf(0, 0);
23558   ;
23559   return 0;
23560 }
23561 _ACEOF
23562 if ac_fn_cxx_try_compile "$LINENO"; then :
23563   glibcxx_cv_func__modf_use=yes
23564 else
23565   glibcxx_cv_func__modf_use=no
23566 fi
23567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23568       ac_ext=c
23569 ac_cpp='$CPP $CPPFLAGS'
23570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23573
23574
23575 fi
23576
23577   fi
23578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23579 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23580
23581     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23582       for ac_func in _modf
23583 do :
23584   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23585 if test "x$ac_cv_func__modf" = x""yes; then :
23586   cat >>confdefs.h <<_ACEOF
23587 #define HAVE__MODF 1
23588 _ACEOF
23589
23590 fi
23591 done
23592
23593     fi
23594   fi
23595
23596
23597
23598
23599
23600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23601 $as_echo_n "checking for powf declaration... " >&6; }
23602   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23603     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23604   $as_echo_n "(cached) " >&6
23605 else
23606
23607
23608       ac_ext=cpp
23609 ac_cpp='$CXXCPP $CPPFLAGS'
23610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23613
23614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23615 /* end confdefs.h.  */
23616 #include <math.h>
23617 int
23618 main ()
23619 {
23620  powf(0, 0);
23621   ;
23622   return 0;
23623 }
23624 _ACEOF
23625 if ac_fn_cxx_try_compile "$LINENO"; then :
23626   glibcxx_cv_func_powf_use=yes
23627 else
23628   glibcxx_cv_func_powf_use=no
23629 fi
23630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23631       ac_ext=c
23632 ac_cpp='$CPP $CPPFLAGS'
23633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23636
23637
23638 fi
23639
23640   fi
23641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23642 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23643
23644   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23645     for ac_func in powf
23646 do :
23647   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23648 if test "x$ac_cv_func_powf" = x""yes; then :
23649   cat >>confdefs.h <<_ACEOF
23650 #define HAVE_POWF 1
23651 _ACEOF
23652
23653 fi
23654 done
23655
23656   else
23657
23658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23659 $as_echo_n "checking for _powf declaration... " >&6; }
23660   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23661     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23662   $as_echo_n "(cached) " >&6
23663 else
23664
23665
23666       ac_ext=cpp
23667 ac_cpp='$CXXCPP $CPPFLAGS'
23668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23671
23672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23673 /* end confdefs.h.  */
23674 #include <math.h>
23675 int
23676 main ()
23677 {
23678  _powf(0, 0);
23679   ;
23680   return 0;
23681 }
23682 _ACEOF
23683 if ac_fn_cxx_try_compile "$LINENO"; then :
23684   glibcxx_cv_func__powf_use=yes
23685 else
23686   glibcxx_cv_func__powf_use=no
23687 fi
23688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23689       ac_ext=c
23690 ac_cpp='$CPP $CPPFLAGS'
23691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23694
23695
23696 fi
23697
23698   fi
23699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23700 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23701
23702     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23703       for ac_func in _powf
23704 do :
23705   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23706 if test "x$ac_cv_func__powf" = x""yes; then :
23707   cat >>confdefs.h <<_ACEOF
23708 #define HAVE__POWF 1
23709 _ACEOF
23710
23711 fi
23712 done
23713
23714     fi
23715   fi
23716
23717
23718
23719
23720
23721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23722 $as_echo_n "checking for sqrtf declaration... " >&6; }
23723   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23724     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23725   $as_echo_n "(cached) " >&6
23726 else
23727
23728
23729       ac_ext=cpp
23730 ac_cpp='$CXXCPP $CPPFLAGS'
23731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23734
23735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23736 /* end confdefs.h.  */
23737 #include <math.h>
23738                       #ifdef HAVE_IEEEFP_H
23739                       #include <ieeefp.h>
23740                       #endif
23741
23742 int
23743 main ()
23744 {
23745  sqrtf(0);
23746   ;
23747   return 0;
23748 }
23749 _ACEOF
23750 if ac_fn_cxx_try_compile "$LINENO"; then :
23751   glibcxx_cv_func_sqrtf_use=yes
23752 else
23753   glibcxx_cv_func_sqrtf_use=no
23754 fi
23755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23756       ac_ext=c
23757 ac_cpp='$CPP $CPPFLAGS'
23758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23761
23762
23763 fi
23764
23765   fi
23766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23767 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23768
23769   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23770     for ac_func in sqrtf
23771 do :
23772   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23773 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23774   cat >>confdefs.h <<_ACEOF
23775 #define HAVE_SQRTF 1
23776 _ACEOF
23777
23778 fi
23779 done
23780
23781   else
23782
23783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23784 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23785   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23786     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23787   $as_echo_n "(cached) " >&6
23788 else
23789
23790
23791       ac_ext=cpp
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796
23797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23798 /* end confdefs.h.  */
23799 #include <math.h>
23800                       #ifdef HAVE_IEEEFP_H
23801                       #include <ieeefp.h>
23802                       #endif
23803
23804 int
23805 main ()
23806 {
23807  _sqrtf(0);
23808   ;
23809   return 0;
23810 }
23811 _ACEOF
23812 if ac_fn_cxx_try_compile "$LINENO"; then :
23813   glibcxx_cv_func__sqrtf_use=yes
23814 else
23815   glibcxx_cv_func__sqrtf_use=no
23816 fi
23817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23818       ac_ext=c
23819 ac_cpp='$CPP $CPPFLAGS'
23820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23823
23824
23825 fi
23826
23827   fi
23828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23829 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23830
23831     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23832       for ac_func in _sqrtf
23833 do :
23834   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23835 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23836   cat >>confdefs.h <<_ACEOF
23837 #define HAVE__SQRTF 1
23838 _ACEOF
23839
23840 fi
23841 done
23842
23843     fi
23844   fi
23845
23846
23847
23848
23849
23850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23851 $as_echo_n "checking for sincosf declaration... " >&6; }
23852   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23853     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23854   $as_echo_n "(cached) " >&6
23855 else
23856
23857
23858       ac_ext=cpp
23859 ac_cpp='$CXXCPP $CPPFLAGS'
23860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23863
23864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23865 /* end confdefs.h.  */
23866 #include <math.h>
23867 int
23868 main ()
23869 {
23870  sincosf(0, 0, 0);
23871   ;
23872   return 0;
23873 }
23874 _ACEOF
23875 if ac_fn_cxx_try_compile "$LINENO"; then :
23876   glibcxx_cv_func_sincosf_use=yes
23877 else
23878   glibcxx_cv_func_sincosf_use=no
23879 fi
23880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23881       ac_ext=c
23882 ac_cpp='$CPP $CPPFLAGS'
23883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23886
23887
23888 fi
23889
23890   fi
23891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23892 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23893
23894   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23895     for ac_func in sincosf
23896 do :
23897   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23898 if test "x$ac_cv_func_sincosf" = x""yes; then :
23899   cat >>confdefs.h <<_ACEOF
23900 #define HAVE_SINCOSF 1
23901 _ACEOF
23902
23903 fi
23904 done
23905
23906   else
23907
23908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23909 $as_echo_n "checking for _sincosf declaration... " >&6; }
23910   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23911     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23912   $as_echo_n "(cached) " >&6
23913 else
23914
23915
23916       ac_ext=cpp
23917 ac_cpp='$CXXCPP $CPPFLAGS'
23918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23921
23922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23923 /* end confdefs.h.  */
23924 #include <math.h>
23925 int
23926 main ()
23927 {
23928  _sincosf(0, 0, 0);
23929   ;
23930   return 0;
23931 }
23932 _ACEOF
23933 if ac_fn_cxx_try_compile "$LINENO"; then :
23934   glibcxx_cv_func__sincosf_use=yes
23935 else
23936   glibcxx_cv_func__sincosf_use=no
23937 fi
23938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23939       ac_ext=c
23940 ac_cpp='$CPP $CPPFLAGS'
23941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23944
23945
23946 fi
23947
23948   fi
23949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23950 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23951
23952     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23953       for ac_func in _sincosf
23954 do :
23955   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23956 if test "x$ac_cv_func__sincosf" = x""yes; then :
23957   cat >>confdefs.h <<_ACEOF
23958 #define HAVE__SINCOSF 1
23959 _ACEOF
23960
23961 fi
23962 done
23963
23964     fi
23965   fi
23966
23967
23968
23969
23970
23971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23972 $as_echo_n "checking for finitef declaration... " >&6; }
23973   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23974     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23975   $as_echo_n "(cached) " >&6
23976 else
23977
23978
23979       ac_ext=cpp
23980 ac_cpp='$CXXCPP $CPPFLAGS'
23981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23984
23985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h.  */
23987 #include <math.h>
23988                       #ifdef HAVE_IEEEFP_H
23989                       #include <ieeefp.h>
23990                       #endif
23991
23992 int
23993 main ()
23994 {
23995  finitef(0);
23996   ;
23997   return 0;
23998 }
23999 _ACEOF
24000 if ac_fn_cxx_try_compile "$LINENO"; then :
24001   glibcxx_cv_func_finitef_use=yes
24002 else
24003   glibcxx_cv_func_finitef_use=no
24004 fi
24005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24006       ac_ext=c
24007 ac_cpp='$CPP $CPPFLAGS'
24008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24011
24012
24013 fi
24014
24015   fi
24016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24017 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24018
24019   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24020     for ac_func in finitef
24021 do :
24022   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24023 if test "x$ac_cv_func_finitef" = x""yes; then :
24024   cat >>confdefs.h <<_ACEOF
24025 #define HAVE_FINITEF 1
24026 _ACEOF
24027
24028 fi
24029 done
24030
24031   else
24032
24033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24034 $as_echo_n "checking for _finitef declaration... " >&6; }
24035   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24036     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24037   $as_echo_n "(cached) " >&6
24038 else
24039
24040
24041       ac_ext=cpp
24042 ac_cpp='$CXXCPP $CPPFLAGS'
24043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24046
24047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24048 /* end confdefs.h.  */
24049 #include <math.h>
24050                       #ifdef HAVE_IEEEFP_H
24051                       #include <ieeefp.h>
24052                       #endif
24053
24054 int
24055 main ()
24056 {
24057  _finitef(0);
24058   ;
24059   return 0;
24060 }
24061 _ACEOF
24062 if ac_fn_cxx_try_compile "$LINENO"; then :
24063   glibcxx_cv_func__finitef_use=yes
24064 else
24065   glibcxx_cv_func__finitef_use=no
24066 fi
24067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24068       ac_ext=c
24069 ac_cpp='$CPP $CPPFLAGS'
24070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24073
24074
24075 fi
24076
24077   fi
24078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24079 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24080
24081     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24082       for ac_func in _finitef
24083 do :
24084   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24085 if test "x$ac_cv_func__finitef" = x""yes; then :
24086   cat >>confdefs.h <<_ACEOF
24087 #define HAVE__FINITEF 1
24088 _ACEOF
24089
24090 fi
24091 done
24092
24093     fi
24094   fi
24095
24096
24097
24098
24099
24100     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24101 $as_echo_n "checking for long double trig functions... " >&6; }
24102   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24103   $as_echo_n "(cached) " >&6
24104 else
24105
24106
24107     ac_ext=cpp
24108 ac_cpp='$CXXCPP $CPPFLAGS'
24109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24112
24113     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24114 /* end confdefs.h.  */
24115 #include <math.h>
24116 int
24117 main ()
24118 {
24119 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24120   ;
24121   return 0;
24122 }
24123 _ACEOF
24124 if ac_fn_cxx_try_compile "$LINENO"; then :
24125   glibcxx_cv_func_long_double_trig_use=yes
24126 else
24127   glibcxx_cv_func_long_double_trig_use=no
24128 fi
24129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24130     ac_ext=c
24131 ac_cpp='$CPP $CPPFLAGS'
24132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24135
24136 fi
24137
24138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24139 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24140   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24141     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24142 do :
24143   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24145 eval as_val=\$$as_ac_var
24146    if test "x$as_val" = x""yes; then :
24147   cat >>confdefs.h <<_ACEOF
24148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24149 _ACEOF
24150
24151 fi
24152 done
24153
24154   else
24155     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24156 $as_echo_n "checking for _long double trig functions... " >&6; }
24157     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24158   $as_echo_n "(cached) " >&6
24159 else
24160
24161
24162       ac_ext=cpp
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24167
24168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24169 /* end confdefs.h.  */
24170 #include <math.h>
24171 int
24172 main ()
24173 {
24174 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24175   ;
24176   return 0;
24177 }
24178 _ACEOF
24179 if ac_fn_cxx_try_compile "$LINENO"; then :
24180   glibcxx_cv_func__long_double_trig_use=yes
24181 else
24182   glibcxx_cv_func__long_double_trig_use=no
24183 fi
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185       ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24190
24191 fi
24192
24193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24194 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24195     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24196       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24197 do :
24198   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24200 eval as_val=\$$as_ac_var
24201    if test "x$as_val" = x""yes; then :
24202   cat >>confdefs.h <<_ACEOF
24203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24204 _ACEOF
24205
24206 fi
24207 done
24208
24209     fi
24210   fi
24211
24212
24213
24214
24215
24216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24217 $as_echo_n "checking for long double round functions... " >&6; }
24218   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24219   $as_echo_n "(cached) " >&6
24220 else
24221
24222
24223     ac_ext=cpp
24224 ac_cpp='$CXXCPP $CPPFLAGS'
24225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24228
24229     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h.  */
24231 #include <math.h>
24232 int
24233 main ()
24234 {
24235 ceill (0); floorl (0);
24236   ;
24237   return 0;
24238 }
24239 _ACEOF
24240 if ac_fn_cxx_try_compile "$LINENO"; then :
24241   glibcxx_cv_func_long_double_round_use=yes
24242 else
24243   glibcxx_cv_func_long_double_round_use=no
24244 fi
24245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24246     ac_ext=c
24247 ac_cpp='$CPP $CPPFLAGS'
24248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24251
24252 fi
24253
24254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24255 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24256   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24257     for ac_func in ceill floorl
24258 do :
24259   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24261 eval as_val=\$$as_ac_var
24262    if test "x$as_val" = x""yes; then :
24263   cat >>confdefs.h <<_ACEOF
24264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24265 _ACEOF
24266
24267 fi
24268 done
24269
24270   else
24271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24272 $as_echo_n "checking for _long double round functions... " >&6; }
24273     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24274   $as_echo_n "(cached) " >&6
24275 else
24276
24277
24278       ac_ext=cpp
24279 ac_cpp='$CXXCPP $CPPFLAGS'
24280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24283
24284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24285 /* end confdefs.h.  */
24286 #include <math.h>
24287 int
24288 main ()
24289 {
24290 _ceill (0); _floorl (0);
24291   ;
24292   return 0;
24293 }
24294 _ACEOF
24295 if ac_fn_cxx_try_compile "$LINENO"; then :
24296   glibcxx_cv_func__long_double_round_use=yes
24297 else
24298   glibcxx_cv_func__long_double_round_use=no
24299 fi
24300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24301       ac_ext=c
24302 ac_cpp='$CPP $CPPFLAGS'
24303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24306
24307 fi
24308
24309     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24310 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24311     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24312       for ac_func in _ceill _floorl
24313 do :
24314   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24316 eval as_val=\$$as_ac_var
24317    if test "x$as_val" = x""yes; then :
24318   cat >>confdefs.h <<_ACEOF
24319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24320 _ACEOF
24321
24322 fi
24323 done
24324
24325     fi
24326   fi
24327
24328
24329
24330
24331
24332
24333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24334 $as_echo_n "checking for isnanl declaration... " >&6; }
24335   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24336     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24337   $as_echo_n "(cached) " >&6
24338 else
24339
24340
24341       ac_ext=cpp
24342 ac_cpp='$CXXCPP $CPPFLAGS'
24343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24346
24347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24348 /* end confdefs.h.  */
24349 #include <math.h>
24350                       #ifdef HAVE_IEEEFP_H
24351                       #include <ieeefp.h>
24352                       #endif
24353
24354 int
24355 main ()
24356 {
24357  isnanl(0);
24358   ;
24359   return 0;
24360 }
24361 _ACEOF
24362 if ac_fn_cxx_try_compile "$LINENO"; then :
24363   glibcxx_cv_func_isnanl_use=yes
24364 else
24365   glibcxx_cv_func_isnanl_use=no
24366 fi
24367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24368       ac_ext=c
24369 ac_cpp='$CPP $CPPFLAGS'
24370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24373
24374
24375 fi
24376
24377   fi
24378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24379 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24380
24381   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24382     for ac_func in isnanl
24383 do :
24384   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24385 if test "x$ac_cv_func_isnanl" = x""yes; then :
24386   cat >>confdefs.h <<_ACEOF
24387 #define HAVE_ISNANL 1
24388 _ACEOF
24389
24390 fi
24391 done
24392
24393   else
24394
24395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24396 $as_echo_n "checking for _isnanl declaration... " >&6; }
24397   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24398     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24399   $as_echo_n "(cached) " >&6
24400 else
24401
24402
24403       ac_ext=cpp
24404 ac_cpp='$CXXCPP $CPPFLAGS'
24405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24408
24409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24410 /* end confdefs.h.  */
24411 #include <math.h>
24412                       #ifdef HAVE_IEEEFP_H
24413                       #include <ieeefp.h>
24414                       #endif
24415
24416 int
24417 main ()
24418 {
24419  _isnanl(0);
24420   ;
24421   return 0;
24422 }
24423 _ACEOF
24424 if ac_fn_cxx_try_compile "$LINENO"; then :
24425   glibcxx_cv_func__isnanl_use=yes
24426 else
24427   glibcxx_cv_func__isnanl_use=no
24428 fi
24429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24430       ac_ext=c
24431 ac_cpp='$CPP $CPPFLAGS'
24432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24435
24436
24437 fi
24438
24439   fi
24440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24441 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24442
24443     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24444       for ac_func in _isnanl
24445 do :
24446   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24447 if test "x$ac_cv_func__isnanl" = x""yes; then :
24448   cat >>confdefs.h <<_ACEOF
24449 #define HAVE__ISNANL 1
24450 _ACEOF
24451
24452 fi
24453 done
24454
24455     fi
24456   fi
24457
24458
24459
24460
24461
24462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24463 $as_echo_n "checking for isinfl declaration... " >&6; }
24464   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24465     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24466   $as_echo_n "(cached) " >&6
24467 else
24468
24469
24470       ac_ext=cpp
24471 ac_cpp='$CXXCPP $CPPFLAGS'
24472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24475
24476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24477 /* end confdefs.h.  */
24478 #include <math.h>
24479                       #ifdef HAVE_IEEEFP_H
24480                       #include <ieeefp.h>
24481                       #endif
24482
24483 int
24484 main ()
24485 {
24486  isinfl(0);
24487   ;
24488   return 0;
24489 }
24490 _ACEOF
24491 if ac_fn_cxx_try_compile "$LINENO"; then :
24492   glibcxx_cv_func_isinfl_use=yes
24493 else
24494   glibcxx_cv_func_isinfl_use=no
24495 fi
24496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24497       ac_ext=c
24498 ac_cpp='$CPP $CPPFLAGS'
24499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24502
24503
24504 fi
24505
24506   fi
24507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24508 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24509
24510   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24511     for ac_func in isinfl
24512 do :
24513   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24514 if test "x$ac_cv_func_isinfl" = x""yes; then :
24515   cat >>confdefs.h <<_ACEOF
24516 #define HAVE_ISINFL 1
24517 _ACEOF
24518
24519 fi
24520 done
24521
24522   else
24523
24524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24525 $as_echo_n "checking for _isinfl declaration... " >&6; }
24526   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24527     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24528   $as_echo_n "(cached) " >&6
24529 else
24530
24531
24532       ac_ext=cpp
24533 ac_cpp='$CXXCPP $CPPFLAGS'
24534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24537
24538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24539 /* end confdefs.h.  */
24540 #include <math.h>
24541                       #ifdef HAVE_IEEEFP_H
24542                       #include <ieeefp.h>
24543                       #endif
24544
24545 int
24546 main ()
24547 {
24548  _isinfl(0);
24549   ;
24550   return 0;
24551 }
24552 _ACEOF
24553 if ac_fn_cxx_try_compile "$LINENO"; then :
24554   glibcxx_cv_func__isinfl_use=yes
24555 else
24556   glibcxx_cv_func__isinfl_use=no
24557 fi
24558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24559       ac_ext=c
24560 ac_cpp='$CPP $CPPFLAGS'
24561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24564
24565
24566 fi
24567
24568   fi
24569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24570 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24571
24572     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24573       for ac_func in _isinfl
24574 do :
24575   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24576 if test "x$ac_cv_func__isinfl" = x""yes; then :
24577   cat >>confdefs.h <<_ACEOF
24578 #define HAVE__ISINFL 1
24579 _ACEOF
24580
24581 fi
24582 done
24583
24584     fi
24585   fi
24586
24587
24588
24589
24590
24591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24592 $as_echo_n "checking for atan2l declaration... " >&6; }
24593   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24594     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24595   $as_echo_n "(cached) " >&6
24596 else
24597
24598
24599       ac_ext=cpp
24600 ac_cpp='$CXXCPP $CPPFLAGS'
24601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24604
24605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24606 /* end confdefs.h.  */
24607 #include <math.h>
24608 int
24609 main ()
24610 {
24611  atan2l(0, 0);
24612   ;
24613   return 0;
24614 }
24615 _ACEOF
24616 if ac_fn_cxx_try_compile "$LINENO"; then :
24617   glibcxx_cv_func_atan2l_use=yes
24618 else
24619   glibcxx_cv_func_atan2l_use=no
24620 fi
24621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24622       ac_ext=c
24623 ac_cpp='$CPP $CPPFLAGS'
24624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24627
24628
24629 fi
24630
24631   fi
24632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24633 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24634
24635   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24636     for ac_func in atan2l
24637 do :
24638   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24639 if test "x$ac_cv_func_atan2l" = x""yes; then :
24640   cat >>confdefs.h <<_ACEOF
24641 #define HAVE_ATAN2L 1
24642 _ACEOF
24643
24644 fi
24645 done
24646
24647   else
24648
24649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24650 $as_echo_n "checking for _atan2l declaration... " >&6; }
24651   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24652     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24653   $as_echo_n "(cached) " >&6
24654 else
24655
24656
24657       ac_ext=cpp
24658 ac_cpp='$CXXCPP $CPPFLAGS'
24659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24662
24663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h.  */
24665 #include <math.h>
24666 int
24667 main ()
24668 {
24669  _atan2l(0, 0);
24670   ;
24671   return 0;
24672 }
24673 _ACEOF
24674 if ac_fn_cxx_try_compile "$LINENO"; then :
24675   glibcxx_cv_func__atan2l_use=yes
24676 else
24677   glibcxx_cv_func__atan2l_use=no
24678 fi
24679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24680       ac_ext=c
24681 ac_cpp='$CPP $CPPFLAGS'
24682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24685
24686
24687 fi
24688
24689   fi
24690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24691 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24692
24693     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24694       for ac_func in _atan2l
24695 do :
24696   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24697 if test "x$ac_cv_func__atan2l" = x""yes; then :
24698   cat >>confdefs.h <<_ACEOF
24699 #define HAVE__ATAN2L 1
24700 _ACEOF
24701
24702 fi
24703 done
24704
24705     fi
24706   fi
24707
24708
24709
24710
24711
24712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24713 $as_echo_n "checking for expl declaration... " >&6; }
24714   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24715     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24716   $as_echo_n "(cached) " >&6
24717 else
24718
24719
24720       ac_ext=cpp
24721 ac_cpp='$CXXCPP $CPPFLAGS'
24722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24725
24726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24727 /* end confdefs.h.  */
24728 #include <math.h>
24729                       #ifdef HAVE_IEEEFP_H
24730                       #include <ieeefp.h>
24731                       #endif
24732
24733 int
24734 main ()
24735 {
24736  expl(0);
24737   ;
24738   return 0;
24739 }
24740 _ACEOF
24741 if ac_fn_cxx_try_compile "$LINENO"; then :
24742   glibcxx_cv_func_expl_use=yes
24743 else
24744   glibcxx_cv_func_expl_use=no
24745 fi
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24747       ac_ext=c
24748 ac_cpp='$CPP $CPPFLAGS'
24749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24752
24753
24754 fi
24755
24756   fi
24757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24758 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24759
24760   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24761     for ac_func in expl
24762 do :
24763   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24764 if test "x$ac_cv_func_expl" = x""yes; then :
24765   cat >>confdefs.h <<_ACEOF
24766 #define HAVE_EXPL 1
24767 _ACEOF
24768
24769 fi
24770 done
24771
24772   else
24773
24774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24775 $as_echo_n "checking for _expl declaration... " >&6; }
24776   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24777     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24778   $as_echo_n "(cached) " >&6
24779 else
24780
24781
24782       ac_ext=cpp
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24787
24788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24789 /* end confdefs.h.  */
24790 #include <math.h>
24791                       #ifdef HAVE_IEEEFP_H
24792                       #include <ieeefp.h>
24793                       #endif
24794
24795 int
24796 main ()
24797 {
24798  _expl(0);
24799   ;
24800   return 0;
24801 }
24802 _ACEOF
24803 if ac_fn_cxx_try_compile "$LINENO"; then :
24804   glibcxx_cv_func__expl_use=yes
24805 else
24806   glibcxx_cv_func__expl_use=no
24807 fi
24808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24809       ac_ext=c
24810 ac_cpp='$CPP $CPPFLAGS'
24811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24814
24815
24816 fi
24817
24818   fi
24819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24820 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24821
24822     if test x$glibcxx_cv_func__expl_use = x"yes"; then
24823       for ac_func in _expl
24824 do :
24825   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24826 if test "x$ac_cv_func__expl" = x""yes; then :
24827   cat >>confdefs.h <<_ACEOF
24828 #define HAVE__EXPL 1
24829 _ACEOF
24830
24831 fi
24832 done
24833
24834     fi
24835   fi
24836
24837
24838
24839
24840
24841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24842 $as_echo_n "checking for fabsl declaration... " >&6; }
24843   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24844     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24845   $as_echo_n "(cached) " >&6
24846 else
24847
24848
24849       ac_ext=cpp
24850 ac_cpp='$CXXCPP $CPPFLAGS'
24851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24854
24855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24856 /* end confdefs.h.  */
24857 #include <math.h>
24858                       #ifdef HAVE_IEEEFP_H
24859                       #include <ieeefp.h>
24860                       #endif
24861
24862 int
24863 main ()
24864 {
24865  fabsl(0);
24866   ;
24867   return 0;
24868 }
24869 _ACEOF
24870 if ac_fn_cxx_try_compile "$LINENO"; then :
24871   glibcxx_cv_func_fabsl_use=yes
24872 else
24873   glibcxx_cv_func_fabsl_use=no
24874 fi
24875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24876       ac_ext=c
24877 ac_cpp='$CPP $CPPFLAGS'
24878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24881
24882
24883 fi
24884
24885   fi
24886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24887 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24888
24889   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24890     for ac_func in fabsl
24891 do :
24892   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24893 if test "x$ac_cv_func_fabsl" = x""yes; then :
24894   cat >>confdefs.h <<_ACEOF
24895 #define HAVE_FABSL 1
24896 _ACEOF
24897
24898 fi
24899 done
24900
24901   else
24902
24903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24904 $as_echo_n "checking for _fabsl declaration... " >&6; }
24905   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24906     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24907   $as_echo_n "(cached) " >&6
24908 else
24909
24910
24911       ac_ext=cpp
24912 ac_cpp='$CXXCPP $CPPFLAGS'
24913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24916
24917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24918 /* end confdefs.h.  */
24919 #include <math.h>
24920                       #ifdef HAVE_IEEEFP_H
24921                       #include <ieeefp.h>
24922                       #endif
24923
24924 int
24925 main ()
24926 {
24927  _fabsl(0);
24928   ;
24929   return 0;
24930 }
24931 _ACEOF
24932 if ac_fn_cxx_try_compile "$LINENO"; then :
24933   glibcxx_cv_func__fabsl_use=yes
24934 else
24935   glibcxx_cv_func__fabsl_use=no
24936 fi
24937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24938       ac_ext=c
24939 ac_cpp='$CPP $CPPFLAGS'
24940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24943
24944
24945 fi
24946
24947   fi
24948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24949 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24950
24951     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24952       for ac_func in _fabsl
24953 do :
24954   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24955 if test "x$ac_cv_func__fabsl" = x""yes; then :
24956   cat >>confdefs.h <<_ACEOF
24957 #define HAVE__FABSL 1
24958 _ACEOF
24959
24960 fi
24961 done
24962
24963     fi
24964   fi
24965
24966
24967
24968
24969
24970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24971 $as_echo_n "checking for fmodl declaration... " >&6; }
24972   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24973     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24974   $as_echo_n "(cached) " >&6
24975 else
24976
24977
24978       ac_ext=cpp
24979 ac_cpp='$CXXCPP $CPPFLAGS'
24980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24983
24984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24985 /* end confdefs.h.  */
24986 #include <math.h>
24987 int
24988 main ()
24989 {
24990  fmodl(0, 0);
24991   ;
24992   return 0;
24993 }
24994 _ACEOF
24995 if ac_fn_cxx_try_compile "$LINENO"; then :
24996   glibcxx_cv_func_fmodl_use=yes
24997 else
24998   glibcxx_cv_func_fmodl_use=no
24999 fi
25000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25001       ac_ext=c
25002 ac_cpp='$CPP $CPPFLAGS'
25003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25006
25007
25008 fi
25009
25010   fi
25011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25012 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25013
25014   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25015     for ac_func in fmodl
25016 do :
25017   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25018 if test "x$ac_cv_func_fmodl" = x""yes; then :
25019   cat >>confdefs.h <<_ACEOF
25020 #define HAVE_FMODL 1
25021 _ACEOF
25022
25023 fi
25024 done
25025
25026   else
25027
25028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25029 $as_echo_n "checking for _fmodl declaration... " >&6; }
25030   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25031     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25032   $as_echo_n "(cached) " >&6
25033 else
25034
25035
25036       ac_ext=cpp
25037 ac_cpp='$CXXCPP $CPPFLAGS'
25038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25041
25042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25043 /* end confdefs.h.  */
25044 #include <math.h>
25045 int
25046 main ()
25047 {
25048  _fmodl(0, 0);
25049   ;
25050   return 0;
25051 }
25052 _ACEOF
25053 if ac_fn_cxx_try_compile "$LINENO"; then :
25054   glibcxx_cv_func__fmodl_use=yes
25055 else
25056   glibcxx_cv_func__fmodl_use=no
25057 fi
25058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25059       ac_ext=c
25060 ac_cpp='$CPP $CPPFLAGS'
25061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25064
25065
25066 fi
25067
25068   fi
25069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25070 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25071
25072     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25073       for ac_func in _fmodl
25074 do :
25075   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25076 if test "x$ac_cv_func__fmodl" = x""yes; then :
25077   cat >>confdefs.h <<_ACEOF
25078 #define HAVE__FMODL 1
25079 _ACEOF
25080
25081 fi
25082 done
25083
25084     fi
25085   fi
25086
25087
25088
25089
25090
25091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25092 $as_echo_n "checking for frexpl declaration... " >&6; }
25093   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25094     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25095   $as_echo_n "(cached) " >&6
25096 else
25097
25098
25099       ac_ext=cpp
25100 ac_cpp='$CXXCPP $CPPFLAGS'
25101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25104
25105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25106 /* end confdefs.h.  */
25107 #include <math.h>
25108 int
25109 main ()
25110 {
25111  frexpl(0, 0);
25112   ;
25113   return 0;
25114 }
25115 _ACEOF
25116 if ac_fn_cxx_try_compile "$LINENO"; then :
25117   glibcxx_cv_func_frexpl_use=yes
25118 else
25119   glibcxx_cv_func_frexpl_use=no
25120 fi
25121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25122       ac_ext=c
25123 ac_cpp='$CPP $CPPFLAGS'
25124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25127
25128
25129 fi
25130
25131   fi
25132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25133 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25134
25135   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25136     for ac_func in frexpl
25137 do :
25138   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25139 if test "x$ac_cv_func_frexpl" = x""yes; then :
25140   cat >>confdefs.h <<_ACEOF
25141 #define HAVE_FREXPL 1
25142 _ACEOF
25143
25144 fi
25145 done
25146
25147   else
25148
25149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25150 $as_echo_n "checking for _frexpl declaration... " >&6; }
25151   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25152     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25153   $as_echo_n "(cached) " >&6
25154 else
25155
25156
25157       ac_ext=cpp
25158 ac_cpp='$CXXCPP $CPPFLAGS'
25159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25162
25163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25164 /* end confdefs.h.  */
25165 #include <math.h>
25166 int
25167 main ()
25168 {
25169  _frexpl(0, 0);
25170   ;
25171   return 0;
25172 }
25173 _ACEOF
25174 if ac_fn_cxx_try_compile "$LINENO"; then :
25175   glibcxx_cv_func__frexpl_use=yes
25176 else
25177   glibcxx_cv_func__frexpl_use=no
25178 fi
25179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25180       ac_ext=c
25181 ac_cpp='$CPP $CPPFLAGS'
25182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25185
25186
25187 fi
25188
25189   fi
25190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25191 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25192
25193     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25194       for ac_func in _frexpl
25195 do :
25196   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25197 if test "x$ac_cv_func__frexpl" = x""yes; then :
25198   cat >>confdefs.h <<_ACEOF
25199 #define HAVE__FREXPL 1
25200 _ACEOF
25201
25202 fi
25203 done
25204
25205     fi
25206   fi
25207
25208
25209
25210
25211
25212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25213 $as_echo_n "checking for hypotl declaration... " >&6; }
25214   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25215     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25216   $as_echo_n "(cached) " >&6
25217 else
25218
25219
25220       ac_ext=cpp
25221 ac_cpp='$CXXCPP $CPPFLAGS'
25222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25225
25226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25227 /* end confdefs.h.  */
25228 #include <math.h>
25229 int
25230 main ()
25231 {
25232  hypotl(0, 0);
25233   ;
25234   return 0;
25235 }
25236 _ACEOF
25237 if ac_fn_cxx_try_compile "$LINENO"; then :
25238   glibcxx_cv_func_hypotl_use=yes
25239 else
25240   glibcxx_cv_func_hypotl_use=no
25241 fi
25242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25243       ac_ext=c
25244 ac_cpp='$CPP $CPPFLAGS'
25245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25248
25249
25250 fi
25251
25252   fi
25253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25254 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25255
25256   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25257     for ac_func in hypotl
25258 do :
25259   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25260 if test "x$ac_cv_func_hypotl" = x""yes; then :
25261   cat >>confdefs.h <<_ACEOF
25262 #define HAVE_HYPOTL 1
25263 _ACEOF
25264
25265 fi
25266 done
25267
25268   else
25269
25270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25271 $as_echo_n "checking for _hypotl declaration... " >&6; }
25272   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25273     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25274   $as_echo_n "(cached) " >&6
25275 else
25276
25277
25278       ac_ext=cpp
25279 ac_cpp='$CXXCPP $CPPFLAGS'
25280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25283
25284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25285 /* end confdefs.h.  */
25286 #include <math.h>
25287 int
25288 main ()
25289 {
25290  _hypotl(0, 0);
25291   ;
25292   return 0;
25293 }
25294 _ACEOF
25295 if ac_fn_cxx_try_compile "$LINENO"; then :
25296   glibcxx_cv_func__hypotl_use=yes
25297 else
25298   glibcxx_cv_func__hypotl_use=no
25299 fi
25300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25301       ac_ext=c
25302 ac_cpp='$CPP $CPPFLAGS'
25303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25306
25307
25308 fi
25309
25310   fi
25311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25312 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25313
25314     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25315       for ac_func in _hypotl
25316 do :
25317   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25318 if test "x$ac_cv_func__hypotl" = x""yes; then :
25319   cat >>confdefs.h <<_ACEOF
25320 #define HAVE__HYPOTL 1
25321 _ACEOF
25322
25323 fi
25324 done
25325
25326     fi
25327   fi
25328
25329
25330
25331
25332
25333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25334 $as_echo_n "checking for ldexpl declaration... " >&6; }
25335   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25336     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25337   $as_echo_n "(cached) " >&6
25338 else
25339
25340
25341       ac_ext=cpp
25342 ac_cpp='$CXXCPP $CPPFLAGS'
25343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25346
25347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25348 /* end confdefs.h.  */
25349 #include <math.h>
25350 int
25351 main ()
25352 {
25353  ldexpl(0, 0);
25354   ;
25355   return 0;
25356 }
25357 _ACEOF
25358 if ac_fn_cxx_try_compile "$LINENO"; then :
25359   glibcxx_cv_func_ldexpl_use=yes
25360 else
25361   glibcxx_cv_func_ldexpl_use=no
25362 fi
25363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25364       ac_ext=c
25365 ac_cpp='$CPP $CPPFLAGS'
25366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25369
25370
25371 fi
25372
25373   fi
25374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25375 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25376
25377   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25378     for ac_func in ldexpl
25379 do :
25380   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25381 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25382   cat >>confdefs.h <<_ACEOF
25383 #define HAVE_LDEXPL 1
25384 _ACEOF
25385
25386 fi
25387 done
25388
25389   else
25390
25391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25392 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25393   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25394     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25395   $as_echo_n "(cached) " >&6
25396 else
25397
25398
25399       ac_ext=cpp
25400 ac_cpp='$CXXCPP $CPPFLAGS'
25401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25404
25405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25406 /* end confdefs.h.  */
25407 #include <math.h>
25408 int
25409 main ()
25410 {
25411  _ldexpl(0, 0);
25412   ;
25413   return 0;
25414 }
25415 _ACEOF
25416 if ac_fn_cxx_try_compile "$LINENO"; then :
25417   glibcxx_cv_func__ldexpl_use=yes
25418 else
25419   glibcxx_cv_func__ldexpl_use=no
25420 fi
25421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25422       ac_ext=c
25423 ac_cpp='$CPP $CPPFLAGS'
25424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25427
25428
25429 fi
25430
25431   fi
25432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25433 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25434
25435     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25436       for ac_func in _ldexpl
25437 do :
25438   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25439 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25440   cat >>confdefs.h <<_ACEOF
25441 #define HAVE__LDEXPL 1
25442 _ACEOF
25443
25444 fi
25445 done
25446
25447     fi
25448   fi
25449
25450
25451
25452
25453
25454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25455 $as_echo_n "checking for logl declaration... " >&6; }
25456   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25457     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25458   $as_echo_n "(cached) " >&6
25459 else
25460
25461
25462       ac_ext=cpp
25463 ac_cpp='$CXXCPP $CPPFLAGS'
25464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25467
25468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25469 /* end confdefs.h.  */
25470 #include <math.h>
25471                       #ifdef HAVE_IEEEFP_H
25472                       #include <ieeefp.h>
25473                       #endif
25474
25475 int
25476 main ()
25477 {
25478  logl(0);
25479   ;
25480   return 0;
25481 }
25482 _ACEOF
25483 if ac_fn_cxx_try_compile "$LINENO"; then :
25484   glibcxx_cv_func_logl_use=yes
25485 else
25486   glibcxx_cv_func_logl_use=no
25487 fi
25488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25489       ac_ext=c
25490 ac_cpp='$CPP $CPPFLAGS'
25491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25494
25495
25496 fi
25497
25498   fi
25499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25500 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25501
25502   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25503     for ac_func in logl
25504 do :
25505   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25506 if test "x$ac_cv_func_logl" = x""yes; then :
25507   cat >>confdefs.h <<_ACEOF
25508 #define HAVE_LOGL 1
25509 _ACEOF
25510
25511 fi
25512 done
25513
25514   else
25515
25516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25517 $as_echo_n "checking for _logl declaration... " >&6; }
25518   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25519     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25520   $as_echo_n "(cached) " >&6
25521 else
25522
25523
25524       ac_ext=cpp
25525 ac_cpp='$CXXCPP $CPPFLAGS'
25526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25529
25530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25531 /* end confdefs.h.  */
25532 #include <math.h>
25533                       #ifdef HAVE_IEEEFP_H
25534                       #include <ieeefp.h>
25535                       #endif
25536
25537 int
25538 main ()
25539 {
25540  _logl(0);
25541   ;
25542   return 0;
25543 }
25544 _ACEOF
25545 if ac_fn_cxx_try_compile "$LINENO"; then :
25546   glibcxx_cv_func__logl_use=yes
25547 else
25548   glibcxx_cv_func__logl_use=no
25549 fi
25550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25551       ac_ext=c
25552 ac_cpp='$CPP $CPPFLAGS'
25553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25556
25557
25558 fi
25559
25560   fi
25561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25562 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25563
25564     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25565       for ac_func in _logl
25566 do :
25567   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25568 if test "x$ac_cv_func__logl" = x""yes; then :
25569   cat >>confdefs.h <<_ACEOF
25570 #define HAVE__LOGL 1
25571 _ACEOF
25572
25573 fi
25574 done
25575
25576     fi
25577   fi
25578
25579
25580
25581
25582
25583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25584 $as_echo_n "checking for log10l declaration... " >&6; }
25585   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25586     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25587   $as_echo_n "(cached) " >&6
25588 else
25589
25590
25591       ac_ext=cpp
25592 ac_cpp='$CXXCPP $CPPFLAGS'
25593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25596
25597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25598 /* end confdefs.h.  */
25599 #include <math.h>
25600                       #ifdef HAVE_IEEEFP_H
25601                       #include <ieeefp.h>
25602                       #endif
25603
25604 int
25605 main ()
25606 {
25607  log10l(0);
25608   ;
25609   return 0;
25610 }
25611 _ACEOF
25612 if ac_fn_cxx_try_compile "$LINENO"; then :
25613   glibcxx_cv_func_log10l_use=yes
25614 else
25615   glibcxx_cv_func_log10l_use=no
25616 fi
25617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25618       ac_ext=c
25619 ac_cpp='$CPP $CPPFLAGS'
25620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25623
25624
25625 fi
25626
25627   fi
25628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25629 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25630
25631   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25632     for ac_func in log10l
25633 do :
25634   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25635 if test "x$ac_cv_func_log10l" = x""yes; then :
25636   cat >>confdefs.h <<_ACEOF
25637 #define HAVE_LOG10L 1
25638 _ACEOF
25639
25640 fi
25641 done
25642
25643   else
25644
25645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25646 $as_echo_n "checking for _log10l declaration... " >&6; }
25647   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25648     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25649   $as_echo_n "(cached) " >&6
25650 else
25651
25652
25653       ac_ext=cpp
25654 ac_cpp='$CXXCPP $CPPFLAGS'
25655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25658
25659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25660 /* end confdefs.h.  */
25661 #include <math.h>
25662                       #ifdef HAVE_IEEEFP_H
25663                       #include <ieeefp.h>
25664                       #endif
25665
25666 int
25667 main ()
25668 {
25669  _log10l(0);
25670   ;
25671   return 0;
25672 }
25673 _ACEOF
25674 if ac_fn_cxx_try_compile "$LINENO"; then :
25675   glibcxx_cv_func__log10l_use=yes
25676 else
25677   glibcxx_cv_func__log10l_use=no
25678 fi
25679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25680       ac_ext=c
25681 ac_cpp='$CPP $CPPFLAGS'
25682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25685
25686
25687 fi
25688
25689   fi
25690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25691 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25692
25693     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25694       for ac_func in _log10l
25695 do :
25696   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25697 if test "x$ac_cv_func__log10l" = x""yes; then :
25698   cat >>confdefs.h <<_ACEOF
25699 #define HAVE__LOG10L 1
25700 _ACEOF
25701
25702 fi
25703 done
25704
25705     fi
25706   fi
25707
25708
25709
25710
25711
25712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25713 $as_echo_n "checking for modfl declaration... " >&6; }
25714   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25715     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25716   $as_echo_n "(cached) " >&6
25717 else
25718
25719
25720       ac_ext=cpp
25721 ac_cpp='$CXXCPP $CPPFLAGS'
25722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25725
25726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25727 /* end confdefs.h.  */
25728 #include <math.h>
25729 int
25730 main ()
25731 {
25732  modfl(0, 0);
25733   ;
25734   return 0;
25735 }
25736 _ACEOF
25737 if ac_fn_cxx_try_compile "$LINENO"; then :
25738   glibcxx_cv_func_modfl_use=yes
25739 else
25740   glibcxx_cv_func_modfl_use=no
25741 fi
25742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25743       ac_ext=c
25744 ac_cpp='$CPP $CPPFLAGS'
25745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25748
25749
25750 fi
25751
25752   fi
25753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25754 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25755
25756   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25757     for ac_func in modfl
25758 do :
25759   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25760 if test "x$ac_cv_func_modfl" = x""yes; then :
25761   cat >>confdefs.h <<_ACEOF
25762 #define HAVE_MODFL 1
25763 _ACEOF
25764
25765 fi
25766 done
25767
25768   else
25769
25770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25771 $as_echo_n "checking for _modfl declaration... " >&6; }
25772   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25773     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25774   $as_echo_n "(cached) " >&6
25775 else
25776
25777
25778       ac_ext=cpp
25779 ac_cpp='$CXXCPP $CPPFLAGS'
25780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25783
25784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25785 /* end confdefs.h.  */
25786 #include <math.h>
25787 int
25788 main ()
25789 {
25790  _modfl(0, 0);
25791   ;
25792   return 0;
25793 }
25794 _ACEOF
25795 if ac_fn_cxx_try_compile "$LINENO"; then :
25796   glibcxx_cv_func__modfl_use=yes
25797 else
25798   glibcxx_cv_func__modfl_use=no
25799 fi
25800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25801       ac_ext=c
25802 ac_cpp='$CPP $CPPFLAGS'
25803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25806
25807
25808 fi
25809
25810   fi
25811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25812 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25813
25814     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25815       for ac_func in _modfl
25816 do :
25817   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25818 if test "x$ac_cv_func__modfl" = x""yes; then :
25819   cat >>confdefs.h <<_ACEOF
25820 #define HAVE__MODFL 1
25821 _ACEOF
25822
25823 fi
25824 done
25825
25826     fi
25827   fi
25828
25829
25830
25831
25832
25833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25834 $as_echo_n "checking for powl declaration... " >&6; }
25835   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25836     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25837   $as_echo_n "(cached) " >&6
25838 else
25839
25840
25841       ac_ext=cpp
25842 ac_cpp='$CXXCPP $CPPFLAGS'
25843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25846
25847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25848 /* end confdefs.h.  */
25849 #include <math.h>
25850 int
25851 main ()
25852 {
25853  powl(0, 0);
25854   ;
25855   return 0;
25856 }
25857 _ACEOF
25858 if ac_fn_cxx_try_compile "$LINENO"; then :
25859   glibcxx_cv_func_powl_use=yes
25860 else
25861   glibcxx_cv_func_powl_use=no
25862 fi
25863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25864       ac_ext=c
25865 ac_cpp='$CPP $CPPFLAGS'
25866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25869
25870
25871 fi
25872
25873   fi
25874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25875 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25876
25877   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25878     for ac_func in powl
25879 do :
25880   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25881 if test "x$ac_cv_func_powl" = x""yes; then :
25882   cat >>confdefs.h <<_ACEOF
25883 #define HAVE_POWL 1
25884 _ACEOF
25885
25886 fi
25887 done
25888
25889   else
25890
25891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25892 $as_echo_n "checking for _powl declaration... " >&6; }
25893   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25894     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25895   $as_echo_n "(cached) " >&6
25896 else
25897
25898
25899       ac_ext=cpp
25900 ac_cpp='$CXXCPP $CPPFLAGS'
25901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25904
25905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25906 /* end confdefs.h.  */
25907 #include <math.h>
25908 int
25909 main ()
25910 {
25911  _powl(0, 0);
25912   ;
25913   return 0;
25914 }
25915 _ACEOF
25916 if ac_fn_cxx_try_compile "$LINENO"; then :
25917   glibcxx_cv_func__powl_use=yes
25918 else
25919   glibcxx_cv_func__powl_use=no
25920 fi
25921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25922       ac_ext=c
25923 ac_cpp='$CPP $CPPFLAGS'
25924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25927
25928
25929 fi
25930
25931   fi
25932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25933 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25934
25935     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25936       for ac_func in _powl
25937 do :
25938   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25939 if test "x$ac_cv_func__powl" = x""yes; then :
25940   cat >>confdefs.h <<_ACEOF
25941 #define HAVE__POWL 1
25942 _ACEOF
25943
25944 fi
25945 done
25946
25947     fi
25948   fi
25949
25950
25951
25952
25953
25954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25955 $as_echo_n "checking for sqrtl declaration... " >&6; }
25956   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25957     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25958   $as_echo_n "(cached) " >&6
25959 else
25960
25961
25962       ac_ext=cpp
25963 ac_cpp='$CXXCPP $CPPFLAGS'
25964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25967
25968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25969 /* end confdefs.h.  */
25970 #include <math.h>
25971                       #ifdef HAVE_IEEEFP_H
25972                       #include <ieeefp.h>
25973                       #endif
25974
25975 int
25976 main ()
25977 {
25978  sqrtl(0);
25979   ;
25980   return 0;
25981 }
25982 _ACEOF
25983 if ac_fn_cxx_try_compile "$LINENO"; then :
25984   glibcxx_cv_func_sqrtl_use=yes
25985 else
25986   glibcxx_cv_func_sqrtl_use=no
25987 fi
25988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25989       ac_ext=c
25990 ac_cpp='$CPP $CPPFLAGS'
25991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25994
25995
25996 fi
25997
25998   fi
25999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26000 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26001
26002   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26003     for ac_func in sqrtl
26004 do :
26005   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26006 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26007   cat >>confdefs.h <<_ACEOF
26008 #define HAVE_SQRTL 1
26009 _ACEOF
26010
26011 fi
26012 done
26013
26014   else
26015
26016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26017 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26018   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26019     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26020   $as_echo_n "(cached) " >&6
26021 else
26022
26023
26024       ac_ext=cpp
26025 ac_cpp='$CXXCPP $CPPFLAGS'
26026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26029
26030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h.  */
26032 #include <math.h>
26033                       #ifdef HAVE_IEEEFP_H
26034                       #include <ieeefp.h>
26035                       #endif
26036
26037 int
26038 main ()
26039 {
26040  _sqrtl(0);
26041   ;
26042   return 0;
26043 }
26044 _ACEOF
26045 if ac_fn_cxx_try_compile "$LINENO"; then :
26046   glibcxx_cv_func__sqrtl_use=yes
26047 else
26048   glibcxx_cv_func__sqrtl_use=no
26049 fi
26050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26051       ac_ext=c
26052 ac_cpp='$CPP $CPPFLAGS'
26053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26056
26057
26058 fi
26059
26060   fi
26061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26062 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26063
26064     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26065       for ac_func in _sqrtl
26066 do :
26067   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26068 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26069   cat >>confdefs.h <<_ACEOF
26070 #define HAVE__SQRTL 1
26071 _ACEOF
26072
26073 fi
26074 done
26075
26076     fi
26077   fi
26078
26079
26080
26081
26082
26083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26084 $as_echo_n "checking for sincosl declaration... " >&6; }
26085   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26086     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26087   $as_echo_n "(cached) " >&6
26088 else
26089
26090
26091       ac_ext=cpp
26092 ac_cpp='$CXXCPP $CPPFLAGS'
26093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26096
26097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26098 /* end confdefs.h.  */
26099 #include <math.h>
26100 int
26101 main ()
26102 {
26103  sincosl(0, 0, 0);
26104   ;
26105   return 0;
26106 }
26107 _ACEOF
26108 if ac_fn_cxx_try_compile "$LINENO"; then :
26109   glibcxx_cv_func_sincosl_use=yes
26110 else
26111   glibcxx_cv_func_sincosl_use=no
26112 fi
26113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26114       ac_ext=c
26115 ac_cpp='$CPP $CPPFLAGS'
26116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26119
26120
26121 fi
26122
26123   fi
26124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26125 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26126
26127   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26128     for ac_func in sincosl
26129 do :
26130   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26131 if test "x$ac_cv_func_sincosl" = x""yes; then :
26132   cat >>confdefs.h <<_ACEOF
26133 #define HAVE_SINCOSL 1
26134 _ACEOF
26135
26136 fi
26137 done
26138
26139   else
26140
26141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26142 $as_echo_n "checking for _sincosl declaration... " >&6; }
26143   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26144     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26145   $as_echo_n "(cached) " >&6
26146 else
26147
26148
26149       ac_ext=cpp
26150 ac_cpp='$CXXCPP $CPPFLAGS'
26151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26154
26155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26156 /* end confdefs.h.  */
26157 #include <math.h>
26158 int
26159 main ()
26160 {
26161  _sincosl(0, 0, 0);
26162   ;
26163   return 0;
26164 }
26165 _ACEOF
26166 if ac_fn_cxx_try_compile "$LINENO"; then :
26167   glibcxx_cv_func__sincosl_use=yes
26168 else
26169   glibcxx_cv_func__sincosl_use=no
26170 fi
26171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26172       ac_ext=c
26173 ac_cpp='$CPP $CPPFLAGS'
26174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26177
26178
26179 fi
26180
26181   fi
26182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26183 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26184
26185     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26186       for ac_func in _sincosl
26187 do :
26188   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26189 if test "x$ac_cv_func__sincosl" = x""yes; then :
26190   cat >>confdefs.h <<_ACEOF
26191 #define HAVE__SINCOSL 1
26192 _ACEOF
26193
26194 fi
26195 done
26196
26197     fi
26198   fi
26199
26200
26201
26202
26203
26204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26205 $as_echo_n "checking for finitel declaration... " >&6; }
26206   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26207     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26208   $as_echo_n "(cached) " >&6
26209 else
26210
26211
26212       ac_ext=cpp
26213 ac_cpp='$CXXCPP $CPPFLAGS'
26214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26217
26218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26219 /* end confdefs.h.  */
26220 #include <math.h>
26221                       #ifdef HAVE_IEEEFP_H
26222                       #include <ieeefp.h>
26223                       #endif
26224
26225 int
26226 main ()
26227 {
26228  finitel(0);
26229   ;
26230   return 0;
26231 }
26232 _ACEOF
26233 if ac_fn_cxx_try_compile "$LINENO"; then :
26234   glibcxx_cv_func_finitel_use=yes
26235 else
26236   glibcxx_cv_func_finitel_use=no
26237 fi
26238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26239       ac_ext=c
26240 ac_cpp='$CPP $CPPFLAGS'
26241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26244
26245
26246 fi
26247
26248   fi
26249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26250 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26251
26252   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26253     for ac_func in finitel
26254 do :
26255   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26256 if test "x$ac_cv_func_finitel" = x""yes; then :
26257   cat >>confdefs.h <<_ACEOF
26258 #define HAVE_FINITEL 1
26259 _ACEOF
26260
26261 fi
26262 done
26263
26264   else
26265
26266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26267 $as_echo_n "checking for _finitel declaration... " >&6; }
26268   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26269     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26270   $as_echo_n "(cached) " >&6
26271 else
26272
26273
26274       ac_ext=cpp
26275 ac_cpp='$CXXCPP $CPPFLAGS'
26276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26279
26280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26281 /* end confdefs.h.  */
26282 #include <math.h>
26283                       #ifdef HAVE_IEEEFP_H
26284                       #include <ieeefp.h>
26285                       #endif
26286
26287 int
26288 main ()
26289 {
26290  _finitel(0);
26291   ;
26292   return 0;
26293 }
26294 _ACEOF
26295 if ac_fn_cxx_try_compile "$LINENO"; then :
26296   glibcxx_cv_func__finitel_use=yes
26297 else
26298   glibcxx_cv_func__finitel_use=no
26299 fi
26300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26301       ac_ext=c
26302 ac_cpp='$CPP $CPPFLAGS'
26303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26306
26307
26308 fi
26309
26310   fi
26311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26312 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26313
26314     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26315       for ac_func in _finitel
26316 do :
26317   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26318 if test "x$ac_cv_func__finitel" = x""yes; then :
26319   cat >>confdefs.h <<_ACEOF
26320 #define HAVE__FINITEL 1
26321 _ACEOF
26322
26323 fi
26324 done
26325
26326     fi
26327   fi
26328
26329
26330
26331
26332   LIBS="$ac_save_LIBS"
26333   CXXFLAGS="$ac_save_CXXFLAGS"
26334
26335
26336   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26337   ac_save_CXXFLAGS="$CXXFLAGS"
26338   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26339
26340
26341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26342 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26343   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26344     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26345   $as_echo_n "(cached) " >&6
26346 else
26347
26348
26349       ac_ext=cpp
26350 ac_cpp='$CXXCPP $CPPFLAGS'
26351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26354
26355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26356 /* end confdefs.h.  */
26357 #include <stdlib.h>
26358 int
26359 main ()
26360 {
26361  at_quick_exit(0);
26362   ;
26363   return 0;
26364 }
26365 _ACEOF
26366 if ac_fn_cxx_try_compile "$LINENO"; then :
26367   glibcxx_cv_func_at_quick_exit_use=yes
26368 else
26369   glibcxx_cv_func_at_quick_exit_use=no
26370 fi
26371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26372       ac_ext=c
26373 ac_cpp='$CPP $CPPFLAGS'
26374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26377
26378
26379 fi
26380
26381   fi
26382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26383 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26384   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26385     for ac_func in at_quick_exit
26386 do :
26387   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26388 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26389   cat >>confdefs.h <<_ACEOF
26390 #define HAVE_AT_QUICK_EXIT 1
26391 _ACEOF
26392
26393 fi
26394 done
26395
26396   fi
26397
26398
26399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26400 $as_echo_n "checking for quick_exit declaration... " >&6; }
26401   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26402     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26403   $as_echo_n "(cached) " >&6
26404 else
26405
26406
26407       ac_ext=cpp
26408 ac_cpp='$CXXCPP $CPPFLAGS'
26409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26412
26413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26414 /* end confdefs.h.  */
26415 #include <stdlib.h>
26416 int
26417 main ()
26418 {
26419  quick_exit(0);
26420   ;
26421   return 0;
26422 }
26423 _ACEOF
26424 if ac_fn_cxx_try_compile "$LINENO"; then :
26425   glibcxx_cv_func_quick_exit_use=yes
26426 else
26427   glibcxx_cv_func_quick_exit_use=no
26428 fi
26429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26430       ac_ext=c
26431 ac_cpp='$CPP $CPPFLAGS'
26432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26435
26436
26437 fi
26438
26439   fi
26440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26441 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26442   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26443     for ac_func in quick_exit
26444 do :
26445   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26446 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26447   cat >>confdefs.h <<_ACEOF
26448 #define HAVE_QUICK_EXIT 1
26449 _ACEOF
26450
26451 fi
26452 done
26453
26454   fi
26455
26456
26457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26458 $as_echo_n "checking for strtold declaration... " >&6; }
26459   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26460     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26461   $as_echo_n "(cached) " >&6
26462 else
26463
26464
26465       ac_ext=cpp
26466 ac_cpp='$CXXCPP $CPPFLAGS'
26467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26470
26471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26472 /* end confdefs.h.  */
26473 #include <stdlib.h>
26474 int
26475 main ()
26476 {
26477  strtold(0, 0);
26478   ;
26479   return 0;
26480 }
26481 _ACEOF
26482 if ac_fn_cxx_try_compile "$LINENO"; then :
26483   glibcxx_cv_func_strtold_use=yes
26484 else
26485   glibcxx_cv_func_strtold_use=no
26486 fi
26487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26488       ac_ext=c
26489 ac_cpp='$CPP $CPPFLAGS'
26490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26493
26494
26495 fi
26496
26497   fi
26498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26499 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26500   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26501     for ac_func in strtold
26502 do :
26503   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26504 if test "x$ac_cv_func_strtold" = x""yes; then :
26505   cat >>confdefs.h <<_ACEOF
26506 #define HAVE_STRTOLD 1
26507 _ACEOF
26508
26509 fi
26510 done
26511
26512   fi
26513
26514
26515
26516
26517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26518 $as_echo_n "checking for strtof declaration... " >&6; }
26519   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26520     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26521   $as_echo_n "(cached) " >&6
26522 else
26523
26524
26525       ac_ext=cpp
26526 ac_cpp='$CXXCPP $CPPFLAGS'
26527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26530
26531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26532 /* end confdefs.h.  */
26533 #include <stdlib.h>
26534 int
26535 main ()
26536 {
26537  strtof(0, 0);
26538   ;
26539   return 0;
26540 }
26541 _ACEOF
26542 if ac_fn_cxx_try_compile "$LINENO"; then :
26543   glibcxx_cv_func_strtof_use=yes
26544 else
26545   glibcxx_cv_func_strtof_use=no
26546 fi
26547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26548       ac_ext=c
26549 ac_cpp='$CPP $CPPFLAGS'
26550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26553
26554
26555 fi
26556
26557   fi
26558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26559 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26560   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26561     for ac_func in strtof
26562 do :
26563   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26564 if test "x$ac_cv_func_strtof" = x""yes; then :
26565   cat >>confdefs.h <<_ACEOF
26566 #define HAVE_STRTOF 1
26567 _ACEOF
26568
26569 fi
26570 done
26571
26572   fi
26573
26574
26575
26576
26577   CXXFLAGS="$ac_save_CXXFLAGS"
26578
26579
26580   # For /dev/random and /dev/urandom for TR1.
26581
26582
26583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26584 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26585   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26586   $as_echo_n "(cached) " >&6
26587 else
26588
26589     if test -r /dev/random && test -r /dev/urandom; then
26590   ## For MSys environment the test above is detect as false-positive
26591   ## on mingw-targets.  So disable it explicit for them.
26592       case ${target_os} in
26593         *mingw*) glibcxx_cv_random_tr1=no ;;
26594         *) glibcxx_cv_random_tr1=yes ;;
26595       esac
26596     else
26597       glibcxx_cv_random_tr1=no;
26598     fi
26599
26600 fi
26601
26602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26603 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26604
26605   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26606
26607 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26608
26609   fi
26610
26611
26612
26613   # For TLS support.
26614
26615
26616    # Check whether --enable-tls was given.
26617 if test "${enable_tls+set}" = set; then :
26618   enableval=$enable_tls;
26619       case "$enableval" in
26620        yes|no) ;;
26621        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26622       esac
26623
26624 else
26625   enable_tls=yes
26626 fi
26627
26628
26629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26630 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26631 if test "${gcc_cv_have_tls+set}" = set; then :
26632   $as_echo_n "(cached) " >&6
26633 else
26634
26635     if test "$cross_compiling" = yes; then :
26636                 if test x$gcc_no_link = xyes; then
26637   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26638 fi
26639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26640 /* end confdefs.h.  */
26641 __thread int a; int b; int main() { return a = b; }
26642 _ACEOF
26643 if ac_fn_c_try_link "$LINENO"; then :
26644   chktls_save_LDFLAGS="$LDFLAGS"
26645                           case $host in
26646             *-*-linux*)
26647               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26648               ;;
26649           esac
26650           chktls_save_CFLAGS="$CFLAGS"
26651           CFLAGS="-fPIC $CFLAGS"
26652                   if test x$gcc_no_link = xyes; then
26653   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26654 fi
26655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26656 /* end confdefs.h.  */
26657 int f() { return 0; }
26658 _ACEOF
26659 if ac_fn_c_try_link "$LINENO"; then :
26660   if test x$gcc_no_link = xyes; then
26661   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26662 fi
26663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26664 /* end confdefs.h.  */
26665 __thread int a; int b; int f() { return a = b; }
26666 _ACEOF
26667 if ac_fn_c_try_link "$LINENO"; then :
26668   gcc_cv_have_tls=yes
26669 else
26670   gcc_cv_have_tls=no
26671 fi
26672 rm -f core conftest.err conftest.$ac_objext \
26673     conftest$ac_exeext conftest.$ac_ext
26674 else
26675   gcc_cv_have_tls=yes
26676 fi
26677 rm -f core conftest.err conftest.$ac_objext \
26678     conftest$ac_exeext conftest.$ac_ext
26679           CFLAGS="$chktls_save_CFLAGS"
26680           LDFLAGS="$chktls_save_LDFLAGS"
26681 else
26682   gcc_cv_have_tls=no
26683 fi
26684 rm -f core conftest.err conftest.$ac_objext \
26685     conftest$ac_exeext conftest.$ac_ext
26686
26687
26688 else
26689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26690 /* end confdefs.h.  */
26691 __thread int a; int b; int main() { return a = b; }
26692 _ACEOF
26693 if ac_fn_c_try_run "$LINENO"; then :
26694                       chktls_save_LDFLAGS="$LDFLAGS"
26695       LDFLAGS="-static $LDFLAGS"
26696       if test x$gcc_no_link = xyes; then
26697   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26698 fi
26699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26700 /* end confdefs.h.  */
26701 int main() { return 0; }
26702 _ACEOF
26703 if ac_fn_c_try_link "$LINENO"; then :
26704   if test "$cross_compiling" = yes; then :
26705   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26707 as_fn_error "cannot run test program while cross compiling
26708 See \`config.log' for more details." "$LINENO" 5; }
26709 else
26710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26711 /* end confdefs.h.  */
26712 __thread int a; int b; int main() { return a = b; }
26713 _ACEOF
26714 if ac_fn_c_try_run "$LINENO"; then :
26715   gcc_cv_have_tls=yes
26716 else
26717   gcc_cv_have_tls=no
26718 fi
26719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26720   conftest.$ac_objext conftest.beam conftest.$ac_ext
26721 fi
26722
26723 else
26724   gcc_cv_have_tls=yes
26725 fi
26726 rm -f core conftest.err conftest.$ac_objext \
26727     conftest$ac_exeext conftest.$ac_ext
26728       LDFLAGS="$chktls_save_LDFLAGS"
26729       if test $gcc_cv_have_tls = yes; then
26730                                                 chktls_save_CFLAGS="$CFLAGS"
26731         thread_CFLAGS=failed
26732         for flag in '' '-pthread' '-lpthread'; do
26733           CFLAGS="$flag $chktls_save_CFLAGS"
26734           if test x$gcc_no_link = xyes; then
26735   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26736 fi
26737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26738 /* end confdefs.h.  */
26739 #include <pthread.h>
26740                 void *g(void *d) { return NULL; }
26741 int
26742 main ()
26743 {
26744 pthread_t t; pthread_create(&t,NULL,g,NULL);
26745   ;
26746   return 0;
26747 }
26748 _ACEOF
26749 if ac_fn_c_try_link "$LINENO"; then :
26750   thread_CFLAGS="$flag"
26751 fi
26752 rm -f core conftest.err conftest.$ac_objext \
26753     conftest$ac_exeext conftest.$ac_ext
26754           if test "X$thread_CFLAGS" != Xfailed; then
26755             break
26756           fi
26757         done
26758         CFLAGS="$chktls_save_CFLAGS"
26759         if test "X$thread_CFLAGS" != Xfailed; then
26760           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26761                                                   if test "$cross_compiling" = yes; then :
26762   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26764 as_fn_error "cannot run test program while cross compiling
26765 See \`config.log' for more details." "$LINENO" 5; }
26766 else
26767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26768 /* end confdefs.h.  */
26769 #include <pthread.h>
26770                 __thread int a;
26771                 static int *volatile a_in_other_thread;
26772                 static void *
26773                 thread_func (void *arg)
26774                 {
26775                   a_in_other_thread = &a;
26776                   return (void *)0;
26777                 }
26778 int
26779 main ()
26780 {
26781 pthread_t thread;
26782                 void *thread_retval;
26783                 int *volatile a_in_main_thread;
26784                 a_in_main_thread = &a;
26785                 if (pthread_create (&thread, (pthread_attr_t *)0,
26786                                     thread_func, (void *)0))
26787                   return 0;
26788                 if (pthread_join (thread, &thread_retval))
26789                   return 0;
26790                 return (a_in_other_thread == a_in_main_thread);
26791   ;
26792   return 0;
26793 }
26794 _ACEOF
26795 if ac_fn_c_try_run "$LINENO"; then :
26796   gcc_cv_have_tls=yes
26797 else
26798   gcc_cv_have_tls=no
26799 fi
26800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26801   conftest.$ac_objext conftest.beam conftest.$ac_ext
26802 fi
26803
26804           CFLAGS="$chktls_save_CFLAGS"
26805         fi
26806       fi
26807 else
26808   gcc_cv_have_tls=no
26809 fi
26810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26811   conftest.$ac_objext conftest.beam conftest.$ac_ext
26812 fi
26813
26814 fi
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26816 $as_echo "$gcc_cv_have_tls" >&6; }
26817   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26818
26819 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26820
26821   fi
26822
26823   for ac_func in __cxa_thread_atexit_impl
26824 do :
26825   ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26826 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26827   cat >>confdefs.h <<_ACEOF
26828 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26829 _ACEOF
26830
26831 fi
26832 done
26833
26834
26835   # For iconv support.
26836
26837       if test "X$prefix" = "XNONE"; then
26838     acl_final_prefix="$ac_default_prefix"
26839   else
26840     acl_final_prefix="$prefix"
26841   fi
26842   if test "X$exec_prefix" = "XNONE"; then
26843     acl_final_exec_prefix='${prefix}'
26844   else
26845     acl_final_exec_prefix="$exec_prefix"
26846   fi
26847   acl_save_prefix="$prefix"
26848   prefix="$acl_final_prefix"
26849   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26850   prefix="$acl_save_prefix"
26851
26852
26853 # Check whether --with-gnu-ld was given.
26854 if test "${with_gnu_ld+set}" = set; then :
26855   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26856 else
26857   with_gnu_ld=no
26858 fi
26859
26860 # Prepare PATH_SEPARATOR.
26861 # The user is always right.
26862 if test "${PATH_SEPARATOR+set}" != set; then
26863   echo "#! /bin/sh" >conf$$.sh
26864   echo  "exit 0"   >>conf$$.sh
26865   chmod +x conf$$.sh
26866   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26867     PATH_SEPARATOR=';'
26868   else
26869     PATH_SEPARATOR=:
26870   fi
26871   rm -f conf$$.sh
26872 fi
26873 ac_prog=ld
26874 if test "$GCC" = yes; then
26875   # Check if gcc -print-prog-name=ld gives a path.
26876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26877 $as_echo_n "checking for ld used by GCC... " >&6; }
26878   case $host in
26879   *-*-mingw*)
26880     # gcc leaves a trailing carriage return which upsets mingw
26881     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26882   *)
26883     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26884   esac
26885   case $ac_prog in
26886     # Accept absolute paths.
26887     [\\/]* | [A-Za-z]:[\\/]*)
26888       re_direlt='/[^/][^/]*/\.\./'
26889       # Canonicalize the path of ld
26890       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26891       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26892         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26893       done
26894       test -z "$LD" && LD="$ac_prog"
26895       ;;
26896   "")
26897     # If it fails, then pretend we aren't using GCC.
26898     ac_prog=ld
26899     ;;
26900   *)
26901     # If it is relative, then search for the first ld in PATH.
26902     with_gnu_ld=unknown
26903     ;;
26904   esac
26905 elif test "$with_gnu_ld" = yes; then
26906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26907 $as_echo_n "checking for GNU ld... " >&6; }
26908 else
26909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26910 $as_echo_n "checking for non-GNU ld... " >&6; }
26911 fi
26912 if test "${acl_cv_path_LD+set}" = set; then :
26913   $as_echo_n "(cached) " >&6
26914 else
26915   if test -z "$LD"; then
26916   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26917   for ac_dir in $PATH; do
26918     test -z "$ac_dir" && ac_dir=.
26919     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26920       acl_cv_path_LD="$ac_dir/$ac_prog"
26921       # Check to see if the program is GNU ld.  I'd rather use --version,
26922       # but apparently some GNU ld's only accept -v.
26923       # Break only if it was the GNU/non-GNU ld that we prefer.
26924       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26925         test "$with_gnu_ld" != no && break
26926       else
26927         test "$with_gnu_ld" != yes && break
26928       fi
26929     fi
26930   done
26931   IFS="$ac_save_ifs"
26932 else
26933   acl_cv_path_LD="$LD" # Let the user override the test with a path.
26934 fi
26935 fi
26936
26937 LD="$acl_cv_path_LD"
26938 if test -n "$LD"; then
26939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26940 $as_echo "$LD" >&6; }
26941 else
26942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26943 $as_echo "no" >&6; }
26944 fi
26945 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26947 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26948 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26949   $as_echo_n "(cached) " >&6
26950 else
26951   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26952 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26953   acl_cv_prog_gnu_ld=yes
26954 else
26955   acl_cv_prog_gnu_ld=no
26956 fi
26957 fi
26958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26959 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26960 with_gnu_ld=$acl_cv_prog_gnu_ld
26961
26962
26963
26964                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26965 $as_echo_n "checking for shared library run path origin... " >&6; }
26966 if test "${acl_cv_rpath+set}" = set; then :
26967   $as_echo_n "(cached) " >&6
26968 else
26969
26970     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26971     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26972     . ./conftest.sh
26973     rm -f ./conftest.sh
26974     acl_cv_rpath=done
26975
26976 fi
26977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26978 $as_echo "$acl_cv_rpath" >&6; }
26979   wl="$acl_cv_wl"
26980   libext="$acl_cv_libext"
26981   shlibext="$acl_cv_shlibext"
26982   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26983   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26984   hardcode_direct="$acl_cv_hardcode_direct"
26985   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26986     # Check whether --enable-rpath was given.
26987 if test "${enable_rpath+set}" = set; then :
26988   enableval=$enable_rpath; :
26989 else
26990   enable_rpath=yes
26991 fi
26992
26993
26994
26995
26996
26997
26998
26999
27000     use_additional=yes
27001
27002   acl_save_prefix="$prefix"
27003   prefix="$acl_final_prefix"
27004   acl_save_exec_prefix="$exec_prefix"
27005   exec_prefix="$acl_final_exec_prefix"
27006
27007     eval additional_includedir=\"$includedir\"
27008     eval additional_libdir=\"$libdir\"
27009
27010   exec_prefix="$acl_save_exec_prefix"
27011   prefix="$acl_save_prefix"
27012
27013
27014 # Check whether --with-libiconv-prefix was given.
27015 if test "${with_libiconv_prefix+set}" = set; then :
27016   withval=$with_libiconv_prefix;
27017     if test "X$withval" = "Xno"; then
27018       use_additional=no
27019     else
27020       if test "X$withval" = "X"; then
27021
27022   acl_save_prefix="$prefix"
27023   prefix="$acl_final_prefix"
27024   acl_save_exec_prefix="$exec_prefix"
27025   exec_prefix="$acl_final_exec_prefix"
27026
27027           eval additional_includedir=\"$includedir\"
27028           eval additional_libdir=\"$libdir\"
27029
27030   exec_prefix="$acl_save_exec_prefix"
27031   prefix="$acl_save_prefix"
27032
27033       else
27034         additional_includedir="$withval/include"
27035         additional_libdir="$withval/lib"
27036       fi
27037     fi
27038
27039 fi
27040
27041       LIBICONV=
27042   LTLIBICONV=
27043   INCICONV=
27044   rpathdirs=
27045   ltrpathdirs=
27046   names_already_handled=
27047   names_next_round='iconv '
27048   while test -n "$names_next_round"; do
27049     names_this_round="$names_next_round"
27050     names_next_round=
27051     for name in $names_this_round; do
27052       already_handled=
27053       for n in $names_already_handled; do
27054         if test "$n" = "$name"; then
27055           already_handled=yes
27056           break
27057         fi
27058       done
27059       if test -z "$already_handled"; then
27060         names_already_handled="$names_already_handled $name"
27061                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27062         eval value=\"\$HAVE_LIB$uppername\"
27063         if test -n "$value"; then
27064           if test "$value" = yes; then
27065             eval value=\"\$LIB$uppername\"
27066             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27067             eval value=\"\$LTLIB$uppername\"
27068             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27069           else
27070                                     :
27071           fi
27072         else
27073                               found_dir=
27074           found_la=
27075           found_so=
27076           found_a=
27077           if test $use_additional = yes; then
27078             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27079               found_dir="$additional_libdir"
27080               found_so="$additional_libdir/lib$name.$shlibext"
27081               if test -f "$additional_libdir/lib$name.la"; then
27082                 found_la="$additional_libdir/lib$name.la"
27083               fi
27084             else
27085               if test -f "$additional_libdir/lib$name.$libext"; then
27086                 found_dir="$additional_libdir"
27087                 found_a="$additional_libdir/lib$name.$libext"
27088                 if test -f "$additional_libdir/lib$name.la"; then
27089                   found_la="$additional_libdir/lib$name.la"
27090                 fi
27091               fi
27092             fi
27093           fi
27094           if test "X$found_dir" = "X"; then
27095             for x in $LDFLAGS $LTLIBICONV; do
27096
27097   acl_save_prefix="$prefix"
27098   prefix="$acl_final_prefix"
27099   acl_save_exec_prefix="$exec_prefix"
27100   exec_prefix="$acl_final_exec_prefix"
27101   eval x=\"$x\"
27102   exec_prefix="$acl_save_exec_prefix"
27103   prefix="$acl_save_prefix"
27104
27105               case "$x" in
27106                 -L*)
27107                   dir=`echo "X$x" | sed -e 's/^X-L//'`
27108                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27109                     found_dir="$dir"
27110                     found_so="$dir/lib$name.$shlibext"
27111                     if test -f "$dir/lib$name.la"; then
27112                       found_la="$dir/lib$name.la"
27113                     fi
27114                   else
27115                     if test -f "$dir/lib$name.$libext"; then
27116                       found_dir="$dir"
27117                       found_a="$dir/lib$name.$libext"
27118                       if test -f "$dir/lib$name.la"; then
27119                         found_la="$dir/lib$name.la"
27120                       fi
27121                     fi
27122                   fi
27123                   ;;
27124               esac
27125               if test "X$found_dir" != "X"; then
27126                 break
27127               fi
27128             done
27129           fi
27130           if test "X$found_dir" != "X"; then
27131                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27132             if test "X$found_so" != "X"; then
27133                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27134                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27135               else
27136                                                                                 haveit=
27137                 for x in $ltrpathdirs; do
27138                   if test "X$x" = "X$found_dir"; then
27139                     haveit=yes
27140                     break
27141                   fi
27142                 done
27143                 if test -z "$haveit"; then
27144                   ltrpathdirs="$ltrpathdirs $found_dir"
27145                 fi
27146                                 if test "$hardcode_direct" = yes; then
27147                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27148                 else
27149                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27150                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27151                                                             haveit=
27152                     for x in $rpathdirs; do
27153                       if test "X$x" = "X$found_dir"; then
27154                         haveit=yes
27155                         break
27156                       fi
27157                     done
27158                     if test -z "$haveit"; then
27159                       rpathdirs="$rpathdirs $found_dir"
27160                     fi
27161                   else
27162                                                                                 haveit=
27163                     for x in $LDFLAGS $LIBICONV; do
27164
27165   acl_save_prefix="$prefix"
27166   prefix="$acl_final_prefix"
27167   acl_save_exec_prefix="$exec_prefix"
27168   exec_prefix="$acl_final_exec_prefix"
27169   eval x=\"$x\"
27170   exec_prefix="$acl_save_exec_prefix"
27171   prefix="$acl_save_prefix"
27172
27173                       if test "X$x" = "X-L$found_dir"; then
27174                         haveit=yes
27175                         break
27176                       fi
27177                     done
27178                     if test -z "$haveit"; then
27179                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27180                     fi
27181                     if test "$hardcode_minus_L" != no; then
27182                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27183                     else
27184                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27185                     fi
27186                   fi
27187                 fi
27188               fi
27189             else
27190               if test "X$found_a" != "X"; then
27191                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27192               else
27193                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27194               fi
27195             fi
27196                         additional_includedir=
27197             case "$found_dir" in
27198               */lib | */lib/)
27199                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27200                 additional_includedir="$basedir/include"
27201                 ;;
27202             esac
27203             if test "X$additional_includedir" != "X"; then
27204                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
27205                 haveit=
27206                 if test "X$additional_includedir" = "X/usr/local/include"; then
27207                   if test -n "$GCC"; then
27208                     case $host_os in
27209                       linux*) haveit=yes;;
27210                     esac
27211                   fi
27212                 fi
27213                 if test -z "$haveit"; then
27214                   for x in $CPPFLAGS $INCICONV; do
27215
27216   acl_save_prefix="$prefix"
27217   prefix="$acl_final_prefix"
27218   acl_save_exec_prefix="$exec_prefix"
27219   exec_prefix="$acl_final_exec_prefix"
27220   eval x=\"$x\"
27221   exec_prefix="$acl_save_exec_prefix"
27222   prefix="$acl_save_prefix"
27223
27224                     if test "X$x" = "X-I$additional_includedir"; then
27225                       haveit=yes
27226                       break
27227                     fi
27228                   done
27229                   if test -z "$haveit"; then
27230                     if test -d "$additional_includedir"; then
27231                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27232                     fi
27233                   fi
27234                 fi
27235               fi
27236             fi
27237                         if test -n "$found_la"; then
27238                                                         save_libdir="$libdir"
27239               case "$found_la" in
27240                 */* | *\\*) . "$found_la" ;;
27241                 *) . "./$found_la" ;;
27242               esac
27243               libdir="$save_libdir"
27244                             for dep in $dependency_libs; do
27245                 case "$dep" in
27246                   -L*)
27247                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27248                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
27249                       haveit=
27250                       if test "X$additional_libdir" = "X/usr/local/lib"; then
27251                         if test -n "$GCC"; then
27252                           case $host_os in
27253                             linux*) haveit=yes;;
27254                           esac
27255                         fi
27256                       fi
27257                       if test -z "$haveit"; then
27258                         haveit=
27259                         for x in $LDFLAGS $LIBICONV; do
27260
27261   acl_save_prefix="$prefix"
27262   prefix="$acl_final_prefix"
27263   acl_save_exec_prefix="$exec_prefix"
27264   exec_prefix="$acl_final_exec_prefix"
27265   eval x=\"$x\"
27266   exec_prefix="$acl_save_exec_prefix"
27267   prefix="$acl_save_prefix"
27268
27269                           if test "X$x" = "X-L$additional_libdir"; then
27270                             haveit=yes
27271                             break
27272                           fi
27273                         done
27274                         if test -z "$haveit"; then
27275                           if test -d "$additional_libdir"; then
27276                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27277                           fi
27278                         fi
27279                         haveit=
27280                         for x in $LDFLAGS $LTLIBICONV; do
27281
27282   acl_save_prefix="$prefix"
27283   prefix="$acl_final_prefix"
27284   acl_save_exec_prefix="$exec_prefix"
27285   exec_prefix="$acl_final_exec_prefix"
27286   eval x=\"$x\"
27287   exec_prefix="$acl_save_exec_prefix"
27288   prefix="$acl_save_prefix"
27289
27290                           if test "X$x" = "X-L$additional_libdir"; then
27291                             haveit=yes
27292                             break
27293                           fi
27294                         done
27295                         if test -z "$haveit"; then
27296                           if test -d "$additional_libdir"; then
27297                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27298                           fi
27299                         fi
27300                       fi
27301                     fi
27302                     ;;
27303                   -R*)
27304                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
27305                     if test "$enable_rpath" != no; then
27306                                                                   haveit=
27307                       for x in $rpathdirs; do
27308                         if test "X$x" = "X$dir"; then
27309                           haveit=yes
27310                           break
27311                         fi
27312                       done
27313                       if test -z "$haveit"; then
27314                         rpathdirs="$rpathdirs $dir"
27315                       fi
27316                                                                   haveit=
27317                       for x in $ltrpathdirs; do
27318                         if test "X$x" = "X$dir"; then
27319                           haveit=yes
27320                           break
27321                         fi
27322                       done
27323                       if test -z "$haveit"; then
27324                         ltrpathdirs="$ltrpathdirs $dir"
27325                       fi
27326                     fi
27327                     ;;
27328                   -l*)
27329                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27330                     ;;
27331                   *.la)
27332                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27333                     ;;
27334                   *)
27335                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27336                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27337                     ;;
27338                 esac
27339               done
27340             fi
27341           else
27342                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27343             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27344           fi
27345         fi
27346       fi
27347     done
27348   done
27349   if test "X$rpathdirs" != "X"; then
27350     if test -n "$hardcode_libdir_separator"; then
27351                         alldirs=
27352       for found_dir in $rpathdirs; do
27353         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27354       done
27355             acl_save_libdir="$libdir"
27356       libdir="$alldirs"
27357       eval flag=\"$hardcode_libdir_flag_spec\"
27358       libdir="$acl_save_libdir"
27359       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27360     else
27361             for found_dir in $rpathdirs; do
27362         acl_save_libdir="$libdir"
27363         libdir="$found_dir"
27364         eval flag=\"$hardcode_libdir_flag_spec\"
27365         libdir="$acl_save_libdir"
27366         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27367       done
27368     fi
27369   fi
27370   if test "X$ltrpathdirs" != "X"; then
27371             for found_dir in $ltrpathdirs; do
27372       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27373     done
27374   fi
27375
27376
27377
27378
27379
27380
27381
27382           am_save_CPPFLAGS="$CPPFLAGS"
27383
27384   for element in $INCICONV; do
27385     haveit=
27386     for x in $CPPFLAGS; do
27387
27388   acl_save_prefix="$prefix"
27389   prefix="$acl_final_prefix"
27390   acl_save_exec_prefix="$exec_prefix"
27391   exec_prefix="$acl_final_exec_prefix"
27392   eval x=\"$x\"
27393   exec_prefix="$acl_save_exec_prefix"
27394   prefix="$acl_save_prefix"
27395
27396       if test "X$x" = "X$element"; then
27397         haveit=yes
27398         break
27399       fi
27400     done
27401     if test -z "$haveit"; then
27402       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27403     fi
27404   done
27405
27406
27407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27408 $as_echo_n "checking for iconv... " >&6; }
27409 if test "${am_cv_func_iconv+set}" = set; then :
27410   $as_echo_n "(cached) " >&6
27411 else
27412
27413     am_cv_func_iconv="no, consider installing GNU libiconv"
27414     am_cv_lib_iconv=no
27415     if test x$gcc_no_link = xyes; then
27416   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27417 fi
27418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27419 /* end confdefs.h.  */
27420 #include <stdlib.h>
27421 #include <iconv.h>
27422 int
27423 main ()
27424 {
27425 iconv_t cd = iconv_open("","");
27426        iconv(cd,NULL,NULL,NULL,NULL);
27427        iconv_close(cd);
27428   ;
27429   return 0;
27430 }
27431 _ACEOF
27432 if ac_fn_c_try_link "$LINENO"; then :
27433   am_cv_func_iconv=yes
27434 fi
27435 rm -f core conftest.err conftest.$ac_objext \
27436     conftest$ac_exeext conftest.$ac_ext
27437     if test "$am_cv_func_iconv" != yes; then
27438       am_save_LIBS="$LIBS"
27439       LIBS="$LIBS $LIBICONV"
27440       if test x$gcc_no_link = xyes; then
27441   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27442 fi
27443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27444 /* end confdefs.h.  */
27445 #include <stdlib.h>
27446 #include <iconv.h>
27447 int
27448 main ()
27449 {
27450 iconv_t cd = iconv_open("","");
27451          iconv(cd,NULL,NULL,NULL,NULL);
27452          iconv_close(cd);
27453   ;
27454   return 0;
27455 }
27456 _ACEOF
27457 if ac_fn_c_try_link "$LINENO"; then :
27458   am_cv_lib_iconv=yes
27459         am_cv_func_iconv=yes
27460 fi
27461 rm -f core conftest.err conftest.$ac_objext \
27462     conftest$ac_exeext conftest.$ac_ext
27463       LIBS="$am_save_LIBS"
27464     fi
27465
27466 fi
27467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27468 $as_echo "$am_cv_func_iconv" >&6; }
27469   if test "$am_cv_func_iconv" = yes; then
27470
27471 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27472
27473   fi
27474   if test "$am_cv_lib_iconv" = yes; then
27475     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27476 $as_echo_n "checking how to link with libiconv... " >&6; }
27477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27478 $as_echo "$LIBICONV" >&6; }
27479   else
27480             CPPFLAGS="$am_save_CPPFLAGS"
27481     LIBICONV=
27482     LTLIBICONV=
27483   fi
27484
27485
27486
27487   if test "$am_cv_func_iconv" = yes; then
27488     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27489 $as_echo_n "checking for iconv declaration... " >&6; }
27490     if test "${am_cv_proto_iconv+set}" = set; then :
27491   $as_echo_n "(cached) " >&6
27492 else
27493
27494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27495 /* end confdefs.h.  */
27496
27497 #include <stdlib.h>
27498 #include <iconv.h>
27499 extern
27500 #ifdef __cplusplus
27501 "C"
27502 #endif
27503 #if defined(__STDC__) || defined(__cplusplus)
27504 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27505 #else
27506 size_t iconv();
27507 #endif
27508
27509 int
27510 main ()
27511 {
27512
27513   ;
27514   return 0;
27515 }
27516 _ACEOF
27517 if ac_fn_c_try_compile "$LINENO"; then :
27518   am_cv_proto_iconv_arg1=""
27519 else
27520   am_cv_proto_iconv_arg1="const"
27521 fi
27522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27523       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);"
27524 fi
27525
27526     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27527     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27528          }$am_cv_proto_iconv" >&5
27529 $as_echo "${ac_t:-
27530          }$am_cv_proto_iconv" >&6; }
27531
27532 cat >>confdefs.h <<_ACEOF
27533 #define ICONV_CONST $am_cv_proto_iconv_arg1
27534 _ACEOF
27535
27536   fi
27537
27538
27539 else
27540
27541   # This lets us hard-code the functionality we know we'll have in the cross
27542   # target environment.  "Let" is a sugar-coated word placed on an especially
27543   # dull and tedious hack, actually.
27544   #
27545   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27546   # that involve linking, can't be used:
27547   #    "cannot open sim-crt0.o"
27548   #    "cannot open crt0.o"
27549   # etc.  All this is because there currently exists no unified, consistent
27550   # way for top level CC information to be passed down to target directories:
27551   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27552   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27553   # crosses can be removed.
27554
27555   # If Canadian cross, then don't pick up tools from the build directory.
27556   # Used only in GLIBCXX_EXPORT_INCLUDES.
27557   if test -n "$with_cross_host" &&
27558      test x"$build_alias" != x"$with_cross_host" &&
27559      test x"$build" != x"$target";
27560   then
27561     CANADIAN=yes
27562   else
27563     CANADIAN=no
27564   fi
27565
27566   # Construct crosses by hand, eliminating bits that need ld...
27567   # GLIBCXX_CHECK_MATH_SUPPORT
27568
27569   # First, test for "known" system libraries.  We may be using newlib even
27570   # on a hosted environment.
27571   if test "x${with_newlib}" = "xyes"; then
27572     os_include_dir="os/newlib"
27573     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27574
27575
27576     # GLIBCXX_CHECK_STDLIB_SUPPORT
27577     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27578
27579
27580     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27581
27582     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27583
27584     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27585
27586     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27587
27588     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27589
27590     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27591
27592     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27593
27594     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27595
27596     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27597
27598     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27599
27600     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27601
27602     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27603
27604     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27605
27606     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27607
27608     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27609
27610     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27611
27612     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27613
27614     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27615
27616     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27617
27618     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27619
27620     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27621
27622     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27623
27624
27625     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27626
27627   else
27628
27629 # Base decisions on target environment.
27630 case "${host}" in
27631   arm*-*-symbianelf*)
27632     # This is a freestanding configuration; there is nothing to do here.
27633     ;;
27634
27635   mips*-sde-elf*)
27636     # These definitions are for the SDE C library rather than newlib.
27637     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27638
27639
27640   # All these tests are for C++; save the language and the compiler flags.
27641   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27642   # found in GLIBCXX_CONFIGURE.
27643
27644   ac_ext=cpp
27645 ac_cpp='$CXXCPP $CPPFLAGS'
27646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27649
27650   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27651   ac_save_CXXFLAGS="$CXXFLAGS"
27652
27653   # Check for maintainer-mode bits.
27654   if test x"$USE_MAINTAINER_MODE" = xno; then
27655     WERROR=''
27656   else
27657     WERROR='-Werror'
27658   fi
27659
27660   # Check for -ffunction-sections -fdata-sections
27661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27662 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27663   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27665 /* end confdefs.h.  */
27666 int foo; void bar() { };
27667 int
27668 main ()
27669 {
27670
27671   ;
27672   return 0;
27673 }
27674 _ACEOF
27675 if ac_fn_cxx_try_compile "$LINENO"; then :
27676   ac_fdsections=yes
27677 else
27678   ac_fdsections=no
27679 fi
27680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27681   if test "$ac_test_CXXFLAGS" = set; then
27682     CXXFLAGS="$ac_save_CXXFLAGS"
27683   else
27684     # this is the suspicious part
27685     CXXFLAGS=''
27686   fi
27687   if test x"$ac_fdsections" = x"yes"; then
27688     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27689   fi
27690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27691 $as_echo "$ac_fdsections" >&6; }
27692
27693   ac_ext=c
27694 ac_cpp='$CPP $CPPFLAGS'
27695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27698
27699
27700
27701
27702
27703   # If we're not using GNU ld, then there's no point in even trying these
27704   # tests.  Check for that first.  We should have already tested for gld
27705   # by now (in libtool), but require it now just to be safe...
27706   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27707   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27708
27709
27710
27711   # The name set by libtool depends on the version of libtool.  Shame on us
27712   # for depending on an impl detail, but c'est la vie.  Older versions used
27713   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27714   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27715   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27716   # set (hence we're using an older libtool), then set it.
27717   if test x${with_gnu_ld+set} != xset; then
27718     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27719       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27720       with_gnu_ld=no
27721     else
27722       with_gnu_ld=$ac_cv_prog_gnu_ld
27723     fi
27724   fi
27725
27726   # Start by getting the version number.  I think the libtool test already
27727   # does some of this, but throws away the result.
27728   glibcxx_ld_is_gold=no
27729   if test x"$with_gnu_ld" = x"yes"; then
27730     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27731 $as_echo_n "checking for ld version... " >&6; }
27732
27733     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27734       glibcxx_ld_is_gold=yes
27735     fi
27736     ldver=`$LD --version 2>/dev/null |
27737            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'`
27738
27739     glibcxx_gnu_ld_version=`echo $ldver | \
27740            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27741     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27742 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27743   fi
27744
27745   # Set --gc-sections.
27746   glibcxx_have_gc_sections=no
27747   if test "$glibcxx_ld_is_gold" = "yes"; then
27748     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27749       glibcxx_have_gc_sections=yes
27750     fi
27751   else
27752     glibcxx_gcsections_min_ld=21602
27753     if test x"$with_gnu_ld" = x"yes" &&
27754         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27755       glibcxx_have_gc_sections=yes
27756     fi
27757   fi
27758   if test "$glibcxx_have_gc_sections" = "yes"; then
27759     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27760     # NB: This flag only works reliably after 2.16.1. Configure tests
27761     # for this are difficult, so hard wire a value that should work.
27762
27763     ac_test_CFLAGS="${CFLAGS+set}"
27764     ac_save_CFLAGS="$CFLAGS"
27765     CFLAGS='-Wl,--gc-sections'
27766
27767     # Check for -Wl,--gc-sections
27768     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27769 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27770     if test x$gcc_no_link = xyes; then
27771   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27772 fi
27773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27774 /* end confdefs.h.  */
27775  int one(void) { return 1; }
27776      int two(void) { return 2; }
27777
27778 int
27779 main ()
27780 {
27781  two();
27782   ;
27783   return 0;
27784 }
27785 _ACEOF
27786 if ac_fn_c_try_link "$LINENO"; then :
27787   ac_gcsections=yes
27788 else
27789   ac_gcsections=no
27790 fi
27791 rm -f core conftest.err conftest.$ac_objext \
27792     conftest$ac_exeext conftest.$ac_ext
27793     if test "$ac_gcsections" = "yes"; then
27794       rm -f conftest.c
27795       touch conftest.c
27796       if $CC -c conftest.c; then
27797         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27798            grep "Warning: gc-sections option ignored" > /dev/null; then
27799           ac_gcsections=no
27800         fi
27801       fi
27802       rm -f conftest.c conftest.o conftest
27803     fi
27804     if test "$ac_gcsections" = "yes"; then
27805       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27806     fi
27807     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27808 $as_echo "$ac_gcsections" >&6; }
27809
27810     if test "$ac_test_CFLAGS" = set; then
27811       CFLAGS="$ac_save_CFLAGS"
27812     else
27813       # this is the suspicious part
27814       CFLAGS=''
27815     fi
27816   fi
27817
27818   # Set -z,relro.
27819   # Note this is only for shared objects.
27820   ac_ld_relro=no
27821   if test x"$with_gnu_ld" = x"yes"; then
27822     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27823 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27824     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27825     if test -n "$cxx_z_relo"; then
27826       OPT_LDFLAGS="-Wl,-z,relro"
27827       ac_ld_relro=yes
27828     fi
27829     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27830 $as_echo "$ac_ld_relro" >&6; }
27831   fi
27832
27833   # Set linker optimization flags.
27834   if test x"$with_gnu_ld" = x"yes"; then
27835     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27836   fi
27837
27838
27839
27840
27841
27842   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27843   ac_save_CXXFLAGS="$CXXFLAGS"
27844   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27845
27846     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27847 $as_echo_n "checking for sin in -lm... " >&6; }
27848 if test "${ac_cv_lib_m_sin+set}" = set; then :
27849   $as_echo_n "(cached) " >&6
27850 else
27851   ac_check_lib_save_LIBS=$LIBS
27852 LIBS="-lm  $LIBS"
27853 if test x$gcc_no_link = xyes; then
27854   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27855 fi
27856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27857 /* end confdefs.h.  */
27858
27859 /* Override any GCC internal prototype to avoid an error.
27860    Use char because int might match the return type of a GCC
27861    builtin and then its argument prototype would still apply.  */
27862 #ifdef __cplusplus
27863 extern "C"
27864 #endif
27865 char sin ();
27866 int
27867 main ()
27868 {
27869 return sin ();
27870   ;
27871   return 0;
27872 }
27873 _ACEOF
27874 if ac_fn_c_try_link "$LINENO"; then :
27875   ac_cv_lib_m_sin=yes
27876 else
27877   ac_cv_lib_m_sin=no
27878 fi
27879 rm -f core conftest.err conftest.$ac_objext \
27880     conftest$ac_exeext conftest.$ac_ext
27881 LIBS=$ac_check_lib_save_LIBS
27882 fi
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27884 $as_echo "$ac_cv_lib_m_sin" >&6; }
27885 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27886   libm="-lm"
27887 fi
27888
27889   ac_save_LIBS="$LIBS"
27890   LIBS="$LIBS $libm"
27891
27892
27893
27894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27895 $as_echo_n "checking for isinf declaration... " >&6; }
27896   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27897     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27898   $as_echo_n "(cached) " >&6
27899 else
27900
27901
27902       ac_ext=cpp
27903 ac_cpp='$CXXCPP $CPPFLAGS'
27904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27907
27908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27909 /* end confdefs.h.  */
27910 #include <math.h>
27911                       #ifdef HAVE_IEEEFP_H
27912                       #include <ieeefp.h>
27913                       #endif
27914
27915 int
27916 main ()
27917 {
27918  isinf(0);
27919   ;
27920   return 0;
27921 }
27922 _ACEOF
27923 if ac_fn_cxx_try_compile "$LINENO"; then :
27924   glibcxx_cv_func_isinf_use=yes
27925 else
27926   glibcxx_cv_func_isinf_use=no
27927 fi
27928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27929       ac_ext=c
27930 ac_cpp='$CPP $CPPFLAGS'
27931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27934
27935
27936 fi
27937
27938   fi
27939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27940 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27941
27942   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27943     for ac_func in isinf
27944 do :
27945   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27946 if test "x$ac_cv_func_isinf" = x""yes; then :
27947   cat >>confdefs.h <<_ACEOF
27948 #define HAVE_ISINF 1
27949 _ACEOF
27950
27951 fi
27952 done
27953
27954   else
27955
27956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27957 $as_echo_n "checking for _isinf declaration... " >&6; }
27958   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27959     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27960   $as_echo_n "(cached) " >&6
27961 else
27962
27963
27964       ac_ext=cpp
27965 ac_cpp='$CXXCPP $CPPFLAGS'
27966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27969
27970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27971 /* end confdefs.h.  */
27972 #include <math.h>
27973                       #ifdef HAVE_IEEEFP_H
27974                       #include <ieeefp.h>
27975                       #endif
27976
27977 int
27978 main ()
27979 {
27980  _isinf(0);
27981   ;
27982   return 0;
27983 }
27984 _ACEOF
27985 if ac_fn_cxx_try_compile "$LINENO"; then :
27986   glibcxx_cv_func__isinf_use=yes
27987 else
27988   glibcxx_cv_func__isinf_use=no
27989 fi
27990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27991       ac_ext=c
27992 ac_cpp='$CPP $CPPFLAGS'
27993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27996
27997
27998 fi
27999
28000   fi
28001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28002 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28003
28004     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28005       for ac_func in _isinf
28006 do :
28007   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28008 if test "x$ac_cv_func__isinf" = x""yes; then :
28009   cat >>confdefs.h <<_ACEOF
28010 #define HAVE__ISINF 1
28011 _ACEOF
28012
28013 fi
28014 done
28015
28016     fi
28017   fi
28018
28019
28020
28021
28022
28023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28024 $as_echo_n "checking for isnan declaration... " >&6; }
28025   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28026     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28027   $as_echo_n "(cached) " >&6
28028 else
28029
28030
28031       ac_ext=cpp
28032 ac_cpp='$CXXCPP $CPPFLAGS'
28033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28036
28037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28038 /* end confdefs.h.  */
28039 #include <math.h>
28040                       #ifdef HAVE_IEEEFP_H
28041                       #include <ieeefp.h>
28042                       #endif
28043
28044 int
28045 main ()
28046 {
28047  isnan(0);
28048   ;
28049   return 0;
28050 }
28051 _ACEOF
28052 if ac_fn_cxx_try_compile "$LINENO"; then :
28053   glibcxx_cv_func_isnan_use=yes
28054 else
28055   glibcxx_cv_func_isnan_use=no
28056 fi
28057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28058       ac_ext=c
28059 ac_cpp='$CPP $CPPFLAGS'
28060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28063
28064
28065 fi
28066
28067   fi
28068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28069 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28070
28071   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28072     for ac_func in isnan
28073 do :
28074   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28075 if test "x$ac_cv_func_isnan" = x""yes; then :
28076   cat >>confdefs.h <<_ACEOF
28077 #define HAVE_ISNAN 1
28078 _ACEOF
28079
28080 fi
28081 done
28082
28083   else
28084
28085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28086 $as_echo_n "checking for _isnan declaration... " >&6; }
28087   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28088     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28089   $as_echo_n "(cached) " >&6
28090 else
28091
28092
28093       ac_ext=cpp
28094 ac_cpp='$CXXCPP $CPPFLAGS'
28095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28098
28099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28100 /* end confdefs.h.  */
28101 #include <math.h>
28102                       #ifdef HAVE_IEEEFP_H
28103                       #include <ieeefp.h>
28104                       #endif
28105
28106 int
28107 main ()
28108 {
28109  _isnan(0);
28110   ;
28111   return 0;
28112 }
28113 _ACEOF
28114 if ac_fn_cxx_try_compile "$LINENO"; then :
28115   glibcxx_cv_func__isnan_use=yes
28116 else
28117   glibcxx_cv_func__isnan_use=no
28118 fi
28119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28120       ac_ext=c
28121 ac_cpp='$CPP $CPPFLAGS'
28122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28125
28126
28127 fi
28128
28129   fi
28130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28131 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28132
28133     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28134       for ac_func in _isnan
28135 do :
28136   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28137 if test "x$ac_cv_func__isnan" = x""yes; then :
28138   cat >>confdefs.h <<_ACEOF
28139 #define HAVE__ISNAN 1
28140 _ACEOF
28141
28142 fi
28143 done
28144
28145     fi
28146   fi
28147
28148
28149
28150
28151
28152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28153 $as_echo_n "checking for finite declaration... " >&6; }
28154   if test x${glibcxx_cv_func_finite_use+set} != xset; then
28155     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28156   $as_echo_n "(cached) " >&6
28157 else
28158
28159
28160       ac_ext=cpp
28161 ac_cpp='$CXXCPP $CPPFLAGS'
28162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28165
28166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28167 /* end confdefs.h.  */
28168 #include <math.h>
28169                       #ifdef HAVE_IEEEFP_H
28170                       #include <ieeefp.h>
28171                       #endif
28172
28173 int
28174 main ()
28175 {
28176  finite(0);
28177   ;
28178   return 0;
28179 }
28180 _ACEOF
28181 if ac_fn_cxx_try_compile "$LINENO"; then :
28182   glibcxx_cv_func_finite_use=yes
28183 else
28184   glibcxx_cv_func_finite_use=no
28185 fi
28186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28187       ac_ext=c
28188 ac_cpp='$CPP $CPPFLAGS'
28189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28192
28193
28194 fi
28195
28196   fi
28197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28198 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28199
28200   if test x$glibcxx_cv_func_finite_use = x"yes"; then
28201     for ac_func in finite
28202 do :
28203   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28204 if test "x$ac_cv_func_finite" = x""yes; then :
28205   cat >>confdefs.h <<_ACEOF
28206 #define HAVE_FINITE 1
28207 _ACEOF
28208
28209 fi
28210 done
28211
28212   else
28213
28214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28215 $as_echo_n "checking for _finite declaration... " >&6; }
28216   if test x${glibcxx_cv_func__finite_use+set} != xset; then
28217     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28218   $as_echo_n "(cached) " >&6
28219 else
28220
28221
28222       ac_ext=cpp
28223 ac_cpp='$CXXCPP $CPPFLAGS'
28224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28227
28228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28229 /* end confdefs.h.  */
28230 #include <math.h>
28231                       #ifdef HAVE_IEEEFP_H
28232                       #include <ieeefp.h>
28233                       #endif
28234
28235 int
28236 main ()
28237 {
28238  _finite(0);
28239   ;
28240   return 0;
28241 }
28242 _ACEOF
28243 if ac_fn_cxx_try_compile "$LINENO"; then :
28244   glibcxx_cv_func__finite_use=yes
28245 else
28246   glibcxx_cv_func__finite_use=no
28247 fi
28248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28249       ac_ext=c
28250 ac_cpp='$CPP $CPPFLAGS'
28251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28254
28255
28256 fi
28257
28258   fi
28259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28260 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28261
28262     if test x$glibcxx_cv_func__finite_use = x"yes"; then
28263       for ac_func in _finite
28264 do :
28265   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28266 if test "x$ac_cv_func__finite" = x""yes; then :
28267   cat >>confdefs.h <<_ACEOF
28268 #define HAVE__FINITE 1
28269 _ACEOF
28270
28271 fi
28272 done
28273
28274     fi
28275   fi
28276
28277
28278
28279
28280
28281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28282 $as_echo_n "checking for sincos declaration... " >&6; }
28283   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28284     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28285   $as_echo_n "(cached) " >&6
28286 else
28287
28288
28289       ac_ext=cpp
28290 ac_cpp='$CXXCPP $CPPFLAGS'
28291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28294
28295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28296 /* end confdefs.h.  */
28297 #include <math.h>
28298 int
28299 main ()
28300 {
28301  sincos(0, 0, 0);
28302   ;
28303   return 0;
28304 }
28305 _ACEOF
28306 if ac_fn_cxx_try_compile "$LINENO"; then :
28307   glibcxx_cv_func_sincos_use=yes
28308 else
28309   glibcxx_cv_func_sincos_use=no
28310 fi
28311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28312       ac_ext=c
28313 ac_cpp='$CPP $CPPFLAGS'
28314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28317
28318
28319 fi
28320
28321   fi
28322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28323 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28324
28325   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28326     for ac_func in sincos
28327 do :
28328   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28329 if test "x$ac_cv_func_sincos" = x""yes; then :
28330   cat >>confdefs.h <<_ACEOF
28331 #define HAVE_SINCOS 1
28332 _ACEOF
28333
28334 fi
28335 done
28336
28337   else
28338
28339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28340 $as_echo_n "checking for _sincos declaration... " >&6; }
28341   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28342     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28343   $as_echo_n "(cached) " >&6
28344 else
28345
28346
28347       ac_ext=cpp
28348 ac_cpp='$CXXCPP $CPPFLAGS'
28349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28352
28353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28354 /* end confdefs.h.  */
28355 #include <math.h>
28356 int
28357 main ()
28358 {
28359  _sincos(0, 0, 0);
28360   ;
28361   return 0;
28362 }
28363 _ACEOF
28364 if ac_fn_cxx_try_compile "$LINENO"; then :
28365   glibcxx_cv_func__sincos_use=yes
28366 else
28367   glibcxx_cv_func__sincos_use=no
28368 fi
28369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28370       ac_ext=c
28371 ac_cpp='$CPP $CPPFLAGS'
28372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28375
28376
28377 fi
28378
28379   fi
28380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28381 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28382
28383     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28384       for ac_func in _sincos
28385 do :
28386   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28387 if test "x$ac_cv_func__sincos" = x""yes; then :
28388   cat >>confdefs.h <<_ACEOF
28389 #define HAVE__SINCOS 1
28390 _ACEOF
28391
28392 fi
28393 done
28394
28395     fi
28396   fi
28397
28398
28399
28400
28401
28402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28403 $as_echo_n "checking for fpclass declaration... " >&6; }
28404   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28405     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28406   $as_echo_n "(cached) " >&6
28407 else
28408
28409
28410       ac_ext=cpp
28411 ac_cpp='$CXXCPP $CPPFLAGS'
28412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28415
28416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28417 /* end confdefs.h.  */
28418 #include <math.h>
28419                       #ifdef HAVE_IEEEFP_H
28420                       #include <ieeefp.h>
28421                       #endif
28422
28423 int
28424 main ()
28425 {
28426  fpclass(0);
28427   ;
28428   return 0;
28429 }
28430 _ACEOF
28431 if ac_fn_cxx_try_compile "$LINENO"; then :
28432   glibcxx_cv_func_fpclass_use=yes
28433 else
28434   glibcxx_cv_func_fpclass_use=no
28435 fi
28436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28437       ac_ext=c
28438 ac_cpp='$CPP $CPPFLAGS'
28439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28442
28443
28444 fi
28445
28446   fi
28447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28448 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28449
28450   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28451     for ac_func in fpclass
28452 do :
28453   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28454 if test "x$ac_cv_func_fpclass" = x""yes; then :
28455   cat >>confdefs.h <<_ACEOF
28456 #define HAVE_FPCLASS 1
28457 _ACEOF
28458
28459 fi
28460 done
28461
28462   else
28463
28464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28465 $as_echo_n "checking for _fpclass declaration... " >&6; }
28466   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28467     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28468   $as_echo_n "(cached) " >&6
28469 else
28470
28471
28472       ac_ext=cpp
28473 ac_cpp='$CXXCPP $CPPFLAGS'
28474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28477
28478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28479 /* end confdefs.h.  */
28480 #include <math.h>
28481                       #ifdef HAVE_IEEEFP_H
28482                       #include <ieeefp.h>
28483                       #endif
28484
28485 int
28486 main ()
28487 {
28488  _fpclass(0);
28489   ;
28490   return 0;
28491 }
28492 _ACEOF
28493 if ac_fn_cxx_try_compile "$LINENO"; then :
28494   glibcxx_cv_func__fpclass_use=yes
28495 else
28496   glibcxx_cv_func__fpclass_use=no
28497 fi
28498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28499       ac_ext=c
28500 ac_cpp='$CPP $CPPFLAGS'
28501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28504
28505
28506 fi
28507
28508   fi
28509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28510 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28511
28512     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28513       for ac_func in _fpclass
28514 do :
28515   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28516 if test "x$ac_cv_func__fpclass" = x""yes; then :
28517   cat >>confdefs.h <<_ACEOF
28518 #define HAVE__FPCLASS 1
28519 _ACEOF
28520
28521 fi
28522 done
28523
28524     fi
28525   fi
28526
28527
28528
28529
28530
28531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28532 $as_echo_n "checking for qfpclass declaration... " >&6; }
28533   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28534     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28535   $as_echo_n "(cached) " >&6
28536 else
28537
28538
28539       ac_ext=cpp
28540 ac_cpp='$CXXCPP $CPPFLAGS'
28541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28544
28545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28546 /* end confdefs.h.  */
28547 #include <math.h>
28548                       #ifdef HAVE_IEEEFP_H
28549                       #include <ieeefp.h>
28550                       #endif
28551
28552 int
28553 main ()
28554 {
28555  qfpclass(0);
28556   ;
28557   return 0;
28558 }
28559 _ACEOF
28560 if ac_fn_cxx_try_compile "$LINENO"; then :
28561   glibcxx_cv_func_qfpclass_use=yes
28562 else
28563   glibcxx_cv_func_qfpclass_use=no
28564 fi
28565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28566       ac_ext=c
28567 ac_cpp='$CPP $CPPFLAGS'
28568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28571
28572
28573 fi
28574
28575   fi
28576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28577 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28578
28579   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28580     for ac_func in qfpclass
28581 do :
28582   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28583 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28584   cat >>confdefs.h <<_ACEOF
28585 #define HAVE_QFPCLASS 1
28586 _ACEOF
28587
28588 fi
28589 done
28590
28591   else
28592
28593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28594 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28595   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28596     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28597   $as_echo_n "(cached) " >&6
28598 else
28599
28600
28601       ac_ext=cpp
28602 ac_cpp='$CXXCPP $CPPFLAGS'
28603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28606
28607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28608 /* end confdefs.h.  */
28609 #include <math.h>
28610                       #ifdef HAVE_IEEEFP_H
28611                       #include <ieeefp.h>
28612                       #endif
28613
28614 int
28615 main ()
28616 {
28617  _qfpclass(0);
28618   ;
28619   return 0;
28620 }
28621 _ACEOF
28622 if ac_fn_cxx_try_compile "$LINENO"; then :
28623   glibcxx_cv_func__qfpclass_use=yes
28624 else
28625   glibcxx_cv_func__qfpclass_use=no
28626 fi
28627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28628       ac_ext=c
28629 ac_cpp='$CPP $CPPFLAGS'
28630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28633
28634
28635 fi
28636
28637   fi
28638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28639 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28640
28641     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28642       for ac_func in _qfpclass
28643 do :
28644   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28645 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28646   cat >>confdefs.h <<_ACEOF
28647 #define HAVE__QFPCLASS 1
28648 _ACEOF
28649
28650 fi
28651 done
28652
28653     fi
28654   fi
28655
28656
28657
28658
28659
28660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28661 $as_echo_n "checking for hypot declaration... " >&6; }
28662   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28663     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28664   $as_echo_n "(cached) " >&6
28665 else
28666
28667
28668       ac_ext=cpp
28669 ac_cpp='$CXXCPP $CPPFLAGS'
28670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28673
28674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28675 /* end confdefs.h.  */
28676 #include <math.h>
28677 int
28678 main ()
28679 {
28680  hypot(0, 0);
28681   ;
28682   return 0;
28683 }
28684 _ACEOF
28685 if ac_fn_cxx_try_compile "$LINENO"; then :
28686   glibcxx_cv_func_hypot_use=yes
28687 else
28688   glibcxx_cv_func_hypot_use=no
28689 fi
28690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28691       ac_ext=c
28692 ac_cpp='$CPP $CPPFLAGS'
28693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28696
28697
28698 fi
28699
28700   fi
28701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28702 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28703
28704   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28705     for ac_func in hypot
28706 do :
28707   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28708 if test "x$ac_cv_func_hypot" = x""yes; then :
28709   cat >>confdefs.h <<_ACEOF
28710 #define HAVE_HYPOT 1
28711 _ACEOF
28712
28713 fi
28714 done
28715
28716   else
28717
28718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28719 $as_echo_n "checking for _hypot declaration... " >&6; }
28720   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28721     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28722   $as_echo_n "(cached) " >&6
28723 else
28724
28725
28726       ac_ext=cpp
28727 ac_cpp='$CXXCPP $CPPFLAGS'
28728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28731
28732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28733 /* end confdefs.h.  */
28734 #include <math.h>
28735 int
28736 main ()
28737 {
28738  _hypot(0, 0);
28739   ;
28740   return 0;
28741 }
28742 _ACEOF
28743 if ac_fn_cxx_try_compile "$LINENO"; then :
28744   glibcxx_cv_func__hypot_use=yes
28745 else
28746   glibcxx_cv_func__hypot_use=no
28747 fi
28748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28749       ac_ext=c
28750 ac_cpp='$CPP $CPPFLAGS'
28751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28754
28755
28756 fi
28757
28758   fi
28759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28760 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28761
28762     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28763       for ac_func in _hypot
28764 do :
28765   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28766 if test "x$ac_cv_func__hypot" = x""yes; then :
28767   cat >>confdefs.h <<_ACEOF
28768 #define HAVE__HYPOT 1
28769 _ACEOF
28770
28771 fi
28772 done
28773
28774     fi
28775   fi
28776
28777
28778
28779
28780
28781     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28782 $as_echo_n "checking for float trig functions... " >&6; }
28783   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28784   $as_echo_n "(cached) " >&6
28785 else
28786
28787
28788     ac_ext=cpp
28789 ac_cpp='$CXXCPP $CPPFLAGS'
28790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28793
28794     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28795 /* end confdefs.h.  */
28796 #include <math.h>
28797 int
28798 main ()
28799 {
28800 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28801   ;
28802   return 0;
28803 }
28804 _ACEOF
28805 if ac_fn_cxx_try_compile "$LINENO"; then :
28806   glibcxx_cv_func_float_trig_use=yes
28807 else
28808   glibcxx_cv_func_float_trig_use=no
28809 fi
28810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28811     ac_ext=c
28812 ac_cpp='$CPP $CPPFLAGS'
28813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28816
28817 fi
28818
28819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28820 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28821   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28822     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28823 do :
28824   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28825 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28826 eval as_val=\$$as_ac_var
28827    if test "x$as_val" = x""yes; then :
28828   cat >>confdefs.h <<_ACEOF
28829 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28830 _ACEOF
28831
28832 fi
28833 done
28834
28835   else
28836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28837 $as_echo_n "checking for _float trig functions... " >&6; }
28838     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28839   $as_echo_n "(cached) " >&6
28840 else
28841
28842
28843       ac_ext=cpp
28844 ac_cpp='$CXXCPP $CPPFLAGS'
28845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28848
28849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28850 /* end confdefs.h.  */
28851 #include <math.h>
28852 int
28853 main ()
28854 {
28855 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28856   ;
28857   return 0;
28858 }
28859 _ACEOF
28860 if ac_fn_cxx_try_compile "$LINENO"; then :
28861   glibcxx_cv_func__float_trig_use=yes
28862 else
28863   glibcxx_cv_func__float_trig_use=no
28864 fi
28865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28866       ac_ext=c
28867 ac_cpp='$CPP $CPPFLAGS'
28868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28871
28872 fi
28873
28874     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28875 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28876     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28877       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28878 do :
28879   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28881 eval as_val=\$$as_ac_var
28882    if test "x$as_val" = x""yes; then :
28883   cat >>confdefs.h <<_ACEOF
28884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28885 _ACEOF
28886
28887 fi
28888 done
28889
28890     fi
28891   fi
28892
28893
28894
28895
28896
28897     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28898 $as_echo_n "checking for float round functions... " >&6; }
28899   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28900   $as_echo_n "(cached) " >&6
28901 else
28902
28903
28904     ac_ext=cpp
28905 ac_cpp='$CXXCPP $CPPFLAGS'
28906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28909
28910     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28911 /* end confdefs.h.  */
28912 #include <math.h>
28913 int
28914 main ()
28915 {
28916 ceilf (0); floorf (0);
28917   ;
28918   return 0;
28919 }
28920 _ACEOF
28921 if ac_fn_cxx_try_compile "$LINENO"; then :
28922   glibcxx_cv_func_float_round_use=yes
28923 else
28924   glibcxx_cv_func_float_round_use=no
28925 fi
28926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28927     ac_ext=c
28928 ac_cpp='$CPP $CPPFLAGS'
28929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28932
28933 fi
28934
28935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28936 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28937   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28938     for ac_func in ceilf floorf
28939 do :
28940   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28942 eval as_val=\$$as_ac_var
28943    if test "x$as_val" = x""yes; then :
28944   cat >>confdefs.h <<_ACEOF
28945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28946 _ACEOF
28947
28948 fi
28949 done
28950
28951   else
28952     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28953 $as_echo_n "checking for _float round functions... " >&6; }
28954     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28955   $as_echo_n "(cached) " >&6
28956 else
28957
28958
28959       ac_ext=cpp
28960 ac_cpp='$CXXCPP $CPPFLAGS'
28961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28964
28965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28966 /* end confdefs.h.  */
28967 #include <math.h>
28968 int
28969 main ()
28970 {
28971 _ceilf (0); _floorf (0);
28972   ;
28973   return 0;
28974 }
28975 _ACEOF
28976 if ac_fn_cxx_try_compile "$LINENO"; then :
28977   glibcxx_cv_func__float_round_use=yes
28978 else
28979   glibcxx_cv_func__float_round_use=no
28980 fi
28981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28982       ac_ext=c
28983 ac_cpp='$CPP $CPPFLAGS'
28984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28987
28988 fi
28989
28990     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28991 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28992     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28993       for ac_func in _ceilf _floorf
28994 do :
28995   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28997 eval as_val=\$$as_ac_var
28998    if test "x$as_val" = x""yes; then :
28999   cat >>confdefs.h <<_ACEOF
29000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29001 _ACEOF
29002
29003 fi
29004 done
29005
29006     fi
29007   fi
29008
29009
29010
29011
29012
29013
29014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29015 $as_echo_n "checking for expf declaration... " >&6; }
29016   if test x${glibcxx_cv_func_expf_use+set} != xset; then
29017     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29018   $as_echo_n "(cached) " >&6
29019 else
29020
29021
29022       ac_ext=cpp
29023 ac_cpp='$CXXCPP $CPPFLAGS'
29024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29027
29028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29029 /* end confdefs.h.  */
29030 #include <math.h>
29031                       #ifdef HAVE_IEEEFP_H
29032                       #include <ieeefp.h>
29033                       #endif
29034
29035 int
29036 main ()
29037 {
29038  expf(0);
29039   ;
29040   return 0;
29041 }
29042 _ACEOF
29043 if ac_fn_cxx_try_compile "$LINENO"; then :
29044   glibcxx_cv_func_expf_use=yes
29045 else
29046   glibcxx_cv_func_expf_use=no
29047 fi
29048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29049       ac_ext=c
29050 ac_cpp='$CPP $CPPFLAGS'
29051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29054
29055
29056 fi
29057
29058   fi
29059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29060 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29061
29062   if test x$glibcxx_cv_func_expf_use = x"yes"; then
29063     for ac_func in expf
29064 do :
29065   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29066 if test "x$ac_cv_func_expf" = x""yes; then :
29067   cat >>confdefs.h <<_ACEOF
29068 #define HAVE_EXPF 1
29069 _ACEOF
29070
29071 fi
29072 done
29073
29074   else
29075
29076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29077 $as_echo_n "checking for _expf declaration... " >&6; }
29078   if test x${glibcxx_cv_func__expf_use+set} != xset; then
29079     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29080   $as_echo_n "(cached) " >&6
29081 else
29082
29083
29084       ac_ext=cpp
29085 ac_cpp='$CXXCPP $CPPFLAGS'
29086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29089
29090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29091 /* end confdefs.h.  */
29092 #include <math.h>
29093                       #ifdef HAVE_IEEEFP_H
29094                       #include <ieeefp.h>
29095                       #endif
29096
29097 int
29098 main ()
29099 {
29100  _expf(0);
29101   ;
29102   return 0;
29103 }
29104 _ACEOF
29105 if ac_fn_cxx_try_compile "$LINENO"; then :
29106   glibcxx_cv_func__expf_use=yes
29107 else
29108   glibcxx_cv_func__expf_use=no
29109 fi
29110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29111       ac_ext=c
29112 ac_cpp='$CPP $CPPFLAGS'
29113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29116
29117
29118 fi
29119
29120   fi
29121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29122 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29123
29124     if test x$glibcxx_cv_func__expf_use = x"yes"; then
29125       for ac_func in _expf
29126 do :
29127   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29128 if test "x$ac_cv_func__expf" = x""yes; then :
29129   cat >>confdefs.h <<_ACEOF
29130 #define HAVE__EXPF 1
29131 _ACEOF
29132
29133 fi
29134 done
29135
29136     fi
29137   fi
29138
29139
29140
29141
29142
29143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29144 $as_echo_n "checking for isnanf declaration... " >&6; }
29145   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29146     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29147   $as_echo_n "(cached) " >&6
29148 else
29149
29150
29151       ac_ext=cpp
29152 ac_cpp='$CXXCPP $CPPFLAGS'
29153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29156
29157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29158 /* end confdefs.h.  */
29159 #include <math.h>
29160                       #ifdef HAVE_IEEEFP_H
29161                       #include <ieeefp.h>
29162                       #endif
29163
29164 int
29165 main ()
29166 {
29167  isnanf(0);
29168   ;
29169   return 0;
29170 }
29171 _ACEOF
29172 if ac_fn_cxx_try_compile "$LINENO"; then :
29173   glibcxx_cv_func_isnanf_use=yes
29174 else
29175   glibcxx_cv_func_isnanf_use=no
29176 fi
29177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29178       ac_ext=c
29179 ac_cpp='$CPP $CPPFLAGS'
29180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29183
29184
29185 fi
29186
29187   fi
29188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29189 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29190
29191   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29192     for ac_func in isnanf
29193 do :
29194   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29195 if test "x$ac_cv_func_isnanf" = x""yes; then :
29196   cat >>confdefs.h <<_ACEOF
29197 #define HAVE_ISNANF 1
29198 _ACEOF
29199
29200 fi
29201 done
29202
29203   else
29204
29205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29206 $as_echo_n "checking for _isnanf declaration... " >&6; }
29207   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29208     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29209   $as_echo_n "(cached) " >&6
29210 else
29211
29212
29213       ac_ext=cpp
29214 ac_cpp='$CXXCPP $CPPFLAGS'
29215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29218
29219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29220 /* end confdefs.h.  */
29221 #include <math.h>
29222                       #ifdef HAVE_IEEEFP_H
29223                       #include <ieeefp.h>
29224                       #endif
29225
29226 int
29227 main ()
29228 {
29229  _isnanf(0);
29230   ;
29231   return 0;
29232 }
29233 _ACEOF
29234 if ac_fn_cxx_try_compile "$LINENO"; then :
29235   glibcxx_cv_func__isnanf_use=yes
29236 else
29237   glibcxx_cv_func__isnanf_use=no
29238 fi
29239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29240       ac_ext=c
29241 ac_cpp='$CPP $CPPFLAGS'
29242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29245
29246
29247 fi
29248
29249   fi
29250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29251 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29252
29253     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29254       for ac_func in _isnanf
29255 do :
29256   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29257 if test "x$ac_cv_func__isnanf" = x""yes; then :
29258   cat >>confdefs.h <<_ACEOF
29259 #define HAVE__ISNANF 1
29260 _ACEOF
29261
29262 fi
29263 done
29264
29265     fi
29266   fi
29267
29268
29269
29270
29271
29272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29273 $as_echo_n "checking for isinff declaration... " >&6; }
29274   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29275     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29276   $as_echo_n "(cached) " >&6
29277 else
29278
29279
29280       ac_ext=cpp
29281 ac_cpp='$CXXCPP $CPPFLAGS'
29282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29285
29286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29287 /* end confdefs.h.  */
29288 #include <math.h>
29289                       #ifdef HAVE_IEEEFP_H
29290                       #include <ieeefp.h>
29291                       #endif
29292
29293 int
29294 main ()
29295 {
29296  isinff(0);
29297   ;
29298   return 0;
29299 }
29300 _ACEOF
29301 if ac_fn_cxx_try_compile "$LINENO"; then :
29302   glibcxx_cv_func_isinff_use=yes
29303 else
29304   glibcxx_cv_func_isinff_use=no
29305 fi
29306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29307       ac_ext=c
29308 ac_cpp='$CPP $CPPFLAGS'
29309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29312
29313
29314 fi
29315
29316   fi
29317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29318 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29319
29320   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29321     for ac_func in isinff
29322 do :
29323   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29324 if test "x$ac_cv_func_isinff" = x""yes; then :
29325   cat >>confdefs.h <<_ACEOF
29326 #define HAVE_ISINFF 1
29327 _ACEOF
29328
29329 fi
29330 done
29331
29332   else
29333
29334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29335 $as_echo_n "checking for _isinff declaration... " >&6; }
29336   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29337     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29338   $as_echo_n "(cached) " >&6
29339 else
29340
29341
29342       ac_ext=cpp
29343 ac_cpp='$CXXCPP $CPPFLAGS'
29344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29347
29348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29349 /* end confdefs.h.  */
29350 #include <math.h>
29351                       #ifdef HAVE_IEEEFP_H
29352                       #include <ieeefp.h>
29353                       #endif
29354
29355 int
29356 main ()
29357 {
29358  _isinff(0);
29359   ;
29360   return 0;
29361 }
29362 _ACEOF
29363 if ac_fn_cxx_try_compile "$LINENO"; then :
29364   glibcxx_cv_func__isinff_use=yes
29365 else
29366   glibcxx_cv_func__isinff_use=no
29367 fi
29368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29369       ac_ext=c
29370 ac_cpp='$CPP $CPPFLAGS'
29371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29374
29375
29376 fi
29377
29378   fi
29379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29380 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29381
29382     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29383       for ac_func in _isinff
29384 do :
29385   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29386 if test "x$ac_cv_func__isinff" = x""yes; then :
29387   cat >>confdefs.h <<_ACEOF
29388 #define HAVE__ISINFF 1
29389 _ACEOF
29390
29391 fi
29392 done
29393
29394     fi
29395   fi
29396
29397
29398
29399
29400
29401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29402 $as_echo_n "checking for atan2f declaration... " >&6; }
29403   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29404     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29405   $as_echo_n "(cached) " >&6
29406 else
29407
29408
29409       ac_ext=cpp
29410 ac_cpp='$CXXCPP $CPPFLAGS'
29411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29414
29415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29416 /* end confdefs.h.  */
29417 #include <math.h>
29418 int
29419 main ()
29420 {
29421  atan2f(0, 0);
29422   ;
29423   return 0;
29424 }
29425 _ACEOF
29426 if ac_fn_cxx_try_compile "$LINENO"; then :
29427   glibcxx_cv_func_atan2f_use=yes
29428 else
29429   glibcxx_cv_func_atan2f_use=no
29430 fi
29431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29432       ac_ext=c
29433 ac_cpp='$CPP $CPPFLAGS'
29434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29437
29438
29439 fi
29440
29441   fi
29442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29443 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29444
29445   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29446     for ac_func in atan2f
29447 do :
29448   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29449 if test "x$ac_cv_func_atan2f" = x""yes; then :
29450   cat >>confdefs.h <<_ACEOF
29451 #define HAVE_ATAN2F 1
29452 _ACEOF
29453
29454 fi
29455 done
29456
29457   else
29458
29459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29460 $as_echo_n "checking for _atan2f declaration... " >&6; }
29461   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29462     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29463   $as_echo_n "(cached) " >&6
29464 else
29465
29466
29467       ac_ext=cpp
29468 ac_cpp='$CXXCPP $CPPFLAGS'
29469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29472
29473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29474 /* end confdefs.h.  */
29475 #include <math.h>
29476 int
29477 main ()
29478 {
29479  _atan2f(0, 0);
29480   ;
29481   return 0;
29482 }
29483 _ACEOF
29484 if ac_fn_cxx_try_compile "$LINENO"; then :
29485   glibcxx_cv_func__atan2f_use=yes
29486 else
29487   glibcxx_cv_func__atan2f_use=no
29488 fi
29489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29490       ac_ext=c
29491 ac_cpp='$CPP $CPPFLAGS'
29492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29495
29496
29497 fi
29498
29499   fi
29500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29501 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29502
29503     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29504       for ac_func in _atan2f
29505 do :
29506   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29507 if test "x$ac_cv_func__atan2f" = x""yes; then :
29508   cat >>confdefs.h <<_ACEOF
29509 #define HAVE__ATAN2F 1
29510 _ACEOF
29511
29512 fi
29513 done
29514
29515     fi
29516   fi
29517
29518
29519
29520
29521
29522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29523 $as_echo_n "checking for fabsf declaration... " >&6; }
29524   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29525     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29526   $as_echo_n "(cached) " >&6
29527 else
29528
29529
29530       ac_ext=cpp
29531 ac_cpp='$CXXCPP $CPPFLAGS'
29532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29535
29536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29537 /* end confdefs.h.  */
29538 #include <math.h>
29539                       #ifdef HAVE_IEEEFP_H
29540                       #include <ieeefp.h>
29541                       #endif
29542
29543 int
29544 main ()
29545 {
29546  fabsf(0);
29547   ;
29548   return 0;
29549 }
29550 _ACEOF
29551 if ac_fn_cxx_try_compile "$LINENO"; then :
29552   glibcxx_cv_func_fabsf_use=yes
29553 else
29554   glibcxx_cv_func_fabsf_use=no
29555 fi
29556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29557       ac_ext=c
29558 ac_cpp='$CPP $CPPFLAGS'
29559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29562
29563
29564 fi
29565
29566   fi
29567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29568 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29569
29570   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29571     for ac_func in fabsf
29572 do :
29573   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29574 if test "x$ac_cv_func_fabsf" = x""yes; then :
29575   cat >>confdefs.h <<_ACEOF
29576 #define HAVE_FABSF 1
29577 _ACEOF
29578
29579 fi
29580 done
29581
29582   else
29583
29584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29585 $as_echo_n "checking for _fabsf declaration... " >&6; }
29586   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29587     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29588   $as_echo_n "(cached) " >&6
29589 else
29590
29591
29592       ac_ext=cpp
29593 ac_cpp='$CXXCPP $CPPFLAGS'
29594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29597
29598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29599 /* end confdefs.h.  */
29600 #include <math.h>
29601                       #ifdef HAVE_IEEEFP_H
29602                       #include <ieeefp.h>
29603                       #endif
29604
29605 int
29606 main ()
29607 {
29608  _fabsf(0);
29609   ;
29610   return 0;
29611 }
29612 _ACEOF
29613 if ac_fn_cxx_try_compile "$LINENO"; then :
29614   glibcxx_cv_func__fabsf_use=yes
29615 else
29616   glibcxx_cv_func__fabsf_use=no
29617 fi
29618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29619       ac_ext=c
29620 ac_cpp='$CPP $CPPFLAGS'
29621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29624
29625
29626 fi
29627
29628   fi
29629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29630 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29631
29632     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29633       for ac_func in _fabsf
29634 do :
29635   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29636 if test "x$ac_cv_func__fabsf" = x""yes; then :
29637   cat >>confdefs.h <<_ACEOF
29638 #define HAVE__FABSF 1
29639 _ACEOF
29640
29641 fi
29642 done
29643
29644     fi
29645   fi
29646
29647
29648
29649
29650
29651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29652 $as_echo_n "checking for fmodf declaration... " >&6; }
29653   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29654     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29655   $as_echo_n "(cached) " >&6
29656 else
29657
29658
29659       ac_ext=cpp
29660 ac_cpp='$CXXCPP $CPPFLAGS'
29661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29664
29665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29666 /* end confdefs.h.  */
29667 #include <math.h>
29668 int
29669 main ()
29670 {
29671  fmodf(0, 0);
29672   ;
29673   return 0;
29674 }
29675 _ACEOF
29676 if ac_fn_cxx_try_compile "$LINENO"; then :
29677   glibcxx_cv_func_fmodf_use=yes
29678 else
29679   glibcxx_cv_func_fmodf_use=no
29680 fi
29681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29682       ac_ext=c
29683 ac_cpp='$CPP $CPPFLAGS'
29684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29687
29688
29689 fi
29690
29691   fi
29692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29693 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29694
29695   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29696     for ac_func in fmodf
29697 do :
29698   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29699 if test "x$ac_cv_func_fmodf" = x""yes; then :
29700   cat >>confdefs.h <<_ACEOF
29701 #define HAVE_FMODF 1
29702 _ACEOF
29703
29704 fi
29705 done
29706
29707   else
29708
29709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29710 $as_echo_n "checking for _fmodf declaration... " >&6; }
29711   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29712     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29713   $as_echo_n "(cached) " >&6
29714 else
29715
29716
29717       ac_ext=cpp
29718 ac_cpp='$CXXCPP $CPPFLAGS'
29719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29722
29723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29724 /* end confdefs.h.  */
29725 #include <math.h>
29726 int
29727 main ()
29728 {
29729  _fmodf(0, 0);
29730   ;
29731   return 0;
29732 }
29733 _ACEOF
29734 if ac_fn_cxx_try_compile "$LINENO"; then :
29735   glibcxx_cv_func__fmodf_use=yes
29736 else
29737   glibcxx_cv_func__fmodf_use=no
29738 fi
29739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29740       ac_ext=c
29741 ac_cpp='$CPP $CPPFLAGS'
29742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29745
29746
29747 fi
29748
29749   fi
29750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29751 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29752
29753     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29754       for ac_func in _fmodf
29755 do :
29756   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29757 if test "x$ac_cv_func__fmodf" = x""yes; then :
29758   cat >>confdefs.h <<_ACEOF
29759 #define HAVE__FMODF 1
29760 _ACEOF
29761
29762 fi
29763 done
29764
29765     fi
29766   fi
29767
29768
29769
29770
29771
29772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29773 $as_echo_n "checking for frexpf declaration... " >&6; }
29774   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29775     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29776   $as_echo_n "(cached) " >&6
29777 else
29778
29779
29780       ac_ext=cpp
29781 ac_cpp='$CXXCPP $CPPFLAGS'
29782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29785
29786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29787 /* end confdefs.h.  */
29788 #include <math.h>
29789 int
29790 main ()
29791 {
29792  frexpf(0, 0);
29793   ;
29794   return 0;
29795 }
29796 _ACEOF
29797 if ac_fn_cxx_try_compile "$LINENO"; then :
29798   glibcxx_cv_func_frexpf_use=yes
29799 else
29800   glibcxx_cv_func_frexpf_use=no
29801 fi
29802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29803       ac_ext=c
29804 ac_cpp='$CPP $CPPFLAGS'
29805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29808
29809
29810 fi
29811
29812   fi
29813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29814 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29815
29816   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29817     for ac_func in frexpf
29818 do :
29819   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29820 if test "x$ac_cv_func_frexpf" = x""yes; then :
29821   cat >>confdefs.h <<_ACEOF
29822 #define HAVE_FREXPF 1
29823 _ACEOF
29824
29825 fi
29826 done
29827
29828   else
29829
29830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29831 $as_echo_n "checking for _frexpf declaration... " >&6; }
29832   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29833     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29834   $as_echo_n "(cached) " >&6
29835 else
29836
29837
29838       ac_ext=cpp
29839 ac_cpp='$CXXCPP $CPPFLAGS'
29840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29843
29844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29845 /* end confdefs.h.  */
29846 #include <math.h>
29847 int
29848 main ()
29849 {
29850  _frexpf(0, 0);
29851   ;
29852   return 0;
29853 }
29854 _ACEOF
29855 if ac_fn_cxx_try_compile "$LINENO"; then :
29856   glibcxx_cv_func__frexpf_use=yes
29857 else
29858   glibcxx_cv_func__frexpf_use=no
29859 fi
29860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29861       ac_ext=c
29862 ac_cpp='$CPP $CPPFLAGS'
29863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29866
29867
29868 fi
29869
29870   fi
29871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29872 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29873
29874     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29875       for ac_func in _frexpf
29876 do :
29877   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29878 if test "x$ac_cv_func__frexpf" = x""yes; then :
29879   cat >>confdefs.h <<_ACEOF
29880 #define HAVE__FREXPF 1
29881 _ACEOF
29882
29883 fi
29884 done
29885
29886     fi
29887   fi
29888
29889
29890
29891
29892
29893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29894 $as_echo_n "checking for hypotf declaration... " >&6; }
29895   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29896     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29897   $as_echo_n "(cached) " >&6
29898 else
29899
29900
29901       ac_ext=cpp
29902 ac_cpp='$CXXCPP $CPPFLAGS'
29903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29906
29907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29908 /* end confdefs.h.  */
29909 #include <math.h>
29910 int
29911 main ()
29912 {
29913  hypotf(0, 0);
29914   ;
29915   return 0;
29916 }
29917 _ACEOF
29918 if ac_fn_cxx_try_compile "$LINENO"; then :
29919   glibcxx_cv_func_hypotf_use=yes
29920 else
29921   glibcxx_cv_func_hypotf_use=no
29922 fi
29923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29924       ac_ext=c
29925 ac_cpp='$CPP $CPPFLAGS'
29926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29929
29930
29931 fi
29932
29933   fi
29934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29935 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29936
29937   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29938     for ac_func in hypotf
29939 do :
29940   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29941 if test "x$ac_cv_func_hypotf" = x""yes; then :
29942   cat >>confdefs.h <<_ACEOF
29943 #define HAVE_HYPOTF 1
29944 _ACEOF
29945
29946 fi
29947 done
29948
29949   else
29950
29951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29952 $as_echo_n "checking for _hypotf declaration... " >&6; }
29953   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29954     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29955   $as_echo_n "(cached) " >&6
29956 else
29957
29958
29959       ac_ext=cpp
29960 ac_cpp='$CXXCPP $CPPFLAGS'
29961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29964
29965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29966 /* end confdefs.h.  */
29967 #include <math.h>
29968 int
29969 main ()
29970 {
29971  _hypotf(0, 0);
29972   ;
29973   return 0;
29974 }
29975 _ACEOF
29976 if ac_fn_cxx_try_compile "$LINENO"; then :
29977   glibcxx_cv_func__hypotf_use=yes
29978 else
29979   glibcxx_cv_func__hypotf_use=no
29980 fi
29981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29982       ac_ext=c
29983 ac_cpp='$CPP $CPPFLAGS'
29984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29987
29988
29989 fi
29990
29991   fi
29992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29993 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29994
29995     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29996       for ac_func in _hypotf
29997 do :
29998   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29999 if test "x$ac_cv_func__hypotf" = x""yes; then :
30000   cat >>confdefs.h <<_ACEOF
30001 #define HAVE__HYPOTF 1
30002 _ACEOF
30003
30004 fi
30005 done
30006
30007     fi
30008   fi
30009
30010
30011
30012
30013
30014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30015 $as_echo_n "checking for ldexpf declaration... " >&6; }
30016   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30017     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30018   $as_echo_n "(cached) " >&6
30019 else
30020
30021
30022       ac_ext=cpp
30023 ac_cpp='$CXXCPP $CPPFLAGS'
30024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30027
30028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30029 /* end confdefs.h.  */
30030 #include <math.h>
30031 int
30032 main ()
30033 {
30034  ldexpf(0, 0);
30035   ;
30036   return 0;
30037 }
30038 _ACEOF
30039 if ac_fn_cxx_try_compile "$LINENO"; then :
30040   glibcxx_cv_func_ldexpf_use=yes
30041 else
30042   glibcxx_cv_func_ldexpf_use=no
30043 fi
30044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30045       ac_ext=c
30046 ac_cpp='$CPP $CPPFLAGS'
30047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30050
30051
30052 fi
30053
30054   fi
30055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30056 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30057
30058   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30059     for ac_func in ldexpf
30060 do :
30061   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30062 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30063   cat >>confdefs.h <<_ACEOF
30064 #define HAVE_LDEXPF 1
30065 _ACEOF
30066
30067 fi
30068 done
30069
30070   else
30071
30072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30073 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30074   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30075     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30076   $as_echo_n "(cached) " >&6
30077 else
30078
30079
30080       ac_ext=cpp
30081 ac_cpp='$CXXCPP $CPPFLAGS'
30082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30085
30086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30087 /* end confdefs.h.  */
30088 #include <math.h>
30089 int
30090 main ()
30091 {
30092  _ldexpf(0, 0);
30093   ;
30094   return 0;
30095 }
30096 _ACEOF
30097 if ac_fn_cxx_try_compile "$LINENO"; then :
30098   glibcxx_cv_func__ldexpf_use=yes
30099 else
30100   glibcxx_cv_func__ldexpf_use=no
30101 fi
30102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30103       ac_ext=c
30104 ac_cpp='$CPP $CPPFLAGS'
30105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30108
30109
30110 fi
30111
30112   fi
30113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30114 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30115
30116     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30117       for ac_func in _ldexpf
30118 do :
30119   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30120 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30121   cat >>confdefs.h <<_ACEOF
30122 #define HAVE__LDEXPF 1
30123 _ACEOF
30124
30125 fi
30126 done
30127
30128     fi
30129   fi
30130
30131
30132
30133
30134
30135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30136 $as_echo_n "checking for logf declaration... " >&6; }
30137   if test x${glibcxx_cv_func_logf_use+set} != xset; then
30138     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30139   $as_echo_n "(cached) " >&6
30140 else
30141
30142
30143       ac_ext=cpp
30144 ac_cpp='$CXXCPP $CPPFLAGS'
30145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30148
30149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30150 /* end confdefs.h.  */
30151 #include <math.h>
30152                       #ifdef HAVE_IEEEFP_H
30153                       #include <ieeefp.h>
30154                       #endif
30155
30156 int
30157 main ()
30158 {
30159  logf(0);
30160   ;
30161   return 0;
30162 }
30163 _ACEOF
30164 if ac_fn_cxx_try_compile "$LINENO"; then :
30165   glibcxx_cv_func_logf_use=yes
30166 else
30167   glibcxx_cv_func_logf_use=no
30168 fi
30169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30170       ac_ext=c
30171 ac_cpp='$CPP $CPPFLAGS'
30172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30175
30176
30177 fi
30178
30179   fi
30180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30181 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30182
30183   if test x$glibcxx_cv_func_logf_use = x"yes"; then
30184     for ac_func in logf
30185 do :
30186   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30187 if test "x$ac_cv_func_logf" = x""yes; then :
30188   cat >>confdefs.h <<_ACEOF
30189 #define HAVE_LOGF 1
30190 _ACEOF
30191
30192 fi
30193 done
30194
30195   else
30196
30197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30198 $as_echo_n "checking for _logf declaration... " >&6; }
30199   if test x${glibcxx_cv_func__logf_use+set} != xset; then
30200     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30201   $as_echo_n "(cached) " >&6
30202 else
30203
30204
30205       ac_ext=cpp
30206 ac_cpp='$CXXCPP $CPPFLAGS'
30207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30210
30211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h.  */
30213 #include <math.h>
30214                       #ifdef HAVE_IEEEFP_H
30215                       #include <ieeefp.h>
30216                       #endif
30217
30218 int
30219 main ()
30220 {
30221  _logf(0);
30222   ;
30223   return 0;
30224 }
30225 _ACEOF
30226 if ac_fn_cxx_try_compile "$LINENO"; then :
30227   glibcxx_cv_func__logf_use=yes
30228 else
30229   glibcxx_cv_func__logf_use=no
30230 fi
30231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30232       ac_ext=c
30233 ac_cpp='$CPP $CPPFLAGS'
30234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30237
30238
30239 fi
30240
30241   fi
30242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30243 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30244
30245     if test x$glibcxx_cv_func__logf_use = x"yes"; then
30246       for ac_func in _logf
30247 do :
30248   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30249 if test "x$ac_cv_func__logf" = x""yes; then :
30250   cat >>confdefs.h <<_ACEOF
30251 #define HAVE__LOGF 1
30252 _ACEOF
30253
30254 fi
30255 done
30256
30257     fi
30258   fi
30259
30260
30261
30262
30263
30264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30265 $as_echo_n "checking for log10f declaration... " >&6; }
30266   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30267     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30268   $as_echo_n "(cached) " >&6
30269 else
30270
30271
30272       ac_ext=cpp
30273 ac_cpp='$CXXCPP $CPPFLAGS'
30274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30277
30278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30279 /* end confdefs.h.  */
30280 #include <math.h>
30281                       #ifdef HAVE_IEEEFP_H
30282                       #include <ieeefp.h>
30283                       #endif
30284
30285 int
30286 main ()
30287 {
30288  log10f(0);
30289   ;
30290   return 0;
30291 }
30292 _ACEOF
30293 if ac_fn_cxx_try_compile "$LINENO"; then :
30294   glibcxx_cv_func_log10f_use=yes
30295 else
30296   glibcxx_cv_func_log10f_use=no
30297 fi
30298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30299       ac_ext=c
30300 ac_cpp='$CPP $CPPFLAGS'
30301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30304
30305
30306 fi
30307
30308   fi
30309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30310 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30311
30312   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30313     for ac_func in log10f
30314 do :
30315   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30316 if test "x$ac_cv_func_log10f" = x""yes; then :
30317   cat >>confdefs.h <<_ACEOF
30318 #define HAVE_LOG10F 1
30319 _ACEOF
30320
30321 fi
30322 done
30323
30324   else
30325
30326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30327 $as_echo_n "checking for _log10f declaration... " >&6; }
30328   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30329     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30330   $as_echo_n "(cached) " >&6
30331 else
30332
30333
30334       ac_ext=cpp
30335 ac_cpp='$CXXCPP $CPPFLAGS'
30336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30339
30340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30341 /* end confdefs.h.  */
30342 #include <math.h>
30343                       #ifdef HAVE_IEEEFP_H
30344                       #include <ieeefp.h>
30345                       #endif
30346
30347 int
30348 main ()
30349 {
30350  _log10f(0);
30351   ;
30352   return 0;
30353 }
30354 _ACEOF
30355 if ac_fn_cxx_try_compile "$LINENO"; then :
30356   glibcxx_cv_func__log10f_use=yes
30357 else
30358   glibcxx_cv_func__log10f_use=no
30359 fi
30360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30361       ac_ext=c
30362 ac_cpp='$CPP $CPPFLAGS'
30363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30366
30367
30368 fi
30369
30370   fi
30371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30372 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30373
30374     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30375       for ac_func in _log10f
30376 do :
30377   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30378 if test "x$ac_cv_func__log10f" = x""yes; then :
30379   cat >>confdefs.h <<_ACEOF
30380 #define HAVE__LOG10F 1
30381 _ACEOF
30382
30383 fi
30384 done
30385
30386     fi
30387   fi
30388
30389
30390
30391
30392
30393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30394 $as_echo_n "checking for modff declaration... " >&6; }
30395   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30396     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30397   $as_echo_n "(cached) " >&6
30398 else
30399
30400
30401       ac_ext=cpp
30402 ac_cpp='$CXXCPP $CPPFLAGS'
30403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30406
30407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30408 /* end confdefs.h.  */
30409 #include <math.h>
30410 int
30411 main ()
30412 {
30413  modff(0, 0);
30414   ;
30415   return 0;
30416 }
30417 _ACEOF
30418 if ac_fn_cxx_try_compile "$LINENO"; then :
30419   glibcxx_cv_func_modff_use=yes
30420 else
30421   glibcxx_cv_func_modff_use=no
30422 fi
30423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30424       ac_ext=c
30425 ac_cpp='$CPP $CPPFLAGS'
30426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30429
30430
30431 fi
30432
30433   fi
30434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30435 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30436
30437   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30438     for ac_func in modff
30439 do :
30440   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30441 if test "x$ac_cv_func_modff" = x""yes; then :
30442   cat >>confdefs.h <<_ACEOF
30443 #define HAVE_MODFF 1
30444 _ACEOF
30445
30446 fi
30447 done
30448
30449   else
30450
30451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30452 $as_echo_n "checking for _modff declaration... " >&6; }
30453   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30454     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30455   $as_echo_n "(cached) " >&6
30456 else
30457
30458
30459       ac_ext=cpp
30460 ac_cpp='$CXXCPP $CPPFLAGS'
30461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30464
30465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30466 /* end confdefs.h.  */
30467 #include <math.h>
30468 int
30469 main ()
30470 {
30471  _modff(0, 0);
30472   ;
30473   return 0;
30474 }
30475 _ACEOF
30476 if ac_fn_cxx_try_compile "$LINENO"; then :
30477   glibcxx_cv_func__modff_use=yes
30478 else
30479   glibcxx_cv_func__modff_use=no
30480 fi
30481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30482       ac_ext=c
30483 ac_cpp='$CPP $CPPFLAGS'
30484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30487
30488
30489 fi
30490
30491   fi
30492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30493 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30494
30495     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30496       for ac_func in _modff
30497 do :
30498   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30499 if test "x$ac_cv_func__modff" = x""yes; then :
30500   cat >>confdefs.h <<_ACEOF
30501 #define HAVE__MODFF 1
30502 _ACEOF
30503
30504 fi
30505 done
30506
30507     fi
30508   fi
30509
30510
30511
30512
30513
30514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30515 $as_echo_n "checking for modf declaration... " >&6; }
30516   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30517     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30518   $as_echo_n "(cached) " >&6
30519 else
30520
30521
30522       ac_ext=cpp
30523 ac_cpp='$CXXCPP $CPPFLAGS'
30524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30527
30528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30529 /* end confdefs.h.  */
30530 #include <math.h>
30531 int
30532 main ()
30533 {
30534  modf(0, 0);
30535   ;
30536   return 0;
30537 }
30538 _ACEOF
30539 if ac_fn_cxx_try_compile "$LINENO"; then :
30540   glibcxx_cv_func_modf_use=yes
30541 else
30542   glibcxx_cv_func_modf_use=no
30543 fi
30544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30545       ac_ext=c
30546 ac_cpp='$CPP $CPPFLAGS'
30547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30550
30551
30552 fi
30553
30554   fi
30555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30556 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30557
30558   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30559     for ac_func in modf
30560 do :
30561   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30562 if test "x$ac_cv_func_modf" = x""yes; then :
30563   cat >>confdefs.h <<_ACEOF
30564 #define HAVE_MODF 1
30565 _ACEOF
30566
30567 fi
30568 done
30569
30570   else
30571
30572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30573 $as_echo_n "checking for _modf declaration... " >&6; }
30574   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30575     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30576   $as_echo_n "(cached) " >&6
30577 else
30578
30579
30580       ac_ext=cpp
30581 ac_cpp='$CXXCPP $CPPFLAGS'
30582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30585
30586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30587 /* end confdefs.h.  */
30588 #include <math.h>
30589 int
30590 main ()
30591 {
30592  _modf(0, 0);
30593   ;
30594   return 0;
30595 }
30596 _ACEOF
30597 if ac_fn_cxx_try_compile "$LINENO"; then :
30598   glibcxx_cv_func__modf_use=yes
30599 else
30600   glibcxx_cv_func__modf_use=no
30601 fi
30602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30603       ac_ext=c
30604 ac_cpp='$CPP $CPPFLAGS'
30605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30608
30609
30610 fi
30611
30612   fi
30613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30614 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30615
30616     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30617       for ac_func in _modf
30618 do :
30619   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30620 if test "x$ac_cv_func__modf" = x""yes; then :
30621   cat >>confdefs.h <<_ACEOF
30622 #define HAVE__MODF 1
30623 _ACEOF
30624
30625 fi
30626 done
30627
30628     fi
30629   fi
30630
30631
30632
30633
30634
30635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30636 $as_echo_n "checking for powf declaration... " >&6; }
30637   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30638     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30639   $as_echo_n "(cached) " >&6
30640 else
30641
30642
30643       ac_ext=cpp
30644 ac_cpp='$CXXCPP $CPPFLAGS'
30645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30648
30649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30650 /* end confdefs.h.  */
30651 #include <math.h>
30652 int
30653 main ()
30654 {
30655  powf(0, 0);
30656   ;
30657   return 0;
30658 }
30659 _ACEOF
30660 if ac_fn_cxx_try_compile "$LINENO"; then :
30661   glibcxx_cv_func_powf_use=yes
30662 else
30663   glibcxx_cv_func_powf_use=no
30664 fi
30665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30666       ac_ext=c
30667 ac_cpp='$CPP $CPPFLAGS'
30668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30671
30672
30673 fi
30674
30675   fi
30676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30677 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30678
30679   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30680     for ac_func in powf
30681 do :
30682   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30683 if test "x$ac_cv_func_powf" = x""yes; then :
30684   cat >>confdefs.h <<_ACEOF
30685 #define HAVE_POWF 1
30686 _ACEOF
30687
30688 fi
30689 done
30690
30691   else
30692
30693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30694 $as_echo_n "checking for _powf declaration... " >&6; }
30695   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30696     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30697   $as_echo_n "(cached) " >&6
30698 else
30699
30700
30701       ac_ext=cpp
30702 ac_cpp='$CXXCPP $CPPFLAGS'
30703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30706
30707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30708 /* end confdefs.h.  */
30709 #include <math.h>
30710 int
30711 main ()
30712 {
30713  _powf(0, 0);
30714   ;
30715   return 0;
30716 }
30717 _ACEOF
30718 if ac_fn_cxx_try_compile "$LINENO"; then :
30719   glibcxx_cv_func__powf_use=yes
30720 else
30721   glibcxx_cv_func__powf_use=no
30722 fi
30723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30724       ac_ext=c
30725 ac_cpp='$CPP $CPPFLAGS'
30726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30729
30730
30731 fi
30732
30733   fi
30734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30735 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30736
30737     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30738       for ac_func in _powf
30739 do :
30740   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30741 if test "x$ac_cv_func__powf" = x""yes; then :
30742   cat >>confdefs.h <<_ACEOF
30743 #define HAVE__POWF 1
30744 _ACEOF
30745
30746 fi
30747 done
30748
30749     fi
30750   fi
30751
30752
30753
30754
30755
30756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30757 $as_echo_n "checking for sqrtf declaration... " >&6; }
30758   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30759     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30760   $as_echo_n "(cached) " >&6
30761 else
30762
30763
30764       ac_ext=cpp
30765 ac_cpp='$CXXCPP $CPPFLAGS'
30766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30769
30770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30771 /* end confdefs.h.  */
30772 #include <math.h>
30773                       #ifdef HAVE_IEEEFP_H
30774                       #include <ieeefp.h>
30775                       #endif
30776
30777 int
30778 main ()
30779 {
30780  sqrtf(0);
30781   ;
30782   return 0;
30783 }
30784 _ACEOF
30785 if ac_fn_cxx_try_compile "$LINENO"; then :
30786   glibcxx_cv_func_sqrtf_use=yes
30787 else
30788   glibcxx_cv_func_sqrtf_use=no
30789 fi
30790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30791       ac_ext=c
30792 ac_cpp='$CPP $CPPFLAGS'
30793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30796
30797
30798 fi
30799
30800   fi
30801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30802 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30803
30804   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30805     for ac_func in sqrtf
30806 do :
30807   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30808 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30809   cat >>confdefs.h <<_ACEOF
30810 #define HAVE_SQRTF 1
30811 _ACEOF
30812
30813 fi
30814 done
30815
30816   else
30817
30818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30819 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30820   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30821     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30822   $as_echo_n "(cached) " >&6
30823 else
30824
30825
30826       ac_ext=cpp
30827 ac_cpp='$CXXCPP $CPPFLAGS'
30828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30831
30832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30833 /* end confdefs.h.  */
30834 #include <math.h>
30835                       #ifdef HAVE_IEEEFP_H
30836                       #include <ieeefp.h>
30837                       #endif
30838
30839 int
30840 main ()
30841 {
30842  _sqrtf(0);
30843   ;
30844   return 0;
30845 }
30846 _ACEOF
30847 if ac_fn_cxx_try_compile "$LINENO"; then :
30848   glibcxx_cv_func__sqrtf_use=yes
30849 else
30850   glibcxx_cv_func__sqrtf_use=no
30851 fi
30852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30853       ac_ext=c
30854 ac_cpp='$CPP $CPPFLAGS'
30855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30858
30859
30860 fi
30861
30862   fi
30863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30864 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30865
30866     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30867       for ac_func in _sqrtf
30868 do :
30869   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30870 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30871   cat >>confdefs.h <<_ACEOF
30872 #define HAVE__SQRTF 1
30873 _ACEOF
30874
30875 fi
30876 done
30877
30878     fi
30879   fi
30880
30881
30882
30883
30884
30885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30886 $as_echo_n "checking for sincosf declaration... " >&6; }
30887   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30888     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30889   $as_echo_n "(cached) " >&6
30890 else
30891
30892
30893       ac_ext=cpp
30894 ac_cpp='$CXXCPP $CPPFLAGS'
30895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30898
30899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30900 /* end confdefs.h.  */
30901 #include <math.h>
30902 int
30903 main ()
30904 {
30905  sincosf(0, 0, 0);
30906   ;
30907   return 0;
30908 }
30909 _ACEOF
30910 if ac_fn_cxx_try_compile "$LINENO"; then :
30911   glibcxx_cv_func_sincosf_use=yes
30912 else
30913   glibcxx_cv_func_sincosf_use=no
30914 fi
30915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30916       ac_ext=c
30917 ac_cpp='$CPP $CPPFLAGS'
30918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30921
30922
30923 fi
30924
30925   fi
30926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30927 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30928
30929   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30930     for ac_func in sincosf
30931 do :
30932   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30933 if test "x$ac_cv_func_sincosf" = x""yes; then :
30934   cat >>confdefs.h <<_ACEOF
30935 #define HAVE_SINCOSF 1
30936 _ACEOF
30937
30938 fi
30939 done
30940
30941   else
30942
30943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30944 $as_echo_n "checking for _sincosf declaration... " >&6; }
30945   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30946     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30947   $as_echo_n "(cached) " >&6
30948 else
30949
30950
30951       ac_ext=cpp
30952 ac_cpp='$CXXCPP $CPPFLAGS'
30953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30956
30957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30958 /* end confdefs.h.  */
30959 #include <math.h>
30960 int
30961 main ()
30962 {
30963  _sincosf(0, 0, 0);
30964   ;
30965   return 0;
30966 }
30967 _ACEOF
30968 if ac_fn_cxx_try_compile "$LINENO"; then :
30969   glibcxx_cv_func__sincosf_use=yes
30970 else
30971   glibcxx_cv_func__sincosf_use=no
30972 fi
30973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30974       ac_ext=c
30975 ac_cpp='$CPP $CPPFLAGS'
30976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30979
30980
30981 fi
30982
30983   fi
30984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30985 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30986
30987     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30988       for ac_func in _sincosf
30989 do :
30990   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30991 if test "x$ac_cv_func__sincosf" = x""yes; then :
30992   cat >>confdefs.h <<_ACEOF
30993 #define HAVE__SINCOSF 1
30994 _ACEOF
30995
30996 fi
30997 done
30998
30999     fi
31000   fi
31001
31002
31003
31004
31005
31006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31007 $as_echo_n "checking for finitef declaration... " >&6; }
31008   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31009     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31010   $as_echo_n "(cached) " >&6
31011 else
31012
31013
31014       ac_ext=cpp
31015 ac_cpp='$CXXCPP $CPPFLAGS'
31016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31019
31020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31021 /* end confdefs.h.  */
31022 #include <math.h>
31023                       #ifdef HAVE_IEEEFP_H
31024                       #include <ieeefp.h>
31025                       #endif
31026
31027 int
31028 main ()
31029 {
31030  finitef(0);
31031   ;
31032   return 0;
31033 }
31034 _ACEOF
31035 if ac_fn_cxx_try_compile "$LINENO"; then :
31036   glibcxx_cv_func_finitef_use=yes
31037 else
31038   glibcxx_cv_func_finitef_use=no
31039 fi
31040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31041       ac_ext=c
31042 ac_cpp='$CPP $CPPFLAGS'
31043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31046
31047
31048 fi
31049
31050   fi
31051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31052 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31053
31054   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31055     for ac_func in finitef
31056 do :
31057   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31058 if test "x$ac_cv_func_finitef" = x""yes; then :
31059   cat >>confdefs.h <<_ACEOF
31060 #define HAVE_FINITEF 1
31061 _ACEOF
31062
31063 fi
31064 done
31065
31066   else
31067
31068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31069 $as_echo_n "checking for _finitef declaration... " >&6; }
31070   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31071     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31072   $as_echo_n "(cached) " >&6
31073 else
31074
31075
31076       ac_ext=cpp
31077 ac_cpp='$CXXCPP $CPPFLAGS'
31078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31081
31082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31083 /* end confdefs.h.  */
31084 #include <math.h>
31085                       #ifdef HAVE_IEEEFP_H
31086                       #include <ieeefp.h>
31087                       #endif
31088
31089 int
31090 main ()
31091 {
31092  _finitef(0);
31093   ;
31094   return 0;
31095 }
31096 _ACEOF
31097 if ac_fn_cxx_try_compile "$LINENO"; then :
31098   glibcxx_cv_func__finitef_use=yes
31099 else
31100   glibcxx_cv_func__finitef_use=no
31101 fi
31102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31103       ac_ext=c
31104 ac_cpp='$CPP $CPPFLAGS'
31105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31108
31109
31110 fi
31111
31112   fi
31113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31114 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31115
31116     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31117       for ac_func in _finitef
31118 do :
31119   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31120 if test "x$ac_cv_func__finitef" = x""yes; then :
31121   cat >>confdefs.h <<_ACEOF
31122 #define HAVE__FINITEF 1
31123 _ACEOF
31124
31125 fi
31126 done
31127
31128     fi
31129   fi
31130
31131
31132
31133
31134
31135     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31136 $as_echo_n "checking for long double trig functions... " >&6; }
31137   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31138   $as_echo_n "(cached) " >&6
31139 else
31140
31141
31142     ac_ext=cpp
31143 ac_cpp='$CXXCPP $CPPFLAGS'
31144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31147
31148     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31149 /* end confdefs.h.  */
31150 #include <math.h>
31151 int
31152 main ()
31153 {
31154 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31155   ;
31156   return 0;
31157 }
31158 _ACEOF
31159 if ac_fn_cxx_try_compile "$LINENO"; then :
31160   glibcxx_cv_func_long_double_trig_use=yes
31161 else
31162   glibcxx_cv_func_long_double_trig_use=no
31163 fi
31164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31165     ac_ext=c
31166 ac_cpp='$CPP $CPPFLAGS'
31167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31170
31171 fi
31172
31173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31174 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31175   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31176     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31177 do :
31178   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31180 eval as_val=\$$as_ac_var
31181    if test "x$as_val" = x""yes; then :
31182   cat >>confdefs.h <<_ACEOF
31183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31184 _ACEOF
31185
31186 fi
31187 done
31188
31189   else
31190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31191 $as_echo_n "checking for _long double trig functions... " >&6; }
31192     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31193   $as_echo_n "(cached) " >&6
31194 else
31195
31196
31197       ac_ext=cpp
31198 ac_cpp='$CXXCPP $CPPFLAGS'
31199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31202
31203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31204 /* end confdefs.h.  */
31205 #include <math.h>
31206 int
31207 main ()
31208 {
31209 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31210   ;
31211   return 0;
31212 }
31213 _ACEOF
31214 if ac_fn_cxx_try_compile "$LINENO"; then :
31215   glibcxx_cv_func__long_double_trig_use=yes
31216 else
31217   glibcxx_cv_func__long_double_trig_use=no
31218 fi
31219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31220       ac_ext=c
31221 ac_cpp='$CPP $CPPFLAGS'
31222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31225
31226 fi
31227
31228     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31229 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31230     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31231       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31232 do :
31233   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31235 eval as_val=\$$as_ac_var
31236    if test "x$as_val" = x""yes; then :
31237   cat >>confdefs.h <<_ACEOF
31238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31239 _ACEOF
31240
31241 fi
31242 done
31243
31244     fi
31245   fi
31246
31247
31248
31249
31250
31251     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31252 $as_echo_n "checking for long double round functions... " >&6; }
31253   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31254   $as_echo_n "(cached) " >&6
31255 else
31256
31257
31258     ac_ext=cpp
31259 ac_cpp='$CXXCPP $CPPFLAGS'
31260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31263
31264     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31265 /* end confdefs.h.  */
31266 #include <math.h>
31267 int
31268 main ()
31269 {
31270 ceill (0); floorl (0);
31271   ;
31272   return 0;
31273 }
31274 _ACEOF
31275 if ac_fn_cxx_try_compile "$LINENO"; then :
31276   glibcxx_cv_func_long_double_round_use=yes
31277 else
31278   glibcxx_cv_func_long_double_round_use=no
31279 fi
31280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31281     ac_ext=c
31282 ac_cpp='$CPP $CPPFLAGS'
31283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31286
31287 fi
31288
31289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31290 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31291   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31292     for ac_func in ceill floorl
31293 do :
31294   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31296 eval as_val=\$$as_ac_var
31297    if test "x$as_val" = x""yes; then :
31298   cat >>confdefs.h <<_ACEOF
31299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31300 _ACEOF
31301
31302 fi
31303 done
31304
31305   else
31306     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31307 $as_echo_n "checking for _long double round functions... " >&6; }
31308     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31309   $as_echo_n "(cached) " >&6
31310 else
31311
31312
31313       ac_ext=cpp
31314 ac_cpp='$CXXCPP $CPPFLAGS'
31315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31318
31319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31320 /* end confdefs.h.  */
31321 #include <math.h>
31322 int
31323 main ()
31324 {
31325 _ceill (0); _floorl (0);
31326   ;
31327   return 0;
31328 }
31329 _ACEOF
31330 if ac_fn_cxx_try_compile "$LINENO"; then :
31331   glibcxx_cv_func__long_double_round_use=yes
31332 else
31333   glibcxx_cv_func__long_double_round_use=no
31334 fi
31335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31336       ac_ext=c
31337 ac_cpp='$CPP $CPPFLAGS'
31338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31341
31342 fi
31343
31344     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31345 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31346     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31347       for ac_func in _ceill _floorl
31348 do :
31349   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31351 eval as_val=\$$as_ac_var
31352    if test "x$as_val" = x""yes; then :
31353   cat >>confdefs.h <<_ACEOF
31354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31355 _ACEOF
31356
31357 fi
31358 done
31359
31360     fi
31361   fi
31362
31363
31364
31365
31366
31367
31368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31369 $as_echo_n "checking for isnanl declaration... " >&6; }
31370   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31371     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31372   $as_echo_n "(cached) " >&6
31373 else
31374
31375
31376       ac_ext=cpp
31377 ac_cpp='$CXXCPP $CPPFLAGS'
31378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31381
31382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31383 /* end confdefs.h.  */
31384 #include <math.h>
31385                       #ifdef HAVE_IEEEFP_H
31386                       #include <ieeefp.h>
31387                       #endif
31388
31389 int
31390 main ()
31391 {
31392  isnanl(0);
31393   ;
31394   return 0;
31395 }
31396 _ACEOF
31397 if ac_fn_cxx_try_compile "$LINENO"; then :
31398   glibcxx_cv_func_isnanl_use=yes
31399 else
31400   glibcxx_cv_func_isnanl_use=no
31401 fi
31402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31403       ac_ext=c
31404 ac_cpp='$CPP $CPPFLAGS'
31405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31408
31409
31410 fi
31411
31412   fi
31413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31414 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31415
31416   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31417     for ac_func in isnanl
31418 do :
31419   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31420 if test "x$ac_cv_func_isnanl" = x""yes; then :
31421   cat >>confdefs.h <<_ACEOF
31422 #define HAVE_ISNANL 1
31423 _ACEOF
31424
31425 fi
31426 done
31427
31428   else
31429
31430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31431 $as_echo_n "checking for _isnanl declaration... " >&6; }
31432   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31433     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31434   $as_echo_n "(cached) " >&6
31435 else
31436
31437
31438       ac_ext=cpp
31439 ac_cpp='$CXXCPP $CPPFLAGS'
31440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31443
31444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31445 /* end confdefs.h.  */
31446 #include <math.h>
31447                       #ifdef HAVE_IEEEFP_H
31448                       #include <ieeefp.h>
31449                       #endif
31450
31451 int
31452 main ()
31453 {
31454  _isnanl(0);
31455   ;
31456   return 0;
31457 }
31458 _ACEOF
31459 if ac_fn_cxx_try_compile "$LINENO"; then :
31460   glibcxx_cv_func__isnanl_use=yes
31461 else
31462   glibcxx_cv_func__isnanl_use=no
31463 fi
31464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31465       ac_ext=c
31466 ac_cpp='$CPP $CPPFLAGS'
31467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31470
31471
31472 fi
31473
31474   fi
31475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31476 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31477
31478     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31479       for ac_func in _isnanl
31480 do :
31481   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31482 if test "x$ac_cv_func__isnanl" = x""yes; then :
31483   cat >>confdefs.h <<_ACEOF
31484 #define HAVE__ISNANL 1
31485 _ACEOF
31486
31487 fi
31488 done
31489
31490     fi
31491   fi
31492
31493
31494
31495
31496
31497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31498 $as_echo_n "checking for isinfl declaration... " >&6; }
31499   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31500     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31501   $as_echo_n "(cached) " >&6
31502 else
31503
31504
31505       ac_ext=cpp
31506 ac_cpp='$CXXCPP $CPPFLAGS'
31507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31510
31511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31512 /* end confdefs.h.  */
31513 #include <math.h>
31514                       #ifdef HAVE_IEEEFP_H
31515                       #include <ieeefp.h>
31516                       #endif
31517
31518 int
31519 main ()
31520 {
31521  isinfl(0);
31522   ;
31523   return 0;
31524 }
31525 _ACEOF
31526 if ac_fn_cxx_try_compile "$LINENO"; then :
31527   glibcxx_cv_func_isinfl_use=yes
31528 else
31529   glibcxx_cv_func_isinfl_use=no
31530 fi
31531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31532       ac_ext=c
31533 ac_cpp='$CPP $CPPFLAGS'
31534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31537
31538
31539 fi
31540
31541   fi
31542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31543 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31544
31545   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31546     for ac_func in isinfl
31547 do :
31548   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31549 if test "x$ac_cv_func_isinfl" = x""yes; then :
31550   cat >>confdefs.h <<_ACEOF
31551 #define HAVE_ISINFL 1
31552 _ACEOF
31553
31554 fi
31555 done
31556
31557   else
31558
31559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31560 $as_echo_n "checking for _isinfl declaration... " >&6; }
31561   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31562     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31563   $as_echo_n "(cached) " >&6
31564 else
31565
31566
31567       ac_ext=cpp
31568 ac_cpp='$CXXCPP $CPPFLAGS'
31569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31572
31573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31574 /* end confdefs.h.  */
31575 #include <math.h>
31576                       #ifdef HAVE_IEEEFP_H
31577                       #include <ieeefp.h>
31578                       #endif
31579
31580 int
31581 main ()
31582 {
31583  _isinfl(0);
31584   ;
31585   return 0;
31586 }
31587 _ACEOF
31588 if ac_fn_cxx_try_compile "$LINENO"; then :
31589   glibcxx_cv_func__isinfl_use=yes
31590 else
31591   glibcxx_cv_func__isinfl_use=no
31592 fi
31593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31594       ac_ext=c
31595 ac_cpp='$CPP $CPPFLAGS'
31596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31599
31600
31601 fi
31602
31603   fi
31604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31605 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31606
31607     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31608       for ac_func in _isinfl
31609 do :
31610   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31611 if test "x$ac_cv_func__isinfl" = x""yes; then :
31612   cat >>confdefs.h <<_ACEOF
31613 #define HAVE__ISINFL 1
31614 _ACEOF
31615
31616 fi
31617 done
31618
31619     fi
31620   fi
31621
31622
31623
31624
31625
31626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31627 $as_echo_n "checking for atan2l declaration... " >&6; }
31628   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31629     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31630   $as_echo_n "(cached) " >&6
31631 else
31632
31633
31634       ac_ext=cpp
31635 ac_cpp='$CXXCPP $CPPFLAGS'
31636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31639
31640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31641 /* end confdefs.h.  */
31642 #include <math.h>
31643 int
31644 main ()
31645 {
31646  atan2l(0, 0);
31647   ;
31648   return 0;
31649 }
31650 _ACEOF
31651 if ac_fn_cxx_try_compile "$LINENO"; then :
31652   glibcxx_cv_func_atan2l_use=yes
31653 else
31654   glibcxx_cv_func_atan2l_use=no
31655 fi
31656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31657       ac_ext=c
31658 ac_cpp='$CPP $CPPFLAGS'
31659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31662
31663
31664 fi
31665
31666   fi
31667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31668 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31669
31670   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31671     for ac_func in atan2l
31672 do :
31673   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31674 if test "x$ac_cv_func_atan2l" = x""yes; then :
31675   cat >>confdefs.h <<_ACEOF
31676 #define HAVE_ATAN2L 1
31677 _ACEOF
31678
31679 fi
31680 done
31681
31682   else
31683
31684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31685 $as_echo_n "checking for _atan2l declaration... " >&6; }
31686   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31687     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31688   $as_echo_n "(cached) " >&6
31689 else
31690
31691
31692       ac_ext=cpp
31693 ac_cpp='$CXXCPP $CPPFLAGS'
31694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31697
31698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31699 /* end confdefs.h.  */
31700 #include <math.h>
31701 int
31702 main ()
31703 {
31704  _atan2l(0, 0);
31705   ;
31706   return 0;
31707 }
31708 _ACEOF
31709 if ac_fn_cxx_try_compile "$LINENO"; then :
31710   glibcxx_cv_func__atan2l_use=yes
31711 else
31712   glibcxx_cv_func__atan2l_use=no
31713 fi
31714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31715       ac_ext=c
31716 ac_cpp='$CPP $CPPFLAGS'
31717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31720
31721
31722 fi
31723
31724   fi
31725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31726 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31727
31728     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31729       for ac_func in _atan2l
31730 do :
31731   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31732 if test "x$ac_cv_func__atan2l" = x""yes; then :
31733   cat >>confdefs.h <<_ACEOF
31734 #define HAVE__ATAN2L 1
31735 _ACEOF
31736
31737 fi
31738 done
31739
31740     fi
31741   fi
31742
31743
31744
31745
31746
31747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31748 $as_echo_n "checking for expl declaration... " >&6; }
31749   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31750     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31751   $as_echo_n "(cached) " >&6
31752 else
31753
31754
31755       ac_ext=cpp
31756 ac_cpp='$CXXCPP $CPPFLAGS'
31757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31760
31761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31762 /* end confdefs.h.  */
31763 #include <math.h>
31764                       #ifdef HAVE_IEEEFP_H
31765                       #include <ieeefp.h>
31766                       #endif
31767
31768 int
31769 main ()
31770 {
31771  expl(0);
31772   ;
31773   return 0;
31774 }
31775 _ACEOF
31776 if ac_fn_cxx_try_compile "$LINENO"; then :
31777   glibcxx_cv_func_expl_use=yes
31778 else
31779   glibcxx_cv_func_expl_use=no
31780 fi
31781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31782       ac_ext=c
31783 ac_cpp='$CPP $CPPFLAGS'
31784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31787
31788
31789 fi
31790
31791   fi
31792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31793 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31794
31795   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31796     for ac_func in expl
31797 do :
31798   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31799 if test "x$ac_cv_func_expl" = x""yes; then :
31800   cat >>confdefs.h <<_ACEOF
31801 #define HAVE_EXPL 1
31802 _ACEOF
31803
31804 fi
31805 done
31806
31807   else
31808
31809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31810 $as_echo_n "checking for _expl declaration... " >&6; }
31811   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31812     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31813   $as_echo_n "(cached) " >&6
31814 else
31815
31816
31817       ac_ext=cpp
31818 ac_cpp='$CXXCPP $CPPFLAGS'
31819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31822
31823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31824 /* end confdefs.h.  */
31825 #include <math.h>
31826                       #ifdef HAVE_IEEEFP_H
31827                       #include <ieeefp.h>
31828                       #endif
31829
31830 int
31831 main ()
31832 {
31833  _expl(0);
31834   ;
31835   return 0;
31836 }
31837 _ACEOF
31838 if ac_fn_cxx_try_compile "$LINENO"; then :
31839   glibcxx_cv_func__expl_use=yes
31840 else
31841   glibcxx_cv_func__expl_use=no
31842 fi
31843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31844       ac_ext=c
31845 ac_cpp='$CPP $CPPFLAGS'
31846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31849
31850
31851 fi
31852
31853   fi
31854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31855 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31856
31857     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31858       for ac_func in _expl
31859 do :
31860   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31861 if test "x$ac_cv_func__expl" = x""yes; then :
31862   cat >>confdefs.h <<_ACEOF
31863 #define HAVE__EXPL 1
31864 _ACEOF
31865
31866 fi
31867 done
31868
31869     fi
31870   fi
31871
31872
31873
31874
31875
31876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31877 $as_echo_n "checking for fabsl declaration... " >&6; }
31878   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31879     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31880   $as_echo_n "(cached) " >&6
31881 else
31882
31883
31884       ac_ext=cpp
31885 ac_cpp='$CXXCPP $CPPFLAGS'
31886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31889
31890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31891 /* end confdefs.h.  */
31892 #include <math.h>
31893                       #ifdef HAVE_IEEEFP_H
31894                       #include <ieeefp.h>
31895                       #endif
31896
31897 int
31898 main ()
31899 {
31900  fabsl(0);
31901   ;
31902   return 0;
31903 }
31904 _ACEOF
31905 if ac_fn_cxx_try_compile "$LINENO"; then :
31906   glibcxx_cv_func_fabsl_use=yes
31907 else
31908   glibcxx_cv_func_fabsl_use=no
31909 fi
31910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31911       ac_ext=c
31912 ac_cpp='$CPP $CPPFLAGS'
31913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31916
31917
31918 fi
31919
31920   fi
31921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31922 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31923
31924   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31925     for ac_func in fabsl
31926 do :
31927   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31928 if test "x$ac_cv_func_fabsl" = x""yes; then :
31929   cat >>confdefs.h <<_ACEOF
31930 #define HAVE_FABSL 1
31931 _ACEOF
31932
31933 fi
31934 done
31935
31936   else
31937
31938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31939 $as_echo_n "checking for _fabsl declaration... " >&6; }
31940   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31941     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31942   $as_echo_n "(cached) " >&6
31943 else
31944
31945
31946       ac_ext=cpp
31947 ac_cpp='$CXXCPP $CPPFLAGS'
31948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31951
31952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31953 /* end confdefs.h.  */
31954 #include <math.h>
31955                       #ifdef HAVE_IEEEFP_H
31956                       #include <ieeefp.h>
31957                       #endif
31958
31959 int
31960 main ()
31961 {
31962  _fabsl(0);
31963   ;
31964   return 0;
31965 }
31966 _ACEOF
31967 if ac_fn_cxx_try_compile "$LINENO"; then :
31968   glibcxx_cv_func__fabsl_use=yes
31969 else
31970   glibcxx_cv_func__fabsl_use=no
31971 fi
31972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31973       ac_ext=c
31974 ac_cpp='$CPP $CPPFLAGS'
31975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31978
31979
31980 fi
31981
31982   fi
31983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31984 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31985
31986     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31987       for ac_func in _fabsl
31988 do :
31989   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31990 if test "x$ac_cv_func__fabsl" = x""yes; then :
31991   cat >>confdefs.h <<_ACEOF
31992 #define HAVE__FABSL 1
31993 _ACEOF
31994
31995 fi
31996 done
31997
31998     fi
31999   fi
32000
32001
32002
32003
32004
32005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32006 $as_echo_n "checking for fmodl declaration... " >&6; }
32007   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32008     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32009   $as_echo_n "(cached) " >&6
32010 else
32011
32012
32013       ac_ext=cpp
32014 ac_cpp='$CXXCPP $CPPFLAGS'
32015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32018
32019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32020 /* end confdefs.h.  */
32021 #include <math.h>
32022 int
32023 main ()
32024 {
32025  fmodl(0, 0);
32026   ;
32027   return 0;
32028 }
32029 _ACEOF
32030 if ac_fn_cxx_try_compile "$LINENO"; then :
32031   glibcxx_cv_func_fmodl_use=yes
32032 else
32033   glibcxx_cv_func_fmodl_use=no
32034 fi
32035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32036       ac_ext=c
32037 ac_cpp='$CPP $CPPFLAGS'
32038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32041
32042
32043 fi
32044
32045   fi
32046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32047 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32048
32049   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32050     for ac_func in fmodl
32051 do :
32052   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32053 if test "x$ac_cv_func_fmodl" = x""yes; then :
32054   cat >>confdefs.h <<_ACEOF
32055 #define HAVE_FMODL 1
32056 _ACEOF
32057
32058 fi
32059 done
32060
32061   else
32062
32063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32064 $as_echo_n "checking for _fmodl declaration... " >&6; }
32065   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32066     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32067   $as_echo_n "(cached) " >&6
32068 else
32069
32070
32071       ac_ext=cpp
32072 ac_cpp='$CXXCPP $CPPFLAGS'
32073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32076
32077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32078 /* end confdefs.h.  */
32079 #include <math.h>
32080 int
32081 main ()
32082 {
32083  _fmodl(0, 0);
32084   ;
32085   return 0;
32086 }
32087 _ACEOF
32088 if ac_fn_cxx_try_compile "$LINENO"; then :
32089   glibcxx_cv_func__fmodl_use=yes
32090 else
32091   glibcxx_cv_func__fmodl_use=no
32092 fi
32093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32094       ac_ext=c
32095 ac_cpp='$CPP $CPPFLAGS'
32096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32099
32100
32101 fi
32102
32103   fi
32104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32105 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32106
32107     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32108       for ac_func in _fmodl
32109 do :
32110   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32111 if test "x$ac_cv_func__fmodl" = x""yes; then :
32112   cat >>confdefs.h <<_ACEOF
32113 #define HAVE__FMODL 1
32114 _ACEOF
32115
32116 fi
32117 done
32118
32119     fi
32120   fi
32121
32122
32123
32124
32125
32126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32127 $as_echo_n "checking for frexpl declaration... " >&6; }
32128   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32129     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32130   $as_echo_n "(cached) " >&6
32131 else
32132
32133
32134       ac_ext=cpp
32135 ac_cpp='$CXXCPP $CPPFLAGS'
32136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32139
32140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32141 /* end confdefs.h.  */
32142 #include <math.h>
32143 int
32144 main ()
32145 {
32146  frexpl(0, 0);
32147   ;
32148   return 0;
32149 }
32150 _ACEOF
32151 if ac_fn_cxx_try_compile "$LINENO"; then :
32152   glibcxx_cv_func_frexpl_use=yes
32153 else
32154   glibcxx_cv_func_frexpl_use=no
32155 fi
32156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32157       ac_ext=c
32158 ac_cpp='$CPP $CPPFLAGS'
32159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32162
32163
32164 fi
32165
32166   fi
32167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32168 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32169
32170   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32171     for ac_func in frexpl
32172 do :
32173   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32174 if test "x$ac_cv_func_frexpl" = x""yes; then :
32175   cat >>confdefs.h <<_ACEOF
32176 #define HAVE_FREXPL 1
32177 _ACEOF
32178
32179 fi
32180 done
32181
32182   else
32183
32184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32185 $as_echo_n "checking for _frexpl declaration... " >&6; }
32186   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32187     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32188   $as_echo_n "(cached) " >&6
32189 else
32190
32191
32192       ac_ext=cpp
32193 ac_cpp='$CXXCPP $CPPFLAGS'
32194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32197
32198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32199 /* end confdefs.h.  */
32200 #include <math.h>
32201 int
32202 main ()
32203 {
32204  _frexpl(0, 0);
32205   ;
32206   return 0;
32207 }
32208 _ACEOF
32209 if ac_fn_cxx_try_compile "$LINENO"; then :
32210   glibcxx_cv_func__frexpl_use=yes
32211 else
32212   glibcxx_cv_func__frexpl_use=no
32213 fi
32214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32215       ac_ext=c
32216 ac_cpp='$CPP $CPPFLAGS'
32217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32220
32221
32222 fi
32223
32224   fi
32225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32226 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32227
32228     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32229       for ac_func in _frexpl
32230 do :
32231   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32232 if test "x$ac_cv_func__frexpl" = x""yes; then :
32233   cat >>confdefs.h <<_ACEOF
32234 #define HAVE__FREXPL 1
32235 _ACEOF
32236
32237 fi
32238 done
32239
32240     fi
32241   fi
32242
32243
32244
32245
32246
32247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32248 $as_echo_n "checking for hypotl declaration... " >&6; }
32249   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32250     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32251   $as_echo_n "(cached) " >&6
32252 else
32253
32254
32255       ac_ext=cpp
32256 ac_cpp='$CXXCPP $CPPFLAGS'
32257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32260
32261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32262 /* end confdefs.h.  */
32263 #include <math.h>
32264 int
32265 main ()
32266 {
32267  hypotl(0, 0);
32268   ;
32269   return 0;
32270 }
32271 _ACEOF
32272 if ac_fn_cxx_try_compile "$LINENO"; then :
32273   glibcxx_cv_func_hypotl_use=yes
32274 else
32275   glibcxx_cv_func_hypotl_use=no
32276 fi
32277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32278       ac_ext=c
32279 ac_cpp='$CPP $CPPFLAGS'
32280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32283
32284
32285 fi
32286
32287   fi
32288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32289 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32290
32291   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32292     for ac_func in hypotl
32293 do :
32294   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32295 if test "x$ac_cv_func_hypotl" = x""yes; then :
32296   cat >>confdefs.h <<_ACEOF
32297 #define HAVE_HYPOTL 1
32298 _ACEOF
32299
32300 fi
32301 done
32302
32303   else
32304
32305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32306 $as_echo_n "checking for _hypotl declaration... " >&6; }
32307   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32308     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32309   $as_echo_n "(cached) " >&6
32310 else
32311
32312
32313       ac_ext=cpp
32314 ac_cpp='$CXXCPP $CPPFLAGS'
32315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32318
32319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32320 /* end confdefs.h.  */
32321 #include <math.h>
32322 int
32323 main ()
32324 {
32325  _hypotl(0, 0);
32326   ;
32327   return 0;
32328 }
32329 _ACEOF
32330 if ac_fn_cxx_try_compile "$LINENO"; then :
32331   glibcxx_cv_func__hypotl_use=yes
32332 else
32333   glibcxx_cv_func__hypotl_use=no
32334 fi
32335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32336       ac_ext=c
32337 ac_cpp='$CPP $CPPFLAGS'
32338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32341
32342
32343 fi
32344
32345   fi
32346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32347 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32348
32349     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32350       for ac_func in _hypotl
32351 do :
32352   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32353 if test "x$ac_cv_func__hypotl" = x""yes; then :
32354   cat >>confdefs.h <<_ACEOF
32355 #define HAVE__HYPOTL 1
32356 _ACEOF
32357
32358 fi
32359 done
32360
32361     fi
32362   fi
32363
32364
32365
32366
32367
32368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32369 $as_echo_n "checking for ldexpl declaration... " >&6; }
32370   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32371     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32372   $as_echo_n "(cached) " >&6
32373 else
32374
32375
32376       ac_ext=cpp
32377 ac_cpp='$CXXCPP $CPPFLAGS'
32378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32381
32382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32383 /* end confdefs.h.  */
32384 #include <math.h>
32385 int
32386 main ()
32387 {
32388  ldexpl(0, 0);
32389   ;
32390   return 0;
32391 }
32392 _ACEOF
32393 if ac_fn_cxx_try_compile "$LINENO"; then :
32394   glibcxx_cv_func_ldexpl_use=yes
32395 else
32396   glibcxx_cv_func_ldexpl_use=no
32397 fi
32398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32399       ac_ext=c
32400 ac_cpp='$CPP $CPPFLAGS'
32401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32404
32405
32406 fi
32407
32408   fi
32409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32410 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32411
32412   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32413     for ac_func in ldexpl
32414 do :
32415   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32416 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32417   cat >>confdefs.h <<_ACEOF
32418 #define HAVE_LDEXPL 1
32419 _ACEOF
32420
32421 fi
32422 done
32423
32424   else
32425
32426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32427 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32428   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32429     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32430   $as_echo_n "(cached) " >&6
32431 else
32432
32433
32434       ac_ext=cpp
32435 ac_cpp='$CXXCPP $CPPFLAGS'
32436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32439
32440       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32441 /* end confdefs.h.  */
32442 #include <math.h>
32443 int
32444 main ()
32445 {
32446  _ldexpl(0, 0);
32447   ;
32448   return 0;
32449 }
32450 _ACEOF
32451 if ac_fn_cxx_try_compile "$LINENO"; then :
32452   glibcxx_cv_func__ldexpl_use=yes
32453 else
32454   glibcxx_cv_func__ldexpl_use=no
32455 fi
32456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32457       ac_ext=c
32458 ac_cpp='$CPP $CPPFLAGS'
32459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32462
32463
32464 fi
32465
32466   fi
32467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32468 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32469
32470     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32471       for ac_func in _ldexpl
32472 do :
32473   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32474 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32475   cat >>confdefs.h <<_ACEOF
32476 #define HAVE__LDEXPL 1
32477 _ACEOF
32478
32479 fi
32480 done
32481
32482     fi
32483   fi
32484
32485
32486
32487
32488
32489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32490 $as_echo_n "checking for logl declaration... " >&6; }
32491   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32492     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32493   $as_echo_n "(cached) " >&6
32494 else
32495
32496
32497       ac_ext=cpp
32498 ac_cpp='$CXXCPP $CPPFLAGS'
32499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32502
32503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32504 /* end confdefs.h.  */
32505 #include <math.h>
32506                       #ifdef HAVE_IEEEFP_H
32507                       #include <ieeefp.h>
32508                       #endif
32509
32510 int
32511 main ()
32512 {
32513  logl(0);
32514   ;
32515   return 0;
32516 }
32517 _ACEOF
32518 if ac_fn_cxx_try_compile "$LINENO"; then :
32519   glibcxx_cv_func_logl_use=yes
32520 else
32521   glibcxx_cv_func_logl_use=no
32522 fi
32523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32524       ac_ext=c
32525 ac_cpp='$CPP $CPPFLAGS'
32526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32529
32530
32531 fi
32532
32533   fi
32534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32535 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32536
32537   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32538     for ac_func in logl
32539 do :
32540   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32541 if test "x$ac_cv_func_logl" = x""yes; then :
32542   cat >>confdefs.h <<_ACEOF
32543 #define HAVE_LOGL 1
32544 _ACEOF
32545
32546 fi
32547 done
32548
32549   else
32550
32551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32552 $as_echo_n "checking for _logl declaration... " >&6; }
32553   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32554     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32555   $as_echo_n "(cached) " >&6
32556 else
32557
32558
32559       ac_ext=cpp
32560 ac_cpp='$CXXCPP $CPPFLAGS'
32561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32564
32565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32566 /* end confdefs.h.  */
32567 #include <math.h>
32568                       #ifdef HAVE_IEEEFP_H
32569                       #include <ieeefp.h>
32570                       #endif
32571
32572 int
32573 main ()
32574 {
32575  _logl(0);
32576   ;
32577   return 0;
32578 }
32579 _ACEOF
32580 if ac_fn_cxx_try_compile "$LINENO"; then :
32581   glibcxx_cv_func__logl_use=yes
32582 else
32583   glibcxx_cv_func__logl_use=no
32584 fi
32585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32586       ac_ext=c
32587 ac_cpp='$CPP $CPPFLAGS'
32588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32591
32592
32593 fi
32594
32595   fi
32596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32597 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32598
32599     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32600       for ac_func in _logl
32601 do :
32602   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32603 if test "x$ac_cv_func__logl" = x""yes; then :
32604   cat >>confdefs.h <<_ACEOF
32605 #define HAVE__LOGL 1
32606 _ACEOF
32607
32608 fi
32609 done
32610
32611     fi
32612   fi
32613
32614
32615
32616
32617
32618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32619 $as_echo_n "checking for log10l declaration... " >&6; }
32620   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32621     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32622   $as_echo_n "(cached) " >&6
32623 else
32624
32625
32626       ac_ext=cpp
32627 ac_cpp='$CXXCPP $CPPFLAGS'
32628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32631
32632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32633 /* end confdefs.h.  */
32634 #include <math.h>
32635                       #ifdef HAVE_IEEEFP_H
32636                       #include <ieeefp.h>
32637                       #endif
32638
32639 int
32640 main ()
32641 {
32642  log10l(0);
32643   ;
32644   return 0;
32645 }
32646 _ACEOF
32647 if ac_fn_cxx_try_compile "$LINENO"; then :
32648   glibcxx_cv_func_log10l_use=yes
32649 else
32650   glibcxx_cv_func_log10l_use=no
32651 fi
32652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32653       ac_ext=c
32654 ac_cpp='$CPP $CPPFLAGS'
32655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32658
32659
32660 fi
32661
32662   fi
32663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32664 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32665
32666   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32667     for ac_func in log10l
32668 do :
32669   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32670 if test "x$ac_cv_func_log10l" = x""yes; then :
32671   cat >>confdefs.h <<_ACEOF
32672 #define HAVE_LOG10L 1
32673 _ACEOF
32674
32675 fi
32676 done
32677
32678   else
32679
32680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32681 $as_echo_n "checking for _log10l declaration... " >&6; }
32682   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32683     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32684   $as_echo_n "(cached) " >&6
32685 else
32686
32687
32688       ac_ext=cpp
32689 ac_cpp='$CXXCPP $CPPFLAGS'
32690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32693
32694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32695 /* end confdefs.h.  */
32696 #include <math.h>
32697                       #ifdef HAVE_IEEEFP_H
32698                       #include <ieeefp.h>
32699                       #endif
32700
32701 int
32702 main ()
32703 {
32704  _log10l(0);
32705   ;
32706   return 0;
32707 }
32708 _ACEOF
32709 if ac_fn_cxx_try_compile "$LINENO"; then :
32710   glibcxx_cv_func__log10l_use=yes
32711 else
32712   glibcxx_cv_func__log10l_use=no
32713 fi
32714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32715       ac_ext=c
32716 ac_cpp='$CPP $CPPFLAGS'
32717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32720
32721
32722 fi
32723
32724   fi
32725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32726 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32727
32728     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32729       for ac_func in _log10l
32730 do :
32731   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32732 if test "x$ac_cv_func__log10l" = x""yes; then :
32733   cat >>confdefs.h <<_ACEOF
32734 #define HAVE__LOG10L 1
32735 _ACEOF
32736
32737 fi
32738 done
32739
32740     fi
32741   fi
32742
32743
32744
32745
32746
32747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32748 $as_echo_n "checking for modfl declaration... " >&6; }
32749   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32750     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32751   $as_echo_n "(cached) " >&6
32752 else
32753
32754
32755       ac_ext=cpp
32756 ac_cpp='$CXXCPP $CPPFLAGS'
32757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32760
32761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32762 /* end confdefs.h.  */
32763 #include <math.h>
32764 int
32765 main ()
32766 {
32767  modfl(0, 0);
32768   ;
32769   return 0;
32770 }
32771 _ACEOF
32772 if ac_fn_cxx_try_compile "$LINENO"; then :
32773   glibcxx_cv_func_modfl_use=yes
32774 else
32775   glibcxx_cv_func_modfl_use=no
32776 fi
32777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32778       ac_ext=c
32779 ac_cpp='$CPP $CPPFLAGS'
32780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32783
32784
32785 fi
32786
32787   fi
32788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32789 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32790
32791   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32792     for ac_func in modfl
32793 do :
32794   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32795 if test "x$ac_cv_func_modfl" = x""yes; then :
32796   cat >>confdefs.h <<_ACEOF
32797 #define HAVE_MODFL 1
32798 _ACEOF
32799
32800 fi
32801 done
32802
32803   else
32804
32805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32806 $as_echo_n "checking for _modfl declaration... " >&6; }
32807   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32808     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32809   $as_echo_n "(cached) " >&6
32810 else
32811
32812
32813       ac_ext=cpp
32814 ac_cpp='$CXXCPP $CPPFLAGS'
32815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32818
32819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32820 /* end confdefs.h.  */
32821 #include <math.h>
32822 int
32823 main ()
32824 {
32825  _modfl(0, 0);
32826   ;
32827   return 0;
32828 }
32829 _ACEOF
32830 if ac_fn_cxx_try_compile "$LINENO"; then :
32831   glibcxx_cv_func__modfl_use=yes
32832 else
32833   glibcxx_cv_func__modfl_use=no
32834 fi
32835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32836       ac_ext=c
32837 ac_cpp='$CPP $CPPFLAGS'
32838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32841
32842
32843 fi
32844
32845   fi
32846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32847 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32848
32849     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32850       for ac_func in _modfl
32851 do :
32852   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32853 if test "x$ac_cv_func__modfl" = x""yes; then :
32854   cat >>confdefs.h <<_ACEOF
32855 #define HAVE__MODFL 1
32856 _ACEOF
32857
32858 fi
32859 done
32860
32861     fi
32862   fi
32863
32864
32865
32866
32867
32868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32869 $as_echo_n "checking for powl declaration... " >&6; }
32870   if test x${glibcxx_cv_func_powl_use+set} != xset; then
32871     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32872   $as_echo_n "(cached) " >&6
32873 else
32874
32875
32876       ac_ext=cpp
32877 ac_cpp='$CXXCPP $CPPFLAGS'
32878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32881
32882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32883 /* end confdefs.h.  */
32884 #include <math.h>
32885 int
32886 main ()
32887 {
32888  powl(0, 0);
32889   ;
32890   return 0;
32891 }
32892 _ACEOF
32893 if ac_fn_cxx_try_compile "$LINENO"; then :
32894   glibcxx_cv_func_powl_use=yes
32895 else
32896   glibcxx_cv_func_powl_use=no
32897 fi
32898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32899       ac_ext=c
32900 ac_cpp='$CPP $CPPFLAGS'
32901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32904
32905
32906 fi
32907
32908   fi
32909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32910 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32911
32912   if test x$glibcxx_cv_func_powl_use = x"yes"; then
32913     for ac_func in powl
32914 do :
32915   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32916 if test "x$ac_cv_func_powl" = x""yes; then :
32917   cat >>confdefs.h <<_ACEOF
32918 #define HAVE_POWL 1
32919 _ACEOF
32920
32921 fi
32922 done
32923
32924   else
32925
32926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32927 $as_echo_n "checking for _powl declaration... " >&6; }
32928   if test x${glibcxx_cv_func__powl_use+set} != xset; then
32929     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32930   $as_echo_n "(cached) " >&6
32931 else
32932
32933
32934       ac_ext=cpp
32935 ac_cpp='$CXXCPP $CPPFLAGS'
32936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32939
32940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32941 /* end confdefs.h.  */
32942 #include <math.h>
32943 int
32944 main ()
32945 {
32946  _powl(0, 0);
32947   ;
32948   return 0;
32949 }
32950 _ACEOF
32951 if ac_fn_cxx_try_compile "$LINENO"; then :
32952   glibcxx_cv_func__powl_use=yes
32953 else
32954   glibcxx_cv_func__powl_use=no
32955 fi
32956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32957       ac_ext=c
32958 ac_cpp='$CPP $CPPFLAGS'
32959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32962
32963
32964 fi
32965
32966   fi
32967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32968 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32969
32970     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32971       for ac_func in _powl
32972 do :
32973   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32974 if test "x$ac_cv_func__powl" = x""yes; then :
32975   cat >>confdefs.h <<_ACEOF
32976 #define HAVE__POWL 1
32977 _ACEOF
32978
32979 fi
32980 done
32981
32982     fi
32983   fi
32984
32985
32986
32987
32988
32989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32990 $as_echo_n "checking for sqrtl declaration... " >&6; }
32991   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32992     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32993   $as_echo_n "(cached) " >&6
32994 else
32995
32996
32997       ac_ext=cpp
32998 ac_cpp='$CXXCPP $CPPFLAGS'
32999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33002
33003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33004 /* end confdefs.h.  */
33005 #include <math.h>
33006                       #ifdef HAVE_IEEEFP_H
33007                       #include <ieeefp.h>
33008                       #endif
33009
33010 int
33011 main ()
33012 {
33013  sqrtl(0);
33014   ;
33015   return 0;
33016 }
33017 _ACEOF
33018 if ac_fn_cxx_try_compile "$LINENO"; then :
33019   glibcxx_cv_func_sqrtl_use=yes
33020 else
33021   glibcxx_cv_func_sqrtl_use=no
33022 fi
33023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33024       ac_ext=c
33025 ac_cpp='$CPP $CPPFLAGS'
33026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33029
33030
33031 fi
33032
33033   fi
33034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33035 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33036
33037   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33038     for ac_func in sqrtl
33039 do :
33040   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33041 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33042   cat >>confdefs.h <<_ACEOF
33043 #define HAVE_SQRTL 1
33044 _ACEOF
33045
33046 fi
33047 done
33048
33049   else
33050
33051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33052 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33053   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33054     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33055   $as_echo_n "(cached) " >&6
33056 else
33057
33058
33059       ac_ext=cpp
33060 ac_cpp='$CXXCPP $CPPFLAGS'
33061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33064
33065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33066 /* end confdefs.h.  */
33067 #include <math.h>
33068                       #ifdef HAVE_IEEEFP_H
33069                       #include <ieeefp.h>
33070                       #endif
33071
33072 int
33073 main ()
33074 {
33075  _sqrtl(0);
33076   ;
33077   return 0;
33078 }
33079 _ACEOF
33080 if ac_fn_cxx_try_compile "$LINENO"; then :
33081   glibcxx_cv_func__sqrtl_use=yes
33082 else
33083   glibcxx_cv_func__sqrtl_use=no
33084 fi
33085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33086       ac_ext=c
33087 ac_cpp='$CPP $CPPFLAGS'
33088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33091
33092
33093 fi
33094
33095   fi
33096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33097 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33098
33099     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33100       for ac_func in _sqrtl
33101 do :
33102   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33103 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33104   cat >>confdefs.h <<_ACEOF
33105 #define HAVE__SQRTL 1
33106 _ACEOF
33107
33108 fi
33109 done
33110
33111     fi
33112   fi
33113
33114
33115
33116
33117
33118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33119 $as_echo_n "checking for sincosl declaration... " >&6; }
33120   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33121     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33122   $as_echo_n "(cached) " >&6
33123 else
33124
33125
33126       ac_ext=cpp
33127 ac_cpp='$CXXCPP $CPPFLAGS'
33128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33131
33132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33133 /* end confdefs.h.  */
33134 #include <math.h>
33135 int
33136 main ()
33137 {
33138  sincosl(0, 0, 0);
33139   ;
33140   return 0;
33141 }
33142 _ACEOF
33143 if ac_fn_cxx_try_compile "$LINENO"; then :
33144   glibcxx_cv_func_sincosl_use=yes
33145 else
33146   glibcxx_cv_func_sincosl_use=no
33147 fi
33148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33149       ac_ext=c
33150 ac_cpp='$CPP $CPPFLAGS'
33151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33154
33155
33156 fi
33157
33158   fi
33159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33160 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33161
33162   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33163     for ac_func in sincosl
33164 do :
33165   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33166 if test "x$ac_cv_func_sincosl" = x""yes; then :
33167   cat >>confdefs.h <<_ACEOF
33168 #define HAVE_SINCOSL 1
33169 _ACEOF
33170
33171 fi
33172 done
33173
33174   else
33175
33176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33177 $as_echo_n "checking for _sincosl declaration... " >&6; }
33178   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33179     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33180   $as_echo_n "(cached) " >&6
33181 else
33182
33183
33184       ac_ext=cpp
33185 ac_cpp='$CXXCPP $CPPFLAGS'
33186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33189
33190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33191 /* end confdefs.h.  */
33192 #include <math.h>
33193 int
33194 main ()
33195 {
33196  _sincosl(0, 0, 0);
33197   ;
33198   return 0;
33199 }
33200 _ACEOF
33201 if ac_fn_cxx_try_compile "$LINENO"; then :
33202   glibcxx_cv_func__sincosl_use=yes
33203 else
33204   glibcxx_cv_func__sincosl_use=no
33205 fi
33206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33207       ac_ext=c
33208 ac_cpp='$CPP $CPPFLAGS'
33209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33212
33213
33214 fi
33215
33216   fi
33217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33218 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33219
33220     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33221       for ac_func in _sincosl
33222 do :
33223   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33224 if test "x$ac_cv_func__sincosl" = x""yes; then :
33225   cat >>confdefs.h <<_ACEOF
33226 #define HAVE__SINCOSL 1
33227 _ACEOF
33228
33229 fi
33230 done
33231
33232     fi
33233   fi
33234
33235
33236
33237
33238
33239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33240 $as_echo_n "checking for finitel declaration... " >&6; }
33241   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33242     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33243   $as_echo_n "(cached) " >&6
33244 else
33245
33246
33247       ac_ext=cpp
33248 ac_cpp='$CXXCPP $CPPFLAGS'
33249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33252
33253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33254 /* end confdefs.h.  */
33255 #include <math.h>
33256                       #ifdef HAVE_IEEEFP_H
33257                       #include <ieeefp.h>
33258                       #endif
33259
33260 int
33261 main ()
33262 {
33263  finitel(0);
33264   ;
33265   return 0;
33266 }
33267 _ACEOF
33268 if ac_fn_cxx_try_compile "$LINENO"; then :
33269   glibcxx_cv_func_finitel_use=yes
33270 else
33271   glibcxx_cv_func_finitel_use=no
33272 fi
33273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33274       ac_ext=c
33275 ac_cpp='$CPP $CPPFLAGS'
33276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33279
33280
33281 fi
33282
33283   fi
33284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33285 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33286
33287   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33288     for ac_func in finitel
33289 do :
33290   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33291 if test "x$ac_cv_func_finitel" = x""yes; then :
33292   cat >>confdefs.h <<_ACEOF
33293 #define HAVE_FINITEL 1
33294 _ACEOF
33295
33296 fi
33297 done
33298
33299   else
33300
33301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33302 $as_echo_n "checking for _finitel declaration... " >&6; }
33303   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33304     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33305   $as_echo_n "(cached) " >&6
33306 else
33307
33308
33309       ac_ext=cpp
33310 ac_cpp='$CXXCPP $CPPFLAGS'
33311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33314
33315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33316 /* end confdefs.h.  */
33317 #include <math.h>
33318                       #ifdef HAVE_IEEEFP_H
33319                       #include <ieeefp.h>
33320                       #endif
33321
33322 int
33323 main ()
33324 {
33325  _finitel(0);
33326   ;
33327   return 0;
33328 }
33329 _ACEOF
33330 if ac_fn_cxx_try_compile "$LINENO"; then :
33331   glibcxx_cv_func__finitel_use=yes
33332 else
33333   glibcxx_cv_func__finitel_use=no
33334 fi
33335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33336       ac_ext=c
33337 ac_cpp='$CPP $CPPFLAGS'
33338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33341
33342
33343 fi
33344
33345   fi
33346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33347 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33348
33349     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33350       for ac_func in _finitel
33351 do :
33352   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33353 if test "x$ac_cv_func__finitel" = x""yes; then :
33354   cat >>confdefs.h <<_ACEOF
33355 #define HAVE__FINITEL 1
33356 _ACEOF
33357
33358 fi
33359 done
33360
33361     fi
33362   fi
33363
33364
33365
33366
33367   LIBS="$ac_save_LIBS"
33368   CXXFLAGS="$ac_save_CXXFLAGS"
33369
33370
33371   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33372   ac_save_CXXFLAGS="$CXXFLAGS"
33373   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33374
33375
33376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33377 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33378   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33379     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33380   $as_echo_n "(cached) " >&6
33381 else
33382
33383
33384       ac_ext=cpp
33385 ac_cpp='$CXXCPP $CPPFLAGS'
33386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33389
33390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33391 /* end confdefs.h.  */
33392 #include <stdlib.h>
33393 int
33394 main ()
33395 {
33396  at_quick_exit(0);
33397   ;
33398   return 0;
33399 }
33400 _ACEOF
33401 if ac_fn_cxx_try_compile "$LINENO"; then :
33402   glibcxx_cv_func_at_quick_exit_use=yes
33403 else
33404   glibcxx_cv_func_at_quick_exit_use=no
33405 fi
33406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33407       ac_ext=c
33408 ac_cpp='$CPP $CPPFLAGS'
33409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33412
33413
33414 fi
33415
33416   fi
33417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33418 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33419   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33420     for ac_func in at_quick_exit
33421 do :
33422   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33423 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33424   cat >>confdefs.h <<_ACEOF
33425 #define HAVE_AT_QUICK_EXIT 1
33426 _ACEOF
33427
33428 fi
33429 done
33430
33431   fi
33432
33433
33434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33435 $as_echo_n "checking for quick_exit declaration... " >&6; }
33436   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33437     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33438   $as_echo_n "(cached) " >&6
33439 else
33440
33441
33442       ac_ext=cpp
33443 ac_cpp='$CXXCPP $CPPFLAGS'
33444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33447
33448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33449 /* end confdefs.h.  */
33450 #include <stdlib.h>
33451 int
33452 main ()
33453 {
33454  quick_exit(0);
33455   ;
33456   return 0;
33457 }
33458 _ACEOF
33459 if ac_fn_cxx_try_compile "$LINENO"; then :
33460   glibcxx_cv_func_quick_exit_use=yes
33461 else
33462   glibcxx_cv_func_quick_exit_use=no
33463 fi
33464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33465       ac_ext=c
33466 ac_cpp='$CPP $CPPFLAGS'
33467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33470
33471
33472 fi
33473
33474   fi
33475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33476 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33477   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33478     for ac_func in quick_exit
33479 do :
33480   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33481 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33482   cat >>confdefs.h <<_ACEOF
33483 #define HAVE_QUICK_EXIT 1
33484 _ACEOF
33485
33486 fi
33487 done
33488
33489   fi
33490
33491
33492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33493 $as_echo_n "checking for strtold declaration... " >&6; }
33494   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33495     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33496   $as_echo_n "(cached) " >&6
33497 else
33498
33499
33500       ac_ext=cpp
33501 ac_cpp='$CXXCPP $CPPFLAGS'
33502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33505
33506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33507 /* end confdefs.h.  */
33508 #include <stdlib.h>
33509 int
33510 main ()
33511 {
33512  strtold(0, 0);
33513   ;
33514   return 0;
33515 }
33516 _ACEOF
33517 if ac_fn_cxx_try_compile "$LINENO"; then :
33518   glibcxx_cv_func_strtold_use=yes
33519 else
33520   glibcxx_cv_func_strtold_use=no
33521 fi
33522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33523       ac_ext=c
33524 ac_cpp='$CPP $CPPFLAGS'
33525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33528
33529
33530 fi
33531
33532   fi
33533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33534 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33535   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33536     for ac_func in strtold
33537 do :
33538   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33539 if test "x$ac_cv_func_strtold" = x""yes; then :
33540   cat >>confdefs.h <<_ACEOF
33541 #define HAVE_STRTOLD 1
33542 _ACEOF
33543
33544 fi
33545 done
33546
33547   fi
33548
33549
33550
33551
33552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33553 $as_echo_n "checking for strtof declaration... " >&6; }
33554   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33555     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33556   $as_echo_n "(cached) " >&6
33557 else
33558
33559
33560       ac_ext=cpp
33561 ac_cpp='$CXXCPP $CPPFLAGS'
33562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33565
33566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33567 /* end confdefs.h.  */
33568 #include <stdlib.h>
33569 int
33570 main ()
33571 {
33572  strtof(0, 0);
33573   ;
33574   return 0;
33575 }
33576 _ACEOF
33577 if ac_fn_cxx_try_compile "$LINENO"; then :
33578   glibcxx_cv_func_strtof_use=yes
33579 else
33580   glibcxx_cv_func_strtof_use=no
33581 fi
33582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33583       ac_ext=c
33584 ac_cpp='$CPP $CPPFLAGS'
33585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33588
33589
33590 fi
33591
33592   fi
33593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33594 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33595   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33596     for ac_func in strtof
33597 do :
33598   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33599 if test "x$ac_cv_func_strtof" = x""yes; then :
33600   cat >>confdefs.h <<_ACEOF
33601 #define HAVE_STRTOF 1
33602 _ACEOF
33603
33604 fi
33605 done
33606
33607   fi
33608
33609
33610
33611
33612   CXXFLAGS="$ac_save_CXXFLAGS"
33613
33614
33615     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33616
33617     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33618
33619     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33620
33621     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33622
33623
33624     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33625
33626     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33627
33628     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33629
33630     ;;
33631
33632   *-aix*)
33633
33634   # If we're not using GNU ld, then there's no point in even trying these
33635   # tests.  Check for that first.  We should have already tested for gld
33636   # by now (in libtool), but require it now just to be safe...
33637   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33638   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33639
33640
33641
33642   # The name set by libtool depends on the version of libtool.  Shame on us
33643   # for depending on an impl detail, but c'est la vie.  Older versions used
33644   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33645   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33646   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33647   # set (hence we're using an older libtool), then set it.
33648   if test x${with_gnu_ld+set} != xset; then
33649     if test x${ac_cv_prog_gnu_ld+set} != xset; then
33650       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33651       with_gnu_ld=no
33652     else
33653       with_gnu_ld=$ac_cv_prog_gnu_ld
33654     fi
33655   fi
33656
33657   # Start by getting the version number.  I think the libtool test already
33658   # does some of this, but throws away the result.
33659   glibcxx_ld_is_gold=no
33660   if test x"$with_gnu_ld" = x"yes"; then
33661     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33662 $as_echo_n "checking for ld version... " >&6; }
33663
33664     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33665       glibcxx_ld_is_gold=yes
33666     fi
33667     ldver=`$LD --version 2>/dev/null |
33668            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'`
33669
33670     glibcxx_gnu_ld_version=`echo $ldver | \
33671            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33672     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33673 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33674   fi
33675
33676   # Set --gc-sections.
33677   glibcxx_have_gc_sections=no
33678   if test "$glibcxx_ld_is_gold" = "yes"; then
33679     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33680       glibcxx_have_gc_sections=yes
33681     fi
33682   else
33683     glibcxx_gcsections_min_ld=21602
33684     if test x"$with_gnu_ld" = x"yes" &&
33685         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33686       glibcxx_have_gc_sections=yes
33687     fi
33688   fi
33689   if test "$glibcxx_have_gc_sections" = "yes"; then
33690     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33691     # NB: This flag only works reliably after 2.16.1. Configure tests
33692     # for this are difficult, so hard wire a value that should work.
33693
33694     ac_test_CFLAGS="${CFLAGS+set}"
33695     ac_save_CFLAGS="$CFLAGS"
33696     CFLAGS='-Wl,--gc-sections'
33697
33698     # Check for -Wl,--gc-sections
33699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33700 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33701     if test x$gcc_no_link = xyes; then
33702   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33703 fi
33704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33705 /* end confdefs.h.  */
33706  int one(void) { return 1; }
33707      int two(void) { return 2; }
33708
33709 int
33710 main ()
33711 {
33712  two();
33713   ;
33714   return 0;
33715 }
33716 _ACEOF
33717 if ac_fn_c_try_link "$LINENO"; then :
33718   ac_gcsections=yes
33719 else
33720   ac_gcsections=no
33721 fi
33722 rm -f core conftest.err conftest.$ac_objext \
33723     conftest$ac_exeext conftest.$ac_ext
33724     if test "$ac_gcsections" = "yes"; then
33725       rm -f conftest.c
33726       touch conftest.c
33727       if $CC -c conftest.c; then
33728         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33729            grep "Warning: gc-sections option ignored" > /dev/null; then
33730           ac_gcsections=no
33731         fi
33732       fi
33733       rm -f conftest.c conftest.o conftest
33734     fi
33735     if test "$ac_gcsections" = "yes"; then
33736       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33737     fi
33738     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33739 $as_echo "$ac_gcsections" >&6; }
33740
33741     if test "$ac_test_CFLAGS" = set; then
33742       CFLAGS="$ac_save_CFLAGS"
33743     else
33744       # this is the suspicious part
33745       CFLAGS=''
33746     fi
33747   fi
33748
33749   # Set -z,relro.
33750   # Note this is only for shared objects.
33751   ac_ld_relro=no
33752   if test x"$with_gnu_ld" = x"yes"; then
33753     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33754 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33755     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33756     if test -n "$cxx_z_relo"; then
33757       OPT_LDFLAGS="-Wl,-z,relro"
33758       ac_ld_relro=yes
33759     fi
33760     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33761 $as_echo "$ac_ld_relro" >&6; }
33762   fi
33763
33764   # Set linker optimization flags.
33765   if test x"$with_gnu_ld" = x"yes"; then
33766     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33767   fi
33768
33769
33770
33771
33772
33773   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33774   ac_save_CXXFLAGS="$CXXFLAGS"
33775   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33776
33777     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33778 $as_echo_n "checking for sin in -lm... " >&6; }
33779 if test "${ac_cv_lib_m_sin+set}" = set; then :
33780   $as_echo_n "(cached) " >&6
33781 else
33782   ac_check_lib_save_LIBS=$LIBS
33783 LIBS="-lm  $LIBS"
33784 if test x$gcc_no_link = xyes; then
33785   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33786 fi
33787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33788 /* end confdefs.h.  */
33789
33790 /* Override any GCC internal prototype to avoid an error.
33791    Use char because int might match the return type of a GCC
33792    builtin and then its argument prototype would still apply.  */
33793 #ifdef __cplusplus
33794 extern "C"
33795 #endif
33796 char sin ();
33797 int
33798 main ()
33799 {
33800 return sin ();
33801   ;
33802   return 0;
33803 }
33804 _ACEOF
33805 if ac_fn_c_try_link "$LINENO"; then :
33806   ac_cv_lib_m_sin=yes
33807 else
33808   ac_cv_lib_m_sin=no
33809 fi
33810 rm -f core conftest.err conftest.$ac_objext \
33811     conftest$ac_exeext conftest.$ac_ext
33812 LIBS=$ac_check_lib_save_LIBS
33813 fi
33814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33815 $as_echo "$ac_cv_lib_m_sin" >&6; }
33816 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33817   libm="-lm"
33818 fi
33819
33820   ac_save_LIBS="$LIBS"
33821   LIBS="$LIBS $libm"
33822
33823
33824
33825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33826 $as_echo_n "checking for isinf declaration... " >&6; }
33827   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33828     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33829   $as_echo_n "(cached) " >&6
33830 else
33831
33832
33833       ac_ext=cpp
33834 ac_cpp='$CXXCPP $CPPFLAGS'
33835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33838
33839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33840 /* end confdefs.h.  */
33841 #include <math.h>
33842                       #ifdef HAVE_IEEEFP_H
33843                       #include <ieeefp.h>
33844                       #endif
33845
33846 int
33847 main ()
33848 {
33849  isinf(0);
33850   ;
33851   return 0;
33852 }
33853 _ACEOF
33854 if ac_fn_cxx_try_compile "$LINENO"; then :
33855   glibcxx_cv_func_isinf_use=yes
33856 else
33857   glibcxx_cv_func_isinf_use=no
33858 fi
33859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33860       ac_ext=c
33861 ac_cpp='$CPP $CPPFLAGS'
33862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33865
33866
33867 fi
33868
33869   fi
33870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33871 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33872
33873   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33874     for ac_func in isinf
33875 do :
33876   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33877 if test "x$ac_cv_func_isinf" = x""yes; then :
33878   cat >>confdefs.h <<_ACEOF
33879 #define HAVE_ISINF 1
33880 _ACEOF
33881
33882 fi
33883 done
33884
33885   else
33886
33887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33888 $as_echo_n "checking for _isinf declaration... " >&6; }
33889   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33890     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33891   $as_echo_n "(cached) " >&6
33892 else
33893
33894
33895       ac_ext=cpp
33896 ac_cpp='$CXXCPP $CPPFLAGS'
33897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33900
33901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33902 /* end confdefs.h.  */
33903 #include <math.h>
33904                       #ifdef HAVE_IEEEFP_H
33905                       #include <ieeefp.h>
33906                       #endif
33907
33908 int
33909 main ()
33910 {
33911  _isinf(0);
33912   ;
33913   return 0;
33914 }
33915 _ACEOF
33916 if ac_fn_cxx_try_compile "$LINENO"; then :
33917   glibcxx_cv_func__isinf_use=yes
33918 else
33919   glibcxx_cv_func__isinf_use=no
33920 fi
33921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33922       ac_ext=c
33923 ac_cpp='$CPP $CPPFLAGS'
33924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33927
33928
33929 fi
33930
33931   fi
33932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33933 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33934
33935     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33936       for ac_func in _isinf
33937 do :
33938   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33939 if test "x$ac_cv_func__isinf" = x""yes; then :
33940   cat >>confdefs.h <<_ACEOF
33941 #define HAVE__ISINF 1
33942 _ACEOF
33943
33944 fi
33945 done
33946
33947     fi
33948   fi
33949
33950
33951
33952
33953
33954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33955 $as_echo_n "checking for isnan declaration... " >&6; }
33956   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33957     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33958   $as_echo_n "(cached) " >&6
33959 else
33960
33961
33962       ac_ext=cpp
33963 ac_cpp='$CXXCPP $CPPFLAGS'
33964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33967
33968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33969 /* end confdefs.h.  */
33970 #include <math.h>
33971                       #ifdef HAVE_IEEEFP_H
33972                       #include <ieeefp.h>
33973                       #endif
33974
33975 int
33976 main ()
33977 {
33978  isnan(0);
33979   ;
33980   return 0;
33981 }
33982 _ACEOF
33983 if ac_fn_cxx_try_compile "$LINENO"; then :
33984   glibcxx_cv_func_isnan_use=yes
33985 else
33986   glibcxx_cv_func_isnan_use=no
33987 fi
33988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33989       ac_ext=c
33990 ac_cpp='$CPP $CPPFLAGS'
33991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33994
33995
33996 fi
33997
33998   fi
33999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34000 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34001
34002   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34003     for ac_func in isnan
34004 do :
34005   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34006 if test "x$ac_cv_func_isnan" = x""yes; then :
34007   cat >>confdefs.h <<_ACEOF
34008 #define HAVE_ISNAN 1
34009 _ACEOF
34010
34011 fi
34012 done
34013
34014   else
34015
34016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34017 $as_echo_n "checking for _isnan declaration... " >&6; }
34018   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34019     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34020   $as_echo_n "(cached) " >&6
34021 else
34022
34023
34024       ac_ext=cpp
34025 ac_cpp='$CXXCPP $CPPFLAGS'
34026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34029
34030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34031 /* end confdefs.h.  */
34032 #include <math.h>
34033                       #ifdef HAVE_IEEEFP_H
34034                       #include <ieeefp.h>
34035                       #endif
34036
34037 int
34038 main ()
34039 {
34040  _isnan(0);
34041   ;
34042   return 0;
34043 }
34044 _ACEOF
34045 if ac_fn_cxx_try_compile "$LINENO"; then :
34046   glibcxx_cv_func__isnan_use=yes
34047 else
34048   glibcxx_cv_func__isnan_use=no
34049 fi
34050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34051       ac_ext=c
34052 ac_cpp='$CPP $CPPFLAGS'
34053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34056
34057
34058 fi
34059
34060   fi
34061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34062 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34063
34064     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34065       for ac_func in _isnan
34066 do :
34067   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34068 if test "x$ac_cv_func__isnan" = x""yes; then :
34069   cat >>confdefs.h <<_ACEOF
34070 #define HAVE__ISNAN 1
34071 _ACEOF
34072
34073 fi
34074 done
34075
34076     fi
34077   fi
34078
34079
34080
34081
34082
34083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34084 $as_echo_n "checking for finite declaration... " >&6; }
34085   if test x${glibcxx_cv_func_finite_use+set} != xset; then
34086     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34087   $as_echo_n "(cached) " >&6
34088 else
34089
34090
34091       ac_ext=cpp
34092 ac_cpp='$CXXCPP $CPPFLAGS'
34093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34096
34097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34098 /* end confdefs.h.  */
34099 #include <math.h>
34100                       #ifdef HAVE_IEEEFP_H
34101                       #include <ieeefp.h>
34102                       #endif
34103
34104 int
34105 main ()
34106 {
34107  finite(0);
34108   ;
34109   return 0;
34110 }
34111 _ACEOF
34112 if ac_fn_cxx_try_compile "$LINENO"; then :
34113   glibcxx_cv_func_finite_use=yes
34114 else
34115   glibcxx_cv_func_finite_use=no
34116 fi
34117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34118       ac_ext=c
34119 ac_cpp='$CPP $CPPFLAGS'
34120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34123
34124
34125 fi
34126
34127   fi
34128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34129 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34130
34131   if test x$glibcxx_cv_func_finite_use = x"yes"; then
34132     for ac_func in finite
34133 do :
34134   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34135 if test "x$ac_cv_func_finite" = x""yes; then :
34136   cat >>confdefs.h <<_ACEOF
34137 #define HAVE_FINITE 1
34138 _ACEOF
34139
34140 fi
34141 done
34142
34143   else
34144
34145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34146 $as_echo_n "checking for _finite declaration... " >&6; }
34147   if test x${glibcxx_cv_func__finite_use+set} != xset; then
34148     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34149   $as_echo_n "(cached) " >&6
34150 else
34151
34152
34153       ac_ext=cpp
34154 ac_cpp='$CXXCPP $CPPFLAGS'
34155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34158
34159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34160 /* end confdefs.h.  */
34161 #include <math.h>
34162                       #ifdef HAVE_IEEEFP_H
34163                       #include <ieeefp.h>
34164                       #endif
34165
34166 int
34167 main ()
34168 {
34169  _finite(0);
34170   ;
34171   return 0;
34172 }
34173 _ACEOF
34174 if ac_fn_cxx_try_compile "$LINENO"; then :
34175   glibcxx_cv_func__finite_use=yes
34176 else
34177   glibcxx_cv_func__finite_use=no
34178 fi
34179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34180       ac_ext=c
34181 ac_cpp='$CPP $CPPFLAGS'
34182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34185
34186
34187 fi
34188
34189   fi
34190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34191 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34192
34193     if test x$glibcxx_cv_func__finite_use = x"yes"; then
34194       for ac_func in _finite
34195 do :
34196   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34197 if test "x$ac_cv_func__finite" = x""yes; then :
34198   cat >>confdefs.h <<_ACEOF
34199 #define HAVE__FINITE 1
34200 _ACEOF
34201
34202 fi
34203 done
34204
34205     fi
34206   fi
34207
34208
34209
34210
34211
34212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34213 $as_echo_n "checking for sincos declaration... " >&6; }
34214   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34215     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34216   $as_echo_n "(cached) " >&6
34217 else
34218
34219
34220       ac_ext=cpp
34221 ac_cpp='$CXXCPP $CPPFLAGS'
34222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34225
34226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34227 /* end confdefs.h.  */
34228 #include <math.h>
34229 int
34230 main ()
34231 {
34232  sincos(0, 0, 0);
34233   ;
34234   return 0;
34235 }
34236 _ACEOF
34237 if ac_fn_cxx_try_compile "$LINENO"; then :
34238   glibcxx_cv_func_sincos_use=yes
34239 else
34240   glibcxx_cv_func_sincos_use=no
34241 fi
34242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34243       ac_ext=c
34244 ac_cpp='$CPP $CPPFLAGS'
34245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34248
34249
34250 fi
34251
34252   fi
34253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34254 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34255
34256   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34257     for ac_func in sincos
34258 do :
34259   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34260 if test "x$ac_cv_func_sincos" = x""yes; then :
34261   cat >>confdefs.h <<_ACEOF
34262 #define HAVE_SINCOS 1
34263 _ACEOF
34264
34265 fi
34266 done
34267
34268   else
34269
34270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34271 $as_echo_n "checking for _sincos declaration... " >&6; }
34272   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34273     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34274   $as_echo_n "(cached) " >&6
34275 else
34276
34277
34278       ac_ext=cpp
34279 ac_cpp='$CXXCPP $CPPFLAGS'
34280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34283
34284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34285 /* end confdefs.h.  */
34286 #include <math.h>
34287 int
34288 main ()
34289 {
34290  _sincos(0, 0, 0);
34291   ;
34292   return 0;
34293 }
34294 _ACEOF
34295 if ac_fn_cxx_try_compile "$LINENO"; then :
34296   glibcxx_cv_func__sincos_use=yes
34297 else
34298   glibcxx_cv_func__sincos_use=no
34299 fi
34300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34301       ac_ext=c
34302 ac_cpp='$CPP $CPPFLAGS'
34303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34306
34307
34308 fi
34309
34310   fi
34311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34312 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34313
34314     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34315       for ac_func in _sincos
34316 do :
34317   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34318 if test "x$ac_cv_func__sincos" = x""yes; then :
34319   cat >>confdefs.h <<_ACEOF
34320 #define HAVE__SINCOS 1
34321 _ACEOF
34322
34323 fi
34324 done
34325
34326     fi
34327   fi
34328
34329
34330
34331
34332
34333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34334 $as_echo_n "checking for fpclass declaration... " >&6; }
34335   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34336     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34337   $as_echo_n "(cached) " >&6
34338 else
34339
34340
34341       ac_ext=cpp
34342 ac_cpp='$CXXCPP $CPPFLAGS'
34343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34346
34347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34348 /* end confdefs.h.  */
34349 #include <math.h>
34350                       #ifdef HAVE_IEEEFP_H
34351                       #include <ieeefp.h>
34352                       #endif
34353
34354 int
34355 main ()
34356 {
34357  fpclass(0);
34358   ;
34359   return 0;
34360 }
34361 _ACEOF
34362 if ac_fn_cxx_try_compile "$LINENO"; then :
34363   glibcxx_cv_func_fpclass_use=yes
34364 else
34365   glibcxx_cv_func_fpclass_use=no
34366 fi
34367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34368       ac_ext=c
34369 ac_cpp='$CPP $CPPFLAGS'
34370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34373
34374
34375 fi
34376
34377   fi
34378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34379 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34380
34381   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34382     for ac_func in fpclass
34383 do :
34384   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34385 if test "x$ac_cv_func_fpclass" = x""yes; then :
34386   cat >>confdefs.h <<_ACEOF
34387 #define HAVE_FPCLASS 1
34388 _ACEOF
34389
34390 fi
34391 done
34392
34393   else
34394
34395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34396 $as_echo_n "checking for _fpclass declaration... " >&6; }
34397   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34398     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34399   $as_echo_n "(cached) " >&6
34400 else
34401
34402
34403       ac_ext=cpp
34404 ac_cpp='$CXXCPP $CPPFLAGS'
34405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34408
34409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34410 /* end confdefs.h.  */
34411 #include <math.h>
34412                       #ifdef HAVE_IEEEFP_H
34413                       #include <ieeefp.h>
34414                       #endif
34415
34416 int
34417 main ()
34418 {
34419  _fpclass(0);
34420   ;
34421   return 0;
34422 }
34423 _ACEOF
34424 if ac_fn_cxx_try_compile "$LINENO"; then :
34425   glibcxx_cv_func__fpclass_use=yes
34426 else
34427   glibcxx_cv_func__fpclass_use=no
34428 fi
34429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34430       ac_ext=c
34431 ac_cpp='$CPP $CPPFLAGS'
34432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34435
34436
34437 fi
34438
34439   fi
34440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34441 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34442
34443     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34444       for ac_func in _fpclass
34445 do :
34446   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34447 if test "x$ac_cv_func__fpclass" = x""yes; then :
34448   cat >>confdefs.h <<_ACEOF
34449 #define HAVE__FPCLASS 1
34450 _ACEOF
34451
34452 fi
34453 done
34454
34455     fi
34456   fi
34457
34458
34459
34460
34461
34462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34463 $as_echo_n "checking for qfpclass declaration... " >&6; }
34464   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34465     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34466   $as_echo_n "(cached) " >&6
34467 else
34468
34469
34470       ac_ext=cpp
34471 ac_cpp='$CXXCPP $CPPFLAGS'
34472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34475
34476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34477 /* end confdefs.h.  */
34478 #include <math.h>
34479                       #ifdef HAVE_IEEEFP_H
34480                       #include <ieeefp.h>
34481                       #endif
34482
34483 int
34484 main ()
34485 {
34486  qfpclass(0);
34487   ;
34488   return 0;
34489 }
34490 _ACEOF
34491 if ac_fn_cxx_try_compile "$LINENO"; then :
34492   glibcxx_cv_func_qfpclass_use=yes
34493 else
34494   glibcxx_cv_func_qfpclass_use=no
34495 fi
34496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34497       ac_ext=c
34498 ac_cpp='$CPP $CPPFLAGS'
34499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34502
34503
34504 fi
34505
34506   fi
34507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34508 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34509
34510   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34511     for ac_func in qfpclass
34512 do :
34513   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34514 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34515   cat >>confdefs.h <<_ACEOF
34516 #define HAVE_QFPCLASS 1
34517 _ACEOF
34518
34519 fi
34520 done
34521
34522   else
34523
34524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34525 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34526   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34527     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34528   $as_echo_n "(cached) " >&6
34529 else
34530
34531
34532       ac_ext=cpp
34533 ac_cpp='$CXXCPP $CPPFLAGS'
34534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34537
34538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34539 /* end confdefs.h.  */
34540 #include <math.h>
34541                       #ifdef HAVE_IEEEFP_H
34542                       #include <ieeefp.h>
34543                       #endif
34544
34545 int
34546 main ()
34547 {
34548  _qfpclass(0);
34549   ;
34550   return 0;
34551 }
34552 _ACEOF
34553 if ac_fn_cxx_try_compile "$LINENO"; then :
34554   glibcxx_cv_func__qfpclass_use=yes
34555 else
34556   glibcxx_cv_func__qfpclass_use=no
34557 fi
34558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34559       ac_ext=c
34560 ac_cpp='$CPP $CPPFLAGS'
34561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34564
34565
34566 fi
34567
34568   fi
34569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34570 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34571
34572     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34573       for ac_func in _qfpclass
34574 do :
34575   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34576 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34577   cat >>confdefs.h <<_ACEOF
34578 #define HAVE__QFPCLASS 1
34579 _ACEOF
34580
34581 fi
34582 done
34583
34584     fi
34585   fi
34586
34587
34588
34589
34590
34591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34592 $as_echo_n "checking for hypot declaration... " >&6; }
34593   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34594     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34595   $as_echo_n "(cached) " >&6
34596 else
34597
34598
34599       ac_ext=cpp
34600 ac_cpp='$CXXCPP $CPPFLAGS'
34601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34604
34605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34606 /* end confdefs.h.  */
34607 #include <math.h>
34608 int
34609 main ()
34610 {
34611  hypot(0, 0);
34612   ;
34613   return 0;
34614 }
34615 _ACEOF
34616 if ac_fn_cxx_try_compile "$LINENO"; then :
34617   glibcxx_cv_func_hypot_use=yes
34618 else
34619   glibcxx_cv_func_hypot_use=no
34620 fi
34621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34622       ac_ext=c
34623 ac_cpp='$CPP $CPPFLAGS'
34624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34627
34628
34629 fi
34630
34631   fi
34632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34633 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34634
34635   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34636     for ac_func in hypot
34637 do :
34638   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34639 if test "x$ac_cv_func_hypot" = x""yes; then :
34640   cat >>confdefs.h <<_ACEOF
34641 #define HAVE_HYPOT 1
34642 _ACEOF
34643
34644 fi
34645 done
34646
34647   else
34648
34649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34650 $as_echo_n "checking for _hypot declaration... " >&6; }
34651   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34652     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34653   $as_echo_n "(cached) " >&6
34654 else
34655
34656
34657       ac_ext=cpp
34658 ac_cpp='$CXXCPP $CPPFLAGS'
34659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34662
34663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34664 /* end confdefs.h.  */
34665 #include <math.h>
34666 int
34667 main ()
34668 {
34669  _hypot(0, 0);
34670   ;
34671   return 0;
34672 }
34673 _ACEOF
34674 if ac_fn_cxx_try_compile "$LINENO"; then :
34675   glibcxx_cv_func__hypot_use=yes
34676 else
34677   glibcxx_cv_func__hypot_use=no
34678 fi
34679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34680       ac_ext=c
34681 ac_cpp='$CPP $CPPFLAGS'
34682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34685
34686
34687 fi
34688
34689   fi
34690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34691 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34692
34693     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34694       for ac_func in _hypot
34695 do :
34696   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34697 if test "x$ac_cv_func__hypot" = x""yes; then :
34698   cat >>confdefs.h <<_ACEOF
34699 #define HAVE__HYPOT 1
34700 _ACEOF
34701
34702 fi
34703 done
34704
34705     fi
34706   fi
34707
34708
34709
34710
34711
34712     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34713 $as_echo_n "checking for float trig functions... " >&6; }
34714   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34715   $as_echo_n "(cached) " >&6
34716 else
34717
34718
34719     ac_ext=cpp
34720 ac_cpp='$CXXCPP $CPPFLAGS'
34721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34724
34725     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34726 /* end confdefs.h.  */
34727 #include <math.h>
34728 int
34729 main ()
34730 {
34731 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34732   ;
34733   return 0;
34734 }
34735 _ACEOF
34736 if ac_fn_cxx_try_compile "$LINENO"; then :
34737   glibcxx_cv_func_float_trig_use=yes
34738 else
34739   glibcxx_cv_func_float_trig_use=no
34740 fi
34741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34742     ac_ext=c
34743 ac_cpp='$CPP $CPPFLAGS'
34744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34747
34748 fi
34749
34750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34751 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34752   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34753     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34754 do :
34755   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34757 eval as_val=\$$as_ac_var
34758    if test "x$as_val" = x""yes; then :
34759   cat >>confdefs.h <<_ACEOF
34760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34761 _ACEOF
34762
34763 fi
34764 done
34765
34766   else
34767     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34768 $as_echo_n "checking for _float trig functions... " >&6; }
34769     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34770   $as_echo_n "(cached) " >&6
34771 else
34772
34773
34774       ac_ext=cpp
34775 ac_cpp='$CXXCPP $CPPFLAGS'
34776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34779
34780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34781 /* end confdefs.h.  */
34782 #include <math.h>
34783 int
34784 main ()
34785 {
34786 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34787   ;
34788   return 0;
34789 }
34790 _ACEOF
34791 if ac_fn_cxx_try_compile "$LINENO"; then :
34792   glibcxx_cv_func__float_trig_use=yes
34793 else
34794   glibcxx_cv_func__float_trig_use=no
34795 fi
34796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34797       ac_ext=c
34798 ac_cpp='$CPP $CPPFLAGS'
34799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34802
34803 fi
34804
34805     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34806 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34807     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34808       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34809 do :
34810   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34812 eval as_val=\$$as_ac_var
34813    if test "x$as_val" = x""yes; then :
34814   cat >>confdefs.h <<_ACEOF
34815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34816 _ACEOF
34817
34818 fi
34819 done
34820
34821     fi
34822   fi
34823
34824
34825
34826
34827
34828     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34829 $as_echo_n "checking for float round functions... " >&6; }
34830   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34831   $as_echo_n "(cached) " >&6
34832 else
34833
34834
34835     ac_ext=cpp
34836 ac_cpp='$CXXCPP $CPPFLAGS'
34837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34840
34841     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34842 /* end confdefs.h.  */
34843 #include <math.h>
34844 int
34845 main ()
34846 {
34847 ceilf (0); floorf (0);
34848   ;
34849   return 0;
34850 }
34851 _ACEOF
34852 if ac_fn_cxx_try_compile "$LINENO"; then :
34853   glibcxx_cv_func_float_round_use=yes
34854 else
34855   glibcxx_cv_func_float_round_use=no
34856 fi
34857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34858     ac_ext=c
34859 ac_cpp='$CPP $CPPFLAGS'
34860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34863
34864 fi
34865
34866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34867 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34868   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34869     for ac_func in ceilf floorf
34870 do :
34871   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34873 eval as_val=\$$as_ac_var
34874    if test "x$as_val" = x""yes; then :
34875   cat >>confdefs.h <<_ACEOF
34876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34877 _ACEOF
34878
34879 fi
34880 done
34881
34882   else
34883     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34884 $as_echo_n "checking for _float round functions... " >&6; }
34885     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34886   $as_echo_n "(cached) " >&6
34887 else
34888
34889
34890       ac_ext=cpp
34891 ac_cpp='$CXXCPP $CPPFLAGS'
34892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34895
34896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34897 /* end confdefs.h.  */
34898 #include <math.h>
34899 int
34900 main ()
34901 {
34902 _ceilf (0); _floorf (0);
34903   ;
34904   return 0;
34905 }
34906 _ACEOF
34907 if ac_fn_cxx_try_compile "$LINENO"; then :
34908   glibcxx_cv_func__float_round_use=yes
34909 else
34910   glibcxx_cv_func__float_round_use=no
34911 fi
34912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34913       ac_ext=c
34914 ac_cpp='$CPP $CPPFLAGS'
34915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34918
34919 fi
34920
34921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34922 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34923     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34924       for ac_func in _ceilf _floorf
34925 do :
34926   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34928 eval as_val=\$$as_ac_var
34929    if test "x$as_val" = x""yes; then :
34930   cat >>confdefs.h <<_ACEOF
34931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34932 _ACEOF
34933
34934 fi
34935 done
34936
34937     fi
34938   fi
34939
34940
34941
34942
34943
34944
34945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34946 $as_echo_n "checking for expf declaration... " >&6; }
34947   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34948     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34949   $as_echo_n "(cached) " >&6
34950 else
34951
34952
34953       ac_ext=cpp
34954 ac_cpp='$CXXCPP $CPPFLAGS'
34955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34958
34959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34960 /* end confdefs.h.  */
34961 #include <math.h>
34962                       #ifdef HAVE_IEEEFP_H
34963                       #include <ieeefp.h>
34964                       #endif
34965
34966 int
34967 main ()
34968 {
34969  expf(0);
34970   ;
34971   return 0;
34972 }
34973 _ACEOF
34974 if ac_fn_cxx_try_compile "$LINENO"; then :
34975   glibcxx_cv_func_expf_use=yes
34976 else
34977   glibcxx_cv_func_expf_use=no
34978 fi
34979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34980       ac_ext=c
34981 ac_cpp='$CPP $CPPFLAGS'
34982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34985
34986
34987 fi
34988
34989   fi
34990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34991 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34992
34993   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34994     for ac_func in expf
34995 do :
34996   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34997 if test "x$ac_cv_func_expf" = x""yes; then :
34998   cat >>confdefs.h <<_ACEOF
34999 #define HAVE_EXPF 1
35000 _ACEOF
35001
35002 fi
35003 done
35004
35005   else
35006
35007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35008 $as_echo_n "checking for _expf declaration... " >&6; }
35009   if test x${glibcxx_cv_func__expf_use+set} != xset; then
35010     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35011   $as_echo_n "(cached) " >&6
35012 else
35013
35014
35015       ac_ext=cpp
35016 ac_cpp='$CXXCPP $CPPFLAGS'
35017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35020
35021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35022 /* end confdefs.h.  */
35023 #include <math.h>
35024                       #ifdef HAVE_IEEEFP_H
35025                       #include <ieeefp.h>
35026                       #endif
35027
35028 int
35029 main ()
35030 {
35031  _expf(0);
35032   ;
35033   return 0;
35034 }
35035 _ACEOF
35036 if ac_fn_cxx_try_compile "$LINENO"; then :
35037   glibcxx_cv_func__expf_use=yes
35038 else
35039   glibcxx_cv_func__expf_use=no
35040 fi
35041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35042       ac_ext=c
35043 ac_cpp='$CPP $CPPFLAGS'
35044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35047
35048
35049 fi
35050
35051   fi
35052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35053 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35054
35055     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35056       for ac_func in _expf
35057 do :
35058   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35059 if test "x$ac_cv_func__expf" = x""yes; then :
35060   cat >>confdefs.h <<_ACEOF
35061 #define HAVE__EXPF 1
35062 _ACEOF
35063
35064 fi
35065 done
35066
35067     fi
35068   fi
35069
35070
35071
35072
35073
35074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35075 $as_echo_n "checking for isnanf declaration... " >&6; }
35076   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35077     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35078   $as_echo_n "(cached) " >&6
35079 else
35080
35081
35082       ac_ext=cpp
35083 ac_cpp='$CXXCPP $CPPFLAGS'
35084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35087
35088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35089 /* end confdefs.h.  */
35090 #include <math.h>
35091                       #ifdef HAVE_IEEEFP_H
35092                       #include <ieeefp.h>
35093                       #endif
35094
35095 int
35096 main ()
35097 {
35098  isnanf(0);
35099   ;
35100   return 0;
35101 }
35102 _ACEOF
35103 if ac_fn_cxx_try_compile "$LINENO"; then :
35104   glibcxx_cv_func_isnanf_use=yes
35105 else
35106   glibcxx_cv_func_isnanf_use=no
35107 fi
35108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35109       ac_ext=c
35110 ac_cpp='$CPP $CPPFLAGS'
35111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35114
35115
35116 fi
35117
35118   fi
35119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35120 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35121
35122   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35123     for ac_func in isnanf
35124 do :
35125   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35126 if test "x$ac_cv_func_isnanf" = x""yes; then :
35127   cat >>confdefs.h <<_ACEOF
35128 #define HAVE_ISNANF 1
35129 _ACEOF
35130
35131 fi
35132 done
35133
35134   else
35135
35136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35137 $as_echo_n "checking for _isnanf declaration... " >&6; }
35138   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35139     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35140   $as_echo_n "(cached) " >&6
35141 else
35142
35143
35144       ac_ext=cpp
35145 ac_cpp='$CXXCPP $CPPFLAGS'
35146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35149
35150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35151 /* end confdefs.h.  */
35152 #include <math.h>
35153                       #ifdef HAVE_IEEEFP_H
35154                       #include <ieeefp.h>
35155                       #endif
35156
35157 int
35158 main ()
35159 {
35160  _isnanf(0);
35161   ;
35162   return 0;
35163 }
35164 _ACEOF
35165 if ac_fn_cxx_try_compile "$LINENO"; then :
35166   glibcxx_cv_func__isnanf_use=yes
35167 else
35168   glibcxx_cv_func__isnanf_use=no
35169 fi
35170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35171       ac_ext=c
35172 ac_cpp='$CPP $CPPFLAGS'
35173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35176
35177
35178 fi
35179
35180   fi
35181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35182 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35183
35184     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35185       for ac_func in _isnanf
35186 do :
35187   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35188 if test "x$ac_cv_func__isnanf" = x""yes; then :
35189   cat >>confdefs.h <<_ACEOF
35190 #define HAVE__ISNANF 1
35191 _ACEOF
35192
35193 fi
35194 done
35195
35196     fi
35197   fi
35198
35199
35200
35201
35202
35203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35204 $as_echo_n "checking for isinff declaration... " >&6; }
35205   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35206     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35207   $as_echo_n "(cached) " >&6
35208 else
35209
35210
35211       ac_ext=cpp
35212 ac_cpp='$CXXCPP $CPPFLAGS'
35213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35216
35217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35218 /* end confdefs.h.  */
35219 #include <math.h>
35220                       #ifdef HAVE_IEEEFP_H
35221                       #include <ieeefp.h>
35222                       #endif
35223
35224 int
35225 main ()
35226 {
35227  isinff(0);
35228   ;
35229   return 0;
35230 }
35231 _ACEOF
35232 if ac_fn_cxx_try_compile "$LINENO"; then :
35233   glibcxx_cv_func_isinff_use=yes
35234 else
35235   glibcxx_cv_func_isinff_use=no
35236 fi
35237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35238       ac_ext=c
35239 ac_cpp='$CPP $CPPFLAGS'
35240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35243
35244
35245 fi
35246
35247   fi
35248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35249 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35250
35251   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35252     for ac_func in isinff
35253 do :
35254   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35255 if test "x$ac_cv_func_isinff" = x""yes; then :
35256   cat >>confdefs.h <<_ACEOF
35257 #define HAVE_ISINFF 1
35258 _ACEOF
35259
35260 fi
35261 done
35262
35263   else
35264
35265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35266 $as_echo_n "checking for _isinff declaration... " >&6; }
35267   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35268     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35269   $as_echo_n "(cached) " >&6
35270 else
35271
35272
35273       ac_ext=cpp
35274 ac_cpp='$CXXCPP $CPPFLAGS'
35275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35278
35279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35280 /* end confdefs.h.  */
35281 #include <math.h>
35282                       #ifdef HAVE_IEEEFP_H
35283                       #include <ieeefp.h>
35284                       #endif
35285
35286 int
35287 main ()
35288 {
35289  _isinff(0);
35290   ;
35291   return 0;
35292 }
35293 _ACEOF
35294 if ac_fn_cxx_try_compile "$LINENO"; then :
35295   glibcxx_cv_func__isinff_use=yes
35296 else
35297   glibcxx_cv_func__isinff_use=no
35298 fi
35299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35300       ac_ext=c
35301 ac_cpp='$CPP $CPPFLAGS'
35302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35305
35306
35307 fi
35308
35309   fi
35310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35311 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35312
35313     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35314       for ac_func in _isinff
35315 do :
35316   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35317 if test "x$ac_cv_func__isinff" = x""yes; then :
35318   cat >>confdefs.h <<_ACEOF
35319 #define HAVE__ISINFF 1
35320 _ACEOF
35321
35322 fi
35323 done
35324
35325     fi
35326   fi
35327
35328
35329
35330
35331
35332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35333 $as_echo_n "checking for atan2f declaration... " >&6; }
35334   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35335     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35336   $as_echo_n "(cached) " >&6
35337 else
35338
35339
35340       ac_ext=cpp
35341 ac_cpp='$CXXCPP $CPPFLAGS'
35342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35345
35346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35347 /* end confdefs.h.  */
35348 #include <math.h>
35349 int
35350 main ()
35351 {
35352  atan2f(0, 0);
35353   ;
35354   return 0;
35355 }
35356 _ACEOF
35357 if ac_fn_cxx_try_compile "$LINENO"; then :
35358   glibcxx_cv_func_atan2f_use=yes
35359 else
35360   glibcxx_cv_func_atan2f_use=no
35361 fi
35362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35363       ac_ext=c
35364 ac_cpp='$CPP $CPPFLAGS'
35365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35368
35369
35370 fi
35371
35372   fi
35373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35374 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35375
35376   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35377     for ac_func in atan2f
35378 do :
35379   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35380 if test "x$ac_cv_func_atan2f" = x""yes; then :
35381   cat >>confdefs.h <<_ACEOF
35382 #define HAVE_ATAN2F 1
35383 _ACEOF
35384
35385 fi
35386 done
35387
35388   else
35389
35390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35391 $as_echo_n "checking for _atan2f declaration... " >&6; }
35392   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35393     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35394   $as_echo_n "(cached) " >&6
35395 else
35396
35397
35398       ac_ext=cpp
35399 ac_cpp='$CXXCPP $CPPFLAGS'
35400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35403
35404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35405 /* end confdefs.h.  */
35406 #include <math.h>
35407 int
35408 main ()
35409 {
35410  _atan2f(0, 0);
35411   ;
35412   return 0;
35413 }
35414 _ACEOF
35415 if ac_fn_cxx_try_compile "$LINENO"; then :
35416   glibcxx_cv_func__atan2f_use=yes
35417 else
35418   glibcxx_cv_func__atan2f_use=no
35419 fi
35420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35421       ac_ext=c
35422 ac_cpp='$CPP $CPPFLAGS'
35423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35426
35427
35428 fi
35429
35430   fi
35431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35432 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35433
35434     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35435       for ac_func in _atan2f
35436 do :
35437   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35438 if test "x$ac_cv_func__atan2f" = x""yes; then :
35439   cat >>confdefs.h <<_ACEOF
35440 #define HAVE__ATAN2F 1
35441 _ACEOF
35442
35443 fi
35444 done
35445
35446     fi
35447   fi
35448
35449
35450
35451
35452
35453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35454 $as_echo_n "checking for fabsf declaration... " >&6; }
35455   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35456     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35457   $as_echo_n "(cached) " >&6
35458 else
35459
35460
35461       ac_ext=cpp
35462 ac_cpp='$CXXCPP $CPPFLAGS'
35463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35466
35467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35468 /* end confdefs.h.  */
35469 #include <math.h>
35470                       #ifdef HAVE_IEEEFP_H
35471                       #include <ieeefp.h>
35472                       #endif
35473
35474 int
35475 main ()
35476 {
35477  fabsf(0);
35478   ;
35479   return 0;
35480 }
35481 _ACEOF
35482 if ac_fn_cxx_try_compile "$LINENO"; then :
35483   glibcxx_cv_func_fabsf_use=yes
35484 else
35485   glibcxx_cv_func_fabsf_use=no
35486 fi
35487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35488       ac_ext=c
35489 ac_cpp='$CPP $CPPFLAGS'
35490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35493
35494
35495 fi
35496
35497   fi
35498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35499 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35500
35501   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35502     for ac_func in fabsf
35503 do :
35504   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35505 if test "x$ac_cv_func_fabsf" = x""yes; then :
35506   cat >>confdefs.h <<_ACEOF
35507 #define HAVE_FABSF 1
35508 _ACEOF
35509
35510 fi
35511 done
35512
35513   else
35514
35515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35516 $as_echo_n "checking for _fabsf declaration... " >&6; }
35517   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35518     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35519   $as_echo_n "(cached) " >&6
35520 else
35521
35522
35523       ac_ext=cpp
35524 ac_cpp='$CXXCPP $CPPFLAGS'
35525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35528
35529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35530 /* end confdefs.h.  */
35531 #include <math.h>
35532                       #ifdef HAVE_IEEEFP_H
35533                       #include <ieeefp.h>
35534                       #endif
35535
35536 int
35537 main ()
35538 {
35539  _fabsf(0);
35540   ;
35541   return 0;
35542 }
35543 _ACEOF
35544 if ac_fn_cxx_try_compile "$LINENO"; then :
35545   glibcxx_cv_func__fabsf_use=yes
35546 else
35547   glibcxx_cv_func__fabsf_use=no
35548 fi
35549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35550       ac_ext=c
35551 ac_cpp='$CPP $CPPFLAGS'
35552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35555
35556
35557 fi
35558
35559   fi
35560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35561 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35562
35563     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35564       for ac_func in _fabsf
35565 do :
35566   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35567 if test "x$ac_cv_func__fabsf" = x""yes; then :
35568   cat >>confdefs.h <<_ACEOF
35569 #define HAVE__FABSF 1
35570 _ACEOF
35571
35572 fi
35573 done
35574
35575     fi
35576   fi
35577
35578
35579
35580
35581
35582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35583 $as_echo_n "checking for fmodf declaration... " >&6; }
35584   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35585     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35586   $as_echo_n "(cached) " >&6
35587 else
35588
35589
35590       ac_ext=cpp
35591 ac_cpp='$CXXCPP $CPPFLAGS'
35592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35595
35596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35597 /* end confdefs.h.  */
35598 #include <math.h>
35599 int
35600 main ()
35601 {
35602  fmodf(0, 0);
35603   ;
35604   return 0;
35605 }
35606 _ACEOF
35607 if ac_fn_cxx_try_compile "$LINENO"; then :
35608   glibcxx_cv_func_fmodf_use=yes
35609 else
35610   glibcxx_cv_func_fmodf_use=no
35611 fi
35612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35613       ac_ext=c
35614 ac_cpp='$CPP $CPPFLAGS'
35615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35618
35619
35620 fi
35621
35622   fi
35623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35624 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35625
35626   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35627     for ac_func in fmodf
35628 do :
35629   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35630 if test "x$ac_cv_func_fmodf" = x""yes; then :
35631   cat >>confdefs.h <<_ACEOF
35632 #define HAVE_FMODF 1
35633 _ACEOF
35634
35635 fi
35636 done
35637
35638   else
35639
35640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35641 $as_echo_n "checking for _fmodf declaration... " >&6; }
35642   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35643     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35644   $as_echo_n "(cached) " >&6
35645 else
35646
35647
35648       ac_ext=cpp
35649 ac_cpp='$CXXCPP $CPPFLAGS'
35650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35653
35654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35655 /* end confdefs.h.  */
35656 #include <math.h>
35657 int
35658 main ()
35659 {
35660  _fmodf(0, 0);
35661   ;
35662   return 0;
35663 }
35664 _ACEOF
35665 if ac_fn_cxx_try_compile "$LINENO"; then :
35666   glibcxx_cv_func__fmodf_use=yes
35667 else
35668   glibcxx_cv_func__fmodf_use=no
35669 fi
35670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35671       ac_ext=c
35672 ac_cpp='$CPP $CPPFLAGS'
35673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35676
35677
35678 fi
35679
35680   fi
35681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35682 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35683
35684     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35685       for ac_func in _fmodf
35686 do :
35687   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35688 if test "x$ac_cv_func__fmodf" = x""yes; then :
35689   cat >>confdefs.h <<_ACEOF
35690 #define HAVE__FMODF 1
35691 _ACEOF
35692
35693 fi
35694 done
35695
35696     fi
35697   fi
35698
35699
35700
35701
35702
35703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35704 $as_echo_n "checking for frexpf declaration... " >&6; }
35705   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35706     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35707   $as_echo_n "(cached) " >&6
35708 else
35709
35710
35711       ac_ext=cpp
35712 ac_cpp='$CXXCPP $CPPFLAGS'
35713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35716
35717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35718 /* end confdefs.h.  */
35719 #include <math.h>
35720 int
35721 main ()
35722 {
35723  frexpf(0, 0);
35724   ;
35725   return 0;
35726 }
35727 _ACEOF
35728 if ac_fn_cxx_try_compile "$LINENO"; then :
35729   glibcxx_cv_func_frexpf_use=yes
35730 else
35731   glibcxx_cv_func_frexpf_use=no
35732 fi
35733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35734       ac_ext=c
35735 ac_cpp='$CPP $CPPFLAGS'
35736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35739
35740
35741 fi
35742
35743   fi
35744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35745 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35746
35747   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35748     for ac_func in frexpf
35749 do :
35750   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35751 if test "x$ac_cv_func_frexpf" = x""yes; then :
35752   cat >>confdefs.h <<_ACEOF
35753 #define HAVE_FREXPF 1
35754 _ACEOF
35755
35756 fi
35757 done
35758
35759   else
35760
35761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35762 $as_echo_n "checking for _frexpf declaration... " >&6; }
35763   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35764     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35765   $as_echo_n "(cached) " >&6
35766 else
35767
35768
35769       ac_ext=cpp
35770 ac_cpp='$CXXCPP $CPPFLAGS'
35771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35774
35775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35776 /* end confdefs.h.  */
35777 #include <math.h>
35778 int
35779 main ()
35780 {
35781  _frexpf(0, 0);
35782   ;
35783   return 0;
35784 }
35785 _ACEOF
35786 if ac_fn_cxx_try_compile "$LINENO"; then :
35787   glibcxx_cv_func__frexpf_use=yes
35788 else
35789   glibcxx_cv_func__frexpf_use=no
35790 fi
35791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35792       ac_ext=c
35793 ac_cpp='$CPP $CPPFLAGS'
35794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35797
35798
35799 fi
35800
35801   fi
35802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35803 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35804
35805     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35806       for ac_func in _frexpf
35807 do :
35808   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35809 if test "x$ac_cv_func__frexpf" = x""yes; then :
35810   cat >>confdefs.h <<_ACEOF
35811 #define HAVE__FREXPF 1
35812 _ACEOF
35813
35814 fi
35815 done
35816
35817     fi
35818   fi
35819
35820
35821
35822
35823
35824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35825 $as_echo_n "checking for hypotf declaration... " >&6; }
35826   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35827     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35828   $as_echo_n "(cached) " >&6
35829 else
35830
35831
35832       ac_ext=cpp
35833 ac_cpp='$CXXCPP $CPPFLAGS'
35834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35837
35838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35839 /* end confdefs.h.  */
35840 #include <math.h>
35841 int
35842 main ()
35843 {
35844  hypotf(0, 0);
35845   ;
35846   return 0;
35847 }
35848 _ACEOF
35849 if ac_fn_cxx_try_compile "$LINENO"; then :
35850   glibcxx_cv_func_hypotf_use=yes
35851 else
35852   glibcxx_cv_func_hypotf_use=no
35853 fi
35854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35855       ac_ext=c
35856 ac_cpp='$CPP $CPPFLAGS'
35857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35860
35861
35862 fi
35863
35864   fi
35865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35866 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35867
35868   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35869     for ac_func in hypotf
35870 do :
35871   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35872 if test "x$ac_cv_func_hypotf" = x""yes; then :
35873   cat >>confdefs.h <<_ACEOF
35874 #define HAVE_HYPOTF 1
35875 _ACEOF
35876
35877 fi
35878 done
35879
35880   else
35881
35882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35883 $as_echo_n "checking for _hypotf declaration... " >&6; }
35884   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35885     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35886   $as_echo_n "(cached) " >&6
35887 else
35888
35889
35890       ac_ext=cpp
35891 ac_cpp='$CXXCPP $CPPFLAGS'
35892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35895
35896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35897 /* end confdefs.h.  */
35898 #include <math.h>
35899 int
35900 main ()
35901 {
35902  _hypotf(0, 0);
35903   ;
35904   return 0;
35905 }
35906 _ACEOF
35907 if ac_fn_cxx_try_compile "$LINENO"; then :
35908   glibcxx_cv_func__hypotf_use=yes
35909 else
35910   glibcxx_cv_func__hypotf_use=no
35911 fi
35912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35913       ac_ext=c
35914 ac_cpp='$CPP $CPPFLAGS'
35915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35918
35919
35920 fi
35921
35922   fi
35923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35924 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35925
35926     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35927       for ac_func in _hypotf
35928 do :
35929   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35930 if test "x$ac_cv_func__hypotf" = x""yes; then :
35931   cat >>confdefs.h <<_ACEOF
35932 #define HAVE__HYPOTF 1
35933 _ACEOF
35934
35935 fi
35936 done
35937
35938     fi
35939   fi
35940
35941
35942
35943
35944
35945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35946 $as_echo_n "checking for ldexpf declaration... " >&6; }
35947   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35948     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35949   $as_echo_n "(cached) " >&6
35950 else
35951
35952
35953       ac_ext=cpp
35954 ac_cpp='$CXXCPP $CPPFLAGS'
35955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35958
35959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35960 /* end confdefs.h.  */
35961 #include <math.h>
35962 int
35963 main ()
35964 {
35965  ldexpf(0, 0);
35966   ;
35967   return 0;
35968 }
35969 _ACEOF
35970 if ac_fn_cxx_try_compile "$LINENO"; then :
35971   glibcxx_cv_func_ldexpf_use=yes
35972 else
35973   glibcxx_cv_func_ldexpf_use=no
35974 fi
35975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35976       ac_ext=c
35977 ac_cpp='$CPP $CPPFLAGS'
35978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35981
35982
35983 fi
35984
35985   fi
35986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35987 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35988
35989   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35990     for ac_func in ldexpf
35991 do :
35992   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35993 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35994   cat >>confdefs.h <<_ACEOF
35995 #define HAVE_LDEXPF 1
35996 _ACEOF
35997
35998 fi
35999 done
36000
36001   else
36002
36003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36004 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36005   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36006     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36007   $as_echo_n "(cached) " >&6
36008 else
36009
36010
36011       ac_ext=cpp
36012 ac_cpp='$CXXCPP $CPPFLAGS'
36013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36016
36017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36018 /* end confdefs.h.  */
36019 #include <math.h>
36020 int
36021 main ()
36022 {
36023  _ldexpf(0, 0);
36024   ;
36025   return 0;
36026 }
36027 _ACEOF
36028 if ac_fn_cxx_try_compile "$LINENO"; then :
36029   glibcxx_cv_func__ldexpf_use=yes
36030 else
36031   glibcxx_cv_func__ldexpf_use=no
36032 fi
36033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36034       ac_ext=c
36035 ac_cpp='$CPP $CPPFLAGS'
36036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36039
36040
36041 fi
36042
36043   fi
36044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36045 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36046
36047     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36048       for ac_func in _ldexpf
36049 do :
36050   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36051 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36052   cat >>confdefs.h <<_ACEOF
36053 #define HAVE__LDEXPF 1
36054 _ACEOF
36055
36056 fi
36057 done
36058
36059     fi
36060   fi
36061
36062
36063
36064
36065
36066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36067 $as_echo_n "checking for logf declaration... " >&6; }
36068   if test x${glibcxx_cv_func_logf_use+set} != xset; then
36069     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36070   $as_echo_n "(cached) " >&6
36071 else
36072
36073
36074       ac_ext=cpp
36075 ac_cpp='$CXXCPP $CPPFLAGS'
36076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36079
36080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36081 /* end confdefs.h.  */
36082 #include <math.h>
36083                       #ifdef HAVE_IEEEFP_H
36084                       #include <ieeefp.h>
36085                       #endif
36086
36087 int
36088 main ()
36089 {
36090  logf(0);
36091   ;
36092   return 0;
36093 }
36094 _ACEOF
36095 if ac_fn_cxx_try_compile "$LINENO"; then :
36096   glibcxx_cv_func_logf_use=yes
36097 else
36098   glibcxx_cv_func_logf_use=no
36099 fi
36100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36101       ac_ext=c
36102 ac_cpp='$CPP $CPPFLAGS'
36103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36106
36107
36108 fi
36109
36110   fi
36111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36112 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36113
36114   if test x$glibcxx_cv_func_logf_use = x"yes"; then
36115     for ac_func in logf
36116 do :
36117   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36118 if test "x$ac_cv_func_logf" = x""yes; then :
36119   cat >>confdefs.h <<_ACEOF
36120 #define HAVE_LOGF 1
36121 _ACEOF
36122
36123 fi
36124 done
36125
36126   else
36127
36128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36129 $as_echo_n "checking for _logf declaration... " >&6; }
36130   if test x${glibcxx_cv_func__logf_use+set} != xset; then
36131     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36132   $as_echo_n "(cached) " >&6
36133 else
36134
36135
36136       ac_ext=cpp
36137 ac_cpp='$CXXCPP $CPPFLAGS'
36138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36141
36142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36143 /* end confdefs.h.  */
36144 #include <math.h>
36145                       #ifdef HAVE_IEEEFP_H
36146                       #include <ieeefp.h>
36147                       #endif
36148
36149 int
36150 main ()
36151 {
36152  _logf(0);
36153   ;
36154   return 0;
36155 }
36156 _ACEOF
36157 if ac_fn_cxx_try_compile "$LINENO"; then :
36158   glibcxx_cv_func__logf_use=yes
36159 else
36160   glibcxx_cv_func__logf_use=no
36161 fi
36162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36163       ac_ext=c
36164 ac_cpp='$CPP $CPPFLAGS'
36165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36168
36169
36170 fi
36171
36172   fi
36173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36174 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36175
36176     if test x$glibcxx_cv_func__logf_use = x"yes"; then
36177       for ac_func in _logf
36178 do :
36179   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36180 if test "x$ac_cv_func__logf" = x""yes; then :
36181   cat >>confdefs.h <<_ACEOF
36182 #define HAVE__LOGF 1
36183 _ACEOF
36184
36185 fi
36186 done
36187
36188     fi
36189   fi
36190
36191
36192
36193
36194
36195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36196 $as_echo_n "checking for log10f declaration... " >&6; }
36197   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36198     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36199   $as_echo_n "(cached) " >&6
36200 else
36201
36202
36203       ac_ext=cpp
36204 ac_cpp='$CXXCPP $CPPFLAGS'
36205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36208
36209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36210 /* end confdefs.h.  */
36211 #include <math.h>
36212                       #ifdef HAVE_IEEEFP_H
36213                       #include <ieeefp.h>
36214                       #endif
36215
36216 int
36217 main ()
36218 {
36219  log10f(0);
36220   ;
36221   return 0;
36222 }
36223 _ACEOF
36224 if ac_fn_cxx_try_compile "$LINENO"; then :
36225   glibcxx_cv_func_log10f_use=yes
36226 else
36227   glibcxx_cv_func_log10f_use=no
36228 fi
36229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36230       ac_ext=c
36231 ac_cpp='$CPP $CPPFLAGS'
36232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36235
36236
36237 fi
36238
36239   fi
36240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36241 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36242
36243   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36244     for ac_func in log10f
36245 do :
36246   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36247 if test "x$ac_cv_func_log10f" = x""yes; then :
36248   cat >>confdefs.h <<_ACEOF
36249 #define HAVE_LOG10F 1
36250 _ACEOF
36251
36252 fi
36253 done
36254
36255   else
36256
36257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36258 $as_echo_n "checking for _log10f declaration... " >&6; }
36259   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36260     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36261   $as_echo_n "(cached) " >&6
36262 else
36263
36264
36265       ac_ext=cpp
36266 ac_cpp='$CXXCPP $CPPFLAGS'
36267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36270
36271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36272 /* end confdefs.h.  */
36273 #include <math.h>
36274                       #ifdef HAVE_IEEEFP_H
36275                       #include <ieeefp.h>
36276                       #endif
36277
36278 int
36279 main ()
36280 {
36281  _log10f(0);
36282   ;
36283   return 0;
36284 }
36285 _ACEOF
36286 if ac_fn_cxx_try_compile "$LINENO"; then :
36287   glibcxx_cv_func__log10f_use=yes
36288 else
36289   glibcxx_cv_func__log10f_use=no
36290 fi
36291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36292       ac_ext=c
36293 ac_cpp='$CPP $CPPFLAGS'
36294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36297
36298
36299 fi
36300
36301   fi
36302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36303 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36304
36305     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36306       for ac_func in _log10f
36307 do :
36308   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36309 if test "x$ac_cv_func__log10f" = x""yes; then :
36310   cat >>confdefs.h <<_ACEOF
36311 #define HAVE__LOG10F 1
36312 _ACEOF
36313
36314 fi
36315 done
36316
36317     fi
36318   fi
36319
36320
36321
36322
36323
36324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36325 $as_echo_n "checking for modff declaration... " >&6; }
36326   if test x${glibcxx_cv_func_modff_use+set} != xset; then
36327     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36328   $as_echo_n "(cached) " >&6
36329 else
36330
36331
36332       ac_ext=cpp
36333 ac_cpp='$CXXCPP $CPPFLAGS'
36334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36337
36338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36339 /* end confdefs.h.  */
36340 #include <math.h>
36341 int
36342 main ()
36343 {
36344  modff(0, 0);
36345   ;
36346   return 0;
36347 }
36348 _ACEOF
36349 if ac_fn_cxx_try_compile "$LINENO"; then :
36350   glibcxx_cv_func_modff_use=yes
36351 else
36352   glibcxx_cv_func_modff_use=no
36353 fi
36354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36355       ac_ext=c
36356 ac_cpp='$CPP $CPPFLAGS'
36357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36360
36361
36362 fi
36363
36364   fi
36365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36366 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36367
36368   if test x$glibcxx_cv_func_modff_use = x"yes"; then
36369     for ac_func in modff
36370 do :
36371   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36372 if test "x$ac_cv_func_modff" = x""yes; then :
36373   cat >>confdefs.h <<_ACEOF
36374 #define HAVE_MODFF 1
36375 _ACEOF
36376
36377 fi
36378 done
36379
36380   else
36381
36382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36383 $as_echo_n "checking for _modff declaration... " >&6; }
36384   if test x${glibcxx_cv_func__modff_use+set} != xset; then
36385     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36386   $as_echo_n "(cached) " >&6
36387 else
36388
36389
36390       ac_ext=cpp
36391 ac_cpp='$CXXCPP $CPPFLAGS'
36392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36395
36396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36397 /* end confdefs.h.  */
36398 #include <math.h>
36399 int
36400 main ()
36401 {
36402  _modff(0, 0);
36403   ;
36404   return 0;
36405 }
36406 _ACEOF
36407 if ac_fn_cxx_try_compile "$LINENO"; then :
36408   glibcxx_cv_func__modff_use=yes
36409 else
36410   glibcxx_cv_func__modff_use=no
36411 fi
36412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36413       ac_ext=c
36414 ac_cpp='$CPP $CPPFLAGS'
36415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36418
36419
36420 fi
36421
36422   fi
36423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36424 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36425
36426     if test x$glibcxx_cv_func__modff_use = x"yes"; then
36427       for ac_func in _modff
36428 do :
36429   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36430 if test "x$ac_cv_func__modff" = x""yes; then :
36431   cat >>confdefs.h <<_ACEOF
36432 #define HAVE__MODFF 1
36433 _ACEOF
36434
36435 fi
36436 done
36437
36438     fi
36439   fi
36440
36441
36442
36443
36444
36445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36446 $as_echo_n "checking for modf declaration... " >&6; }
36447   if test x${glibcxx_cv_func_modf_use+set} != xset; then
36448     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36449   $as_echo_n "(cached) " >&6
36450 else
36451
36452
36453       ac_ext=cpp
36454 ac_cpp='$CXXCPP $CPPFLAGS'
36455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36458
36459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36460 /* end confdefs.h.  */
36461 #include <math.h>
36462 int
36463 main ()
36464 {
36465  modf(0, 0);
36466   ;
36467   return 0;
36468 }
36469 _ACEOF
36470 if ac_fn_cxx_try_compile "$LINENO"; then :
36471   glibcxx_cv_func_modf_use=yes
36472 else
36473   glibcxx_cv_func_modf_use=no
36474 fi
36475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36476       ac_ext=c
36477 ac_cpp='$CPP $CPPFLAGS'
36478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36481
36482
36483 fi
36484
36485   fi
36486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36487 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36488
36489   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36490     for ac_func in modf
36491 do :
36492   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36493 if test "x$ac_cv_func_modf" = x""yes; then :
36494   cat >>confdefs.h <<_ACEOF
36495 #define HAVE_MODF 1
36496 _ACEOF
36497
36498 fi
36499 done
36500
36501   else
36502
36503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36504 $as_echo_n "checking for _modf declaration... " >&6; }
36505   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36506     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36507   $as_echo_n "(cached) " >&6
36508 else
36509
36510
36511       ac_ext=cpp
36512 ac_cpp='$CXXCPP $CPPFLAGS'
36513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36516
36517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36518 /* end confdefs.h.  */
36519 #include <math.h>
36520 int
36521 main ()
36522 {
36523  _modf(0, 0);
36524   ;
36525   return 0;
36526 }
36527 _ACEOF
36528 if ac_fn_cxx_try_compile "$LINENO"; then :
36529   glibcxx_cv_func__modf_use=yes
36530 else
36531   glibcxx_cv_func__modf_use=no
36532 fi
36533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36534       ac_ext=c
36535 ac_cpp='$CPP $CPPFLAGS'
36536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36539
36540
36541 fi
36542
36543   fi
36544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36545 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36546
36547     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36548       for ac_func in _modf
36549 do :
36550   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36551 if test "x$ac_cv_func__modf" = x""yes; then :
36552   cat >>confdefs.h <<_ACEOF
36553 #define HAVE__MODF 1
36554 _ACEOF
36555
36556 fi
36557 done
36558
36559     fi
36560   fi
36561
36562
36563
36564
36565
36566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36567 $as_echo_n "checking for powf declaration... " >&6; }
36568   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36569     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36570   $as_echo_n "(cached) " >&6
36571 else
36572
36573
36574       ac_ext=cpp
36575 ac_cpp='$CXXCPP $CPPFLAGS'
36576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36579
36580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36581 /* end confdefs.h.  */
36582 #include <math.h>
36583 int
36584 main ()
36585 {
36586  powf(0, 0);
36587   ;
36588   return 0;
36589 }
36590 _ACEOF
36591 if ac_fn_cxx_try_compile "$LINENO"; then :
36592   glibcxx_cv_func_powf_use=yes
36593 else
36594   glibcxx_cv_func_powf_use=no
36595 fi
36596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36597       ac_ext=c
36598 ac_cpp='$CPP $CPPFLAGS'
36599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36602
36603
36604 fi
36605
36606   fi
36607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36608 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36609
36610   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36611     for ac_func in powf
36612 do :
36613   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36614 if test "x$ac_cv_func_powf" = x""yes; then :
36615   cat >>confdefs.h <<_ACEOF
36616 #define HAVE_POWF 1
36617 _ACEOF
36618
36619 fi
36620 done
36621
36622   else
36623
36624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36625 $as_echo_n "checking for _powf declaration... " >&6; }
36626   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36627     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36628   $as_echo_n "(cached) " >&6
36629 else
36630
36631
36632       ac_ext=cpp
36633 ac_cpp='$CXXCPP $CPPFLAGS'
36634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36637
36638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36639 /* end confdefs.h.  */
36640 #include <math.h>
36641 int
36642 main ()
36643 {
36644  _powf(0, 0);
36645   ;
36646   return 0;
36647 }
36648 _ACEOF
36649 if ac_fn_cxx_try_compile "$LINENO"; then :
36650   glibcxx_cv_func__powf_use=yes
36651 else
36652   glibcxx_cv_func__powf_use=no
36653 fi
36654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36655       ac_ext=c
36656 ac_cpp='$CPP $CPPFLAGS'
36657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36660
36661
36662 fi
36663
36664   fi
36665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36666 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36667
36668     if test x$glibcxx_cv_func__powf_use = x"yes"; then
36669       for ac_func in _powf
36670 do :
36671   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36672 if test "x$ac_cv_func__powf" = x""yes; then :
36673   cat >>confdefs.h <<_ACEOF
36674 #define HAVE__POWF 1
36675 _ACEOF
36676
36677 fi
36678 done
36679
36680     fi
36681   fi
36682
36683
36684
36685
36686
36687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36688 $as_echo_n "checking for sqrtf declaration... " >&6; }
36689   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36690     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36691   $as_echo_n "(cached) " >&6
36692 else
36693
36694
36695       ac_ext=cpp
36696 ac_cpp='$CXXCPP $CPPFLAGS'
36697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36700
36701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36702 /* end confdefs.h.  */
36703 #include <math.h>
36704                       #ifdef HAVE_IEEEFP_H
36705                       #include <ieeefp.h>
36706                       #endif
36707
36708 int
36709 main ()
36710 {
36711  sqrtf(0);
36712   ;
36713   return 0;
36714 }
36715 _ACEOF
36716 if ac_fn_cxx_try_compile "$LINENO"; then :
36717   glibcxx_cv_func_sqrtf_use=yes
36718 else
36719   glibcxx_cv_func_sqrtf_use=no
36720 fi
36721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36722       ac_ext=c
36723 ac_cpp='$CPP $CPPFLAGS'
36724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36727
36728
36729 fi
36730
36731   fi
36732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36733 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36734
36735   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36736     for ac_func in sqrtf
36737 do :
36738   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36739 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36740   cat >>confdefs.h <<_ACEOF
36741 #define HAVE_SQRTF 1
36742 _ACEOF
36743
36744 fi
36745 done
36746
36747   else
36748
36749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36750 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36751   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36752     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36753   $as_echo_n "(cached) " >&6
36754 else
36755
36756
36757       ac_ext=cpp
36758 ac_cpp='$CXXCPP $CPPFLAGS'
36759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36762
36763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36764 /* end confdefs.h.  */
36765 #include <math.h>
36766                       #ifdef HAVE_IEEEFP_H
36767                       #include <ieeefp.h>
36768                       #endif
36769
36770 int
36771 main ()
36772 {
36773  _sqrtf(0);
36774   ;
36775   return 0;
36776 }
36777 _ACEOF
36778 if ac_fn_cxx_try_compile "$LINENO"; then :
36779   glibcxx_cv_func__sqrtf_use=yes
36780 else
36781   glibcxx_cv_func__sqrtf_use=no
36782 fi
36783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36784       ac_ext=c
36785 ac_cpp='$CPP $CPPFLAGS'
36786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36789
36790
36791 fi
36792
36793   fi
36794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36795 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36796
36797     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36798       for ac_func in _sqrtf
36799 do :
36800   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36801 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36802   cat >>confdefs.h <<_ACEOF
36803 #define HAVE__SQRTF 1
36804 _ACEOF
36805
36806 fi
36807 done
36808
36809     fi
36810   fi
36811
36812
36813
36814
36815
36816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36817 $as_echo_n "checking for sincosf declaration... " >&6; }
36818   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36819     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36820   $as_echo_n "(cached) " >&6
36821 else
36822
36823
36824       ac_ext=cpp
36825 ac_cpp='$CXXCPP $CPPFLAGS'
36826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36829
36830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36831 /* end confdefs.h.  */
36832 #include <math.h>
36833 int
36834 main ()
36835 {
36836  sincosf(0, 0, 0);
36837   ;
36838   return 0;
36839 }
36840 _ACEOF
36841 if ac_fn_cxx_try_compile "$LINENO"; then :
36842   glibcxx_cv_func_sincosf_use=yes
36843 else
36844   glibcxx_cv_func_sincosf_use=no
36845 fi
36846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36847       ac_ext=c
36848 ac_cpp='$CPP $CPPFLAGS'
36849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36852
36853
36854 fi
36855
36856   fi
36857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36858 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36859
36860   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36861     for ac_func in sincosf
36862 do :
36863   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36864 if test "x$ac_cv_func_sincosf" = x""yes; then :
36865   cat >>confdefs.h <<_ACEOF
36866 #define HAVE_SINCOSF 1
36867 _ACEOF
36868
36869 fi
36870 done
36871
36872   else
36873
36874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36875 $as_echo_n "checking for _sincosf declaration... " >&6; }
36876   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36877     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36878   $as_echo_n "(cached) " >&6
36879 else
36880
36881
36882       ac_ext=cpp
36883 ac_cpp='$CXXCPP $CPPFLAGS'
36884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36887
36888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36889 /* end confdefs.h.  */
36890 #include <math.h>
36891 int
36892 main ()
36893 {
36894  _sincosf(0, 0, 0);
36895   ;
36896   return 0;
36897 }
36898 _ACEOF
36899 if ac_fn_cxx_try_compile "$LINENO"; then :
36900   glibcxx_cv_func__sincosf_use=yes
36901 else
36902   glibcxx_cv_func__sincosf_use=no
36903 fi
36904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36905       ac_ext=c
36906 ac_cpp='$CPP $CPPFLAGS'
36907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36910
36911
36912 fi
36913
36914   fi
36915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36916 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36917
36918     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36919       for ac_func in _sincosf
36920 do :
36921   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36922 if test "x$ac_cv_func__sincosf" = x""yes; then :
36923   cat >>confdefs.h <<_ACEOF
36924 #define HAVE__SINCOSF 1
36925 _ACEOF
36926
36927 fi
36928 done
36929
36930     fi
36931   fi
36932
36933
36934
36935
36936
36937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36938 $as_echo_n "checking for finitef declaration... " >&6; }
36939   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36940     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36941   $as_echo_n "(cached) " >&6
36942 else
36943
36944
36945       ac_ext=cpp
36946 ac_cpp='$CXXCPP $CPPFLAGS'
36947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36950
36951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36952 /* end confdefs.h.  */
36953 #include <math.h>
36954                       #ifdef HAVE_IEEEFP_H
36955                       #include <ieeefp.h>
36956                       #endif
36957
36958 int
36959 main ()
36960 {
36961  finitef(0);
36962   ;
36963   return 0;
36964 }
36965 _ACEOF
36966 if ac_fn_cxx_try_compile "$LINENO"; then :
36967   glibcxx_cv_func_finitef_use=yes
36968 else
36969   glibcxx_cv_func_finitef_use=no
36970 fi
36971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36972       ac_ext=c
36973 ac_cpp='$CPP $CPPFLAGS'
36974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36977
36978
36979 fi
36980
36981   fi
36982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36983 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36984
36985   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36986     for ac_func in finitef
36987 do :
36988   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36989 if test "x$ac_cv_func_finitef" = x""yes; then :
36990   cat >>confdefs.h <<_ACEOF
36991 #define HAVE_FINITEF 1
36992 _ACEOF
36993
36994 fi
36995 done
36996
36997   else
36998
36999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37000 $as_echo_n "checking for _finitef declaration... " >&6; }
37001   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37002     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37003   $as_echo_n "(cached) " >&6
37004 else
37005
37006
37007       ac_ext=cpp
37008 ac_cpp='$CXXCPP $CPPFLAGS'
37009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37012
37013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37014 /* end confdefs.h.  */
37015 #include <math.h>
37016                       #ifdef HAVE_IEEEFP_H
37017                       #include <ieeefp.h>
37018                       #endif
37019
37020 int
37021 main ()
37022 {
37023  _finitef(0);
37024   ;
37025   return 0;
37026 }
37027 _ACEOF
37028 if ac_fn_cxx_try_compile "$LINENO"; then :
37029   glibcxx_cv_func__finitef_use=yes
37030 else
37031   glibcxx_cv_func__finitef_use=no
37032 fi
37033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37034       ac_ext=c
37035 ac_cpp='$CPP $CPPFLAGS'
37036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37039
37040
37041 fi
37042
37043   fi
37044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37045 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37046
37047     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37048       for ac_func in _finitef
37049 do :
37050   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37051 if test "x$ac_cv_func__finitef" = x""yes; then :
37052   cat >>confdefs.h <<_ACEOF
37053 #define HAVE__FINITEF 1
37054 _ACEOF
37055
37056 fi
37057 done
37058
37059     fi
37060   fi
37061
37062
37063
37064
37065
37066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37067 $as_echo_n "checking for long double trig functions... " >&6; }
37068   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37069   $as_echo_n "(cached) " >&6
37070 else
37071
37072
37073     ac_ext=cpp
37074 ac_cpp='$CXXCPP $CPPFLAGS'
37075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37078
37079     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37080 /* end confdefs.h.  */
37081 #include <math.h>
37082 int
37083 main ()
37084 {
37085 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37086   ;
37087   return 0;
37088 }
37089 _ACEOF
37090 if ac_fn_cxx_try_compile "$LINENO"; then :
37091   glibcxx_cv_func_long_double_trig_use=yes
37092 else
37093   glibcxx_cv_func_long_double_trig_use=no
37094 fi
37095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37096     ac_ext=c
37097 ac_cpp='$CPP $CPPFLAGS'
37098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37101
37102 fi
37103
37104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37105 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37106   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37107     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37108 do :
37109   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37111 eval as_val=\$$as_ac_var
37112    if test "x$as_val" = x""yes; then :
37113   cat >>confdefs.h <<_ACEOF
37114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37115 _ACEOF
37116
37117 fi
37118 done
37119
37120   else
37121     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37122 $as_echo_n "checking for _long double trig functions... " >&6; }
37123     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37124   $as_echo_n "(cached) " >&6
37125 else
37126
37127
37128       ac_ext=cpp
37129 ac_cpp='$CXXCPP $CPPFLAGS'
37130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37133
37134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37135 /* end confdefs.h.  */
37136 #include <math.h>
37137 int
37138 main ()
37139 {
37140 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37141   ;
37142   return 0;
37143 }
37144 _ACEOF
37145 if ac_fn_cxx_try_compile "$LINENO"; then :
37146   glibcxx_cv_func__long_double_trig_use=yes
37147 else
37148   glibcxx_cv_func__long_double_trig_use=no
37149 fi
37150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37151       ac_ext=c
37152 ac_cpp='$CPP $CPPFLAGS'
37153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37156
37157 fi
37158
37159     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37160 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37161     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37162       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37163 do :
37164   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37166 eval as_val=\$$as_ac_var
37167    if test "x$as_val" = x""yes; then :
37168   cat >>confdefs.h <<_ACEOF
37169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37170 _ACEOF
37171
37172 fi
37173 done
37174
37175     fi
37176   fi
37177
37178
37179
37180
37181
37182     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37183 $as_echo_n "checking for long double round functions... " >&6; }
37184   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37185   $as_echo_n "(cached) " >&6
37186 else
37187
37188
37189     ac_ext=cpp
37190 ac_cpp='$CXXCPP $CPPFLAGS'
37191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37194
37195     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37196 /* end confdefs.h.  */
37197 #include <math.h>
37198 int
37199 main ()
37200 {
37201 ceill (0); floorl (0);
37202   ;
37203   return 0;
37204 }
37205 _ACEOF
37206 if ac_fn_cxx_try_compile "$LINENO"; then :
37207   glibcxx_cv_func_long_double_round_use=yes
37208 else
37209   glibcxx_cv_func_long_double_round_use=no
37210 fi
37211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37212     ac_ext=c
37213 ac_cpp='$CPP $CPPFLAGS'
37214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37217
37218 fi
37219
37220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37221 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37222   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37223     for ac_func in ceill floorl
37224 do :
37225   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37227 eval as_val=\$$as_ac_var
37228    if test "x$as_val" = x""yes; then :
37229   cat >>confdefs.h <<_ACEOF
37230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37231 _ACEOF
37232
37233 fi
37234 done
37235
37236   else
37237     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37238 $as_echo_n "checking for _long double round functions... " >&6; }
37239     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37240   $as_echo_n "(cached) " >&6
37241 else
37242
37243
37244       ac_ext=cpp
37245 ac_cpp='$CXXCPP $CPPFLAGS'
37246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37249
37250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37251 /* end confdefs.h.  */
37252 #include <math.h>
37253 int
37254 main ()
37255 {
37256 _ceill (0); _floorl (0);
37257   ;
37258   return 0;
37259 }
37260 _ACEOF
37261 if ac_fn_cxx_try_compile "$LINENO"; then :
37262   glibcxx_cv_func__long_double_round_use=yes
37263 else
37264   glibcxx_cv_func__long_double_round_use=no
37265 fi
37266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37267       ac_ext=c
37268 ac_cpp='$CPP $CPPFLAGS'
37269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37272
37273 fi
37274
37275     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37276 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37277     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37278       for ac_func in _ceill _floorl
37279 do :
37280   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37282 eval as_val=\$$as_ac_var
37283    if test "x$as_val" = x""yes; then :
37284   cat >>confdefs.h <<_ACEOF
37285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37286 _ACEOF
37287
37288 fi
37289 done
37290
37291     fi
37292   fi
37293
37294
37295
37296
37297
37298
37299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37300 $as_echo_n "checking for isnanl declaration... " >&6; }
37301   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37302     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37303   $as_echo_n "(cached) " >&6
37304 else
37305
37306
37307       ac_ext=cpp
37308 ac_cpp='$CXXCPP $CPPFLAGS'
37309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37312
37313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37314 /* end confdefs.h.  */
37315 #include <math.h>
37316                       #ifdef HAVE_IEEEFP_H
37317                       #include <ieeefp.h>
37318                       #endif
37319
37320 int
37321 main ()
37322 {
37323  isnanl(0);
37324   ;
37325   return 0;
37326 }
37327 _ACEOF
37328 if ac_fn_cxx_try_compile "$LINENO"; then :
37329   glibcxx_cv_func_isnanl_use=yes
37330 else
37331   glibcxx_cv_func_isnanl_use=no
37332 fi
37333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37334       ac_ext=c
37335 ac_cpp='$CPP $CPPFLAGS'
37336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37339
37340
37341 fi
37342
37343   fi
37344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37345 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37346
37347   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37348     for ac_func in isnanl
37349 do :
37350   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37351 if test "x$ac_cv_func_isnanl" = x""yes; then :
37352   cat >>confdefs.h <<_ACEOF
37353 #define HAVE_ISNANL 1
37354 _ACEOF
37355
37356 fi
37357 done
37358
37359   else
37360
37361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37362 $as_echo_n "checking for _isnanl declaration... " >&6; }
37363   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37364     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37365   $as_echo_n "(cached) " >&6
37366 else
37367
37368
37369       ac_ext=cpp
37370 ac_cpp='$CXXCPP $CPPFLAGS'
37371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37374
37375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37376 /* end confdefs.h.  */
37377 #include <math.h>
37378                       #ifdef HAVE_IEEEFP_H
37379                       #include <ieeefp.h>
37380                       #endif
37381
37382 int
37383 main ()
37384 {
37385  _isnanl(0);
37386   ;
37387   return 0;
37388 }
37389 _ACEOF
37390 if ac_fn_cxx_try_compile "$LINENO"; then :
37391   glibcxx_cv_func__isnanl_use=yes
37392 else
37393   glibcxx_cv_func__isnanl_use=no
37394 fi
37395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37396       ac_ext=c
37397 ac_cpp='$CPP $CPPFLAGS'
37398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37401
37402
37403 fi
37404
37405   fi
37406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37407 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37408
37409     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37410       for ac_func in _isnanl
37411 do :
37412   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37413 if test "x$ac_cv_func__isnanl" = x""yes; then :
37414   cat >>confdefs.h <<_ACEOF
37415 #define HAVE__ISNANL 1
37416 _ACEOF
37417
37418 fi
37419 done
37420
37421     fi
37422   fi
37423
37424
37425
37426
37427
37428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37429 $as_echo_n "checking for isinfl declaration... " >&6; }
37430   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37431     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37432   $as_echo_n "(cached) " >&6
37433 else
37434
37435
37436       ac_ext=cpp
37437 ac_cpp='$CXXCPP $CPPFLAGS'
37438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37441
37442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37443 /* end confdefs.h.  */
37444 #include <math.h>
37445                       #ifdef HAVE_IEEEFP_H
37446                       #include <ieeefp.h>
37447                       #endif
37448
37449 int
37450 main ()
37451 {
37452  isinfl(0);
37453   ;
37454   return 0;
37455 }
37456 _ACEOF
37457 if ac_fn_cxx_try_compile "$LINENO"; then :
37458   glibcxx_cv_func_isinfl_use=yes
37459 else
37460   glibcxx_cv_func_isinfl_use=no
37461 fi
37462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37463       ac_ext=c
37464 ac_cpp='$CPP $CPPFLAGS'
37465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37468
37469
37470 fi
37471
37472   fi
37473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37474 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37475
37476   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37477     for ac_func in isinfl
37478 do :
37479   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37480 if test "x$ac_cv_func_isinfl" = x""yes; then :
37481   cat >>confdefs.h <<_ACEOF
37482 #define HAVE_ISINFL 1
37483 _ACEOF
37484
37485 fi
37486 done
37487
37488   else
37489
37490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37491 $as_echo_n "checking for _isinfl declaration... " >&6; }
37492   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37493     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37494   $as_echo_n "(cached) " >&6
37495 else
37496
37497
37498       ac_ext=cpp
37499 ac_cpp='$CXXCPP $CPPFLAGS'
37500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37503
37504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37505 /* end confdefs.h.  */
37506 #include <math.h>
37507                       #ifdef HAVE_IEEEFP_H
37508                       #include <ieeefp.h>
37509                       #endif
37510
37511 int
37512 main ()
37513 {
37514  _isinfl(0);
37515   ;
37516   return 0;
37517 }
37518 _ACEOF
37519 if ac_fn_cxx_try_compile "$LINENO"; then :
37520   glibcxx_cv_func__isinfl_use=yes
37521 else
37522   glibcxx_cv_func__isinfl_use=no
37523 fi
37524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37525       ac_ext=c
37526 ac_cpp='$CPP $CPPFLAGS'
37527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37530
37531
37532 fi
37533
37534   fi
37535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37536 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37537
37538     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37539       for ac_func in _isinfl
37540 do :
37541   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37542 if test "x$ac_cv_func__isinfl" = x""yes; then :
37543   cat >>confdefs.h <<_ACEOF
37544 #define HAVE__ISINFL 1
37545 _ACEOF
37546
37547 fi
37548 done
37549
37550     fi
37551   fi
37552
37553
37554
37555
37556
37557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37558 $as_echo_n "checking for atan2l declaration... " >&6; }
37559   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37560     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37561   $as_echo_n "(cached) " >&6
37562 else
37563
37564
37565       ac_ext=cpp
37566 ac_cpp='$CXXCPP $CPPFLAGS'
37567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37570
37571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37572 /* end confdefs.h.  */
37573 #include <math.h>
37574 int
37575 main ()
37576 {
37577  atan2l(0, 0);
37578   ;
37579   return 0;
37580 }
37581 _ACEOF
37582 if ac_fn_cxx_try_compile "$LINENO"; then :
37583   glibcxx_cv_func_atan2l_use=yes
37584 else
37585   glibcxx_cv_func_atan2l_use=no
37586 fi
37587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37588       ac_ext=c
37589 ac_cpp='$CPP $CPPFLAGS'
37590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37593
37594
37595 fi
37596
37597   fi
37598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37599 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37600
37601   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37602     for ac_func in atan2l
37603 do :
37604   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37605 if test "x$ac_cv_func_atan2l" = x""yes; then :
37606   cat >>confdefs.h <<_ACEOF
37607 #define HAVE_ATAN2L 1
37608 _ACEOF
37609
37610 fi
37611 done
37612
37613   else
37614
37615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37616 $as_echo_n "checking for _atan2l declaration... " >&6; }
37617   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37618     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37619   $as_echo_n "(cached) " >&6
37620 else
37621
37622
37623       ac_ext=cpp
37624 ac_cpp='$CXXCPP $CPPFLAGS'
37625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37628
37629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37630 /* end confdefs.h.  */
37631 #include <math.h>
37632 int
37633 main ()
37634 {
37635  _atan2l(0, 0);
37636   ;
37637   return 0;
37638 }
37639 _ACEOF
37640 if ac_fn_cxx_try_compile "$LINENO"; then :
37641   glibcxx_cv_func__atan2l_use=yes
37642 else
37643   glibcxx_cv_func__atan2l_use=no
37644 fi
37645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37646       ac_ext=c
37647 ac_cpp='$CPP $CPPFLAGS'
37648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37651
37652
37653 fi
37654
37655   fi
37656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37657 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37658
37659     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37660       for ac_func in _atan2l
37661 do :
37662   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37663 if test "x$ac_cv_func__atan2l" = x""yes; then :
37664   cat >>confdefs.h <<_ACEOF
37665 #define HAVE__ATAN2L 1
37666 _ACEOF
37667
37668 fi
37669 done
37670
37671     fi
37672   fi
37673
37674
37675
37676
37677
37678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37679 $as_echo_n "checking for expl declaration... " >&6; }
37680   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37681     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37682   $as_echo_n "(cached) " >&6
37683 else
37684
37685
37686       ac_ext=cpp
37687 ac_cpp='$CXXCPP $CPPFLAGS'
37688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37691
37692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37693 /* end confdefs.h.  */
37694 #include <math.h>
37695                       #ifdef HAVE_IEEEFP_H
37696                       #include <ieeefp.h>
37697                       #endif
37698
37699 int
37700 main ()
37701 {
37702  expl(0);
37703   ;
37704   return 0;
37705 }
37706 _ACEOF
37707 if ac_fn_cxx_try_compile "$LINENO"; then :
37708   glibcxx_cv_func_expl_use=yes
37709 else
37710   glibcxx_cv_func_expl_use=no
37711 fi
37712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37713       ac_ext=c
37714 ac_cpp='$CPP $CPPFLAGS'
37715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37718
37719
37720 fi
37721
37722   fi
37723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37724 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37725
37726   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37727     for ac_func in expl
37728 do :
37729   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37730 if test "x$ac_cv_func_expl" = x""yes; then :
37731   cat >>confdefs.h <<_ACEOF
37732 #define HAVE_EXPL 1
37733 _ACEOF
37734
37735 fi
37736 done
37737
37738   else
37739
37740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37741 $as_echo_n "checking for _expl declaration... " >&6; }
37742   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37743     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37744   $as_echo_n "(cached) " >&6
37745 else
37746
37747
37748       ac_ext=cpp
37749 ac_cpp='$CXXCPP $CPPFLAGS'
37750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37753
37754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37755 /* end confdefs.h.  */
37756 #include <math.h>
37757                       #ifdef HAVE_IEEEFP_H
37758                       #include <ieeefp.h>
37759                       #endif
37760
37761 int
37762 main ()
37763 {
37764  _expl(0);
37765   ;
37766   return 0;
37767 }
37768 _ACEOF
37769 if ac_fn_cxx_try_compile "$LINENO"; then :
37770   glibcxx_cv_func__expl_use=yes
37771 else
37772   glibcxx_cv_func__expl_use=no
37773 fi
37774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37775       ac_ext=c
37776 ac_cpp='$CPP $CPPFLAGS'
37777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37780
37781
37782 fi
37783
37784   fi
37785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37786 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37787
37788     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37789       for ac_func in _expl
37790 do :
37791   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37792 if test "x$ac_cv_func__expl" = x""yes; then :
37793   cat >>confdefs.h <<_ACEOF
37794 #define HAVE__EXPL 1
37795 _ACEOF
37796
37797 fi
37798 done
37799
37800     fi
37801   fi
37802
37803
37804
37805
37806
37807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37808 $as_echo_n "checking for fabsl declaration... " >&6; }
37809   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37810     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37811   $as_echo_n "(cached) " >&6
37812 else
37813
37814
37815       ac_ext=cpp
37816 ac_cpp='$CXXCPP $CPPFLAGS'
37817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37820
37821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37822 /* end confdefs.h.  */
37823 #include <math.h>
37824                       #ifdef HAVE_IEEEFP_H
37825                       #include <ieeefp.h>
37826                       #endif
37827
37828 int
37829 main ()
37830 {
37831  fabsl(0);
37832   ;
37833   return 0;
37834 }
37835 _ACEOF
37836 if ac_fn_cxx_try_compile "$LINENO"; then :
37837   glibcxx_cv_func_fabsl_use=yes
37838 else
37839   glibcxx_cv_func_fabsl_use=no
37840 fi
37841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37842       ac_ext=c
37843 ac_cpp='$CPP $CPPFLAGS'
37844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37847
37848
37849 fi
37850
37851   fi
37852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37853 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37854
37855   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37856     for ac_func in fabsl
37857 do :
37858   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37859 if test "x$ac_cv_func_fabsl" = x""yes; then :
37860   cat >>confdefs.h <<_ACEOF
37861 #define HAVE_FABSL 1
37862 _ACEOF
37863
37864 fi
37865 done
37866
37867   else
37868
37869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37870 $as_echo_n "checking for _fabsl declaration... " >&6; }
37871   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37872     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37873   $as_echo_n "(cached) " >&6
37874 else
37875
37876
37877       ac_ext=cpp
37878 ac_cpp='$CXXCPP $CPPFLAGS'
37879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37882
37883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37884 /* end confdefs.h.  */
37885 #include <math.h>
37886                       #ifdef HAVE_IEEEFP_H
37887                       #include <ieeefp.h>
37888                       #endif
37889
37890 int
37891 main ()
37892 {
37893  _fabsl(0);
37894   ;
37895   return 0;
37896 }
37897 _ACEOF
37898 if ac_fn_cxx_try_compile "$LINENO"; then :
37899   glibcxx_cv_func__fabsl_use=yes
37900 else
37901   glibcxx_cv_func__fabsl_use=no
37902 fi
37903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37904       ac_ext=c
37905 ac_cpp='$CPP $CPPFLAGS'
37906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37909
37910
37911 fi
37912
37913   fi
37914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37915 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37916
37917     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37918       for ac_func in _fabsl
37919 do :
37920   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37921 if test "x$ac_cv_func__fabsl" = x""yes; then :
37922   cat >>confdefs.h <<_ACEOF
37923 #define HAVE__FABSL 1
37924 _ACEOF
37925
37926 fi
37927 done
37928
37929     fi
37930   fi
37931
37932
37933
37934
37935
37936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37937 $as_echo_n "checking for fmodl declaration... " >&6; }
37938   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37939     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37940   $as_echo_n "(cached) " >&6
37941 else
37942
37943
37944       ac_ext=cpp
37945 ac_cpp='$CXXCPP $CPPFLAGS'
37946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37949
37950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37951 /* end confdefs.h.  */
37952 #include <math.h>
37953 int
37954 main ()
37955 {
37956  fmodl(0, 0);
37957   ;
37958   return 0;
37959 }
37960 _ACEOF
37961 if ac_fn_cxx_try_compile "$LINENO"; then :
37962   glibcxx_cv_func_fmodl_use=yes
37963 else
37964   glibcxx_cv_func_fmodl_use=no
37965 fi
37966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37967       ac_ext=c
37968 ac_cpp='$CPP $CPPFLAGS'
37969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37972
37973
37974 fi
37975
37976   fi
37977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37978 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37979
37980   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37981     for ac_func in fmodl
37982 do :
37983   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37984 if test "x$ac_cv_func_fmodl" = x""yes; then :
37985   cat >>confdefs.h <<_ACEOF
37986 #define HAVE_FMODL 1
37987 _ACEOF
37988
37989 fi
37990 done
37991
37992   else
37993
37994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37995 $as_echo_n "checking for _fmodl declaration... " >&6; }
37996   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37997     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37998   $as_echo_n "(cached) " >&6
37999 else
38000
38001
38002       ac_ext=cpp
38003 ac_cpp='$CXXCPP $CPPFLAGS'
38004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38007
38008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38009 /* end confdefs.h.  */
38010 #include <math.h>
38011 int
38012 main ()
38013 {
38014  _fmodl(0, 0);
38015   ;
38016   return 0;
38017 }
38018 _ACEOF
38019 if ac_fn_cxx_try_compile "$LINENO"; then :
38020   glibcxx_cv_func__fmodl_use=yes
38021 else
38022   glibcxx_cv_func__fmodl_use=no
38023 fi
38024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38025       ac_ext=c
38026 ac_cpp='$CPP $CPPFLAGS'
38027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38030
38031
38032 fi
38033
38034   fi
38035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38036 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38037
38038     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38039       for ac_func in _fmodl
38040 do :
38041   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38042 if test "x$ac_cv_func__fmodl" = x""yes; then :
38043   cat >>confdefs.h <<_ACEOF
38044 #define HAVE__FMODL 1
38045 _ACEOF
38046
38047 fi
38048 done
38049
38050     fi
38051   fi
38052
38053
38054
38055
38056
38057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38058 $as_echo_n "checking for frexpl declaration... " >&6; }
38059   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38060     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38061   $as_echo_n "(cached) " >&6
38062 else
38063
38064
38065       ac_ext=cpp
38066 ac_cpp='$CXXCPP $CPPFLAGS'
38067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38070
38071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38072 /* end confdefs.h.  */
38073 #include <math.h>
38074 int
38075 main ()
38076 {
38077  frexpl(0, 0);
38078   ;
38079   return 0;
38080 }
38081 _ACEOF
38082 if ac_fn_cxx_try_compile "$LINENO"; then :
38083   glibcxx_cv_func_frexpl_use=yes
38084 else
38085   glibcxx_cv_func_frexpl_use=no
38086 fi
38087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38088       ac_ext=c
38089 ac_cpp='$CPP $CPPFLAGS'
38090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38093
38094
38095 fi
38096
38097   fi
38098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38099 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38100
38101   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38102     for ac_func in frexpl
38103 do :
38104   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38105 if test "x$ac_cv_func_frexpl" = x""yes; then :
38106   cat >>confdefs.h <<_ACEOF
38107 #define HAVE_FREXPL 1
38108 _ACEOF
38109
38110 fi
38111 done
38112
38113   else
38114
38115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38116 $as_echo_n "checking for _frexpl declaration... " >&6; }
38117   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38118     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38119   $as_echo_n "(cached) " >&6
38120 else
38121
38122
38123       ac_ext=cpp
38124 ac_cpp='$CXXCPP $CPPFLAGS'
38125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38128
38129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38130 /* end confdefs.h.  */
38131 #include <math.h>
38132 int
38133 main ()
38134 {
38135  _frexpl(0, 0);
38136   ;
38137   return 0;
38138 }
38139 _ACEOF
38140 if ac_fn_cxx_try_compile "$LINENO"; then :
38141   glibcxx_cv_func__frexpl_use=yes
38142 else
38143   glibcxx_cv_func__frexpl_use=no
38144 fi
38145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38146       ac_ext=c
38147 ac_cpp='$CPP $CPPFLAGS'
38148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38151
38152
38153 fi
38154
38155   fi
38156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38157 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38158
38159     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38160       for ac_func in _frexpl
38161 do :
38162   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38163 if test "x$ac_cv_func__frexpl" = x""yes; then :
38164   cat >>confdefs.h <<_ACEOF
38165 #define HAVE__FREXPL 1
38166 _ACEOF
38167
38168 fi
38169 done
38170
38171     fi
38172   fi
38173
38174
38175
38176
38177
38178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38179 $as_echo_n "checking for hypotl declaration... " >&6; }
38180   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38181     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38182   $as_echo_n "(cached) " >&6
38183 else
38184
38185
38186       ac_ext=cpp
38187 ac_cpp='$CXXCPP $CPPFLAGS'
38188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38191
38192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38193 /* end confdefs.h.  */
38194 #include <math.h>
38195 int
38196 main ()
38197 {
38198  hypotl(0, 0);
38199   ;
38200   return 0;
38201 }
38202 _ACEOF
38203 if ac_fn_cxx_try_compile "$LINENO"; then :
38204   glibcxx_cv_func_hypotl_use=yes
38205 else
38206   glibcxx_cv_func_hypotl_use=no
38207 fi
38208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38209       ac_ext=c
38210 ac_cpp='$CPP $CPPFLAGS'
38211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38214
38215
38216 fi
38217
38218   fi
38219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38220 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38221
38222   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38223     for ac_func in hypotl
38224 do :
38225   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38226 if test "x$ac_cv_func_hypotl" = x""yes; then :
38227   cat >>confdefs.h <<_ACEOF
38228 #define HAVE_HYPOTL 1
38229 _ACEOF
38230
38231 fi
38232 done
38233
38234   else
38235
38236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38237 $as_echo_n "checking for _hypotl declaration... " >&6; }
38238   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38239     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38240   $as_echo_n "(cached) " >&6
38241 else
38242
38243
38244       ac_ext=cpp
38245 ac_cpp='$CXXCPP $CPPFLAGS'
38246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38249
38250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38251 /* end confdefs.h.  */
38252 #include <math.h>
38253 int
38254 main ()
38255 {
38256  _hypotl(0, 0);
38257   ;
38258   return 0;
38259 }
38260 _ACEOF
38261 if ac_fn_cxx_try_compile "$LINENO"; then :
38262   glibcxx_cv_func__hypotl_use=yes
38263 else
38264   glibcxx_cv_func__hypotl_use=no
38265 fi
38266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38267       ac_ext=c
38268 ac_cpp='$CPP $CPPFLAGS'
38269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38272
38273
38274 fi
38275
38276   fi
38277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38278 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38279
38280     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38281       for ac_func in _hypotl
38282 do :
38283   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38284 if test "x$ac_cv_func__hypotl" = x""yes; then :
38285   cat >>confdefs.h <<_ACEOF
38286 #define HAVE__HYPOTL 1
38287 _ACEOF
38288
38289 fi
38290 done
38291
38292     fi
38293   fi
38294
38295
38296
38297
38298
38299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38300 $as_echo_n "checking for ldexpl declaration... " >&6; }
38301   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38302     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38303   $as_echo_n "(cached) " >&6
38304 else
38305
38306
38307       ac_ext=cpp
38308 ac_cpp='$CXXCPP $CPPFLAGS'
38309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38312
38313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38314 /* end confdefs.h.  */
38315 #include <math.h>
38316 int
38317 main ()
38318 {
38319  ldexpl(0, 0);
38320   ;
38321   return 0;
38322 }
38323 _ACEOF
38324 if ac_fn_cxx_try_compile "$LINENO"; then :
38325   glibcxx_cv_func_ldexpl_use=yes
38326 else
38327   glibcxx_cv_func_ldexpl_use=no
38328 fi
38329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38330       ac_ext=c
38331 ac_cpp='$CPP $CPPFLAGS'
38332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38335
38336
38337 fi
38338
38339   fi
38340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38341 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38342
38343   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38344     for ac_func in ldexpl
38345 do :
38346   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38347 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38348   cat >>confdefs.h <<_ACEOF
38349 #define HAVE_LDEXPL 1
38350 _ACEOF
38351
38352 fi
38353 done
38354
38355   else
38356
38357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38358 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38359   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38360     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38361   $as_echo_n "(cached) " >&6
38362 else
38363
38364
38365       ac_ext=cpp
38366 ac_cpp='$CXXCPP $CPPFLAGS'
38367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38370
38371       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38372 /* end confdefs.h.  */
38373 #include <math.h>
38374 int
38375 main ()
38376 {
38377  _ldexpl(0, 0);
38378   ;
38379   return 0;
38380 }
38381 _ACEOF
38382 if ac_fn_cxx_try_compile "$LINENO"; then :
38383   glibcxx_cv_func__ldexpl_use=yes
38384 else
38385   glibcxx_cv_func__ldexpl_use=no
38386 fi
38387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38388       ac_ext=c
38389 ac_cpp='$CPP $CPPFLAGS'
38390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38393
38394
38395 fi
38396
38397   fi
38398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38399 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38400
38401     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38402       for ac_func in _ldexpl
38403 do :
38404   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38405 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38406   cat >>confdefs.h <<_ACEOF
38407 #define HAVE__LDEXPL 1
38408 _ACEOF
38409
38410 fi
38411 done
38412
38413     fi
38414   fi
38415
38416
38417
38418
38419
38420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38421 $as_echo_n "checking for logl declaration... " >&6; }
38422   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38423     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38424   $as_echo_n "(cached) " >&6
38425 else
38426
38427
38428       ac_ext=cpp
38429 ac_cpp='$CXXCPP $CPPFLAGS'
38430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38433
38434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38435 /* end confdefs.h.  */
38436 #include <math.h>
38437                       #ifdef HAVE_IEEEFP_H
38438                       #include <ieeefp.h>
38439                       #endif
38440
38441 int
38442 main ()
38443 {
38444  logl(0);
38445   ;
38446   return 0;
38447 }
38448 _ACEOF
38449 if ac_fn_cxx_try_compile "$LINENO"; then :
38450   glibcxx_cv_func_logl_use=yes
38451 else
38452   glibcxx_cv_func_logl_use=no
38453 fi
38454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38455       ac_ext=c
38456 ac_cpp='$CPP $CPPFLAGS'
38457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38460
38461
38462 fi
38463
38464   fi
38465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38466 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38467
38468   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38469     for ac_func in logl
38470 do :
38471   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38472 if test "x$ac_cv_func_logl" = x""yes; then :
38473   cat >>confdefs.h <<_ACEOF
38474 #define HAVE_LOGL 1
38475 _ACEOF
38476
38477 fi
38478 done
38479
38480   else
38481
38482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38483 $as_echo_n "checking for _logl declaration... " >&6; }
38484   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38485     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38486   $as_echo_n "(cached) " >&6
38487 else
38488
38489
38490       ac_ext=cpp
38491 ac_cpp='$CXXCPP $CPPFLAGS'
38492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38495
38496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38497 /* end confdefs.h.  */
38498 #include <math.h>
38499                       #ifdef HAVE_IEEEFP_H
38500                       #include <ieeefp.h>
38501                       #endif
38502
38503 int
38504 main ()
38505 {
38506  _logl(0);
38507   ;
38508   return 0;
38509 }
38510 _ACEOF
38511 if ac_fn_cxx_try_compile "$LINENO"; then :
38512   glibcxx_cv_func__logl_use=yes
38513 else
38514   glibcxx_cv_func__logl_use=no
38515 fi
38516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38517       ac_ext=c
38518 ac_cpp='$CPP $CPPFLAGS'
38519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38522
38523
38524 fi
38525
38526   fi
38527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38528 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38529
38530     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38531       for ac_func in _logl
38532 do :
38533   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38534 if test "x$ac_cv_func__logl" = x""yes; then :
38535   cat >>confdefs.h <<_ACEOF
38536 #define HAVE__LOGL 1
38537 _ACEOF
38538
38539 fi
38540 done
38541
38542     fi
38543   fi
38544
38545
38546
38547
38548
38549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38550 $as_echo_n "checking for log10l declaration... " >&6; }
38551   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38552     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38553   $as_echo_n "(cached) " >&6
38554 else
38555
38556
38557       ac_ext=cpp
38558 ac_cpp='$CXXCPP $CPPFLAGS'
38559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38562
38563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38564 /* end confdefs.h.  */
38565 #include <math.h>
38566                       #ifdef HAVE_IEEEFP_H
38567                       #include <ieeefp.h>
38568                       #endif
38569
38570 int
38571 main ()
38572 {
38573  log10l(0);
38574   ;
38575   return 0;
38576 }
38577 _ACEOF
38578 if ac_fn_cxx_try_compile "$LINENO"; then :
38579   glibcxx_cv_func_log10l_use=yes
38580 else
38581   glibcxx_cv_func_log10l_use=no
38582 fi
38583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38584       ac_ext=c
38585 ac_cpp='$CPP $CPPFLAGS'
38586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38589
38590
38591 fi
38592
38593   fi
38594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38595 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38596
38597   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38598     for ac_func in log10l
38599 do :
38600   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38601 if test "x$ac_cv_func_log10l" = x""yes; then :
38602   cat >>confdefs.h <<_ACEOF
38603 #define HAVE_LOG10L 1
38604 _ACEOF
38605
38606 fi
38607 done
38608
38609   else
38610
38611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38612 $as_echo_n "checking for _log10l declaration... " >&6; }
38613   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38614     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38615   $as_echo_n "(cached) " >&6
38616 else
38617
38618
38619       ac_ext=cpp
38620 ac_cpp='$CXXCPP $CPPFLAGS'
38621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38624
38625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38626 /* end confdefs.h.  */
38627 #include <math.h>
38628                       #ifdef HAVE_IEEEFP_H
38629                       #include <ieeefp.h>
38630                       #endif
38631
38632 int
38633 main ()
38634 {
38635  _log10l(0);
38636   ;
38637   return 0;
38638 }
38639 _ACEOF
38640 if ac_fn_cxx_try_compile "$LINENO"; then :
38641   glibcxx_cv_func__log10l_use=yes
38642 else
38643   glibcxx_cv_func__log10l_use=no
38644 fi
38645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38646       ac_ext=c
38647 ac_cpp='$CPP $CPPFLAGS'
38648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38651
38652
38653 fi
38654
38655   fi
38656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38657 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38658
38659     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38660       for ac_func in _log10l
38661 do :
38662   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38663 if test "x$ac_cv_func__log10l" = x""yes; then :
38664   cat >>confdefs.h <<_ACEOF
38665 #define HAVE__LOG10L 1
38666 _ACEOF
38667
38668 fi
38669 done
38670
38671     fi
38672   fi
38673
38674
38675
38676
38677
38678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38679 $as_echo_n "checking for modfl declaration... " >&6; }
38680   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38681     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38682   $as_echo_n "(cached) " >&6
38683 else
38684
38685
38686       ac_ext=cpp
38687 ac_cpp='$CXXCPP $CPPFLAGS'
38688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38691
38692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38693 /* end confdefs.h.  */
38694 #include <math.h>
38695 int
38696 main ()
38697 {
38698  modfl(0, 0);
38699   ;
38700   return 0;
38701 }
38702 _ACEOF
38703 if ac_fn_cxx_try_compile "$LINENO"; then :
38704   glibcxx_cv_func_modfl_use=yes
38705 else
38706   glibcxx_cv_func_modfl_use=no
38707 fi
38708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38709       ac_ext=c
38710 ac_cpp='$CPP $CPPFLAGS'
38711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38714
38715
38716 fi
38717
38718   fi
38719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38720 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38721
38722   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38723     for ac_func in modfl
38724 do :
38725   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38726 if test "x$ac_cv_func_modfl" = x""yes; then :
38727   cat >>confdefs.h <<_ACEOF
38728 #define HAVE_MODFL 1
38729 _ACEOF
38730
38731 fi
38732 done
38733
38734   else
38735
38736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38737 $as_echo_n "checking for _modfl declaration... " >&6; }
38738   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38739     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38740   $as_echo_n "(cached) " >&6
38741 else
38742
38743
38744       ac_ext=cpp
38745 ac_cpp='$CXXCPP $CPPFLAGS'
38746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38749
38750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38751 /* end confdefs.h.  */
38752 #include <math.h>
38753 int
38754 main ()
38755 {
38756  _modfl(0, 0);
38757   ;
38758   return 0;
38759 }
38760 _ACEOF
38761 if ac_fn_cxx_try_compile "$LINENO"; then :
38762   glibcxx_cv_func__modfl_use=yes
38763 else
38764   glibcxx_cv_func__modfl_use=no
38765 fi
38766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38767       ac_ext=c
38768 ac_cpp='$CPP $CPPFLAGS'
38769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38772
38773
38774 fi
38775
38776   fi
38777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38778 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38779
38780     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38781       for ac_func in _modfl
38782 do :
38783   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38784 if test "x$ac_cv_func__modfl" = x""yes; then :
38785   cat >>confdefs.h <<_ACEOF
38786 #define HAVE__MODFL 1
38787 _ACEOF
38788
38789 fi
38790 done
38791
38792     fi
38793   fi
38794
38795
38796
38797
38798
38799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38800 $as_echo_n "checking for powl declaration... " >&6; }
38801   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38802     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38803   $as_echo_n "(cached) " >&6
38804 else
38805
38806
38807       ac_ext=cpp
38808 ac_cpp='$CXXCPP $CPPFLAGS'
38809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38812
38813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38814 /* end confdefs.h.  */
38815 #include <math.h>
38816 int
38817 main ()
38818 {
38819  powl(0, 0);
38820   ;
38821   return 0;
38822 }
38823 _ACEOF
38824 if ac_fn_cxx_try_compile "$LINENO"; then :
38825   glibcxx_cv_func_powl_use=yes
38826 else
38827   glibcxx_cv_func_powl_use=no
38828 fi
38829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38830       ac_ext=c
38831 ac_cpp='$CPP $CPPFLAGS'
38832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38835
38836
38837 fi
38838
38839   fi
38840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38841 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38842
38843   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38844     for ac_func in powl
38845 do :
38846   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38847 if test "x$ac_cv_func_powl" = x""yes; then :
38848   cat >>confdefs.h <<_ACEOF
38849 #define HAVE_POWL 1
38850 _ACEOF
38851
38852 fi
38853 done
38854
38855   else
38856
38857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38858 $as_echo_n "checking for _powl declaration... " >&6; }
38859   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38860     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38861   $as_echo_n "(cached) " >&6
38862 else
38863
38864
38865       ac_ext=cpp
38866 ac_cpp='$CXXCPP $CPPFLAGS'
38867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38870
38871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38872 /* end confdefs.h.  */
38873 #include <math.h>
38874 int
38875 main ()
38876 {
38877  _powl(0, 0);
38878   ;
38879   return 0;
38880 }
38881 _ACEOF
38882 if ac_fn_cxx_try_compile "$LINENO"; then :
38883   glibcxx_cv_func__powl_use=yes
38884 else
38885   glibcxx_cv_func__powl_use=no
38886 fi
38887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38888       ac_ext=c
38889 ac_cpp='$CPP $CPPFLAGS'
38890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38893
38894
38895 fi
38896
38897   fi
38898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38899 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38900
38901     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38902       for ac_func in _powl
38903 do :
38904   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38905 if test "x$ac_cv_func__powl" = x""yes; then :
38906   cat >>confdefs.h <<_ACEOF
38907 #define HAVE__POWL 1
38908 _ACEOF
38909
38910 fi
38911 done
38912
38913     fi
38914   fi
38915
38916
38917
38918
38919
38920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38921 $as_echo_n "checking for sqrtl declaration... " >&6; }
38922   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38923     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38924   $as_echo_n "(cached) " >&6
38925 else
38926
38927
38928       ac_ext=cpp
38929 ac_cpp='$CXXCPP $CPPFLAGS'
38930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38933
38934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38935 /* end confdefs.h.  */
38936 #include <math.h>
38937                       #ifdef HAVE_IEEEFP_H
38938                       #include <ieeefp.h>
38939                       #endif
38940
38941 int
38942 main ()
38943 {
38944  sqrtl(0);
38945   ;
38946   return 0;
38947 }
38948 _ACEOF
38949 if ac_fn_cxx_try_compile "$LINENO"; then :
38950   glibcxx_cv_func_sqrtl_use=yes
38951 else
38952   glibcxx_cv_func_sqrtl_use=no
38953 fi
38954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38955       ac_ext=c
38956 ac_cpp='$CPP $CPPFLAGS'
38957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38960
38961
38962 fi
38963
38964   fi
38965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38966 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38967
38968   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38969     for ac_func in sqrtl
38970 do :
38971   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38972 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38973   cat >>confdefs.h <<_ACEOF
38974 #define HAVE_SQRTL 1
38975 _ACEOF
38976
38977 fi
38978 done
38979
38980   else
38981
38982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38983 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38984   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38985     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38986   $as_echo_n "(cached) " >&6
38987 else
38988
38989
38990       ac_ext=cpp
38991 ac_cpp='$CXXCPP $CPPFLAGS'
38992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38995
38996       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38997 /* end confdefs.h.  */
38998 #include <math.h>
38999                       #ifdef HAVE_IEEEFP_H
39000                       #include <ieeefp.h>
39001                       #endif
39002
39003 int
39004 main ()
39005 {
39006  _sqrtl(0);
39007   ;
39008   return 0;
39009 }
39010 _ACEOF
39011 if ac_fn_cxx_try_compile "$LINENO"; then :
39012   glibcxx_cv_func__sqrtl_use=yes
39013 else
39014   glibcxx_cv_func__sqrtl_use=no
39015 fi
39016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39017       ac_ext=c
39018 ac_cpp='$CPP $CPPFLAGS'
39019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39022
39023
39024 fi
39025
39026   fi
39027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39028 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39029
39030     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39031       for ac_func in _sqrtl
39032 do :
39033   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39034 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39035   cat >>confdefs.h <<_ACEOF
39036 #define HAVE__SQRTL 1
39037 _ACEOF
39038
39039 fi
39040 done
39041
39042     fi
39043   fi
39044
39045
39046
39047
39048
39049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39050 $as_echo_n "checking for sincosl declaration... " >&6; }
39051   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39052     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39053   $as_echo_n "(cached) " >&6
39054 else
39055
39056
39057       ac_ext=cpp
39058 ac_cpp='$CXXCPP $CPPFLAGS'
39059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39062
39063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39064 /* end confdefs.h.  */
39065 #include <math.h>
39066 int
39067 main ()
39068 {
39069  sincosl(0, 0, 0);
39070   ;
39071   return 0;
39072 }
39073 _ACEOF
39074 if ac_fn_cxx_try_compile "$LINENO"; then :
39075   glibcxx_cv_func_sincosl_use=yes
39076 else
39077   glibcxx_cv_func_sincosl_use=no
39078 fi
39079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39080       ac_ext=c
39081 ac_cpp='$CPP $CPPFLAGS'
39082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39085
39086
39087 fi
39088
39089   fi
39090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39091 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39092
39093   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39094     for ac_func in sincosl
39095 do :
39096   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39097 if test "x$ac_cv_func_sincosl" = x""yes; then :
39098   cat >>confdefs.h <<_ACEOF
39099 #define HAVE_SINCOSL 1
39100 _ACEOF
39101
39102 fi
39103 done
39104
39105   else
39106
39107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39108 $as_echo_n "checking for _sincosl declaration... " >&6; }
39109   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39110     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39111   $as_echo_n "(cached) " >&6
39112 else
39113
39114
39115       ac_ext=cpp
39116 ac_cpp='$CXXCPP $CPPFLAGS'
39117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39120
39121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39122 /* end confdefs.h.  */
39123 #include <math.h>
39124 int
39125 main ()
39126 {
39127  _sincosl(0, 0, 0);
39128   ;
39129   return 0;
39130 }
39131 _ACEOF
39132 if ac_fn_cxx_try_compile "$LINENO"; then :
39133   glibcxx_cv_func__sincosl_use=yes
39134 else
39135   glibcxx_cv_func__sincosl_use=no
39136 fi
39137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39138       ac_ext=c
39139 ac_cpp='$CPP $CPPFLAGS'
39140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39143
39144
39145 fi
39146
39147   fi
39148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39149 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39150
39151     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39152       for ac_func in _sincosl
39153 do :
39154   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39155 if test "x$ac_cv_func__sincosl" = x""yes; then :
39156   cat >>confdefs.h <<_ACEOF
39157 #define HAVE__SINCOSL 1
39158 _ACEOF
39159
39160 fi
39161 done
39162
39163     fi
39164   fi
39165
39166
39167
39168
39169
39170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39171 $as_echo_n "checking for finitel declaration... " >&6; }
39172   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39173     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39174   $as_echo_n "(cached) " >&6
39175 else
39176
39177
39178       ac_ext=cpp
39179 ac_cpp='$CXXCPP $CPPFLAGS'
39180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39183
39184       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39185 /* end confdefs.h.  */
39186 #include <math.h>
39187                       #ifdef HAVE_IEEEFP_H
39188                       #include <ieeefp.h>
39189                       #endif
39190
39191 int
39192 main ()
39193 {
39194  finitel(0);
39195   ;
39196   return 0;
39197 }
39198 _ACEOF
39199 if ac_fn_cxx_try_compile "$LINENO"; then :
39200   glibcxx_cv_func_finitel_use=yes
39201 else
39202   glibcxx_cv_func_finitel_use=no
39203 fi
39204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39205       ac_ext=c
39206 ac_cpp='$CPP $CPPFLAGS'
39207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39210
39211
39212 fi
39213
39214   fi
39215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39216 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39217
39218   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39219     for ac_func in finitel
39220 do :
39221   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39222 if test "x$ac_cv_func_finitel" = x""yes; then :
39223   cat >>confdefs.h <<_ACEOF
39224 #define HAVE_FINITEL 1
39225 _ACEOF
39226
39227 fi
39228 done
39229
39230   else
39231
39232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39233 $as_echo_n "checking for _finitel declaration... " >&6; }
39234   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39235     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39236   $as_echo_n "(cached) " >&6
39237 else
39238
39239
39240       ac_ext=cpp
39241 ac_cpp='$CXXCPP $CPPFLAGS'
39242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39245
39246       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39247 /* end confdefs.h.  */
39248 #include <math.h>
39249                       #ifdef HAVE_IEEEFP_H
39250                       #include <ieeefp.h>
39251                       #endif
39252
39253 int
39254 main ()
39255 {
39256  _finitel(0);
39257   ;
39258   return 0;
39259 }
39260 _ACEOF
39261 if ac_fn_cxx_try_compile "$LINENO"; then :
39262   glibcxx_cv_func__finitel_use=yes
39263 else
39264   glibcxx_cv_func__finitel_use=no
39265 fi
39266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39267       ac_ext=c
39268 ac_cpp='$CPP $CPPFLAGS'
39269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39272
39273
39274 fi
39275
39276   fi
39277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39278 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39279
39280     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39281       for ac_func in _finitel
39282 do :
39283   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39284 if test "x$ac_cv_func__finitel" = x""yes; then :
39285   cat >>confdefs.h <<_ACEOF
39286 #define HAVE__FINITEL 1
39287 _ACEOF
39288
39289 fi
39290 done
39291
39292     fi
39293   fi
39294
39295
39296
39297
39298   LIBS="$ac_save_LIBS"
39299   CXXFLAGS="$ac_save_CXXFLAGS"
39300
39301
39302   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39303   ac_save_CXXFLAGS="$CXXFLAGS"
39304   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39305
39306
39307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39308 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39309   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39310     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39311   $as_echo_n "(cached) " >&6
39312 else
39313
39314
39315       ac_ext=cpp
39316 ac_cpp='$CXXCPP $CPPFLAGS'
39317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39320
39321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39322 /* end confdefs.h.  */
39323 #include <stdlib.h>
39324 int
39325 main ()
39326 {
39327  at_quick_exit(0);
39328   ;
39329   return 0;
39330 }
39331 _ACEOF
39332 if ac_fn_cxx_try_compile "$LINENO"; then :
39333   glibcxx_cv_func_at_quick_exit_use=yes
39334 else
39335   glibcxx_cv_func_at_quick_exit_use=no
39336 fi
39337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39338       ac_ext=c
39339 ac_cpp='$CPP $CPPFLAGS'
39340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39343
39344
39345 fi
39346
39347   fi
39348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39349 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39350   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39351     for ac_func in at_quick_exit
39352 do :
39353   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39354 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39355   cat >>confdefs.h <<_ACEOF
39356 #define HAVE_AT_QUICK_EXIT 1
39357 _ACEOF
39358
39359 fi
39360 done
39361
39362   fi
39363
39364
39365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39366 $as_echo_n "checking for quick_exit declaration... " >&6; }
39367   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39368     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39369   $as_echo_n "(cached) " >&6
39370 else
39371
39372
39373       ac_ext=cpp
39374 ac_cpp='$CXXCPP $CPPFLAGS'
39375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39378
39379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39380 /* end confdefs.h.  */
39381 #include <stdlib.h>
39382 int
39383 main ()
39384 {
39385  quick_exit(0);
39386   ;
39387   return 0;
39388 }
39389 _ACEOF
39390 if ac_fn_cxx_try_compile "$LINENO"; then :
39391   glibcxx_cv_func_quick_exit_use=yes
39392 else
39393   glibcxx_cv_func_quick_exit_use=no
39394 fi
39395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39396       ac_ext=c
39397 ac_cpp='$CPP $CPPFLAGS'
39398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39401
39402
39403 fi
39404
39405   fi
39406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39407 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39408   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39409     for ac_func in quick_exit
39410 do :
39411   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39412 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39413   cat >>confdefs.h <<_ACEOF
39414 #define HAVE_QUICK_EXIT 1
39415 _ACEOF
39416
39417 fi
39418 done
39419
39420   fi
39421
39422
39423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39424 $as_echo_n "checking for strtold declaration... " >&6; }
39425   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39426     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39427   $as_echo_n "(cached) " >&6
39428 else
39429
39430
39431       ac_ext=cpp
39432 ac_cpp='$CXXCPP $CPPFLAGS'
39433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39436
39437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39438 /* end confdefs.h.  */
39439 #include <stdlib.h>
39440 int
39441 main ()
39442 {
39443  strtold(0, 0);
39444   ;
39445   return 0;
39446 }
39447 _ACEOF
39448 if ac_fn_cxx_try_compile "$LINENO"; then :
39449   glibcxx_cv_func_strtold_use=yes
39450 else
39451   glibcxx_cv_func_strtold_use=no
39452 fi
39453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39454       ac_ext=c
39455 ac_cpp='$CPP $CPPFLAGS'
39456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39459
39460
39461 fi
39462
39463   fi
39464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39465 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39466   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39467     for ac_func in strtold
39468 do :
39469   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39470 if test "x$ac_cv_func_strtold" = x""yes; then :
39471   cat >>confdefs.h <<_ACEOF
39472 #define HAVE_STRTOLD 1
39473 _ACEOF
39474
39475 fi
39476 done
39477
39478   fi
39479
39480
39481
39482
39483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39484 $as_echo_n "checking for strtof declaration... " >&6; }
39485   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39486     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39487   $as_echo_n "(cached) " >&6
39488 else
39489
39490
39491       ac_ext=cpp
39492 ac_cpp='$CXXCPP $CPPFLAGS'
39493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39496
39497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39498 /* end confdefs.h.  */
39499 #include <stdlib.h>
39500 int
39501 main ()
39502 {
39503  strtof(0, 0);
39504   ;
39505   return 0;
39506 }
39507 _ACEOF
39508 if ac_fn_cxx_try_compile "$LINENO"; then :
39509   glibcxx_cv_func_strtof_use=yes
39510 else
39511   glibcxx_cv_func_strtof_use=no
39512 fi
39513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39514       ac_ext=c
39515 ac_cpp='$CPP $CPPFLAGS'
39516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39519
39520
39521 fi
39522
39523   fi
39524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39525 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39526   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39527     for ac_func in strtof
39528 do :
39529   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39530 if test "x$ac_cv_func_strtof" = x""yes; then :
39531   cat >>confdefs.h <<_ACEOF
39532 #define HAVE_STRTOF 1
39533 _ACEOF
39534
39535 fi
39536 done
39537
39538   fi
39539
39540
39541
39542
39543   CXXFLAGS="$ac_save_CXXFLAGS"
39544
39545     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39546
39547     # We don't yet support AIX's TLS ABI.
39548     #GCC_CHECK_TLS
39549
39550
39551
39552
39553
39554           am_save_CPPFLAGS="$CPPFLAGS"
39555
39556   for element in $INCICONV; do
39557     haveit=
39558     for x in $CPPFLAGS; do
39559
39560   acl_save_prefix="$prefix"
39561   prefix="$acl_final_prefix"
39562   acl_save_exec_prefix="$exec_prefix"
39563   exec_prefix="$acl_final_exec_prefix"
39564   eval x=\"$x\"
39565   exec_prefix="$acl_save_exec_prefix"
39566   prefix="$acl_save_prefix"
39567
39568       if test "X$x" = "X$element"; then
39569         haveit=yes
39570         break
39571       fi
39572     done
39573     if test -z "$haveit"; then
39574       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39575     fi
39576   done
39577
39578
39579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39580 $as_echo_n "checking for iconv... " >&6; }
39581 if test "${am_cv_func_iconv+set}" = set; then :
39582   $as_echo_n "(cached) " >&6
39583 else
39584
39585     am_cv_func_iconv="no, consider installing GNU libiconv"
39586     am_cv_lib_iconv=no
39587     if test x$gcc_no_link = xyes; then
39588   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39589 fi
39590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39591 /* end confdefs.h.  */
39592 #include <stdlib.h>
39593 #include <iconv.h>
39594 int
39595 main ()
39596 {
39597 iconv_t cd = iconv_open("","");
39598        iconv(cd,NULL,NULL,NULL,NULL);
39599        iconv_close(cd);
39600   ;
39601   return 0;
39602 }
39603 _ACEOF
39604 if ac_fn_c_try_link "$LINENO"; then :
39605   am_cv_func_iconv=yes
39606 fi
39607 rm -f core conftest.err conftest.$ac_objext \
39608     conftest$ac_exeext conftest.$ac_ext
39609     if test "$am_cv_func_iconv" != yes; then
39610       am_save_LIBS="$LIBS"
39611       LIBS="$LIBS $LIBICONV"
39612       if test x$gcc_no_link = xyes; then
39613   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39614 fi
39615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39616 /* end confdefs.h.  */
39617 #include <stdlib.h>
39618 #include <iconv.h>
39619 int
39620 main ()
39621 {
39622 iconv_t cd = iconv_open("","");
39623          iconv(cd,NULL,NULL,NULL,NULL);
39624          iconv_close(cd);
39625   ;
39626   return 0;
39627 }
39628 _ACEOF
39629 if ac_fn_c_try_link "$LINENO"; then :
39630   am_cv_lib_iconv=yes
39631         am_cv_func_iconv=yes
39632 fi
39633 rm -f core conftest.err conftest.$ac_objext \
39634     conftest$ac_exeext conftest.$ac_ext
39635       LIBS="$am_save_LIBS"
39636     fi
39637
39638 fi
39639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39640 $as_echo "$am_cv_func_iconv" >&6; }
39641   if test "$am_cv_func_iconv" = yes; then
39642
39643 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39644
39645   fi
39646   if test "$am_cv_lib_iconv" = yes; then
39647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39648 $as_echo_n "checking how to link with libiconv... " >&6; }
39649     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39650 $as_echo "$LIBICONV" >&6; }
39651   else
39652             CPPFLAGS="$am_save_CPPFLAGS"
39653     LIBICONV=
39654     LTLIBICONV=
39655   fi
39656
39657
39658
39659   if test "$am_cv_func_iconv" = yes; then
39660     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39661 $as_echo_n "checking for iconv declaration... " >&6; }
39662     if test "${am_cv_proto_iconv+set}" = set; then :
39663   $as_echo_n "(cached) " >&6
39664 else
39665
39666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39667 /* end confdefs.h.  */
39668
39669 #include <stdlib.h>
39670 #include <iconv.h>
39671 extern
39672 #ifdef __cplusplus
39673 "C"
39674 #endif
39675 #if defined(__STDC__) || defined(__cplusplus)
39676 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39677 #else
39678 size_t iconv();
39679 #endif
39680
39681 int
39682 main ()
39683 {
39684
39685   ;
39686   return 0;
39687 }
39688 _ACEOF
39689 if ac_fn_c_try_compile "$LINENO"; then :
39690   am_cv_proto_iconv_arg1=""
39691 else
39692   am_cv_proto_iconv_arg1="const"
39693 fi
39694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39695       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);"
39696 fi
39697
39698     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39699     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39700          }$am_cv_proto_iconv" >&5
39701 $as_echo "${ac_t:-
39702          }$am_cv_proto_iconv" >&6; }
39703
39704 cat >>confdefs.h <<_ACEOF
39705 #define ICONV_CONST $am_cv_proto_iconv_arg1
39706 _ACEOF
39707
39708   fi
39709
39710     ;;
39711
39712   *-darwin*)
39713     # Darwin versions vary, but the linker should work in a cross environment,
39714     # so we just check for all the features here.
39715     # Check for available headers.
39716
39717     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39718
39719   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39720   ac_save_CXXFLAGS="$CXXFLAGS"
39721   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39722
39723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39724 $as_echo_n "checking for sin in -lm... " >&6; }
39725 if test "${ac_cv_lib_m_sin+set}" = set; then :
39726   $as_echo_n "(cached) " >&6
39727 else
39728   ac_check_lib_save_LIBS=$LIBS
39729 LIBS="-lm  $LIBS"
39730 if test x$gcc_no_link = xyes; then
39731   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39732 fi
39733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39734 /* end confdefs.h.  */
39735
39736 /* Override any GCC internal prototype to avoid an error.
39737    Use char because int might match the return type of a GCC
39738    builtin and then its argument prototype would still apply.  */
39739 #ifdef __cplusplus
39740 extern "C"
39741 #endif
39742 char sin ();
39743 int
39744 main ()
39745 {
39746 return sin ();
39747   ;
39748   return 0;
39749 }
39750 _ACEOF
39751 if ac_fn_c_try_link "$LINENO"; then :
39752   ac_cv_lib_m_sin=yes
39753 else
39754   ac_cv_lib_m_sin=no
39755 fi
39756 rm -f core conftest.err conftest.$ac_objext \
39757     conftest$ac_exeext conftest.$ac_ext
39758 LIBS=$ac_check_lib_save_LIBS
39759 fi
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39761 $as_echo "$ac_cv_lib_m_sin" >&6; }
39762 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39763   libm="-lm"
39764 fi
39765
39766   ac_save_LIBS="$LIBS"
39767   LIBS="$LIBS $libm"
39768
39769
39770
39771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39772 $as_echo_n "checking for isinf declaration... " >&6; }
39773   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39774     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39775   $as_echo_n "(cached) " >&6
39776 else
39777
39778
39779       ac_ext=cpp
39780 ac_cpp='$CXXCPP $CPPFLAGS'
39781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39784
39785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39786 /* end confdefs.h.  */
39787 #include <math.h>
39788                       #ifdef HAVE_IEEEFP_H
39789                       #include <ieeefp.h>
39790                       #endif
39791
39792 int
39793 main ()
39794 {
39795  isinf(0);
39796   ;
39797   return 0;
39798 }
39799 _ACEOF
39800 if ac_fn_cxx_try_compile "$LINENO"; then :
39801   glibcxx_cv_func_isinf_use=yes
39802 else
39803   glibcxx_cv_func_isinf_use=no
39804 fi
39805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39806       ac_ext=c
39807 ac_cpp='$CPP $CPPFLAGS'
39808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39811
39812
39813 fi
39814
39815   fi
39816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39817 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39818
39819   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39820     for ac_func in isinf
39821 do :
39822   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39823 if test "x$ac_cv_func_isinf" = x""yes; then :
39824   cat >>confdefs.h <<_ACEOF
39825 #define HAVE_ISINF 1
39826 _ACEOF
39827
39828 fi
39829 done
39830
39831   else
39832
39833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39834 $as_echo_n "checking for _isinf declaration... " >&6; }
39835   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39836     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39837   $as_echo_n "(cached) " >&6
39838 else
39839
39840
39841       ac_ext=cpp
39842 ac_cpp='$CXXCPP $CPPFLAGS'
39843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39846
39847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39848 /* end confdefs.h.  */
39849 #include <math.h>
39850                       #ifdef HAVE_IEEEFP_H
39851                       #include <ieeefp.h>
39852                       #endif
39853
39854 int
39855 main ()
39856 {
39857  _isinf(0);
39858   ;
39859   return 0;
39860 }
39861 _ACEOF
39862 if ac_fn_cxx_try_compile "$LINENO"; then :
39863   glibcxx_cv_func__isinf_use=yes
39864 else
39865   glibcxx_cv_func__isinf_use=no
39866 fi
39867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39868       ac_ext=c
39869 ac_cpp='$CPP $CPPFLAGS'
39870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39873
39874
39875 fi
39876
39877   fi
39878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39879 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39880
39881     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39882       for ac_func in _isinf
39883 do :
39884   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39885 if test "x$ac_cv_func__isinf" = x""yes; then :
39886   cat >>confdefs.h <<_ACEOF
39887 #define HAVE__ISINF 1
39888 _ACEOF
39889
39890 fi
39891 done
39892
39893     fi
39894   fi
39895
39896
39897
39898
39899
39900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39901 $as_echo_n "checking for isnan declaration... " >&6; }
39902   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39903     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39904   $as_echo_n "(cached) " >&6
39905 else
39906
39907
39908       ac_ext=cpp
39909 ac_cpp='$CXXCPP $CPPFLAGS'
39910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39913
39914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39915 /* end confdefs.h.  */
39916 #include <math.h>
39917                       #ifdef HAVE_IEEEFP_H
39918                       #include <ieeefp.h>
39919                       #endif
39920
39921 int
39922 main ()
39923 {
39924  isnan(0);
39925   ;
39926   return 0;
39927 }
39928 _ACEOF
39929 if ac_fn_cxx_try_compile "$LINENO"; then :
39930   glibcxx_cv_func_isnan_use=yes
39931 else
39932   glibcxx_cv_func_isnan_use=no
39933 fi
39934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39935       ac_ext=c
39936 ac_cpp='$CPP $CPPFLAGS'
39937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39940
39941
39942 fi
39943
39944   fi
39945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39946 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39947
39948   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39949     for ac_func in isnan
39950 do :
39951   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39952 if test "x$ac_cv_func_isnan" = x""yes; then :
39953   cat >>confdefs.h <<_ACEOF
39954 #define HAVE_ISNAN 1
39955 _ACEOF
39956
39957 fi
39958 done
39959
39960   else
39961
39962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39963 $as_echo_n "checking for _isnan declaration... " >&6; }
39964   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39965     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39966   $as_echo_n "(cached) " >&6
39967 else
39968
39969
39970       ac_ext=cpp
39971 ac_cpp='$CXXCPP $CPPFLAGS'
39972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39975
39976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39977 /* end confdefs.h.  */
39978 #include <math.h>
39979                       #ifdef HAVE_IEEEFP_H
39980                       #include <ieeefp.h>
39981                       #endif
39982
39983 int
39984 main ()
39985 {
39986  _isnan(0);
39987   ;
39988   return 0;
39989 }
39990 _ACEOF
39991 if ac_fn_cxx_try_compile "$LINENO"; then :
39992   glibcxx_cv_func__isnan_use=yes
39993 else
39994   glibcxx_cv_func__isnan_use=no
39995 fi
39996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39997       ac_ext=c
39998 ac_cpp='$CPP $CPPFLAGS'
39999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40002
40003
40004 fi
40005
40006   fi
40007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40008 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40009
40010     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40011       for ac_func in _isnan
40012 do :
40013   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40014 if test "x$ac_cv_func__isnan" = x""yes; then :
40015   cat >>confdefs.h <<_ACEOF
40016 #define HAVE__ISNAN 1
40017 _ACEOF
40018
40019 fi
40020 done
40021
40022     fi
40023   fi
40024
40025
40026
40027
40028
40029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40030 $as_echo_n "checking for finite declaration... " >&6; }
40031   if test x${glibcxx_cv_func_finite_use+set} != xset; then
40032     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40033   $as_echo_n "(cached) " >&6
40034 else
40035
40036
40037       ac_ext=cpp
40038 ac_cpp='$CXXCPP $CPPFLAGS'
40039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40042
40043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40044 /* end confdefs.h.  */
40045 #include <math.h>
40046                       #ifdef HAVE_IEEEFP_H
40047                       #include <ieeefp.h>
40048                       #endif
40049
40050 int
40051 main ()
40052 {
40053  finite(0);
40054   ;
40055   return 0;
40056 }
40057 _ACEOF
40058 if ac_fn_cxx_try_compile "$LINENO"; then :
40059   glibcxx_cv_func_finite_use=yes
40060 else
40061   glibcxx_cv_func_finite_use=no
40062 fi
40063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40064       ac_ext=c
40065 ac_cpp='$CPP $CPPFLAGS'
40066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40069
40070
40071 fi
40072
40073   fi
40074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40075 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40076
40077   if test x$glibcxx_cv_func_finite_use = x"yes"; then
40078     for ac_func in finite
40079 do :
40080   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40081 if test "x$ac_cv_func_finite" = x""yes; then :
40082   cat >>confdefs.h <<_ACEOF
40083 #define HAVE_FINITE 1
40084 _ACEOF
40085
40086 fi
40087 done
40088
40089   else
40090
40091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40092 $as_echo_n "checking for _finite declaration... " >&6; }
40093   if test x${glibcxx_cv_func__finite_use+set} != xset; then
40094     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40095   $as_echo_n "(cached) " >&6
40096 else
40097
40098
40099       ac_ext=cpp
40100 ac_cpp='$CXXCPP $CPPFLAGS'
40101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40104
40105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40106 /* end confdefs.h.  */
40107 #include <math.h>
40108                       #ifdef HAVE_IEEEFP_H
40109                       #include <ieeefp.h>
40110                       #endif
40111
40112 int
40113 main ()
40114 {
40115  _finite(0);
40116   ;
40117   return 0;
40118 }
40119 _ACEOF
40120 if ac_fn_cxx_try_compile "$LINENO"; then :
40121   glibcxx_cv_func__finite_use=yes
40122 else
40123   glibcxx_cv_func__finite_use=no
40124 fi
40125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40126       ac_ext=c
40127 ac_cpp='$CPP $CPPFLAGS'
40128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40131
40132
40133 fi
40134
40135   fi
40136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40137 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40138
40139     if test x$glibcxx_cv_func__finite_use = x"yes"; then
40140       for ac_func in _finite
40141 do :
40142   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40143 if test "x$ac_cv_func__finite" = x""yes; then :
40144   cat >>confdefs.h <<_ACEOF
40145 #define HAVE__FINITE 1
40146 _ACEOF
40147
40148 fi
40149 done
40150
40151     fi
40152   fi
40153
40154
40155
40156
40157
40158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40159 $as_echo_n "checking for sincos declaration... " >&6; }
40160   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40161     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40162   $as_echo_n "(cached) " >&6
40163 else
40164
40165
40166       ac_ext=cpp
40167 ac_cpp='$CXXCPP $CPPFLAGS'
40168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40171
40172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40173 /* end confdefs.h.  */
40174 #include <math.h>
40175 int
40176 main ()
40177 {
40178  sincos(0, 0, 0);
40179   ;
40180   return 0;
40181 }
40182 _ACEOF
40183 if ac_fn_cxx_try_compile "$LINENO"; then :
40184   glibcxx_cv_func_sincos_use=yes
40185 else
40186   glibcxx_cv_func_sincos_use=no
40187 fi
40188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40189       ac_ext=c
40190 ac_cpp='$CPP $CPPFLAGS'
40191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40194
40195
40196 fi
40197
40198   fi
40199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40200 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40201
40202   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40203     for ac_func in sincos
40204 do :
40205   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40206 if test "x$ac_cv_func_sincos" = x""yes; then :
40207   cat >>confdefs.h <<_ACEOF
40208 #define HAVE_SINCOS 1
40209 _ACEOF
40210
40211 fi
40212 done
40213
40214   else
40215
40216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40217 $as_echo_n "checking for _sincos declaration... " >&6; }
40218   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40219     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40220   $as_echo_n "(cached) " >&6
40221 else
40222
40223
40224       ac_ext=cpp
40225 ac_cpp='$CXXCPP $CPPFLAGS'
40226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40229
40230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40231 /* end confdefs.h.  */
40232 #include <math.h>
40233 int
40234 main ()
40235 {
40236  _sincos(0, 0, 0);
40237   ;
40238   return 0;
40239 }
40240 _ACEOF
40241 if ac_fn_cxx_try_compile "$LINENO"; then :
40242   glibcxx_cv_func__sincos_use=yes
40243 else
40244   glibcxx_cv_func__sincos_use=no
40245 fi
40246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40247       ac_ext=c
40248 ac_cpp='$CPP $CPPFLAGS'
40249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40252
40253
40254 fi
40255
40256   fi
40257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40258 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40259
40260     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40261       for ac_func in _sincos
40262 do :
40263   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40264 if test "x$ac_cv_func__sincos" = x""yes; then :
40265   cat >>confdefs.h <<_ACEOF
40266 #define HAVE__SINCOS 1
40267 _ACEOF
40268
40269 fi
40270 done
40271
40272     fi
40273   fi
40274
40275
40276
40277
40278
40279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40280 $as_echo_n "checking for fpclass declaration... " >&6; }
40281   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40282     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40283   $as_echo_n "(cached) " >&6
40284 else
40285
40286
40287       ac_ext=cpp
40288 ac_cpp='$CXXCPP $CPPFLAGS'
40289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40292
40293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40294 /* end confdefs.h.  */
40295 #include <math.h>
40296                       #ifdef HAVE_IEEEFP_H
40297                       #include <ieeefp.h>
40298                       #endif
40299
40300 int
40301 main ()
40302 {
40303  fpclass(0);
40304   ;
40305   return 0;
40306 }
40307 _ACEOF
40308 if ac_fn_cxx_try_compile "$LINENO"; then :
40309   glibcxx_cv_func_fpclass_use=yes
40310 else
40311   glibcxx_cv_func_fpclass_use=no
40312 fi
40313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40314       ac_ext=c
40315 ac_cpp='$CPP $CPPFLAGS'
40316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40319
40320
40321 fi
40322
40323   fi
40324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40325 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40326
40327   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40328     for ac_func in fpclass
40329 do :
40330   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40331 if test "x$ac_cv_func_fpclass" = x""yes; then :
40332   cat >>confdefs.h <<_ACEOF
40333 #define HAVE_FPCLASS 1
40334 _ACEOF
40335
40336 fi
40337 done
40338
40339   else
40340
40341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40342 $as_echo_n "checking for _fpclass declaration... " >&6; }
40343   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40344     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40345   $as_echo_n "(cached) " >&6
40346 else
40347
40348
40349       ac_ext=cpp
40350 ac_cpp='$CXXCPP $CPPFLAGS'
40351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40354
40355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40356 /* end confdefs.h.  */
40357 #include <math.h>
40358                       #ifdef HAVE_IEEEFP_H
40359                       #include <ieeefp.h>
40360                       #endif
40361
40362 int
40363 main ()
40364 {
40365  _fpclass(0);
40366   ;
40367   return 0;
40368 }
40369 _ACEOF
40370 if ac_fn_cxx_try_compile "$LINENO"; then :
40371   glibcxx_cv_func__fpclass_use=yes
40372 else
40373   glibcxx_cv_func__fpclass_use=no
40374 fi
40375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40376       ac_ext=c
40377 ac_cpp='$CPP $CPPFLAGS'
40378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40381
40382
40383 fi
40384
40385   fi
40386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40387 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40388
40389     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40390       for ac_func in _fpclass
40391 do :
40392   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40393 if test "x$ac_cv_func__fpclass" = x""yes; then :
40394   cat >>confdefs.h <<_ACEOF
40395 #define HAVE__FPCLASS 1
40396 _ACEOF
40397
40398 fi
40399 done
40400
40401     fi
40402   fi
40403
40404
40405
40406
40407
40408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40409 $as_echo_n "checking for qfpclass declaration... " >&6; }
40410   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40411     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40412   $as_echo_n "(cached) " >&6
40413 else
40414
40415
40416       ac_ext=cpp
40417 ac_cpp='$CXXCPP $CPPFLAGS'
40418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40421
40422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40423 /* end confdefs.h.  */
40424 #include <math.h>
40425                       #ifdef HAVE_IEEEFP_H
40426                       #include <ieeefp.h>
40427                       #endif
40428
40429 int
40430 main ()
40431 {
40432  qfpclass(0);
40433   ;
40434   return 0;
40435 }
40436 _ACEOF
40437 if ac_fn_cxx_try_compile "$LINENO"; then :
40438   glibcxx_cv_func_qfpclass_use=yes
40439 else
40440   glibcxx_cv_func_qfpclass_use=no
40441 fi
40442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40443       ac_ext=c
40444 ac_cpp='$CPP $CPPFLAGS'
40445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40448
40449
40450 fi
40451
40452   fi
40453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40454 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40455
40456   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40457     for ac_func in qfpclass
40458 do :
40459   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40460 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40461   cat >>confdefs.h <<_ACEOF
40462 #define HAVE_QFPCLASS 1
40463 _ACEOF
40464
40465 fi
40466 done
40467
40468   else
40469
40470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40471 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40472   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40473     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40474   $as_echo_n "(cached) " >&6
40475 else
40476
40477
40478       ac_ext=cpp
40479 ac_cpp='$CXXCPP $CPPFLAGS'
40480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40483
40484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40485 /* end confdefs.h.  */
40486 #include <math.h>
40487                       #ifdef HAVE_IEEEFP_H
40488                       #include <ieeefp.h>
40489                       #endif
40490
40491 int
40492 main ()
40493 {
40494  _qfpclass(0);
40495   ;
40496   return 0;
40497 }
40498 _ACEOF
40499 if ac_fn_cxx_try_compile "$LINENO"; then :
40500   glibcxx_cv_func__qfpclass_use=yes
40501 else
40502   glibcxx_cv_func__qfpclass_use=no
40503 fi
40504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40505       ac_ext=c
40506 ac_cpp='$CPP $CPPFLAGS'
40507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40510
40511
40512 fi
40513
40514   fi
40515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40516 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40517
40518     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40519       for ac_func in _qfpclass
40520 do :
40521   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40522 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40523   cat >>confdefs.h <<_ACEOF
40524 #define HAVE__QFPCLASS 1
40525 _ACEOF
40526
40527 fi
40528 done
40529
40530     fi
40531   fi
40532
40533
40534
40535
40536
40537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40538 $as_echo_n "checking for hypot declaration... " >&6; }
40539   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40540     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40541   $as_echo_n "(cached) " >&6
40542 else
40543
40544
40545       ac_ext=cpp
40546 ac_cpp='$CXXCPP $CPPFLAGS'
40547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40550
40551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40552 /* end confdefs.h.  */
40553 #include <math.h>
40554 int
40555 main ()
40556 {
40557  hypot(0, 0);
40558   ;
40559   return 0;
40560 }
40561 _ACEOF
40562 if ac_fn_cxx_try_compile "$LINENO"; then :
40563   glibcxx_cv_func_hypot_use=yes
40564 else
40565   glibcxx_cv_func_hypot_use=no
40566 fi
40567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40568       ac_ext=c
40569 ac_cpp='$CPP $CPPFLAGS'
40570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40573
40574
40575 fi
40576
40577   fi
40578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40579 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40580
40581   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40582     for ac_func in hypot
40583 do :
40584   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40585 if test "x$ac_cv_func_hypot" = x""yes; then :
40586   cat >>confdefs.h <<_ACEOF
40587 #define HAVE_HYPOT 1
40588 _ACEOF
40589
40590 fi
40591 done
40592
40593   else
40594
40595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40596 $as_echo_n "checking for _hypot declaration... " >&6; }
40597   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40598     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40599   $as_echo_n "(cached) " >&6
40600 else
40601
40602
40603       ac_ext=cpp
40604 ac_cpp='$CXXCPP $CPPFLAGS'
40605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40608
40609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40610 /* end confdefs.h.  */
40611 #include <math.h>
40612 int
40613 main ()
40614 {
40615  _hypot(0, 0);
40616   ;
40617   return 0;
40618 }
40619 _ACEOF
40620 if ac_fn_cxx_try_compile "$LINENO"; then :
40621   glibcxx_cv_func__hypot_use=yes
40622 else
40623   glibcxx_cv_func__hypot_use=no
40624 fi
40625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40626       ac_ext=c
40627 ac_cpp='$CPP $CPPFLAGS'
40628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40631
40632
40633 fi
40634
40635   fi
40636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40637 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40638
40639     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40640       for ac_func in _hypot
40641 do :
40642   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40643 if test "x$ac_cv_func__hypot" = x""yes; then :
40644   cat >>confdefs.h <<_ACEOF
40645 #define HAVE__HYPOT 1
40646 _ACEOF
40647
40648 fi
40649 done
40650
40651     fi
40652   fi
40653
40654
40655
40656
40657
40658     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40659 $as_echo_n "checking for float trig functions... " >&6; }
40660   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40661   $as_echo_n "(cached) " >&6
40662 else
40663
40664
40665     ac_ext=cpp
40666 ac_cpp='$CXXCPP $CPPFLAGS'
40667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40670
40671     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40672 /* end confdefs.h.  */
40673 #include <math.h>
40674 int
40675 main ()
40676 {
40677 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40678   ;
40679   return 0;
40680 }
40681 _ACEOF
40682 if ac_fn_cxx_try_compile "$LINENO"; then :
40683   glibcxx_cv_func_float_trig_use=yes
40684 else
40685   glibcxx_cv_func_float_trig_use=no
40686 fi
40687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40688     ac_ext=c
40689 ac_cpp='$CPP $CPPFLAGS'
40690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40693
40694 fi
40695
40696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40697 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40698   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40699     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40700 do :
40701   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40702 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40703 eval as_val=\$$as_ac_var
40704    if test "x$as_val" = x""yes; then :
40705   cat >>confdefs.h <<_ACEOF
40706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40707 _ACEOF
40708
40709 fi
40710 done
40711
40712   else
40713     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40714 $as_echo_n "checking for _float trig functions... " >&6; }
40715     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40716   $as_echo_n "(cached) " >&6
40717 else
40718
40719
40720       ac_ext=cpp
40721 ac_cpp='$CXXCPP $CPPFLAGS'
40722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40725
40726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40727 /* end confdefs.h.  */
40728 #include <math.h>
40729 int
40730 main ()
40731 {
40732 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40733   ;
40734   return 0;
40735 }
40736 _ACEOF
40737 if ac_fn_cxx_try_compile "$LINENO"; then :
40738   glibcxx_cv_func__float_trig_use=yes
40739 else
40740   glibcxx_cv_func__float_trig_use=no
40741 fi
40742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40743       ac_ext=c
40744 ac_cpp='$CPP $CPPFLAGS'
40745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40748
40749 fi
40750
40751     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40752 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40753     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40754       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40755 do :
40756   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40758 eval as_val=\$$as_ac_var
40759    if test "x$as_val" = x""yes; then :
40760   cat >>confdefs.h <<_ACEOF
40761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40762 _ACEOF
40763
40764 fi
40765 done
40766
40767     fi
40768   fi
40769
40770
40771
40772
40773
40774     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40775 $as_echo_n "checking for float round functions... " >&6; }
40776   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40777   $as_echo_n "(cached) " >&6
40778 else
40779
40780
40781     ac_ext=cpp
40782 ac_cpp='$CXXCPP $CPPFLAGS'
40783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40786
40787     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40788 /* end confdefs.h.  */
40789 #include <math.h>
40790 int
40791 main ()
40792 {
40793 ceilf (0); floorf (0);
40794   ;
40795   return 0;
40796 }
40797 _ACEOF
40798 if ac_fn_cxx_try_compile "$LINENO"; then :
40799   glibcxx_cv_func_float_round_use=yes
40800 else
40801   glibcxx_cv_func_float_round_use=no
40802 fi
40803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40804     ac_ext=c
40805 ac_cpp='$CPP $CPPFLAGS'
40806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40809
40810 fi
40811
40812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40813 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40814   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40815     for ac_func in ceilf floorf
40816 do :
40817   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40819 eval as_val=\$$as_ac_var
40820    if test "x$as_val" = x""yes; then :
40821   cat >>confdefs.h <<_ACEOF
40822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40823 _ACEOF
40824
40825 fi
40826 done
40827
40828   else
40829     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40830 $as_echo_n "checking for _float round functions... " >&6; }
40831     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40832   $as_echo_n "(cached) " >&6
40833 else
40834
40835
40836       ac_ext=cpp
40837 ac_cpp='$CXXCPP $CPPFLAGS'
40838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40841
40842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40843 /* end confdefs.h.  */
40844 #include <math.h>
40845 int
40846 main ()
40847 {
40848 _ceilf (0); _floorf (0);
40849   ;
40850   return 0;
40851 }
40852 _ACEOF
40853 if ac_fn_cxx_try_compile "$LINENO"; then :
40854   glibcxx_cv_func__float_round_use=yes
40855 else
40856   glibcxx_cv_func__float_round_use=no
40857 fi
40858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40859       ac_ext=c
40860 ac_cpp='$CPP $CPPFLAGS'
40861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40864
40865 fi
40866
40867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40868 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40869     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40870       for ac_func in _ceilf _floorf
40871 do :
40872   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40874 eval as_val=\$$as_ac_var
40875    if test "x$as_val" = x""yes; then :
40876   cat >>confdefs.h <<_ACEOF
40877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40878 _ACEOF
40879
40880 fi
40881 done
40882
40883     fi
40884   fi
40885
40886
40887
40888
40889
40890
40891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40892 $as_echo_n "checking for expf declaration... " >&6; }
40893   if test x${glibcxx_cv_func_expf_use+set} != xset; then
40894     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40895   $as_echo_n "(cached) " >&6
40896 else
40897
40898
40899       ac_ext=cpp
40900 ac_cpp='$CXXCPP $CPPFLAGS'
40901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40904
40905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40906 /* end confdefs.h.  */
40907 #include <math.h>
40908                       #ifdef HAVE_IEEEFP_H
40909                       #include <ieeefp.h>
40910                       #endif
40911
40912 int
40913 main ()
40914 {
40915  expf(0);
40916   ;
40917   return 0;
40918 }
40919 _ACEOF
40920 if ac_fn_cxx_try_compile "$LINENO"; then :
40921   glibcxx_cv_func_expf_use=yes
40922 else
40923   glibcxx_cv_func_expf_use=no
40924 fi
40925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40926       ac_ext=c
40927 ac_cpp='$CPP $CPPFLAGS'
40928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40931
40932
40933 fi
40934
40935   fi
40936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40937 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40938
40939   if test x$glibcxx_cv_func_expf_use = x"yes"; then
40940     for ac_func in expf
40941 do :
40942   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40943 if test "x$ac_cv_func_expf" = x""yes; then :
40944   cat >>confdefs.h <<_ACEOF
40945 #define HAVE_EXPF 1
40946 _ACEOF
40947
40948 fi
40949 done
40950
40951   else
40952
40953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40954 $as_echo_n "checking for _expf declaration... " >&6; }
40955   if test x${glibcxx_cv_func__expf_use+set} != xset; then
40956     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40957   $as_echo_n "(cached) " >&6
40958 else
40959
40960
40961       ac_ext=cpp
40962 ac_cpp='$CXXCPP $CPPFLAGS'
40963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40966
40967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40968 /* end confdefs.h.  */
40969 #include <math.h>
40970                       #ifdef HAVE_IEEEFP_H
40971                       #include <ieeefp.h>
40972                       #endif
40973
40974 int
40975 main ()
40976 {
40977  _expf(0);
40978   ;
40979   return 0;
40980 }
40981 _ACEOF
40982 if ac_fn_cxx_try_compile "$LINENO"; then :
40983   glibcxx_cv_func__expf_use=yes
40984 else
40985   glibcxx_cv_func__expf_use=no
40986 fi
40987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40988       ac_ext=c
40989 ac_cpp='$CPP $CPPFLAGS'
40990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40993
40994
40995 fi
40996
40997   fi
40998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40999 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41000
41001     if test x$glibcxx_cv_func__expf_use = x"yes"; then
41002       for ac_func in _expf
41003 do :
41004   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41005 if test "x$ac_cv_func__expf" = x""yes; then :
41006   cat >>confdefs.h <<_ACEOF
41007 #define HAVE__EXPF 1
41008 _ACEOF
41009
41010 fi
41011 done
41012
41013     fi
41014   fi
41015
41016
41017
41018
41019
41020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41021 $as_echo_n "checking for isnanf declaration... " >&6; }
41022   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41023     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41024   $as_echo_n "(cached) " >&6
41025 else
41026
41027
41028       ac_ext=cpp
41029 ac_cpp='$CXXCPP $CPPFLAGS'
41030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41033
41034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41035 /* end confdefs.h.  */
41036 #include <math.h>
41037                       #ifdef HAVE_IEEEFP_H
41038                       #include <ieeefp.h>
41039                       #endif
41040
41041 int
41042 main ()
41043 {
41044  isnanf(0);
41045   ;
41046   return 0;
41047 }
41048 _ACEOF
41049 if ac_fn_cxx_try_compile "$LINENO"; then :
41050   glibcxx_cv_func_isnanf_use=yes
41051 else
41052   glibcxx_cv_func_isnanf_use=no
41053 fi
41054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41055       ac_ext=c
41056 ac_cpp='$CPP $CPPFLAGS'
41057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41060
41061
41062 fi
41063
41064   fi
41065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41066 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41067
41068   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41069     for ac_func in isnanf
41070 do :
41071   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41072 if test "x$ac_cv_func_isnanf" = x""yes; then :
41073   cat >>confdefs.h <<_ACEOF
41074 #define HAVE_ISNANF 1
41075 _ACEOF
41076
41077 fi
41078 done
41079
41080   else
41081
41082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41083 $as_echo_n "checking for _isnanf declaration... " >&6; }
41084   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41085     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41086   $as_echo_n "(cached) " >&6
41087 else
41088
41089
41090       ac_ext=cpp
41091 ac_cpp='$CXXCPP $CPPFLAGS'
41092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41095
41096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41097 /* end confdefs.h.  */
41098 #include <math.h>
41099                       #ifdef HAVE_IEEEFP_H
41100                       #include <ieeefp.h>
41101                       #endif
41102
41103 int
41104 main ()
41105 {
41106  _isnanf(0);
41107   ;
41108   return 0;
41109 }
41110 _ACEOF
41111 if ac_fn_cxx_try_compile "$LINENO"; then :
41112   glibcxx_cv_func__isnanf_use=yes
41113 else
41114   glibcxx_cv_func__isnanf_use=no
41115 fi
41116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41117       ac_ext=c
41118 ac_cpp='$CPP $CPPFLAGS'
41119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41122
41123
41124 fi
41125
41126   fi
41127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41128 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41129
41130     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41131       for ac_func in _isnanf
41132 do :
41133   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41134 if test "x$ac_cv_func__isnanf" = x""yes; then :
41135   cat >>confdefs.h <<_ACEOF
41136 #define HAVE__ISNANF 1
41137 _ACEOF
41138
41139 fi
41140 done
41141
41142     fi
41143   fi
41144
41145
41146
41147
41148
41149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41150 $as_echo_n "checking for isinff declaration... " >&6; }
41151   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41152     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41153   $as_echo_n "(cached) " >&6
41154 else
41155
41156
41157       ac_ext=cpp
41158 ac_cpp='$CXXCPP $CPPFLAGS'
41159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41162
41163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41164 /* end confdefs.h.  */
41165 #include <math.h>
41166                       #ifdef HAVE_IEEEFP_H
41167                       #include <ieeefp.h>
41168                       #endif
41169
41170 int
41171 main ()
41172 {
41173  isinff(0);
41174   ;
41175   return 0;
41176 }
41177 _ACEOF
41178 if ac_fn_cxx_try_compile "$LINENO"; then :
41179   glibcxx_cv_func_isinff_use=yes
41180 else
41181   glibcxx_cv_func_isinff_use=no
41182 fi
41183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41184       ac_ext=c
41185 ac_cpp='$CPP $CPPFLAGS'
41186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41189
41190
41191 fi
41192
41193   fi
41194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41195 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41196
41197   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41198     for ac_func in isinff
41199 do :
41200   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41201 if test "x$ac_cv_func_isinff" = x""yes; then :
41202   cat >>confdefs.h <<_ACEOF
41203 #define HAVE_ISINFF 1
41204 _ACEOF
41205
41206 fi
41207 done
41208
41209   else
41210
41211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41212 $as_echo_n "checking for _isinff declaration... " >&6; }
41213   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41214     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41215   $as_echo_n "(cached) " >&6
41216 else
41217
41218
41219       ac_ext=cpp
41220 ac_cpp='$CXXCPP $CPPFLAGS'
41221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41224
41225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41226 /* end confdefs.h.  */
41227 #include <math.h>
41228                       #ifdef HAVE_IEEEFP_H
41229                       #include <ieeefp.h>
41230                       #endif
41231
41232 int
41233 main ()
41234 {
41235  _isinff(0);
41236   ;
41237   return 0;
41238 }
41239 _ACEOF
41240 if ac_fn_cxx_try_compile "$LINENO"; then :
41241   glibcxx_cv_func__isinff_use=yes
41242 else
41243   glibcxx_cv_func__isinff_use=no
41244 fi
41245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41246       ac_ext=c
41247 ac_cpp='$CPP $CPPFLAGS'
41248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41251
41252
41253 fi
41254
41255   fi
41256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41257 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41258
41259     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41260       for ac_func in _isinff
41261 do :
41262   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41263 if test "x$ac_cv_func__isinff" = x""yes; then :
41264   cat >>confdefs.h <<_ACEOF
41265 #define HAVE__ISINFF 1
41266 _ACEOF
41267
41268 fi
41269 done
41270
41271     fi
41272   fi
41273
41274
41275
41276
41277
41278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41279 $as_echo_n "checking for atan2f declaration... " >&6; }
41280   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41281     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41282   $as_echo_n "(cached) " >&6
41283 else
41284
41285
41286       ac_ext=cpp
41287 ac_cpp='$CXXCPP $CPPFLAGS'
41288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41291
41292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41293 /* end confdefs.h.  */
41294 #include <math.h>
41295 int
41296 main ()
41297 {
41298  atan2f(0, 0);
41299   ;
41300   return 0;
41301 }
41302 _ACEOF
41303 if ac_fn_cxx_try_compile "$LINENO"; then :
41304   glibcxx_cv_func_atan2f_use=yes
41305 else
41306   glibcxx_cv_func_atan2f_use=no
41307 fi
41308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41309       ac_ext=c
41310 ac_cpp='$CPP $CPPFLAGS'
41311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41314
41315
41316 fi
41317
41318   fi
41319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41320 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41321
41322   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41323     for ac_func in atan2f
41324 do :
41325   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41326 if test "x$ac_cv_func_atan2f" = x""yes; then :
41327   cat >>confdefs.h <<_ACEOF
41328 #define HAVE_ATAN2F 1
41329 _ACEOF
41330
41331 fi
41332 done
41333
41334   else
41335
41336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41337 $as_echo_n "checking for _atan2f declaration... " >&6; }
41338   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41339     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41340   $as_echo_n "(cached) " >&6
41341 else
41342
41343
41344       ac_ext=cpp
41345 ac_cpp='$CXXCPP $CPPFLAGS'
41346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41349
41350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41351 /* end confdefs.h.  */
41352 #include <math.h>
41353 int
41354 main ()
41355 {
41356  _atan2f(0, 0);
41357   ;
41358   return 0;
41359 }
41360 _ACEOF
41361 if ac_fn_cxx_try_compile "$LINENO"; then :
41362   glibcxx_cv_func__atan2f_use=yes
41363 else
41364   glibcxx_cv_func__atan2f_use=no
41365 fi
41366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41367       ac_ext=c
41368 ac_cpp='$CPP $CPPFLAGS'
41369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41372
41373
41374 fi
41375
41376   fi
41377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41378 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41379
41380     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41381       for ac_func in _atan2f
41382 do :
41383   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41384 if test "x$ac_cv_func__atan2f" = x""yes; then :
41385   cat >>confdefs.h <<_ACEOF
41386 #define HAVE__ATAN2F 1
41387 _ACEOF
41388
41389 fi
41390 done
41391
41392     fi
41393   fi
41394
41395
41396
41397
41398
41399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41400 $as_echo_n "checking for fabsf declaration... " >&6; }
41401   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41402     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41403   $as_echo_n "(cached) " >&6
41404 else
41405
41406
41407       ac_ext=cpp
41408 ac_cpp='$CXXCPP $CPPFLAGS'
41409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41412
41413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41414 /* end confdefs.h.  */
41415 #include <math.h>
41416                       #ifdef HAVE_IEEEFP_H
41417                       #include <ieeefp.h>
41418                       #endif
41419
41420 int
41421 main ()
41422 {
41423  fabsf(0);
41424   ;
41425   return 0;
41426 }
41427 _ACEOF
41428 if ac_fn_cxx_try_compile "$LINENO"; then :
41429   glibcxx_cv_func_fabsf_use=yes
41430 else
41431   glibcxx_cv_func_fabsf_use=no
41432 fi
41433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41434       ac_ext=c
41435 ac_cpp='$CPP $CPPFLAGS'
41436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41439
41440
41441 fi
41442
41443   fi
41444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41445 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41446
41447   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41448     for ac_func in fabsf
41449 do :
41450   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41451 if test "x$ac_cv_func_fabsf" = x""yes; then :
41452   cat >>confdefs.h <<_ACEOF
41453 #define HAVE_FABSF 1
41454 _ACEOF
41455
41456 fi
41457 done
41458
41459   else
41460
41461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41462 $as_echo_n "checking for _fabsf declaration... " >&6; }
41463   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41464     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41465   $as_echo_n "(cached) " >&6
41466 else
41467
41468
41469       ac_ext=cpp
41470 ac_cpp='$CXXCPP $CPPFLAGS'
41471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41474
41475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41476 /* end confdefs.h.  */
41477 #include <math.h>
41478                       #ifdef HAVE_IEEEFP_H
41479                       #include <ieeefp.h>
41480                       #endif
41481
41482 int
41483 main ()
41484 {
41485  _fabsf(0);
41486   ;
41487   return 0;
41488 }
41489 _ACEOF
41490 if ac_fn_cxx_try_compile "$LINENO"; then :
41491   glibcxx_cv_func__fabsf_use=yes
41492 else
41493   glibcxx_cv_func__fabsf_use=no
41494 fi
41495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41496       ac_ext=c
41497 ac_cpp='$CPP $CPPFLAGS'
41498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41501
41502
41503 fi
41504
41505   fi
41506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41507 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41508
41509     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41510       for ac_func in _fabsf
41511 do :
41512   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41513 if test "x$ac_cv_func__fabsf" = x""yes; then :
41514   cat >>confdefs.h <<_ACEOF
41515 #define HAVE__FABSF 1
41516 _ACEOF
41517
41518 fi
41519 done
41520
41521     fi
41522   fi
41523
41524
41525
41526
41527
41528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41529 $as_echo_n "checking for fmodf declaration... " >&6; }
41530   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41531     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41532   $as_echo_n "(cached) " >&6
41533 else
41534
41535
41536       ac_ext=cpp
41537 ac_cpp='$CXXCPP $CPPFLAGS'
41538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41541
41542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41543 /* end confdefs.h.  */
41544 #include <math.h>
41545 int
41546 main ()
41547 {
41548  fmodf(0, 0);
41549   ;
41550   return 0;
41551 }
41552 _ACEOF
41553 if ac_fn_cxx_try_compile "$LINENO"; then :
41554   glibcxx_cv_func_fmodf_use=yes
41555 else
41556   glibcxx_cv_func_fmodf_use=no
41557 fi
41558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41559       ac_ext=c
41560 ac_cpp='$CPP $CPPFLAGS'
41561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41564
41565
41566 fi
41567
41568   fi
41569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41570 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41571
41572   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41573     for ac_func in fmodf
41574 do :
41575   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41576 if test "x$ac_cv_func_fmodf" = x""yes; then :
41577   cat >>confdefs.h <<_ACEOF
41578 #define HAVE_FMODF 1
41579 _ACEOF
41580
41581 fi
41582 done
41583
41584   else
41585
41586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41587 $as_echo_n "checking for _fmodf declaration... " >&6; }
41588   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41589     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41590   $as_echo_n "(cached) " >&6
41591 else
41592
41593
41594       ac_ext=cpp
41595 ac_cpp='$CXXCPP $CPPFLAGS'
41596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41599
41600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41601 /* end confdefs.h.  */
41602 #include <math.h>
41603 int
41604 main ()
41605 {
41606  _fmodf(0, 0);
41607   ;
41608   return 0;
41609 }
41610 _ACEOF
41611 if ac_fn_cxx_try_compile "$LINENO"; then :
41612   glibcxx_cv_func__fmodf_use=yes
41613 else
41614   glibcxx_cv_func__fmodf_use=no
41615 fi
41616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41617       ac_ext=c
41618 ac_cpp='$CPP $CPPFLAGS'
41619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41622
41623
41624 fi
41625
41626   fi
41627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41628 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41629
41630     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41631       for ac_func in _fmodf
41632 do :
41633   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41634 if test "x$ac_cv_func__fmodf" = x""yes; then :
41635   cat >>confdefs.h <<_ACEOF
41636 #define HAVE__FMODF 1
41637 _ACEOF
41638
41639 fi
41640 done
41641
41642     fi
41643   fi
41644
41645
41646
41647
41648
41649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41650 $as_echo_n "checking for frexpf declaration... " >&6; }
41651   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41652     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41653   $as_echo_n "(cached) " >&6
41654 else
41655
41656
41657       ac_ext=cpp
41658 ac_cpp='$CXXCPP $CPPFLAGS'
41659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41662
41663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41664 /* end confdefs.h.  */
41665 #include <math.h>
41666 int
41667 main ()
41668 {
41669  frexpf(0, 0);
41670   ;
41671   return 0;
41672 }
41673 _ACEOF
41674 if ac_fn_cxx_try_compile "$LINENO"; then :
41675   glibcxx_cv_func_frexpf_use=yes
41676 else
41677   glibcxx_cv_func_frexpf_use=no
41678 fi
41679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41680       ac_ext=c
41681 ac_cpp='$CPP $CPPFLAGS'
41682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41685
41686
41687 fi
41688
41689   fi
41690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41691 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41692
41693   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41694     for ac_func in frexpf
41695 do :
41696   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41697 if test "x$ac_cv_func_frexpf" = x""yes; then :
41698   cat >>confdefs.h <<_ACEOF
41699 #define HAVE_FREXPF 1
41700 _ACEOF
41701
41702 fi
41703 done
41704
41705   else
41706
41707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41708 $as_echo_n "checking for _frexpf declaration... " >&6; }
41709   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41710     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41711   $as_echo_n "(cached) " >&6
41712 else
41713
41714
41715       ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41720
41721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h.  */
41723 #include <math.h>
41724 int
41725 main ()
41726 {
41727  _frexpf(0, 0);
41728   ;
41729   return 0;
41730 }
41731 _ACEOF
41732 if ac_fn_cxx_try_compile "$LINENO"; then :
41733   glibcxx_cv_func__frexpf_use=yes
41734 else
41735   glibcxx_cv_func__frexpf_use=no
41736 fi
41737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41738       ac_ext=c
41739 ac_cpp='$CPP $CPPFLAGS'
41740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41743
41744
41745 fi
41746
41747   fi
41748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41749 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41750
41751     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41752       for ac_func in _frexpf
41753 do :
41754   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41755 if test "x$ac_cv_func__frexpf" = x""yes; then :
41756   cat >>confdefs.h <<_ACEOF
41757 #define HAVE__FREXPF 1
41758 _ACEOF
41759
41760 fi
41761 done
41762
41763     fi
41764   fi
41765
41766
41767
41768
41769
41770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41771 $as_echo_n "checking for hypotf declaration... " >&6; }
41772   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41773     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41774   $as_echo_n "(cached) " >&6
41775 else
41776
41777
41778       ac_ext=cpp
41779 ac_cpp='$CXXCPP $CPPFLAGS'
41780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41783
41784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41785 /* end confdefs.h.  */
41786 #include <math.h>
41787 int
41788 main ()
41789 {
41790  hypotf(0, 0);
41791   ;
41792   return 0;
41793 }
41794 _ACEOF
41795 if ac_fn_cxx_try_compile "$LINENO"; then :
41796   glibcxx_cv_func_hypotf_use=yes
41797 else
41798   glibcxx_cv_func_hypotf_use=no
41799 fi
41800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41801       ac_ext=c
41802 ac_cpp='$CPP $CPPFLAGS'
41803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41806
41807
41808 fi
41809
41810   fi
41811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41812 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41813
41814   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41815     for ac_func in hypotf
41816 do :
41817   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41818 if test "x$ac_cv_func_hypotf" = x""yes; then :
41819   cat >>confdefs.h <<_ACEOF
41820 #define HAVE_HYPOTF 1
41821 _ACEOF
41822
41823 fi
41824 done
41825
41826   else
41827
41828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41829 $as_echo_n "checking for _hypotf declaration... " >&6; }
41830   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41831     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41832   $as_echo_n "(cached) " >&6
41833 else
41834
41835
41836       ac_ext=cpp
41837 ac_cpp='$CXXCPP $CPPFLAGS'
41838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41841
41842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41843 /* end confdefs.h.  */
41844 #include <math.h>
41845 int
41846 main ()
41847 {
41848  _hypotf(0, 0);
41849   ;
41850   return 0;
41851 }
41852 _ACEOF
41853 if ac_fn_cxx_try_compile "$LINENO"; then :
41854   glibcxx_cv_func__hypotf_use=yes
41855 else
41856   glibcxx_cv_func__hypotf_use=no
41857 fi
41858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41859       ac_ext=c
41860 ac_cpp='$CPP $CPPFLAGS'
41861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41864
41865
41866 fi
41867
41868   fi
41869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41870 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41871
41872     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41873       for ac_func in _hypotf
41874 do :
41875   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41876 if test "x$ac_cv_func__hypotf" = x""yes; then :
41877   cat >>confdefs.h <<_ACEOF
41878 #define HAVE__HYPOTF 1
41879 _ACEOF
41880
41881 fi
41882 done
41883
41884     fi
41885   fi
41886
41887
41888
41889
41890
41891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41892 $as_echo_n "checking for ldexpf declaration... " >&6; }
41893   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41894     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41895   $as_echo_n "(cached) " >&6
41896 else
41897
41898
41899       ac_ext=cpp
41900 ac_cpp='$CXXCPP $CPPFLAGS'
41901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41904
41905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41906 /* end confdefs.h.  */
41907 #include <math.h>
41908 int
41909 main ()
41910 {
41911  ldexpf(0, 0);
41912   ;
41913   return 0;
41914 }
41915 _ACEOF
41916 if ac_fn_cxx_try_compile "$LINENO"; then :
41917   glibcxx_cv_func_ldexpf_use=yes
41918 else
41919   glibcxx_cv_func_ldexpf_use=no
41920 fi
41921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41922       ac_ext=c
41923 ac_cpp='$CPP $CPPFLAGS'
41924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41927
41928
41929 fi
41930
41931   fi
41932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41933 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41934
41935   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41936     for ac_func in ldexpf
41937 do :
41938   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41939 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41940   cat >>confdefs.h <<_ACEOF
41941 #define HAVE_LDEXPF 1
41942 _ACEOF
41943
41944 fi
41945 done
41946
41947   else
41948
41949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41950 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41951   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41952     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41953   $as_echo_n "(cached) " >&6
41954 else
41955
41956
41957       ac_ext=cpp
41958 ac_cpp='$CXXCPP $CPPFLAGS'
41959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41962
41963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41964 /* end confdefs.h.  */
41965 #include <math.h>
41966 int
41967 main ()
41968 {
41969  _ldexpf(0, 0);
41970   ;
41971   return 0;
41972 }
41973 _ACEOF
41974 if ac_fn_cxx_try_compile "$LINENO"; then :
41975   glibcxx_cv_func__ldexpf_use=yes
41976 else
41977   glibcxx_cv_func__ldexpf_use=no
41978 fi
41979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41980       ac_ext=c
41981 ac_cpp='$CPP $CPPFLAGS'
41982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41985
41986
41987 fi
41988
41989   fi
41990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41991 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41992
41993     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41994       for ac_func in _ldexpf
41995 do :
41996   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41997 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41998   cat >>confdefs.h <<_ACEOF
41999 #define HAVE__LDEXPF 1
42000 _ACEOF
42001
42002 fi
42003 done
42004
42005     fi
42006   fi
42007
42008
42009
42010
42011
42012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42013 $as_echo_n "checking for logf declaration... " >&6; }
42014   if test x${glibcxx_cv_func_logf_use+set} != xset; then
42015     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42016   $as_echo_n "(cached) " >&6
42017 else
42018
42019
42020       ac_ext=cpp
42021 ac_cpp='$CXXCPP $CPPFLAGS'
42022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42025
42026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42027 /* end confdefs.h.  */
42028 #include <math.h>
42029                       #ifdef HAVE_IEEEFP_H
42030                       #include <ieeefp.h>
42031                       #endif
42032
42033 int
42034 main ()
42035 {
42036  logf(0);
42037   ;
42038   return 0;
42039 }
42040 _ACEOF
42041 if ac_fn_cxx_try_compile "$LINENO"; then :
42042   glibcxx_cv_func_logf_use=yes
42043 else
42044   glibcxx_cv_func_logf_use=no
42045 fi
42046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42047       ac_ext=c
42048 ac_cpp='$CPP $CPPFLAGS'
42049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42052
42053
42054 fi
42055
42056   fi
42057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42058 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42059
42060   if test x$glibcxx_cv_func_logf_use = x"yes"; then
42061     for ac_func in logf
42062 do :
42063   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42064 if test "x$ac_cv_func_logf" = x""yes; then :
42065   cat >>confdefs.h <<_ACEOF
42066 #define HAVE_LOGF 1
42067 _ACEOF
42068
42069 fi
42070 done
42071
42072   else
42073
42074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42075 $as_echo_n "checking for _logf declaration... " >&6; }
42076   if test x${glibcxx_cv_func__logf_use+set} != xset; then
42077     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42078   $as_echo_n "(cached) " >&6
42079 else
42080
42081
42082       ac_ext=cpp
42083 ac_cpp='$CXXCPP $CPPFLAGS'
42084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42087
42088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42089 /* end confdefs.h.  */
42090 #include <math.h>
42091                       #ifdef HAVE_IEEEFP_H
42092                       #include <ieeefp.h>
42093                       #endif
42094
42095 int
42096 main ()
42097 {
42098  _logf(0);
42099   ;
42100   return 0;
42101 }
42102 _ACEOF
42103 if ac_fn_cxx_try_compile "$LINENO"; then :
42104   glibcxx_cv_func__logf_use=yes
42105 else
42106   glibcxx_cv_func__logf_use=no
42107 fi
42108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42109       ac_ext=c
42110 ac_cpp='$CPP $CPPFLAGS'
42111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42114
42115
42116 fi
42117
42118   fi
42119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42120 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42121
42122     if test x$glibcxx_cv_func__logf_use = x"yes"; then
42123       for ac_func in _logf
42124 do :
42125   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42126 if test "x$ac_cv_func__logf" = x""yes; then :
42127   cat >>confdefs.h <<_ACEOF
42128 #define HAVE__LOGF 1
42129 _ACEOF
42130
42131 fi
42132 done
42133
42134     fi
42135   fi
42136
42137
42138
42139
42140
42141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42142 $as_echo_n "checking for log10f declaration... " >&6; }
42143   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42144     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42145   $as_echo_n "(cached) " >&6
42146 else
42147
42148
42149       ac_ext=cpp
42150 ac_cpp='$CXXCPP $CPPFLAGS'
42151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42154
42155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42156 /* end confdefs.h.  */
42157 #include <math.h>
42158                       #ifdef HAVE_IEEEFP_H
42159                       #include <ieeefp.h>
42160                       #endif
42161
42162 int
42163 main ()
42164 {
42165  log10f(0);
42166   ;
42167   return 0;
42168 }
42169 _ACEOF
42170 if ac_fn_cxx_try_compile "$LINENO"; then :
42171   glibcxx_cv_func_log10f_use=yes
42172 else
42173   glibcxx_cv_func_log10f_use=no
42174 fi
42175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42176       ac_ext=c
42177 ac_cpp='$CPP $CPPFLAGS'
42178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42181
42182
42183 fi
42184
42185   fi
42186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42187 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42188
42189   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42190     for ac_func in log10f
42191 do :
42192   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42193 if test "x$ac_cv_func_log10f" = x""yes; then :
42194   cat >>confdefs.h <<_ACEOF
42195 #define HAVE_LOG10F 1
42196 _ACEOF
42197
42198 fi
42199 done
42200
42201   else
42202
42203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42204 $as_echo_n "checking for _log10f declaration... " >&6; }
42205   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42206     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42207   $as_echo_n "(cached) " >&6
42208 else
42209
42210
42211       ac_ext=cpp
42212 ac_cpp='$CXXCPP $CPPFLAGS'
42213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42216
42217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42218 /* end confdefs.h.  */
42219 #include <math.h>
42220                       #ifdef HAVE_IEEEFP_H
42221                       #include <ieeefp.h>
42222                       #endif
42223
42224 int
42225 main ()
42226 {
42227  _log10f(0);
42228   ;
42229   return 0;
42230 }
42231 _ACEOF
42232 if ac_fn_cxx_try_compile "$LINENO"; then :
42233   glibcxx_cv_func__log10f_use=yes
42234 else
42235   glibcxx_cv_func__log10f_use=no
42236 fi
42237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42238       ac_ext=c
42239 ac_cpp='$CPP $CPPFLAGS'
42240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42243
42244
42245 fi
42246
42247   fi
42248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42249 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42250
42251     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42252       for ac_func in _log10f
42253 do :
42254   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42255 if test "x$ac_cv_func__log10f" = x""yes; then :
42256   cat >>confdefs.h <<_ACEOF
42257 #define HAVE__LOG10F 1
42258 _ACEOF
42259
42260 fi
42261 done
42262
42263     fi
42264   fi
42265
42266
42267
42268
42269
42270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42271 $as_echo_n "checking for modff declaration... " >&6; }
42272   if test x${glibcxx_cv_func_modff_use+set} != xset; then
42273     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42274   $as_echo_n "(cached) " >&6
42275 else
42276
42277
42278       ac_ext=cpp
42279 ac_cpp='$CXXCPP $CPPFLAGS'
42280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42283
42284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42285 /* end confdefs.h.  */
42286 #include <math.h>
42287 int
42288 main ()
42289 {
42290  modff(0, 0);
42291   ;
42292   return 0;
42293 }
42294 _ACEOF
42295 if ac_fn_cxx_try_compile "$LINENO"; then :
42296   glibcxx_cv_func_modff_use=yes
42297 else
42298   glibcxx_cv_func_modff_use=no
42299 fi
42300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42301       ac_ext=c
42302 ac_cpp='$CPP $CPPFLAGS'
42303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42306
42307
42308 fi
42309
42310   fi
42311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42312 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42313
42314   if test x$glibcxx_cv_func_modff_use = x"yes"; then
42315     for ac_func in modff
42316 do :
42317   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42318 if test "x$ac_cv_func_modff" = x""yes; then :
42319   cat >>confdefs.h <<_ACEOF
42320 #define HAVE_MODFF 1
42321 _ACEOF
42322
42323 fi
42324 done
42325
42326   else
42327
42328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42329 $as_echo_n "checking for _modff declaration... " >&6; }
42330   if test x${glibcxx_cv_func__modff_use+set} != xset; then
42331     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42332   $as_echo_n "(cached) " >&6
42333 else
42334
42335
42336       ac_ext=cpp
42337 ac_cpp='$CXXCPP $CPPFLAGS'
42338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42341
42342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42343 /* end confdefs.h.  */
42344 #include <math.h>
42345 int
42346 main ()
42347 {
42348  _modff(0, 0);
42349   ;
42350   return 0;
42351 }
42352 _ACEOF
42353 if ac_fn_cxx_try_compile "$LINENO"; then :
42354   glibcxx_cv_func__modff_use=yes
42355 else
42356   glibcxx_cv_func__modff_use=no
42357 fi
42358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42359       ac_ext=c
42360 ac_cpp='$CPP $CPPFLAGS'
42361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42364
42365
42366 fi
42367
42368   fi
42369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42370 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42371
42372     if test x$glibcxx_cv_func__modff_use = x"yes"; then
42373       for ac_func in _modff
42374 do :
42375   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42376 if test "x$ac_cv_func__modff" = x""yes; then :
42377   cat >>confdefs.h <<_ACEOF
42378 #define HAVE__MODFF 1
42379 _ACEOF
42380
42381 fi
42382 done
42383
42384     fi
42385   fi
42386
42387
42388
42389
42390
42391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42392 $as_echo_n "checking for modf declaration... " >&6; }
42393   if test x${glibcxx_cv_func_modf_use+set} != xset; then
42394     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42395   $as_echo_n "(cached) " >&6
42396 else
42397
42398
42399       ac_ext=cpp
42400 ac_cpp='$CXXCPP $CPPFLAGS'
42401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42404
42405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42406 /* end confdefs.h.  */
42407 #include <math.h>
42408 int
42409 main ()
42410 {
42411  modf(0, 0);
42412   ;
42413   return 0;
42414 }
42415 _ACEOF
42416 if ac_fn_cxx_try_compile "$LINENO"; then :
42417   glibcxx_cv_func_modf_use=yes
42418 else
42419   glibcxx_cv_func_modf_use=no
42420 fi
42421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42422       ac_ext=c
42423 ac_cpp='$CPP $CPPFLAGS'
42424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42427
42428
42429 fi
42430
42431   fi
42432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42433 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42434
42435   if test x$glibcxx_cv_func_modf_use = x"yes"; then
42436     for ac_func in modf
42437 do :
42438   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42439 if test "x$ac_cv_func_modf" = x""yes; then :
42440   cat >>confdefs.h <<_ACEOF
42441 #define HAVE_MODF 1
42442 _ACEOF
42443
42444 fi
42445 done
42446
42447   else
42448
42449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42450 $as_echo_n "checking for _modf declaration... " >&6; }
42451   if test x${glibcxx_cv_func__modf_use+set} != xset; then
42452     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42453   $as_echo_n "(cached) " >&6
42454 else
42455
42456
42457       ac_ext=cpp
42458 ac_cpp='$CXXCPP $CPPFLAGS'
42459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42462
42463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464 /* end confdefs.h.  */
42465 #include <math.h>
42466 int
42467 main ()
42468 {
42469  _modf(0, 0);
42470   ;
42471   return 0;
42472 }
42473 _ACEOF
42474 if ac_fn_cxx_try_compile "$LINENO"; then :
42475   glibcxx_cv_func__modf_use=yes
42476 else
42477   glibcxx_cv_func__modf_use=no
42478 fi
42479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42480       ac_ext=c
42481 ac_cpp='$CPP $CPPFLAGS'
42482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42485
42486
42487 fi
42488
42489   fi
42490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42491 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42492
42493     if test x$glibcxx_cv_func__modf_use = x"yes"; then
42494       for ac_func in _modf
42495 do :
42496   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42497 if test "x$ac_cv_func__modf" = x""yes; then :
42498   cat >>confdefs.h <<_ACEOF
42499 #define HAVE__MODF 1
42500 _ACEOF
42501
42502 fi
42503 done
42504
42505     fi
42506   fi
42507
42508
42509
42510
42511
42512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42513 $as_echo_n "checking for powf declaration... " >&6; }
42514   if test x${glibcxx_cv_func_powf_use+set} != xset; then
42515     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42516   $as_echo_n "(cached) " >&6
42517 else
42518
42519
42520       ac_ext=cpp
42521 ac_cpp='$CXXCPP $CPPFLAGS'
42522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42525
42526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42527 /* end confdefs.h.  */
42528 #include <math.h>
42529 int
42530 main ()
42531 {
42532  powf(0, 0);
42533   ;
42534   return 0;
42535 }
42536 _ACEOF
42537 if ac_fn_cxx_try_compile "$LINENO"; then :
42538   glibcxx_cv_func_powf_use=yes
42539 else
42540   glibcxx_cv_func_powf_use=no
42541 fi
42542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42543       ac_ext=c
42544 ac_cpp='$CPP $CPPFLAGS'
42545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42548
42549
42550 fi
42551
42552   fi
42553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42554 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42555
42556   if test x$glibcxx_cv_func_powf_use = x"yes"; then
42557     for ac_func in powf
42558 do :
42559   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42560 if test "x$ac_cv_func_powf" = x""yes; then :
42561   cat >>confdefs.h <<_ACEOF
42562 #define HAVE_POWF 1
42563 _ACEOF
42564
42565 fi
42566 done
42567
42568   else
42569
42570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42571 $as_echo_n "checking for _powf declaration... " >&6; }
42572   if test x${glibcxx_cv_func__powf_use+set} != xset; then
42573     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42574   $as_echo_n "(cached) " >&6
42575 else
42576
42577
42578       ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42583
42584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h.  */
42586 #include <math.h>
42587 int
42588 main ()
42589 {
42590  _powf(0, 0);
42591   ;
42592   return 0;
42593 }
42594 _ACEOF
42595 if ac_fn_cxx_try_compile "$LINENO"; then :
42596   glibcxx_cv_func__powf_use=yes
42597 else
42598   glibcxx_cv_func__powf_use=no
42599 fi
42600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42601       ac_ext=c
42602 ac_cpp='$CPP $CPPFLAGS'
42603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42606
42607
42608 fi
42609
42610   fi
42611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42612 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42613
42614     if test x$glibcxx_cv_func__powf_use = x"yes"; then
42615       for ac_func in _powf
42616 do :
42617   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42618 if test "x$ac_cv_func__powf" = x""yes; then :
42619   cat >>confdefs.h <<_ACEOF
42620 #define HAVE__POWF 1
42621 _ACEOF
42622
42623 fi
42624 done
42625
42626     fi
42627   fi
42628
42629
42630
42631
42632
42633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42634 $as_echo_n "checking for sqrtf declaration... " >&6; }
42635   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42636     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42637   $as_echo_n "(cached) " >&6
42638 else
42639
42640
42641       ac_ext=cpp
42642 ac_cpp='$CXXCPP $CPPFLAGS'
42643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42646
42647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42648 /* end confdefs.h.  */
42649 #include <math.h>
42650                       #ifdef HAVE_IEEEFP_H
42651                       #include <ieeefp.h>
42652                       #endif
42653
42654 int
42655 main ()
42656 {
42657  sqrtf(0);
42658   ;
42659   return 0;
42660 }
42661 _ACEOF
42662 if ac_fn_cxx_try_compile "$LINENO"; then :
42663   glibcxx_cv_func_sqrtf_use=yes
42664 else
42665   glibcxx_cv_func_sqrtf_use=no
42666 fi
42667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42668       ac_ext=c
42669 ac_cpp='$CPP $CPPFLAGS'
42670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42673
42674
42675 fi
42676
42677   fi
42678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42679 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42680
42681   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42682     for ac_func in sqrtf
42683 do :
42684   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42685 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42686   cat >>confdefs.h <<_ACEOF
42687 #define HAVE_SQRTF 1
42688 _ACEOF
42689
42690 fi
42691 done
42692
42693   else
42694
42695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42696 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42697   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42698     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42699   $as_echo_n "(cached) " >&6
42700 else
42701
42702
42703       ac_ext=cpp
42704 ac_cpp='$CXXCPP $CPPFLAGS'
42705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42708
42709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42710 /* end confdefs.h.  */
42711 #include <math.h>
42712                       #ifdef HAVE_IEEEFP_H
42713                       #include <ieeefp.h>
42714                       #endif
42715
42716 int
42717 main ()
42718 {
42719  _sqrtf(0);
42720   ;
42721   return 0;
42722 }
42723 _ACEOF
42724 if ac_fn_cxx_try_compile "$LINENO"; then :
42725   glibcxx_cv_func__sqrtf_use=yes
42726 else
42727   glibcxx_cv_func__sqrtf_use=no
42728 fi
42729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42730       ac_ext=c
42731 ac_cpp='$CPP $CPPFLAGS'
42732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42735
42736
42737 fi
42738
42739   fi
42740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42741 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42742
42743     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42744       for ac_func in _sqrtf
42745 do :
42746   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42747 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42748   cat >>confdefs.h <<_ACEOF
42749 #define HAVE__SQRTF 1
42750 _ACEOF
42751
42752 fi
42753 done
42754
42755     fi
42756   fi
42757
42758
42759
42760
42761
42762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42763 $as_echo_n "checking for sincosf declaration... " >&6; }
42764   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42765     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42766   $as_echo_n "(cached) " >&6
42767 else
42768
42769
42770       ac_ext=cpp
42771 ac_cpp='$CXXCPP $CPPFLAGS'
42772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42775
42776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42777 /* end confdefs.h.  */
42778 #include <math.h>
42779 int
42780 main ()
42781 {
42782  sincosf(0, 0, 0);
42783   ;
42784   return 0;
42785 }
42786 _ACEOF
42787 if ac_fn_cxx_try_compile "$LINENO"; then :
42788   glibcxx_cv_func_sincosf_use=yes
42789 else
42790   glibcxx_cv_func_sincosf_use=no
42791 fi
42792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42793       ac_ext=c
42794 ac_cpp='$CPP $CPPFLAGS'
42795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42798
42799
42800 fi
42801
42802   fi
42803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42804 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42805
42806   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42807     for ac_func in sincosf
42808 do :
42809   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42810 if test "x$ac_cv_func_sincosf" = x""yes; then :
42811   cat >>confdefs.h <<_ACEOF
42812 #define HAVE_SINCOSF 1
42813 _ACEOF
42814
42815 fi
42816 done
42817
42818   else
42819
42820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42821 $as_echo_n "checking for _sincosf declaration... " >&6; }
42822   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42823     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42824   $as_echo_n "(cached) " >&6
42825 else
42826
42827
42828       ac_ext=cpp
42829 ac_cpp='$CXXCPP $CPPFLAGS'
42830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42833
42834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42835 /* end confdefs.h.  */
42836 #include <math.h>
42837 int
42838 main ()
42839 {
42840  _sincosf(0, 0, 0);
42841   ;
42842   return 0;
42843 }
42844 _ACEOF
42845 if ac_fn_cxx_try_compile "$LINENO"; then :
42846   glibcxx_cv_func__sincosf_use=yes
42847 else
42848   glibcxx_cv_func__sincosf_use=no
42849 fi
42850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42851       ac_ext=c
42852 ac_cpp='$CPP $CPPFLAGS'
42853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42856
42857
42858 fi
42859
42860   fi
42861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42862 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42863
42864     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42865       for ac_func in _sincosf
42866 do :
42867   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42868 if test "x$ac_cv_func__sincosf" = x""yes; then :
42869   cat >>confdefs.h <<_ACEOF
42870 #define HAVE__SINCOSF 1
42871 _ACEOF
42872
42873 fi
42874 done
42875
42876     fi
42877   fi
42878
42879
42880
42881
42882
42883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42884 $as_echo_n "checking for finitef declaration... " >&6; }
42885   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42886     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42887   $as_echo_n "(cached) " >&6
42888 else
42889
42890
42891       ac_ext=cpp
42892 ac_cpp='$CXXCPP $CPPFLAGS'
42893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42896
42897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42898 /* end confdefs.h.  */
42899 #include <math.h>
42900                       #ifdef HAVE_IEEEFP_H
42901                       #include <ieeefp.h>
42902                       #endif
42903
42904 int
42905 main ()
42906 {
42907  finitef(0);
42908   ;
42909   return 0;
42910 }
42911 _ACEOF
42912 if ac_fn_cxx_try_compile "$LINENO"; then :
42913   glibcxx_cv_func_finitef_use=yes
42914 else
42915   glibcxx_cv_func_finitef_use=no
42916 fi
42917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42918       ac_ext=c
42919 ac_cpp='$CPP $CPPFLAGS'
42920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42923
42924
42925 fi
42926
42927   fi
42928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42929 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42930
42931   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42932     for ac_func in finitef
42933 do :
42934   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42935 if test "x$ac_cv_func_finitef" = x""yes; then :
42936   cat >>confdefs.h <<_ACEOF
42937 #define HAVE_FINITEF 1
42938 _ACEOF
42939
42940 fi
42941 done
42942
42943   else
42944
42945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42946 $as_echo_n "checking for _finitef declaration... " >&6; }
42947   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42948     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42949   $as_echo_n "(cached) " >&6
42950 else
42951
42952
42953       ac_ext=cpp
42954 ac_cpp='$CXXCPP $CPPFLAGS'
42955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42958
42959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42960 /* end confdefs.h.  */
42961 #include <math.h>
42962                       #ifdef HAVE_IEEEFP_H
42963                       #include <ieeefp.h>
42964                       #endif
42965
42966 int
42967 main ()
42968 {
42969  _finitef(0);
42970   ;
42971   return 0;
42972 }
42973 _ACEOF
42974 if ac_fn_cxx_try_compile "$LINENO"; then :
42975   glibcxx_cv_func__finitef_use=yes
42976 else
42977   glibcxx_cv_func__finitef_use=no
42978 fi
42979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42980       ac_ext=c
42981 ac_cpp='$CPP $CPPFLAGS'
42982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42985
42986
42987 fi
42988
42989   fi
42990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42991 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42992
42993     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42994       for ac_func in _finitef
42995 do :
42996   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42997 if test "x$ac_cv_func__finitef" = x""yes; then :
42998   cat >>confdefs.h <<_ACEOF
42999 #define HAVE__FINITEF 1
43000 _ACEOF
43001
43002 fi
43003 done
43004
43005     fi
43006   fi
43007
43008
43009
43010
43011
43012     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43013 $as_echo_n "checking for long double trig functions... " >&6; }
43014   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43015   $as_echo_n "(cached) " >&6
43016 else
43017
43018
43019     ac_ext=cpp
43020 ac_cpp='$CXXCPP $CPPFLAGS'
43021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43024
43025     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43026 /* end confdefs.h.  */
43027 #include <math.h>
43028 int
43029 main ()
43030 {
43031 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43032   ;
43033   return 0;
43034 }
43035 _ACEOF
43036 if ac_fn_cxx_try_compile "$LINENO"; then :
43037   glibcxx_cv_func_long_double_trig_use=yes
43038 else
43039   glibcxx_cv_func_long_double_trig_use=no
43040 fi
43041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43042     ac_ext=c
43043 ac_cpp='$CPP $CPPFLAGS'
43044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43047
43048 fi
43049
43050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43051 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43052   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43053     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43054 do :
43055   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43057 eval as_val=\$$as_ac_var
43058    if test "x$as_val" = x""yes; then :
43059   cat >>confdefs.h <<_ACEOF
43060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43061 _ACEOF
43062
43063 fi
43064 done
43065
43066   else
43067     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43068 $as_echo_n "checking for _long double trig functions... " >&6; }
43069     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43070   $as_echo_n "(cached) " >&6
43071 else
43072
43073
43074       ac_ext=cpp
43075 ac_cpp='$CXXCPP $CPPFLAGS'
43076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43079
43080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43081 /* end confdefs.h.  */
43082 #include <math.h>
43083 int
43084 main ()
43085 {
43086 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43087   ;
43088   return 0;
43089 }
43090 _ACEOF
43091 if ac_fn_cxx_try_compile "$LINENO"; then :
43092   glibcxx_cv_func__long_double_trig_use=yes
43093 else
43094   glibcxx_cv_func__long_double_trig_use=no
43095 fi
43096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43097       ac_ext=c
43098 ac_cpp='$CPP $CPPFLAGS'
43099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43102
43103 fi
43104
43105     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43106 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43107     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43108       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43109 do :
43110   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43112 eval as_val=\$$as_ac_var
43113    if test "x$as_val" = x""yes; then :
43114   cat >>confdefs.h <<_ACEOF
43115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43116 _ACEOF
43117
43118 fi
43119 done
43120
43121     fi
43122   fi
43123
43124
43125
43126
43127
43128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43129 $as_echo_n "checking for long double round functions... " >&6; }
43130   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43131   $as_echo_n "(cached) " >&6
43132 else
43133
43134
43135     ac_ext=cpp
43136 ac_cpp='$CXXCPP $CPPFLAGS'
43137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43140
43141     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43142 /* end confdefs.h.  */
43143 #include <math.h>
43144 int
43145 main ()
43146 {
43147 ceill (0); floorl (0);
43148   ;
43149   return 0;
43150 }
43151 _ACEOF
43152 if ac_fn_cxx_try_compile "$LINENO"; then :
43153   glibcxx_cv_func_long_double_round_use=yes
43154 else
43155   glibcxx_cv_func_long_double_round_use=no
43156 fi
43157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43158     ac_ext=c
43159 ac_cpp='$CPP $CPPFLAGS'
43160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43163
43164 fi
43165
43166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43167 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43168   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43169     for ac_func in ceill floorl
43170 do :
43171   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43173 eval as_val=\$$as_ac_var
43174    if test "x$as_val" = x""yes; then :
43175   cat >>confdefs.h <<_ACEOF
43176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43177 _ACEOF
43178
43179 fi
43180 done
43181
43182   else
43183     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43184 $as_echo_n "checking for _long double round functions... " >&6; }
43185     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43186   $as_echo_n "(cached) " >&6
43187 else
43188
43189
43190       ac_ext=cpp
43191 ac_cpp='$CXXCPP $CPPFLAGS'
43192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43195
43196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43197 /* end confdefs.h.  */
43198 #include <math.h>
43199 int
43200 main ()
43201 {
43202 _ceill (0); _floorl (0);
43203   ;
43204   return 0;
43205 }
43206 _ACEOF
43207 if ac_fn_cxx_try_compile "$LINENO"; then :
43208   glibcxx_cv_func__long_double_round_use=yes
43209 else
43210   glibcxx_cv_func__long_double_round_use=no
43211 fi
43212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43213       ac_ext=c
43214 ac_cpp='$CPP $CPPFLAGS'
43215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43218
43219 fi
43220
43221     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43222 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43223     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43224       for ac_func in _ceill _floorl
43225 do :
43226   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43228 eval as_val=\$$as_ac_var
43229    if test "x$as_val" = x""yes; then :
43230   cat >>confdefs.h <<_ACEOF
43231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43232 _ACEOF
43233
43234 fi
43235 done
43236
43237     fi
43238   fi
43239
43240
43241
43242
43243
43244
43245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43246 $as_echo_n "checking for isnanl declaration... " >&6; }
43247   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43248     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43249   $as_echo_n "(cached) " >&6
43250 else
43251
43252
43253       ac_ext=cpp
43254 ac_cpp='$CXXCPP $CPPFLAGS'
43255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43258
43259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43260 /* end confdefs.h.  */
43261 #include <math.h>
43262                       #ifdef HAVE_IEEEFP_H
43263                       #include <ieeefp.h>
43264                       #endif
43265
43266 int
43267 main ()
43268 {
43269  isnanl(0);
43270   ;
43271   return 0;
43272 }
43273 _ACEOF
43274 if ac_fn_cxx_try_compile "$LINENO"; then :
43275   glibcxx_cv_func_isnanl_use=yes
43276 else
43277   glibcxx_cv_func_isnanl_use=no
43278 fi
43279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43280       ac_ext=c
43281 ac_cpp='$CPP $CPPFLAGS'
43282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43285
43286
43287 fi
43288
43289   fi
43290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43291 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43292
43293   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43294     for ac_func in isnanl
43295 do :
43296   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43297 if test "x$ac_cv_func_isnanl" = x""yes; then :
43298   cat >>confdefs.h <<_ACEOF
43299 #define HAVE_ISNANL 1
43300 _ACEOF
43301
43302 fi
43303 done
43304
43305   else
43306
43307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43308 $as_echo_n "checking for _isnanl declaration... " >&6; }
43309   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43310     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43311   $as_echo_n "(cached) " >&6
43312 else
43313
43314
43315       ac_ext=cpp
43316 ac_cpp='$CXXCPP $CPPFLAGS'
43317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43320
43321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43322 /* end confdefs.h.  */
43323 #include <math.h>
43324                       #ifdef HAVE_IEEEFP_H
43325                       #include <ieeefp.h>
43326                       #endif
43327
43328 int
43329 main ()
43330 {
43331  _isnanl(0);
43332   ;
43333   return 0;
43334 }
43335 _ACEOF
43336 if ac_fn_cxx_try_compile "$LINENO"; then :
43337   glibcxx_cv_func__isnanl_use=yes
43338 else
43339   glibcxx_cv_func__isnanl_use=no
43340 fi
43341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43342       ac_ext=c
43343 ac_cpp='$CPP $CPPFLAGS'
43344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43347
43348
43349 fi
43350
43351   fi
43352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43353 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43354
43355     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43356       for ac_func in _isnanl
43357 do :
43358   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43359 if test "x$ac_cv_func__isnanl" = x""yes; then :
43360   cat >>confdefs.h <<_ACEOF
43361 #define HAVE__ISNANL 1
43362 _ACEOF
43363
43364 fi
43365 done
43366
43367     fi
43368   fi
43369
43370
43371
43372
43373
43374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43375 $as_echo_n "checking for isinfl declaration... " >&6; }
43376   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43377     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43378   $as_echo_n "(cached) " >&6
43379 else
43380
43381
43382       ac_ext=cpp
43383 ac_cpp='$CXXCPP $CPPFLAGS'
43384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43387
43388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43389 /* end confdefs.h.  */
43390 #include <math.h>
43391                       #ifdef HAVE_IEEEFP_H
43392                       #include <ieeefp.h>
43393                       #endif
43394
43395 int
43396 main ()
43397 {
43398  isinfl(0);
43399   ;
43400   return 0;
43401 }
43402 _ACEOF
43403 if ac_fn_cxx_try_compile "$LINENO"; then :
43404   glibcxx_cv_func_isinfl_use=yes
43405 else
43406   glibcxx_cv_func_isinfl_use=no
43407 fi
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409       ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414
43415
43416 fi
43417
43418   fi
43419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43420 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43421
43422   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43423     for ac_func in isinfl
43424 do :
43425   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43426 if test "x$ac_cv_func_isinfl" = x""yes; then :
43427   cat >>confdefs.h <<_ACEOF
43428 #define HAVE_ISINFL 1
43429 _ACEOF
43430
43431 fi
43432 done
43433
43434   else
43435
43436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43437 $as_echo_n "checking for _isinfl declaration... " >&6; }
43438   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43439     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43440   $as_echo_n "(cached) " >&6
43441 else
43442
43443
43444       ac_ext=cpp
43445 ac_cpp='$CXXCPP $CPPFLAGS'
43446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43449
43450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43451 /* end confdefs.h.  */
43452 #include <math.h>
43453                       #ifdef HAVE_IEEEFP_H
43454                       #include <ieeefp.h>
43455                       #endif
43456
43457 int
43458 main ()
43459 {
43460  _isinfl(0);
43461   ;
43462   return 0;
43463 }
43464 _ACEOF
43465 if ac_fn_cxx_try_compile "$LINENO"; then :
43466   glibcxx_cv_func__isinfl_use=yes
43467 else
43468   glibcxx_cv_func__isinfl_use=no
43469 fi
43470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43471       ac_ext=c
43472 ac_cpp='$CPP $CPPFLAGS'
43473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43476
43477
43478 fi
43479
43480   fi
43481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43482 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43483
43484     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43485       for ac_func in _isinfl
43486 do :
43487   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43488 if test "x$ac_cv_func__isinfl" = x""yes; then :
43489   cat >>confdefs.h <<_ACEOF
43490 #define HAVE__ISINFL 1
43491 _ACEOF
43492
43493 fi
43494 done
43495
43496     fi
43497   fi
43498
43499
43500
43501
43502
43503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43504 $as_echo_n "checking for atan2l declaration... " >&6; }
43505   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43506     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43507   $as_echo_n "(cached) " >&6
43508 else
43509
43510
43511       ac_ext=cpp
43512 ac_cpp='$CXXCPP $CPPFLAGS'
43513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43516
43517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43518 /* end confdefs.h.  */
43519 #include <math.h>
43520 int
43521 main ()
43522 {
43523  atan2l(0, 0);
43524   ;
43525   return 0;
43526 }
43527 _ACEOF
43528 if ac_fn_cxx_try_compile "$LINENO"; then :
43529   glibcxx_cv_func_atan2l_use=yes
43530 else
43531   glibcxx_cv_func_atan2l_use=no
43532 fi
43533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43534       ac_ext=c
43535 ac_cpp='$CPP $CPPFLAGS'
43536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43539
43540
43541 fi
43542
43543   fi
43544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43545 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43546
43547   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43548     for ac_func in atan2l
43549 do :
43550   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43551 if test "x$ac_cv_func_atan2l" = x""yes; then :
43552   cat >>confdefs.h <<_ACEOF
43553 #define HAVE_ATAN2L 1
43554 _ACEOF
43555
43556 fi
43557 done
43558
43559   else
43560
43561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43562 $as_echo_n "checking for _atan2l declaration... " >&6; }
43563   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43564     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43565   $as_echo_n "(cached) " >&6
43566 else
43567
43568
43569       ac_ext=cpp
43570 ac_cpp='$CXXCPP $CPPFLAGS'
43571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43574
43575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43576 /* end confdefs.h.  */
43577 #include <math.h>
43578 int
43579 main ()
43580 {
43581  _atan2l(0, 0);
43582   ;
43583   return 0;
43584 }
43585 _ACEOF
43586 if ac_fn_cxx_try_compile "$LINENO"; then :
43587   glibcxx_cv_func__atan2l_use=yes
43588 else
43589   glibcxx_cv_func__atan2l_use=no
43590 fi
43591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43592       ac_ext=c
43593 ac_cpp='$CPP $CPPFLAGS'
43594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43597
43598
43599 fi
43600
43601   fi
43602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43603 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43604
43605     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43606       for ac_func in _atan2l
43607 do :
43608   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43609 if test "x$ac_cv_func__atan2l" = x""yes; then :
43610   cat >>confdefs.h <<_ACEOF
43611 #define HAVE__ATAN2L 1
43612 _ACEOF
43613
43614 fi
43615 done
43616
43617     fi
43618   fi
43619
43620
43621
43622
43623
43624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43625 $as_echo_n "checking for expl declaration... " >&6; }
43626   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43627     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43628   $as_echo_n "(cached) " >&6
43629 else
43630
43631
43632       ac_ext=cpp
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43637
43638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43639 /* end confdefs.h.  */
43640 #include <math.h>
43641                       #ifdef HAVE_IEEEFP_H
43642                       #include <ieeefp.h>
43643                       #endif
43644
43645 int
43646 main ()
43647 {
43648  expl(0);
43649   ;
43650   return 0;
43651 }
43652 _ACEOF
43653 if ac_fn_cxx_try_compile "$LINENO"; then :
43654   glibcxx_cv_func_expl_use=yes
43655 else
43656   glibcxx_cv_func_expl_use=no
43657 fi
43658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43659       ac_ext=c
43660 ac_cpp='$CPP $CPPFLAGS'
43661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43664
43665
43666 fi
43667
43668   fi
43669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43670 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43671
43672   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43673     for ac_func in expl
43674 do :
43675   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43676 if test "x$ac_cv_func_expl" = x""yes; then :
43677   cat >>confdefs.h <<_ACEOF
43678 #define HAVE_EXPL 1
43679 _ACEOF
43680
43681 fi
43682 done
43683
43684   else
43685
43686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43687 $as_echo_n "checking for _expl declaration... " >&6; }
43688   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43689     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43690   $as_echo_n "(cached) " >&6
43691 else
43692
43693
43694       ac_ext=cpp
43695 ac_cpp='$CXXCPP $CPPFLAGS'
43696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43699
43700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43701 /* end confdefs.h.  */
43702 #include <math.h>
43703                       #ifdef HAVE_IEEEFP_H
43704                       #include <ieeefp.h>
43705                       #endif
43706
43707 int
43708 main ()
43709 {
43710  _expl(0);
43711   ;
43712   return 0;
43713 }
43714 _ACEOF
43715 if ac_fn_cxx_try_compile "$LINENO"; then :
43716   glibcxx_cv_func__expl_use=yes
43717 else
43718   glibcxx_cv_func__expl_use=no
43719 fi
43720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43721       ac_ext=c
43722 ac_cpp='$CPP $CPPFLAGS'
43723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43726
43727
43728 fi
43729
43730   fi
43731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43732 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43733
43734     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43735       for ac_func in _expl
43736 do :
43737   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43738 if test "x$ac_cv_func__expl" = x""yes; then :
43739   cat >>confdefs.h <<_ACEOF
43740 #define HAVE__EXPL 1
43741 _ACEOF
43742
43743 fi
43744 done
43745
43746     fi
43747   fi
43748
43749
43750
43751
43752
43753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43754 $as_echo_n "checking for fabsl declaration... " >&6; }
43755   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43756     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43757   $as_echo_n "(cached) " >&6
43758 else
43759
43760
43761       ac_ext=cpp
43762 ac_cpp='$CXXCPP $CPPFLAGS'
43763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43766
43767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43768 /* end confdefs.h.  */
43769 #include <math.h>
43770                       #ifdef HAVE_IEEEFP_H
43771                       #include <ieeefp.h>
43772                       #endif
43773
43774 int
43775 main ()
43776 {
43777  fabsl(0);
43778   ;
43779   return 0;
43780 }
43781 _ACEOF
43782 if ac_fn_cxx_try_compile "$LINENO"; then :
43783   glibcxx_cv_func_fabsl_use=yes
43784 else
43785   glibcxx_cv_func_fabsl_use=no
43786 fi
43787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43788       ac_ext=c
43789 ac_cpp='$CPP $CPPFLAGS'
43790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43793
43794
43795 fi
43796
43797   fi
43798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43799 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43800
43801   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43802     for ac_func in fabsl
43803 do :
43804   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43805 if test "x$ac_cv_func_fabsl" = x""yes; then :
43806   cat >>confdefs.h <<_ACEOF
43807 #define HAVE_FABSL 1
43808 _ACEOF
43809
43810 fi
43811 done
43812
43813   else
43814
43815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43816 $as_echo_n "checking for _fabsl declaration... " >&6; }
43817   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43818     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43819   $as_echo_n "(cached) " >&6
43820 else
43821
43822
43823       ac_ext=cpp
43824 ac_cpp='$CXXCPP $CPPFLAGS'
43825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43828
43829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43830 /* end confdefs.h.  */
43831 #include <math.h>
43832                       #ifdef HAVE_IEEEFP_H
43833                       #include <ieeefp.h>
43834                       #endif
43835
43836 int
43837 main ()
43838 {
43839  _fabsl(0);
43840   ;
43841   return 0;
43842 }
43843 _ACEOF
43844 if ac_fn_cxx_try_compile "$LINENO"; then :
43845   glibcxx_cv_func__fabsl_use=yes
43846 else
43847   glibcxx_cv_func__fabsl_use=no
43848 fi
43849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43850       ac_ext=c
43851 ac_cpp='$CPP $CPPFLAGS'
43852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43855
43856
43857 fi
43858
43859   fi
43860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43861 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43862
43863     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43864       for ac_func in _fabsl
43865 do :
43866   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43867 if test "x$ac_cv_func__fabsl" = x""yes; then :
43868   cat >>confdefs.h <<_ACEOF
43869 #define HAVE__FABSL 1
43870 _ACEOF
43871
43872 fi
43873 done
43874
43875     fi
43876   fi
43877
43878
43879
43880
43881
43882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43883 $as_echo_n "checking for fmodl declaration... " >&6; }
43884   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43885     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43886   $as_echo_n "(cached) " >&6
43887 else
43888
43889
43890       ac_ext=cpp
43891 ac_cpp='$CXXCPP $CPPFLAGS'
43892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43895
43896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43897 /* end confdefs.h.  */
43898 #include <math.h>
43899 int
43900 main ()
43901 {
43902  fmodl(0, 0);
43903   ;
43904   return 0;
43905 }
43906 _ACEOF
43907 if ac_fn_cxx_try_compile "$LINENO"; then :
43908   glibcxx_cv_func_fmodl_use=yes
43909 else
43910   glibcxx_cv_func_fmodl_use=no
43911 fi
43912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43913       ac_ext=c
43914 ac_cpp='$CPP $CPPFLAGS'
43915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43918
43919
43920 fi
43921
43922   fi
43923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43924 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43925
43926   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43927     for ac_func in fmodl
43928 do :
43929   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43930 if test "x$ac_cv_func_fmodl" = x""yes; then :
43931   cat >>confdefs.h <<_ACEOF
43932 #define HAVE_FMODL 1
43933 _ACEOF
43934
43935 fi
43936 done
43937
43938   else
43939
43940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43941 $as_echo_n "checking for _fmodl declaration... " >&6; }
43942   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43943     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43944   $as_echo_n "(cached) " >&6
43945 else
43946
43947
43948       ac_ext=cpp
43949 ac_cpp='$CXXCPP $CPPFLAGS'
43950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43953
43954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43955 /* end confdefs.h.  */
43956 #include <math.h>
43957 int
43958 main ()
43959 {
43960  _fmodl(0, 0);
43961   ;
43962   return 0;
43963 }
43964 _ACEOF
43965 if ac_fn_cxx_try_compile "$LINENO"; then :
43966   glibcxx_cv_func__fmodl_use=yes
43967 else
43968   glibcxx_cv_func__fmodl_use=no
43969 fi
43970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43971       ac_ext=c
43972 ac_cpp='$CPP $CPPFLAGS'
43973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43976
43977
43978 fi
43979
43980   fi
43981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43982 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43983
43984     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43985       for ac_func in _fmodl
43986 do :
43987   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43988 if test "x$ac_cv_func__fmodl" = x""yes; then :
43989   cat >>confdefs.h <<_ACEOF
43990 #define HAVE__FMODL 1
43991 _ACEOF
43992
43993 fi
43994 done
43995
43996     fi
43997   fi
43998
43999
44000
44001
44002
44003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44004 $as_echo_n "checking for frexpl declaration... " >&6; }
44005   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44006     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44007   $as_echo_n "(cached) " >&6
44008 else
44009
44010
44011       ac_ext=cpp
44012 ac_cpp='$CXXCPP $CPPFLAGS'
44013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44016
44017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44018 /* end confdefs.h.  */
44019 #include <math.h>
44020 int
44021 main ()
44022 {
44023  frexpl(0, 0);
44024   ;
44025   return 0;
44026 }
44027 _ACEOF
44028 if ac_fn_cxx_try_compile "$LINENO"; then :
44029   glibcxx_cv_func_frexpl_use=yes
44030 else
44031   glibcxx_cv_func_frexpl_use=no
44032 fi
44033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44034       ac_ext=c
44035 ac_cpp='$CPP $CPPFLAGS'
44036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44039
44040
44041 fi
44042
44043   fi
44044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44045 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44046
44047   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44048     for ac_func in frexpl
44049 do :
44050   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44051 if test "x$ac_cv_func_frexpl" = x""yes; then :
44052   cat >>confdefs.h <<_ACEOF
44053 #define HAVE_FREXPL 1
44054 _ACEOF
44055
44056 fi
44057 done
44058
44059   else
44060
44061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44062 $as_echo_n "checking for _frexpl declaration... " >&6; }
44063   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44064     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44065   $as_echo_n "(cached) " >&6
44066 else
44067
44068
44069       ac_ext=cpp
44070 ac_cpp='$CXXCPP $CPPFLAGS'
44071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44074
44075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44076 /* end confdefs.h.  */
44077 #include <math.h>
44078 int
44079 main ()
44080 {
44081  _frexpl(0, 0);
44082   ;
44083   return 0;
44084 }
44085 _ACEOF
44086 if ac_fn_cxx_try_compile "$LINENO"; then :
44087   glibcxx_cv_func__frexpl_use=yes
44088 else
44089   glibcxx_cv_func__frexpl_use=no
44090 fi
44091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44092       ac_ext=c
44093 ac_cpp='$CPP $CPPFLAGS'
44094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44097
44098
44099 fi
44100
44101   fi
44102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44103 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44104
44105     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44106       for ac_func in _frexpl
44107 do :
44108   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44109 if test "x$ac_cv_func__frexpl" = x""yes; then :
44110   cat >>confdefs.h <<_ACEOF
44111 #define HAVE__FREXPL 1
44112 _ACEOF
44113
44114 fi
44115 done
44116
44117     fi
44118   fi
44119
44120
44121
44122
44123
44124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44125 $as_echo_n "checking for hypotl declaration... " >&6; }
44126   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44127     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44128   $as_echo_n "(cached) " >&6
44129 else
44130
44131
44132       ac_ext=cpp
44133 ac_cpp='$CXXCPP $CPPFLAGS'
44134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44137
44138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44139 /* end confdefs.h.  */
44140 #include <math.h>
44141 int
44142 main ()
44143 {
44144  hypotl(0, 0);
44145   ;
44146   return 0;
44147 }
44148 _ACEOF
44149 if ac_fn_cxx_try_compile "$LINENO"; then :
44150   glibcxx_cv_func_hypotl_use=yes
44151 else
44152   glibcxx_cv_func_hypotl_use=no
44153 fi
44154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44155       ac_ext=c
44156 ac_cpp='$CPP $CPPFLAGS'
44157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44160
44161
44162 fi
44163
44164   fi
44165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44166 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44167
44168   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44169     for ac_func in hypotl
44170 do :
44171   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44172 if test "x$ac_cv_func_hypotl" = x""yes; then :
44173   cat >>confdefs.h <<_ACEOF
44174 #define HAVE_HYPOTL 1
44175 _ACEOF
44176
44177 fi
44178 done
44179
44180   else
44181
44182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44183 $as_echo_n "checking for _hypotl declaration... " >&6; }
44184   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44185     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44186   $as_echo_n "(cached) " >&6
44187 else
44188
44189
44190       ac_ext=cpp
44191 ac_cpp='$CXXCPP $CPPFLAGS'
44192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44195
44196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44197 /* end confdefs.h.  */
44198 #include <math.h>
44199 int
44200 main ()
44201 {
44202  _hypotl(0, 0);
44203   ;
44204   return 0;
44205 }
44206 _ACEOF
44207 if ac_fn_cxx_try_compile "$LINENO"; then :
44208   glibcxx_cv_func__hypotl_use=yes
44209 else
44210   glibcxx_cv_func__hypotl_use=no
44211 fi
44212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44213       ac_ext=c
44214 ac_cpp='$CPP $CPPFLAGS'
44215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44218
44219
44220 fi
44221
44222   fi
44223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44224 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44225
44226     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44227       for ac_func in _hypotl
44228 do :
44229   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44230 if test "x$ac_cv_func__hypotl" = x""yes; then :
44231   cat >>confdefs.h <<_ACEOF
44232 #define HAVE__HYPOTL 1
44233 _ACEOF
44234
44235 fi
44236 done
44237
44238     fi
44239   fi
44240
44241
44242
44243
44244
44245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44246 $as_echo_n "checking for ldexpl declaration... " >&6; }
44247   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44248     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44249   $as_echo_n "(cached) " >&6
44250 else
44251
44252
44253       ac_ext=cpp
44254 ac_cpp='$CXXCPP $CPPFLAGS'
44255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44258
44259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44260 /* end confdefs.h.  */
44261 #include <math.h>
44262 int
44263 main ()
44264 {
44265  ldexpl(0, 0);
44266   ;
44267   return 0;
44268 }
44269 _ACEOF
44270 if ac_fn_cxx_try_compile "$LINENO"; then :
44271   glibcxx_cv_func_ldexpl_use=yes
44272 else
44273   glibcxx_cv_func_ldexpl_use=no
44274 fi
44275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44276       ac_ext=c
44277 ac_cpp='$CPP $CPPFLAGS'
44278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44281
44282
44283 fi
44284
44285   fi
44286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44287 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44288
44289   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44290     for ac_func in ldexpl
44291 do :
44292   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44293 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44294   cat >>confdefs.h <<_ACEOF
44295 #define HAVE_LDEXPL 1
44296 _ACEOF
44297
44298 fi
44299 done
44300
44301   else
44302
44303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44304 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44305   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44306     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44307   $as_echo_n "(cached) " >&6
44308 else
44309
44310
44311       ac_ext=cpp
44312 ac_cpp='$CXXCPP $CPPFLAGS'
44313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44316
44317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44318 /* end confdefs.h.  */
44319 #include <math.h>
44320 int
44321 main ()
44322 {
44323  _ldexpl(0, 0);
44324   ;
44325   return 0;
44326 }
44327 _ACEOF
44328 if ac_fn_cxx_try_compile "$LINENO"; then :
44329   glibcxx_cv_func__ldexpl_use=yes
44330 else
44331   glibcxx_cv_func__ldexpl_use=no
44332 fi
44333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44334       ac_ext=c
44335 ac_cpp='$CPP $CPPFLAGS'
44336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44339
44340
44341 fi
44342
44343   fi
44344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44345 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44346
44347     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44348       for ac_func in _ldexpl
44349 do :
44350   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44351 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44352   cat >>confdefs.h <<_ACEOF
44353 #define HAVE__LDEXPL 1
44354 _ACEOF
44355
44356 fi
44357 done
44358
44359     fi
44360   fi
44361
44362
44363
44364
44365
44366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44367 $as_echo_n "checking for logl declaration... " >&6; }
44368   if test x${glibcxx_cv_func_logl_use+set} != xset; then
44369     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44370   $as_echo_n "(cached) " >&6
44371 else
44372
44373
44374       ac_ext=cpp
44375 ac_cpp='$CXXCPP $CPPFLAGS'
44376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44379
44380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44381 /* end confdefs.h.  */
44382 #include <math.h>
44383                       #ifdef HAVE_IEEEFP_H
44384                       #include <ieeefp.h>
44385                       #endif
44386
44387 int
44388 main ()
44389 {
44390  logl(0);
44391   ;
44392   return 0;
44393 }
44394 _ACEOF
44395 if ac_fn_cxx_try_compile "$LINENO"; then :
44396   glibcxx_cv_func_logl_use=yes
44397 else
44398   glibcxx_cv_func_logl_use=no
44399 fi
44400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44401       ac_ext=c
44402 ac_cpp='$CPP $CPPFLAGS'
44403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44406
44407
44408 fi
44409
44410   fi
44411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44412 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44413
44414   if test x$glibcxx_cv_func_logl_use = x"yes"; then
44415     for ac_func in logl
44416 do :
44417   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44418 if test "x$ac_cv_func_logl" = x""yes; then :
44419   cat >>confdefs.h <<_ACEOF
44420 #define HAVE_LOGL 1
44421 _ACEOF
44422
44423 fi
44424 done
44425
44426   else
44427
44428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44429 $as_echo_n "checking for _logl declaration... " >&6; }
44430   if test x${glibcxx_cv_func__logl_use+set} != xset; then
44431     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44432   $as_echo_n "(cached) " >&6
44433 else
44434
44435
44436       ac_ext=cpp
44437 ac_cpp='$CXXCPP $CPPFLAGS'
44438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44441
44442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44443 /* end confdefs.h.  */
44444 #include <math.h>
44445                       #ifdef HAVE_IEEEFP_H
44446                       #include <ieeefp.h>
44447                       #endif
44448
44449 int
44450 main ()
44451 {
44452  _logl(0);
44453   ;
44454   return 0;
44455 }
44456 _ACEOF
44457 if ac_fn_cxx_try_compile "$LINENO"; then :
44458   glibcxx_cv_func__logl_use=yes
44459 else
44460   glibcxx_cv_func__logl_use=no
44461 fi
44462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44463       ac_ext=c
44464 ac_cpp='$CPP $CPPFLAGS'
44465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44468
44469
44470 fi
44471
44472   fi
44473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44474 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44475
44476     if test x$glibcxx_cv_func__logl_use = x"yes"; then
44477       for ac_func in _logl
44478 do :
44479   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44480 if test "x$ac_cv_func__logl" = x""yes; then :
44481   cat >>confdefs.h <<_ACEOF
44482 #define HAVE__LOGL 1
44483 _ACEOF
44484
44485 fi
44486 done
44487
44488     fi
44489   fi
44490
44491
44492
44493
44494
44495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44496 $as_echo_n "checking for log10l declaration... " >&6; }
44497   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44498     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44499   $as_echo_n "(cached) " >&6
44500 else
44501
44502
44503       ac_ext=cpp
44504 ac_cpp='$CXXCPP $CPPFLAGS'
44505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44508
44509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44510 /* end confdefs.h.  */
44511 #include <math.h>
44512                       #ifdef HAVE_IEEEFP_H
44513                       #include <ieeefp.h>
44514                       #endif
44515
44516 int
44517 main ()
44518 {
44519  log10l(0);
44520   ;
44521   return 0;
44522 }
44523 _ACEOF
44524 if ac_fn_cxx_try_compile "$LINENO"; then :
44525   glibcxx_cv_func_log10l_use=yes
44526 else
44527   glibcxx_cv_func_log10l_use=no
44528 fi
44529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44530       ac_ext=c
44531 ac_cpp='$CPP $CPPFLAGS'
44532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44535
44536
44537 fi
44538
44539   fi
44540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44541 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44542
44543   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44544     for ac_func in log10l
44545 do :
44546   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44547 if test "x$ac_cv_func_log10l" = x""yes; then :
44548   cat >>confdefs.h <<_ACEOF
44549 #define HAVE_LOG10L 1
44550 _ACEOF
44551
44552 fi
44553 done
44554
44555   else
44556
44557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44558 $as_echo_n "checking for _log10l declaration... " >&6; }
44559   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44560     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44561   $as_echo_n "(cached) " >&6
44562 else
44563
44564
44565       ac_ext=cpp
44566 ac_cpp='$CXXCPP $CPPFLAGS'
44567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44570
44571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44572 /* end confdefs.h.  */
44573 #include <math.h>
44574                       #ifdef HAVE_IEEEFP_H
44575                       #include <ieeefp.h>
44576                       #endif
44577
44578 int
44579 main ()
44580 {
44581  _log10l(0);
44582   ;
44583   return 0;
44584 }
44585 _ACEOF
44586 if ac_fn_cxx_try_compile "$LINENO"; then :
44587   glibcxx_cv_func__log10l_use=yes
44588 else
44589   glibcxx_cv_func__log10l_use=no
44590 fi
44591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44592       ac_ext=c
44593 ac_cpp='$CPP $CPPFLAGS'
44594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44597
44598
44599 fi
44600
44601   fi
44602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44603 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44604
44605     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44606       for ac_func in _log10l
44607 do :
44608   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44609 if test "x$ac_cv_func__log10l" = x""yes; then :
44610   cat >>confdefs.h <<_ACEOF
44611 #define HAVE__LOG10L 1
44612 _ACEOF
44613
44614 fi
44615 done
44616
44617     fi
44618   fi
44619
44620
44621
44622
44623
44624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44625 $as_echo_n "checking for modfl declaration... " >&6; }
44626   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44627     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44628   $as_echo_n "(cached) " >&6
44629 else
44630
44631
44632       ac_ext=cpp
44633 ac_cpp='$CXXCPP $CPPFLAGS'
44634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44637
44638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44639 /* end confdefs.h.  */
44640 #include <math.h>
44641 int
44642 main ()
44643 {
44644  modfl(0, 0);
44645   ;
44646   return 0;
44647 }
44648 _ACEOF
44649 if ac_fn_cxx_try_compile "$LINENO"; then :
44650   glibcxx_cv_func_modfl_use=yes
44651 else
44652   glibcxx_cv_func_modfl_use=no
44653 fi
44654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44655       ac_ext=c
44656 ac_cpp='$CPP $CPPFLAGS'
44657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44660
44661
44662 fi
44663
44664   fi
44665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44666 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44667
44668   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44669     for ac_func in modfl
44670 do :
44671   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44672 if test "x$ac_cv_func_modfl" = x""yes; then :
44673   cat >>confdefs.h <<_ACEOF
44674 #define HAVE_MODFL 1
44675 _ACEOF
44676
44677 fi
44678 done
44679
44680   else
44681
44682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44683 $as_echo_n "checking for _modfl declaration... " >&6; }
44684   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44685     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44686   $as_echo_n "(cached) " >&6
44687 else
44688
44689
44690       ac_ext=cpp
44691 ac_cpp='$CXXCPP $CPPFLAGS'
44692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44695
44696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44697 /* end confdefs.h.  */
44698 #include <math.h>
44699 int
44700 main ()
44701 {
44702  _modfl(0, 0);
44703   ;
44704   return 0;
44705 }
44706 _ACEOF
44707 if ac_fn_cxx_try_compile "$LINENO"; then :
44708   glibcxx_cv_func__modfl_use=yes
44709 else
44710   glibcxx_cv_func__modfl_use=no
44711 fi
44712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44713       ac_ext=c
44714 ac_cpp='$CPP $CPPFLAGS'
44715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44718
44719
44720 fi
44721
44722   fi
44723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44724 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44725
44726     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44727       for ac_func in _modfl
44728 do :
44729   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44730 if test "x$ac_cv_func__modfl" = x""yes; then :
44731   cat >>confdefs.h <<_ACEOF
44732 #define HAVE__MODFL 1
44733 _ACEOF
44734
44735 fi
44736 done
44737
44738     fi
44739   fi
44740
44741
44742
44743
44744
44745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44746 $as_echo_n "checking for powl declaration... " >&6; }
44747   if test x${glibcxx_cv_func_powl_use+set} != xset; then
44748     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44749   $as_echo_n "(cached) " >&6
44750 else
44751
44752
44753       ac_ext=cpp
44754 ac_cpp='$CXXCPP $CPPFLAGS'
44755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44758
44759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44760 /* end confdefs.h.  */
44761 #include <math.h>
44762 int
44763 main ()
44764 {
44765  powl(0, 0);
44766   ;
44767   return 0;
44768 }
44769 _ACEOF
44770 if ac_fn_cxx_try_compile "$LINENO"; then :
44771   glibcxx_cv_func_powl_use=yes
44772 else
44773   glibcxx_cv_func_powl_use=no
44774 fi
44775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44776       ac_ext=c
44777 ac_cpp='$CPP $CPPFLAGS'
44778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44781
44782
44783 fi
44784
44785   fi
44786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44787 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44788
44789   if test x$glibcxx_cv_func_powl_use = x"yes"; then
44790     for ac_func in powl
44791 do :
44792   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44793 if test "x$ac_cv_func_powl" = x""yes; then :
44794   cat >>confdefs.h <<_ACEOF
44795 #define HAVE_POWL 1
44796 _ACEOF
44797
44798 fi
44799 done
44800
44801   else
44802
44803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44804 $as_echo_n "checking for _powl declaration... " >&6; }
44805   if test x${glibcxx_cv_func__powl_use+set} != xset; then
44806     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44807   $as_echo_n "(cached) " >&6
44808 else
44809
44810
44811       ac_ext=cpp
44812 ac_cpp='$CXXCPP $CPPFLAGS'
44813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44816
44817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44818 /* end confdefs.h.  */
44819 #include <math.h>
44820 int
44821 main ()
44822 {
44823  _powl(0, 0);
44824   ;
44825   return 0;
44826 }
44827 _ACEOF
44828 if ac_fn_cxx_try_compile "$LINENO"; then :
44829   glibcxx_cv_func__powl_use=yes
44830 else
44831   glibcxx_cv_func__powl_use=no
44832 fi
44833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44834       ac_ext=c
44835 ac_cpp='$CPP $CPPFLAGS'
44836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44839
44840
44841 fi
44842
44843   fi
44844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44845 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44846
44847     if test x$glibcxx_cv_func__powl_use = x"yes"; then
44848       for ac_func in _powl
44849 do :
44850   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44851 if test "x$ac_cv_func__powl" = x""yes; then :
44852   cat >>confdefs.h <<_ACEOF
44853 #define HAVE__POWL 1
44854 _ACEOF
44855
44856 fi
44857 done
44858
44859     fi
44860   fi
44861
44862
44863
44864
44865
44866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44867 $as_echo_n "checking for sqrtl declaration... " >&6; }
44868   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44869     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44870   $as_echo_n "(cached) " >&6
44871 else
44872
44873
44874       ac_ext=cpp
44875 ac_cpp='$CXXCPP $CPPFLAGS'
44876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44879
44880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44881 /* end confdefs.h.  */
44882 #include <math.h>
44883                       #ifdef HAVE_IEEEFP_H
44884                       #include <ieeefp.h>
44885                       #endif
44886
44887 int
44888 main ()
44889 {
44890  sqrtl(0);
44891   ;
44892   return 0;
44893 }
44894 _ACEOF
44895 if ac_fn_cxx_try_compile "$LINENO"; then :
44896   glibcxx_cv_func_sqrtl_use=yes
44897 else
44898   glibcxx_cv_func_sqrtl_use=no
44899 fi
44900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44901       ac_ext=c
44902 ac_cpp='$CPP $CPPFLAGS'
44903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44906
44907
44908 fi
44909
44910   fi
44911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44912 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44913
44914   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44915     for ac_func in sqrtl
44916 do :
44917   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44918 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44919   cat >>confdefs.h <<_ACEOF
44920 #define HAVE_SQRTL 1
44921 _ACEOF
44922
44923 fi
44924 done
44925
44926   else
44927
44928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44929 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44930   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44931     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44932   $as_echo_n "(cached) " >&6
44933 else
44934
44935
44936       ac_ext=cpp
44937 ac_cpp='$CXXCPP $CPPFLAGS'
44938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44941
44942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44943 /* end confdefs.h.  */
44944 #include <math.h>
44945                       #ifdef HAVE_IEEEFP_H
44946                       #include <ieeefp.h>
44947                       #endif
44948
44949 int
44950 main ()
44951 {
44952  _sqrtl(0);
44953   ;
44954   return 0;
44955 }
44956 _ACEOF
44957 if ac_fn_cxx_try_compile "$LINENO"; then :
44958   glibcxx_cv_func__sqrtl_use=yes
44959 else
44960   glibcxx_cv_func__sqrtl_use=no
44961 fi
44962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44963       ac_ext=c
44964 ac_cpp='$CPP $CPPFLAGS'
44965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44968
44969
44970 fi
44971
44972   fi
44973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44974 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44975
44976     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44977       for ac_func in _sqrtl
44978 do :
44979   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44980 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44981   cat >>confdefs.h <<_ACEOF
44982 #define HAVE__SQRTL 1
44983 _ACEOF
44984
44985 fi
44986 done
44987
44988     fi
44989   fi
44990
44991
44992
44993
44994
44995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44996 $as_echo_n "checking for sincosl declaration... " >&6; }
44997   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44998     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44999   $as_echo_n "(cached) " >&6
45000 else
45001
45002
45003       ac_ext=cpp
45004 ac_cpp='$CXXCPP $CPPFLAGS'
45005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45008
45009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45010 /* end confdefs.h.  */
45011 #include <math.h>
45012 int
45013 main ()
45014 {
45015  sincosl(0, 0, 0);
45016   ;
45017   return 0;
45018 }
45019 _ACEOF
45020 if ac_fn_cxx_try_compile "$LINENO"; then :
45021   glibcxx_cv_func_sincosl_use=yes
45022 else
45023   glibcxx_cv_func_sincosl_use=no
45024 fi
45025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45026       ac_ext=c
45027 ac_cpp='$CPP $CPPFLAGS'
45028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45031
45032
45033 fi
45034
45035   fi
45036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45037 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45038
45039   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45040     for ac_func in sincosl
45041 do :
45042   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45043 if test "x$ac_cv_func_sincosl" = x""yes; then :
45044   cat >>confdefs.h <<_ACEOF
45045 #define HAVE_SINCOSL 1
45046 _ACEOF
45047
45048 fi
45049 done
45050
45051   else
45052
45053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45054 $as_echo_n "checking for _sincosl declaration... " >&6; }
45055   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45056     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45057   $as_echo_n "(cached) " >&6
45058 else
45059
45060
45061       ac_ext=cpp
45062 ac_cpp='$CXXCPP $CPPFLAGS'
45063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45066
45067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h.  */
45069 #include <math.h>
45070 int
45071 main ()
45072 {
45073  _sincosl(0, 0, 0);
45074   ;
45075   return 0;
45076 }
45077 _ACEOF
45078 if ac_fn_cxx_try_compile "$LINENO"; then :
45079   glibcxx_cv_func__sincosl_use=yes
45080 else
45081   glibcxx_cv_func__sincosl_use=no
45082 fi
45083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45084       ac_ext=c
45085 ac_cpp='$CPP $CPPFLAGS'
45086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45089
45090
45091 fi
45092
45093   fi
45094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45095 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45096
45097     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45098       for ac_func in _sincosl
45099 do :
45100   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45101 if test "x$ac_cv_func__sincosl" = x""yes; then :
45102   cat >>confdefs.h <<_ACEOF
45103 #define HAVE__SINCOSL 1
45104 _ACEOF
45105
45106 fi
45107 done
45108
45109     fi
45110   fi
45111
45112
45113
45114
45115
45116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45117 $as_echo_n "checking for finitel declaration... " >&6; }
45118   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45119     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45120   $as_echo_n "(cached) " >&6
45121 else
45122
45123
45124       ac_ext=cpp
45125 ac_cpp='$CXXCPP $CPPFLAGS'
45126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45129
45130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45131 /* end confdefs.h.  */
45132 #include <math.h>
45133                       #ifdef HAVE_IEEEFP_H
45134                       #include <ieeefp.h>
45135                       #endif
45136
45137 int
45138 main ()
45139 {
45140  finitel(0);
45141   ;
45142   return 0;
45143 }
45144 _ACEOF
45145 if ac_fn_cxx_try_compile "$LINENO"; then :
45146   glibcxx_cv_func_finitel_use=yes
45147 else
45148   glibcxx_cv_func_finitel_use=no
45149 fi
45150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45151       ac_ext=c
45152 ac_cpp='$CPP $CPPFLAGS'
45153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45156
45157
45158 fi
45159
45160   fi
45161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45162 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45163
45164   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45165     for ac_func in finitel
45166 do :
45167   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45168 if test "x$ac_cv_func_finitel" = x""yes; then :
45169   cat >>confdefs.h <<_ACEOF
45170 #define HAVE_FINITEL 1
45171 _ACEOF
45172
45173 fi
45174 done
45175
45176   else
45177
45178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45179 $as_echo_n "checking for _finitel declaration... " >&6; }
45180   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45181     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45182   $as_echo_n "(cached) " >&6
45183 else
45184
45185
45186       ac_ext=cpp
45187 ac_cpp='$CXXCPP $CPPFLAGS'
45188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45191
45192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45193 /* end confdefs.h.  */
45194 #include <math.h>
45195                       #ifdef HAVE_IEEEFP_H
45196                       #include <ieeefp.h>
45197                       #endif
45198
45199 int
45200 main ()
45201 {
45202  _finitel(0);
45203   ;
45204   return 0;
45205 }
45206 _ACEOF
45207 if ac_fn_cxx_try_compile "$LINENO"; then :
45208   glibcxx_cv_func__finitel_use=yes
45209 else
45210   glibcxx_cv_func__finitel_use=no
45211 fi
45212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45213       ac_ext=c
45214 ac_cpp='$CPP $CPPFLAGS'
45215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45218
45219
45220 fi
45221
45222   fi
45223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45224 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45225
45226     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45227       for ac_func in _finitel
45228 do :
45229   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45230 if test "x$ac_cv_func__finitel" = x""yes; then :
45231   cat >>confdefs.h <<_ACEOF
45232 #define HAVE__FINITEL 1
45233 _ACEOF
45234
45235 fi
45236 done
45237
45238     fi
45239   fi
45240
45241
45242
45243
45244   LIBS="$ac_save_LIBS"
45245   CXXFLAGS="$ac_save_CXXFLAGS"
45246
45247
45248   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45249   ac_save_CXXFLAGS="$CXXFLAGS"
45250   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45251
45252
45253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45254 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45255   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45256     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45257   $as_echo_n "(cached) " >&6
45258 else
45259
45260
45261       ac_ext=cpp
45262 ac_cpp='$CXXCPP $CPPFLAGS'
45263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45266
45267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45268 /* end confdefs.h.  */
45269 #include <stdlib.h>
45270 int
45271 main ()
45272 {
45273  at_quick_exit(0);
45274   ;
45275   return 0;
45276 }
45277 _ACEOF
45278 if ac_fn_cxx_try_compile "$LINENO"; then :
45279   glibcxx_cv_func_at_quick_exit_use=yes
45280 else
45281   glibcxx_cv_func_at_quick_exit_use=no
45282 fi
45283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45284       ac_ext=c
45285 ac_cpp='$CPP $CPPFLAGS'
45286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45289
45290
45291 fi
45292
45293   fi
45294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45295 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45296   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45297     for ac_func in at_quick_exit
45298 do :
45299   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45300 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45301   cat >>confdefs.h <<_ACEOF
45302 #define HAVE_AT_QUICK_EXIT 1
45303 _ACEOF
45304
45305 fi
45306 done
45307
45308   fi
45309
45310
45311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45312 $as_echo_n "checking for quick_exit declaration... " >&6; }
45313   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45314     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45315   $as_echo_n "(cached) " >&6
45316 else
45317
45318
45319       ac_ext=cpp
45320 ac_cpp='$CXXCPP $CPPFLAGS'
45321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45324
45325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45326 /* end confdefs.h.  */
45327 #include <stdlib.h>
45328 int
45329 main ()
45330 {
45331  quick_exit(0);
45332   ;
45333   return 0;
45334 }
45335 _ACEOF
45336 if ac_fn_cxx_try_compile "$LINENO"; then :
45337   glibcxx_cv_func_quick_exit_use=yes
45338 else
45339   glibcxx_cv_func_quick_exit_use=no
45340 fi
45341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45342       ac_ext=c
45343 ac_cpp='$CPP $CPPFLAGS'
45344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45347
45348
45349 fi
45350
45351   fi
45352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45353 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45354   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45355     for ac_func in quick_exit
45356 do :
45357   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45358 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45359   cat >>confdefs.h <<_ACEOF
45360 #define HAVE_QUICK_EXIT 1
45361 _ACEOF
45362
45363 fi
45364 done
45365
45366   fi
45367
45368
45369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45370 $as_echo_n "checking for strtold declaration... " >&6; }
45371   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45372     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45373   $as_echo_n "(cached) " >&6
45374 else
45375
45376
45377       ac_ext=cpp
45378 ac_cpp='$CXXCPP $CPPFLAGS'
45379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45382
45383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45384 /* end confdefs.h.  */
45385 #include <stdlib.h>
45386 int
45387 main ()
45388 {
45389  strtold(0, 0);
45390   ;
45391   return 0;
45392 }
45393 _ACEOF
45394 if ac_fn_cxx_try_compile "$LINENO"; then :
45395   glibcxx_cv_func_strtold_use=yes
45396 else
45397   glibcxx_cv_func_strtold_use=no
45398 fi
45399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45400       ac_ext=c
45401 ac_cpp='$CPP $CPPFLAGS'
45402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45405
45406
45407 fi
45408
45409   fi
45410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45411 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45412   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45413     for ac_func in strtold
45414 do :
45415   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45416 if test "x$ac_cv_func_strtold" = x""yes; then :
45417   cat >>confdefs.h <<_ACEOF
45418 #define HAVE_STRTOLD 1
45419 _ACEOF
45420
45421 fi
45422 done
45423
45424   fi
45425
45426
45427
45428
45429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45430 $as_echo_n "checking for strtof declaration... " >&6; }
45431   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45432     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45433   $as_echo_n "(cached) " >&6
45434 else
45435
45436
45437       ac_ext=cpp
45438 ac_cpp='$CXXCPP $CPPFLAGS'
45439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45442
45443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45444 /* end confdefs.h.  */
45445 #include <stdlib.h>
45446 int
45447 main ()
45448 {
45449  strtof(0, 0);
45450   ;
45451   return 0;
45452 }
45453 _ACEOF
45454 if ac_fn_cxx_try_compile "$LINENO"; then :
45455   glibcxx_cv_func_strtof_use=yes
45456 else
45457   glibcxx_cv_func_strtof_use=no
45458 fi
45459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45460       ac_ext=c
45461 ac_cpp='$CPP $CPPFLAGS'
45462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45465
45466
45467 fi
45468
45469   fi
45470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45471 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45472   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45473     for ac_func in strtof
45474 do :
45475   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45476 if test "x$ac_cv_func_strtof" = x""yes; then :
45477   cat >>confdefs.h <<_ACEOF
45478 #define HAVE_STRTOF 1
45479 _ACEOF
45480
45481 fi
45482 done
45483
45484   fi
45485
45486
45487
45488
45489   CXXFLAGS="$ac_save_CXXFLAGS"
45490
45491     ;;
45492
45493   *djgpp)
45494     # GLIBCXX_CHECK_MATH_SUPPORT
45495     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45496
45497     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45498
45499     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45500
45501     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45502
45503     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45504
45505     ;;
45506
45507   *-freebsd*)
45508     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45509
45510
45511   # If we're not using GNU ld, then there's no point in even trying these
45512   # tests.  Check for that first.  We should have already tested for gld
45513   # by now (in libtool), but require it now just to be safe...
45514   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45515   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45516
45517
45518
45519   # The name set by libtool depends on the version of libtool.  Shame on us
45520   # for depending on an impl detail, but c'est la vie.  Older versions used
45521   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45522   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45523   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45524   # set (hence we're using an older libtool), then set it.
45525   if test x${with_gnu_ld+set} != xset; then
45526     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45527       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45528       with_gnu_ld=no
45529     else
45530       with_gnu_ld=$ac_cv_prog_gnu_ld
45531     fi
45532   fi
45533
45534   # Start by getting the version number.  I think the libtool test already
45535   # does some of this, but throws away the result.
45536   glibcxx_ld_is_gold=no
45537   if test x"$with_gnu_ld" = x"yes"; then
45538     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45539 $as_echo_n "checking for ld version... " >&6; }
45540
45541     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45542       glibcxx_ld_is_gold=yes
45543     fi
45544     ldver=`$LD --version 2>/dev/null |
45545            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'`
45546
45547     glibcxx_gnu_ld_version=`echo $ldver | \
45548            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45549     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45550 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45551   fi
45552
45553   # Set --gc-sections.
45554   glibcxx_have_gc_sections=no
45555   if test "$glibcxx_ld_is_gold" = "yes"; then
45556     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45557       glibcxx_have_gc_sections=yes
45558     fi
45559   else
45560     glibcxx_gcsections_min_ld=21602
45561     if test x"$with_gnu_ld" = x"yes" &&
45562         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45563       glibcxx_have_gc_sections=yes
45564     fi
45565   fi
45566   if test "$glibcxx_have_gc_sections" = "yes"; then
45567     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45568     # NB: This flag only works reliably after 2.16.1. Configure tests
45569     # for this are difficult, so hard wire a value that should work.
45570
45571     ac_test_CFLAGS="${CFLAGS+set}"
45572     ac_save_CFLAGS="$CFLAGS"
45573     CFLAGS='-Wl,--gc-sections'
45574
45575     # Check for -Wl,--gc-sections
45576     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45577 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45578     if test x$gcc_no_link = xyes; then
45579   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45580 fi
45581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45582 /* end confdefs.h.  */
45583  int one(void) { return 1; }
45584      int two(void) { return 2; }
45585
45586 int
45587 main ()
45588 {
45589  two();
45590   ;
45591   return 0;
45592 }
45593 _ACEOF
45594 if ac_fn_c_try_link "$LINENO"; then :
45595   ac_gcsections=yes
45596 else
45597   ac_gcsections=no
45598 fi
45599 rm -f core conftest.err conftest.$ac_objext \
45600     conftest$ac_exeext conftest.$ac_ext
45601     if test "$ac_gcsections" = "yes"; then
45602       rm -f conftest.c
45603       touch conftest.c
45604       if $CC -c conftest.c; then
45605         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45606            grep "Warning: gc-sections option ignored" > /dev/null; then
45607           ac_gcsections=no
45608         fi
45609       fi
45610       rm -f conftest.c conftest.o conftest
45611     fi
45612     if test "$ac_gcsections" = "yes"; then
45613       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45614     fi
45615     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45616 $as_echo "$ac_gcsections" >&6; }
45617
45618     if test "$ac_test_CFLAGS" = set; then
45619       CFLAGS="$ac_save_CFLAGS"
45620     else
45621       # this is the suspicious part
45622       CFLAGS=''
45623     fi
45624   fi
45625
45626   # Set -z,relro.
45627   # Note this is only for shared objects.
45628   ac_ld_relro=no
45629   if test x"$with_gnu_ld" = x"yes"; then
45630     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45631 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45632     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45633     if test -n "$cxx_z_relo"; then
45634       OPT_LDFLAGS="-Wl,-z,relro"
45635       ac_ld_relro=yes
45636     fi
45637     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45638 $as_echo "$ac_ld_relro" >&6; }
45639   fi
45640
45641   # Set linker optimization flags.
45642   if test x"$with_gnu_ld" = x"yes"; then
45643     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45644   fi
45645
45646
45647
45648
45649     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45650
45651     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45652
45653     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45654
45655     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45656
45657     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45658
45659     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45660
45661     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45662
45663     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45664
45665     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45666
45667
45668     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45669
45670     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45671
45672     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45673
45674     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45675
45676     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45677
45678     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45679
45680     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45681
45682     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45683
45684     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45685
45686     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45687
45688     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45689
45690     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45691
45692     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45693
45694     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45695
45696     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45697
45698     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45699
45700     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45701
45702     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45703
45704     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45705
45706     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45707
45708     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45709
45710     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45711
45712     if test x"long_double_math_on_this_cpu" = x"yes"; then
45713       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45714
45715       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45716
45717       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45718
45719     fi
45720     ;;
45721   *-hpux*)
45722     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45723
45724
45725   # If we're not using GNU ld, then there's no point in even trying these
45726   # tests.  Check for that first.  We should have already tested for gld
45727   # by now (in libtool), but require it now just to be safe...
45728   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45729   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45730
45731
45732
45733   # The name set by libtool depends on the version of libtool.  Shame on us
45734   # for depending on an impl detail, but c'est la vie.  Older versions used
45735   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45736   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45737   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45738   # set (hence we're using an older libtool), then set it.
45739   if test x${with_gnu_ld+set} != xset; then
45740     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45741       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45742       with_gnu_ld=no
45743     else
45744       with_gnu_ld=$ac_cv_prog_gnu_ld
45745     fi
45746   fi
45747
45748   # Start by getting the version number.  I think the libtool test already
45749   # does some of this, but throws away the result.
45750   glibcxx_ld_is_gold=no
45751   if test x"$with_gnu_ld" = x"yes"; then
45752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45753 $as_echo_n "checking for ld version... " >&6; }
45754
45755     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45756       glibcxx_ld_is_gold=yes
45757     fi
45758     ldver=`$LD --version 2>/dev/null |
45759            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'`
45760
45761     glibcxx_gnu_ld_version=`echo $ldver | \
45762            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45763     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45764 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45765   fi
45766
45767   # Set --gc-sections.
45768   glibcxx_have_gc_sections=no
45769   if test "$glibcxx_ld_is_gold" = "yes"; then
45770     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45771       glibcxx_have_gc_sections=yes
45772     fi
45773   else
45774     glibcxx_gcsections_min_ld=21602
45775     if test x"$with_gnu_ld" = x"yes" &&
45776         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45777       glibcxx_have_gc_sections=yes
45778     fi
45779   fi
45780   if test "$glibcxx_have_gc_sections" = "yes"; then
45781     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45782     # NB: This flag only works reliably after 2.16.1. Configure tests
45783     # for this are difficult, so hard wire a value that should work.
45784
45785     ac_test_CFLAGS="${CFLAGS+set}"
45786     ac_save_CFLAGS="$CFLAGS"
45787     CFLAGS='-Wl,--gc-sections'
45788
45789     # Check for -Wl,--gc-sections
45790     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45791 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45792     if test x$gcc_no_link = xyes; then
45793   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45794 fi
45795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45796 /* end confdefs.h.  */
45797  int one(void) { return 1; }
45798      int two(void) { return 2; }
45799
45800 int
45801 main ()
45802 {
45803  two();
45804   ;
45805   return 0;
45806 }
45807 _ACEOF
45808 if ac_fn_c_try_link "$LINENO"; then :
45809   ac_gcsections=yes
45810 else
45811   ac_gcsections=no
45812 fi
45813 rm -f core conftest.err conftest.$ac_objext \
45814     conftest$ac_exeext conftest.$ac_ext
45815     if test "$ac_gcsections" = "yes"; then
45816       rm -f conftest.c
45817       touch conftest.c
45818       if $CC -c conftest.c; then
45819         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45820            grep "Warning: gc-sections option ignored" > /dev/null; then
45821           ac_gcsections=no
45822         fi
45823       fi
45824       rm -f conftest.c conftest.o conftest
45825     fi
45826     if test "$ac_gcsections" = "yes"; then
45827       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45828     fi
45829     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45830 $as_echo "$ac_gcsections" >&6; }
45831
45832     if test "$ac_test_CFLAGS" = set; then
45833       CFLAGS="$ac_save_CFLAGS"
45834     else
45835       # this is the suspicious part
45836       CFLAGS=''
45837     fi
45838   fi
45839
45840   # Set -z,relro.
45841   # Note this is only for shared objects.
45842   ac_ld_relro=no
45843   if test x"$with_gnu_ld" = x"yes"; then
45844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45845 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45846     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45847     if test -n "$cxx_z_relo"; then
45848       OPT_LDFLAGS="-Wl,-z,relro"
45849       ac_ld_relro=yes
45850     fi
45851     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45852 $as_echo "$ac_ld_relro" >&6; }
45853   fi
45854
45855   # Set linker optimization flags.
45856   if test x"$with_gnu_ld" = x"yes"; then
45857     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45858   fi
45859
45860
45861
45862
45863
45864     # GLIBCXX_CHECK_MATH_SUPPORT
45865     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45866
45867     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45868
45869     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45870
45871     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45872
45873     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45874
45875     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45876
45877     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45878
45879     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45880
45881     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45882
45883     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45884
45885     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45886
45887     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45888
45889     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45890
45891     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45892
45893     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45894
45895     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45896
45897     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45898
45899     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45900
45901     $as_echo "#define HAVE_MODF 1" >>confdefs.h
45902
45903     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45904
45905     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45906
45907
45908     # GLIBCXX_CHECK_STDLIB_SUPPORT
45909     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45910
45911
45912
45913
45914    # Check whether --enable-tls was given.
45915 if test "${enable_tls+set}" = set; then :
45916   enableval=$enable_tls;
45917       case "$enableval" in
45918        yes|no) ;;
45919        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45920       esac
45921
45922 else
45923   enable_tls=yes
45924 fi
45925
45926
45927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45928 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45929 if test "${gcc_cv_have_tls+set}" = set; then :
45930   $as_echo_n "(cached) " >&6
45931 else
45932
45933     if test "$cross_compiling" = yes; then :
45934                 if test x$gcc_no_link = xyes; then
45935   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45936 fi
45937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45938 /* end confdefs.h.  */
45939 __thread int a; int b; int main() { return a = b; }
45940 _ACEOF
45941 if ac_fn_c_try_link "$LINENO"; then :
45942   chktls_save_LDFLAGS="$LDFLAGS"
45943                           case $host in
45944             *-*-linux*)
45945               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45946               ;;
45947           esac
45948           chktls_save_CFLAGS="$CFLAGS"
45949           CFLAGS="-fPIC $CFLAGS"
45950                   if test x$gcc_no_link = xyes; then
45951   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45952 fi
45953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45954 /* end confdefs.h.  */
45955 int f() { return 0; }
45956 _ACEOF
45957 if ac_fn_c_try_link "$LINENO"; then :
45958   if test x$gcc_no_link = xyes; then
45959   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45960 fi
45961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45962 /* end confdefs.h.  */
45963 __thread int a; int b; int f() { return a = b; }
45964 _ACEOF
45965 if ac_fn_c_try_link "$LINENO"; then :
45966   gcc_cv_have_tls=yes
45967 else
45968   gcc_cv_have_tls=no
45969 fi
45970 rm -f core conftest.err conftest.$ac_objext \
45971     conftest$ac_exeext conftest.$ac_ext
45972 else
45973   gcc_cv_have_tls=yes
45974 fi
45975 rm -f core conftest.err conftest.$ac_objext \
45976     conftest$ac_exeext conftest.$ac_ext
45977           CFLAGS="$chktls_save_CFLAGS"
45978           LDFLAGS="$chktls_save_LDFLAGS"
45979 else
45980   gcc_cv_have_tls=no
45981 fi
45982 rm -f core conftest.err conftest.$ac_objext \
45983     conftest$ac_exeext conftest.$ac_ext
45984
45985
45986 else
45987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45988 /* end confdefs.h.  */
45989 __thread int a; int b; int main() { return a = b; }
45990 _ACEOF
45991 if ac_fn_c_try_run "$LINENO"; then :
45992                       chktls_save_LDFLAGS="$LDFLAGS"
45993       LDFLAGS="-static $LDFLAGS"
45994       if test x$gcc_no_link = xyes; then
45995   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45996 fi
45997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45998 /* end confdefs.h.  */
45999 int main() { return 0; }
46000 _ACEOF
46001 if ac_fn_c_try_link "$LINENO"; then :
46002   if test "$cross_compiling" = yes; then :
46003   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46005 as_fn_error "cannot run test program while cross compiling
46006 See \`config.log' for more details." "$LINENO" 5; }
46007 else
46008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46009 /* end confdefs.h.  */
46010 __thread int a; int b; int main() { return a = b; }
46011 _ACEOF
46012 if ac_fn_c_try_run "$LINENO"; then :
46013   gcc_cv_have_tls=yes
46014 else
46015   gcc_cv_have_tls=no
46016 fi
46017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46018   conftest.$ac_objext conftest.beam conftest.$ac_ext
46019 fi
46020
46021 else
46022   gcc_cv_have_tls=yes
46023 fi
46024 rm -f core conftest.err conftest.$ac_objext \
46025     conftest$ac_exeext conftest.$ac_ext
46026       LDFLAGS="$chktls_save_LDFLAGS"
46027       if test $gcc_cv_have_tls = yes; then
46028                                                 chktls_save_CFLAGS="$CFLAGS"
46029         thread_CFLAGS=failed
46030         for flag in '' '-pthread' '-lpthread'; do
46031           CFLAGS="$flag $chktls_save_CFLAGS"
46032           if test x$gcc_no_link = xyes; then
46033   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46034 fi
46035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46036 /* end confdefs.h.  */
46037 #include <pthread.h>
46038                 void *g(void *d) { return NULL; }
46039 int
46040 main ()
46041 {
46042 pthread_t t; pthread_create(&t,NULL,g,NULL);
46043   ;
46044   return 0;
46045 }
46046 _ACEOF
46047 if ac_fn_c_try_link "$LINENO"; then :
46048   thread_CFLAGS="$flag"
46049 fi
46050 rm -f core conftest.err conftest.$ac_objext \
46051     conftest$ac_exeext conftest.$ac_ext
46052           if test "X$thread_CFLAGS" != Xfailed; then
46053             break
46054           fi
46055         done
46056         CFLAGS="$chktls_save_CFLAGS"
46057         if test "X$thread_CFLAGS" != Xfailed; then
46058           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46059                                                   if test "$cross_compiling" = yes; then :
46060   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46062 as_fn_error "cannot run test program while cross compiling
46063 See \`config.log' for more details." "$LINENO" 5; }
46064 else
46065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46066 /* end confdefs.h.  */
46067 #include <pthread.h>
46068                 __thread int a;
46069                 static int *volatile a_in_other_thread;
46070                 static void *
46071                 thread_func (void *arg)
46072                 {
46073                   a_in_other_thread = &a;
46074                   return (void *)0;
46075                 }
46076 int
46077 main ()
46078 {
46079 pthread_t thread;
46080                 void *thread_retval;
46081                 int *volatile a_in_main_thread;
46082                 a_in_main_thread = &a;
46083                 if (pthread_create (&thread, (pthread_attr_t *)0,
46084                                     thread_func, (void *)0))
46085                   return 0;
46086                 if (pthread_join (thread, &thread_retval))
46087                   return 0;
46088                 return (a_in_other_thread == a_in_main_thread);
46089   ;
46090   return 0;
46091 }
46092 _ACEOF
46093 if ac_fn_c_try_run "$LINENO"; then :
46094   gcc_cv_have_tls=yes
46095 else
46096   gcc_cv_have_tls=no
46097 fi
46098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46099   conftest.$ac_objext conftest.beam conftest.$ac_ext
46100 fi
46101
46102           CFLAGS="$chktls_save_CFLAGS"
46103         fi
46104       fi
46105 else
46106   gcc_cv_have_tls=no
46107 fi
46108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46109   conftest.$ac_objext conftest.beam conftest.$ac_ext
46110 fi
46111
46112 fi
46113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46114 $as_echo "$gcc_cv_have_tls" >&6; }
46115   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46116
46117 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46118
46119   fi
46120     case "$target" in
46121       *-hpux10*)
46122         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46123
46124         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46125
46126         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46127
46128         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46129
46130         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46131
46132         ;;
46133     esac
46134     ;;
46135   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46136
46137   # All these tests are for C++; save the language and the compiler flags.
46138   # The CXXFLAGS thing is suspicious, but based on similar bits previously
46139   # found in GLIBCXX_CONFIGURE.
46140
46141   ac_ext=cpp
46142 ac_cpp='$CXXCPP $CPPFLAGS'
46143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46146
46147   ac_test_CXXFLAGS="${CXXFLAGS+set}"
46148   ac_save_CXXFLAGS="$CXXFLAGS"
46149
46150   # Check for maintainer-mode bits.
46151   if test x"$USE_MAINTAINER_MODE" = xno; then
46152     WERROR=''
46153   else
46154     WERROR='-Werror'
46155   fi
46156
46157   # Check for -ffunction-sections -fdata-sections
46158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46159 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46160   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46162 /* end confdefs.h.  */
46163 int foo; void bar() { };
46164 int
46165 main ()
46166 {
46167
46168   ;
46169   return 0;
46170 }
46171 _ACEOF
46172 if ac_fn_cxx_try_compile "$LINENO"; then :
46173   ac_fdsections=yes
46174 else
46175   ac_fdsections=no
46176 fi
46177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46178   if test "$ac_test_CXXFLAGS" = set; then
46179     CXXFLAGS="$ac_save_CXXFLAGS"
46180   else
46181     # this is the suspicious part
46182     CXXFLAGS=''
46183   fi
46184   if test x"$ac_fdsections" = x"yes"; then
46185     SECTION_FLAGS='-ffunction-sections -fdata-sections'
46186   fi
46187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46188 $as_echo "$ac_fdsections" >&6; }
46189
46190   ac_ext=c
46191 ac_cpp='$CPP $CPPFLAGS'
46192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46195
46196
46197
46198
46199
46200   # If we're not using GNU ld, then there's no point in even trying these
46201   # tests.  Check for that first.  We should have already tested for gld
46202   # by now (in libtool), but require it now just to be safe...
46203   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46204   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46205
46206
46207
46208   # The name set by libtool depends on the version of libtool.  Shame on us
46209   # for depending on an impl detail, but c'est la vie.  Older versions used
46210   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46211   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46212   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
46213   # set (hence we're using an older libtool), then set it.
46214   if test x${with_gnu_ld+set} != xset; then
46215     if test x${ac_cv_prog_gnu_ld+set} != xset; then
46216       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
46217       with_gnu_ld=no
46218     else
46219       with_gnu_ld=$ac_cv_prog_gnu_ld
46220     fi
46221   fi
46222
46223   # Start by getting the version number.  I think the libtool test already
46224   # does some of this, but throws away the result.
46225   glibcxx_ld_is_gold=no
46226   if test x"$with_gnu_ld" = x"yes"; then
46227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46228 $as_echo_n "checking for ld version... " >&6; }
46229
46230     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46231       glibcxx_ld_is_gold=yes
46232     fi
46233     ldver=`$LD --version 2>/dev/null |
46234            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'`
46235
46236     glibcxx_gnu_ld_version=`echo $ldver | \
46237            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46238     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46239 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46240   fi
46241
46242   # Set --gc-sections.
46243   glibcxx_have_gc_sections=no
46244   if test "$glibcxx_ld_is_gold" = "yes"; then
46245     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46246       glibcxx_have_gc_sections=yes
46247     fi
46248   else
46249     glibcxx_gcsections_min_ld=21602
46250     if test x"$with_gnu_ld" = x"yes" &&
46251         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46252       glibcxx_have_gc_sections=yes
46253     fi
46254   fi
46255   if test "$glibcxx_have_gc_sections" = "yes"; then
46256     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
46257     # NB: This flag only works reliably after 2.16.1. Configure tests
46258     # for this are difficult, so hard wire a value that should work.
46259
46260     ac_test_CFLAGS="${CFLAGS+set}"
46261     ac_save_CFLAGS="$CFLAGS"
46262     CFLAGS='-Wl,--gc-sections'
46263
46264     # Check for -Wl,--gc-sections
46265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46266 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46267     if test x$gcc_no_link = xyes; then
46268   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46269 fi
46270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46271 /* end confdefs.h.  */
46272  int one(void) { return 1; }
46273      int two(void) { return 2; }
46274
46275 int
46276 main ()
46277 {
46278  two();
46279   ;
46280   return 0;
46281 }
46282 _ACEOF
46283 if ac_fn_c_try_link "$LINENO"; then :
46284   ac_gcsections=yes
46285 else
46286   ac_gcsections=no
46287 fi
46288 rm -f core conftest.err conftest.$ac_objext \
46289     conftest$ac_exeext conftest.$ac_ext
46290     if test "$ac_gcsections" = "yes"; then
46291       rm -f conftest.c
46292       touch conftest.c
46293       if $CC -c conftest.c; then
46294         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46295            grep "Warning: gc-sections option ignored" > /dev/null; then
46296           ac_gcsections=no
46297         fi
46298       fi
46299       rm -f conftest.c conftest.o conftest
46300     fi
46301     if test "$ac_gcsections" = "yes"; then
46302       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46303     fi
46304     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46305 $as_echo "$ac_gcsections" >&6; }
46306
46307     if test "$ac_test_CFLAGS" = set; then
46308       CFLAGS="$ac_save_CFLAGS"
46309     else
46310       # this is the suspicious part
46311       CFLAGS=''
46312     fi
46313   fi
46314
46315   # Set -z,relro.
46316   # Note this is only for shared objects.
46317   ac_ld_relro=no
46318   if test x"$with_gnu_ld" = x"yes"; then
46319     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46320 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46321     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46322     if test -n "$cxx_z_relo"; then
46323       OPT_LDFLAGS="-Wl,-z,relro"
46324       ac_ld_relro=yes
46325     fi
46326     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46327 $as_echo "$ac_ld_relro" >&6; }
46328   fi
46329
46330   # Set linker optimization flags.
46331   if test x"$with_gnu_ld" = x"yes"; then
46332     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46333   fi
46334
46335
46336
46337
46338
46339   ac_test_CXXFLAGS="${CXXFLAGS+set}"
46340   ac_save_CXXFLAGS="$CXXFLAGS"
46341   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46342
46343     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46344 $as_echo_n "checking for sin in -lm... " >&6; }
46345 if test "${ac_cv_lib_m_sin+set}" = set; then :
46346   $as_echo_n "(cached) " >&6
46347 else
46348   ac_check_lib_save_LIBS=$LIBS
46349 LIBS="-lm  $LIBS"
46350 if test x$gcc_no_link = xyes; then
46351   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46352 fi
46353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46354 /* end confdefs.h.  */
46355
46356 /* Override any GCC internal prototype to avoid an error.
46357    Use char because int might match the return type of a GCC
46358    builtin and then its argument prototype would still apply.  */
46359 #ifdef __cplusplus
46360 extern "C"
46361 #endif
46362 char sin ();
46363 int
46364 main ()
46365 {
46366 return sin ();
46367   ;
46368   return 0;
46369 }
46370 _ACEOF
46371 if ac_fn_c_try_link "$LINENO"; then :
46372   ac_cv_lib_m_sin=yes
46373 else
46374   ac_cv_lib_m_sin=no
46375 fi
46376 rm -f core conftest.err conftest.$ac_objext \
46377     conftest$ac_exeext conftest.$ac_ext
46378 LIBS=$ac_check_lib_save_LIBS
46379 fi
46380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46381 $as_echo "$ac_cv_lib_m_sin" >&6; }
46382 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46383   libm="-lm"
46384 fi
46385
46386   ac_save_LIBS="$LIBS"
46387   LIBS="$LIBS $libm"
46388
46389
46390
46391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46392 $as_echo_n "checking for isinf declaration... " >&6; }
46393   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46394     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46395   $as_echo_n "(cached) " >&6
46396 else
46397
46398
46399       ac_ext=cpp
46400 ac_cpp='$CXXCPP $CPPFLAGS'
46401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46404
46405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46406 /* end confdefs.h.  */
46407 #include <math.h>
46408                       #ifdef HAVE_IEEEFP_H
46409                       #include <ieeefp.h>
46410                       #endif
46411
46412 int
46413 main ()
46414 {
46415  isinf(0);
46416   ;
46417   return 0;
46418 }
46419 _ACEOF
46420 if ac_fn_cxx_try_compile "$LINENO"; then :
46421   glibcxx_cv_func_isinf_use=yes
46422 else
46423   glibcxx_cv_func_isinf_use=no
46424 fi
46425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46426       ac_ext=c
46427 ac_cpp='$CPP $CPPFLAGS'
46428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46431
46432
46433 fi
46434
46435   fi
46436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46437 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46438
46439   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46440     for ac_func in isinf
46441 do :
46442   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46443 if test "x$ac_cv_func_isinf" = x""yes; then :
46444   cat >>confdefs.h <<_ACEOF
46445 #define HAVE_ISINF 1
46446 _ACEOF
46447
46448 fi
46449 done
46450
46451   else
46452
46453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46454 $as_echo_n "checking for _isinf declaration... " >&6; }
46455   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46456     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46457   $as_echo_n "(cached) " >&6
46458 else
46459
46460
46461       ac_ext=cpp
46462 ac_cpp='$CXXCPP $CPPFLAGS'
46463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46466
46467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46468 /* end confdefs.h.  */
46469 #include <math.h>
46470                       #ifdef HAVE_IEEEFP_H
46471                       #include <ieeefp.h>
46472                       #endif
46473
46474 int
46475 main ()
46476 {
46477  _isinf(0);
46478   ;
46479   return 0;
46480 }
46481 _ACEOF
46482 if ac_fn_cxx_try_compile "$LINENO"; then :
46483   glibcxx_cv_func__isinf_use=yes
46484 else
46485   glibcxx_cv_func__isinf_use=no
46486 fi
46487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46488       ac_ext=c
46489 ac_cpp='$CPP $CPPFLAGS'
46490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46493
46494
46495 fi
46496
46497   fi
46498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46499 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46500
46501     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46502       for ac_func in _isinf
46503 do :
46504   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46505 if test "x$ac_cv_func__isinf" = x""yes; then :
46506   cat >>confdefs.h <<_ACEOF
46507 #define HAVE__ISINF 1
46508 _ACEOF
46509
46510 fi
46511 done
46512
46513     fi
46514   fi
46515
46516
46517
46518
46519
46520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46521 $as_echo_n "checking for isnan declaration... " >&6; }
46522   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46523     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46524   $as_echo_n "(cached) " >&6
46525 else
46526
46527
46528       ac_ext=cpp
46529 ac_cpp='$CXXCPP $CPPFLAGS'
46530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46533
46534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46535 /* end confdefs.h.  */
46536 #include <math.h>
46537                       #ifdef HAVE_IEEEFP_H
46538                       #include <ieeefp.h>
46539                       #endif
46540
46541 int
46542 main ()
46543 {
46544  isnan(0);
46545   ;
46546   return 0;
46547 }
46548 _ACEOF
46549 if ac_fn_cxx_try_compile "$LINENO"; then :
46550   glibcxx_cv_func_isnan_use=yes
46551 else
46552   glibcxx_cv_func_isnan_use=no
46553 fi
46554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46555       ac_ext=c
46556 ac_cpp='$CPP $CPPFLAGS'
46557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46560
46561
46562 fi
46563
46564   fi
46565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46566 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46567
46568   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46569     for ac_func in isnan
46570 do :
46571   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46572 if test "x$ac_cv_func_isnan" = x""yes; then :
46573   cat >>confdefs.h <<_ACEOF
46574 #define HAVE_ISNAN 1
46575 _ACEOF
46576
46577 fi
46578 done
46579
46580   else
46581
46582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46583 $as_echo_n "checking for _isnan declaration... " >&6; }
46584   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46585     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46586   $as_echo_n "(cached) " >&6
46587 else
46588
46589
46590       ac_ext=cpp
46591 ac_cpp='$CXXCPP $CPPFLAGS'
46592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46595
46596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46597 /* end confdefs.h.  */
46598 #include <math.h>
46599                       #ifdef HAVE_IEEEFP_H
46600                       #include <ieeefp.h>
46601                       #endif
46602
46603 int
46604 main ()
46605 {
46606  _isnan(0);
46607   ;
46608   return 0;
46609 }
46610 _ACEOF
46611 if ac_fn_cxx_try_compile "$LINENO"; then :
46612   glibcxx_cv_func__isnan_use=yes
46613 else
46614   glibcxx_cv_func__isnan_use=no
46615 fi
46616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46617       ac_ext=c
46618 ac_cpp='$CPP $CPPFLAGS'
46619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46622
46623
46624 fi
46625
46626   fi
46627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46628 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46629
46630     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46631       for ac_func in _isnan
46632 do :
46633   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46634 if test "x$ac_cv_func__isnan" = x""yes; then :
46635   cat >>confdefs.h <<_ACEOF
46636 #define HAVE__ISNAN 1
46637 _ACEOF
46638
46639 fi
46640 done
46641
46642     fi
46643   fi
46644
46645
46646
46647
46648
46649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46650 $as_echo_n "checking for finite declaration... " >&6; }
46651   if test x${glibcxx_cv_func_finite_use+set} != xset; then
46652     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46653   $as_echo_n "(cached) " >&6
46654 else
46655
46656
46657       ac_ext=cpp
46658 ac_cpp='$CXXCPP $CPPFLAGS'
46659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46662
46663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46664 /* end confdefs.h.  */
46665 #include <math.h>
46666                       #ifdef HAVE_IEEEFP_H
46667                       #include <ieeefp.h>
46668                       #endif
46669
46670 int
46671 main ()
46672 {
46673  finite(0);
46674   ;
46675   return 0;
46676 }
46677 _ACEOF
46678 if ac_fn_cxx_try_compile "$LINENO"; then :
46679   glibcxx_cv_func_finite_use=yes
46680 else
46681   glibcxx_cv_func_finite_use=no
46682 fi
46683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46684       ac_ext=c
46685 ac_cpp='$CPP $CPPFLAGS'
46686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46689
46690
46691 fi
46692
46693   fi
46694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46695 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46696
46697   if test x$glibcxx_cv_func_finite_use = x"yes"; then
46698     for ac_func in finite
46699 do :
46700   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46701 if test "x$ac_cv_func_finite" = x""yes; then :
46702   cat >>confdefs.h <<_ACEOF
46703 #define HAVE_FINITE 1
46704 _ACEOF
46705
46706 fi
46707 done
46708
46709   else
46710
46711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46712 $as_echo_n "checking for _finite declaration... " >&6; }
46713   if test x${glibcxx_cv_func__finite_use+set} != xset; then
46714     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46715   $as_echo_n "(cached) " >&6
46716 else
46717
46718
46719       ac_ext=cpp
46720 ac_cpp='$CXXCPP $CPPFLAGS'
46721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46724
46725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46726 /* end confdefs.h.  */
46727 #include <math.h>
46728                       #ifdef HAVE_IEEEFP_H
46729                       #include <ieeefp.h>
46730                       #endif
46731
46732 int
46733 main ()
46734 {
46735  _finite(0);
46736   ;
46737   return 0;
46738 }
46739 _ACEOF
46740 if ac_fn_cxx_try_compile "$LINENO"; then :
46741   glibcxx_cv_func__finite_use=yes
46742 else
46743   glibcxx_cv_func__finite_use=no
46744 fi
46745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46746       ac_ext=c
46747 ac_cpp='$CPP $CPPFLAGS'
46748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46751
46752
46753 fi
46754
46755   fi
46756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46757 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46758
46759     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46760       for ac_func in _finite
46761 do :
46762   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46763 if test "x$ac_cv_func__finite" = x""yes; then :
46764   cat >>confdefs.h <<_ACEOF
46765 #define HAVE__FINITE 1
46766 _ACEOF
46767
46768 fi
46769 done
46770
46771     fi
46772   fi
46773
46774
46775
46776
46777
46778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46779 $as_echo_n "checking for sincos declaration... " >&6; }
46780   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46781     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46782   $as_echo_n "(cached) " >&6
46783 else
46784
46785
46786       ac_ext=cpp
46787 ac_cpp='$CXXCPP $CPPFLAGS'
46788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46791
46792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46793 /* end confdefs.h.  */
46794 #include <math.h>
46795 int
46796 main ()
46797 {
46798  sincos(0, 0, 0);
46799   ;
46800   return 0;
46801 }
46802 _ACEOF
46803 if ac_fn_cxx_try_compile "$LINENO"; then :
46804   glibcxx_cv_func_sincos_use=yes
46805 else
46806   glibcxx_cv_func_sincos_use=no
46807 fi
46808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46809       ac_ext=c
46810 ac_cpp='$CPP $CPPFLAGS'
46811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46814
46815
46816 fi
46817
46818   fi
46819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46820 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46821
46822   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46823     for ac_func in sincos
46824 do :
46825   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46826 if test "x$ac_cv_func_sincos" = x""yes; then :
46827   cat >>confdefs.h <<_ACEOF
46828 #define HAVE_SINCOS 1
46829 _ACEOF
46830
46831 fi
46832 done
46833
46834   else
46835
46836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46837 $as_echo_n "checking for _sincos declaration... " >&6; }
46838   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46839     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46840   $as_echo_n "(cached) " >&6
46841 else
46842
46843
46844       ac_ext=cpp
46845 ac_cpp='$CXXCPP $CPPFLAGS'
46846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46849
46850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46851 /* end confdefs.h.  */
46852 #include <math.h>
46853 int
46854 main ()
46855 {
46856  _sincos(0, 0, 0);
46857   ;
46858   return 0;
46859 }
46860 _ACEOF
46861 if ac_fn_cxx_try_compile "$LINENO"; then :
46862   glibcxx_cv_func__sincos_use=yes
46863 else
46864   glibcxx_cv_func__sincos_use=no
46865 fi
46866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46867       ac_ext=c
46868 ac_cpp='$CPP $CPPFLAGS'
46869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46872
46873
46874 fi
46875
46876   fi
46877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46878 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46879
46880     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46881       for ac_func in _sincos
46882 do :
46883   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46884 if test "x$ac_cv_func__sincos" = x""yes; then :
46885   cat >>confdefs.h <<_ACEOF
46886 #define HAVE__SINCOS 1
46887 _ACEOF
46888
46889 fi
46890 done
46891
46892     fi
46893   fi
46894
46895
46896
46897
46898
46899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46900 $as_echo_n "checking for fpclass declaration... " >&6; }
46901   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46902     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46903   $as_echo_n "(cached) " >&6
46904 else
46905
46906
46907       ac_ext=cpp
46908 ac_cpp='$CXXCPP $CPPFLAGS'
46909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46912
46913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46914 /* end confdefs.h.  */
46915 #include <math.h>
46916                       #ifdef HAVE_IEEEFP_H
46917                       #include <ieeefp.h>
46918                       #endif
46919
46920 int
46921 main ()
46922 {
46923  fpclass(0);
46924   ;
46925   return 0;
46926 }
46927 _ACEOF
46928 if ac_fn_cxx_try_compile "$LINENO"; then :
46929   glibcxx_cv_func_fpclass_use=yes
46930 else
46931   glibcxx_cv_func_fpclass_use=no
46932 fi
46933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46934       ac_ext=c
46935 ac_cpp='$CPP $CPPFLAGS'
46936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46939
46940
46941 fi
46942
46943   fi
46944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46945 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46946
46947   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46948     for ac_func in fpclass
46949 do :
46950   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46951 if test "x$ac_cv_func_fpclass" = x""yes; then :
46952   cat >>confdefs.h <<_ACEOF
46953 #define HAVE_FPCLASS 1
46954 _ACEOF
46955
46956 fi
46957 done
46958
46959   else
46960
46961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46962 $as_echo_n "checking for _fpclass declaration... " >&6; }
46963   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46964     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46965   $as_echo_n "(cached) " >&6
46966 else
46967
46968
46969       ac_ext=cpp
46970 ac_cpp='$CXXCPP $CPPFLAGS'
46971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46974
46975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46976 /* end confdefs.h.  */
46977 #include <math.h>
46978                       #ifdef HAVE_IEEEFP_H
46979                       #include <ieeefp.h>
46980                       #endif
46981
46982 int
46983 main ()
46984 {
46985  _fpclass(0);
46986   ;
46987   return 0;
46988 }
46989 _ACEOF
46990 if ac_fn_cxx_try_compile "$LINENO"; then :
46991   glibcxx_cv_func__fpclass_use=yes
46992 else
46993   glibcxx_cv_func__fpclass_use=no
46994 fi
46995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46996       ac_ext=c
46997 ac_cpp='$CPP $CPPFLAGS'
46998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47001
47002
47003 fi
47004
47005   fi
47006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47007 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47008
47009     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47010       for ac_func in _fpclass
47011 do :
47012   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47013 if test "x$ac_cv_func__fpclass" = x""yes; then :
47014   cat >>confdefs.h <<_ACEOF
47015 #define HAVE__FPCLASS 1
47016 _ACEOF
47017
47018 fi
47019 done
47020
47021     fi
47022   fi
47023
47024
47025
47026
47027
47028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47029 $as_echo_n "checking for qfpclass declaration... " >&6; }
47030   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47031     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47032   $as_echo_n "(cached) " >&6
47033 else
47034
47035
47036       ac_ext=cpp
47037 ac_cpp='$CXXCPP $CPPFLAGS'
47038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47041
47042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47043 /* end confdefs.h.  */
47044 #include <math.h>
47045                       #ifdef HAVE_IEEEFP_H
47046                       #include <ieeefp.h>
47047                       #endif
47048
47049 int
47050 main ()
47051 {
47052  qfpclass(0);
47053   ;
47054   return 0;
47055 }
47056 _ACEOF
47057 if ac_fn_cxx_try_compile "$LINENO"; then :
47058   glibcxx_cv_func_qfpclass_use=yes
47059 else
47060   glibcxx_cv_func_qfpclass_use=no
47061 fi
47062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47063       ac_ext=c
47064 ac_cpp='$CPP $CPPFLAGS'
47065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47068
47069
47070 fi
47071
47072   fi
47073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47074 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47075
47076   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47077     for ac_func in qfpclass
47078 do :
47079   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47080 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47081   cat >>confdefs.h <<_ACEOF
47082 #define HAVE_QFPCLASS 1
47083 _ACEOF
47084
47085 fi
47086 done
47087
47088   else
47089
47090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47091 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47092   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47093     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47094   $as_echo_n "(cached) " >&6
47095 else
47096
47097
47098       ac_ext=cpp
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47103
47104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47105 /* end confdefs.h.  */
47106 #include <math.h>
47107                       #ifdef HAVE_IEEEFP_H
47108                       #include <ieeefp.h>
47109                       #endif
47110
47111 int
47112 main ()
47113 {
47114  _qfpclass(0);
47115   ;
47116   return 0;
47117 }
47118 _ACEOF
47119 if ac_fn_cxx_try_compile "$LINENO"; then :
47120   glibcxx_cv_func__qfpclass_use=yes
47121 else
47122   glibcxx_cv_func__qfpclass_use=no
47123 fi
47124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47125       ac_ext=c
47126 ac_cpp='$CPP $CPPFLAGS'
47127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47130
47131
47132 fi
47133
47134   fi
47135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47136 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47137
47138     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47139       for ac_func in _qfpclass
47140 do :
47141   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47142 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47143   cat >>confdefs.h <<_ACEOF
47144 #define HAVE__QFPCLASS 1
47145 _ACEOF
47146
47147 fi
47148 done
47149
47150     fi
47151   fi
47152
47153
47154
47155
47156
47157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47158 $as_echo_n "checking for hypot declaration... " >&6; }
47159   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47160     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47161   $as_echo_n "(cached) " >&6
47162 else
47163
47164
47165       ac_ext=cpp
47166 ac_cpp='$CXXCPP $CPPFLAGS'
47167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47170
47171       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47172 /* end confdefs.h.  */
47173 #include <math.h>
47174 int
47175 main ()
47176 {
47177  hypot(0, 0);
47178   ;
47179   return 0;
47180 }
47181 _ACEOF
47182 if ac_fn_cxx_try_compile "$LINENO"; then :
47183   glibcxx_cv_func_hypot_use=yes
47184 else
47185   glibcxx_cv_func_hypot_use=no
47186 fi
47187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47188       ac_ext=c
47189 ac_cpp='$CPP $CPPFLAGS'
47190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47193
47194
47195 fi
47196
47197   fi
47198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47199 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47200
47201   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47202     for ac_func in hypot
47203 do :
47204   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47205 if test "x$ac_cv_func_hypot" = x""yes; then :
47206   cat >>confdefs.h <<_ACEOF
47207 #define HAVE_HYPOT 1
47208 _ACEOF
47209
47210 fi
47211 done
47212
47213   else
47214
47215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47216 $as_echo_n "checking for _hypot declaration... " >&6; }
47217   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47218     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47219   $as_echo_n "(cached) " >&6
47220 else
47221
47222
47223       ac_ext=cpp
47224 ac_cpp='$CXXCPP $CPPFLAGS'
47225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47228
47229       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47230 /* end confdefs.h.  */
47231 #include <math.h>
47232 int
47233 main ()
47234 {
47235  _hypot(0, 0);
47236   ;
47237   return 0;
47238 }
47239 _ACEOF
47240 if ac_fn_cxx_try_compile "$LINENO"; then :
47241   glibcxx_cv_func__hypot_use=yes
47242 else
47243   glibcxx_cv_func__hypot_use=no
47244 fi
47245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47246       ac_ext=c
47247 ac_cpp='$CPP $CPPFLAGS'
47248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47251
47252
47253 fi
47254
47255   fi
47256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47257 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47258
47259     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47260       for ac_func in _hypot
47261 do :
47262   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47263 if test "x$ac_cv_func__hypot" = x""yes; then :
47264   cat >>confdefs.h <<_ACEOF
47265 #define HAVE__HYPOT 1
47266 _ACEOF
47267
47268 fi
47269 done
47270
47271     fi
47272   fi
47273
47274
47275
47276
47277
47278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47279 $as_echo_n "checking for float trig functions... " >&6; }
47280   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47281   $as_echo_n "(cached) " >&6
47282 else
47283
47284
47285     ac_ext=cpp
47286 ac_cpp='$CXXCPP $CPPFLAGS'
47287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47290
47291     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47292 /* end confdefs.h.  */
47293 #include <math.h>
47294 int
47295 main ()
47296 {
47297 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47298   ;
47299   return 0;
47300 }
47301 _ACEOF
47302 if ac_fn_cxx_try_compile "$LINENO"; then :
47303   glibcxx_cv_func_float_trig_use=yes
47304 else
47305   glibcxx_cv_func_float_trig_use=no
47306 fi
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47308     ac_ext=c
47309 ac_cpp='$CPP $CPPFLAGS'
47310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47313
47314 fi
47315
47316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47317 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47318   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47319     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47320 do :
47321   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47323 eval as_val=\$$as_ac_var
47324    if test "x$as_val" = x""yes; then :
47325   cat >>confdefs.h <<_ACEOF
47326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47327 _ACEOF
47328
47329 fi
47330 done
47331
47332   else
47333     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47334 $as_echo_n "checking for _float trig functions... " >&6; }
47335     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47336   $as_echo_n "(cached) " >&6
47337 else
47338
47339
47340       ac_ext=cpp
47341 ac_cpp='$CXXCPP $CPPFLAGS'
47342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47345
47346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47347 /* end confdefs.h.  */
47348 #include <math.h>
47349 int
47350 main ()
47351 {
47352 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47353   ;
47354   return 0;
47355 }
47356 _ACEOF
47357 if ac_fn_cxx_try_compile "$LINENO"; then :
47358   glibcxx_cv_func__float_trig_use=yes
47359 else
47360   glibcxx_cv_func__float_trig_use=no
47361 fi
47362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47363       ac_ext=c
47364 ac_cpp='$CPP $CPPFLAGS'
47365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47368
47369 fi
47370
47371     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47372 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47373     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47374       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47375 do :
47376   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47378 eval as_val=\$$as_ac_var
47379    if test "x$as_val" = x""yes; then :
47380   cat >>confdefs.h <<_ACEOF
47381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47382 _ACEOF
47383
47384 fi
47385 done
47386
47387     fi
47388   fi
47389
47390
47391
47392
47393
47394     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47395 $as_echo_n "checking for float round functions... " >&6; }
47396   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47397   $as_echo_n "(cached) " >&6
47398 else
47399
47400
47401     ac_ext=cpp
47402 ac_cpp='$CXXCPP $CPPFLAGS'
47403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47406
47407     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47408 /* end confdefs.h.  */
47409 #include <math.h>
47410 int
47411 main ()
47412 {
47413 ceilf (0); floorf (0);
47414   ;
47415   return 0;
47416 }
47417 _ACEOF
47418 if ac_fn_cxx_try_compile "$LINENO"; then :
47419   glibcxx_cv_func_float_round_use=yes
47420 else
47421   glibcxx_cv_func_float_round_use=no
47422 fi
47423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47424     ac_ext=c
47425 ac_cpp='$CPP $CPPFLAGS'
47426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47429
47430 fi
47431
47432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47433 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47434   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47435     for ac_func in ceilf floorf
47436 do :
47437   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47439 eval as_val=\$$as_ac_var
47440    if test "x$as_val" = x""yes; then :
47441   cat >>confdefs.h <<_ACEOF
47442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47443 _ACEOF
47444
47445 fi
47446 done
47447
47448   else
47449     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47450 $as_echo_n "checking for _float round functions... " >&6; }
47451     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47452   $as_echo_n "(cached) " >&6
47453 else
47454
47455
47456       ac_ext=cpp
47457 ac_cpp='$CXXCPP $CPPFLAGS'
47458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47461
47462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47463 /* end confdefs.h.  */
47464 #include <math.h>
47465 int
47466 main ()
47467 {
47468 _ceilf (0); _floorf (0);
47469   ;
47470   return 0;
47471 }
47472 _ACEOF
47473 if ac_fn_cxx_try_compile "$LINENO"; then :
47474   glibcxx_cv_func__float_round_use=yes
47475 else
47476   glibcxx_cv_func__float_round_use=no
47477 fi
47478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47479       ac_ext=c
47480 ac_cpp='$CPP $CPPFLAGS'
47481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47484
47485 fi
47486
47487     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47488 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47489     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47490       for ac_func in _ceilf _floorf
47491 do :
47492   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47494 eval as_val=\$$as_ac_var
47495    if test "x$as_val" = x""yes; then :
47496   cat >>confdefs.h <<_ACEOF
47497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47498 _ACEOF
47499
47500 fi
47501 done
47502
47503     fi
47504   fi
47505
47506
47507
47508
47509
47510
47511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47512 $as_echo_n "checking for expf declaration... " >&6; }
47513   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47514     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47515   $as_echo_n "(cached) " >&6
47516 else
47517
47518
47519       ac_ext=cpp
47520 ac_cpp='$CXXCPP $CPPFLAGS'
47521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47524
47525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47526 /* end confdefs.h.  */
47527 #include <math.h>
47528                       #ifdef HAVE_IEEEFP_H
47529                       #include <ieeefp.h>
47530                       #endif
47531
47532 int
47533 main ()
47534 {
47535  expf(0);
47536   ;
47537   return 0;
47538 }
47539 _ACEOF
47540 if ac_fn_cxx_try_compile "$LINENO"; then :
47541   glibcxx_cv_func_expf_use=yes
47542 else
47543   glibcxx_cv_func_expf_use=no
47544 fi
47545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47546       ac_ext=c
47547 ac_cpp='$CPP $CPPFLAGS'
47548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47551
47552
47553 fi
47554
47555   fi
47556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47557 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47558
47559   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47560     for ac_func in expf
47561 do :
47562   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47563 if test "x$ac_cv_func_expf" = x""yes; then :
47564   cat >>confdefs.h <<_ACEOF
47565 #define HAVE_EXPF 1
47566 _ACEOF
47567
47568 fi
47569 done
47570
47571   else
47572
47573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47574 $as_echo_n "checking for _expf declaration... " >&6; }
47575   if test x${glibcxx_cv_func__expf_use+set} != xset; then
47576     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47577   $as_echo_n "(cached) " >&6
47578 else
47579
47580
47581       ac_ext=cpp
47582 ac_cpp='$CXXCPP $CPPFLAGS'
47583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47586
47587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47588 /* end confdefs.h.  */
47589 #include <math.h>
47590                       #ifdef HAVE_IEEEFP_H
47591                       #include <ieeefp.h>
47592                       #endif
47593
47594 int
47595 main ()
47596 {
47597  _expf(0);
47598   ;
47599   return 0;
47600 }
47601 _ACEOF
47602 if ac_fn_cxx_try_compile "$LINENO"; then :
47603   glibcxx_cv_func__expf_use=yes
47604 else
47605   glibcxx_cv_func__expf_use=no
47606 fi
47607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47608       ac_ext=c
47609 ac_cpp='$CPP $CPPFLAGS'
47610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47613
47614
47615 fi
47616
47617   fi
47618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47619 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47620
47621     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47622       for ac_func in _expf
47623 do :
47624   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47625 if test "x$ac_cv_func__expf" = x""yes; then :
47626   cat >>confdefs.h <<_ACEOF
47627 #define HAVE__EXPF 1
47628 _ACEOF
47629
47630 fi
47631 done
47632
47633     fi
47634   fi
47635
47636
47637
47638
47639
47640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47641 $as_echo_n "checking for isnanf declaration... " >&6; }
47642   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47643     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47644   $as_echo_n "(cached) " >&6
47645 else
47646
47647
47648       ac_ext=cpp
47649 ac_cpp='$CXXCPP $CPPFLAGS'
47650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47653
47654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47655 /* end confdefs.h.  */
47656 #include <math.h>
47657                       #ifdef HAVE_IEEEFP_H
47658                       #include <ieeefp.h>
47659                       #endif
47660
47661 int
47662 main ()
47663 {
47664  isnanf(0);
47665   ;
47666   return 0;
47667 }
47668 _ACEOF
47669 if ac_fn_cxx_try_compile "$LINENO"; then :
47670   glibcxx_cv_func_isnanf_use=yes
47671 else
47672   glibcxx_cv_func_isnanf_use=no
47673 fi
47674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47675       ac_ext=c
47676 ac_cpp='$CPP $CPPFLAGS'
47677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47680
47681
47682 fi
47683
47684   fi
47685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47686 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47687
47688   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47689     for ac_func in isnanf
47690 do :
47691   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47692 if test "x$ac_cv_func_isnanf" = x""yes; then :
47693   cat >>confdefs.h <<_ACEOF
47694 #define HAVE_ISNANF 1
47695 _ACEOF
47696
47697 fi
47698 done
47699
47700   else
47701
47702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47703 $as_echo_n "checking for _isnanf declaration... " >&6; }
47704   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47705     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47706   $as_echo_n "(cached) " >&6
47707 else
47708
47709
47710       ac_ext=cpp
47711 ac_cpp='$CXXCPP $CPPFLAGS'
47712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47715
47716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47717 /* end confdefs.h.  */
47718 #include <math.h>
47719                       #ifdef HAVE_IEEEFP_H
47720                       #include <ieeefp.h>
47721                       #endif
47722
47723 int
47724 main ()
47725 {
47726  _isnanf(0);
47727   ;
47728   return 0;
47729 }
47730 _ACEOF
47731 if ac_fn_cxx_try_compile "$LINENO"; then :
47732   glibcxx_cv_func__isnanf_use=yes
47733 else
47734   glibcxx_cv_func__isnanf_use=no
47735 fi
47736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47737       ac_ext=c
47738 ac_cpp='$CPP $CPPFLAGS'
47739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47742
47743
47744 fi
47745
47746   fi
47747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47748 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47749
47750     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47751       for ac_func in _isnanf
47752 do :
47753   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47754 if test "x$ac_cv_func__isnanf" = x""yes; then :
47755   cat >>confdefs.h <<_ACEOF
47756 #define HAVE__ISNANF 1
47757 _ACEOF
47758
47759 fi
47760 done
47761
47762     fi
47763   fi
47764
47765
47766
47767
47768
47769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47770 $as_echo_n "checking for isinff declaration... " >&6; }
47771   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47772     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47773   $as_echo_n "(cached) " >&6
47774 else
47775
47776
47777       ac_ext=cpp
47778 ac_cpp='$CXXCPP $CPPFLAGS'
47779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47782
47783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47784 /* end confdefs.h.  */
47785 #include <math.h>
47786                       #ifdef HAVE_IEEEFP_H
47787                       #include <ieeefp.h>
47788                       #endif
47789
47790 int
47791 main ()
47792 {
47793  isinff(0);
47794   ;
47795   return 0;
47796 }
47797 _ACEOF
47798 if ac_fn_cxx_try_compile "$LINENO"; then :
47799   glibcxx_cv_func_isinff_use=yes
47800 else
47801   glibcxx_cv_func_isinff_use=no
47802 fi
47803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47804       ac_ext=c
47805 ac_cpp='$CPP $CPPFLAGS'
47806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47809
47810
47811 fi
47812
47813   fi
47814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47815 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47816
47817   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47818     for ac_func in isinff
47819 do :
47820   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47821 if test "x$ac_cv_func_isinff" = x""yes; then :
47822   cat >>confdefs.h <<_ACEOF
47823 #define HAVE_ISINFF 1
47824 _ACEOF
47825
47826 fi
47827 done
47828
47829   else
47830
47831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47832 $as_echo_n "checking for _isinff declaration... " >&6; }
47833   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47834     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47835   $as_echo_n "(cached) " >&6
47836 else
47837
47838
47839       ac_ext=cpp
47840 ac_cpp='$CXXCPP $CPPFLAGS'
47841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47844
47845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47846 /* end confdefs.h.  */
47847 #include <math.h>
47848                       #ifdef HAVE_IEEEFP_H
47849                       #include <ieeefp.h>
47850                       #endif
47851
47852 int
47853 main ()
47854 {
47855  _isinff(0);
47856   ;
47857   return 0;
47858 }
47859 _ACEOF
47860 if ac_fn_cxx_try_compile "$LINENO"; then :
47861   glibcxx_cv_func__isinff_use=yes
47862 else
47863   glibcxx_cv_func__isinff_use=no
47864 fi
47865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47866       ac_ext=c
47867 ac_cpp='$CPP $CPPFLAGS'
47868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47871
47872
47873 fi
47874
47875   fi
47876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47877 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47878
47879     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47880       for ac_func in _isinff
47881 do :
47882   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47883 if test "x$ac_cv_func__isinff" = x""yes; then :
47884   cat >>confdefs.h <<_ACEOF
47885 #define HAVE__ISINFF 1
47886 _ACEOF
47887
47888 fi
47889 done
47890
47891     fi
47892   fi
47893
47894
47895
47896
47897
47898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47899 $as_echo_n "checking for atan2f declaration... " >&6; }
47900   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47901     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47902   $as_echo_n "(cached) " >&6
47903 else
47904
47905
47906       ac_ext=cpp
47907 ac_cpp='$CXXCPP $CPPFLAGS'
47908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47911
47912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47913 /* end confdefs.h.  */
47914 #include <math.h>
47915 int
47916 main ()
47917 {
47918  atan2f(0, 0);
47919   ;
47920   return 0;
47921 }
47922 _ACEOF
47923 if ac_fn_cxx_try_compile "$LINENO"; then :
47924   glibcxx_cv_func_atan2f_use=yes
47925 else
47926   glibcxx_cv_func_atan2f_use=no
47927 fi
47928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47929       ac_ext=c
47930 ac_cpp='$CPP $CPPFLAGS'
47931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47934
47935
47936 fi
47937
47938   fi
47939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47940 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47941
47942   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47943     for ac_func in atan2f
47944 do :
47945   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47946 if test "x$ac_cv_func_atan2f" = x""yes; then :
47947   cat >>confdefs.h <<_ACEOF
47948 #define HAVE_ATAN2F 1
47949 _ACEOF
47950
47951 fi
47952 done
47953
47954   else
47955
47956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47957 $as_echo_n "checking for _atan2f declaration... " >&6; }
47958   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47959     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47960   $as_echo_n "(cached) " >&6
47961 else
47962
47963
47964       ac_ext=cpp
47965 ac_cpp='$CXXCPP $CPPFLAGS'
47966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47969
47970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47971 /* end confdefs.h.  */
47972 #include <math.h>
47973 int
47974 main ()
47975 {
47976  _atan2f(0, 0);
47977   ;
47978   return 0;
47979 }
47980 _ACEOF
47981 if ac_fn_cxx_try_compile "$LINENO"; then :
47982   glibcxx_cv_func__atan2f_use=yes
47983 else
47984   glibcxx_cv_func__atan2f_use=no
47985 fi
47986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47987       ac_ext=c
47988 ac_cpp='$CPP $CPPFLAGS'
47989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47992
47993
47994 fi
47995
47996   fi
47997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47998 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47999
48000     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48001       for ac_func in _atan2f
48002 do :
48003   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48004 if test "x$ac_cv_func__atan2f" = x""yes; then :
48005   cat >>confdefs.h <<_ACEOF
48006 #define HAVE__ATAN2F 1
48007 _ACEOF
48008
48009 fi
48010 done
48011
48012     fi
48013   fi
48014
48015
48016
48017
48018
48019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48020 $as_echo_n "checking for fabsf declaration... " >&6; }
48021   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48022     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48023   $as_echo_n "(cached) " >&6
48024 else
48025
48026
48027       ac_ext=cpp
48028 ac_cpp='$CXXCPP $CPPFLAGS'
48029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48032
48033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48034 /* end confdefs.h.  */
48035 #include <math.h>
48036                       #ifdef HAVE_IEEEFP_H
48037                       #include <ieeefp.h>
48038                       #endif
48039
48040 int
48041 main ()
48042 {
48043  fabsf(0);
48044   ;
48045   return 0;
48046 }
48047 _ACEOF
48048 if ac_fn_cxx_try_compile "$LINENO"; then :
48049   glibcxx_cv_func_fabsf_use=yes
48050 else
48051   glibcxx_cv_func_fabsf_use=no
48052 fi
48053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48054       ac_ext=c
48055 ac_cpp='$CPP $CPPFLAGS'
48056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48059
48060
48061 fi
48062
48063   fi
48064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48065 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48066
48067   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48068     for ac_func in fabsf
48069 do :
48070   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48071 if test "x$ac_cv_func_fabsf" = x""yes; then :
48072   cat >>confdefs.h <<_ACEOF
48073 #define HAVE_FABSF 1
48074 _ACEOF
48075
48076 fi
48077 done
48078
48079   else
48080
48081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48082 $as_echo_n "checking for _fabsf declaration... " >&6; }
48083   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48084     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48085   $as_echo_n "(cached) " >&6
48086 else
48087
48088
48089       ac_ext=cpp
48090 ac_cpp='$CXXCPP $CPPFLAGS'
48091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48094
48095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48096 /* end confdefs.h.  */
48097 #include <math.h>
48098                       #ifdef HAVE_IEEEFP_H
48099                       #include <ieeefp.h>
48100                       #endif
48101
48102 int
48103 main ()
48104 {
48105  _fabsf(0);
48106   ;
48107   return 0;
48108 }
48109 _ACEOF
48110 if ac_fn_cxx_try_compile "$LINENO"; then :
48111   glibcxx_cv_func__fabsf_use=yes
48112 else
48113   glibcxx_cv_func__fabsf_use=no
48114 fi
48115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48116       ac_ext=c
48117 ac_cpp='$CPP $CPPFLAGS'
48118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48121
48122
48123 fi
48124
48125   fi
48126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48127 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48128
48129     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48130       for ac_func in _fabsf
48131 do :
48132   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48133 if test "x$ac_cv_func__fabsf" = x""yes; then :
48134   cat >>confdefs.h <<_ACEOF
48135 #define HAVE__FABSF 1
48136 _ACEOF
48137
48138 fi
48139 done
48140
48141     fi
48142   fi
48143
48144
48145
48146
48147
48148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48149 $as_echo_n "checking for fmodf declaration... " >&6; }
48150   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48151     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48152   $as_echo_n "(cached) " >&6
48153 else
48154
48155
48156       ac_ext=cpp
48157 ac_cpp='$CXXCPP $CPPFLAGS'
48158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48161
48162       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48163 /* end confdefs.h.  */
48164 #include <math.h>
48165 int
48166 main ()
48167 {
48168  fmodf(0, 0);
48169   ;
48170   return 0;
48171 }
48172 _ACEOF
48173 if ac_fn_cxx_try_compile "$LINENO"; then :
48174   glibcxx_cv_func_fmodf_use=yes
48175 else
48176   glibcxx_cv_func_fmodf_use=no
48177 fi
48178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48179       ac_ext=c
48180 ac_cpp='$CPP $CPPFLAGS'
48181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48184
48185
48186 fi
48187
48188   fi
48189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48190 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48191
48192   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48193     for ac_func in fmodf
48194 do :
48195   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48196 if test "x$ac_cv_func_fmodf" = x""yes; then :
48197   cat >>confdefs.h <<_ACEOF
48198 #define HAVE_FMODF 1
48199 _ACEOF
48200
48201 fi
48202 done
48203
48204   else
48205
48206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48207 $as_echo_n "checking for _fmodf declaration... " >&6; }
48208   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48209     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48210   $as_echo_n "(cached) " >&6
48211 else
48212
48213
48214       ac_ext=cpp
48215 ac_cpp='$CXXCPP $CPPFLAGS'
48216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48219
48220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48221 /* end confdefs.h.  */
48222 #include <math.h>
48223 int
48224 main ()
48225 {
48226  _fmodf(0, 0);
48227   ;
48228   return 0;
48229 }
48230 _ACEOF
48231 if ac_fn_cxx_try_compile "$LINENO"; then :
48232   glibcxx_cv_func__fmodf_use=yes
48233 else
48234   glibcxx_cv_func__fmodf_use=no
48235 fi
48236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48237       ac_ext=c
48238 ac_cpp='$CPP $CPPFLAGS'
48239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48242
48243
48244 fi
48245
48246   fi
48247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48248 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48249
48250     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48251       for ac_func in _fmodf
48252 do :
48253   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48254 if test "x$ac_cv_func__fmodf" = x""yes; then :
48255   cat >>confdefs.h <<_ACEOF
48256 #define HAVE__FMODF 1
48257 _ACEOF
48258
48259 fi
48260 done
48261
48262     fi
48263   fi
48264
48265
48266
48267
48268
48269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48270 $as_echo_n "checking for frexpf declaration... " >&6; }
48271   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48272     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48273   $as_echo_n "(cached) " >&6
48274 else
48275
48276
48277       ac_ext=cpp
48278 ac_cpp='$CXXCPP $CPPFLAGS'
48279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48282
48283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48284 /* end confdefs.h.  */
48285 #include <math.h>
48286 int
48287 main ()
48288 {
48289  frexpf(0, 0);
48290   ;
48291   return 0;
48292 }
48293 _ACEOF
48294 if ac_fn_cxx_try_compile "$LINENO"; then :
48295   glibcxx_cv_func_frexpf_use=yes
48296 else
48297   glibcxx_cv_func_frexpf_use=no
48298 fi
48299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48300       ac_ext=c
48301 ac_cpp='$CPP $CPPFLAGS'
48302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48305
48306
48307 fi
48308
48309   fi
48310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48311 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48312
48313   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48314     for ac_func in frexpf
48315 do :
48316   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48317 if test "x$ac_cv_func_frexpf" = x""yes; then :
48318   cat >>confdefs.h <<_ACEOF
48319 #define HAVE_FREXPF 1
48320 _ACEOF
48321
48322 fi
48323 done
48324
48325   else
48326
48327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48328 $as_echo_n "checking for _frexpf declaration... " >&6; }
48329   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48330     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48331   $as_echo_n "(cached) " >&6
48332 else
48333
48334
48335       ac_ext=cpp
48336 ac_cpp='$CXXCPP $CPPFLAGS'
48337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48340
48341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48342 /* end confdefs.h.  */
48343 #include <math.h>
48344 int
48345 main ()
48346 {
48347  _frexpf(0, 0);
48348   ;
48349   return 0;
48350 }
48351 _ACEOF
48352 if ac_fn_cxx_try_compile "$LINENO"; then :
48353   glibcxx_cv_func__frexpf_use=yes
48354 else
48355   glibcxx_cv_func__frexpf_use=no
48356 fi
48357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48358       ac_ext=c
48359 ac_cpp='$CPP $CPPFLAGS'
48360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48363
48364
48365 fi
48366
48367   fi
48368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48369 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48370
48371     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48372       for ac_func in _frexpf
48373 do :
48374   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48375 if test "x$ac_cv_func__frexpf" = x""yes; then :
48376   cat >>confdefs.h <<_ACEOF
48377 #define HAVE__FREXPF 1
48378 _ACEOF
48379
48380 fi
48381 done
48382
48383     fi
48384   fi
48385
48386
48387
48388
48389
48390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48391 $as_echo_n "checking for hypotf declaration... " >&6; }
48392   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48393     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48394   $as_echo_n "(cached) " >&6
48395 else
48396
48397
48398       ac_ext=cpp
48399 ac_cpp='$CXXCPP $CPPFLAGS'
48400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48403
48404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48405 /* end confdefs.h.  */
48406 #include <math.h>
48407 int
48408 main ()
48409 {
48410  hypotf(0, 0);
48411   ;
48412   return 0;
48413 }
48414 _ACEOF
48415 if ac_fn_cxx_try_compile "$LINENO"; then :
48416   glibcxx_cv_func_hypotf_use=yes
48417 else
48418   glibcxx_cv_func_hypotf_use=no
48419 fi
48420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48421       ac_ext=c
48422 ac_cpp='$CPP $CPPFLAGS'
48423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48426
48427
48428 fi
48429
48430   fi
48431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48432 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48433
48434   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48435     for ac_func in hypotf
48436 do :
48437   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48438 if test "x$ac_cv_func_hypotf" = x""yes; then :
48439   cat >>confdefs.h <<_ACEOF
48440 #define HAVE_HYPOTF 1
48441 _ACEOF
48442
48443 fi
48444 done
48445
48446   else
48447
48448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48449 $as_echo_n "checking for _hypotf declaration... " >&6; }
48450   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48451     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48452   $as_echo_n "(cached) " >&6
48453 else
48454
48455
48456       ac_ext=cpp
48457 ac_cpp='$CXXCPP $CPPFLAGS'
48458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48461
48462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48463 /* end confdefs.h.  */
48464 #include <math.h>
48465 int
48466 main ()
48467 {
48468  _hypotf(0, 0);
48469   ;
48470   return 0;
48471 }
48472 _ACEOF
48473 if ac_fn_cxx_try_compile "$LINENO"; then :
48474   glibcxx_cv_func__hypotf_use=yes
48475 else
48476   glibcxx_cv_func__hypotf_use=no
48477 fi
48478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48479       ac_ext=c
48480 ac_cpp='$CPP $CPPFLAGS'
48481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48484
48485
48486 fi
48487
48488   fi
48489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48490 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48491
48492     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48493       for ac_func in _hypotf
48494 do :
48495   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48496 if test "x$ac_cv_func__hypotf" = x""yes; then :
48497   cat >>confdefs.h <<_ACEOF
48498 #define HAVE__HYPOTF 1
48499 _ACEOF
48500
48501 fi
48502 done
48503
48504     fi
48505   fi
48506
48507
48508
48509
48510
48511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48512 $as_echo_n "checking for ldexpf declaration... " >&6; }
48513   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48514     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48515   $as_echo_n "(cached) " >&6
48516 else
48517
48518
48519       ac_ext=cpp
48520 ac_cpp='$CXXCPP $CPPFLAGS'
48521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48524
48525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48526 /* end confdefs.h.  */
48527 #include <math.h>
48528 int
48529 main ()
48530 {
48531  ldexpf(0, 0);
48532   ;
48533   return 0;
48534 }
48535 _ACEOF
48536 if ac_fn_cxx_try_compile "$LINENO"; then :
48537   glibcxx_cv_func_ldexpf_use=yes
48538 else
48539   glibcxx_cv_func_ldexpf_use=no
48540 fi
48541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48542       ac_ext=c
48543 ac_cpp='$CPP $CPPFLAGS'
48544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48547
48548
48549 fi
48550
48551   fi
48552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48553 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48554
48555   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48556     for ac_func in ldexpf
48557 do :
48558   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48559 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48560   cat >>confdefs.h <<_ACEOF
48561 #define HAVE_LDEXPF 1
48562 _ACEOF
48563
48564 fi
48565 done
48566
48567   else
48568
48569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48570 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48571   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48572     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48573   $as_echo_n "(cached) " >&6
48574 else
48575
48576
48577       ac_ext=cpp
48578 ac_cpp='$CXXCPP $CPPFLAGS'
48579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48582
48583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48584 /* end confdefs.h.  */
48585 #include <math.h>
48586 int
48587 main ()
48588 {
48589  _ldexpf(0, 0);
48590   ;
48591   return 0;
48592 }
48593 _ACEOF
48594 if ac_fn_cxx_try_compile "$LINENO"; then :
48595   glibcxx_cv_func__ldexpf_use=yes
48596 else
48597   glibcxx_cv_func__ldexpf_use=no
48598 fi
48599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48600       ac_ext=c
48601 ac_cpp='$CPP $CPPFLAGS'
48602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48605
48606
48607 fi
48608
48609   fi
48610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48611 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48612
48613     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48614       for ac_func in _ldexpf
48615 do :
48616   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48617 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48618   cat >>confdefs.h <<_ACEOF
48619 #define HAVE__LDEXPF 1
48620 _ACEOF
48621
48622 fi
48623 done
48624
48625     fi
48626   fi
48627
48628
48629
48630
48631
48632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48633 $as_echo_n "checking for logf declaration... " >&6; }
48634   if test x${glibcxx_cv_func_logf_use+set} != xset; then
48635     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48636   $as_echo_n "(cached) " >&6
48637 else
48638
48639
48640       ac_ext=cpp
48641 ac_cpp='$CXXCPP $CPPFLAGS'
48642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48645
48646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48647 /* end confdefs.h.  */
48648 #include <math.h>
48649                       #ifdef HAVE_IEEEFP_H
48650                       #include <ieeefp.h>
48651                       #endif
48652
48653 int
48654 main ()
48655 {
48656  logf(0);
48657   ;
48658   return 0;
48659 }
48660 _ACEOF
48661 if ac_fn_cxx_try_compile "$LINENO"; then :
48662   glibcxx_cv_func_logf_use=yes
48663 else
48664   glibcxx_cv_func_logf_use=no
48665 fi
48666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48667       ac_ext=c
48668 ac_cpp='$CPP $CPPFLAGS'
48669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48672
48673
48674 fi
48675
48676   fi
48677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48678 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48679
48680   if test x$glibcxx_cv_func_logf_use = x"yes"; then
48681     for ac_func in logf
48682 do :
48683   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48684 if test "x$ac_cv_func_logf" = x""yes; then :
48685   cat >>confdefs.h <<_ACEOF
48686 #define HAVE_LOGF 1
48687 _ACEOF
48688
48689 fi
48690 done
48691
48692   else
48693
48694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48695 $as_echo_n "checking for _logf declaration... " >&6; }
48696   if test x${glibcxx_cv_func__logf_use+set} != xset; then
48697     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48698   $as_echo_n "(cached) " >&6
48699 else
48700
48701
48702       ac_ext=cpp
48703 ac_cpp='$CXXCPP $CPPFLAGS'
48704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48707
48708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48709 /* end confdefs.h.  */
48710 #include <math.h>
48711                       #ifdef HAVE_IEEEFP_H
48712                       #include <ieeefp.h>
48713                       #endif
48714
48715 int
48716 main ()
48717 {
48718  _logf(0);
48719   ;
48720   return 0;
48721 }
48722 _ACEOF
48723 if ac_fn_cxx_try_compile "$LINENO"; then :
48724   glibcxx_cv_func__logf_use=yes
48725 else
48726   glibcxx_cv_func__logf_use=no
48727 fi
48728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48729       ac_ext=c
48730 ac_cpp='$CPP $CPPFLAGS'
48731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48734
48735
48736 fi
48737
48738   fi
48739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48740 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48741
48742     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48743       for ac_func in _logf
48744 do :
48745   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48746 if test "x$ac_cv_func__logf" = x""yes; then :
48747   cat >>confdefs.h <<_ACEOF
48748 #define HAVE__LOGF 1
48749 _ACEOF
48750
48751 fi
48752 done
48753
48754     fi
48755   fi
48756
48757
48758
48759
48760
48761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48762 $as_echo_n "checking for log10f declaration... " >&6; }
48763   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48764     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48765   $as_echo_n "(cached) " >&6
48766 else
48767
48768
48769       ac_ext=cpp
48770 ac_cpp='$CXXCPP $CPPFLAGS'
48771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48774
48775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48776 /* end confdefs.h.  */
48777 #include <math.h>
48778                       #ifdef HAVE_IEEEFP_H
48779                       #include <ieeefp.h>
48780                       #endif
48781
48782 int
48783 main ()
48784 {
48785  log10f(0);
48786   ;
48787   return 0;
48788 }
48789 _ACEOF
48790 if ac_fn_cxx_try_compile "$LINENO"; then :
48791   glibcxx_cv_func_log10f_use=yes
48792 else
48793   glibcxx_cv_func_log10f_use=no
48794 fi
48795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48796       ac_ext=c
48797 ac_cpp='$CPP $CPPFLAGS'
48798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48801
48802
48803 fi
48804
48805   fi
48806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48807 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48808
48809   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48810     for ac_func in log10f
48811 do :
48812   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48813 if test "x$ac_cv_func_log10f" = x""yes; then :
48814   cat >>confdefs.h <<_ACEOF
48815 #define HAVE_LOG10F 1
48816 _ACEOF
48817
48818 fi
48819 done
48820
48821   else
48822
48823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48824 $as_echo_n "checking for _log10f declaration... " >&6; }
48825   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48826     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48827   $as_echo_n "(cached) " >&6
48828 else
48829
48830
48831       ac_ext=cpp
48832 ac_cpp='$CXXCPP $CPPFLAGS'
48833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48836
48837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48838 /* end confdefs.h.  */
48839 #include <math.h>
48840                       #ifdef HAVE_IEEEFP_H
48841                       #include <ieeefp.h>
48842                       #endif
48843
48844 int
48845 main ()
48846 {
48847  _log10f(0);
48848   ;
48849   return 0;
48850 }
48851 _ACEOF
48852 if ac_fn_cxx_try_compile "$LINENO"; then :
48853   glibcxx_cv_func__log10f_use=yes
48854 else
48855   glibcxx_cv_func__log10f_use=no
48856 fi
48857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48858       ac_ext=c
48859 ac_cpp='$CPP $CPPFLAGS'
48860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48863
48864
48865 fi
48866
48867   fi
48868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48869 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48870
48871     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48872       for ac_func in _log10f
48873 do :
48874   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48875 if test "x$ac_cv_func__log10f" = x""yes; then :
48876   cat >>confdefs.h <<_ACEOF
48877 #define HAVE__LOG10F 1
48878 _ACEOF
48879
48880 fi
48881 done
48882
48883     fi
48884   fi
48885
48886
48887
48888
48889
48890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48891 $as_echo_n "checking for modff declaration... " >&6; }
48892   if test x${glibcxx_cv_func_modff_use+set} != xset; then
48893     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48894   $as_echo_n "(cached) " >&6
48895 else
48896
48897
48898       ac_ext=cpp
48899 ac_cpp='$CXXCPP $CPPFLAGS'
48900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48903
48904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48905 /* end confdefs.h.  */
48906 #include <math.h>
48907 int
48908 main ()
48909 {
48910  modff(0, 0);
48911   ;
48912   return 0;
48913 }
48914 _ACEOF
48915 if ac_fn_cxx_try_compile "$LINENO"; then :
48916   glibcxx_cv_func_modff_use=yes
48917 else
48918   glibcxx_cv_func_modff_use=no
48919 fi
48920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48921       ac_ext=c
48922 ac_cpp='$CPP $CPPFLAGS'
48923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48926
48927
48928 fi
48929
48930   fi
48931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48932 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48933
48934   if test x$glibcxx_cv_func_modff_use = x"yes"; then
48935     for ac_func in modff
48936 do :
48937   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48938 if test "x$ac_cv_func_modff" = x""yes; then :
48939   cat >>confdefs.h <<_ACEOF
48940 #define HAVE_MODFF 1
48941 _ACEOF
48942
48943 fi
48944 done
48945
48946   else
48947
48948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48949 $as_echo_n "checking for _modff declaration... " >&6; }
48950   if test x${glibcxx_cv_func__modff_use+set} != xset; then
48951     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48952   $as_echo_n "(cached) " >&6
48953 else
48954
48955
48956       ac_ext=cpp
48957 ac_cpp='$CXXCPP $CPPFLAGS'
48958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48961
48962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48963 /* end confdefs.h.  */
48964 #include <math.h>
48965 int
48966 main ()
48967 {
48968  _modff(0, 0);
48969   ;
48970   return 0;
48971 }
48972 _ACEOF
48973 if ac_fn_cxx_try_compile "$LINENO"; then :
48974   glibcxx_cv_func__modff_use=yes
48975 else
48976   glibcxx_cv_func__modff_use=no
48977 fi
48978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48979       ac_ext=c
48980 ac_cpp='$CPP $CPPFLAGS'
48981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48984
48985
48986 fi
48987
48988   fi
48989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48990 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48991
48992     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48993       for ac_func in _modff
48994 do :
48995   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48996 if test "x$ac_cv_func__modff" = x""yes; then :
48997   cat >>confdefs.h <<_ACEOF
48998 #define HAVE__MODFF 1
48999 _ACEOF
49000
49001 fi
49002 done
49003
49004     fi
49005   fi
49006
49007
49008
49009
49010
49011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49012 $as_echo_n "checking for modf declaration... " >&6; }
49013   if test x${glibcxx_cv_func_modf_use+set} != xset; then
49014     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49015   $as_echo_n "(cached) " >&6
49016 else
49017
49018
49019       ac_ext=cpp
49020 ac_cpp='$CXXCPP $CPPFLAGS'
49021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49024
49025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49026 /* end confdefs.h.  */
49027 #include <math.h>
49028 int
49029 main ()
49030 {
49031  modf(0, 0);
49032   ;
49033   return 0;
49034 }
49035 _ACEOF
49036 if ac_fn_cxx_try_compile "$LINENO"; then :
49037   glibcxx_cv_func_modf_use=yes
49038 else
49039   glibcxx_cv_func_modf_use=no
49040 fi
49041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49042       ac_ext=c
49043 ac_cpp='$CPP $CPPFLAGS'
49044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49047
49048
49049 fi
49050
49051   fi
49052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49053 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49054
49055   if test x$glibcxx_cv_func_modf_use = x"yes"; then
49056     for ac_func in modf
49057 do :
49058   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49059 if test "x$ac_cv_func_modf" = x""yes; then :
49060   cat >>confdefs.h <<_ACEOF
49061 #define HAVE_MODF 1
49062 _ACEOF
49063
49064 fi
49065 done
49066
49067   else
49068
49069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49070 $as_echo_n "checking for _modf declaration... " >&6; }
49071   if test x${glibcxx_cv_func__modf_use+set} != xset; then
49072     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49073   $as_echo_n "(cached) " >&6
49074 else
49075
49076
49077       ac_ext=cpp
49078 ac_cpp='$CXXCPP $CPPFLAGS'
49079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49082
49083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49084 /* end confdefs.h.  */
49085 #include <math.h>
49086 int
49087 main ()
49088 {
49089  _modf(0, 0);
49090   ;
49091   return 0;
49092 }
49093 _ACEOF
49094 if ac_fn_cxx_try_compile "$LINENO"; then :
49095   glibcxx_cv_func__modf_use=yes
49096 else
49097   glibcxx_cv_func__modf_use=no
49098 fi
49099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49100       ac_ext=c
49101 ac_cpp='$CPP $CPPFLAGS'
49102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49105
49106
49107 fi
49108
49109   fi
49110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49111 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49112
49113     if test x$glibcxx_cv_func__modf_use = x"yes"; then
49114       for ac_func in _modf
49115 do :
49116   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49117 if test "x$ac_cv_func__modf" = x""yes; then :
49118   cat >>confdefs.h <<_ACEOF
49119 #define HAVE__MODF 1
49120 _ACEOF
49121
49122 fi
49123 done
49124
49125     fi
49126   fi
49127
49128
49129
49130
49131
49132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49133 $as_echo_n "checking for powf declaration... " >&6; }
49134   if test x${glibcxx_cv_func_powf_use+set} != xset; then
49135     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49136   $as_echo_n "(cached) " >&6
49137 else
49138
49139
49140       ac_ext=cpp
49141 ac_cpp='$CXXCPP $CPPFLAGS'
49142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49145
49146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49147 /* end confdefs.h.  */
49148 #include <math.h>
49149 int
49150 main ()
49151 {
49152  powf(0, 0);
49153   ;
49154   return 0;
49155 }
49156 _ACEOF
49157 if ac_fn_cxx_try_compile "$LINENO"; then :
49158   glibcxx_cv_func_powf_use=yes
49159 else
49160   glibcxx_cv_func_powf_use=no
49161 fi
49162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49163       ac_ext=c
49164 ac_cpp='$CPP $CPPFLAGS'
49165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49168
49169
49170 fi
49171
49172   fi
49173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49174 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49175
49176   if test x$glibcxx_cv_func_powf_use = x"yes"; then
49177     for ac_func in powf
49178 do :
49179   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49180 if test "x$ac_cv_func_powf" = x""yes; then :
49181   cat >>confdefs.h <<_ACEOF
49182 #define HAVE_POWF 1
49183 _ACEOF
49184
49185 fi
49186 done
49187
49188   else
49189
49190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49191 $as_echo_n "checking for _powf declaration... " >&6; }
49192   if test x${glibcxx_cv_func__powf_use+set} != xset; then
49193     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49194   $as_echo_n "(cached) " >&6
49195 else
49196
49197
49198       ac_ext=cpp
49199 ac_cpp='$CXXCPP $CPPFLAGS'
49200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203
49204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49205 /* end confdefs.h.  */
49206 #include <math.h>
49207 int
49208 main ()
49209 {
49210  _powf(0, 0);
49211   ;
49212   return 0;
49213 }
49214 _ACEOF
49215 if ac_fn_cxx_try_compile "$LINENO"; then :
49216   glibcxx_cv_func__powf_use=yes
49217 else
49218   glibcxx_cv_func__powf_use=no
49219 fi
49220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49221       ac_ext=c
49222 ac_cpp='$CPP $CPPFLAGS'
49223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49226
49227
49228 fi
49229
49230   fi
49231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49232 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49233
49234     if test x$glibcxx_cv_func__powf_use = x"yes"; then
49235       for ac_func in _powf
49236 do :
49237   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49238 if test "x$ac_cv_func__powf" = x""yes; then :
49239   cat >>confdefs.h <<_ACEOF
49240 #define HAVE__POWF 1
49241 _ACEOF
49242
49243 fi
49244 done
49245
49246     fi
49247   fi
49248
49249
49250
49251
49252
49253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49254 $as_echo_n "checking for sqrtf declaration... " >&6; }
49255   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49256     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49257   $as_echo_n "(cached) " >&6
49258 else
49259
49260
49261       ac_ext=cpp
49262 ac_cpp='$CXXCPP $CPPFLAGS'
49263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49266
49267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49268 /* end confdefs.h.  */
49269 #include <math.h>
49270                       #ifdef HAVE_IEEEFP_H
49271                       #include <ieeefp.h>
49272                       #endif
49273
49274 int
49275 main ()
49276 {
49277  sqrtf(0);
49278   ;
49279   return 0;
49280 }
49281 _ACEOF
49282 if ac_fn_cxx_try_compile "$LINENO"; then :
49283   glibcxx_cv_func_sqrtf_use=yes
49284 else
49285   glibcxx_cv_func_sqrtf_use=no
49286 fi
49287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49288       ac_ext=c
49289 ac_cpp='$CPP $CPPFLAGS'
49290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49293
49294
49295 fi
49296
49297   fi
49298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49299 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49300
49301   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49302     for ac_func in sqrtf
49303 do :
49304   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49305 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49306   cat >>confdefs.h <<_ACEOF
49307 #define HAVE_SQRTF 1
49308 _ACEOF
49309
49310 fi
49311 done
49312
49313   else
49314
49315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49316 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49317   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49318     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49319   $as_echo_n "(cached) " >&6
49320 else
49321
49322
49323       ac_ext=cpp
49324 ac_cpp='$CXXCPP $CPPFLAGS'
49325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328
49329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49330 /* end confdefs.h.  */
49331 #include <math.h>
49332                       #ifdef HAVE_IEEEFP_H
49333                       #include <ieeefp.h>
49334                       #endif
49335
49336 int
49337 main ()
49338 {
49339  _sqrtf(0);
49340   ;
49341   return 0;
49342 }
49343 _ACEOF
49344 if ac_fn_cxx_try_compile "$LINENO"; then :
49345   glibcxx_cv_func__sqrtf_use=yes
49346 else
49347   glibcxx_cv_func__sqrtf_use=no
49348 fi
49349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49350       ac_ext=c
49351 ac_cpp='$CPP $CPPFLAGS'
49352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49355
49356
49357 fi
49358
49359   fi
49360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49361 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49362
49363     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49364       for ac_func in _sqrtf
49365 do :
49366   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49367 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49368   cat >>confdefs.h <<_ACEOF
49369 #define HAVE__SQRTF 1
49370 _ACEOF
49371
49372 fi
49373 done
49374
49375     fi
49376   fi
49377
49378
49379
49380
49381
49382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49383 $as_echo_n "checking for sincosf declaration... " >&6; }
49384   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49385     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49386   $as_echo_n "(cached) " >&6
49387 else
49388
49389
49390       ac_ext=cpp
49391 ac_cpp='$CXXCPP $CPPFLAGS'
49392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49395
49396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49397 /* end confdefs.h.  */
49398 #include <math.h>
49399 int
49400 main ()
49401 {
49402  sincosf(0, 0, 0);
49403   ;
49404   return 0;
49405 }
49406 _ACEOF
49407 if ac_fn_cxx_try_compile "$LINENO"; then :
49408   glibcxx_cv_func_sincosf_use=yes
49409 else
49410   glibcxx_cv_func_sincosf_use=no
49411 fi
49412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49413       ac_ext=c
49414 ac_cpp='$CPP $CPPFLAGS'
49415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49418
49419
49420 fi
49421
49422   fi
49423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49424 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49425
49426   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49427     for ac_func in sincosf
49428 do :
49429   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49430 if test "x$ac_cv_func_sincosf" = x""yes; then :
49431   cat >>confdefs.h <<_ACEOF
49432 #define HAVE_SINCOSF 1
49433 _ACEOF
49434
49435 fi
49436 done
49437
49438   else
49439
49440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49441 $as_echo_n "checking for _sincosf declaration... " >&6; }
49442   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49443     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49444   $as_echo_n "(cached) " >&6
49445 else
49446
49447
49448       ac_ext=cpp
49449 ac_cpp='$CXXCPP $CPPFLAGS'
49450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49453
49454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49455 /* end confdefs.h.  */
49456 #include <math.h>
49457 int
49458 main ()
49459 {
49460  _sincosf(0, 0, 0);
49461   ;
49462   return 0;
49463 }
49464 _ACEOF
49465 if ac_fn_cxx_try_compile "$LINENO"; then :
49466   glibcxx_cv_func__sincosf_use=yes
49467 else
49468   glibcxx_cv_func__sincosf_use=no
49469 fi
49470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49471       ac_ext=c
49472 ac_cpp='$CPP $CPPFLAGS'
49473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476
49477
49478 fi
49479
49480   fi
49481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49482 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49483
49484     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49485       for ac_func in _sincosf
49486 do :
49487   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49488 if test "x$ac_cv_func__sincosf" = x""yes; then :
49489   cat >>confdefs.h <<_ACEOF
49490 #define HAVE__SINCOSF 1
49491 _ACEOF
49492
49493 fi
49494 done
49495
49496     fi
49497   fi
49498
49499
49500
49501
49502
49503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49504 $as_echo_n "checking for finitef declaration... " >&6; }
49505   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49506     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49507   $as_echo_n "(cached) " >&6
49508 else
49509
49510
49511       ac_ext=cpp
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49516
49517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h.  */
49519 #include <math.h>
49520                       #ifdef HAVE_IEEEFP_H
49521                       #include <ieeefp.h>
49522                       #endif
49523
49524 int
49525 main ()
49526 {
49527  finitef(0);
49528   ;
49529   return 0;
49530 }
49531 _ACEOF
49532 if ac_fn_cxx_try_compile "$LINENO"; then :
49533   glibcxx_cv_func_finitef_use=yes
49534 else
49535   glibcxx_cv_func_finitef_use=no
49536 fi
49537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49538       ac_ext=c
49539 ac_cpp='$CPP $CPPFLAGS'
49540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49543
49544
49545 fi
49546
49547   fi
49548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49549 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49550
49551   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49552     for ac_func in finitef
49553 do :
49554   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49555 if test "x$ac_cv_func_finitef" = x""yes; then :
49556   cat >>confdefs.h <<_ACEOF
49557 #define HAVE_FINITEF 1
49558 _ACEOF
49559
49560 fi
49561 done
49562
49563   else
49564
49565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49566 $as_echo_n "checking for _finitef declaration... " >&6; }
49567   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49568     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49569   $as_echo_n "(cached) " >&6
49570 else
49571
49572
49573       ac_ext=cpp
49574 ac_cpp='$CXXCPP $CPPFLAGS'
49575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49578
49579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49580 /* end confdefs.h.  */
49581 #include <math.h>
49582                       #ifdef HAVE_IEEEFP_H
49583                       #include <ieeefp.h>
49584                       #endif
49585
49586 int
49587 main ()
49588 {
49589  _finitef(0);
49590   ;
49591   return 0;
49592 }
49593 _ACEOF
49594 if ac_fn_cxx_try_compile "$LINENO"; then :
49595   glibcxx_cv_func__finitef_use=yes
49596 else
49597   glibcxx_cv_func__finitef_use=no
49598 fi
49599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49600       ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49605
49606
49607 fi
49608
49609   fi
49610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49611 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49612
49613     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49614       for ac_func in _finitef
49615 do :
49616   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49617 if test "x$ac_cv_func__finitef" = x""yes; then :
49618   cat >>confdefs.h <<_ACEOF
49619 #define HAVE__FINITEF 1
49620 _ACEOF
49621
49622 fi
49623 done
49624
49625     fi
49626   fi
49627
49628
49629
49630
49631
49632     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49633 $as_echo_n "checking for long double trig functions... " >&6; }
49634   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49635   $as_echo_n "(cached) " >&6
49636 else
49637
49638
49639     ac_ext=cpp
49640 ac_cpp='$CXXCPP $CPPFLAGS'
49641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49644
49645     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49646 /* end confdefs.h.  */
49647 #include <math.h>
49648 int
49649 main ()
49650 {
49651 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49652   ;
49653   return 0;
49654 }
49655 _ACEOF
49656 if ac_fn_cxx_try_compile "$LINENO"; then :
49657   glibcxx_cv_func_long_double_trig_use=yes
49658 else
49659   glibcxx_cv_func_long_double_trig_use=no
49660 fi
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49662     ac_ext=c
49663 ac_cpp='$CPP $CPPFLAGS'
49664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49667
49668 fi
49669
49670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49671 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49672   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49673     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49674 do :
49675   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49677 eval as_val=\$$as_ac_var
49678    if test "x$as_val" = x""yes; then :
49679   cat >>confdefs.h <<_ACEOF
49680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49681 _ACEOF
49682
49683 fi
49684 done
49685
49686   else
49687     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49688 $as_echo_n "checking for _long double trig functions... " >&6; }
49689     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49690   $as_echo_n "(cached) " >&6
49691 else
49692
49693
49694       ac_ext=cpp
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49699
49700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49701 /* end confdefs.h.  */
49702 #include <math.h>
49703 int
49704 main ()
49705 {
49706 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49707   ;
49708   return 0;
49709 }
49710 _ACEOF
49711 if ac_fn_cxx_try_compile "$LINENO"; then :
49712   glibcxx_cv_func__long_double_trig_use=yes
49713 else
49714   glibcxx_cv_func__long_double_trig_use=no
49715 fi
49716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49717       ac_ext=c
49718 ac_cpp='$CPP $CPPFLAGS'
49719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49722
49723 fi
49724
49725     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49726 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49727     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49728       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49729 do :
49730   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49732 eval as_val=\$$as_ac_var
49733    if test "x$as_val" = x""yes; then :
49734   cat >>confdefs.h <<_ACEOF
49735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49736 _ACEOF
49737
49738 fi
49739 done
49740
49741     fi
49742   fi
49743
49744
49745
49746
49747
49748     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49749 $as_echo_n "checking for long double round functions... " >&6; }
49750   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49751   $as_echo_n "(cached) " >&6
49752 else
49753
49754
49755     ac_ext=cpp
49756 ac_cpp='$CXXCPP $CPPFLAGS'
49757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49760
49761     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49762 /* end confdefs.h.  */
49763 #include <math.h>
49764 int
49765 main ()
49766 {
49767 ceill (0); floorl (0);
49768   ;
49769   return 0;
49770 }
49771 _ACEOF
49772 if ac_fn_cxx_try_compile "$LINENO"; then :
49773   glibcxx_cv_func_long_double_round_use=yes
49774 else
49775   glibcxx_cv_func_long_double_round_use=no
49776 fi
49777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49778     ac_ext=c
49779 ac_cpp='$CPP $CPPFLAGS'
49780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49783
49784 fi
49785
49786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49787 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49788   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49789     for ac_func in ceill floorl
49790 do :
49791   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49793 eval as_val=\$$as_ac_var
49794    if test "x$as_val" = x""yes; then :
49795   cat >>confdefs.h <<_ACEOF
49796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49797 _ACEOF
49798
49799 fi
49800 done
49801
49802   else
49803     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49804 $as_echo_n "checking for _long double round functions... " >&6; }
49805     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49806   $as_echo_n "(cached) " >&6
49807 else
49808
49809
49810       ac_ext=cpp
49811 ac_cpp='$CXXCPP $CPPFLAGS'
49812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49815
49816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49817 /* end confdefs.h.  */
49818 #include <math.h>
49819 int
49820 main ()
49821 {
49822 _ceill (0); _floorl (0);
49823   ;
49824   return 0;
49825 }
49826 _ACEOF
49827 if ac_fn_cxx_try_compile "$LINENO"; then :
49828   glibcxx_cv_func__long_double_round_use=yes
49829 else
49830   glibcxx_cv_func__long_double_round_use=no
49831 fi
49832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49833       ac_ext=c
49834 ac_cpp='$CPP $CPPFLAGS'
49835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49838
49839 fi
49840
49841     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49842 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49843     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49844       for ac_func in _ceill _floorl
49845 do :
49846   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49848 eval as_val=\$$as_ac_var
49849    if test "x$as_val" = x""yes; then :
49850   cat >>confdefs.h <<_ACEOF
49851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49852 _ACEOF
49853
49854 fi
49855 done
49856
49857     fi
49858   fi
49859
49860
49861
49862
49863
49864
49865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49866 $as_echo_n "checking for isnanl declaration... " >&6; }
49867   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49868     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49869   $as_echo_n "(cached) " >&6
49870 else
49871
49872
49873       ac_ext=cpp
49874 ac_cpp='$CXXCPP $CPPFLAGS'
49875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49878
49879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49880 /* end confdefs.h.  */
49881 #include <math.h>
49882                       #ifdef HAVE_IEEEFP_H
49883                       #include <ieeefp.h>
49884                       #endif
49885
49886 int
49887 main ()
49888 {
49889  isnanl(0);
49890   ;
49891   return 0;
49892 }
49893 _ACEOF
49894 if ac_fn_cxx_try_compile "$LINENO"; then :
49895   glibcxx_cv_func_isnanl_use=yes
49896 else
49897   glibcxx_cv_func_isnanl_use=no
49898 fi
49899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49900       ac_ext=c
49901 ac_cpp='$CPP $CPPFLAGS'
49902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49905
49906
49907 fi
49908
49909   fi
49910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49911 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49912
49913   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49914     for ac_func in isnanl
49915 do :
49916   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49917 if test "x$ac_cv_func_isnanl" = x""yes; then :
49918   cat >>confdefs.h <<_ACEOF
49919 #define HAVE_ISNANL 1
49920 _ACEOF
49921
49922 fi
49923 done
49924
49925   else
49926
49927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49928 $as_echo_n "checking for _isnanl declaration... " >&6; }
49929   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49930     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49931   $as_echo_n "(cached) " >&6
49932 else
49933
49934
49935       ac_ext=cpp
49936 ac_cpp='$CXXCPP $CPPFLAGS'
49937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49940
49941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49942 /* end confdefs.h.  */
49943 #include <math.h>
49944                       #ifdef HAVE_IEEEFP_H
49945                       #include <ieeefp.h>
49946                       #endif
49947
49948 int
49949 main ()
49950 {
49951  _isnanl(0);
49952   ;
49953   return 0;
49954 }
49955 _ACEOF
49956 if ac_fn_cxx_try_compile "$LINENO"; then :
49957   glibcxx_cv_func__isnanl_use=yes
49958 else
49959   glibcxx_cv_func__isnanl_use=no
49960 fi
49961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49962       ac_ext=c
49963 ac_cpp='$CPP $CPPFLAGS'
49964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49967
49968
49969 fi
49970
49971   fi
49972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49973 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49974
49975     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49976       for ac_func in _isnanl
49977 do :
49978   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49979 if test "x$ac_cv_func__isnanl" = x""yes; then :
49980   cat >>confdefs.h <<_ACEOF
49981 #define HAVE__ISNANL 1
49982 _ACEOF
49983
49984 fi
49985 done
49986
49987     fi
49988   fi
49989
49990
49991
49992
49993
49994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49995 $as_echo_n "checking for isinfl declaration... " >&6; }
49996   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49997     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49998   $as_echo_n "(cached) " >&6
49999 else
50000
50001
50002       ac_ext=cpp
50003 ac_cpp='$CXXCPP $CPPFLAGS'
50004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50007
50008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50009 /* end confdefs.h.  */
50010 #include <math.h>
50011                       #ifdef HAVE_IEEEFP_H
50012                       #include <ieeefp.h>
50013                       #endif
50014
50015 int
50016 main ()
50017 {
50018  isinfl(0);
50019   ;
50020   return 0;
50021 }
50022 _ACEOF
50023 if ac_fn_cxx_try_compile "$LINENO"; then :
50024   glibcxx_cv_func_isinfl_use=yes
50025 else
50026   glibcxx_cv_func_isinfl_use=no
50027 fi
50028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50029       ac_ext=c
50030 ac_cpp='$CPP $CPPFLAGS'
50031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50034
50035
50036 fi
50037
50038   fi
50039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50040 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50041
50042   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50043     for ac_func in isinfl
50044 do :
50045   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50046 if test "x$ac_cv_func_isinfl" = x""yes; then :
50047   cat >>confdefs.h <<_ACEOF
50048 #define HAVE_ISINFL 1
50049 _ACEOF
50050
50051 fi
50052 done
50053
50054   else
50055
50056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50057 $as_echo_n "checking for _isinfl declaration... " >&6; }
50058   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50059     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50060   $as_echo_n "(cached) " >&6
50061 else
50062
50063
50064       ac_ext=cpp
50065 ac_cpp='$CXXCPP $CPPFLAGS'
50066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50069
50070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50071 /* end confdefs.h.  */
50072 #include <math.h>
50073                       #ifdef HAVE_IEEEFP_H
50074                       #include <ieeefp.h>
50075                       #endif
50076
50077 int
50078 main ()
50079 {
50080  _isinfl(0);
50081   ;
50082   return 0;
50083 }
50084 _ACEOF
50085 if ac_fn_cxx_try_compile "$LINENO"; then :
50086   glibcxx_cv_func__isinfl_use=yes
50087 else
50088   glibcxx_cv_func__isinfl_use=no
50089 fi
50090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50091       ac_ext=c
50092 ac_cpp='$CPP $CPPFLAGS'
50093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50096
50097
50098 fi
50099
50100   fi
50101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50102 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50103
50104     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50105       for ac_func in _isinfl
50106 do :
50107   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50108 if test "x$ac_cv_func__isinfl" = x""yes; then :
50109   cat >>confdefs.h <<_ACEOF
50110 #define HAVE__ISINFL 1
50111 _ACEOF
50112
50113 fi
50114 done
50115
50116     fi
50117   fi
50118
50119
50120
50121
50122
50123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50124 $as_echo_n "checking for atan2l declaration... " >&6; }
50125   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50126     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50127   $as_echo_n "(cached) " >&6
50128 else
50129
50130
50131       ac_ext=cpp
50132 ac_cpp='$CXXCPP $CPPFLAGS'
50133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50136
50137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50138 /* end confdefs.h.  */
50139 #include <math.h>
50140 int
50141 main ()
50142 {
50143  atan2l(0, 0);
50144   ;
50145   return 0;
50146 }
50147 _ACEOF
50148 if ac_fn_cxx_try_compile "$LINENO"; then :
50149   glibcxx_cv_func_atan2l_use=yes
50150 else
50151   glibcxx_cv_func_atan2l_use=no
50152 fi
50153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50154       ac_ext=c
50155 ac_cpp='$CPP $CPPFLAGS'
50156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50159
50160
50161 fi
50162
50163   fi
50164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50165 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50166
50167   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50168     for ac_func in atan2l
50169 do :
50170   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50171 if test "x$ac_cv_func_atan2l" = x""yes; then :
50172   cat >>confdefs.h <<_ACEOF
50173 #define HAVE_ATAN2L 1
50174 _ACEOF
50175
50176 fi
50177 done
50178
50179   else
50180
50181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50182 $as_echo_n "checking for _atan2l declaration... " >&6; }
50183   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50184     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50185   $as_echo_n "(cached) " >&6
50186 else
50187
50188
50189       ac_ext=cpp
50190 ac_cpp='$CXXCPP $CPPFLAGS'
50191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50194
50195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50196 /* end confdefs.h.  */
50197 #include <math.h>
50198 int
50199 main ()
50200 {
50201  _atan2l(0, 0);
50202   ;
50203   return 0;
50204 }
50205 _ACEOF
50206 if ac_fn_cxx_try_compile "$LINENO"; then :
50207   glibcxx_cv_func__atan2l_use=yes
50208 else
50209   glibcxx_cv_func__atan2l_use=no
50210 fi
50211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50212       ac_ext=c
50213 ac_cpp='$CPP $CPPFLAGS'
50214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50217
50218
50219 fi
50220
50221   fi
50222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50223 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50224
50225     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50226       for ac_func in _atan2l
50227 do :
50228   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50229 if test "x$ac_cv_func__atan2l" = x""yes; then :
50230   cat >>confdefs.h <<_ACEOF
50231 #define HAVE__ATAN2L 1
50232 _ACEOF
50233
50234 fi
50235 done
50236
50237     fi
50238   fi
50239
50240
50241
50242
50243
50244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50245 $as_echo_n "checking for expl declaration... " >&6; }
50246   if test x${glibcxx_cv_func_expl_use+set} != xset; then
50247     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50248   $as_echo_n "(cached) " >&6
50249 else
50250
50251
50252       ac_ext=cpp
50253 ac_cpp='$CXXCPP $CPPFLAGS'
50254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50257
50258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50259 /* end confdefs.h.  */
50260 #include <math.h>
50261                       #ifdef HAVE_IEEEFP_H
50262                       #include <ieeefp.h>
50263                       #endif
50264
50265 int
50266 main ()
50267 {
50268  expl(0);
50269   ;
50270   return 0;
50271 }
50272 _ACEOF
50273 if ac_fn_cxx_try_compile "$LINENO"; then :
50274   glibcxx_cv_func_expl_use=yes
50275 else
50276   glibcxx_cv_func_expl_use=no
50277 fi
50278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50279       ac_ext=c
50280 ac_cpp='$CPP $CPPFLAGS'
50281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50284
50285
50286 fi
50287
50288   fi
50289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50290 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50291
50292   if test x$glibcxx_cv_func_expl_use = x"yes"; then
50293     for ac_func in expl
50294 do :
50295   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50296 if test "x$ac_cv_func_expl" = x""yes; then :
50297   cat >>confdefs.h <<_ACEOF
50298 #define HAVE_EXPL 1
50299 _ACEOF
50300
50301 fi
50302 done
50303
50304   else
50305
50306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50307 $as_echo_n "checking for _expl declaration... " >&6; }
50308   if test x${glibcxx_cv_func__expl_use+set} != xset; then
50309     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50310   $as_echo_n "(cached) " >&6
50311 else
50312
50313
50314       ac_ext=cpp
50315 ac_cpp='$CXXCPP $CPPFLAGS'
50316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50319
50320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50321 /* end confdefs.h.  */
50322 #include <math.h>
50323                       #ifdef HAVE_IEEEFP_H
50324                       #include <ieeefp.h>
50325                       #endif
50326
50327 int
50328 main ()
50329 {
50330  _expl(0);
50331   ;
50332   return 0;
50333 }
50334 _ACEOF
50335 if ac_fn_cxx_try_compile "$LINENO"; then :
50336   glibcxx_cv_func__expl_use=yes
50337 else
50338   glibcxx_cv_func__expl_use=no
50339 fi
50340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50341       ac_ext=c
50342 ac_cpp='$CPP $CPPFLAGS'
50343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50346
50347
50348 fi
50349
50350   fi
50351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50352 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50353
50354     if test x$glibcxx_cv_func__expl_use = x"yes"; then
50355       for ac_func in _expl
50356 do :
50357   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50358 if test "x$ac_cv_func__expl" = x""yes; then :
50359   cat >>confdefs.h <<_ACEOF
50360 #define HAVE__EXPL 1
50361 _ACEOF
50362
50363 fi
50364 done
50365
50366     fi
50367   fi
50368
50369
50370
50371
50372
50373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50374 $as_echo_n "checking for fabsl declaration... " >&6; }
50375   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50376     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50377   $as_echo_n "(cached) " >&6
50378 else
50379
50380
50381       ac_ext=cpp
50382 ac_cpp='$CXXCPP $CPPFLAGS'
50383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50386
50387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50388 /* end confdefs.h.  */
50389 #include <math.h>
50390                       #ifdef HAVE_IEEEFP_H
50391                       #include <ieeefp.h>
50392                       #endif
50393
50394 int
50395 main ()
50396 {
50397  fabsl(0);
50398   ;
50399   return 0;
50400 }
50401 _ACEOF
50402 if ac_fn_cxx_try_compile "$LINENO"; then :
50403   glibcxx_cv_func_fabsl_use=yes
50404 else
50405   glibcxx_cv_func_fabsl_use=no
50406 fi
50407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50408       ac_ext=c
50409 ac_cpp='$CPP $CPPFLAGS'
50410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50413
50414
50415 fi
50416
50417   fi
50418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50419 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50420
50421   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50422     for ac_func in fabsl
50423 do :
50424   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50425 if test "x$ac_cv_func_fabsl" = x""yes; then :
50426   cat >>confdefs.h <<_ACEOF
50427 #define HAVE_FABSL 1
50428 _ACEOF
50429
50430 fi
50431 done
50432
50433   else
50434
50435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50436 $as_echo_n "checking for _fabsl declaration... " >&6; }
50437   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50438     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50439   $as_echo_n "(cached) " >&6
50440 else
50441
50442
50443       ac_ext=cpp
50444 ac_cpp='$CXXCPP $CPPFLAGS'
50445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50448
50449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50450 /* end confdefs.h.  */
50451 #include <math.h>
50452                       #ifdef HAVE_IEEEFP_H
50453                       #include <ieeefp.h>
50454                       #endif
50455
50456 int
50457 main ()
50458 {
50459  _fabsl(0);
50460   ;
50461   return 0;
50462 }
50463 _ACEOF
50464 if ac_fn_cxx_try_compile "$LINENO"; then :
50465   glibcxx_cv_func__fabsl_use=yes
50466 else
50467   glibcxx_cv_func__fabsl_use=no
50468 fi
50469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50470       ac_ext=c
50471 ac_cpp='$CPP $CPPFLAGS'
50472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50475
50476
50477 fi
50478
50479   fi
50480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50481 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50482
50483     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50484       for ac_func in _fabsl
50485 do :
50486   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50487 if test "x$ac_cv_func__fabsl" = x""yes; then :
50488   cat >>confdefs.h <<_ACEOF
50489 #define HAVE__FABSL 1
50490 _ACEOF
50491
50492 fi
50493 done
50494
50495     fi
50496   fi
50497
50498
50499
50500
50501
50502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50503 $as_echo_n "checking for fmodl declaration... " >&6; }
50504   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50505     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50506   $as_echo_n "(cached) " >&6
50507 else
50508
50509
50510       ac_ext=cpp
50511 ac_cpp='$CXXCPP $CPPFLAGS'
50512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50515
50516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50517 /* end confdefs.h.  */
50518 #include <math.h>
50519 int
50520 main ()
50521 {
50522  fmodl(0, 0);
50523   ;
50524   return 0;
50525 }
50526 _ACEOF
50527 if ac_fn_cxx_try_compile "$LINENO"; then :
50528   glibcxx_cv_func_fmodl_use=yes
50529 else
50530   glibcxx_cv_func_fmodl_use=no
50531 fi
50532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50533       ac_ext=c
50534 ac_cpp='$CPP $CPPFLAGS'
50535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50538
50539
50540 fi
50541
50542   fi
50543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50544 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50545
50546   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50547     for ac_func in fmodl
50548 do :
50549   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50550 if test "x$ac_cv_func_fmodl" = x""yes; then :
50551   cat >>confdefs.h <<_ACEOF
50552 #define HAVE_FMODL 1
50553 _ACEOF
50554
50555 fi
50556 done
50557
50558   else
50559
50560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50561 $as_echo_n "checking for _fmodl declaration... " >&6; }
50562   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50563     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50564   $as_echo_n "(cached) " >&6
50565 else
50566
50567
50568       ac_ext=cpp
50569 ac_cpp='$CXXCPP $CPPFLAGS'
50570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50573
50574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50575 /* end confdefs.h.  */
50576 #include <math.h>
50577 int
50578 main ()
50579 {
50580  _fmodl(0, 0);
50581   ;
50582   return 0;
50583 }
50584 _ACEOF
50585 if ac_fn_cxx_try_compile "$LINENO"; then :
50586   glibcxx_cv_func__fmodl_use=yes
50587 else
50588   glibcxx_cv_func__fmodl_use=no
50589 fi
50590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50591       ac_ext=c
50592 ac_cpp='$CPP $CPPFLAGS'
50593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50596
50597
50598 fi
50599
50600   fi
50601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50602 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50603
50604     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50605       for ac_func in _fmodl
50606 do :
50607   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50608 if test "x$ac_cv_func__fmodl" = x""yes; then :
50609   cat >>confdefs.h <<_ACEOF
50610 #define HAVE__FMODL 1
50611 _ACEOF
50612
50613 fi
50614 done
50615
50616     fi
50617   fi
50618
50619
50620
50621
50622
50623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50624 $as_echo_n "checking for frexpl declaration... " >&6; }
50625   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50626     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50627   $as_echo_n "(cached) " >&6
50628 else
50629
50630
50631       ac_ext=cpp
50632 ac_cpp='$CXXCPP $CPPFLAGS'
50633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50636
50637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50638 /* end confdefs.h.  */
50639 #include <math.h>
50640 int
50641 main ()
50642 {
50643  frexpl(0, 0);
50644   ;
50645   return 0;
50646 }
50647 _ACEOF
50648 if ac_fn_cxx_try_compile "$LINENO"; then :
50649   glibcxx_cv_func_frexpl_use=yes
50650 else
50651   glibcxx_cv_func_frexpl_use=no
50652 fi
50653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50654       ac_ext=c
50655 ac_cpp='$CPP $CPPFLAGS'
50656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50659
50660
50661 fi
50662
50663   fi
50664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50665 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50666
50667   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50668     for ac_func in frexpl
50669 do :
50670   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50671 if test "x$ac_cv_func_frexpl" = x""yes; then :
50672   cat >>confdefs.h <<_ACEOF
50673 #define HAVE_FREXPL 1
50674 _ACEOF
50675
50676 fi
50677 done
50678
50679   else
50680
50681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50682 $as_echo_n "checking for _frexpl declaration... " >&6; }
50683   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50684     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50685   $as_echo_n "(cached) " >&6
50686 else
50687
50688
50689       ac_ext=cpp
50690 ac_cpp='$CXXCPP $CPPFLAGS'
50691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50694
50695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50696 /* end confdefs.h.  */
50697 #include <math.h>
50698 int
50699 main ()
50700 {
50701  _frexpl(0, 0);
50702   ;
50703   return 0;
50704 }
50705 _ACEOF
50706 if ac_fn_cxx_try_compile "$LINENO"; then :
50707   glibcxx_cv_func__frexpl_use=yes
50708 else
50709   glibcxx_cv_func__frexpl_use=no
50710 fi
50711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50712       ac_ext=c
50713 ac_cpp='$CPP $CPPFLAGS'
50714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50717
50718
50719 fi
50720
50721   fi
50722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50723 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50724
50725     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50726       for ac_func in _frexpl
50727 do :
50728   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50729 if test "x$ac_cv_func__frexpl" = x""yes; then :
50730   cat >>confdefs.h <<_ACEOF
50731 #define HAVE__FREXPL 1
50732 _ACEOF
50733
50734 fi
50735 done
50736
50737     fi
50738   fi
50739
50740
50741
50742
50743
50744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50745 $as_echo_n "checking for hypotl declaration... " >&6; }
50746   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50747     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50748   $as_echo_n "(cached) " >&6
50749 else
50750
50751
50752       ac_ext=cpp
50753 ac_cpp='$CXXCPP $CPPFLAGS'
50754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50757
50758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50759 /* end confdefs.h.  */
50760 #include <math.h>
50761 int
50762 main ()
50763 {
50764  hypotl(0, 0);
50765   ;
50766   return 0;
50767 }
50768 _ACEOF
50769 if ac_fn_cxx_try_compile "$LINENO"; then :
50770   glibcxx_cv_func_hypotl_use=yes
50771 else
50772   glibcxx_cv_func_hypotl_use=no
50773 fi
50774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50775       ac_ext=c
50776 ac_cpp='$CPP $CPPFLAGS'
50777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50780
50781
50782 fi
50783
50784   fi
50785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50786 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50787
50788   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50789     for ac_func in hypotl
50790 do :
50791   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50792 if test "x$ac_cv_func_hypotl" = x""yes; then :
50793   cat >>confdefs.h <<_ACEOF
50794 #define HAVE_HYPOTL 1
50795 _ACEOF
50796
50797 fi
50798 done
50799
50800   else
50801
50802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50803 $as_echo_n "checking for _hypotl declaration... " >&6; }
50804   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50805     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50806   $as_echo_n "(cached) " >&6
50807 else
50808
50809
50810       ac_ext=cpp
50811 ac_cpp='$CXXCPP $CPPFLAGS'
50812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50815
50816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50817 /* end confdefs.h.  */
50818 #include <math.h>
50819 int
50820 main ()
50821 {
50822  _hypotl(0, 0);
50823   ;
50824   return 0;
50825 }
50826 _ACEOF
50827 if ac_fn_cxx_try_compile "$LINENO"; then :
50828   glibcxx_cv_func__hypotl_use=yes
50829 else
50830   glibcxx_cv_func__hypotl_use=no
50831 fi
50832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50833       ac_ext=c
50834 ac_cpp='$CPP $CPPFLAGS'
50835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50838
50839
50840 fi
50841
50842   fi
50843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50844 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50845
50846     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50847       for ac_func in _hypotl
50848 do :
50849   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50850 if test "x$ac_cv_func__hypotl" = x""yes; then :
50851   cat >>confdefs.h <<_ACEOF
50852 #define HAVE__HYPOTL 1
50853 _ACEOF
50854
50855 fi
50856 done
50857
50858     fi
50859   fi
50860
50861
50862
50863
50864
50865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50866 $as_echo_n "checking for ldexpl declaration... " >&6; }
50867   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50868     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50869   $as_echo_n "(cached) " >&6
50870 else
50871
50872
50873       ac_ext=cpp
50874 ac_cpp='$CXXCPP $CPPFLAGS'
50875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50878
50879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50880 /* end confdefs.h.  */
50881 #include <math.h>
50882 int
50883 main ()
50884 {
50885  ldexpl(0, 0);
50886   ;
50887   return 0;
50888 }
50889 _ACEOF
50890 if ac_fn_cxx_try_compile "$LINENO"; then :
50891   glibcxx_cv_func_ldexpl_use=yes
50892 else
50893   glibcxx_cv_func_ldexpl_use=no
50894 fi
50895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50896       ac_ext=c
50897 ac_cpp='$CPP $CPPFLAGS'
50898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50901
50902
50903 fi
50904
50905   fi
50906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50907 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50908
50909   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50910     for ac_func in ldexpl
50911 do :
50912   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50913 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50914   cat >>confdefs.h <<_ACEOF
50915 #define HAVE_LDEXPL 1
50916 _ACEOF
50917
50918 fi
50919 done
50920
50921   else
50922
50923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50924 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50925   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50926     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50927   $as_echo_n "(cached) " >&6
50928 else
50929
50930
50931       ac_ext=cpp
50932 ac_cpp='$CXXCPP $CPPFLAGS'
50933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50936
50937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50938 /* end confdefs.h.  */
50939 #include <math.h>
50940 int
50941 main ()
50942 {
50943  _ldexpl(0, 0);
50944   ;
50945   return 0;
50946 }
50947 _ACEOF
50948 if ac_fn_cxx_try_compile "$LINENO"; then :
50949   glibcxx_cv_func__ldexpl_use=yes
50950 else
50951   glibcxx_cv_func__ldexpl_use=no
50952 fi
50953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50954       ac_ext=c
50955 ac_cpp='$CPP $CPPFLAGS'
50956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50959
50960
50961 fi
50962
50963   fi
50964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50965 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50966
50967     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50968       for ac_func in _ldexpl
50969 do :
50970   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50971 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50972   cat >>confdefs.h <<_ACEOF
50973 #define HAVE__LDEXPL 1
50974 _ACEOF
50975
50976 fi
50977 done
50978
50979     fi
50980   fi
50981
50982
50983
50984
50985
50986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50987 $as_echo_n "checking for logl declaration... " >&6; }
50988   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50989     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50990   $as_echo_n "(cached) " >&6
50991 else
50992
50993
50994       ac_ext=cpp
50995 ac_cpp='$CXXCPP $CPPFLAGS'
50996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50999
51000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51001 /* end confdefs.h.  */
51002 #include <math.h>
51003                       #ifdef HAVE_IEEEFP_H
51004                       #include <ieeefp.h>
51005                       #endif
51006
51007 int
51008 main ()
51009 {
51010  logl(0);
51011   ;
51012   return 0;
51013 }
51014 _ACEOF
51015 if ac_fn_cxx_try_compile "$LINENO"; then :
51016   glibcxx_cv_func_logl_use=yes
51017 else
51018   glibcxx_cv_func_logl_use=no
51019 fi
51020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51021       ac_ext=c
51022 ac_cpp='$CPP $CPPFLAGS'
51023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51026
51027
51028 fi
51029
51030   fi
51031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51032 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51033
51034   if test x$glibcxx_cv_func_logl_use = x"yes"; then
51035     for ac_func in logl
51036 do :
51037   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51038 if test "x$ac_cv_func_logl" = x""yes; then :
51039   cat >>confdefs.h <<_ACEOF
51040 #define HAVE_LOGL 1
51041 _ACEOF
51042
51043 fi
51044 done
51045
51046   else
51047
51048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51049 $as_echo_n "checking for _logl declaration... " >&6; }
51050   if test x${glibcxx_cv_func__logl_use+set} != xset; then
51051     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51052   $as_echo_n "(cached) " >&6
51053 else
51054
51055
51056       ac_ext=cpp
51057 ac_cpp='$CXXCPP $CPPFLAGS'
51058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51061
51062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51063 /* end confdefs.h.  */
51064 #include <math.h>
51065                       #ifdef HAVE_IEEEFP_H
51066                       #include <ieeefp.h>
51067                       #endif
51068
51069 int
51070 main ()
51071 {
51072  _logl(0);
51073   ;
51074   return 0;
51075 }
51076 _ACEOF
51077 if ac_fn_cxx_try_compile "$LINENO"; then :
51078   glibcxx_cv_func__logl_use=yes
51079 else
51080   glibcxx_cv_func__logl_use=no
51081 fi
51082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51083       ac_ext=c
51084 ac_cpp='$CPP $CPPFLAGS'
51085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51088
51089
51090 fi
51091
51092   fi
51093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51094 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51095
51096     if test x$glibcxx_cv_func__logl_use = x"yes"; then
51097       for ac_func in _logl
51098 do :
51099   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51100 if test "x$ac_cv_func__logl" = x""yes; then :
51101   cat >>confdefs.h <<_ACEOF
51102 #define HAVE__LOGL 1
51103 _ACEOF
51104
51105 fi
51106 done
51107
51108     fi
51109   fi
51110
51111
51112
51113
51114
51115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51116 $as_echo_n "checking for log10l declaration... " >&6; }
51117   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51118     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51119   $as_echo_n "(cached) " >&6
51120 else
51121
51122
51123       ac_ext=cpp
51124 ac_cpp='$CXXCPP $CPPFLAGS'
51125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51128
51129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51130 /* end confdefs.h.  */
51131 #include <math.h>
51132                       #ifdef HAVE_IEEEFP_H
51133                       #include <ieeefp.h>
51134                       #endif
51135
51136 int
51137 main ()
51138 {
51139  log10l(0);
51140   ;
51141   return 0;
51142 }
51143 _ACEOF
51144 if ac_fn_cxx_try_compile "$LINENO"; then :
51145   glibcxx_cv_func_log10l_use=yes
51146 else
51147   glibcxx_cv_func_log10l_use=no
51148 fi
51149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51150       ac_ext=c
51151 ac_cpp='$CPP $CPPFLAGS'
51152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51155
51156
51157 fi
51158
51159   fi
51160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51161 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51162
51163   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51164     for ac_func in log10l
51165 do :
51166   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51167 if test "x$ac_cv_func_log10l" = x""yes; then :
51168   cat >>confdefs.h <<_ACEOF
51169 #define HAVE_LOG10L 1
51170 _ACEOF
51171
51172 fi
51173 done
51174
51175   else
51176
51177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51178 $as_echo_n "checking for _log10l declaration... " >&6; }
51179   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51180     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51181   $as_echo_n "(cached) " >&6
51182 else
51183
51184
51185       ac_ext=cpp
51186 ac_cpp='$CXXCPP $CPPFLAGS'
51187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51190
51191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51192 /* end confdefs.h.  */
51193 #include <math.h>
51194                       #ifdef HAVE_IEEEFP_H
51195                       #include <ieeefp.h>
51196                       #endif
51197
51198 int
51199 main ()
51200 {
51201  _log10l(0);
51202   ;
51203   return 0;
51204 }
51205 _ACEOF
51206 if ac_fn_cxx_try_compile "$LINENO"; then :
51207   glibcxx_cv_func__log10l_use=yes
51208 else
51209   glibcxx_cv_func__log10l_use=no
51210 fi
51211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51212       ac_ext=c
51213 ac_cpp='$CPP $CPPFLAGS'
51214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51217
51218
51219 fi
51220
51221   fi
51222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51223 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51224
51225     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51226       for ac_func in _log10l
51227 do :
51228   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51229 if test "x$ac_cv_func__log10l" = x""yes; then :
51230   cat >>confdefs.h <<_ACEOF
51231 #define HAVE__LOG10L 1
51232 _ACEOF
51233
51234 fi
51235 done
51236
51237     fi
51238   fi
51239
51240
51241
51242
51243
51244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51245 $as_echo_n "checking for modfl declaration... " >&6; }
51246   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51247     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51248   $as_echo_n "(cached) " >&6
51249 else
51250
51251
51252       ac_ext=cpp
51253 ac_cpp='$CXXCPP $CPPFLAGS'
51254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51257
51258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51259 /* end confdefs.h.  */
51260 #include <math.h>
51261 int
51262 main ()
51263 {
51264  modfl(0, 0);
51265   ;
51266   return 0;
51267 }
51268 _ACEOF
51269 if ac_fn_cxx_try_compile "$LINENO"; then :
51270   glibcxx_cv_func_modfl_use=yes
51271 else
51272   glibcxx_cv_func_modfl_use=no
51273 fi
51274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51275       ac_ext=c
51276 ac_cpp='$CPP $CPPFLAGS'
51277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51280
51281
51282 fi
51283
51284   fi
51285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51286 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51287
51288   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51289     for ac_func in modfl
51290 do :
51291   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51292 if test "x$ac_cv_func_modfl" = x""yes; then :
51293   cat >>confdefs.h <<_ACEOF
51294 #define HAVE_MODFL 1
51295 _ACEOF
51296
51297 fi
51298 done
51299
51300   else
51301
51302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51303 $as_echo_n "checking for _modfl declaration... " >&6; }
51304   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51305     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51306   $as_echo_n "(cached) " >&6
51307 else
51308
51309
51310       ac_ext=cpp
51311 ac_cpp='$CXXCPP $CPPFLAGS'
51312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51315
51316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51317 /* end confdefs.h.  */
51318 #include <math.h>
51319 int
51320 main ()
51321 {
51322  _modfl(0, 0);
51323   ;
51324   return 0;
51325 }
51326 _ACEOF
51327 if ac_fn_cxx_try_compile "$LINENO"; then :
51328   glibcxx_cv_func__modfl_use=yes
51329 else
51330   glibcxx_cv_func__modfl_use=no
51331 fi
51332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51333       ac_ext=c
51334 ac_cpp='$CPP $CPPFLAGS'
51335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51338
51339
51340 fi
51341
51342   fi
51343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51344 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51345
51346     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51347       for ac_func in _modfl
51348 do :
51349   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51350 if test "x$ac_cv_func__modfl" = x""yes; then :
51351   cat >>confdefs.h <<_ACEOF
51352 #define HAVE__MODFL 1
51353 _ACEOF
51354
51355 fi
51356 done
51357
51358     fi
51359   fi
51360
51361
51362
51363
51364
51365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51366 $as_echo_n "checking for powl declaration... " >&6; }
51367   if test x${glibcxx_cv_func_powl_use+set} != xset; then
51368     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51369   $as_echo_n "(cached) " >&6
51370 else
51371
51372
51373       ac_ext=cpp
51374 ac_cpp='$CXXCPP $CPPFLAGS'
51375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51378
51379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51380 /* end confdefs.h.  */
51381 #include <math.h>
51382 int
51383 main ()
51384 {
51385  powl(0, 0);
51386   ;
51387   return 0;
51388 }
51389 _ACEOF
51390 if ac_fn_cxx_try_compile "$LINENO"; then :
51391   glibcxx_cv_func_powl_use=yes
51392 else
51393   glibcxx_cv_func_powl_use=no
51394 fi
51395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51396       ac_ext=c
51397 ac_cpp='$CPP $CPPFLAGS'
51398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51401
51402
51403 fi
51404
51405   fi
51406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51407 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51408
51409   if test x$glibcxx_cv_func_powl_use = x"yes"; then
51410     for ac_func in powl
51411 do :
51412   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51413 if test "x$ac_cv_func_powl" = x""yes; then :
51414   cat >>confdefs.h <<_ACEOF
51415 #define HAVE_POWL 1
51416 _ACEOF
51417
51418 fi
51419 done
51420
51421   else
51422
51423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51424 $as_echo_n "checking for _powl declaration... " >&6; }
51425   if test x${glibcxx_cv_func__powl_use+set} != xset; then
51426     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51427   $as_echo_n "(cached) " >&6
51428 else
51429
51430
51431       ac_ext=cpp
51432 ac_cpp='$CXXCPP $CPPFLAGS'
51433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51436
51437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51438 /* end confdefs.h.  */
51439 #include <math.h>
51440 int
51441 main ()
51442 {
51443  _powl(0, 0);
51444   ;
51445   return 0;
51446 }
51447 _ACEOF
51448 if ac_fn_cxx_try_compile "$LINENO"; then :
51449   glibcxx_cv_func__powl_use=yes
51450 else
51451   glibcxx_cv_func__powl_use=no
51452 fi
51453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51454       ac_ext=c
51455 ac_cpp='$CPP $CPPFLAGS'
51456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51459
51460
51461 fi
51462
51463   fi
51464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51465 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51466
51467     if test x$glibcxx_cv_func__powl_use = x"yes"; then
51468       for ac_func in _powl
51469 do :
51470   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51471 if test "x$ac_cv_func__powl" = x""yes; then :
51472   cat >>confdefs.h <<_ACEOF
51473 #define HAVE__POWL 1
51474 _ACEOF
51475
51476 fi
51477 done
51478
51479     fi
51480   fi
51481
51482
51483
51484
51485
51486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51487 $as_echo_n "checking for sqrtl declaration... " >&6; }
51488   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51489     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51490   $as_echo_n "(cached) " >&6
51491 else
51492
51493
51494       ac_ext=cpp
51495 ac_cpp='$CXXCPP $CPPFLAGS'
51496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51499
51500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51501 /* end confdefs.h.  */
51502 #include <math.h>
51503                       #ifdef HAVE_IEEEFP_H
51504                       #include <ieeefp.h>
51505                       #endif
51506
51507 int
51508 main ()
51509 {
51510  sqrtl(0);
51511   ;
51512   return 0;
51513 }
51514 _ACEOF
51515 if ac_fn_cxx_try_compile "$LINENO"; then :
51516   glibcxx_cv_func_sqrtl_use=yes
51517 else
51518   glibcxx_cv_func_sqrtl_use=no
51519 fi
51520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51521       ac_ext=c
51522 ac_cpp='$CPP $CPPFLAGS'
51523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51526
51527
51528 fi
51529
51530   fi
51531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51532 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51533
51534   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51535     for ac_func in sqrtl
51536 do :
51537   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51538 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51539   cat >>confdefs.h <<_ACEOF
51540 #define HAVE_SQRTL 1
51541 _ACEOF
51542
51543 fi
51544 done
51545
51546   else
51547
51548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51549 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51550   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51551     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51552   $as_echo_n "(cached) " >&6
51553 else
51554
51555
51556       ac_ext=cpp
51557 ac_cpp='$CXXCPP $CPPFLAGS'
51558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51561
51562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51563 /* end confdefs.h.  */
51564 #include <math.h>
51565                       #ifdef HAVE_IEEEFP_H
51566                       #include <ieeefp.h>
51567                       #endif
51568
51569 int
51570 main ()
51571 {
51572  _sqrtl(0);
51573   ;
51574   return 0;
51575 }
51576 _ACEOF
51577 if ac_fn_cxx_try_compile "$LINENO"; then :
51578   glibcxx_cv_func__sqrtl_use=yes
51579 else
51580   glibcxx_cv_func__sqrtl_use=no
51581 fi
51582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51583       ac_ext=c
51584 ac_cpp='$CPP $CPPFLAGS'
51585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51588
51589
51590 fi
51591
51592   fi
51593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51594 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51595
51596     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51597       for ac_func in _sqrtl
51598 do :
51599   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51600 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51601   cat >>confdefs.h <<_ACEOF
51602 #define HAVE__SQRTL 1
51603 _ACEOF
51604
51605 fi
51606 done
51607
51608     fi
51609   fi
51610
51611
51612
51613
51614
51615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51616 $as_echo_n "checking for sincosl declaration... " >&6; }
51617   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51618     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51619   $as_echo_n "(cached) " >&6
51620 else
51621
51622
51623       ac_ext=cpp
51624 ac_cpp='$CXXCPP $CPPFLAGS'
51625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51628
51629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51630 /* end confdefs.h.  */
51631 #include <math.h>
51632 int
51633 main ()
51634 {
51635  sincosl(0, 0, 0);
51636   ;
51637   return 0;
51638 }
51639 _ACEOF
51640 if ac_fn_cxx_try_compile "$LINENO"; then :
51641   glibcxx_cv_func_sincosl_use=yes
51642 else
51643   glibcxx_cv_func_sincosl_use=no
51644 fi
51645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51646       ac_ext=c
51647 ac_cpp='$CPP $CPPFLAGS'
51648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51651
51652
51653 fi
51654
51655   fi
51656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51657 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51658
51659   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51660     for ac_func in sincosl
51661 do :
51662   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51663 if test "x$ac_cv_func_sincosl" = x""yes; then :
51664   cat >>confdefs.h <<_ACEOF
51665 #define HAVE_SINCOSL 1
51666 _ACEOF
51667
51668 fi
51669 done
51670
51671   else
51672
51673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51674 $as_echo_n "checking for _sincosl declaration... " >&6; }
51675   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51676     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51677   $as_echo_n "(cached) " >&6
51678 else
51679
51680
51681       ac_ext=cpp
51682 ac_cpp='$CXXCPP $CPPFLAGS'
51683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51686
51687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51688 /* end confdefs.h.  */
51689 #include <math.h>
51690 int
51691 main ()
51692 {
51693  _sincosl(0, 0, 0);
51694   ;
51695   return 0;
51696 }
51697 _ACEOF
51698 if ac_fn_cxx_try_compile "$LINENO"; then :
51699   glibcxx_cv_func__sincosl_use=yes
51700 else
51701   glibcxx_cv_func__sincosl_use=no
51702 fi
51703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51704       ac_ext=c
51705 ac_cpp='$CPP $CPPFLAGS'
51706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51709
51710
51711 fi
51712
51713   fi
51714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51715 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51716
51717     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51718       for ac_func in _sincosl
51719 do :
51720   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51721 if test "x$ac_cv_func__sincosl" = x""yes; then :
51722   cat >>confdefs.h <<_ACEOF
51723 #define HAVE__SINCOSL 1
51724 _ACEOF
51725
51726 fi
51727 done
51728
51729     fi
51730   fi
51731
51732
51733
51734
51735
51736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51737 $as_echo_n "checking for finitel declaration... " >&6; }
51738   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51739     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51740   $as_echo_n "(cached) " >&6
51741 else
51742
51743
51744       ac_ext=cpp
51745 ac_cpp='$CXXCPP $CPPFLAGS'
51746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51749
51750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51751 /* end confdefs.h.  */
51752 #include <math.h>
51753                       #ifdef HAVE_IEEEFP_H
51754                       #include <ieeefp.h>
51755                       #endif
51756
51757 int
51758 main ()
51759 {
51760  finitel(0);
51761   ;
51762   return 0;
51763 }
51764 _ACEOF
51765 if ac_fn_cxx_try_compile "$LINENO"; then :
51766   glibcxx_cv_func_finitel_use=yes
51767 else
51768   glibcxx_cv_func_finitel_use=no
51769 fi
51770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51771       ac_ext=c
51772 ac_cpp='$CPP $CPPFLAGS'
51773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51776
51777
51778 fi
51779
51780   fi
51781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51782 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51783
51784   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51785     for ac_func in finitel
51786 do :
51787   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51788 if test "x$ac_cv_func_finitel" = x""yes; then :
51789   cat >>confdefs.h <<_ACEOF
51790 #define HAVE_FINITEL 1
51791 _ACEOF
51792
51793 fi
51794 done
51795
51796   else
51797
51798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51799 $as_echo_n "checking for _finitel declaration... " >&6; }
51800   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51801     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51802   $as_echo_n "(cached) " >&6
51803 else
51804
51805
51806       ac_ext=cpp
51807 ac_cpp='$CXXCPP $CPPFLAGS'
51808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51811
51812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51813 /* end confdefs.h.  */
51814 #include <math.h>
51815                       #ifdef HAVE_IEEEFP_H
51816                       #include <ieeefp.h>
51817                       #endif
51818
51819 int
51820 main ()
51821 {
51822  _finitel(0);
51823   ;
51824   return 0;
51825 }
51826 _ACEOF
51827 if ac_fn_cxx_try_compile "$LINENO"; then :
51828   glibcxx_cv_func__finitel_use=yes
51829 else
51830   glibcxx_cv_func__finitel_use=no
51831 fi
51832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51833       ac_ext=c
51834 ac_cpp='$CPP $CPPFLAGS'
51835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51838
51839
51840 fi
51841
51842   fi
51843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51844 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51845
51846     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51847       for ac_func in _finitel
51848 do :
51849   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51850 if test "x$ac_cv_func__finitel" = x""yes; then :
51851   cat >>confdefs.h <<_ACEOF
51852 #define HAVE__FINITEL 1
51853 _ACEOF
51854
51855 fi
51856 done
51857
51858     fi
51859   fi
51860
51861
51862
51863
51864   LIBS="$ac_save_LIBS"
51865   CXXFLAGS="$ac_save_CXXFLAGS"
51866
51867
51868   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51869   ac_save_CXXFLAGS="$CXXFLAGS"
51870   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51871
51872
51873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51874 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51875   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51876     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51877   $as_echo_n "(cached) " >&6
51878 else
51879
51880
51881       ac_ext=cpp
51882 ac_cpp='$CXXCPP $CPPFLAGS'
51883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51886
51887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51888 /* end confdefs.h.  */
51889 #include <stdlib.h>
51890 int
51891 main ()
51892 {
51893  at_quick_exit(0);
51894   ;
51895   return 0;
51896 }
51897 _ACEOF
51898 if ac_fn_cxx_try_compile "$LINENO"; then :
51899   glibcxx_cv_func_at_quick_exit_use=yes
51900 else
51901   glibcxx_cv_func_at_quick_exit_use=no
51902 fi
51903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51904       ac_ext=c
51905 ac_cpp='$CPP $CPPFLAGS'
51906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51909
51910
51911 fi
51912
51913   fi
51914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51915 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51916   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51917     for ac_func in at_quick_exit
51918 do :
51919   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51920 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51921   cat >>confdefs.h <<_ACEOF
51922 #define HAVE_AT_QUICK_EXIT 1
51923 _ACEOF
51924
51925 fi
51926 done
51927
51928   fi
51929
51930
51931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51932 $as_echo_n "checking for quick_exit declaration... " >&6; }
51933   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51934     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51935   $as_echo_n "(cached) " >&6
51936 else
51937
51938
51939       ac_ext=cpp
51940 ac_cpp='$CXXCPP $CPPFLAGS'
51941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51944
51945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51946 /* end confdefs.h.  */
51947 #include <stdlib.h>
51948 int
51949 main ()
51950 {
51951  quick_exit(0);
51952   ;
51953   return 0;
51954 }
51955 _ACEOF
51956 if ac_fn_cxx_try_compile "$LINENO"; then :
51957   glibcxx_cv_func_quick_exit_use=yes
51958 else
51959   glibcxx_cv_func_quick_exit_use=no
51960 fi
51961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51962       ac_ext=c
51963 ac_cpp='$CPP $CPPFLAGS'
51964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51967
51968
51969 fi
51970
51971   fi
51972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51973 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51974   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51975     for ac_func in quick_exit
51976 do :
51977   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51978 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51979   cat >>confdefs.h <<_ACEOF
51980 #define HAVE_QUICK_EXIT 1
51981 _ACEOF
51982
51983 fi
51984 done
51985
51986   fi
51987
51988
51989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51990 $as_echo_n "checking for strtold declaration... " >&6; }
51991   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51992     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51993   $as_echo_n "(cached) " >&6
51994 else
51995
51996
51997       ac_ext=cpp
51998 ac_cpp='$CXXCPP $CPPFLAGS'
51999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52002
52003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52004 /* end confdefs.h.  */
52005 #include <stdlib.h>
52006 int
52007 main ()
52008 {
52009  strtold(0, 0);
52010   ;
52011   return 0;
52012 }
52013 _ACEOF
52014 if ac_fn_cxx_try_compile "$LINENO"; then :
52015   glibcxx_cv_func_strtold_use=yes
52016 else
52017   glibcxx_cv_func_strtold_use=no
52018 fi
52019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52020       ac_ext=c
52021 ac_cpp='$CPP $CPPFLAGS'
52022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52025
52026
52027 fi
52028
52029   fi
52030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52031 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52032   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52033     for ac_func in strtold
52034 do :
52035   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52036 if test "x$ac_cv_func_strtold" = x""yes; then :
52037   cat >>confdefs.h <<_ACEOF
52038 #define HAVE_STRTOLD 1
52039 _ACEOF
52040
52041 fi
52042 done
52043
52044   fi
52045
52046
52047
52048
52049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52050 $as_echo_n "checking for strtof declaration... " >&6; }
52051   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52052     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52053   $as_echo_n "(cached) " >&6
52054 else
52055
52056
52057       ac_ext=cpp
52058 ac_cpp='$CXXCPP $CPPFLAGS'
52059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52062
52063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52064 /* end confdefs.h.  */
52065 #include <stdlib.h>
52066 int
52067 main ()
52068 {
52069  strtof(0, 0);
52070   ;
52071   return 0;
52072 }
52073 _ACEOF
52074 if ac_fn_cxx_try_compile "$LINENO"; then :
52075   glibcxx_cv_func_strtof_use=yes
52076 else
52077   glibcxx_cv_func_strtof_use=no
52078 fi
52079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52080       ac_ext=c
52081 ac_cpp='$CPP $CPPFLAGS'
52082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52085
52086
52087 fi
52088
52089   fi
52090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52091 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52092   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52093     for ac_func in strtof
52094 do :
52095   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52096 if test "x$ac_cv_func_strtof" = x""yes; then :
52097   cat >>confdefs.h <<_ACEOF
52098 #define HAVE_STRTOF 1
52099 _ACEOF
52100
52101 fi
52102 done
52103
52104   fi
52105
52106
52107
52108
52109   CXXFLAGS="$ac_save_CXXFLAGS"
52110
52111     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52112
52113
52114
52115    # Check whether --enable-tls was given.
52116 if test "${enable_tls+set}" = set; then :
52117   enableval=$enable_tls;
52118       case "$enableval" in
52119        yes|no) ;;
52120        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52121       esac
52122
52123 else
52124   enable_tls=yes
52125 fi
52126
52127
52128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52129 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52130 if test "${gcc_cv_have_tls+set}" = set; then :
52131   $as_echo_n "(cached) " >&6
52132 else
52133
52134     if test "$cross_compiling" = yes; then :
52135                 if test x$gcc_no_link = xyes; then
52136   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52137 fi
52138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52139 /* end confdefs.h.  */
52140 __thread int a; int b; int main() { return a = b; }
52141 _ACEOF
52142 if ac_fn_c_try_link "$LINENO"; then :
52143   chktls_save_LDFLAGS="$LDFLAGS"
52144                           case $host in
52145             *-*-linux*)
52146               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52147               ;;
52148           esac
52149           chktls_save_CFLAGS="$CFLAGS"
52150           CFLAGS="-fPIC $CFLAGS"
52151                   if test x$gcc_no_link = xyes; then
52152   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52153 fi
52154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52155 /* end confdefs.h.  */
52156 int f() { return 0; }
52157 _ACEOF
52158 if ac_fn_c_try_link "$LINENO"; then :
52159   if test x$gcc_no_link = xyes; then
52160   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52161 fi
52162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52163 /* end confdefs.h.  */
52164 __thread int a; int b; int f() { return a = b; }
52165 _ACEOF
52166 if ac_fn_c_try_link "$LINENO"; then :
52167   gcc_cv_have_tls=yes
52168 else
52169   gcc_cv_have_tls=no
52170 fi
52171 rm -f core conftest.err conftest.$ac_objext \
52172     conftest$ac_exeext conftest.$ac_ext
52173 else
52174   gcc_cv_have_tls=yes
52175 fi
52176 rm -f core conftest.err conftest.$ac_objext \
52177     conftest$ac_exeext conftest.$ac_ext
52178           CFLAGS="$chktls_save_CFLAGS"
52179           LDFLAGS="$chktls_save_LDFLAGS"
52180 else
52181   gcc_cv_have_tls=no
52182 fi
52183 rm -f core conftest.err conftest.$ac_objext \
52184     conftest$ac_exeext conftest.$ac_ext
52185
52186
52187 else
52188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52189 /* end confdefs.h.  */
52190 __thread int a; int b; int main() { return a = b; }
52191 _ACEOF
52192 if ac_fn_c_try_run "$LINENO"; then :
52193                       chktls_save_LDFLAGS="$LDFLAGS"
52194       LDFLAGS="-static $LDFLAGS"
52195       if test x$gcc_no_link = xyes; then
52196   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52197 fi
52198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52199 /* end confdefs.h.  */
52200 int main() { return 0; }
52201 _ACEOF
52202 if ac_fn_c_try_link "$LINENO"; then :
52203   if test "$cross_compiling" = yes; then :
52204   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52206 as_fn_error "cannot run test program while cross compiling
52207 See \`config.log' for more details." "$LINENO" 5; }
52208 else
52209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52210 /* end confdefs.h.  */
52211 __thread int a; int b; int main() { return a = b; }
52212 _ACEOF
52213 if ac_fn_c_try_run "$LINENO"; then :
52214   gcc_cv_have_tls=yes
52215 else
52216   gcc_cv_have_tls=no
52217 fi
52218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52219   conftest.$ac_objext conftest.beam conftest.$ac_ext
52220 fi
52221
52222 else
52223   gcc_cv_have_tls=yes
52224 fi
52225 rm -f core conftest.err conftest.$ac_objext \
52226     conftest$ac_exeext conftest.$ac_ext
52227       LDFLAGS="$chktls_save_LDFLAGS"
52228       if test $gcc_cv_have_tls = yes; then
52229                                                 chktls_save_CFLAGS="$CFLAGS"
52230         thread_CFLAGS=failed
52231         for flag in '' '-pthread' '-lpthread'; do
52232           CFLAGS="$flag $chktls_save_CFLAGS"
52233           if test x$gcc_no_link = xyes; then
52234   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52235 fi
52236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52237 /* end confdefs.h.  */
52238 #include <pthread.h>
52239                 void *g(void *d) { return NULL; }
52240 int
52241 main ()
52242 {
52243 pthread_t t; pthread_create(&t,NULL,g,NULL);
52244   ;
52245   return 0;
52246 }
52247 _ACEOF
52248 if ac_fn_c_try_link "$LINENO"; then :
52249   thread_CFLAGS="$flag"
52250 fi
52251 rm -f core conftest.err conftest.$ac_objext \
52252     conftest$ac_exeext conftest.$ac_ext
52253           if test "X$thread_CFLAGS" != Xfailed; then
52254             break
52255           fi
52256         done
52257         CFLAGS="$chktls_save_CFLAGS"
52258         if test "X$thread_CFLAGS" != Xfailed; then
52259           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52260                                                   if test "$cross_compiling" = yes; then :
52261   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52263 as_fn_error "cannot run test program while cross compiling
52264 See \`config.log' for more details." "$LINENO" 5; }
52265 else
52266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52267 /* end confdefs.h.  */
52268 #include <pthread.h>
52269                 __thread int a;
52270                 static int *volatile a_in_other_thread;
52271                 static void *
52272                 thread_func (void *arg)
52273                 {
52274                   a_in_other_thread = &a;
52275                   return (void *)0;
52276                 }
52277 int
52278 main ()
52279 {
52280 pthread_t thread;
52281                 void *thread_retval;
52282                 int *volatile a_in_main_thread;
52283                 a_in_main_thread = &a;
52284                 if (pthread_create (&thread, (pthread_attr_t *)0,
52285                                     thread_func, (void *)0))
52286                   return 0;
52287                 if (pthread_join (thread, &thread_retval))
52288                   return 0;
52289                 return (a_in_other_thread == a_in_main_thread);
52290   ;
52291   return 0;
52292 }
52293 _ACEOF
52294 if ac_fn_c_try_run "$LINENO"; then :
52295   gcc_cv_have_tls=yes
52296 else
52297   gcc_cv_have_tls=no
52298 fi
52299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52300   conftest.$ac_objext conftest.beam conftest.$ac_ext
52301 fi
52302
52303           CFLAGS="$chktls_save_CFLAGS"
52304         fi
52305       fi
52306 else
52307   gcc_cv_have_tls=no
52308 fi
52309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52310   conftest.$ac_objext conftest.beam conftest.$ac_ext
52311 fi
52312
52313 fi
52314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52315 $as_echo "$gcc_cv_have_tls" >&6; }
52316   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52317
52318 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52319
52320   fi
52321
52322
52323
52324
52325
52326           am_save_CPPFLAGS="$CPPFLAGS"
52327
52328   for element in $INCICONV; do
52329     haveit=
52330     for x in $CPPFLAGS; do
52331
52332   acl_save_prefix="$prefix"
52333   prefix="$acl_final_prefix"
52334   acl_save_exec_prefix="$exec_prefix"
52335   exec_prefix="$acl_final_exec_prefix"
52336   eval x=\"$x\"
52337   exec_prefix="$acl_save_exec_prefix"
52338   prefix="$acl_save_prefix"
52339
52340       if test "X$x" = "X$element"; then
52341         haveit=yes
52342         break
52343       fi
52344     done
52345     if test -z "$haveit"; then
52346       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52347     fi
52348   done
52349
52350
52351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52352 $as_echo_n "checking for iconv... " >&6; }
52353 if test "${am_cv_func_iconv+set}" = set; then :
52354   $as_echo_n "(cached) " >&6
52355 else
52356
52357     am_cv_func_iconv="no, consider installing GNU libiconv"
52358     am_cv_lib_iconv=no
52359     if test x$gcc_no_link = xyes; then
52360   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52361 fi
52362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52363 /* end confdefs.h.  */
52364 #include <stdlib.h>
52365 #include <iconv.h>
52366 int
52367 main ()
52368 {
52369 iconv_t cd = iconv_open("","");
52370        iconv(cd,NULL,NULL,NULL,NULL);
52371        iconv_close(cd);
52372   ;
52373   return 0;
52374 }
52375 _ACEOF
52376 if ac_fn_c_try_link "$LINENO"; then :
52377   am_cv_func_iconv=yes
52378 fi
52379 rm -f core conftest.err conftest.$ac_objext \
52380     conftest$ac_exeext conftest.$ac_ext
52381     if test "$am_cv_func_iconv" != yes; then
52382       am_save_LIBS="$LIBS"
52383       LIBS="$LIBS $LIBICONV"
52384       if test x$gcc_no_link = xyes; then
52385   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52386 fi
52387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52388 /* end confdefs.h.  */
52389 #include <stdlib.h>
52390 #include <iconv.h>
52391 int
52392 main ()
52393 {
52394 iconv_t cd = iconv_open("","");
52395          iconv(cd,NULL,NULL,NULL,NULL);
52396          iconv_close(cd);
52397   ;
52398   return 0;
52399 }
52400 _ACEOF
52401 if ac_fn_c_try_link "$LINENO"; then :
52402   am_cv_lib_iconv=yes
52403         am_cv_func_iconv=yes
52404 fi
52405 rm -f core conftest.err conftest.$ac_objext \
52406     conftest$ac_exeext conftest.$ac_ext
52407       LIBS="$am_save_LIBS"
52408     fi
52409
52410 fi
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52412 $as_echo "$am_cv_func_iconv" >&6; }
52413   if test "$am_cv_func_iconv" = yes; then
52414
52415 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52416
52417   fi
52418   if test "$am_cv_lib_iconv" = yes; then
52419     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52420 $as_echo_n "checking how to link with libiconv... " >&6; }
52421     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52422 $as_echo "$LIBICONV" >&6; }
52423   else
52424             CPPFLAGS="$am_save_CPPFLAGS"
52425     LIBICONV=
52426     LTLIBICONV=
52427   fi
52428
52429
52430
52431   if test "$am_cv_func_iconv" = yes; then
52432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52433 $as_echo_n "checking for iconv declaration... " >&6; }
52434     if test "${am_cv_proto_iconv+set}" = set; then :
52435   $as_echo_n "(cached) " >&6
52436 else
52437
52438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52439 /* end confdefs.h.  */
52440
52441 #include <stdlib.h>
52442 #include <iconv.h>
52443 extern
52444 #ifdef __cplusplus
52445 "C"
52446 #endif
52447 #if defined(__STDC__) || defined(__cplusplus)
52448 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52449 #else
52450 size_t iconv();
52451 #endif
52452
52453 int
52454 main ()
52455 {
52456
52457   ;
52458   return 0;
52459 }
52460 _ACEOF
52461 if ac_fn_c_try_compile "$LINENO"; then :
52462   am_cv_proto_iconv_arg1=""
52463 else
52464   am_cv_proto_iconv_arg1="const"
52465 fi
52466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52467       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);"
52468 fi
52469
52470     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52471     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52472          }$am_cv_proto_iconv" >&5
52473 $as_echo "${ac_t:-
52474          }$am_cv_proto_iconv" >&6; }
52475
52476 cat >>confdefs.h <<_ACEOF
52477 #define ICONV_CONST $am_cv_proto_iconv_arg1
52478 _ACEOF
52479
52480   fi
52481
52482     ;;
52483   *-mingw32*)
52484
52485   # If we're not using GNU ld, then there's no point in even trying these
52486   # tests.  Check for that first.  We should have already tested for gld
52487   # by now (in libtool), but require it now just to be safe...
52488   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52489   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52490
52491
52492
52493   # The name set by libtool depends on the version of libtool.  Shame on us
52494   # for depending on an impl detail, but c'est la vie.  Older versions used
52495   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52496   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52497   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
52498   # set (hence we're using an older libtool), then set it.
52499   if test x${with_gnu_ld+set} != xset; then
52500     if test x${ac_cv_prog_gnu_ld+set} != xset; then
52501       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
52502       with_gnu_ld=no
52503     else
52504       with_gnu_ld=$ac_cv_prog_gnu_ld
52505     fi
52506   fi
52507
52508   # Start by getting the version number.  I think the libtool test already
52509   # does some of this, but throws away the result.
52510   glibcxx_ld_is_gold=no
52511   if test x"$with_gnu_ld" = x"yes"; then
52512     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52513 $as_echo_n "checking for ld version... " >&6; }
52514
52515     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52516       glibcxx_ld_is_gold=yes
52517     fi
52518     ldver=`$LD --version 2>/dev/null |
52519            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'`
52520
52521     glibcxx_gnu_ld_version=`echo $ldver | \
52522            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52523     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52524 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52525   fi
52526
52527   # Set --gc-sections.
52528   glibcxx_have_gc_sections=no
52529   if test "$glibcxx_ld_is_gold" = "yes"; then
52530     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52531       glibcxx_have_gc_sections=yes
52532     fi
52533   else
52534     glibcxx_gcsections_min_ld=21602
52535     if test x"$with_gnu_ld" = x"yes" &&
52536         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52537       glibcxx_have_gc_sections=yes
52538     fi
52539   fi
52540   if test "$glibcxx_have_gc_sections" = "yes"; then
52541     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
52542     # NB: This flag only works reliably after 2.16.1. Configure tests
52543     # for this are difficult, so hard wire a value that should work.
52544
52545     ac_test_CFLAGS="${CFLAGS+set}"
52546     ac_save_CFLAGS="$CFLAGS"
52547     CFLAGS='-Wl,--gc-sections'
52548
52549     # Check for -Wl,--gc-sections
52550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52551 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52552     if test x$gcc_no_link = xyes; then
52553   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52554 fi
52555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52556 /* end confdefs.h.  */
52557  int one(void) { return 1; }
52558      int two(void) { return 2; }
52559
52560 int
52561 main ()
52562 {
52563  two();
52564   ;
52565   return 0;
52566 }
52567 _ACEOF
52568 if ac_fn_c_try_link "$LINENO"; then :
52569   ac_gcsections=yes
52570 else
52571   ac_gcsections=no
52572 fi
52573 rm -f core conftest.err conftest.$ac_objext \
52574     conftest$ac_exeext conftest.$ac_ext
52575     if test "$ac_gcsections" = "yes"; then
52576       rm -f conftest.c
52577       touch conftest.c
52578       if $CC -c conftest.c; then
52579         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52580            grep "Warning: gc-sections option ignored" > /dev/null; then
52581           ac_gcsections=no
52582         fi
52583       fi
52584       rm -f conftest.c conftest.o conftest
52585     fi
52586     if test "$ac_gcsections" = "yes"; then
52587       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52588     fi
52589     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52590 $as_echo "$ac_gcsections" >&6; }
52591
52592     if test "$ac_test_CFLAGS" = set; then
52593       CFLAGS="$ac_save_CFLAGS"
52594     else
52595       # this is the suspicious part
52596       CFLAGS=''
52597     fi
52598   fi
52599
52600   # Set -z,relro.
52601   # Note this is only for shared objects.
52602   ac_ld_relro=no
52603   if test x"$with_gnu_ld" = x"yes"; then
52604     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52605 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52606     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52607     if test -n "$cxx_z_relo"; then
52608       OPT_LDFLAGS="-Wl,-z,relro"
52609       ac_ld_relro=yes
52610     fi
52611     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52612 $as_echo "$ac_ld_relro" >&6; }
52613   fi
52614
52615   # Set linker optimization flags.
52616   if test x"$with_gnu_ld" = x"yes"; then
52617     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52618   fi
52619
52620
52621
52622
52623
52624   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52625   ac_save_CXXFLAGS="$CXXFLAGS"
52626   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52627
52628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52629 $as_echo_n "checking for sin in -lm... " >&6; }
52630 if test "${ac_cv_lib_m_sin+set}" = set; then :
52631   $as_echo_n "(cached) " >&6
52632 else
52633   ac_check_lib_save_LIBS=$LIBS
52634 LIBS="-lm  $LIBS"
52635 if test x$gcc_no_link = xyes; then
52636   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52637 fi
52638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52639 /* end confdefs.h.  */
52640
52641 /* Override any GCC internal prototype to avoid an error.
52642    Use char because int might match the return type of a GCC
52643    builtin and then its argument prototype would still apply.  */
52644 #ifdef __cplusplus
52645 extern "C"
52646 #endif
52647 char sin ();
52648 int
52649 main ()
52650 {
52651 return sin ();
52652   ;
52653   return 0;
52654 }
52655 _ACEOF
52656 if ac_fn_c_try_link "$LINENO"; then :
52657   ac_cv_lib_m_sin=yes
52658 else
52659   ac_cv_lib_m_sin=no
52660 fi
52661 rm -f core conftest.err conftest.$ac_objext \
52662     conftest$ac_exeext conftest.$ac_ext
52663 LIBS=$ac_check_lib_save_LIBS
52664 fi
52665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52666 $as_echo "$ac_cv_lib_m_sin" >&6; }
52667 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52668   libm="-lm"
52669 fi
52670
52671   ac_save_LIBS="$LIBS"
52672   LIBS="$LIBS $libm"
52673
52674
52675
52676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52677 $as_echo_n "checking for isinf declaration... " >&6; }
52678   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52679     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52680   $as_echo_n "(cached) " >&6
52681 else
52682
52683
52684       ac_ext=cpp
52685 ac_cpp='$CXXCPP $CPPFLAGS'
52686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52689
52690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52691 /* end confdefs.h.  */
52692 #include <math.h>
52693                       #ifdef HAVE_IEEEFP_H
52694                       #include <ieeefp.h>
52695                       #endif
52696
52697 int
52698 main ()
52699 {
52700  isinf(0);
52701   ;
52702   return 0;
52703 }
52704 _ACEOF
52705 if ac_fn_cxx_try_compile "$LINENO"; then :
52706   glibcxx_cv_func_isinf_use=yes
52707 else
52708   glibcxx_cv_func_isinf_use=no
52709 fi
52710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52711       ac_ext=c
52712 ac_cpp='$CPP $CPPFLAGS'
52713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52716
52717
52718 fi
52719
52720   fi
52721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52722 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52723
52724   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52725     for ac_func in isinf
52726 do :
52727   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52728 if test "x$ac_cv_func_isinf" = x""yes; then :
52729   cat >>confdefs.h <<_ACEOF
52730 #define HAVE_ISINF 1
52731 _ACEOF
52732
52733 fi
52734 done
52735
52736   else
52737
52738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52739 $as_echo_n "checking for _isinf declaration... " >&6; }
52740   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52741     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52742   $as_echo_n "(cached) " >&6
52743 else
52744
52745
52746       ac_ext=cpp
52747 ac_cpp='$CXXCPP $CPPFLAGS'
52748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52751
52752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52753 /* end confdefs.h.  */
52754 #include <math.h>
52755                       #ifdef HAVE_IEEEFP_H
52756                       #include <ieeefp.h>
52757                       #endif
52758
52759 int
52760 main ()
52761 {
52762  _isinf(0);
52763   ;
52764   return 0;
52765 }
52766 _ACEOF
52767 if ac_fn_cxx_try_compile "$LINENO"; then :
52768   glibcxx_cv_func__isinf_use=yes
52769 else
52770   glibcxx_cv_func__isinf_use=no
52771 fi
52772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52773       ac_ext=c
52774 ac_cpp='$CPP $CPPFLAGS'
52775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52778
52779
52780 fi
52781
52782   fi
52783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52784 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52785
52786     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52787       for ac_func in _isinf
52788 do :
52789   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52790 if test "x$ac_cv_func__isinf" = x""yes; then :
52791   cat >>confdefs.h <<_ACEOF
52792 #define HAVE__ISINF 1
52793 _ACEOF
52794
52795 fi
52796 done
52797
52798     fi
52799   fi
52800
52801
52802
52803
52804
52805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52806 $as_echo_n "checking for isnan declaration... " >&6; }
52807   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52808     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52809   $as_echo_n "(cached) " >&6
52810 else
52811
52812
52813       ac_ext=cpp
52814 ac_cpp='$CXXCPP $CPPFLAGS'
52815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52818
52819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52820 /* end confdefs.h.  */
52821 #include <math.h>
52822                       #ifdef HAVE_IEEEFP_H
52823                       #include <ieeefp.h>
52824                       #endif
52825
52826 int
52827 main ()
52828 {
52829  isnan(0);
52830   ;
52831   return 0;
52832 }
52833 _ACEOF
52834 if ac_fn_cxx_try_compile "$LINENO"; then :
52835   glibcxx_cv_func_isnan_use=yes
52836 else
52837   glibcxx_cv_func_isnan_use=no
52838 fi
52839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52840       ac_ext=c
52841 ac_cpp='$CPP $CPPFLAGS'
52842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52845
52846
52847 fi
52848
52849   fi
52850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52851 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52852
52853   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52854     for ac_func in isnan
52855 do :
52856   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52857 if test "x$ac_cv_func_isnan" = x""yes; then :
52858   cat >>confdefs.h <<_ACEOF
52859 #define HAVE_ISNAN 1
52860 _ACEOF
52861
52862 fi
52863 done
52864
52865   else
52866
52867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52868 $as_echo_n "checking for _isnan declaration... " >&6; }
52869   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52870     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52871   $as_echo_n "(cached) " >&6
52872 else
52873
52874
52875       ac_ext=cpp
52876 ac_cpp='$CXXCPP $CPPFLAGS'
52877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52880
52881       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52882 /* end confdefs.h.  */
52883 #include <math.h>
52884                       #ifdef HAVE_IEEEFP_H
52885                       #include <ieeefp.h>
52886                       #endif
52887
52888 int
52889 main ()
52890 {
52891  _isnan(0);
52892   ;
52893   return 0;
52894 }
52895 _ACEOF
52896 if ac_fn_cxx_try_compile "$LINENO"; then :
52897   glibcxx_cv_func__isnan_use=yes
52898 else
52899   glibcxx_cv_func__isnan_use=no
52900 fi
52901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52902       ac_ext=c
52903 ac_cpp='$CPP $CPPFLAGS'
52904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52907
52908
52909 fi
52910
52911   fi
52912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52913 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52914
52915     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52916       for ac_func in _isnan
52917 do :
52918   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52919 if test "x$ac_cv_func__isnan" = x""yes; then :
52920   cat >>confdefs.h <<_ACEOF
52921 #define HAVE__ISNAN 1
52922 _ACEOF
52923
52924 fi
52925 done
52926
52927     fi
52928   fi
52929
52930
52931
52932
52933
52934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52935 $as_echo_n "checking for finite declaration... " >&6; }
52936   if test x${glibcxx_cv_func_finite_use+set} != xset; then
52937     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52938   $as_echo_n "(cached) " >&6
52939 else
52940
52941
52942       ac_ext=cpp
52943 ac_cpp='$CXXCPP $CPPFLAGS'
52944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52947
52948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52949 /* end confdefs.h.  */
52950 #include <math.h>
52951                       #ifdef HAVE_IEEEFP_H
52952                       #include <ieeefp.h>
52953                       #endif
52954
52955 int
52956 main ()
52957 {
52958  finite(0);
52959   ;
52960   return 0;
52961 }
52962 _ACEOF
52963 if ac_fn_cxx_try_compile "$LINENO"; then :
52964   glibcxx_cv_func_finite_use=yes
52965 else
52966   glibcxx_cv_func_finite_use=no
52967 fi
52968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52969       ac_ext=c
52970 ac_cpp='$CPP $CPPFLAGS'
52971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52974
52975
52976 fi
52977
52978   fi
52979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52980 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52981
52982   if test x$glibcxx_cv_func_finite_use = x"yes"; then
52983     for ac_func in finite
52984 do :
52985   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52986 if test "x$ac_cv_func_finite" = x""yes; then :
52987   cat >>confdefs.h <<_ACEOF
52988 #define HAVE_FINITE 1
52989 _ACEOF
52990
52991 fi
52992 done
52993
52994   else
52995
52996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52997 $as_echo_n "checking for _finite declaration... " >&6; }
52998   if test x${glibcxx_cv_func__finite_use+set} != xset; then
52999     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53000   $as_echo_n "(cached) " >&6
53001 else
53002
53003
53004       ac_ext=cpp
53005 ac_cpp='$CXXCPP $CPPFLAGS'
53006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53009
53010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53011 /* end confdefs.h.  */
53012 #include <math.h>
53013                       #ifdef HAVE_IEEEFP_H
53014                       #include <ieeefp.h>
53015                       #endif
53016
53017 int
53018 main ()
53019 {
53020  _finite(0);
53021   ;
53022   return 0;
53023 }
53024 _ACEOF
53025 if ac_fn_cxx_try_compile "$LINENO"; then :
53026   glibcxx_cv_func__finite_use=yes
53027 else
53028   glibcxx_cv_func__finite_use=no
53029 fi
53030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53031       ac_ext=c
53032 ac_cpp='$CPP $CPPFLAGS'
53033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53036
53037
53038 fi
53039
53040   fi
53041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53042 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53043
53044     if test x$glibcxx_cv_func__finite_use = x"yes"; then
53045       for ac_func in _finite
53046 do :
53047   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53048 if test "x$ac_cv_func__finite" = x""yes; then :
53049   cat >>confdefs.h <<_ACEOF
53050 #define HAVE__FINITE 1
53051 _ACEOF
53052
53053 fi
53054 done
53055
53056     fi
53057   fi
53058
53059
53060
53061
53062
53063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53064 $as_echo_n "checking for sincos declaration... " >&6; }
53065   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53066     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53067   $as_echo_n "(cached) " >&6
53068 else
53069
53070
53071       ac_ext=cpp
53072 ac_cpp='$CXXCPP $CPPFLAGS'
53073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53076
53077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53078 /* end confdefs.h.  */
53079 #include <math.h>
53080 int
53081 main ()
53082 {
53083  sincos(0, 0, 0);
53084   ;
53085   return 0;
53086 }
53087 _ACEOF
53088 if ac_fn_cxx_try_compile "$LINENO"; then :
53089   glibcxx_cv_func_sincos_use=yes
53090 else
53091   glibcxx_cv_func_sincos_use=no
53092 fi
53093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53094       ac_ext=c
53095 ac_cpp='$CPP $CPPFLAGS'
53096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53099
53100
53101 fi
53102
53103   fi
53104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53105 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53106
53107   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53108     for ac_func in sincos
53109 do :
53110   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53111 if test "x$ac_cv_func_sincos" = x""yes; then :
53112   cat >>confdefs.h <<_ACEOF
53113 #define HAVE_SINCOS 1
53114 _ACEOF
53115
53116 fi
53117 done
53118
53119   else
53120
53121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53122 $as_echo_n "checking for _sincos declaration... " >&6; }
53123   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53124     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53125   $as_echo_n "(cached) " >&6
53126 else
53127
53128
53129       ac_ext=cpp
53130 ac_cpp='$CXXCPP $CPPFLAGS'
53131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53134
53135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53136 /* end confdefs.h.  */
53137 #include <math.h>
53138 int
53139 main ()
53140 {
53141  _sincos(0, 0, 0);
53142   ;
53143   return 0;
53144 }
53145 _ACEOF
53146 if ac_fn_cxx_try_compile "$LINENO"; then :
53147   glibcxx_cv_func__sincos_use=yes
53148 else
53149   glibcxx_cv_func__sincos_use=no
53150 fi
53151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53152       ac_ext=c
53153 ac_cpp='$CPP $CPPFLAGS'
53154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53157
53158
53159 fi
53160
53161   fi
53162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53163 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53164
53165     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53166       for ac_func in _sincos
53167 do :
53168   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53169 if test "x$ac_cv_func__sincos" = x""yes; then :
53170   cat >>confdefs.h <<_ACEOF
53171 #define HAVE__SINCOS 1
53172 _ACEOF
53173
53174 fi
53175 done
53176
53177     fi
53178   fi
53179
53180
53181
53182
53183
53184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53185 $as_echo_n "checking for fpclass declaration... " >&6; }
53186   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53187     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53188   $as_echo_n "(cached) " >&6
53189 else
53190
53191
53192       ac_ext=cpp
53193 ac_cpp='$CXXCPP $CPPFLAGS'
53194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53197
53198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53199 /* end confdefs.h.  */
53200 #include <math.h>
53201                       #ifdef HAVE_IEEEFP_H
53202                       #include <ieeefp.h>
53203                       #endif
53204
53205 int
53206 main ()
53207 {
53208  fpclass(0);
53209   ;
53210   return 0;
53211 }
53212 _ACEOF
53213 if ac_fn_cxx_try_compile "$LINENO"; then :
53214   glibcxx_cv_func_fpclass_use=yes
53215 else
53216   glibcxx_cv_func_fpclass_use=no
53217 fi
53218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53219       ac_ext=c
53220 ac_cpp='$CPP $CPPFLAGS'
53221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53224
53225
53226 fi
53227
53228   fi
53229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53230 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53231
53232   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53233     for ac_func in fpclass
53234 do :
53235   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53236 if test "x$ac_cv_func_fpclass" = x""yes; then :
53237   cat >>confdefs.h <<_ACEOF
53238 #define HAVE_FPCLASS 1
53239 _ACEOF
53240
53241 fi
53242 done
53243
53244   else
53245
53246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53247 $as_echo_n "checking for _fpclass declaration... " >&6; }
53248   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53249     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53250   $as_echo_n "(cached) " >&6
53251 else
53252
53253
53254       ac_ext=cpp
53255 ac_cpp='$CXXCPP $CPPFLAGS'
53256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53259
53260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53261 /* end confdefs.h.  */
53262 #include <math.h>
53263                       #ifdef HAVE_IEEEFP_H
53264                       #include <ieeefp.h>
53265                       #endif
53266
53267 int
53268 main ()
53269 {
53270  _fpclass(0);
53271   ;
53272   return 0;
53273 }
53274 _ACEOF
53275 if ac_fn_cxx_try_compile "$LINENO"; then :
53276   glibcxx_cv_func__fpclass_use=yes
53277 else
53278   glibcxx_cv_func__fpclass_use=no
53279 fi
53280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53281       ac_ext=c
53282 ac_cpp='$CPP $CPPFLAGS'
53283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53286
53287
53288 fi
53289
53290   fi
53291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53292 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53293
53294     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53295       for ac_func in _fpclass
53296 do :
53297   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53298 if test "x$ac_cv_func__fpclass" = x""yes; then :
53299   cat >>confdefs.h <<_ACEOF
53300 #define HAVE__FPCLASS 1
53301 _ACEOF
53302
53303 fi
53304 done
53305
53306     fi
53307   fi
53308
53309
53310
53311
53312
53313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53314 $as_echo_n "checking for qfpclass declaration... " >&6; }
53315   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53316     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53317   $as_echo_n "(cached) " >&6
53318 else
53319
53320
53321       ac_ext=cpp
53322 ac_cpp='$CXXCPP $CPPFLAGS'
53323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53326
53327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53328 /* end confdefs.h.  */
53329 #include <math.h>
53330                       #ifdef HAVE_IEEEFP_H
53331                       #include <ieeefp.h>
53332                       #endif
53333
53334 int
53335 main ()
53336 {
53337  qfpclass(0);
53338   ;
53339   return 0;
53340 }
53341 _ACEOF
53342 if ac_fn_cxx_try_compile "$LINENO"; then :
53343   glibcxx_cv_func_qfpclass_use=yes
53344 else
53345   glibcxx_cv_func_qfpclass_use=no
53346 fi
53347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53348       ac_ext=c
53349 ac_cpp='$CPP $CPPFLAGS'
53350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53353
53354
53355 fi
53356
53357   fi
53358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53359 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53360
53361   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53362     for ac_func in qfpclass
53363 do :
53364   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53365 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53366   cat >>confdefs.h <<_ACEOF
53367 #define HAVE_QFPCLASS 1
53368 _ACEOF
53369
53370 fi
53371 done
53372
53373   else
53374
53375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53376 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53377   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53378     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53379   $as_echo_n "(cached) " >&6
53380 else
53381
53382
53383       ac_ext=cpp
53384 ac_cpp='$CXXCPP $CPPFLAGS'
53385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53388
53389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53390 /* end confdefs.h.  */
53391 #include <math.h>
53392                       #ifdef HAVE_IEEEFP_H
53393                       #include <ieeefp.h>
53394                       #endif
53395
53396 int
53397 main ()
53398 {
53399  _qfpclass(0);
53400   ;
53401   return 0;
53402 }
53403 _ACEOF
53404 if ac_fn_cxx_try_compile "$LINENO"; then :
53405   glibcxx_cv_func__qfpclass_use=yes
53406 else
53407   glibcxx_cv_func__qfpclass_use=no
53408 fi
53409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53410       ac_ext=c
53411 ac_cpp='$CPP $CPPFLAGS'
53412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53415
53416
53417 fi
53418
53419   fi
53420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53421 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53422
53423     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53424       for ac_func in _qfpclass
53425 do :
53426   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53427 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53428   cat >>confdefs.h <<_ACEOF
53429 #define HAVE__QFPCLASS 1
53430 _ACEOF
53431
53432 fi
53433 done
53434
53435     fi
53436   fi
53437
53438
53439
53440
53441
53442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53443 $as_echo_n "checking for hypot declaration... " >&6; }
53444   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53445     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53446   $as_echo_n "(cached) " >&6
53447 else
53448
53449
53450       ac_ext=cpp
53451 ac_cpp='$CXXCPP $CPPFLAGS'
53452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53455
53456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53457 /* end confdefs.h.  */
53458 #include <math.h>
53459 int
53460 main ()
53461 {
53462  hypot(0, 0);
53463   ;
53464   return 0;
53465 }
53466 _ACEOF
53467 if ac_fn_cxx_try_compile "$LINENO"; then :
53468   glibcxx_cv_func_hypot_use=yes
53469 else
53470   glibcxx_cv_func_hypot_use=no
53471 fi
53472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53473       ac_ext=c
53474 ac_cpp='$CPP $CPPFLAGS'
53475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53478
53479
53480 fi
53481
53482   fi
53483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53484 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53485
53486   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53487     for ac_func in hypot
53488 do :
53489   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53490 if test "x$ac_cv_func_hypot" = x""yes; then :
53491   cat >>confdefs.h <<_ACEOF
53492 #define HAVE_HYPOT 1
53493 _ACEOF
53494
53495 fi
53496 done
53497
53498   else
53499
53500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53501 $as_echo_n "checking for _hypot declaration... " >&6; }
53502   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53503     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53504   $as_echo_n "(cached) " >&6
53505 else
53506
53507
53508       ac_ext=cpp
53509 ac_cpp='$CXXCPP $CPPFLAGS'
53510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53513
53514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53515 /* end confdefs.h.  */
53516 #include <math.h>
53517 int
53518 main ()
53519 {
53520  _hypot(0, 0);
53521   ;
53522   return 0;
53523 }
53524 _ACEOF
53525 if ac_fn_cxx_try_compile "$LINENO"; then :
53526   glibcxx_cv_func__hypot_use=yes
53527 else
53528   glibcxx_cv_func__hypot_use=no
53529 fi
53530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53531       ac_ext=c
53532 ac_cpp='$CPP $CPPFLAGS'
53533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53536
53537
53538 fi
53539
53540   fi
53541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53542 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53543
53544     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53545       for ac_func in _hypot
53546 do :
53547   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53548 if test "x$ac_cv_func__hypot" = x""yes; then :
53549   cat >>confdefs.h <<_ACEOF
53550 #define HAVE__HYPOT 1
53551 _ACEOF
53552
53553 fi
53554 done
53555
53556     fi
53557   fi
53558
53559
53560
53561
53562
53563     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53564 $as_echo_n "checking for float trig functions... " >&6; }
53565   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53566   $as_echo_n "(cached) " >&6
53567 else
53568
53569
53570     ac_ext=cpp
53571 ac_cpp='$CXXCPP $CPPFLAGS'
53572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53575
53576     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53577 /* end confdefs.h.  */
53578 #include <math.h>
53579 int
53580 main ()
53581 {
53582 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53583   ;
53584   return 0;
53585 }
53586 _ACEOF
53587 if ac_fn_cxx_try_compile "$LINENO"; then :
53588   glibcxx_cv_func_float_trig_use=yes
53589 else
53590   glibcxx_cv_func_float_trig_use=no
53591 fi
53592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53593     ac_ext=c
53594 ac_cpp='$CPP $CPPFLAGS'
53595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53598
53599 fi
53600
53601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53602 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53603   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53604     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53605 do :
53606   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53608 eval as_val=\$$as_ac_var
53609    if test "x$as_val" = x""yes; then :
53610   cat >>confdefs.h <<_ACEOF
53611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53612 _ACEOF
53613
53614 fi
53615 done
53616
53617   else
53618     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53619 $as_echo_n "checking for _float trig functions... " >&6; }
53620     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53621   $as_echo_n "(cached) " >&6
53622 else
53623
53624
53625       ac_ext=cpp
53626 ac_cpp='$CXXCPP $CPPFLAGS'
53627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53630
53631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53632 /* end confdefs.h.  */
53633 #include <math.h>
53634 int
53635 main ()
53636 {
53637 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53638   ;
53639   return 0;
53640 }
53641 _ACEOF
53642 if ac_fn_cxx_try_compile "$LINENO"; then :
53643   glibcxx_cv_func__float_trig_use=yes
53644 else
53645   glibcxx_cv_func__float_trig_use=no
53646 fi
53647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53648       ac_ext=c
53649 ac_cpp='$CPP $CPPFLAGS'
53650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53653
53654 fi
53655
53656     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53657 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53658     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53659       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53660 do :
53661   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53663 eval as_val=\$$as_ac_var
53664    if test "x$as_val" = x""yes; then :
53665   cat >>confdefs.h <<_ACEOF
53666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53667 _ACEOF
53668
53669 fi
53670 done
53671
53672     fi
53673   fi
53674
53675
53676
53677
53678
53679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53680 $as_echo_n "checking for float round functions... " >&6; }
53681   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53682   $as_echo_n "(cached) " >&6
53683 else
53684
53685
53686     ac_ext=cpp
53687 ac_cpp='$CXXCPP $CPPFLAGS'
53688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53691
53692     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53693 /* end confdefs.h.  */
53694 #include <math.h>
53695 int
53696 main ()
53697 {
53698 ceilf (0); floorf (0);
53699   ;
53700   return 0;
53701 }
53702 _ACEOF
53703 if ac_fn_cxx_try_compile "$LINENO"; then :
53704   glibcxx_cv_func_float_round_use=yes
53705 else
53706   glibcxx_cv_func_float_round_use=no
53707 fi
53708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53709     ac_ext=c
53710 ac_cpp='$CPP $CPPFLAGS'
53711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53714
53715 fi
53716
53717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53718 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53719   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53720     for ac_func in ceilf floorf
53721 do :
53722   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53724 eval as_val=\$$as_ac_var
53725    if test "x$as_val" = x""yes; then :
53726   cat >>confdefs.h <<_ACEOF
53727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53728 _ACEOF
53729
53730 fi
53731 done
53732
53733   else
53734     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53735 $as_echo_n "checking for _float round functions... " >&6; }
53736     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53737   $as_echo_n "(cached) " >&6
53738 else
53739
53740
53741       ac_ext=cpp
53742 ac_cpp='$CXXCPP $CPPFLAGS'
53743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53746
53747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53748 /* end confdefs.h.  */
53749 #include <math.h>
53750 int
53751 main ()
53752 {
53753 _ceilf (0); _floorf (0);
53754   ;
53755   return 0;
53756 }
53757 _ACEOF
53758 if ac_fn_cxx_try_compile "$LINENO"; then :
53759   glibcxx_cv_func__float_round_use=yes
53760 else
53761   glibcxx_cv_func__float_round_use=no
53762 fi
53763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53764       ac_ext=c
53765 ac_cpp='$CPP $CPPFLAGS'
53766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53769
53770 fi
53771
53772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53773 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53774     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53775       for ac_func in _ceilf _floorf
53776 do :
53777   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53779 eval as_val=\$$as_ac_var
53780    if test "x$as_val" = x""yes; then :
53781   cat >>confdefs.h <<_ACEOF
53782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53783 _ACEOF
53784
53785 fi
53786 done
53787
53788     fi
53789   fi
53790
53791
53792
53793
53794
53795
53796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53797 $as_echo_n "checking for expf declaration... " >&6; }
53798   if test x${glibcxx_cv_func_expf_use+set} != xset; then
53799     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53800   $as_echo_n "(cached) " >&6
53801 else
53802
53803
53804       ac_ext=cpp
53805 ac_cpp='$CXXCPP $CPPFLAGS'
53806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53809
53810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53811 /* end confdefs.h.  */
53812 #include <math.h>
53813                       #ifdef HAVE_IEEEFP_H
53814                       #include <ieeefp.h>
53815                       #endif
53816
53817 int
53818 main ()
53819 {
53820  expf(0);
53821   ;
53822   return 0;
53823 }
53824 _ACEOF
53825 if ac_fn_cxx_try_compile "$LINENO"; then :
53826   glibcxx_cv_func_expf_use=yes
53827 else
53828   glibcxx_cv_func_expf_use=no
53829 fi
53830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53831       ac_ext=c
53832 ac_cpp='$CPP $CPPFLAGS'
53833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53836
53837
53838 fi
53839
53840   fi
53841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53842 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53843
53844   if test x$glibcxx_cv_func_expf_use = x"yes"; then
53845     for ac_func in expf
53846 do :
53847   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53848 if test "x$ac_cv_func_expf" = x""yes; then :
53849   cat >>confdefs.h <<_ACEOF
53850 #define HAVE_EXPF 1
53851 _ACEOF
53852
53853 fi
53854 done
53855
53856   else
53857
53858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53859 $as_echo_n "checking for _expf declaration... " >&6; }
53860   if test x${glibcxx_cv_func__expf_use+set} != xset; then
53861     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53862   $as_echo_n "(cached) " >&6
53863 else
53864
53865
53866       ac_ext=cpp
53867 ac_cpp='$CXXCPP $CPPFLAGS'
53868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53871
53872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53873 /* end confdefs.h.  */
53874 #include <math.h>
53875                       #ifdef HAVE_IEEEFP_H
53876                       #include <ieeefp.h>
53877                       #endif
53878
53879 int
53880 main ()
53881 {
53882  _expf(0);
53883   ;
53884   return 0;
53885 }
53886 _ACEOF
53887 if ac_fn_cxx_try_compile "$LINENO"; then :
53888   glibcxx_cv_func__expf_use=yes
53889 else
53890   glibcxx_cv_func__expf_use=no
53891 fi
53892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53893       ac_ext=c
53894 ac_cpp='$CPP $CPPFLAGS'
53895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53898
53899
53900 fi
53901
53902   fi
53903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53904 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53905
53906     if test x$glibcxx_cv_func__expf_use = x"yes"; then
53907       for ac_func in _expf
53908 do :
53909   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53910 if test "x$ac_cv_func__expf" = x""yes; then :
53911   cat >>confdefs.h <<_ACEOF
53912 #define HAVE__EXPF 1
53913 _ACEOF
53914
53915 fi
53916 done
53917
53918     fi
53919   fi
53920
53921
53922
53923
53924
53925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53926 $as_echo_n "checking for isnanf declaration... " >&6; }
53927   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53928     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53929   $as_echo_n "(cached) " >&6
53930 else
53931
53932
53933       ac_ext=cpp
53934 ac_cpp='$CXXCPP $CPPFLAGS'
53935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53938
53939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53940 /* end confdefs.h.  */
53941 #include <math.h>
53942                       #ifdef HAVE_IEEEFP_H
53943                       #include <ieeefp.h>
53944                       #endif
53945
53946 int
53947 main ()
53948 {
53949  isnanf(0);
53950   ;
53951   return 0;
53952 }
53953 _ACEOF
53954 if ac_fn_cxx_try_compile "$LINENO"; then :
53955   glibcxx_cv_func_isnanf_use=yes
53956 else
53957   glibcxx_cv_func_isnanf_use=no
53958 fi
53959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53960       ac_ext=c
53961 ac_cpp='$CPP $CPPFLAGS'
53962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53965
53966
53967 fi
53968
53969   fi
53970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53971 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53972
53973   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53974     for ac_func in isnanf
53975 do :
53976   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53977 if test "x$ac_cv_func_isnanf" = x""yes; then :
53978   cat >>confdefs.h <<_ACEOF
53979 #define HAVE_ISNANF 1
53980 _ACEOF
53981
53982 fi
53983 done
53984
53985   else
53986
53987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53988 $as_echo_n "checking for _isnanf declaration... " >&6; }
53989   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53990     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53991   $as_echo_n "(cached) " >&6
53992 else
53993
53994
53995       ac_ext=cpp
53996 ac_cpp='$CXXCPP $CPPFLAGS'
53997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54000
54001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54002 /* end confdefs.h.  */
54003 #include <math.h>
54004                       #ifdef HAVE_IEEEFP_H
54005                       #include <ieeefp.h>
54006                       #endif
54007
54008 int
54009 main ()
54010 {
54011  _isnanf(0);
54012   ;
54013   return 0;
54014 }
54015 _ACEOF
54016 if ac_fn_cxx_try_compile "$LINENO"; then :
54017   glibcxx_cv_func__isnanf_use=yes
54018 else
54019   glibcxx_cv_func__isnanf_use=no
54020 fi
54021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54022       ac_ext=c
54023 ac_cpp='$CPP $CPPFLAGS'
54024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54027
54028
54029 fi
54030
54031   fi
54032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54033 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54034
54035     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54036       for ac_func in _isnanf
54037 do :
54038   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54039 if test "x$ac_cv_func__isnanf" = x""yes; then :
54040   cat >>confdefs.h <<_ACEOF
54041 #define HAVE__ISNANF 1
54042 _ACEOF
54043
54044 fi
54045 done
54046
54047     fi
54048   fi
54049
54050
54051
54052
54053
54054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54055 $as_echo_n "checking for isinff declaration... " >&6; }
54056   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54057     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54058   $as_echo_n "(cached) " >&6
54059 else
54060
54061
54062       ac_ext=cpp
54063 ac_cpp='$CXXCPP $CPPFLAGS'
54064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54067
54068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54069 /* end confdefs.h.  */
54070 #include <math.h>
54071                       #ifdef HAVE_IEEEFP_H
54072                       #include <ieeefp.h>
54073                       #endif
54074
54075 int
54076 main ()
54077 {
54078  isinff(0);
54079   ;
54080   return 0;
54081 }
54082 _ACEOF
54083 if ac_fn_cxx_try_compile "$LINENO"; then :
54084   glibcxx_cv_func_isinff_use=yes
54085 else
54086   glibcxx_cv_func_isinff_use=no
54087 fi
54088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54089       ac_ext=c
54090 ac_cpp='$CPP $CPPFLAGS'
54091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54094
54095
54096 fi
54097
54098   fi
54099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54100 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54101
54102   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54103     for ac_func in isinff
54104 do :
54105   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54106 if test "x$ac_cv_func_isinff" = x""yes; then :
54107   cat >>confdefs.h <<_ACEOF
54108 #define HAVE_ISINFF 1
54109 _ACEOF
54110
54111 fi
54112 done
54113
54114   else
54115
54116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54117 $as_echo_n "checking for _isinff declaration... " >&6; }
54118   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54119     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54120   $as_echo_n "(cached) " >&6
54121 else
54122
54123
54124       ac_ext=cpp
54125 ac_cpp='$CXXCPP $CPPFLAGS'
54126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54129
54130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54131 /* end confdefs.h.  */
54132 #include <math.h>
54133                       #ifdef HAVE_IEEEFP_H
54134                       #include <ieeefp.h>
54135                       #endif
54136
54137 int
54138 main ()
54139 {
54140  _isinff(0);
54141   ;
54142   return 0;
54143 }
54144 _ACEOF
54145 if ac_fn_cxx_try_compile "$LINENO"; then :
54146   glibcxx_cv_func__isinff_use=yes
54147 else
54148   glibcxx_cv_func__isinff_use=no
54149 fi
54150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54151       ac_ext=c
54152 ac_cpp='$CPP $CPPFLAGS'
54153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54156
54157
54158 fi
54159
54160   fi
54161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54162 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54163
54164     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54165       for ac_func in _isinff
54166 do :
54167   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54168 if test "x$ac_cv_func__isinff" = x""yes; then :
54169   cat >>confdefs.h <<_ACEOF
54170 #define HAVE__ISINFF 1
54171 _ACEOF
54172
54173 fi
54174 done
54175
54176     fi
54177   fi
54178
54179
54180
54181
54182
54183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54184 $as_echo_n "checking for atan2f declaration... " >&6; }
54185   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54186     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54187   $as_echo_n "(cached) " >&6
54188 else
54189
54190
54191       ac_ext=cpp
54192 ac_cpp='$CXXCPP $CPPFLAGS'
54193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54196
54197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54198 /* end confdefs.h.  */
54199 #include <math.h>
54200 int
54201 main ()
54202 {
54203  atan2f(0, 0);
54204   ;
54205   return 0;
54206 }
54207 _ACEOF
54208 if ac_fn_cxx_try_compile "$LINENO"; then :
54209   glibcxx_cv_func_atan2f_use=yes
54210 else
54211   glibcxx_cv_func_atan2f_use=no
54212 fi
54213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54214       ac_ext=c
54215 ac_cpp='$CPP $CPPFLAGS'
54216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54219
54220
54221 fi
54222
54223   fi
54224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54225 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54226
54227   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54228     for ac_func in atan2f
54229 do :
54230   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54231 if test "x$ac_cv_func_atan2f" = x""yes; then :
54232   cat >>confdefs.h <<_ACEOF
54233 #define HAVE_ATAN2F 1
54234 _ACEOF
54235
54236 fi
54237 done
54238
54239   else
54240
54241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54242 $as_echo_n "checking for _atan2f declaration... " >&6; }
54243   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54244     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54245   $as_echo_n "(cached) " >&6
54246 else
54247
54248
54249       ac_ext=cpp
54250 ac_cpp='$CXXCPP $CPPFLAGS'
54251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54254
54255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54256 /* end confdefs.h.  */
54257 #include <math.h>
54258 int
54259 main ()
54260 {
54261  _atan2f(0, 0);
54262   ;
54263   return 0;
54264 }
54265 _ACEOF
54266 if ac_fn_cxx_try_compile "$LINENO"; then :
54267   glibcxx_cv_func__atan2f_use=yes
54268 else
54269   glibcxx_cv_func__atan2f_use=no
54270 fi
54271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54272       ac_ext=c
54273 ac_cpp='$CPP $CPPFLAGS'
54274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54277
54278
54279 fi
54280
54281   fi
54282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54283 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54284
54285     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54286       for ac_func in _atan2f
54287 do :
54288   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54289 if test "x$ac_cv_func__atan2f" = x""yes; then :
54290   cat >>confdefs.h <<_ACEOF
54291 #define HAVE__ATAN2F 1
54292 _ACEOF
54293
54294 fi
54295 done
54296
54297     fi
54298   fi
54299
54300
54301
54302
54303
54304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54305 $as_echo_n "checking for fabsf declaration... " >&6; }
54306   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54307     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54308   $as_echo_n "(cached) " >&6
54309 else
54310
54311
54312       ac_ext=cpp
54313 ac_cpp='$CXXCPP $CPPFLAGS'
54314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54317
54318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54319 /* end confdefs.h.  */
54320 #include <math.h>
54321                       #ifdef HAVE_IEEEFP_H
54322                       #include <ieeefp.h>
54323                       #endif
54324
54325 int
54326 main ()
54327 {
54328  fabsf(0);
54329   ;
54330   return 0;
54331 }
54332 _ACEOF
54333 if ac_fn_cxx_try_compile "$LINENO"; then :
54334   glibcxx_cv_func_fabsf_use=yes
54335 else
54336   glibcxx_cv_func_fabsf_use=no
54337 fi
54338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54339       ac_ext=c
54340 ac_cpp='$CPP $CPPFLAGS'
54341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54344
54345
54346 fi
54347
54348   fi
54349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54350 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54351
54352   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54353     for ac_func in fabsf
54354 do :
54355   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54356 if test "x$ac_cv_func_fabsf" = x""yes; then :
54357   cat >>confdefs.h <<_ACEOF
54358 #define HAVE_FABSF 1
54359 _ACEOF
54360
54361 fi
54362 done
54363
54364   else
54365
54366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54367 $as_echo_n "checking for _fabsf declaration... " >&6; }
54368   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54369     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54370   $as_echo_n "(cached) " >&6
54371 else
54372
54373
54374       ac_ext=cpp
54375 ac_cpp='$CXXCPP $CPPFLAGS'
54376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54379
54380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54381 /* end confdefs.h.  */
54382 #include <math.h>
54383                       #ifdef HAVE_IEEEFP_H
54384                       #include <ieeefp.h>
54385                       #endif
54386
54387 int
54388 main ()
54389 {
54390  _fabsf(0);
54391   ;
54392   return 0;
54393 }
54394 _ACEOF
54395 if ac_fn_cxx_try_compile "$LINENO"; then :
54396   glibcxx_cv_func__fabsf_use=yes
54397 else
54398   glibcxx_cv_func__fabsf_use=no
54399 fi
54400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54401       ac_ext=c
54402 ac_cpp='$CPP $CPPFLAGS'
54403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54406
54407
54408 fi
54409
54410   fi
54411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54412 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54413
54414     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54415       for ac_func in _fabsf
54416 do :
54417   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54418 if test "x$ac_cv_func__fabsf" = x""yes; then :
54419   cat >>confdefs.h <<_ACEOF
54420 #define HAVE__FABSF 1
54421 _ACEOF
54422
54423 fi
54424 done
54425
54426     fi
54427   fi
54428
54429
54430
54431
54432
54433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54434 $as_echo_n "checking for fmodf declaration... " >&6; }
54435   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54436     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54437   $as_echo_n "(cached) " >&6
54438 else
54439
54440
54441       ac_ext=cpp
54442 ac_cpp='$CXXCPP $CPPFLAGS'
54443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54446
54447       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54448 /* end confdefs.h.  */
54449 #include <math.h>
54450 int
54451 main ()
54452 {
54453  fmodf(0, 0);
54454   ;
54455   return 0;
54456 }
54457 _ACEOF
54458 if ac_fn_cxx_try_compile "$LINENO"; then :
54459   glibcxx_cv_func_fmodf_use=yes
54460 else
54461   glibcxx_cv_func_fmodf_use=no
54462 fi
54463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54464       ac_ext=c
54465 ac_cpp='$CPP $CPPFLAGS'
54466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54469
54470
54471 fi
54472
54473   fi
54474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54475 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54476
54477   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54478     for ac_func in fmodf
54479 do :
54480   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54481 if test "x$ac_cv_func_fmodf" = x""yes; then :
54482   cat >>confdefs.h <<_ACEOF
54483 #define HAVE_FMODF 1
54484 _ACEOF
54485
54486 fi
54487 done
54488
54489   else
54490
54491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54492 $as_echo_n "checking for _fmodf declaration... " >&6; }
54493   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54494     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54495   $as_echo_n "(cached) " >&6
54496 else
54497
54498
54499       ac_ext=cpp
54500 ac_cpp='$CXXCPP $CPPFLAGS'
54501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54504
54505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54506 /* end confdefs.h.  */
54507 #include <math.h>
54508 int
54509 main ()
54510 {
54511  _fmodf(0, 0);
54512   ;
54513   return 0;
54514 }
54515 _ACEOF
54516 if ac_fn_cxx_try_compile "$LINENO"; then :
54517   glibcxx_cv_func__fmodf_use=yes
54518 else
54519   glibcxx_cv_func__fmodf_use=no
54520 fi
54521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54522       ac_ext=c
54523 ac_cpp='$CPP $CPPFLAGS'
54524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54527
54528
54529 fi
54530
54531   fi
54532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54533 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54534
54535     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54536       for ac_func in _fmodf
54537 do :
54538   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54539 if test "x$ac_cv_func__fmodf" = x""yes; then :
54540   cat >>confdefs.h <<_ACEOF
54541 #define HAVE__FMODF 1
54542 _ACEOF
54543
54544 fi
54545 done
54546
54547     fi
54548   fi
54549
54550
54551
54552
54553
54554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54555 $as_echo_n "checking for frexpf declaration... " >&6; }
54556   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54557     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54558   $as_echo_n "(cached) " >&6
54559 else
54560
54561
54562       ac_ext=cpp
54563 ac_cpp='$CXXCPP $CPPFLAGS'
54564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54567
54568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54569 /* end confdefs.h.  */
54570 #include <math.h>
54571 int
54572 main ()
54573 {
54574  frexpf(0, 0);
54575   ;
54576   return 0;
54577 }
54578 _ACEOF
54579 if ac_fn_cxx_try_compile "$LINENO"; then :
54580   glibcxx_cv_func_frexpf_use=yes
54581 else
54582   glibcxx_cv_func_frexpf_use=no
54583 fi
54584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54585       ac_ext=c
54586 ac_cpp='$CPP $CPPFLAGS'
54587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54590
54591
54592 fi
54593
54594   fi
54595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54596 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54597
54598   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54599     for ac_func in frexpf
54600 do :
54601   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54602 if test "x$ac_cv_func_frexpf" = x""yes; then :
54603   cat >>confdefs.h <<_ACEOF
54604 #define HAVE_FREXPF 1
54605 _ACEOF
54606
54607 fi
54608 done
54609
54610   else
54611
54612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54613 $as_echo_n "checking for _frexpf declaration... " >&6; }
54614   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54615     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54616   $as_echo_n "(cached) " >&6
54617 else
54618
54619
54620       ac_ext=cpp
54621 ac_cpp='$CXXCPP $CPPFLAGS'
54622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54625
54626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54627 /* end confdefs.h.  */
54628 #include <math.h>
54629 int
54630 main ()
54631 {
54632  _frexpf(0, 0);
54633   ;
54634   return 0;
54635 }
54636 _ACEOF
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638   glibcxx_cv_func__frexpf_use=yes
54639 else
54640   glibcxx_cv_func__frexpf_use=no
54641 fi
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54643       ac_ext=c
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54648
54649
54650 fi
54651
54652   fi
54653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54654 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54655
54656     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54657       for ac_func in _frexpf
54658 do :
54659   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54660 if test "x$ac_cv_func__frexpf" = x""yes; then :
54661   cat >>confdefs.h <<_ACEOF
54662 #define HAVE__FREXPF 1
54663 _ACEOF
54664
54665 fi
54666 done
54667
54668     fi
54669   fi
54670
54671
54672
54673
54674
54675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54676 $as_echo_n "checking for hypotf declaration... " >&6; }
54677   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54678     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54679   $as_echo_n "(cached) " >&6
54680 else
54681
54682
54683       ac_ext=cpp
54684 ac_cpp='$CXXCPP $CPPFLAGS'
54685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54688
54689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54690 /* end confdefs.h.  */
54691 #include <math.h>
54692 int
54693 main ()
54694 {
54695  hypotf(0, 0);
54696   ;
54697   return 0;
54698 }
54699 _ACEOF
54700 if ac_fn_cxx_try_compile "$LINENO"; then :
54701   glibcxx_cv_func_hypotf_use=yes
54702 else
54703   glibcxx_cv_func_hypotf_use=no
54704 fi
54705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54706       ac_ext=c
54707 ac_cpp='$CPP $CPPFLAGS'
54708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54711
54712
54713 fi
54714
54715   fi
54716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54717 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54718
54719   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54720     for ac_func in hypotf
54721 do :
54722   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54723 if test "x$ac_cv_func_hypotf" = x""yes; then :
54724   cat >>confdefs.h <<_ACEOF
54725 #define HAVE_HYPOTF 1
54726 _ACEOF
54727
54728 fi
54729 done
54730
54731   else
54732
54733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54734 $as_echo_n "checking for _hypotf declaration... " >&6; }
54735   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54736     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54737   $as_echo_n "(cached) " >&6
54738 else
54739
54740
54741       ac_ext=cpp
54742 ac_cpp='$CXXCPP $CPPFLAGS'
54743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54746
54747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54748 /* end confdefs.h.  */
54749 #include <math.h>
54750 int
54751 main ()
54752 {
54753  _hypotf(0, 0);
54754   ;
54755   return 0;
54756 }
54757 _ACEOF
54758 if ac_fn_cxx_try_compile "$LINENO"; then :
54759   glibcxx_cv_func__hypotf_use=yes
54760 else
54761   glibcxx_cv_func__hypotf_use=no
54762 fi
54763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54764       ac_ext=c
54765 ac_cpp='$CPP $CPPFLAGS'
54766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54769
54770
54771 fi
54772
54773   fi
54774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54775 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54776
54777     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54778       for ac_func in _hypotf
54779 do :
54780   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54781 if test "x$ac_cv_func__hypotf" = x""yes; then :
54782   cat >>confdefs.h <<_ACEOF
54783 #define HAVE__HYPOTF 1
54784 _ACEOF
54785
54786 fi
54787 done
54788
54789     fi
54790   fi
54791
54792
54793
54794
54795
54796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54797 $as_echo_n "checking for ldexpf declaration... " >&6; }
54798   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54799     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54800   $as_echo_n "(cached) " >&6
54801 else
54802
54803
54804       ac_ext=cpp
54805 ac_cpp='$CXXCPP $CPPFLAGS'
54806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54809
54810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54811 /* end confdefs.h.  */
54812 #include <math.h>
54813 int
54814 main ()
54815 {
54816  ldexpf(0, 0);
54817   ;
54818   return 0;
54819 }
54820 _ACEOF
54821 if ac_fn_cxx_try_compile "$LINENO"; then :
54822   glibcxx_cv_func_ldexpf_use=yes
54823 else
54824   glibcxx_cv_func_ldexpf_use=no
54825 fi
54826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54827       ac_ext=c
54828 ac_cpp='$CPP $CPPFLAGS'
54829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54832
54833
54834 fi
54835
54836   fi
54837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54838 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54839
54840   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54841     for ac_func in ldexpf
54842 do :
54843   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54844 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54845   cat >>confdefs.h <<_ACEOF
54846 #define HAVE_LDEXPF 1
54847 _ACEOF
54848
54849 fi
54850 done
54851
54852   else
54853
54854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54855 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54856   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54857     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54858   $as_echo_n "(cached) " >&6
54859 else
54860
54861
54862       ac_ext=cpp
54863 ac_cpp='$CXXCPP $CPPFLAGS'
54864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54867
54868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54869 /* end confdefs.h.  */
54870 #include <math.h>
54871 int
54872 main ()
54873 {
54874  _ldexpf(0, 0);
54875   ;
54876   return 0;
54877 }
54878 _ACEOF
54879 if ac_fn_cxx_try_compile "$LINENO"; then :
54880   glibcxx_cv_func__ldexpf_use=yes
54881 else
54882   glibcxx_cv_func__ldexpf_use=no
54883 fi
54884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54885       ac_ext=c
54886 ac_cpp='$CPP $CPPFLAGS'
54887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54890
54891
54892 fi
54893
54894   fi
54895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54896 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54897
54898     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54899       for ac_func in _ldexpf
54900 do :
54901   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54902 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54903   cat >>confdefs.h <<_ACEOF
54904 #define HAVE__LDEXPF 1
54905 _ACEOF
54906
54907 fi
54908 done
54909
54910     fi
54911   fi
54912
54913
54914
54915
54916
54917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54918 $as_echo_n "checking for logf declaration... " >&6; }
54919   if test x${glibcxx_cv_func_logf_use+set} != xset; then
54920     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54921   $as_echo_n "(cached) " >&6
54922 else
54923
54924
54925       ac_ext=cpp
54926 ac_cpp='$CXXCPP $CPPFLAGS'
54927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54930
54931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54932 /* end confdefs.h.  */
54933 #include <math.h>
54934                       #ifdef HAVE_IEEEFP_H
54935                       #include <ieeefp.h>
54936                       #endif
54937
54938 int
54939 main ()
54940 {
54941  logf(0);
54942   ;
54943   return 0;
54944 }
54945 _ACEOF
54946 if ac_fn_cxx_try_compile "$LINENO"; then :
54947   glibcxx_cv_func_logf_use=yes
54948 else
54949   glibcxx_cv_func_logf_use=no
54950 fi
54951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54952       ac_ext=c
54953 ac_cpp='$CPP $CPPFLAGS'
54954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54957
54958
54959 fi
54960
54961   fi
54962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54963 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54964
54965   if test x$glibcxx_cv_func_logf_use = x"yes"; then
54966     for ac_func in logf
54967 do :
54968   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54969 if test "x$ac_cv_func_logf" = x""yes; then :
54970   cat >>confdefs.h <<_ACEOF
54971 #define HAVE_LOGF 1
54972 _ACEOF
54973
54974 fi
54975 done
54976
54977   else
54978
54979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54980 $as_echo_n "checking for _logf declaration... " >&6; }
54981   if test x${glibcxx_cv_func__logf_use+set} != xset; then
54982     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54983   $as_echo_n "(cached) " >&6
54984 else
54985
54986
54987       ac_ext=cpp
54988 ac_cpp='$CXXCPP $CPPFLAGS'
54989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54992
54993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54994 /* end confdefs.h.  */
54995 #include <math.h>
54996                       #ifdef HAVE_IEEEFP_H
54997                       #include <ieeefp.h>
54998                       #endif
54999
55000 int
55001 main ()
55002 {
55003  _logf(0);
55004   ;
55005   return 0;
55006 }
55007 _ACEOF
55008 if ac_fn_cxx_try_compile "$LINENO"; then :
55009   glibcxx_cv_func__logf_use=yes
55010 else
55011   glibcxx_cv_func__logf_use=no
55012 fi
55013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55014       ac_ext=c
55015 ac_cpp='$CPP $CPPFLAGS'
55016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55019
55020
55021 fi
55022
55023   fi
55024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55025 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55026
55027     if test x$glibcxx_cv_func__logf_use = x"yes"; then
55028       for ac_func in _logf
55029 do :
55030   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55031 if test "x$ac_cv_func__logf" = x""yes; then :
55032   cat >>confdefs.h <<_ACEOF
55033 #define HAVE__LOGF 1
55034 _ACEOF
55035
55036 fi
55037 done
55038
55039     fi
55040   fi
55041
55042
55043
55044
55045
55046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55047 $as_echo_n "checking for log10f declaration... " >&6; }
55048   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55049     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55050   $as_echo_n "(cached) " >&6
55051 else
55052
55053
55054       ac_ext=cpp
55055 ac_cpp='$CXXCPP $CPPFLAGS'
55056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55059
55060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55061 /* end confdefs.h.  */
55062 #include <math.h>
55063                       #ifdef HAVE_IEEEFP_H
55064                       #include <ieeefp.h>
55065                       #endif
55066
55067 int
55068 main ()
55069 {
55070  log10f(0);
55071   ;
55072   return 0;
55073 }
55074 _ACEOF
55075 if ac_fn_cxx_try_compile "$LINENO"; then :
55076   glibcxx_cv_func_log10f_use=yes
55077 else
55078   glibcxx_cv_func_log10f_use=no
55079 fi
55080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55081       ac_ext=c
55082 ac_cpp='$CPP $CPPFLAGS'
55083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55086
55087
55088 fi
55089
55090   fi
55091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55092 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55093
55094   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55095     for ac_func in log10f
55096 do :
55097   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55098 if test "x$ac_cv_func_log10f" = x""yes; then :
55099   cat >>confdefs.h <<_ACEOF
55100 #define HAVE_LOG10F 1
55101 _ACEOF
55102
55103 fi
55104 done
55105
55106   else
55107
55108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55109 $as_echo_n "checking for _log10f declaration... " >&6; }
55110   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55111     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55112   $as_echo_n "(cached) " >&6
55113 else
55114
55115
55116       ac_ext=cpp
55117 ac_cpp='$CXXCPP $CPPFLAGS'
55118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55121
55122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55123 /* end confdefs.h.  */
55124 #include <math.h>
55125                       #ifdef HAVE_IEEEFP_H
55126                       #include <ieeefp.h>
55127                       #endif
55128
55129 int
55130 main ()
55131 {
55132  _log10f(0);
55133   ;
55134   return 0;
55135 }
55136 _ACEOF
55137 if ac_fn_cxx_try_compile "$LINENO"; then :
55138   glibcxx_cv_func__log10f_use=yes
55139 else
55140   glibcxx_cv_func__log10f_use=no
55141 fi
55142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55143       ac_ext=c
55144 ac_cpp='$CPP $CPPFLAGS'
55145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55148
55149
55150 fi
55151
55152   fi
55153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55154 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55155
55156     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55157       for ac_func in _log10f
55158 do :
55159   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55160 if test "x$ac_cv_func__log10f" = x""yes; then :
55161   cat >>confdefs.h <<_ACEOF
55162 #define HAVE__LOG10F 1
55163 _ACEOF
55164
55165 fi
55166 done
55167
55168     fi
55169   fi
55170
55171
55172
55173
55174
55175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55176 $as_echo_n "checking for modff declaration... " >&6; }
55177   if test x${glibcxx_cv_func_modff_use+set} != xset; then
55178     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55179   $as_echo_n "(cached) " >&6
55180 else
55181
55182
55183       ac_ext=cpp
55184 ac_cpp='$CXXCPP $CPPFLAGS'
55185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55188
55189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55190 /* end confdefs.h.  */
55191 #include <math.h>
55192 int
55193 main ()
55194 {
55195  modff(0, 0);
55196   ;
55197   return 0;
55198 }
55199 _ACEOF
55200 if ac_fn_cxx_try_compile "$LINENO"; then :
55201   glibcxx_cv_func_modff_use=yes
55202 else
55203   glibcxx_cv_func_modff_use=no
55204 fi
55205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55206       ac_ext=c
55207 ac_cpp='$CPP $CPPFLAGS'
55208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55211
55212
55213 fi
55214
55215   fi
55216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55217 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55218
55219   if test x$glibcxx_cv_func_modff_use = x"yes"; then
55220     for ac_func in modff
55221 do :
55222   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55223 if test "x$ac_cv_func_modff" = x""yes; then :
55224   cat >>confdefs.h <<_ACEOF
55225 #define HAVE_MODFF 1
55226 _ACEOF
55227
55228 fi
55229 done
55230
55231   else
55232
55233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55234 $as_echo_n "checking for _modff declaration... " >&6; }
55235   if test x${glibcxx_cv_func__modff_use+set} != xset; then
55236     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55237   $as_echo_n "(cached) " >&6
55238 else
55239
55240
55241       ac_ext=cpp
55242 ac_cpp='$CXXCPP $CPPFLAGS'
55243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55246
55247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55248 /* end confdefs.h.  */
55249 #include <math.h>
55250 int
55251 main ()
55252 {
55253  _modff(0, 0);
55254   ;
55255   return 0;
55256 }
55257 _ACEOF
55258 if ac_fn_cxx_try_compile "$LINENO"; then :
55259   glibcxx_cv_func__modff_use=yes
55260 else
55261   glibcxx_cv_func__modff_use=no
55262 fi
55263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55264       ac_ext=c
55265 ac_cpp='$CPP $CPPFLAGS'
55266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55269
55270
55271 fi
55272
55273   fi
55274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55275 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55276
55277     if test x$glibcxx_cv_func__modff_use = x"yes"; then
55278       for ac_func in _modff
55279 do :
55280   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55281 if test "x$ac_cv_func__modff" = x""yes; then :
55282   cat >>confdefs.h <<_ACEOF
55283 #define HAVE__MODFF 1
55284 _ACEOF
55285
55286 fi
55287 done
55288
55289     fi
55290   fi
55291
55292
55293
55294
55295
55296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55297 $as_echo_n "checking for modf declaration... " >&6; }
55298   if test x${glibcxx_cv_func_modf_use+set} != xset; then
55299     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55300   $as_echo_n "(cached) " >&6
55301 else
55302
55303
55304       ac_ext=cpp
55305 ac_cpp='$CXXCPP $CPPFLAGS'
55306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55309
55310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55311 /* end confdefs.h.  */
55312 #include <math.h>
55313 int
55314 main ()
55315 {
55316  modf(0, 0);
55317   ;
55318   return 0;
55319 }
55320 _ACEOF
55321 if ac_fn_cxx_try_compile "$LINENO"; then :
55322   glibcxx_cv_func_modf_use=yes
55323 else
55324   glibcxx_cv_func_modf_use=no
55325 fi
55326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55327       ac_ext=c
55328 ac_cpp='$CPP $CPPFLAGS'
55329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55332
55333
55334 fi
55335
55336   fi
55337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55338 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55339
55340   if test x$glibcxx_cv_func_modf_use = x"yes"; then
55341     for ac_func in modf
55342 do :
55343   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55344 if test "x$ac_cv_func_modf" = x""yes; then :
55345   cat >>confdefs.h <<_ACEOF
55346 #define HAVE_MODF 1
55347 _ACEOF
55348
55349 fi
55350 done
55351
55352   else
55353
55354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55355 $as_echo_n "checking for _modf declaration... " >&6; }
55356   if test x${glibcxx_cv_func__modf_use+set} != xset; then
55357     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55358   $as_echo_n "(cached) " >&6
55359 else
55360
55361
55362       ac_ext=cpp
55363 ac_cpp='$CXXCPP $CPPFLAGS'
55364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55367
55368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55369 /* end confdefs.h.  */
55370 #include <math.h>
55371 int
55372 main ()
55373 {
55374  _modf(0, 0);
55375   ;
55376   return 0;
55377 }
55378 _ACEOF
55379 if ac_fn_cxx_try_compile "$LINENO"; then :
55380   glibcxx_cv_func__modf_use=yes
55381 else
55382   glibcxx_cv_func__modf_use=no
55383 fi
55384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55385       ac_ext=c
55386 ac_cpp='$CPP $CPPFLAGS'
55387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55390
55391
55392 fi
55393
55394   fi
55395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55396 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55397
55398     if test x$glibcxx_cv_func__modf_use = x"yes"; then
55399       for ac_func in _modf
55400 do :
55401   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55402 if test "x$ac_cv_func__modf" = x""yes; then :
55403   cat >>confdefs.h <<_ACEOF
55404 #define HAVE__MODF 1
55405 _ACEOF
55406
55407 fi
55408 done
55409
55410     fi
55411   fi
55412
55413
55414
55415
55416
55417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55418 $as_echo_n "checking for powf declaration... " >&6; }
55419   if test x${glibcxx_cv_func_powf_use+set} != xset; then
55420     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55421   $as_echo_n "(cached) " >&6
55422 else
55423
55424
55425       ac_ext=cpp
55426 ac_cpp='$CXXCPP $CPPFLAGS'
55427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55430
55431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55432 /* end confdefs.h.  */
55433 #include <math.h>
55434 int
55435 main ()
55436 {
55437  powf(0, 0);
55438   ;
55439   return 0;
55440 }
55441 _ACEOF
55442 if ac_fn_cxx_try_compile "$LINENO"; then :
55443   glibcxx_cv_func_powf_use=yes
55444 else
55445   glibcxx_cv_func_powf_use=no
55446 fi
55447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55448       ac_ext=c
55449 ac_cpp='$CPP $CPPFLAGS'
55450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55453
55454
55455 fi
55456
55457   fi
55458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55459 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55460
55461   if test x$glibcxx_cv_func_powf_use = x"yes"; then
55462     for ac_func in powf
55463 do :
55464   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55465 if test "x$ac_cv_func_powf" = x""yes; then :
55466   cat >>confdefs.h <<_ACEOF
55467 #define HAVE_POWF 1
55468 _ACEOF
55469
55470 fi
55471 done
55472
55473   else
55474
55475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55476 $as_echo_n "checking for _powf declaration... " >&6; }
55477   if test x${glibcxx_cv_func__powf_use+set} != xset; then
55478     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55479   $as_echo_n "(cached) " >&6
55480 else
55481
55482
55483       ac_ext=cpp
55484 ac_cpp='$CXXCPP $CPPFLAGS'
55485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55488
55489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55490 /* end confdefs.h.  */
55491 #include <math.h>
55492 int
55493 main ()
55494 {
55495  _powf(0, 0);
55496   ;
55497   return 0;
55498 }
55499 _ACEOF
55500 if ac_fn_cxx_try_compile "$LINENO"; then :
55501   glibcxx_cv_func__powf_use=yes
55502 else
55503   glibcxx_cv_func__powf_use=no
55504 fi
55505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55506       ac_ext=c
55507 ac_cpp='$CPP $CPPFLAGS'
55508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55511
55512
55513 fi
55514
55515   fi
55516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55517 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55518
55519     if test x$glibcxx_cv_func__powf_use = x"yes"; then
55520       for ac_func in _powf
55521 do :
55522   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55523 if test "x$ac_cv_func__powf" = x""yes; then :
55524   cat >>confdefs.h <<_ACEOF
55525 #define HAVE__POWF 1
55526 _ACEOF
55527
55528 fi
55529 done
55530
55531     fi
55532   fi
55533
55534
55535
55536
55537
55538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55539 $as_echo_n "checking for sqrtf declaration... " >&6; }
55540   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55541     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55542   $as_echo_n "(cached) " >&6
55543 else
55544
55545
55546       ac_ext=cpp
55547 ac_cpp='$CXXCPP $CPPFLAGS'
55548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55551
55552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55553 /* end confdefs.h.  */
55554 #include <math.h>
55555                       #ifdef HAVE_IEEEFP_H
55556                       #include <ieeefp.h>
55557                       #endif
55558
55559 int
55560 main ()
55561 {
55562  sqrtf(0);
55563   ;
55564   return 0;
55565 }
55566 _ACEOF
55567 if ac_fn_cxx_try_compile "$LINENO"; then :
55568   glibcxx_cv_func_sqrtf_use=yes
55569 else
55570   glibcxx_cv_func_sqrtf_use=no
55571 fi
55572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55573       ac_ext=c
55574 ac_cpp='$CPP $CPPFLAGS'
55575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55578
55579
55580 fi
55581
55582   fi
55583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55584 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55585
55586   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55587     for ac_func in sqrtf
55588 do :
55589   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55590 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55591   cat >>confdefs.h <<_ACEOF
55592 #define HAVE_SQRTF 1
55593 _ACEOF
55594
55595 fi
55596 done
55597
55598   else
55599
55600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55601 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55602   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55603     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55604   $as_echo_n "(cached) " >&6
55605 else
55606
55607
55608       ac_ext=cpp
55609 ac_cpp='$CXXCPP $CPPFLAGS'
55610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55613
55614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55615 /* end confdefs.h.  */
55616 #include <math.h>
55617                       #ifdef HAVE_IEEEFP_H
55618                       #include <ieeefp.h>
55619                       #endif
55620
55621 int
55622 main ()
55623 {
55624  _sqrtf(0);
55625   ;
55626   return 0;
55627 }
55628 _ACEOF
55629 if ac_fn_cxx_try_compile "$LINENO"; then :
55630   glibcxx_cv_func__sqrtf_use=yes
55631 else
55632   glibcxx_cv_func__sqrtf_use=no
55633 fi
55634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55635       ac_ext=c
55636 ac_cpp='$CPP $CPPFLAGS'
55637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55640
55641
55642 fi
55643
55644   fi
55645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55646 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55647
55648     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55649       for ac_func in _sqrtf
55650 do :
55651   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55652 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55653   cat >>confdefs.h <<_ACEOF
55654 #define HAVE__SQRTF 1
55655 _ACEOF
55656
55657 fi
55658 done
55659
55660     fi
55661   fi
55662
55663
55664
55665
55666
55667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55668 $as_echo_n "checking for sincosf declaration... " >&6; }
55669   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55670     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55671   $as_echo_n "(cached) " >&6
55672 else
55673
55674
55675       ac_ext=cpp
55676 ac_cpp='$CXXCPP $CPPFLAGS'
55677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55680
55681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55682 /* end confdefs.h.  */
55683 #include <math.h>
55684 int
55685 main ()
55686 {
55687  sincosf(0, 0, 0);
55688   ;
55689   return 0;
55690 }
55691 _ACEOF
55692 if ac_fn_cxx_try_compile "$LINENO"; then :
55693   glibcxx_cv_func_sincosf_use=yes
55694 else
55695   glibcxx_cv_func_sincosf_use=no
55696 fi
55697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55698       ac_ext=c
55699 ac_cpp='$CPP $CPPFLAGS'
55700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55703
55704
55705 fi
55706
55707   fi
55708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55709 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55710
55711   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55712     for ac_func in sincosf
55713 do :
55714   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55715 if test "x$ac_cv_func_sincosf" = x""yes; then :
55716   cat >>confdefs.h <<_ACEOF
55717 #define HAVE_SINCOSF 1
55718 _ACEOF
55719
55720 fi
55721 done
55722
55723   else
55724
55725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55726 $as_echo_n "checking for _sincosf declaration... " >&6; }
55727   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55728     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55729   $as_echo_n "(cached) " >&6
55730 else
55731
55732
55733       ac_ext=cpp
55734 ac_cpp='$CXXCPP $CPPFLAGS'
55735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55738
55739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55740 /* end confdefs.h.  */
55741 #include <math.h>
55742 int
55743 main ()
55744 {
55745  _sincosf(0, 0, 0);
55746   ;
55747   return 0;
55748 }
55749 _ACEOF
55750 if ac_fn_cxx_try_compile "$LINENO"; then :
55751   glibcxx_cv_func__sincosf_use=yes
55752 else
55753   glibcxx_cv_func__sincosf_use=no
55754 fi
55755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55756       ac_ext=c
55757 ac_cpp='$CPP $CPPFLAGS'
55758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55761
55762
55763 fi
55764
55765   fi
55766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55767 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55768
55769     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55770       for ac_func in _sincosf
55771 do :
55772   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55773 if test "x$ac_cv_func__sincosf" = x""yes; then :
55774   cat >>confdefs.h <<_ACEOF
55775 #define HAVE__SINCOSF 1
55776 _ACEOF
55777
55778 fi
55779 done
55780
55781     fi
55782   fi
55783
55784
55785
55786
55787
55788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55789 $as_echo_n "checking for finitef declaration... " >&6; }
55790   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55791     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55792   $as_echo_n "(cached) " >&6
55793 else
55794
55795
55796       ac_ext=cpp
55797 ac_cpp='$CXXCPP $CPPFLAGS'
55798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55801
55802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55803 /* end confdefs.h.  */
55804 #include <math.h>
55805                       #ifdef HAVE_IEEEFP_H
55806                       #include <ieeefp.h>
55807                       #endif
55808
55809 int
55810 main ()
55811 {
55812  finitef(0);
55813   ;
55814   return 0;
55815 }
55816 _ACEOF
55817 if ac_fn_cxx_try_compile "$LINENO"; then :
55818   glibcxx_cv_func_finitef_use=yes
55819 else
55820   glibcxx_cv_func_finitef_use=no
55821 fi
55822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55823       ac_ext=c
55824 ac_cpp='$CPP $CPPFLAGS'
55825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55828
55829
55830 fi
55831
55832   fi
55833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55834 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55835
55836   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55837     for ac_func in finitef
55838 do :
55839   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55840 if test "x$ac_cv_func_finitef" = x""yes; then :
55841   cat >>confdefs.h <<_ACEOF
55842 #define HAVE_FINITEF 1
55843 _ACEOF
55844
55845 fi
55846 done
55847
55848   else
55849
55850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55851 $as_echo_n "checking for _finitef declaration... " >&6; }
55852   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55853     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55854   $as_echo_n "(cached) " >&6
55855 else
55856
55857
55858       ac_ext=cpp
55859 ac_cpp='$CXXCPP $CPPFLAGS'
55860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55863
55864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55865 /* end confdefs.h.  */
55866 #include <math.h>
55867                       #ifdef HAVE_IEEEFP_H
55868                       #include <ieeefp.h>
55869                       #endif
55870
55871 int
55872 main ()
55873 {
55874  _finitef(0);
55875   ;
55876   return 0;
55877 }
55878 _ACEOF
55879 if ac_fn_cxx_try_compile "$LINENO"; then :
55880   glibcxx_cv_func__finitef_use=yes
55881 else
55882   glibcxx_cv_func__finitef_use=no
55883 fi
55884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55885       ac_ext=c
55886 ac_cpp='$CPP $CPPFLAGS'
55887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55890
55891
55892 fi
55893
55894   fi
55895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55896 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55897
55898     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55899       for ac_func in _finitef
55900 do :
55901   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55902 if test "x$ac_cv_func__finitef" = x""yes; then :
55903   cat >>confdefs.h <<_ACEOF
55904 #define HAVE__FINITEF 1
55905 _ACEOF
55906
55907 fi
55908 done
55909
55910     fi
55911   fi
55912
55913
55914
55915
55916
55917     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55918 $as_echo_n "checking for long double trig functions... " >&6; }
55919   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55920   $as_echo_n "(cached) " >&6
55921 else
55922
55923
55924     ac_ext=cpp
55925 ac_cpp='$CXXCPP $CPPFLAGS'
55926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55929
55930     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55931 /* end confdefs.h.  */
55932 #include <math.h>
55933 int
55934 main ()
55935 {
55936 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55937   ;
55938   return 0;
55939 }
55940 _ACEOF
55941 if ac_fn_cxx_try_compile "$LINENO"; then :
55942   glibcxx_cv_func_long_double_trig_use=yes
55943 else
55944   glibcxx_cv_func_long_double_trig_use=no
55945 fi
55946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55947     ac_ext=c
55948 ac_cpp='$CPP $CPPFLAGS'
55949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55952
55953 fi
55954
55955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55956 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55957   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55958     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55959 do :
55960   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55961 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55962 eval as_val=\$$as_ac_var
55963    if test "x$as_val" = x""yes; then :
55964   cat >>confdefs.h <<_ACEOF
55965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55966 _ACEOF
55967
55968 fi
55969 done
55970
55971   else
55972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55973 $as_echo_n "checking for _long double trig functions... " >&6; }
55974     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55975   $as_echo_n "(cached) " >&6
55976 else
55977
55978
55979       ac_ext=cpp
55980 ac_cpp='$CXXCPP $CPPFLAGS'
55981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55984
55985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55986 /* end confdefs.h.  */
55987 #include <math.h>
55988 int
55989 main ()
55990 {
55991 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55992   ;
55993   return 0;
55994 }
55995 _ACEOF
55996 if ac_fn_cxx_try_compile "$LINENO"; then :
55997   glibcxx_cv_func__long_double_trig_use=yes
55998 else
55999   glibcxx_cv_func__long_double_trig_use=no
56000 fi
56001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56002       ac_ext=c
56003 ac_cpp='$CPP $CPPFLAGS'
56004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56007
56008 fi
56009
56010     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56011 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56012     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56013       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56014 do :
56015   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56017 eval as_val=\$$as_ac_var
56018    if test "x$as_val" = x""yes; then :
56019   cat >>confdefs.h <<_ACEOF
56020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56021 _ACEOF
56022
56023 fi
56024 done
56025
56026     fi
56027   fi
56028
56029
56030
56031
56032
56033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56034 $as_echo_n "checking for long double round functions... " >&6; }
56035   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56036   $as_echo_n "(cached) " >&6
56037 else
56038
56039
56040     ac_ext=cpp
56041 ac_cpp='$CXXCPP $CPPFLAGS'
56042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56045
56046     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56047 /* end confdefs.h.  */
56048 #include <math.h>
56049 int
56050 main ()
56051 {
56052 ceill (0); floorl (0);
56053   ;
56054   return 0;
56055 }
56056 _ACEOF
56057 if ac_fn_cxx_try_compile "$LINENO"; then :
56058   glibcxx_cv_func_long_double_round_use=yes
56059 else
56060   glibcxx_cv_func_long_double_round_use=no
56061 fi
56062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56063     ac_ext=c
56064 ac_cpp='$CPP $CPPFLAGS'
56065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56068
56069 fi
56070
56071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56072 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56073   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56074     for ac_func in ceill floorl
56075 do :
56076   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56078 eval as_val=\$$as_ac_var
56079    if test "x$as_val" = x""yes; then :
56080   cat >>confdefs.h <<_ACEOF
56081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56082 _ACEOF
56083
56084 fi
56085 done
56086
56087   else
56088     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56089 $as_echo_n "checking for _long double round functions... " >&6; }
56090     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56091   $as_echo_n "(cached) " >&6
56092 else
56093
56094
56095       ac_ext=cpp
56096 ac_cpp='$CXXCPP $CPPFLAGS'
56097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56100
56101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56102 /* end confdefs.h.  */
56103 #include <math.h>
56104 int
56105 main ()
56106 {
56107 _ceill (0); _floorl (0);
56108   ;
56109   return 0;
56110 }
56111 _ACEOF
56112 if ac_fn_cxx_try_compile "$LINENO"; then :
56113   glibcxx_cv_func__long_double_round_use=yes
56114 else
56115   glibcxx_cv_func__long_double_round_use=no
56116 fi
56117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56118       ac_ext=c
56119 ac_cpp='$CPP $CPPFLAGS'
56120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56123
56124 fi
56125
56126     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56127 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56128     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56129       for ac_func in _ceill _floorl
56130 do :
56131   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56133 eval as_val=\$$as_ac_var
56134    if test "x$as_val" = x""yes; then :
56135   cat >>confdefs.h <<_ACEOF
56136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56137 _ACEOF
56138
56139 fi
56140 done
56141
56142     fi
56143   fi
56144
56145
56146
56147
56148
56149
56150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56151 $as_echo_n "checking for isnanl declaration... " >&6; }
56152   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56153     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56154   $as_echo_n "(cached) " >&6
56155 else
56156
56157
56158       ac_ext=cpp
56159 ac_cpp='$CXXCPP $CPPFLAGS'
56160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56163
56164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56165 /* end confdefs.h.  */
56166 #include <math.h>
56167                       #ifdef HAVE_IEEEFP_H
56168                       #include <ieeefp.h>
56169                       #endif
56170
56171 int
56172 main ()
56173 {
56174  isnanl(0);
56175   ;
56176   return 0;
56177 }
56178 _ACEOF
56179 if ac_fn_cxx_try_compile "$LINENO"; then :
56180   glibcxx_cv_func_isnanl_use=yes
56181 else
56182   glibcxx_cv_func_isnanl_use=no
56183 fi
56184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56185       ac_ext=c
56186 ac_cpp='$CPP $CPPFLAGS'
56187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56190
56191
56192 fi
56193
56194   fi
56195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56196 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56197
56198   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56199     for ac_func in isnanl
56200 do :
56201   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56202 if test "x$ac_cv_func_isnanl" = x""yes; then :
56203   cat >>confdefs.h <<_ACEOF
56204 #define HAVE_ISNANL 1
56205 _ACEOF
56206
56207 fi
56208 done
56209
56210   else
56211
56212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56213 $as_echo_n "checking for _isnanl declaration... " >&6; }
56214   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56215     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56216   $as_echo_n "(cached) " >&6
56217 else
56218
56219
56220       ac_ext=cpp
56221 ac_cpp='$CXXCPP $CPPFLAGS'
56222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56225
56226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56227 /* end confdefs.h.  */
56228 #include <math.h>
56229                       #ifdef HAVE_IEEEFP_H
56230                       #include <ieeefp.h>
56231                       #endif
56232
56233 int
56234 main ()
56235 {
56236  _isnanl(0);
56237   ;
56238   return 0;
56239 }
56240 _ACEOF
56241 if ac_fn_cxx_try_compile "$LINENO"; then :
56242   glibcxx_cv_func__isnanl_use=yes
56243 else
56244   glibcxx_cv_func__isnanl_use=no
56245 fi
56246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56247       ac_ext=c
56248 ac_cpp='$CPP $CPPFLAGS'
56249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56252
56253
56254 fi
56255
56256   fi
56257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56258 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56259
56260     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56261       for ac_func in _isnanl
56262 do :
56263   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56264 if test "x$ac_cv_func__isnanl" = x""yes; then :
56265   cat >>confdefs.h <<_ACEOF
56266 #define HAVE__ISNANL 1
56267 _ACEOF
56268
56269 fi
56270 done
56271
56272     fi
56273   fi
56274
56275
56276
56277
56278
56279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56280 $as_echo_n "checking for isinfl declaration... " >&6; }
56281   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56282     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56283   $as_echo_n "(cached) " >&6
56284 else
56285
56286
56287       ac_ext=cpp
56288 ac_cpp='$CXXCPP $CPPFLAGS'
56289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56292
56293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56294 /* end confdefs.h.  */
56295 #include <math.h>
56296                       #ifdef HAVE_IEEEFP_H
56297                       #include <ieeefp.h>
56298                       #endif
56299
56300 int
56301 main ()
56302 {
56303  isinfl(0);
56304   ;
56305   return 0;
56306 }
56307 _ACEOF
56308 if ac_fn_cxx_try_compile "$LINENO"; then :
56309   glibcxx_cv_func_isinfl_use=yes
56310 else
56311   glibcxx_cv_func_isinfl_use=no
56312 fi
56313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56314       ac_ext=c
56315 ac_cpp='$CPP $CPPFLAGS'
56316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56319
56320
56321 fi
56322
56323   fi
56324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56325 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56326
56327   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56328     for ac_func in isinfl
56329 do :
56330   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56331 if test "x$ac_cv_func_isinfl" = x""yes; then :
56332   cat >>confdefs.h <<_ACEOF
56333 #define HAVE_ISINFL 1
56334 _ACEOF
56335
56336 fi
56337 done
56338
56339   else
56340
56341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56342 $as_echo_n "checking for _isinfl declaration... " >&6; }
56343   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56344     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56345   $as_echo_n "(cached) " >&6
56346 else
56347
56348
56349       ac_ext=cpp
56350 ac_cpp='$CXXCPP $CPPFLAGS'
56351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56354
56355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56356 /* end confdefs.h.  */
56357 #include <math.h>
56358                       #ifdef HAVE_IEEEFP_H
56359                       #include <ieeefp.h>
56360                       #endif
56361
56362 int
56363 main ()
56364 {
56365  _isinfl(0);
56366   ;
56367   return 0;
56368 }
56369 _ACEOF
56370 if ac_fn_cxx_try_compile "$LINENO"; then :
56371   glibcxx_cv_func__isinfl_use=yes
56372 else
56373   glibcxx_cv_func__isinfl_use=no
56374 fi
56375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56376       ac_ext=c
56377 ac_cpp='$CPP $CPPFLAGS'
56378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56381
56382
56383 fi
56384
56385   fi
56386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56387 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56388
56389     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56390       for ac_func in _isinfl
56391 do :
56392   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56393 if test "x$ac_cv_func__isinfl" = x""yes; then :
56394   cat >>confdefs.h <<_ACEOF
56395 #define HAVE__ISINFL 1
56396 _ACEOF
56397
56398 fi
56399 done
56400
56401     fi
56402   fi
56403
56404
56405
56406
56407
56408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56409 $as_echo_n "checking for atan2l declaration... " >&6; }
56410   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56411     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56412   $as_echo_n "(cached) " >&6
56413 else
56414
56415
56416       ac_ext=cpp
56417 ac_cpp='$CXXCPP $CPPFLAGS'
56418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56421
56422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56423 /* end confdefs.h.  */
56424 #include <math.h>
56425 int
56426 main ()
56427 {
56428  atan2l(0, 0);
56429   ;
56430   return 0;
56431 }
56432 _ACEOF
56433 if ac_fn_cxx_try_compile "$LINENO"; then :
56434   glibcxx_cv_func_atan2l_use=yes
56435 else
56436   glibcxx_cv_func_atan2l_use=no
56437 fi
56438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56439       ac_ext=c
56440 ac_cpp='$CPP $CPPFLAGS'
56441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56444
56445
56446 fi
56447
56448   fi
56449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56450 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56451
56452   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56453     for ac_func in atan2l
56454 do :
56455   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56456 if test "x$ac_cv_func_atan2l" = x""yes; then :
56457   cat >>confdefs.h <<_ACEOF
56458 #define HAVE_ATAN2L 1
56459 _ACEOF
56460
56461 fi
56462 done
56463
56464   else
56465
56466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56467 $as_echo_n "checking for _atan2l declaration... " >&6; }
56468   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56469     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56470   $as_echo_n "(cached) " >&6
56471 else
56472
56473
56474       ac_ext=cpp
56475 ac_cpp='$CXXCPP $CPPFLAGS'
56476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56479
56480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56481 /* end confdefs.h.  */
56482 #include <math.h>
56483 int
56484 main ()
56485 {
56486  _atan2l(0, 0);
56487   ;
56488   return 0;
56489 }
56490 _ACEOF
56491 if ac_fn_cxx_try_compile "$LINENO"; then :
56492   glibcxx_cv_func__atan2l_use=yes
56493 else
56494   glibcxx_cv_func__atan2l_use=no
56495 fi
56496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56497       ac_ext=c
56498 ac_cpp='$CPP $CPPFLAGS'
56499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56502
56503
56504 fi
56505
56506   fi
56507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56508 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56509
56510     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56511       for ac_func in _atan2l
56512 do :
56513   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56514 if test "x$ac_cv_func__atan2l" = x""yes; then :
56515   cat >>confdefs.h <<_ACEOF
56516 #define HAVE__ATAN2L 1
56517 _ACEOF
56518
56519 fi
56520 done
56521
56522     fi
56523   fi
56524
56525
56526
56527
56528
56529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56530 $as_echo_n "checking for expl declaration... " >&6; }
56531   if test x${glibcxx_cv_func_expl_use+set} != xset; then
56532     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56533   $as_echo_n "(cached) " >&6
56534 else
56535
56536
56537       ac_ext=cpp
56538 ac_cpp='$CXXCPP $CPPFLAGS'
56539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56542
56543       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56544 /* end confdefs.h.  */
56545 #include <math.h>
56546                       #ifdef HAVE_IEEEFP_H
56547                       #include <ieeefp.h>
56548                       #endif
56549
56550 int
56551 main ()
56552 {
56553  expl(0);
56554   ;
56555   return 0;
56556 }
56557 _ACEOF
56558 if ac_fn_cxx_try_compile "$LINENO"; then :
56559   glibcxx_cv_func_expl_use=yes
56560 else
56561   glibcxx_cv_func_expl_use=no
56562 fi
56563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56564       ac_ext=c
56565 ac_cpp='$CPP $CPPFLAGS'
56566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56569
56570
56571 fi
56572
56573   fi
56574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56575 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56576
56577   if test x$glibcxx_cv_func_expl_use = x"yes"; then
56578     for ac_func in expl
56579 do :
56580   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56581 if test "x$ac_cv_func_expl" = x""yes; then :
56582   cat >>confdefs.h <<_ACEOF
56583 #define HAVE_EXPL 1
56584 _ACEOF
56585
56586 fi
56587 done
56588
56589   else
56590
56591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56592 $as_echo_n "checking for _expl declaration... " >&6; }
56593   if test x${glibcxx_cv_func__expl_use+set} != xset; then
56594     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56595   $as_echo_n "(cached) " >&6
56596 else
56597
56598
56599       ac_ext=cpp
56600 ac_cpp='$CXXCPP $CPPFLAGS'
56601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56604
56605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56606 /* end confdefs.h.  */
56607 #include <math.h>
56608                       #ifdef HAVE_IEEEFP_H
56609                       #include <ieeefp.h>
56610                       #endif
56611
56612 int
56613 main ()
56614 {
56615  _expl(0);
56616   ;
56617   return 0;
56618 }
56619 _ACEOF
56620 if ac_fn_cxx_try_compile "$LINENO"; then :
56621   glibcxx_cv_func__expl_use=yes
56622 else
56623   glibcxx_cv_func__expl_use=no
56624 fi
56625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56626       ac_ext=c
56627 ac_cpp='$CPP $CPPFLAGS'
56628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56631
56632
56633 fi
56634
56635   fi
56636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56637 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56638
56639     if test x$glibcxx_cv_func__expl_use = x"yes"; then
56640       for ac_func in _expl
56641 do :
56642   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56643 if test "x$ac_cv_func__expl" = x""yes; then :
56644   cat >>confdefs.h <<_ACEOF
56645 #define HAVE__EXPL 1
56646 _ACEOF
56647
56648 fi
56649 done
56650
56651     fi
56652   fi
56653
56654
56655
56656
56657
56658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56659 $as_echo_n "checking for fabsl declaration... " >&6; }
56660   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56661     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56662   $as_echo_n "(cached) " >&6
56663 else
56664
56665
56666       ac_ext=cpp
56667 ac_cpp='$CXXCPP $CPPFLAGS'
56668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56671
56672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56673 /* end confdefs.h.  */
56674 #include <math.h>
56675                       #ifdef HAVE_IEEEFP_H
56676                       #include <ieeefp.h>
56677                       #endif
56678
56679 int
56680 main ()
56681 {
56682  fabsl(0);
56683   ;
56684   return 0;
56685 }
56686 _ACEOF
56687 if ac_fn_cxx_try_compile "$LINENO"; then :
56688   glibcxx_cv_func_fabsl_use=yes
56689 else
56690   glibcxx_cv_func_fabsl_use=no
56691 fi
56692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56693       ac_ext=c
56694 ac_cpp='$CPP $CPPFLAGS'
56695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56698
56699
56700 fi
56701
56702   fi
56703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56704 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56705
56706   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56707     for ac_func in fabsl
56708 do :
56709   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56710 if test "x$ac_cv_func_fabsl" = x""yes; then :
56711   cat >>confdefs.h <<_ACEOF
56712 #define HAVE_FABSL 1
56713 _ACEOF
56714
56715 fi
56716 done
56717
56718   else
56719
56720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56721 $as_echo_n "checking for _fabsl declaration... " >&6; }
56722   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56723     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56724   $as_echo_n "(cached) " >&6
56725 else
56726
56727
56728       ac_ext=cpp
56729 ac_cpp='$CXXCPP $CPPFLAGS'
56730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56733
56734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56735 /* end confdefs.h.  */
56736 #include <math.h>
56737                       #ifdef HAVE_IEEEFP_H
56738                       #include <ieeefp.h>
56739                       #endif
56740
56741 int
56742 main ()
56743 {
56744  _fabsl(0);
56745   ;
56746   return 0;
56747 }
56748 _ACEOF
56749 if ac_fn_cxx_try_compile "$LINENO"; then :
56750   glibcxx_cv_func__fabsl_use=yes
56751 else
56752   glibcxx_cv_func__fabsl_use=no
56753 fi
56754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56755       ac_ext=c
56756 ac_cpp='$CPP $CPPFLAGS'
56757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56760
56761
56762 fi
56763
56764   fi
56765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56766 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56767
56768     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56769       for ac_func in _fabsl
56770 do :
56771   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56772 if test "x$ac_cv_func__fabsl" = x""yes; then :
56773   cat >>confdefs.h <<_ACEOF
56774 #define HAVE__FABSL 1
56775 _ACEOF
56776
56777 fi
56778 done
56779
56780     fi
56781   fi
56782
56783
56784
56785
56786
56787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56788 $as_echo_n "checking for fmodl declaration... " >&6; }
56789   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56790     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56791   $as_echo_n "(cached) " >&6
56792 else
56793
56794
56795       ac_ext=cpp
56796 ac_cpp='$CXXCPP $CPPFLAGS'
56797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56800
56801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56802 /* end confdefs.h.  */
56803 #include <math.h>
56804 int
56805 main ()
56806 {
56807  fmodl(0, 0);
56808   ;
56809   return 0;
56810 }
56811 _ACEOF
56812 if ac_fn_cxx_try_compile "$LINENO"; then :
56813   glibcxx_cv_func_fmodl_use=yes
56814 else
56815   glibcxx_cv_func_fmodl_use=no
56816 fi
56817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56818       ac_ext=c
56819 ac_cpp='$CPP $CPPFLAGS'
56820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56823
56824
56825 fi
56826
56827   fi
56828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56829 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56830
56831   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56832     for ac_func in fmodl
56833 do :
56834   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56835 if test "x$ac_cv_func_fmodl" = x""yes; then :
56836   cat >>confdefs.h <<_ACEOF
56837 #define HAVE_FMODL 1
56838 _ACEOF
56839
56840 fi
56841 done
56842
56843   else
56844
56845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56846 $as_echo_n "checking for _fmodl declaration... " >&6; }
56847   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56848     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56849   $as_echo_n "(cached) " >&6
56850 else
56851
56852
56853       ac_ext=cpp
56854 ac_cpp='$CXXCPP $CPPFLAGS'
56855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56858
56859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56860 /* end confdefs.h.  */
56861 #include <math.h>
56862 int
56863 main ()
56864 {
56865  _fmodl(0, 0);
56866   ;
56867   return 0;
56868 }
56869 _ACEOF
56870 if ac_fn_cxx_try_compile "$LINENO"; then :
56871   glibcxx_cv_func__fmodl_use=yes
56872 else
56873   glibcxx_cv_func__fmodl_use=no
56874 fi
56875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56876       ac_ext=c
56877 ac_cpp='$CPP $CPPFLAGS'
56878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56881
56882
56883 fi
56884
56885   fi
56886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56887 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56888
56889     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56890       for ac_func in _fmodl
56891 do :
56892   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56893 if test "x$ac_cv_func__fmodl" = x""yes; then :
56894   cat >>confdefs.h <<_ACEOF
56895 #define HAVE__FMODL 1
56896 _ACEOF
56897
56898 fi
56899 done
56900
56901     fi
56902   fi
56903
56904
56905
56906
56907
56908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56909 $as_echo_n "checking for frexpl declaration... " >&6; }
56910   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56911     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56912   $as_echo_n "(cached) " >&6
56913 else
56914
56915
56916       ac_ext=cpp
56917 ac_cpp='$CXXCPP $CPPFLAGS'
56918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56921
56922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56923 /* end confdefs.h.  */
56924 #include <math.h>
56925 int
56926 main ()
56927 {
56928  frexpl(0, 0);
56929   ;
56930   return 0;
56931 }
56932 _ACEOF
56933 if ac_fn_cxx_try_compile "$LINENO"; then :
56934   glibcxx_cv_func_frexpl_use=yes
56935 else
56936   glibcxx_cv_func_frexpl_use=no
56937 fi
56938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56939       ac_ext=c
56940 ac_cpp='$CPP $CPPFLAGS'
56941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56944
56945
56946 fi
56947
56948   fi
56949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56950 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56951
56952   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56953     for ac_func in frexpl
56954 do :
56955   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56956 if test "x$ac_cv_func_frexpl" = x""yes; then :
56957   cat >>confdefs.h <<_ACEOF
56958 #define HAVE_FREXPL 1
56959 _ACEOF
56960
56961 fi
56962 done
56963
56964   else
56965
56966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56967 $as_echo_n "checking for _frexpl declaration... " >&6; }
56968   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56969     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56970   $as_echo_n "(cached) " >&6
56971 else
56972
56973
56974       ac_ext=cpp
56975 ac_cpp='$CXXCPP $CPPFLAGS'
56976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56979
56980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56981 /* end confdefs.h.  */
56982 #include <math.h>
56983 int
56984 main ()
56985 {
56986  _frexpl(0, 0);
56987   ;
56988   return 0;
56989 }
56990 _ACEOF
56991 if ac_fn_cxx_try_compile "$LINENO"; then :
56992   glibcxx_cv_func__frexpl_use=yes
56993 else
56994   glibcxx_cv_func__frexpl_use=no
56995 fi
56996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56997       ac_ext=c
56998 ac_cpp='$CPP $CPPFLAGS'
56999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57002
57003
57004 fi
57005
57006   fi
57007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57008 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57009
57010     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57011       for ac_func in _frexpl
57012 do :
57013   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57014 if test "x$ac_cv_func__frexpl" = x""yes; then :
57015   cat >>confdefs.h <<_ACEOF
57016 #define HAVE__FREXPL 1
57017 _ACEOF
57018
57019 fi
57020 done
57021
57022     fi
57023   fi
57024
57025
57026
57027
57028
57029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57030 $as_echo_n "checking for hypotl declaration... " >&6; }
57031   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57032     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57033   $as_echo_n "(cached) " >&6
57034 else
57035
57036
57037       ac_ext=cpp
57038 ac_cpp='$CXXCPP $CPPFLAGS'
57039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57042
57043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57044 /* end confdefs.h.  */
57045 #include <math.h>
57046 int
57047 main ()
57048 {
57049  hypotl(0, 0);
57050   ;
57051   return 0;
57052 }
57053 _ACEOF
57054 if ac_fn_cxx_try_compile "$LINENO"; then :
57055   glibcxx_cv_func_hypotl_use=yes
57056 else
57057   glibcxx_cv_func_hypotl_use=no
57058 fi
57059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57060       ac_ext=c
57061 ac_cpp='$CPP $CPPFLAGS'
57062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57065
57066
57067 fi
57068
57069   fi
57070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57071 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57072
57073   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57074     for ac_func in hypotl
57075 do :
57076   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57077 if test "x$ac_cv_func_hypotl" = x""yes; then :
57078   cat >>confdefs.h <<_ACEOF
57079 #define HAVE_HYPOTL 1
57080 _ACEOF
57081
57082 fi
57083 done
57084
57085   else
57086
57087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57088 $as_echo_n "checking for _hypotl declaration... " >&6; }
57089   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57090     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57091   $as_echo_n "(cached) " >&6
57092 else
57093
57094
57095       ac_ext=cpp
57096 ac_cpp='$CXXCPP $CPPFLAGS'
57097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57100
57101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57102 /* end confdefs.h.  */
57103 #include <math.h>
57104 int
57105 main ()
57106 {
57107  _hypotl(0, 0);
57108   ;
57109   return 0;
57110 }
57111 _ACEOF
57112 if ac_fn_cxx_try_compile "$LINENO"; then :
57113   glibcxx_cv_func__hypotl_use=yes
57114 else
57115   glibcxx_cv_func__hypotl_use=no
57116 fi
57117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57118       ac_ext=c
57119 ac_cpp='$CPP $CPPFLAGS'
57120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57123
57124
57125 fi
57126
57127   fi
57128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57129 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57130
57131     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57132       for ac_func in _hypotl
57133 do :
57134   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57135 if test "x$ac_cv_func__hypotl" = x""yes; then :
57136   cat >>confdefs.h <<_ACEOF
57137 #define HAVE__HYPOTL 1
57138 _ACEOF
57139
57140 fi
57141 done
57142
57143     fi
57144   fi
57145
57146
57147
57148
57149
57150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57151 $as_echo_n "checking for ldexpl declaration... " >&6; }
57152   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57153     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57154   $as_echo_n "(cached) " >&6
57155 else
57156
57157
57158       ac_ext=cpp
57159 ac_cpp='$CXXCPP $CPPFLAGS'
57160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57163
57164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57165 /* end confdefs.h.  */
57166 #include <math.h>
57167 int
57168 main ()
57169 {
57170  ldexpl(0, 0);
57171   ;
57172   return 0;
57173 }
57174 _ACEOF
57175 if ac_fn_cxx_try_compile "$LINENO"; then :
57176   glibcxx_cv_func_ldexpl_use=yes
57177 else
57178   glibcxx_cv_func_ldexpl_use=no
57179 fi
57180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57181       ac_ext=c
57182 ac_cpp='$CPP $CPPFLAGS'
57183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57186
57187
57188 fi
57189
57190   fi
57191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57192 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57193
57194   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57195     for ac_func in ldexpl
57196 do :
57197   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57198 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57199   cat >>confdefs.h <<_ACEOF
57200 #define HAVE_LDEXPL 1
57201 _ACEOF
57202
57203 fi
57204 done
57205
57206   else
57207
57208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57209 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57210   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57211     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57212   $as_echo_n "(cached) " >&6
57213 else
57214
57215
57216       ac_ext=cpp
57217 ac_cpp='$CXXCPP $CPPFLAGS'
57218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57221
57222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57223 /* end confdefs.h.  */
57224 #include <math.h>
57225 int
57226 main ()
57227 {
57228  _ldexpl(0, 0);
57229   ;
57230   return 0;
57231 }
57232 _ACEOF
57233 if ac_fn_cxx_try_compile "$LINENO"; then :
57234   glibcxx_cv_func__ldexpl_use=yes
57235 else
57236   glibcxx_cv_func__ldexpl_use=no
57237 fi
57238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57239       ac_ext=c
57240 ac_cpp='$CPP $CPPFLAGS'
57241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57244
57245
57246 fi
57247
57248   fi
57249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57250 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57251
57252     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57253       for ac_func in _ldexpl
57254 do :
57255   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57256 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57257   cat >>confdefs.h <<_ACEOF
57258 #define HAVE__LDEXPL 1
57259 _ACEOF
57260
57261 fi
57262 done
57263
57264     fi
57265   fi
57266
57267
57268
57269
57270
57271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57272 $as_echo_n "checking for logl declaration... " >&6; }
57273   if test x${glibcxx_cv_func_logl_use+set} != xset; then
57274     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57275   $as_echo_n "(cached) " >&6
57276 else
57277
57278
57279       ac_ext=cpp
57280 ac_cpp='$CXXCPP $CPPFLAGS'
57281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57284
57285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57286 /* end confdefs.h.  */
57287 #include <math.h>
57288                       #ifdef HAVE_IEEEFP_H
57289                       #include <ieeefp.h>
57290                       #endif
57291
57292 int
57293 main ()
57294 {
57295  logl(0);
57296   ;
57297   return 0;
57298 }
57299 _ACEOF
57300 if ac_fn_cxx_try_compile "$LINENO"; then :
57301   glibcxx_cv_func_logl_use=yes
57302 else
57303   glibcxx_cv_func_logl_use=no
57304 fi
57305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57306       ac_ext=c
57307 ac_cpp='$CPP $CPPFLAGS'
57308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57311
57312
57313 fi
57314
57315   fi
57316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57317 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57318
57319   if test x$glibcxx_cv_func_logl_use = x"yes"; then
57320     for ac_func in logl
57321 do :
57322   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57323 if test "x$ac_cv_func_logl" = x""yes; then :
57324   cat >>confdefs.h <<_ACEOF
57325 #define HAVE_LOGL 1
57326 _ACEOF
57327
57328 fi
57329 done
57330
57331   else
57332
57333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57334 $as_echo_n "checking for _logl declaration... " >&6; }
57335   if test x${glibcxx_cv_func__logl_use+set} != xset; then
57336     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57337   $as_echo_n "(cached) " >&6
57338 else
57339
57340
57341       ac_ext=cpp
57342 ac_cpp='$CXXCPP $CPPFLAGS'
57343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57346
57347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57348 /* end confdefs.h.  */
57349 #include <math.h>
57350                       #ifdef HAVE_IEEEFP_H
57351                       #include <ieeefp.h>
57352                       #endif
57353
57354 int
57355 main ()
57356 {
57357  _logl(0);
57358   ;
57359   return 0;
57360 }
57361 _ACEOF
57362 if ac_fn_cxx_try_compile "$LINENO"; then :
57363   glibcxx_cv_func__logl_use=yes
57364 else
57365   glibcxx_cv_func__logl_use=no
57366 fi
57367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57368       ac_ext=c
57369 ac_cpp='$CPP $CPPFLAGS'
57370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57373
57374
57375 fi
57376
57377   fi
57378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57379 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57380
57381     if test x$glibcxx_cv_func__logl_use = x"yes"; then
57382       for ac_func in _logl
57383 do :
57384   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57385 if test "x$ac_cv_func__logl" = x""yes; then :
57386   cat >>confdefs.h <<_ACEOF
57387 #define HAVE__LOGL 1
57388 _ACEOF
57389
57390 fi
57391 done
57392
57393     fi
57394   fi
57395
57396
57397
57398
57399
57400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57401 $as_echo_n "checking for log10l declaration... " >&6; }
57402   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57403     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57404   $as_echo_n "(cached) " >&6
57405 else
57406
57407
57408       ac_ext=cpp
57409 ac_cpp='$CXXCPP $CPPFLAGS'
57410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57413
57414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57415 /* end confdefs.h.  */
57416 #include <math.h>
57417                       #ifdef HAVE_IEEEFP_H
57418                       #include <ieeefp.h>
57419                       #endif
57420
57421 int
57422 main ()
57423 {
57424  log10l(0);
57425   ;
57426   return 0;
57427 }
57428 _ACEOF
57429 if ac_fn_cxx_try_compile "$LINENO"; then :
57430   glibcxx_cv_func_log10l_use=yes
57431 else
57432   glibcxx_cv_func_log10l_use=no
57433 fi
57434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57435       ac_ext=c
57436 ac_cpp='$CPP $CPPFLAGS'
57437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57440
57441
57442 fi
57443
57444   fi
57445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57446 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57447
57448   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57449     for ac_func in log10l
57450 do :
57451   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57452 if test "x$ac_cv_func_log10l" = x""yes; then :
57453   cat >>confdefs.h <<_ACEOF
57454 #define HAVE_LOG10L 1
57455 _ACEOF
57456
57457 fi
57458 done
57459
57460   else
57461
57462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57463 $as_echo_n "checking for _log10l declaration... " >&6; }
57464   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57465     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57466   $as_echo_n "(cached) " >&6
57467 else
57468
57469
57470       ac_ext=cpp
57471 ac_cpp='$CXXCPP $CPPFLAGS'
57472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57475
57476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57477 /* end confdefs.h.  */
57478 #include <math.h>
57479                       #ifdef HAVE_IEEEFP_H
57480                       #include <ieeefp.h>
57481                       #endif
57482
57483 int
57484 main ()
57485 {
57486  _log10l(0);
57487   ;
57488   return 0;
57489 }
57490 _ACEOF
57491 if ac_fn_cxx_try_compile "$LINENO"; then :
57492   glibcxx_cv_func__log10l_use=yes
57493 else
57494   glibcxx_cv_func__log10l_use=no
57495 fi
57496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57497       ac_ext=c
57498 ac_cpp='$CPP $CPPFLAGS'
57499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57502
57503
57504 fi
57505
57506   fi
57507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57508 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57509
57510     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57511       for ac_func in _log10l
57512 do :
57513   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57514 if test "x$ac_cv_func__log10l" = x""yes; then :
57515   cat >>confdefs.h <<_ACEOF
57516 #define HAVE__LOG10L 1
57517 _ACEOF
57518
57519 fi
57520 done
57521
57522     fi
57523   fi
57524
57525
57526
57527
57528
57529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57530 $as_echo_n "checking for modfl declaration... " >&6; }
57531   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57532     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57533   $as_echo_n "(cached) " >&6
57534 else
57535
57536
57537       ac_ext=cpp
57538 ac_cpp='$CXXCPP $CPPFLAGS'
57539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57542
57543       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57544 /* end confdefs.h.  */
57545 #include <math.h>
57546 int
57547 main ()
57548 {
57549  modfl(0, 0);
57550   ;
57551   return 0;
57552 }
57553 _ACEOF
57554 if ac_fn_cxx_try_compile "$LINENO"; then :
57555   glibcxx_cv_func_modfl_use=yes
57556 else
57557   glibcxx_cv_func_modfl_use=no
57558 fi
57559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57560       ac_ext=c
57561 ac_cpp='$CPP $CPPFLAGS'
57562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57565
57566
57567 fi
57568
57569   fi
57570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57571 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57572
57573   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57574     for ac_func in modfl
57575 do :
57576   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57577 if test "x$ac_cv_func_modfl" = x""yes; then :
57578   cat >>confdefs.h <<_ACEOF
57579 #define HAVE_MODFL 1
57580 _ACEOF
57581
57582 fi
57583 done
57584
57585   else
57586
57587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57588 $as_echo_n "checking for _modfl declaration... " >&6; }
57589   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57590     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57591   $as_echo_n "(cached) " >&6
57592 else
57593
57594
57595       ac_ext=cpp
57596 ac_cpp='$CXXCPP $CPPFLAGS'
57597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57600
57601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57602 /* end confdefs.h.  */
57603 #include <math.h>
57604 int
57605 main ()
57606 {
57607  _modfl(0, 0);
57608   ;
57609   return 0;
57610 }
57611 _ACEOF
57612 if ac_fn_cxx_try_compile "$LINENO"; then :
57613   glibcxx_cv_func__modfl_use=yes
57614 else
57615   glibcxx_cv_func__modfl_use=no
57616 fi
57617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57618       ac_ext=c
57619 ac_cpp='$CPP $CPPFLAGS'
57620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57623
57624
57625 fi
57626
57627   fi
57628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57629 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57630
57631     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57632       for ac_func in _modfl
57633 do :
57634   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57635 if test "x$ac_cv_func__modfl" = x""yes; then :
57636   cat >>confdefs.h <<_ACEOF
57637 #define HAVE__MODFL 1
57638 _ACEOF
57639
57640 fi
57641 done
57642
57643     fi
57644   fi
57645
57646
57647
57648
57649
57650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57651 $as_echo_n "checking for powl declaration... " >&6; }
57652   if test x${glibcxx_cv_func_powl_use+set} != xset; then
57653     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57654   $as_echo_n "(cached) " >&6
57655 else
57656
57657
57658       ac_ext=cpp
57659 ac_cpp='$CXXCPP $CPPFLAGS'
57660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57663
57664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57665 /* end confdefs.h.  */
57666 #include <math.h>
57667 int
57668 main ()
57669 {
57670  powl(0, 0);
57671   ;
57672   return 0;
57673 }
57674 _ACEOF
57675 if ac_fn_cxx_try_compile "$LINENO"; then :
57676   glibcxx_cv_func_powl_use=yes
57677 else
57678   glibcxx_cv_func_powl_use=no
57679 fi
57680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57681       ac_ext=c
57682 ac_cpp='$CPP $CPPFLAGS'
57683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57686
57687
57688 fi
57689
57690   fi
57691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57692 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57693
57694   if test x$glibcxx_cv_func_powl_use = x"yes"; then
57695     for ac_func in powl
57696 do :
57697   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57698 if test "x$ac_cv_func_powl" = x""yes; then :
57699   cat >>confdefs.h <<_ACEOF
57700 #define HAVE_POWL 1
57701 _ACEOF
57702
57703 fi
57704 done
57705
57706   else
57707
57708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57709 $as_echo_n "checking for _powl declaration... " >&6; }
57710   if test x${glibcxx_cv_func__powl_use+set} != xset; then
57711     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57712   $as_echo_n "(cached) " >&6
57713 else
57714
57715
57716       ac_ext=cpp
57717 ac_cpp='$CXXCPP $CPPFLAGS'
57718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57721
57722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57723 /* end confdefs.h.  */
57724 #include <math.h>
57725 int
57726 main ()
57727 {
57728  _powl(0, 0);
57729   ;
57730   return 0;
57731 }
57732 _ACEOF
57733 if ac_fn_cxx_try_compile "$LINENO"; then :
57734   glibcxx_cv_func__powl_use=yes
57735 else
57736   glibcxx_cv_func__powl_use=no
57737 fi
57738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57739       ac_ext=c
57740 ac_cpp='$CPP $CPPFLAGS'
57741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57744
57745
57746 fi
57747
57748   fi
57749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57750 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57751
57752     if test x$glibcxx_cv_func__powl_use = x"yes"; then
57753       for ac_func in _powl
57754 do :
57755   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57756 if test "x$ac_cv_func__powl" = x""yes; then :
57757   cat >>confdefs.h <<_ACEOF
57758 #define HAVE__POWL 1
57759 _ACEOF
57760
57761 fi
57762 done
57763
57764     fi
57765   fi
57766
57767
57768
57769
57770
57771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57772 $as_echo_n "checking for sqrtl declaration... " >&6; }
57773   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57774     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57775   $as_echo_n "(cached) " >&6
57776 else
57777
57778
57779       ac_ext=cpp
57780 ac_cpp='$CXXCPP $CPPFLAGS'
57781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57784
57785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57786 /* end confdefs.h.  */
57787 #include <math.h>
57788                       #ifdef HAVE_IEEEFP_H
57789                       #include <ieeefp.h>
57790                       #endif
57791
57792 int
57793 main ()
57794 {
57795  sqrtl(0);
57796   ;
57797   return 0;
57798 }
57799 _ACEOF
57800 if ac_fn_cxx_try_compile "$LINENO"; then :
57801   glibcxx_cv_func_sqrtl_use=yes
57802 else
57803   glibcxx_cv_func_sqrtl_use=no
57804 fi
57805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57806       ac_ext=c
57807 ac_cpp='$CPP $CPPFLAGS'
57808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57811
57812
57813 fi
57814
57815   fi
57816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57817 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57818
57819   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57820     for ac_func in sqrtl
57821 do :
57822   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57823 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57824   cat >>confdefs.h <<_ACEOF
57825 #define HAVE_SQRTL 1
57826 _ACEOF
57827
57828 fi
57829 done
57830
57831   else
57832
57833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57834 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57835   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57836     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57837   $as_echo_n "(cached) " >&6
57838 else
57839
57840
57841       ac_ext=cpp
57842 ac_cpp='$CXXCPP $CPPFLAGS'
57843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57846
57847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57848 /* end confdefs.h.  */
57849 #include <math.h>
57850                       #ifdef HAVE_IEEEFP_H
57851                       #include <ieeefp.h>
57852                       #endif
57853
57854 int
57855 main ()
57856 {
57857  _sqrtl(0);
57858   ;
57859   return 0;
57860 }
57861 _ACEOF
57862 if ac_fn_cxx_try_compile "$LINENO"; then :
57863   glibcxx_cv_func__sqrtl_use=yes
57864 else
57865   glibcxx_cv_func__sqrtl_use=no
57866 fi
57867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57868       ac_ext=c
57869 ac_cpp='$CPP $CPPFLAGS'
57870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57873
57874
57875 fi
57876
57877   fi
57878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57879 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57880
57881     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57882       for ac_func in _sqrtl
57883 do :
57884   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57885 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57886   cat >>confdefs.h <<_ACEOF
57887 #define HAVE__SQRTL 1
57888 _ACEOF
57889
57890 fi
57891 done
57892
57893     fi
57894   fi
57895
57896
57897
57898
57899
57900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57901 $as_echo_n "checking for sincosl declaration... " >&6; }
57902   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57903     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57904   $as_echo_n "(cached) " >&6
57905 else
57906
57907
57908       ac_ext=cpp
57909 ac_cpp='$CXXCPP $CPPFLAGS'
57910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57913
57914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57915 /* end confdefs.h.  */
57916 #include <math.h>
57917 int
57918 main ()
57919 {
57920  sincosl(0, 0, 0);
57921   ;
57922   return 0;
57923 }
57924 _ACEOF
57925 if ac_fn_cxx_try_compile "$LINENO"; then :
57926   glibcxx_cv_func_sincosl_use=yes
57927 else
57928   glibcxx_cv_func_sincosl_use=no
57929 fi
57930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57931       ac_ext=c
57932 ac_cpp='$CPP $CPPFLAGS'
57933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57936
57937
57938 fi
57939
57940   fi
57941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57942 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57943
57944   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57945     for ac_func in sincosl
57946 do :
57947   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57948 if test "x$ac_cv_func_sincosl" = x""yes; then :
57949   cat >>confdefs.h <<_ACEOF
57950 #define HAVE_SINCOSL 1
57951 _ACEOF
57952
57953 fi
57954 done
57955
57956   else
57957
57958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57959 $as_echo_n "checking for _sincosl declaration... " >&6; }
57960   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57961     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57962   $as_echo_n "(cached) " >&6
57963 else
57964
57965
57966       ac_ext=cpp
57967 ac_cpp='$CXXCPP $CPPFLAGS'
57968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57971
57972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57973 /* end confdefs.h.  */
57974 #include <math.h>
57975 int
57976 main ()
57977 {
57978  _sincosl(0, 0, 0);
57979   ;
57980   return 0;
57981 }
57982 _ACEOF
57983 if ac_fn_cxx_try_compile "$LINENO"; then :
57984   glibcxx_cv_func__sincosl_use=yes
57985 else
57986   glibcxx_cv_func__sincosl_use=no
57987 fi
57988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57989       ac_ext=c
57990 ac_cpp='$CPP $CPPFLAGS'
57991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57994
57995
57996 fi
57997
57998   fi
57999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58000 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58001
58002     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58003       for ac_func in _sincosl
58004 do :
58005   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58006 if test "x$ac_cv_func__sincosl" = x""yes; then :
58007   cat >>confdefs.h <<_ACEOF
58008 #define HAVE__SINCOSL 1
58009 _ACEOF
58010
58011 fi
58012 done
58013
58014     fi
58015   fi
58016
58017
58018
58019
58020
58021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58022 $as_echo_n "checking for finitel declaration... " >&6; }
58023   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58024     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58025   $as_echo_n "(cached) " >&6
58026 else
58027
58028
58029       ac_ext=cpp
58030 ac_cpp='$CXXCPP $CPPFLAGS'
58031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58034
58035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58036 /* end confdefs.h.  */
58037 #include <math.h>
58038                       #ifdef HAVE_IEEEFP_H
58039                       #include <ieeefp.h>
58040                       #endif
58041
58042 int
58043 main ()
58044 {
58045  finitel(0);
58046   ;
58047   return 0;
58048 }
58049 _ACEOF
58050 if ac_fn_cxx_try_compile "$LINENO"; then :
58051   glibcxx_cv_func_finitel_use=yes
58052 else
58053   glibcxx_cv_func_finitel_use=no
58054 fi
58055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58056       ac_ext=c
58057 ac_cpp='$CPP $CPPFLAGS'
58058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58061
58062
58063 fi
58064
58065   fi
58066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58067 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58068
58069   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58070     for ac_func in finitel
58071 do :
58072   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58073 if test "x$ac_cv_func_finitel" = x""yes; then :
58074   cat >>confdefs.h <<_ACEOF
58075 #define HAVE_FINITEL 1
58076 _ACEOF
58077
58078 fi
58079 done
58080
58081   else
58082
58083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58084 $as_echo_n "checking for _finitel declaration... " >&6; }
58085   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58086     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58087   $as_echo_n "(cached) " >&6
58088 else
58089
58090
58091       ac_ext=cpp
58092 ac_cpp='$CXXCPP $CPPFLAGS'
58093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58096
58097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58098 /* end confdefs.h.  */
58099 #include <math.h>
58100                       #ifdef HAVE_IEEEFP_H
58101                       #include <ieeefp.h>
58102                       #endif
58103
58104 int
58105 main ()
58106 {
58107  _finitel(0);
58108   ;
58109   return 0;
58110 }
58111 _ACEOF
58112 if ac_fn_cxx_try_compile "$LINENO"; then :
58113   glibcxx_cv_func__finitel_use=yes
58114 else
58115   glibcxx_cv_func__finitel_use=no
58116 fi
58117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58118       ac_ext=c
58119 ac_cpp='$CPP $CPPFLAGS'
58120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58123
58124
58125 fi
58126
58127   fi
58128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58129 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58130
58131     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58132       for ac_func in _finitel
58133 do :
58134   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58135 if test "x$ac_cv_func__finitel" = x""yes; then :
58136   cat >>confdefs.h <<_ACEOF
58137 #define HAVE__FINITEL 1
58138 _ACEOF
58139
58140 fi
58141 done
58142
58143     fi
58144   fi
58145
58146
58147
58148
58149   LIBS="$ac_save_LIBS"
58150   CXXFLAGS="$ac_save_CXXFLAGS"
58151
58152
58153   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58154   ac_save_CXXFLAGS="$CXXFLAGS"
58155   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58156
58157
58158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58159 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58160   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58161     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58162   $as_echo_n "(cached) " >&6
58163 else
58164
58165
58166       ac_ext=cpp
58167 ac_cpp='$CXXCPP $CPPFLAGS'
58168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58171
58172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58173 /* end confdefs.h.  */
58174 #include <stdlib.h>
58175 int
58176 main ()
58177 {
58178  at_quick_exit(0);
58179   ;
58180   return 0;
58181 }
58182 _ACEOF
58183 if ac_fn_cxx_try_compile "$LINENO"; then :
58184   glibcxx_cv_func_at_quick_exit_use=yes
58185 else
58186   glibcxx_cv_func_at_quick_exit_use=no
58187 fi
58188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58189       ac_ext=c
58190 ac_cpp='$CPP $CPPFLAGS'
58191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58194
58195
58196 fi
58197
58198   fi
58199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58200 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58201   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58202     for ac_func in at_quick_exit
58203 do :
58204   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58205 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58206   cat >>confdefs.h <<_ACEOF
58207 #define HAVE_AT_QUICK_EXIT 1
58208 _ACEOF
58209
58210 fi
58211 done
58212
58213   fi
58214
58215
58216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58217 $as_echo_n "checking for quick_exit declaration... " >&6; }
58218   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58219     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58220   $as_echo_n "(cached) " >&6
58221 else
58222
58223
58224       ac_ext=cpp
58225 ac_cpp='$CXXCPP $CPPFLAGS'
58226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58229
58230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58231 /* end confdefs.h.  */
58232 #include <stdlib.h>
58233 int
58234 main ()
58235 {
58236  quick_exit(0);
58237   ;
58238   return 0;
58239 }
58240 _ACEOF
58241 if ac_fn_cxx_try_compile "$LINENO"; then :
58242   glibcxx_cv_func_quick_exit_use=yes
58243 else
58244   glibcxx_cv_func_quick_exit_use=no
58245 fi
58246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58247       ac_ext=c
58248 ac_cpp='$CPP $CPPFLAGS'
58249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58252
58253
58254 fi
58255
58256   fi
58257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58258 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58259   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58260     for ac_func in quick_exit
58261 do :
58262   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58263 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58264   cat >>confdefs.h <<_ACEOF
58265 #define HAVE_QUICK_EXIT 1
58266 _ACEOF
58267
58268 fi
58269 done
58270
58271   fi
58272
58273
58274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58275 $as_echo_n "checking for strtold declaration... " >&6; }
58276   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58277     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58278   $as_echo_n "(cached) " >&6
58279 else
58280
58281
58282       ac_ext=cpp
58283 ac_cpp='$CXXCPP $CPPFLAGS'
58284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58287
58288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58289 /* end confdefs.h.  */
58290 #include <stdlib.h>
58291 int
58292 main ()
58293 {
58294  strtold(0, 0);
58295   ;
58296   return 0;
58297 }
58298 _ACEOF
58299 if ac_fn_cxx_try_compile "$LINENO"; then :
58300   glibcxx_cv_func_strtold_use=yes
58301 else
58302   glibcxx_cv_func_strtold_use=no
58303 fi
58304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58305       ac_ext=c
58306 ac_cpp='$CPP $CPPFLAGS'
58307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58310
58311
58312 fi
58313
58314   fi
58315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58316 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58317   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58318     for ac_func in strtold
58319 do :
58320   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58321 if test "x$ac_cv_func_strtold" = x""yes; then :
58322   cat >>confdefs.h <<_ACEOF
58323 #define HAVE_STRTOLD 1
58324 _ACEOF
58325
58326 fi
58327 done
58328
58329   fi
58330
58331
58332
58333
58334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58335 $as_echo_n "checking for strtof declaration... " >&6; }
58336   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58337     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58338   $as_echo_n "(cached) " >&6
58339 else
58340
58341
58342       ac_ext=cpp
58343 ac_cpp='$CXXCPP $CPPFLAGS'
58344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58347
58348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58349 /* end confdefs.h.  */
58350 #include <stdlib.h>
58351 int
58352 main ()
58353 {
58354  strtof(0, 0);
58355   ;
58356   return 0;
58357 }
58358 _ACEOF
58359 if ac_fn_cxx_try_compile "$LINENO"; then :
58360   glibcxx_cv_func_strtof_use=yes
58361 else
58362   glibcxx_cv_func_strtof_use=no
58363 fi
58364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58365       ac_ext=c
58366 ac_cpp='$CPP $CPPFLAGS'
58367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58370
58371
58372 fi
58373
58374   fi
58375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58376 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58377   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58378     for ac_func in strtof
58379 do :
58380   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58381 if test "x$ac_cv_func_strtof" = x""yes; then :
58382   cat >>confdefs.h <<_ACEOF
58383 #define HAVE_STRTOF 1
58384 _ACEOF
58385
58386 fi
58387 done
58388
58389   fi
58390
58391
58392
58393
58394   CXXFLAGS="$ac_save_CXXFLAGS"
58395
58396     ;;
58397   *-netbsd*)
58398     SECTION_FLAGS='-ffunction-sections -fdata-sections'
58399
58400
58401   # If we're not using GNU ld, then there's no point in even trying these
58402   # tests.  Check for that first.  We should have already tested for gld
58403   # by now (in libtool), but require it now just to be safe...
58404   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58405   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58406
58407
58408
58409   # The name set by libtool depends on the version of libtool.  Shame on us
58410   # for depending on an impl detail, but c'est la vie.  Older versions used
58411   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58412   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58413   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58414   # set (hence we're using an older libtool), then set it.
58415   if test x${with_gnu_ld+set} != xset; then
58416     if test x${ac_cv_prog_gnu_ld+set} != xset; then
58417       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58418       with_gnu_ld=no
58419     else
58420       with_gnu_ld=$ac_cv_prog_gnu_ld
58421     fi
58422   fi
58423
58424   # Start by getting the version number.  I think the libtool test already
58425   # does some of this, but throws away the result.
58426   glibcxx_ld_is_gold=no
58427   if test x"$with_gnu_ld" = x"yes"; then
58428     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58429 $as_echo_n "checking for ld version... " >&6; }
58430
58431     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58432       glibcxx_ld_is_gold=yes
58433     fi
58434     ldver=`$LD --version 2>/dev/null |
58435            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'`
58436
58437     glibcxx_gnu_ld_version=`echo $ldver | \
58438            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58439     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58440 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58441   fi
58442
58443   # Set --gc-sections.
58444   glibcxx_have_gc_sections=no
58445   if test "$glibcxx_ld_is_gold" = "yes"; then
58446     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58447       glibcxx_have_gc_sections=yes
58448     fi
58449   else
58450     glibcxx_gcsections_min_ld=21602
58451     if test x"$with_gnu_ld" = x"yes" &&
58452         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58453       glibcxx_have_gc_sections=yes
58454     fi
58455   fi
58456   if test "$glibcxx_have_gc_sections" = "yes"; then
58457     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58458     # NB: This flag only works reliably after 2.16.1. Configure tests
58459     # for this are difficult, so hard wire a value that should work.
58460
58461     ac_test_CFLAGS="${CFLAGS+set}"
58462     ac_save_CFLAGS="$CFLAGS"
58463     CFLAGS='-Wl,--gc-sections'
58464
58465     # Check for -Wl,--gc-sections
58466     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58467 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58468     if test x$gcc_no_link = xyes; then
58469   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58470 fi
58471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58472 /* end confdefs.h.  */
58473  int one(void) { return 1; }
58474      int two(void) { return 2; }
58475
58476 int
58477 main ()
58478 {
58479  two();
58480   ;
58481   return 0;
58482 }
58483 _ACEOF
58484 if ac_fn_c_try_link "$LINENO"; then :
58485   ac_gcsections=yes
58486 else
58487   ac_gcsections=no
58488 fi
58489 rm -f core conftest.err conftest.$ac_objext \
58490     conftest$ac_exeext conftest.$ac_ext
58491     if test "$ac_gcsections" = "yes"; then
58492       rm -f conftest.c
58493       touch conftest.c
58494       if $CC -c conftest.c; then
58495         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58496            grep "Warning: gc-sections option ignored" > /dev/null; then
58497           ac_gcsections=no
58498         fi
58499       fi
58500       rm -f conftest.c conftest.o conftest
58501     fi
58502     if test "$ac_gcsections" = "yes"; then
58503       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58504     fi
58505     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58506 $as_echo "$ac_gcsections" >&6; }
58507
58508     if test "$ac_test_CFLAGS" = set; then
58509       CFLAGS="$ac_save_CFLAGS"
58510     else
58511       # this is the suspicious part
58512       CFLAGS=''
58513     fi
58514   fi
58515
58516   # Set -z,relro.
58517   # Note this is only for shared objects.
58518   ac_ld_relro=no
58519   if test x"$with_gnu_ld" = x"yes"; then
58520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58521 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58522     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58523     if test -n "$cxx_z_relo"; then
58524       OPT_LDFLAGS="-Wl,-z,relro"
58525       ac_ld_relro=yes
58526     fi
58527     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58528 $as_echo "$ac_ld_relro" >&6; }
58529   fi
58530
58531   # Set linker optimization flags.
58532   if test x"$with_gnu_ld" = x"yes"; then
58533     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58534   fi
58535
58536
58537
58538
58539     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58540
58541     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58542
58543     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58544
58545     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58546
58547     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58548
58549     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58550
58551     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58552
58553     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58554
58555     if test x"long_double_math_on_this_cpu" = x"yes"; then
58556       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58557
58558       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58559
58560       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58561
58562     fi
58563     ;;
58564   *-qnx6.1* | *-qnx6.2*)
58565     SECTION_FLAGS='-ffunction-sections -fdata-sections'
58566
58567
58568   # If we're not using GNU ld, then there's no point in even trying these
58569   # tests.  Check for that first.  We should have already tested for gld
58570   # by now (in libtool), but require it now just to be safe...
58571   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58572   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58573
58574
58575
58576   # The name set by libtool depends on the version of libtool.  Shame on us
58577   # for depending on an impl detail, but c'est la vie.  Older versions used
58578   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58579   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58580   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58581   # set (hence we're using an older libtool), then set it.
58582   if test x${with_gnu_ld+set} != xset; then
58583     if test x${ac_cv_prog_gnu_ld+set} != xset; then
58584       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58585       with_gnu_ld=no
58586     else
58587       with_gnu_ld=$ac_cv_prog_gnu_ld
58588     fi
58589   fi
58590
58591   # Start by getting the version number.  I think the libtool test already
58592   # does some of this, but throws away the result.
58593   glibcxx_ld_is_gold=no
58594   if test x"$with_gnu_ld" = x"yes"; then
58595     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58596 $as_echo_n "checking for ld version... " >&6; }
58597
58598     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58599       glibcxx_ld_is_gold=yes
58600     fi
58601     ldver=`$LD --version 2>/dev/null |
58602            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'`
58603
58604     glibcxx_gnu_ld_version=`echo $ldver | \
58605            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58606     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58607 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58608   fi
58609
58610   # Set --gc-sections.
58611   glibcxx_have_gc_sections=no
58612   if test "$glibcxx_ld_is_gold" = "yes"; then
58613     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58614       glibcxx_have_gc_sections=yes
58615     fi
58616   else
58617     glibcxx_gcsections_min_ld=21602
58618     if test x"$with_gnu_ld" = x"yes" &&
58619         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58620       glibcxx_have_gc_sections=yes
58621     fi
58622   fi
58623   if test "$glibcxx_have_gc_sections" = "yes"; then
58624     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58625     # NB: This flag only works reliably after 2.16.1. Configure tests
58626     # for this are difficult, so hard wire a value that should work.
58627
58628     ac_test_CFLAGS="${CFLAGS+set}"
58629     ac_save_CFLAGS="$CFLAGS"
58630     CFLAGS='-Wl,--gc-sections'
58631
58632     # Check for -Wl,--gc-sections
58633     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58634 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58635     if test x$gcc_no_link = xyes; then
58636   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58637 fi
58638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58639 /* end confdefs.h.  */
58640  int one(void) { return 1; }
58641      int two(void) { return 2; }
58642
58643 int
58644 main ()
58645 {
58646  two();
58647   ;
58648   return 0;
58649 }
58650 _ACEOF
58651 if ac_fn_c_try_link "$LINENO"; then :
58652   ac_gcsections=yes
58653 else
58654   ac_gcsections=no
58655 fi
58656 rm -f core conftest.err conftest.$ac_objext \
58657     conftest$ac_exeext conftest.$ac_ext
58658     if test "$ac_gcsections" = "yes"; then
58659       rm -f conftest.c
58660       touch conftest.c
58661       if $CC -c conftest.c; then
58662         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58663            grep "Warning: gc-sections option ignored" > /dev/null; then
58664           ac_gcsections=no
58665         fi
58666       fi
58667       rm -f conftest.c conftest.o conftest
58668     fi
58669     if test "$ac_gcsections" = "yes"; then
58670       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58671     fi
58672     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58673 $as_echo "$ac_gcsections" >&6; }
58674
58675     if test "$ac_test_CFLAGS" = set; then
58676       CFLAGS="$ac_save_CFLAGS"
58677     else
58678       # this is the suspicious part
58679       CFLAGS=''
58680     fi
58681   fi
58682
58683   # Set -z,relro.
58684   # Note this is only for shared objects.
58685   ac_ld_relro=no
58686   if test x"$with_gnu_ld" = x"yes"; then
58687     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58688 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58689     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58690     if test -n "$cxx_z_relo"; then
58691       OPT_LDFLAGS="-Wl,-z,relro"
58692       ac_ld_relro=yes
58693     fi
58694     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58695 $as_echo "$ac_ld_relro" >&6; }
58696   fi
58697
58698   # Set linker optimization flags.
58699   if test x"$with_gnu_ld" = x"yes"; then
58700     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58701   fi
58702
58703
58704
58705
58706     $as_echo "#define HAVE_COSF 1" >>confdefs.h
58707
58708     $as_echo "#define HAVE_COSL 1" >>confdefs.h
58709
58710     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58711
58712     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58713
58714     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58715
58716     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58717
58718     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58719
58720     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58721
58722     $as_echo "#define HAVE_SINF 1" >>confdefs.h
58723
58724     $as_echo "#define HAVE_SINL 1" >>confdefs.h
58725
58726     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58727
58728     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58729
58730     ;;
58731   *-rtems*)
58732
58733   # All these tests are for C++; save the language and the compiler flags.
58734   # The CXXFLAGS thing is suspicious, but based on similar bits previously
58735   # found in GLIBCXX_CONFIGURE.
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   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58744   ac_save_CXXFLAGS="$CXXFLAGS"
58745
58746   # Check for maintainer-mode bits.
58747   if test x"$USE_MAINTAINER_MODE" = xno; then
58748     WERROR=''
58749   else
58750     WERROR='-Werror'
58751   fi
58752
58753   # Check for -ffunction-sections -fdata-sections
58754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58755 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58756   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58758 /* end confdefs.h.  */
58759 int foo; void bar() { };
58760 int
58761 main ()
58762 {
58763
58764   ;
58765   return 0;
58766 }
58767 _ACEOF
58768 if ac_fn_cxx_try_compile "$LINENO"; then :
58769   ac_fdsections=yes
58770 else
58771   ac_fdsections=no
58772 fi
58773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58774   if test "$ac_test_CXXFLAGS" = set; then
58775     CXXFLAGS="$ac_save_CXXFLAGS"
58776   else
58777     # this is the suspicious part
58778     CXXFLAGS=''
58779   fi
58780   if test x"$ac_fdsections" = x"yes"; then
58781     SECTION_FLAGS='-ffunction-sections -fdata-sections'
58782   fi
58783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58784 $as_echo "$ac_fdsections" >&6; }
58785
58786   ac_ext=c
58787 ac_cpp='$CPP $CPPFLAGS'
58788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58791
58792
58793
58794
58795
58796   # If we're not using GNU ld, then there's no point in even trying these
58797   # tests.  Check for that first.  We should have already tested for gld
58798   # by now (in libtool), but require it now just to be safe...
58799   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58800   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58801
58802
58803
58804   # The name set by libtool depends on the version of libtool.  Shame on us
58805   # for depending on an impl detail, but c'est la vie.  Older versions used
58806   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58807   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58808   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58809   # set (hence we're using an older libtool), then set it.
58810   if test x${with_gnu_ld+set} != xset; then
58811     if test x${ac_cv_prog_gnu_ld+set} != xset; then
58812       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58813       with_gnu_ld=no
58814     else
58815       with_gnu_ld=$ac_cv_prog_gnu_ld
58816     fi
58817   fi
58818
58819   # Start by getting the version number.  I think the libtool test already
58820   # does some of this, but throws away the result.
58821   glibcxx_ld_is_gold=no
58822   if test x"$with_gnu_ld" = x"yes"; then
58823     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58824 $as_echo_n "checking for ld version... " >&6; }
58825
58826     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58827       glibcxx_ld_is_gold=yes
58828     fi
58829     ldver=`$LD --version 2>/dev/null |
58830            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'`
58831
58832     glibcxx_gnu_ld_version=`echo $ldver | \
58833            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58834     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58835 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58836   fi
58837
58838   # Set --gc-sections.
58839   glibcxx_have_gc_sections=no
58840   if test "$glibcxx_ld_is_gold" = "yes"; then
58841     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58842       glibcxx_have_gc_sections=yes
58843     fi
58844   else
58845     glibcxx_gcsections_min_ld=21602
58846     if test x"$with_gnu_ld" = x"yes" &&
58847         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58848       glibcxx_have_gc_sections=yes
58849     fi
58850   fi
58851   if test "$glibcxx_have_gc_sections" = "yes"; then
58852     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58853     # NB: This flag only works reliably after 2.16.1. Configure tests
58854     # for this are difficult, so hard wire a value that should work.
58855
58856     ac_test_CFLAGS="${CFLAGS+set}"
58857     ac_save_CFLAGS="$CFLAGS"
58858     CFLAGS='-Wl,--gc-sections'
58859
58860     # Check for -Wl,--gc-sections
58861     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58862 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58863     if test x$gcc_no_link = xyes; then
58864   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58865 fi
58866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58867 /* end confdefs.h.  */
58868  int one(void) { return 1; }
58869      int two(void) { return 2; }
58870
58871 int
58872 main ()
58873 {
58874  two();
58875   ;
58876   return 0;
58877 }
58878 _ACEOF
58879 if ac_fn_c_try_link "$LINENO"; then :
58880   ac_gcsections=yes
58881 else
58882   ac_gcsections=no
58883 fi
58884 rm -f core conftest.err conftest.$ac_objext \
58885     conftest$ac_exeext conftest.$ac_ext
58886     if test "$ac_gcsections" = "yes"; then
58887       rm -f conftest.c
58888       touch conftest.c
58889       if $CC -c conftest.c; then
58890         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58891            grep "Warning: gc-sections option ignored" > /dev/null; then
58892           ac_gcsections=no
58893         fi
58894       fi
58895       rm -f conftest.c conftest.o conftest
58896     fi
58897     if test "$ac_gcsections" = "yes"; then
58898       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58899     fi
58900     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58901 $as_echo "$ac_gcsections" >&6; }
58902
58903     if test "$ac_test_CFLAGS" = set; then
58904       CFLAGS="$ac_save_CFLAGS"
58905     else
58906       # this is the suspicious part
58907       CFLAGS=''
58908     fi
58909   fi
58910
58911   # Set -z,relro.
58912   # Note this is only for shared objects.
58913   ac_ld_relro=no
58914   if test x"$with_gnu_ld" = x"yes"; then
58915     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58916 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58917     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58918     if test -n "$cxx_z_relo"; then
58919       OPT_LDFLAGS="-Wl,-z,relro"
58920       ac_ld_relro=yes
58921     fi
58922     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58923 $as_echo "$ac_ld_relro" >&6; }
58924   fi
58925
58926   # Set linker optimization flags.
58927   if test x"$with_gnu_ld" = x"yes"; then
58928     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58929   fi
58930
58931
58932
58933
58934
58935   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58936   ac_save_CXXFLAGS="$CXXFLAGS"
58937   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58938
58939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58940 $as_echo_n "checking for sin in -lm... " >&6; }
58941 if test "${ac_cv_lib_m_sin+set}" = set; then :
58942   $as_echo_n "(cached) " >&6
58943 else
58944   ac_check_lib_save_LIBS=$LIBS
58945 LIBS="-lm  $LIBS"
58946 if test x$gcc_no_link = xyes; then
58947   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58948 fi
58949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58950 /* end confdefs.h.  */
58951
58952 /* Override any GCC internal prototype to avoid an error.
58953    Use char because int might match the return type of a GCC
58954    builtin and then its argument prototype would still apply.  */
58955 #ifdef __cplusplus
58956 extern "C"
58957 #endif
58958 char sin ();
58959 int
58960 main ()
58961 {
58962 return sin ();
58963   ;
58964   return 0;
58965 }
58966 _ACEOF
58967 if ac_fn_c_try_link "$LINENO"; then :
58968   ac_cv_lib_m_sin=yes
58969 else
58970   ac_cv_lib_m_sin=no
58971 fi
58972 rm -f core conftest.err conftest.$ac_objext \
58973     conftest$ac_exeext conftest.$ac_ext
58974 LIBS=$ac_check_lib_save_LIBS
58975 fi
58976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58977 $as_echo "$ac_cv_lib_m_sin" >&6; }
58978 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58979   libm="-lm"
58980 fi
58981
58982   ac_save_LIBS="$LIBS"
58983   LIBS="$LIBS $libm"
58984
58985
58986
58987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58988 $as_echo_n "checking for isinf declaration... " >&6; }
58989   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58990     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58991   $as_echo_n "(cached) " >&6
58992 else
58993
58994
58995       ac_ext=cpp
58996 ac_cpp='$CXXCPP $CPPFLAGS'
58997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59000
59001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59002 /* end confdefs.h.  */
59003 #include <math.h>
59004                       #ifdef HAVE_IEEEFP_H
59005                       #include <ieeefp.h>
59006                       #endif
59007
59008 int
59009 main ()
59010 {
59011  isinf(0);
59012   ;
59013   return 0;
59014 }
59015 _ACEOF
59016 if ac_fn_cxx_try_compile "$LINENO"; then :
59017   glibcxx_cv_func_isinf_use=yes
59018 else
59019   glibcxx_cv_func_isinf_use=no
59020 fi
59021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59022       ac_ext=c
59023 ac_cpp='$CPP $CPPFLAGS'
59024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59027
59028
59029 fi
59030
59031   fi
59032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59033 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59034
59035   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59036     for ac_func in isinf
59037 do :
59038   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59039 if test "x$ac_cv_func_isinf" = x""yes; then :
59040   cat >>confdefs.h <<_ACEOF
59041 #define HAVE_ISINF 1
59042 _ACEOF
59043
59044 fi
59045 done
59046
59047   else
59048
59049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59050 $as_echo_n "checking for _isinf declaration... " >&6; }
59051   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59052     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59053   $as_echo_n "(cached) " >&6
59054 else
59055
59056
59057       ac_ext=cpp
59058 ac_cpp='$CXXCPP $CPPFLAGS'
59059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59062
59063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59064 /* end confdefs.h.  */
59065 #include <math.h>
59066                       #ifdef HAVE_IEEEFP_H
59067                       #include <ieeefp.h>
59068                       #endif
59069
59070 int
59071 main ()
59072 {
59073  _isinf(0);
59074   ;
59075   return 0;
59076 }
59077 _ACEOF
59078 if ac_fn_cxx_try_compile "$LINENO"; then :
59079   glibcxx_cv_func__isinf_use=yes
59080 else
59081   glibcxx_cv_func__isinf_use=no
59082 fi
59083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59084       ac_ext=c
59085 ac_cpp='$CPP $CPPFLAGS'
59086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59089
59090
59091 fi
59092
59093   fi
59094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59095 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59096
59097     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59098       for ac_func in _isinf
59099 do :
59100   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59101 if test "x$ac_cv_func__isinf" = x""yes; then :
59102   cat >>confdefs.h <<_ACEOF
59103 #define HAVE__ISINF 1
59104 _ACEOF
59105
59106 fi
59107 done
59108
59109     fi
59110   fi
59111
59112
59113
59114
59115
59116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59117 $as_echo_n "checking for isnan declaration... " >&6; }
59118   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59119     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59120   $as_echo_n "(cached) " >&6
59121 else
59122
59123
59124       ac_ext=cpp
59125 ac_cpp='$CXXCPP $CPPFLAGS'
59126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59129
59130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59131 /* end confdefs.h.  */
59132 #include <math.h>
59133                       #ifdef HAVE_IEEEFP_H
59134                       #include <ieeefp.h>
59135                       #endif
59136
59137 int
59138 main ()
59139 {
59140  isnan(0);
59141   ;
59142   return 0;
59143 }
59144 _ACEOF
59145 if ac_fn_cxx_try_compile "$LINENO"; then :
59146   glibcxx_cv_func_isnan_use=yes
59147 else
59148   glibcxx_cv_func_isnan_use=no
59149 fi
59150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59151       ac_ext=c
59152 ac_cpp='$CPP $CPPFLAGS'
59153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59156
59157
59158 fi
59159
59160   fi
59161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59162 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59163
59164   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59165     for ac_func in isnan
59166 do :
59167   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59168 if test "x$ac_cv_func_isnan" = x""yes; then :
59169   cat >>confdefs.h <<_ACEOF
59170 #define HAVE_ISNAN 1
59171 _ACEOF
59172
59173 fi
59174 done
59175
59176   else
59177
59178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59179 $as_echo_n "checking for _isnan declaration... " >&6; }
59180   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59181     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59182   $as_echo_n "(cached) " >&6
59183 else
59184
59185
59186       ac_ext=cpp
59187 ac_cpp='$CXXCPP $CPPFLAGS'
59188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59191
59192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59193 /* end confdefs.h.  */
59194 #include <math.h>
59195                       #ifdef HAVE_IEEEFP_H
59196                       #include <ieeefp.h>
59197                       #endif
59198
59199 int
59200 main ()
59201 {
59202  _isnan(0);
59203   ;
59204   return 0;
59205 }
59206 _ACEOF
59207 if ac_fn_cxx_try_compile "$LINENO"; then :
59208   glibcxx_cv_func__isnan_use=yes
59209 else
59210   glibcxx_cv_func__isnan_use=no
59211 fi
59212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59213       ac_ext=c
59214 ac_cpp='$CPP $CPPFLAGS'
59215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59218
59219
59220 fi
59221
59222   fi
59223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59224 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59225
59226     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59227       for ac_func in _isnan
59228 do :
59229   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59230 if test "x$ac_cv_func__isnan" = x""yes; then :
59231   cat >>confdefs.h <<_ACEOF
59232 #define HAVE__ISNAN 1
59233 _ACEOF
59234
59235 fi
59236 done
59237
59238     fi
59239   fi
59240
59241
59242
59243
59244
59245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59246 $as_echo_n "checking for finite declaration... " >&6; }
59247   if test x${glibcxx_cv_func_finite_use+set} != xset; then
59248     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59249   $as_echo_n "(cached) " >&6
59250 else
59251
59252
59253       ac_ext=cpp
59254 ac_cpp='$CXXCPP $CPPFLAGS'
59255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59258
59259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59260 /* end confdefs.h.  */
59261 #include <math.h>
59262                       #ifdef HAVE_IEEEFP_H
59263                       #include <ieeefp.h>
59264                       #endif
59265
59266 int
59267 main ()
59268 {
59269  finite(0);
59270   ;
59271   return 0;
59272 }
59273 _ACEOF
59274 if ac_fn_cxx_try_compile "$LINENO"; then :
59275   glibcxx_cv_func_finite_use=yes
59276 else
59277   glibcxx_cv_func_finite_use=no
59278 fi
59279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59280       ac_ext=c
59281 ac_cpp='$CPP $CPPFLAGS'
59282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59285
59286
59287 fi
59288
59289   fi
59290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59291 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59292
59293   if test x$glibcxx_cv_func_finite_use = x"yes"; then
59294     for ac_func in finite
59295 do :
59296   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59297 if test "x$ac_cv_func_finite" = x""yes; then :
59298   cat >>confdefs.h <<_ACEOF
59299 #define HAVE_FINITE 1
59300 _ACEOF
59301
59302 fi
59303 done
59304
59305   else
59306
59307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59308 $as_echo_n "checking for _finite declaration... " >&6; }
59309   if test x${glibcxx_cv_func__finite_use+set} != xset; then
59310     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59311   $as_echo_n "(cached) " >&6
59312 else
59313
59314
59315       ac_ext=cpp
59316 ac_cpp='$CXXCPP $CPPFLAGS'
59317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59320
59321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59322 /* end confdefs.h.  */
59323 #include <math.h>
59324                       #ifdef HAVE_IEEEFP_H
59325                       #include <ieeefp.h>
59326                       #endif
59327
59328 int
59329 main ()
59330 {
59331  _finite(0);
59332   ;
59333   return 0;
59334 }
59335 _ACEOF
59336 if ac_fn_cxx_try_compile "$LINENO"; then :
59337   glibcxx_cv_func__finite_use=yes
59338 else
59339   glibcxx_cv_func__finite_use=no
59340 fi
59341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59342       ac_ext=c
59343 ac_cpp='$CPP $CPPFLAGS'
59344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59347
59348
59349 fi
59350
59351   fi
59352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59353 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59354
59355     if test x$glibcxx_cv_func__finite_use = x"yes"; then
59356       for ac_func in _finite
59357 do :
59358   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59359 if test "x$ac_cv_func__finite" = x""yes; then :
59360   cat >>confdefs.h <<_ACEOF
59361 #define HAVE__FINITE 1
59362 _ACEOF
59363
59364 fi
59365 done
59366
59367     fi
59368   fi
59369
59370
59371
59372
59373
59374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59375 $as_echo_n "checking for sincos declaration... " >&6; }
59376   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59377     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59378   $as_echo_n "(cached) " >&6
59379 else
59380
59381
59382       ac_ext=cpp
59383 ac_cpp='$CXXCPP $CPPFLAGS'
59384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59387
59388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59389 /* end confdefs.h.  */
59390 #include <math.h>
59391 int
59392 main ()
59393 {
59394  sincos(0, 0, 0);
59395   ;
59396   return 0;
59397 }
59398 _ACEOF
59399 if ac_fn_cxx_try_compile "$LINENO"; then :
59400   glibcxx_cv_func_sincos_use=yes
59401 else
59402   glibcxx_cv_func_sincos_use=no
59403 fi
59404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59405       ac_ext=c
59406 ac_cpp='$CPP $CPPFLAGS'
59407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59410
59411
59412 fi
59413
59414   fi
59415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59416 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59417
59418   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59419     for ac_func in sincos
59420 do :
59421   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59422 if test "x$ac_cv_func_sincos" = x""yes; then :
59423   cat >>confdefs.h <<_ACEOF
59424 #define HAVE_SINCOS 1
59425 _ACEOF
59426
59427 fi
59428 done
59429
59430   else
59431
59432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59433 $as_echo_n "checking for _sincos declaration... " >&6; }
59434   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59435     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59436   $as_echo_n "(cached) " >&6
59437 else
59438
59439
59440       ac_ext=cpp
59441 ac_cpp='$CXXCPP $CPPFLAGS'
59442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59445
59446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59447 /* end confdefs.h.  */
59448 #include <math.h>
59449 int
59450 main ()
59451 {
59452  _sincos(0, 0, 0);
59453   ;
59454   return 0;
59455 }
59456 _ACEOF
59457 if ac_fn_cxx_try_compile "$LINENO"; then :
59458   glibcxx_cv_func__sincos_use=yes
59459 else
59460   glibcxx_cv_func__sincos_use=no
59461 fi
59462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59463       ac_ext=c
59464 ac_cpp='$CPP $CPPFLAGS'
59465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59468
59469
59470 fi
59471
59472   fi
59473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59474 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59475
59476     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59477       for ac_func in _sincos
59478 do :
59479   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59480 if test "x$ac_cv_func__sincos" = x""yes; then :
59481   cat >>confdefs.h <<_ACEOF
59482 #define HAVE__SINCOS 1
59483 _ACEOF
59484
59485 fi
59486 done
59487
59488     fi
59489   fi
59490
59491
59492
59493
59494
59495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59496 $as_echo_n "checking for fpclass declaration... " >&6; }
59497   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59498     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59499   $as_echo_n "(cached) " >&6
59500 else
59501
59502
59503       ac_ext=cpp
59504 ac_cpp='$CXXCPP $CPPFLAGS'
59505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59508
59509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59510 /* end confdefs.h.  */
59511 #include <math.h>
59512                       #ifdef HAVE_IEEEFP_H
59513                       #include <ieeefp.h>
59514                       #endif
59515
59516 int
59517 main ()
59518 {
59519  fpclass(0);
59520   ;
59521   return 0;
59522 }
59523 _ACEOF
59524 if ac_fn_cxx_try_compile "$LINENO"; then :
59525   glibcxx_cv_func_fpclass_use=yes
59526 else
59527   glibcxx_cv_func_fpclass_use=no
59528 fi
59529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59530       ac_ext=c
59531 ac_cpp='$CPP $CPPFLAGS'
59532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59535
59536
59537 fi
59538
59539   fi
59540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59541 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59542
59543   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59544     for ac_func in fpclass
59545 do :
59546   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59547 if test "x$ac_cv_func_fpclass" = x""yes; then :
59548   cat >>confdefs.h <<_ACEOF
59549 #define HAVE_FPCLASS 1
59550 _ACEOF
59551
59552 fi
59553 done
59554
59555   else
59556
59557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59558 $as_echo_n "checking for _fpclass declaration... " >&6; }
59559   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59560     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59561   $as_echo_n "(cached) " >&6
59562 else
59563
59564
59565       ac_ext=cpp
59566 ac_cpp='$CXXCPP $CPPFLAGS'
59567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59570
59571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59572 /* end confdefs.h.  */
59573 #include <math.h>
59574                       #ifdef HAVE_IEEEFP_H
59575                       #include <ieeefp.h>
59576                       #endif
59577
59578 int
59579 main ()
59580 {
59581  _fpclass(0);
59582   ;
59583   return 0;
59584 }
59585 _ACEOF
59586 if ac_fn_cxx_try_compile "$LINENO"; then :
59587   glibcxx_cv_func__fpclass_use=yes
59588 else
59589   glibcxx_cv_func__fpclass_use=no
59590 fi
59591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59592       ac_ext=c
59593 ac_cpp='$CPP $CPPFLAGS'
59594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59597
59598
59599 fi
59600
59601   fi
59602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59603 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59604
59605     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59606       for ac_func in _fpclass
59607 do :
59608   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59609 if test "x$ac_cv_func__fpclass" = x""yes; then :
59610   cat >>confdefs.h <<_ACEOF
59611 #define HAVE__FPCLASS 1
59612 _ACEOF
59613
59614 fi
59615 done
59616
59617     fi
59618   fi
59619
59620
59621
59622
59623
59624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59625 $as_echo_n "checking for qfpclass declaration... " >&6; }
59626   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59627     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59628   $as_echo_n "(cached) " >&6
59629 else
59630
59631
59632       ac_ext=cpp
59633 ac_cpp='$CXXCPP $CPPFLAGS'
59634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59637
59638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59639 /* end confdefs.h.  */
59640 #include <math.h>
59641                       #ifdef HAVE_IEEEFP_H
59642                       #include <ieeefp.h>
59643                       #endif
59644
59645 int
59646 main ()
59647 {
59648  qfpclass(0);
59649   ;
59650   return 0;
59651 }
59652 _ACEOF
59653 if ac_fn_cxx_try_compile "$LINENO"; then :
59654   glibcxx_cv_func_qfpclass_use=yes
59655 else
59656   glibcxx_cv_func_qfpclass_use=no
59657 fi
59658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59659       ac_ext=c
59660 ac_cpp='$CPP $CPPFLAGS'
59661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59664
59665
59666 fi
59667
59668   fi
59669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59670 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59671
59672   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59673     for ac_func in qfpclass
59674 do :
59675   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59676 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59677   cat >>confdefs.h <<_ACEOF
59678 #define HAVE_QFPCLASS 1
59679 _ACEOF
59680
59681 fi
59682 done
59683
59684   else
59685
59686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59687 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59688   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59689     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59690   $as_echo_n "(cached) " >&6
59691 else
59692
59693
59694       ac_ext=cpp
59695 ac_cpp='$CXXCPP $CPPFLAGS'
59696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59699
59700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59701 /* end confdefs.h.  */
59702 #include <math.h>
59703                       #ifdef HAVE_IEEEFP_H
59704                       #include <ieeefp.h>
59705                       #endif
59706
59707 int
59708 main ()
59709 {
59710  _qfpclass(0);
59711   ;
59712   return 0;
59713 }
59714 _ACEOF
59715 if ac_fn_cxx_try_compile "$LINENO"; then :
59716   glibcxx_cv_func__qfpclass_use=yes
59717 else
59718   glibcxx_cv_func__qfpclass_use=no
59719 fi
59720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59721       ac_ext=c
59722 ac_cpp='$CPP $CPPFLAGS'
59723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59726
59727
59728 fi
59729
59730   fi
59731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59732 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59733
59734     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59735       for ac_func in _qfpclass
59736 do :
59737   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59738 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59739   cat >>confdefs.h <<_ACEOF
59740 #define HAVE__QFPCLASS 1
59741 _ACEOF
59742
59743 fi
59744 done
59745
59746     fi
59747   fi
59748
59749
59750
59751
59752
59753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59754 $as_echo_n "checking for hypot declaration... " >&6; }
59755   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59756     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59757   $as_echo_n "(cached) " >&6
59758 else
59759
59760
59761       ac_ext=cpp
59762 ac_cpp='$CXXCPP $CPPFLAGS'
59763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59766
59767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59768 /* end confdefs.h.  */
59769 #include <math.h>
59770 int
59771 main ()
59772 {
59773  hypot(0, 0);
59774   ;
59775   return 0;
59776 }
59777 _ACEOF
59778 if ac_fn_cxx_try_compile "$LINENO"; then :
59779   glibcxx_cv_func_hypot_use=yes
59780 else
59781   glibcxx_cv_func_hypot_use=no
59782 fi
59783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59784       ac_ext=c
59785 ac_cpp='$CPP $CPPFLAGS'
59786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59789
59790
59791 fi
59792
59793   fi
59794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59795 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59796
59797   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59798     for ac_func in hypot
59799 do :
59800   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59801 if test "x$ac_cv_func_hypot" = x""yes; then :
59802   cat >>confdefs.h <<_ACEOF
59803 #define HAVE_HYPOT 1
59804 _ACEOF
59805
59806 fi
59807 done
59808
59809   else
59810
59811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59812 $as_echo_n "checking for _hypot declaration... " >&6; }
59813   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59814     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59815   $as_echo_n "(cached) " >&6
59816 else
59817
59818
59819       ac_ext=cpp
59820 ac_cpp='$CXXCPP $CPPFLAGS'
59821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59824
59825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59826 /* end confdefs.h.  */
59827 #include <math.h>
59828 int
59829 main ()
59830 {
59831  _hypot(0, 0);
59832   ;
59833   return 0;
59834 }
59835 _ACEOF
59836 if ac_fn_cxx_try_compile "$LINENO"; then :
59837   glibcxx_cv_func__hypot_use=yes
59838 else
59839   glibcxx_cv_func__hypot_use=no
59840 fi
59841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59842       ac_ext=c
59843 ac_cpp='$CPP $CPPFLAGS'
59844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59847
59848
59849 fi
59850
59851   fi
59852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59853 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59854
59855     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59856       for ac_func in _hypot
59857 do :
59858   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59859 if test "x$ac_cv_func__hypot" = x""yes; then :
59860   cat >>confdefs.h <<_ACEOF
59861 #define HAVE__HYPOT 1
59862 _ACEOF
59863
59864 fi
59865 done
59866
59867     fi
59868   fi
59869
59870
59871
59872
59873
59874     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59875 $as_echo_n "checking for float trig functions... " >&6; }
59876   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59877   $as_echo_n "(cached) " >&6
59878 else
59879
59880
59881     ac_ext=cpp
59882 ac_cpp='$CXXCPP $CPPFLAGS'
59883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59886
59887     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59888 /* end confdefs.h.  */
59889 #include <math.h>
59890 int
59891 main ()
59892 {
59893 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59894   ;
59895   return 0;
59896 }
59897 _ACEOF
59898 if ac_fn_cxx_try_compile "$LINENO"; then :
59899   glibcxx_cv_func_float_trig_use=yes
59900 else
59901   glibcxx_cv_func_float_trig_use=no
59902 fi
59903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59904     ac_ext=c
59905 ac_cpp='$CPP $CPPFLAGS'
59906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59909
59910 fi
59911
59912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59913 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59914   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59915     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59916 do :
59917   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59919 eval as_val=\$$as_ac_var
59920    if test "x$as_val" = x""yes; then :
59921   cat >>confdefs.h <<_ACEOF
59922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59923 _ACEOF
59924
59925 fi
59926 done
59927
59928   else
59929     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59930 $as_echo_n "checking for _float trig functions... " >&6; }
59931     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59932   $as_echo_n "(cached) " >&6
59933 else
59934
59935
59936       ac_ext=cpp
59937 ac_cpp='$CXXCPP $CPPFLAGS'
59938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59941
59942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59943 /* end confdefs.h.  */
59944 #include <math.h>
59945 int
59946 main ()
59947 {
59948 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59949   ;
59950   return 0;
59951 }
59952 _ACEOF
59953 if ac_fn_cxx_try_compile "$LINENO"; then :
59954   glibcxx_cv_func__float_trig_use=yes
59955 else
59956   glibcxx_cv_func__float_trig_use=no
59957 fi
59958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59959       ac_ext=c
59960 ac_cpp='$CPP $CPPFLAGS'
59961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59964
59965 fi
59966
59967     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59968 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59969     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59970       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59971 do :
59972   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59974 eval as_val=\$$as_ac_var
59975    if test "x$as_val" = x""yes; then :
59976   cat >>confdefs.h <<_ACEOF
59977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59978 _ACEOF
59979
59980 fi
59981 done
59982
59983     fi
59984   fi
59985
59986
59987
59988
59989
59990     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59991 $as_echo_n "checking for float round functions... " >&6; }
59992   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59993   $as_echo_n "(cached) " >&6
59994 else
59995
59996
59997     ac_ext=cpp
59998 ac_cpp='$CXXCPP $CPPFLAGS'
59999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60002
60003     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60004 /* end confdefs.h.  */
60005 #include <math.h>
60006 int
60007 main ()
60008 {
60009 ceilf (0); floorf (0);
60010   ;
60011   return 0;
60012 }
60013 _ACEOF
60014 if ac_fn_cxx_try_compile "$LINENO"; then :
60015   glibcxx_cv_func_float_round_use=yes
60016 else
60017   glibcxx_cv_func_float_round_use=no
60018 fi
60019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60020     ac_ext=c
60021 ac_cpp='$CPP $CPPFLAGS'
60022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60025
60026 fi
60027
60028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60029 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60030   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60031     for ac_func in ceilf floorf
60032 do :
60033   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60035 eval as_val=\$$as_ac_var
60036    if test "x$as_val" = x""yes; then :
60037   cat >>confdefs.h <<_ACEOF
60038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60039 _ACEOF
60040
60041 fi
60042 done
60043
60044   else
60045     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60046 $as_echo_n "checking for _float round functions... " >&6; }
60047     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60048   $as_echo_n "(cached) " >&6
60049 else
60050
60051
60052       ac_ext=cpp
60053 ac_cpp='$CXXCPP $CPPFLAGS'
60054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60057
60058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60059 /* end confdefs.h.  */
60060 #include <math.h>
60061 int
60062 main ()
60063 {
60064 _ceilf (0); _floorf (0);
60065   ;
60066   return 0;
60067 }
60068 _ACEOF
60069 if ac_fn_cxx_try_compile "$LINENO"; then :
60070   glibcxx_cv_func__float_round_use=yes
60071 else
60072   glibcxx_cv_func__float_round_use=no
60073 fi
60074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60075       ac_ext=c
60076 ac_cpp='$CPP $CPPFLAGS'
60077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60080
60081 fi
60082
60083     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60084 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60085     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60086       for ac_func in _ceilf _floorf
60087 do :
60088   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60090 eval as_val=\$$as_ac_var
60091    if test "x$as_val" = x""yes; then :
60092   cat >>confdefs.h <<_ACEOF
60093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60094 _ACEOF
60095
60096 fi
60097 done
60098
60099     fi
60100   fi
60101
60102
60103
60104
60105
60106
60107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60108 $as_echo_n "checking for expf declaration... " >&6; }
60109   if test x${glibcxx_cv_func_expf_use+set} != xset; then
60110     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60111   $as_echo_n "(cached) " >&6
60112 else
60113
60114
60115       ac_ext=cpp
60116 ac_cpp='$CXXCPP $CPPFLAGS'
60117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60120
60121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60122 /* end confdefs.h.  */
60123 #include <math.h>
60124                       #ifdef HAVE_IEEEFP_H
60125                       #include <ieeefp.h>
60126                       #endif
60127
60128 int
60129 main ()
60130 {
60131  expf(0);
60132   ;
60133   return 0;
60134 }
60135 _ACEOF
60136 if ac_fn_cxx_try_compile "$LINENO"; then :
60137   glibcxx_cv_func_expf_use=yes
60138 else
60139   glibcxx_cv_func_expf_use=no
60140 fi
60141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60142       ac_ext=c
60143 ac_cpp='$CPP $CPPFLAGS'
60144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60147
60148
60149 fi
60150
60151   fi
60152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60153 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60154
60155   if test x$glibcxx_cv_func_expf_use = x"yes"; then
60156     for ac_func in expf
60157 do :
60158   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60159 if test "x$ac_cv_func_expf" = x""yes; then :
60160   cat >>confdefs.h <<_ACEOF
60161 #define HAVE_EXPF 1
60162 _ACEOF
60163
60164 fi
60165 done
60166
60167   else
60168
60169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60170 $as_echo_n "checking for _expf declaration... " >&6; }
60171   if test x${glibcxx_cv_func__expf_use+set} != xset; then
60172     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60173   $as_echo_n "(cached) " >&6
60174 else
60175
60176
60177       ac_ext=cpp
60178 ac_cpp='$CXXCPP $CPPFLAGS'
60179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60182
60183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60184 /* end confdefs.h.  */
60185 #include <math.h>
60186                       #ifdef HAVE_IEEEFP_H
60187                       #include <ieeefp.h>
60188                       #endif
60189
60190 int
60191 main ()
60192 {
60193  _expf(0);
60194   ;
60195   return 0;
60196 }
60197 _ACEOF
60198 if ac_fn_cxx_try_compile "$LINENO"; then :
60199   glibcxx_cv_func__expf_use=yes
60200 else
60201   glibcxx_cv_func__expf_use=no
60202 fi
60203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60204       ac_ext=c
60205 ac_cpp='$CPP $CPPFLAGS'
60206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60209
60210
60211 fi
60212
60213   fi
60214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60215 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60216
60217     if test x$glibcxx_cv_func__expf_use = x"yes"; then
60218       for ac_func in _expf
60219 do :
60220   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60221 if test "x$ac_cv_func__expf" = x""yes; then :
60222   cat >>confdefs.h <<_ACEOF
60223 #define HAVE__EXPF 1
60224 _ACEOF
60225
60226 fi
60227 done
60228
60229     fi
60230   fi
60231
60232
60233
60234
60235
60236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60237 $as_echo_n "checking for isnanf declaration... " >&6; }
60238   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60239     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60240   $as_echo_n "(cached) " >&6
60241 else
60242
60243
60244       ac_ext=cpp
60245 ac_cpp='$CXXCPP $CPPFLAGS'
60246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60249
60250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60251 /* end confdefs.h.  */
60252 #include <math.h>
60253                       #ifdef HAVE_IEEEFP_H
60254                       #include <ieeefp.h>
60255                       #endif
60256
60257 int
60258 main ()
60259 {
60260  isnanf(0);
60261   ;
60262   return 0;
60263 }
60264 _ACEOF
60265 if ac_fn_cxx_try_compile "$LINENO"; then :
60266   glibcxx_cv_func_isnanf_use=yes
60267 else
60268   glibcxx_cv_func_isnanf_use=no
60269 fi
60270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60271       ac_ext=c
60272 ac_cpp='$CPP $CPPFLAGS'
60273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60276
60277
60278 fi
60279
60280   fi
60281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60282 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60283
60284   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60285     for ac_func in isnanf
60286 do :
60287   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60288 if test "x$ac_cv_func_isnanf" = x""yes; then :
60289   cat >>confdefs.h <<_ACEOF
60290 #define HAVE_ISNANF 1
60291 _ACEOF
60292
60293 fi
60294 done
60295
60296   else
60297
60298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60299 $as_echo_n "checking for _isnanf declaration... " >&6; }
60300   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60301     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60302   $as_echo_n "(cached) " >&6
60303 else
60304
60305
60306       ac_ext=cpp
60307 ac_cpp='$CXXCPP $CPPFLAGS'
60308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60311
60312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60313 /* end confdefs.h.  */
60314 #include <math.h>
60315                       #ifdef HAVE_IEEEFP_H
60316                       #include <ieeefp.h>
60317                       #endif
60318
60319 int
60320 main ()
60321 {
60322  _isnanf(0);
60323   ;
60324   return 0;
60325 }
60326 _ACEOF
60327 if ac_fn_cxx_try_compile "$LINENO"; then :
60328   glibcxx_cv_func__isnanf_use=yes
60329 else
60330   glibcxx_cv_func__isnanf_use=no
60331 fi
60332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60333       ac_ext=c
60334 ac_cpp='$CPP $CPPFLAGS'
60335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60338
60339
60340 fi
60341
60342   fi
60343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60344 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60345
60346     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60347       for ac_func in _isnanf
60348 do :
60349   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60350 if test "x$ac_cv_func__isnanf" = x""yes; then :
60351   cat >>confdefs.h <<_ACEOF
60352 #define HAVE__ISNANF 1
60353 _ACEOF
60354
60355 fi
60356 done
60357
60358     fi
60359   fi
60360
60361
60362
60363
60364
60365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60366 $as_echo_n "checking for isinff declaration... " >&6; }
60367   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60368     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60369   $as_echo_n "(cached) " >&6
60370 else
60371
60372
60373       ac_ext=cpp
60374 ac_cpp='$CXXCPP $CPPFLAGS'
60375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60378
60379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60380 /* end confdefs.h.  */
60381 #include <math.h>
60382                       #ifdef HAVE_IEEEFP_H
60383                       #include <ieeefp.h>
60384                       #endif
60385
60386 int
60387 main ()
60388 {
60389  isinff(0);
60390   ;
60391   return 0;
60392 }
60393 _ACEOF
60394 if ac_fn_cxx_try_compile "$LINENO"; then :
60395   glibcxx_cv_func_isinff_use=yes
60396 else
60397   glibcxx_cv_func_isinff_use=no
60398 fi
60399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60400       ac_ext=c
60401 ac_cpp='$CPP $CPPFLAGS'
60402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60405
60406
60407 fi
60408
60409   fi
60410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60411 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60412
60413   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60414     for ac_func in isinff
60415 do :
60416   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60417 if test "x$ac_cv_func_isinff" = x""yes; then :
60418   cat >>confdefs.h <<_ACEOF
60419 #define HAVE_ISINFF 1
60420 _ACEOF
60421
60422 fi
60423 done
60424
60425   else
60426
60427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60428 $as_echo_n "checking for _isinff declaration... " >&6; }
60429   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60430     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60431   $as_echo_n "(cached) " >&6
60432 else
60433
60434
60435       ac_ext=cpp
60436 ac_cpp='$CXXCPP $CPPFLAGS'
60437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60440
60441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60442 /* end confdefs.h.  */
60443 #include <math.h>
60444                       #ifdef HAVE_IEEEFP_H
60445                       #include <ieeefp.h>
60446                       #endif
60447
60448 int
60449 main ()
60450 {
60451  _isinff(0);
60452   ;
60453   return 0;
60454 }
60455 _ACEOF
60456 if ac_fn_cxx_try_compile "$LINENO"; then :
60457   glibcxx_cv_func__isinff_use=yes
60458 else
60459   glibcxx_cv_func__isinff_use=no
60460 fi
60461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60462       ac_ext=c
60463 ac_cpp='$CPP $CPPFLAGS'
60464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60467
60468
60469 fi
60470
60471   fi
60472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60473 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60474
60475     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60476       for ac_func in _isinff
60477 do :
60478   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60479 if test "x$ac_cv_func__isinff" = x""yes; then :
60480   cat >>confdefs.h <<_ACEOF
60481 #define HAVE__ISINFF 1
60482 _ACEOF
60483
60484 fi
60485 done
60486
60487     fi
60488   fi
60489
60490
60491
60492
60493
60494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60495 $as_echo_n "checking for atan2f declaration... " >&6; }
60496   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60497     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60498   $as_echo_n "(cached) " >&6
60499 else
60500
60501
60502       ac_ext=cpp
60503 ac_cpp='$CXXCPP $CPPFLAGS'
60504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60507
60508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60509 /* end confdefs.h.  */
60510 #include <math.h>
60511 int
60512 main ()
60513 {
60514  atan2f(0, 0);
60515   ;
60516   return 0;
60517 }
60518 _ACEOF
60519 if ac_fn_cxx_try_compile "$LINENO"; then :
60520   glibcxx_cv_func_atan2f_use=yes
60521 else
60522   glibcxx_cv_func_atan2f_use=no
60523 fi
60524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60525       ac_ext=c
60526 ac_cpp='$CPP $CPPFLAGS'
60527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60530
60531
60532 fi
60533
60534   fi
60535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60536 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60537
60538   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60539     for ac_func in atan2f
60540 do :
60541   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60542 if test "x$ac_cv_func_atan2f" = x""yes; then :
60543   cat >>confdefs.h <<_ACEOF
60544 #define HAVE_ATAN2F 1
60545 _ACEOF
60546
60547 fi
60548 done
60549
60550   else
60551
60552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60553 $as_echo_n "checking for _atan2f declaration... " >&6; }
60554   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60555     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60556   $as_echo_n "(cached) " >&6
60557 else
60558
60559
60560       ac_ext=cpp
60561 ac_cpp='$CXXCPP $CPPFLAGS'
60562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60565
60566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60567 /* end confdefs.h.  */
60568 #include <math.h>
60569 int
60570 main ()
60571 {
60572  _atan2f(0, 0);
60573   ;
60574   return 0;
60575 }
60576 _ACEOF
60577 if ac_fn_cxx_try_compile "$LINENO"; then :
60578   glibcxx_cv_func__atan2f_use=yes
60579 else
60580   glibcxx_cv_func__atan2f_use=no
60581 fi
60582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60583       ac_ext=c
60584 ac_cpp='$CPP $CPPFLAGS'
60585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60588
60589
60590 fi
60591
60592   fi
60593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60594 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60595
60596     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60597       for ac_func in _atan2f
60598 do :
60599   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60600 if test "x$ac_cv_func__atan2f" = x""yes; then :
60601   cat >>confdefs.h <<_ACEOF
60602 #define HAVE__ATAN2F 1
60603 _ACEOF
60604
60605 fi
60606 done
60607
60608     fi
60609   fi
60610
60611
60612
60613
60614
60615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60616 $as_echo_n "checking for fabsf declaration... " >&6; }
60617   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60618     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60619   $as_echo_n "(cached) " >&6
60620 else
60621
60622
60623       ac_ext=cpp
60624 ac_cpp='$CXXCPP $CPPFLAGS'
60625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60628
60629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60630 /* end confdefs.h.  */
60631 #include <math.h>
60632                       #ifdef HAVE_IEEEFP_H
60633                       #include <ieeefp.h>
60634                       #endif
60635
60636 int
60637 main ()
60638 {
60639  fabsf(0);
60640   ;
60641   return 0;
60642 }
60643 _ACEOF
60644 if ac_fn_cxx_try_compile "$LINENO"; then :
60645   glibcxx_cv_func_fabsf_use=yes
60646 else
60647   glibcxx_cv_func_fabsf_use=no
60648 fi
60649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60650       ac_ext=c
60651 ac_cpp='$CPP $CPPFLAGS'
60652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60655
60656
60657 fi
60658
60659   fi
60660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60661 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60662
60663   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60664     for ac_func in fabsf
60665 do :
60666   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60667 if test "x$ac_cv_func_fabsf" = x""yes; then :
60668   cat >>confdefs.h <<_ACEOF
60669 #define HAVE_FABSF 1
60670 _ACEOF
60671
60672 fi
60673 done
60674
60675   else
60676
60677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60678 $as_echo_n "checking for _fabsf declaration... " >&6; }
60679   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60680     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60681   $as_echo_n "(cached) " >&6
60682 else
60683
60684
60685       ac_ext=cpp
60686 ac_cpp='$CXXCPP $CPPFLAGS'
60687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60690
60691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60692 /* end confdefs.h.  */
60693 #include <math.h>
60694                       #ifdef HAVE_IEEEFP_H
60695                       #include <ieeefp.h>
60696                       #endif
60697
60698 int
60699 main ()
60700 {
60701  _fabsf(0);
60702   ;
60703   return 0;
60704 }
60705 _ACEOF
60706 if ac_fn_cxx_try_compile "$LINENO"; then :
60707   glibcxx_cv_func__fabsf_use=yes
60708 else
60709   glibcxx_cv_func__fabsf_use=no
60710 fi
60711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60712       ac_ext=c
60713 ac_cpp='$CPP $CPPFLAGS'
60714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60717
60718
60719 fi
60720
60721   fi
60722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60723 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60724
60725     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60726       for ac_func in _fabsf
60727 do :
60728   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60729 if test "x$ac_cv_func__fabsf" = x""yes; then :
60730   cat >>confdefs.h <<_ACEOF
60731 #define HAVE__FABSF 1
60732 _ACEOF
60733
60734 fi
60735 done
60736
60737     fi
60738   fi
60739
60740
60741
60742
60743
60744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60745 $as_echo_n "checking for fmodf declaration... " >&6; }
60746   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60747     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60748   $as_echo_n "(cached) " >&6
60749 else
60750
60751
60752       ac_ext=cpp
60753 ac_cpp='$CXXCPP $CPPFLAGS'
60754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60757
60758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60759 /* end confdefs.h.  */
60760 #include <math.h>
60761 int
60762 main ()
60763 {
60764  fmodf(0, 0);
60765   ;
60766   return 0;
60767 }
60768 _ACEOF
60769 if ac_fn_cxx_try_compile "$LINENO"; then :
60770   glibcxx_cv_func_fmodf_use=yes
60771 else
60772   glibcxx_cv_func_fmodf_use=no
60773 fi
60774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60775       ac_ext=c
60776 ac_cpp='$CPP $CPPFLAGS'
60777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60780
60781
60782 fi
60783
60784   fi
60785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60786 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60787
60788   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60789     for ac_func in fmodf
60790 do :
60791   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60792 if test "x$ac_cv_func_fmodf" = x""yes; then :
60793   cat >>confdefs.h <<_ACEOF
60794 #define HAVE_FMODF 1
60795 _ACEOF
60796
60797 fi
60798 done
60799
60800   else
60801
60802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60803 $as_echo_n "checking for _fmodf declaration... " >&6; }
60804   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60805     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60806   $as_echo_n "(cached) " >&6
60807 else
60808
60809
60810       ac_ext=cpp
60811 ac_cpp='$CXXCPP $CPPFLAGS'
60812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60815
60816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60817 /* end confdefs.h.  */
60818 #include <math.h>
60819 int
60820 main ()
60821 {
60822  _fmodf(0, 0);
60823   ;
60824   return 0;
60825 }
60826 _ACEOF
60827 if ac_fn_cxx_try_compile "$LINENO"; then :
60828   glibcxx_cv_func__fmodf_use=yes
60829 else
60830   glibcxx_cv_func__fmodf_use=no
60831 fi
60832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60833       ac_ext=c
60834 ac_cpp='$CPP $CPPFLAGS'
60835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60838
60839
60840 fi
60841
60842   fi
60843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60844 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60845
60846     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60847       for ac_func in _fmodf
60848 do :
60849   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60850 if test "x$ac_cv_func__fmodf" = x""yes; then :
60851   cat >>confdefs.h <<_ACEOF
60852 #define HAVE__FMODF 1
60853 _ACEOF
60854
60855 fi
60856 done
60857
60858     fi
60859   fi
60860
60861
60862
60863
60864
60865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60866 $as_echo_n "checking for frexpf declaration... " >&6; }
60867   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60868     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60869   $as_echo_n "(cached) " >&6
60870 else
60871
60872
60873       ac_ext=cpp
60874 ac_cpp='$CXXCPP $CPPFLAGS'
60875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60878
60879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60880 /* end confdefs.h.  */
60881 #include <math.h>
60882 int
60883 main ()
60884 {
60885  frexpf(0, 0);
60886   ;
60887   return 0;
60888 }
60889 _ACEOF
60890 if ac_fn_cxx_try_compile "$LINENO"; then :
60891   glibcxx_cv_func_frexpf_use=yes
60892 else
60893   glibcxx_cv_func_frexpf_use=no
60894 fi
60895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60896       ac_ext=c
60897 ac_cpp='$CPP $CPPFLAGS'
60898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60901
60902
60903 fi
60904
60905   fi
60906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60907 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60908
60909   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60910     for ac_func in frexpf
60911 do :
60912   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60913 if test "x$ac_cv_func_frexpf" = x""yes; then :
60914   cat >>confdefs.h <<_ACEOF
60915 #define HAVE_FREXPF 1
60916 _ACEOF
60917
60918 fi
60919 done
60920
60921   else
60922
60923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60924 $as_echo_n "checking for _frexpf declaration... " >&6; }
60925   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60926     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60927   $as_echo_n "(cached) " >&6
60928 else
60929
60930
60931       ac_ext=cpp
60932 ac_cpp='$CXXCPP $CPPFLAGS'
60933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60936
60937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60938 /* end confdefs.h.  */
60939 #include <math.h>
60940 int
60941 main ()
60942 {
60943  _frexpf(0, 0);
60944   ;
60945   return 0;
60946 }
60947 _ACEOF
60948 if ac_fn_cxx_try_compile "$LINENO"; then :
60949   glibcxx_cv_func__frexpf_use=yes
60950 else
60951   glibcxx_cv_func__frexpf_use=no
60952 fi
60953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60954       ac_ext=c
60955 ac_cpp='$CPP $CPPFLAGS'
60956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60959
60960
60961 fi
60962
60963   fi
60964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60965 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60966
60967     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60968       for ac_func in _frexpf
60969 do :
60970   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60971 if test "x$ac_cv_func__frexpf" = x""yes; then :
60972   cat >>confdefs.h <<_ACEOF
60973 #define HAVE__FREXPF 1
60974 _ACEOF
60975
60976 fi
60977 done
60978
60979     fi
60980   fi
60981
60982
60983
60984
60985
60986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60987 $as_echo_n "checking for hypotf declaration... " >&6; }
60988   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60989     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60990   $as_echo_n "(cached) " >&6
60991 else
60992
60993
60994       ac_ext=cpp
60995 ac_cpp='$CXXCPP $CPPFLAGS'
60996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60999
61000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61001 /* end confdefs.h.  */
61002 #include <math.h>
61003 int
61004 main ()
61005 {
61006  hypotf(0, 0);
61007   ;
61008   return 0;
61009 }
61010 _ACEOF
61011 if ac_fn_cxx_try_compile "$LINENO"; then :
61012   glibcxx_cv_func_hypotf_use=yes
61013 else
61014   glibcxx_cv_func_hypotf_use=no
61015 fi
61016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61017       ac_ext=c
61018 ac_cpp='$CPP $CPPFLAGS'
61019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61022
61023
61024 fi
61025
61026   fi
61027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61028 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61029
61030   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61031     for ac_func in hypotf
61032 do :
61033   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61034 if test "x$ac_cv_func_hypotf" = x""yes; then :
61035   cat >>confdefs.h <<_ACEOF
61036 #define HAVE_HYPOTF 1
61037 _ACEOF
61038
61039 fi
61040 done
61041
61042   else
61043
61044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61045 $as_echo_n "checking for _hypotf declaration... " >&6; }
61046   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61047     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61048   $as_echo_n "(cached) " >&6
61049 else
61050
61051
61052       ac_ext=cpp
61053 ac_cpp='$CXXCPP $CPPFLAGS'
61054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61057
61058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61059 /* end confdefs.h.  */
61060 #include <math.h>
61061 int
61062 main ()
61063 {
61064  _hypotf(0, 0);
61065   ;
61066   return 0;
61067 }
61068 _ACEOF
61069 if ac_fn_cxx_try_compile "$LINENO"; then :
61070   glibcxx_cv_func__hypotf_use=yes
61071 else
61072   glibcxx_cv_func__hypotf_use=no
61073 fi
61074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61075       ac_ext=c
61076 ac_cpp='$CPP $CPPFLAGS'
61077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61080
61081
61082 fi
61083
61084   fi
61085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61086 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61087
61088     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61089       for ac_func in _hypotf
61090 do :
61091   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61092 if test "x$ac_cv_func__hypotf" = x""yes; then :
61093   cat >>confdefs.h <<_ACEOF
61094 #define HAVE__HYPOTF 1
61095 _ACEOF
61096
61097 fi
61098 done
61099
61100     fi
61101   fi
61102
61103
61104
61105
61106
61107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61108 $as_echo_n "checking for ldexpf declaration... " >&6; }
61109   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61110     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61111   $as_echo_n "(cached) " >&6
61112 else
61113
61114
61115       ac_ext=cpp
61116 ac_cpp='$CXXCPP $CPPFLAGS'
61117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61120
61121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61122 /* end confdefs.h.  */
61123 #include <math.h>
61124 int
61125 main ()
61126 {
61127  ldexpf(0, 0);
61128   ;
61129   return 0;
61130 }
61131 _ACEOF
61132 if ac_fn_cxx_try_compile "$LINENO"; then :
61133   glibcxx_cv_func_ldexpf_use=yes
61134 else
61135   glibcxx_cv_func_ldexpf_use=no
61136 fi
61137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61138       ac_ext=c
61139 ac_cpp='$CPP $CPPFLAGS'
61140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61143
61144
61145 fi
61146
61147   fi
61148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61149 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61150
61151   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61152     for ac_func in ldexpf
61153 do :
61154   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61155 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61156   cat >>confdefs.h <<_ACEOF
61157 #define HAVE_LDEXPF 1
61158 _ACEOF
61159
61160 fi
61161 done
61162
61163   else
61164
61165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61166 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61167   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61168     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61169   $as_echo_n "(cached) " >&6
61170 else
61171
61172
61173       ac_ext=cpp
61174 ac_cpp='$CXXCPP $CPPFLAGS'
61175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61178
61179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61180 /* end confdefs.h.  */
61181 #include <math.h>
61182 int
61183 main ()
61184 {
61185  _ldexpf(0, 0);
61186   ;
61187   return 0;
61188 }
61189 _ACEOF
61190 if ac_fn_cxx_try_compile "$LINENO"; then :
61191   glibcxx_cv_func__ldexpf_use=yes
61192 else
61193   glibcxx_cv_func__ldexpf_use=no
61194 fi
61195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61196       ac_ext=c
61197 ac_cpp='$CPP $CPPFLAGS'
61198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61201
61202
61203 fi
61204
61205   fi
61206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61207 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61208
61209     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61210       for ac_func in _ldexpf
61211 do :
61212   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61213 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61214   cat >>confdefs.h <<_ACEOF
61215 #define HAVE__LDEXPF 1
61216 _ACEOF
61217
61218 fi
61219 done
61220
61221     fi
61222   fi
61223
61224
61225
61226
61227
61228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61229 $as_echo_n "checking for logf declaration... " >&6; }
61230   if test x${glibcxx_cv_func_logf_use+set} != xset; then
61231     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61232   $as_echo_n "(cached) " >&6
61233 else
61234
61235
61236       ac_ext=cpp
61237 ac_cpp='$CXXCPP $CPPFLAGS'
61238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61241
61242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61243 /* end confdefs.h.  */
61244 #include <math.h>
61245                       #ifdef HAVE_IEEEFP_H
61246                       #include <ieeefp.h>
61247                       #endif
61248
61249 int
61250 main ()
61251 {
61252  logf(0);
61253   ;
61254   return 0;
61255 }
61256 _ACEOF
61257 if ac_fn_cxx_try_compile "$LINENO"; then :
61258   glibcxx_cv_func_logf_use=yes
61259 else
61260   glibcxx_cv_func_logf_use=no
61261 fi
61262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61263       ac_ext=c
61264 ac_cpp='$CPP $CPPFLAGS'
61265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61268
61269
61270 fi
61271
61272   fi
61273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61274 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61275
61276   if test x$glibcxx_cv_func_logf_use = x"yes"; then
61277     for ac_func in logf
61278 do :
61279   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61280 if test "x$ac_cv_func_logf" = x""yes; then :
61281   cat >>confdefs.h <<_ACEOF
61282 #define HAVE_LOGF 1
61283 _ACEOF
61284
61285 fi
61286 done
61287
61288   else
61289
61290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61291 $as_echo_n "checking for _logf declaration... " >&6; }
61292   if test x${glibcxx_cv_func__logf_use+set} != xset; then
61293     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61294   $as_echo_n "(cached) " >&6
61295 else
61296
61297
61298       ac_ext=cpp
61299 ac_cpp='$CXXCPP $CPPFLAGS'
61300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61303
61304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61305 /* end confdefs.h.  */
61306 #include <math.h>
61307                       #ifdef HAVE_IEEEFP_H
61308                       #include <ieeefp.h>
61309                       #endif
61310
61311 int
61312 main ()
61313 {
61314  _logf(0);
61315   ;
61316   return 0;
61317 }
61318 _ACEOF
61319 if ac_fn_cxx_try_compile "$LINENO"; then :
61320   glibcxx_cv_func__logf_use=yes
61321 else
61322   glibcxx_cv_func__logf_use=no
61323 fi
61324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61325       ac_ext=c
61326 ac_cpp='$CPP $CPPFLAGS'
61327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61330
61331
61332 fi
61333
61334   fi
61335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61336 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61337
61338     if test x$glibcxx_cv_func__logf_use = x"yes"; then
61339       for ac_func in _logf
61340 do :
61341   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61342 if test "x$ac_cv_func__logf" = x""yes; then :
61343   cat >>confdefs.h <<_ACEOF
61344 #define HAVE__LOGF 1
61345 _ACEOF
61346
61347 fi
61348 done
61349
61350     fi
61351   fi
61352
61353
61354
61355
61356
61357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61358 $as_echo_n "checking for log10f declaration... " >&6; }
61359   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61360     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61361   $as_echo_n "(cached) " >&6
61362 else
61363
61364
61365       ac_ext=cpp
61366 ac_cpp='$CXXCPP $CPPFLAGS'
61367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61370
61371       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61372 /* end confdefs.h.  */
61373 #include <math.h>
61374                       #ifdef HAVE_IEEEFP_H
61375                       #include <ieeefp.h>
61376                       #endif
61377
61378 int
61379 main ()
61380 {
61381  log10f(0);
61382   ;
61383   return 0;
61384 }
61385 _ACEOF
61386 if ac_fn_cxx_try_compile "$LINENO"; then :
61387   glibcxx_cv_func_log10f_use=yes
61388 else
61389   glibcxx_cv_func_log10f_use=no
61390 fi
61391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61392       ac_ext=c
61393 ac_cpp='$CPP $CPPFLAGS'
61394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61397
61398
61399 fi
61400
61401   fi
61402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61403 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61404
61405   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61406     for ac_func in log10f
61407 do :
61408   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61409 if test "x$ac_cv_func_log10f" = x""yes; then :
61410   cat >>confdefs.h <<_ACEOF
61411 #define HAVE_LOG10F 1
61412 _ACEOF
61413
61414 fi
61415 done
61416
61417   else
61418
61419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61420 $as_echo_n "checking for _log10f declaration... " >&6; }
61421   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61422     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61423   $as_echo_n "(cached) " >&6
61424 else
61425
61426
61427       ac_ext=cpp
61428 ac_cpp='$CXXCPP $CPPFLAGS'
61429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61432
61433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61434 /* end confdefs.h.  */
61435 #include <math.h>
61436                       #ifdef HAVE_IEEEFP_H
61437                       #include <ieeefp.h>
61438                       #endif
61439
61440 int
61441 main ()
61442 {
61443  _log10f(0);
61444   ;
61445   return 0;
61446 }
61447 _ACEOF
61448 if ac_fn_cxx_try_compile "$LINENO"; then :
61449   glibcxx_cv_func__log10f_use=yes
61450 else
61451   glibcxx_cv_func__log10f_use=no
61452 fi
61453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61454       ac_ext=c
61455 ac_cpp='$CPP $CPPFLAGS'
61456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61459
61460
61461 fi
61462
61463   fi
61464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61465 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61466
61467     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61468       for ac_func in _log10f
61469 do :
61470   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61471 if test "x$ac_cv_func__log10f" = x""yes; then :
61472   cat >>confdefs.h <<_ACEOF
61473 #define HAVE__LOG10F 1
61474 _ACEOF
61475
61476 fi
61477 done
61478
61479     fi
61480   fi
61481
61482
61483
61484
61485
61486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61487 $as_echo_n "checking for modff declaration... " >&6; }
61488   if test x${glibcxx_cv_func_modff_use+set} != xset; then
61489     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61490   $as_echo_n "(cached) " >&6
61491 else
61492
61493
61494       ac_ext=cpp
61495 ac_cpp='$CXXCPP $CPPFLAGS'
61496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61499
61500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61501 /* end confdefs.h.  */
61502 #include <math.h>
61503 int
61504 main ()
61505 {
61506  modff(0, 0);
61507   ;
61508   return 0;
61509 }
61510 _ACEOF
61511 if ac_fn_cxx_try_compile "$LINENO"; then :
61512   glibcxx_cv_func_modff_use=yes
61513 else
61514   glibcxx_cv_func_modff_use=no
61515 fi
61516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61517       ac_ext=c
61518 ac_cpp='$CPP $CPPFLAGS'
61519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61522
61523
61524 fi
61525
61526   fi
61527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61528 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61529
61530   if test x$glibcxx_cv_func_modff_use = x"yes"; then
61531     for ac_func in modff
61532 do :
61533   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61534 if test "x$ac_cv_func_modff" = x""yes; then :
61535   cat >>confdefs.h <<_ACEOF
61536 #define HAVE_MODFF 1
61537 _ACEOF
61538
61539 fi
61540 done
61541
61542   else
61543
61544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61545 $as_echo_n "checking for _modff declaration... " >&6; }
61546   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61547     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61548   $as_echo_n "(cached) " >&6
61549 else
61550
61551
61552       ac_ext=cpp
61553 ac_cpp='$CXXCPP $CPPFLAGS'
61554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61557
61558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61559 /* end confdefs.h.  */
61560 #include <math.h>
61561 int
61562 main ()
61563 {
61564  _modff(0, 0);
61565   ;
61566   return 0;
61567 }
61568 _ACEOF
61569 if ac_fn_cxx_try_compile "$LINENO"; then :
61570   glibcxx_cv_func__modff_use=yes
61571 else
61572   glibcxx_cv_func__modff_use=no
61573 fi
61574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61575       ac_ext=c
61576 ac_cpp='$CPP $CPPFLAGS'
61577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61580
61581
61582 fi
61583
61584   fi
61585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61586 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61587
61588     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61589       for ac_func in _modff
61590 do :
61591   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61592 if test "x$ac_cv_func__modff" = x""yes; then :
61593   cat >>confdefs.h <<_ACEOF
61594 #define HAVE__MODFF 1
61595 _ACEOF
61596
61597 fi
61598 done
61599
61600     fi
61601   fi
61602
61603
61604
61605
61606
61607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61608 $as_echo_n "checking for modf declaration... " >&6; }
61609   if test x${glibcxx_cv_func_modf_use+set} != xset; then
61610     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61611   $as_echo_n "(cached) " >&6
61612 else
61613
61614
61615       ac_ext=cpp
61616 ac_cpp='$CXXCPP $CPPFLAGS'
61617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61620
61621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61622 /* end confdefs.h.  */
61623 #include <math.h>
61624 int
61625 main ()
61626 {
61627  modf(0, 0);
61628   ;
61629   return 0;
61630 }
61631 _ACEOF
61632 if ac_fn_cxx_try_compile "$LINENO"; then :
61633   glibcxx_cv_func_modf_use=yes
61634 else
61635   glibcxx_cv_func_modf_use=no
61636 fi
61637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61638       ac_ext=c
61639 ac_cpp='$CPP $CPPFLAGS'
61640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61643
61644
61645 fi
61646
61647   fi
61648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61649 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61650
61651   if test x$glibcxx_cv_func_modf_use = x"yes"; then
61652     for ac_func in modf
61653 do :
61654   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61655 if test "x$ac_cv_func_modf" = x""yes; then :
61656   cat >>confdefs.h <<_ACEOF
61657 #define HAVE_MODF 1
61658 _ACEOF
61659
61660 fi
61661 done
61662
61663   else
61664
61665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61666 $as_echo_n "checking for _modf declaration... " >&6; }
61667   if test x${glibcxx_cv_func__modf_use+set} != xset; then
61668     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61669   $as_echo_n "(cached) " >&6
61670 else
61671
61672
61673       ac_ext=cpp
61674 ac_cpp='$CXXCPP $CPPFLAGS'
61675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61678
61679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61680 /* end confdefs.h.  */
61681 #include <math.h>
61682 int
61683 main ()
61684 {
61685  _modf(0, 0);
61686   ;
61687   return 0;
61688 }
61689 _ACEOF
61690 if ac_fn_cxx_try_compile "$LINENO"; then :
61691   glibcxx_cv_func__modf_use=yes
61692 else
61693   glibcxx_cv_func__modf_use=no
61694 fi
61695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61696       ac_ext=c
61697 ac_cpp='$CPP $CPPFLAGS'
61698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61701
61702
61703 fi
61704
61705   fi
61706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61707 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61708
61709     if test x$glibcxx_cv_func__modf_use = x"yes"; then
61710       for ac_func in _modf
61711 do :
61712   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61713 if test "x$ac_cv_func__modf" = x""yes; then :
61714   cat >>confdefs.h <<_ACEOF
61715 #define HAVE__MODF 1
61716 _ACEOF
61717
61718 fi
61719 done
61720
61721     fi
61722   fi
61723
61724
61725
61726
61727
61728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61729 $as_echo_n "checking for powf declaration... " >&6; }
61730   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61731     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61732   $as_echo_n "(cached) " >&6
61733 else
61734
61735
61736       ac_ext=cpp
61737 ac_cpp='$CXXCPP $CPPFLAGS'
61738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61741
61742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61743 /* end confdefs.h.  */
61744 #include <math.h>
61745 int
61746 main ()
61747 {
61748  powf(0, 0);
61749   ;
61750   return 0;
61751 }
61752 _ACEOF
61753 if ac_fn_cxx_try_compile "$LINENO"; then :
61754   glibcxx_cv_func_powf_use=yes
61755 else
61756   glibcxx_cv_func_powf_use=no
61757 fi
61758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61759       ac_ext=c
61760 ac_cpp='$CPP $CPPFLAGS'
61761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61764
61765
61766 fi
61767
61768   fi
61769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61770 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61771
61772   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61773     for ac_func in powf
61774 do :
61775   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61776 if test "x$ac_cv_func_powf" = x""yes; then :
61777   cat >>confdefs.h <<_ACEOF
61778 #define HAVE_POWF 1
61779 _ACEOF
61780
61781 fi
61782 done
61783
61784   else
61785
61786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61787 $as_echo_n "checking for _powf declaration... " >&6; }
61788   if test x${glibcxx_cv_func__powf_use+set} != xset; then
61789     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61790   $as_echo_n "(cached) " >&6
61791 else
61792
61793
61794       ac_ext=cpp
61795 ac_cpp='$CXXCPP $CPPFLAGS'
61796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61799
61800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61801 /* end confdefs.h.  */
61802 #include <math.h>
61803 int
61804 main ()
61805 {
61806  _powf(0, 0);
61807   ;
61808   return 0;
61809 }
61810 _ACEOF
61811 if ac_fn_cxx_try_compile "$LINENO"; then :
61812   glibcxx_cv_func__powf_use=yes
61813 else
61814   glibcxx_cv_func__powf_use=no
61815 fi
61816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61817       ac_ext=c
61818 ac_cpp='$CPP $CPPFLAGS'
61819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61822
61823
61824 fi
61825
61826   fi
61827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61828 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61829
61830     if test x$glibcxx_cv_func__powf_use = x"yes"; then
61831       for ac_func in _powf
61832 do :
61833   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61834 if test "x$ac_cv_func__powf" = x""yes; then :
61835   cat >>confdefs.h <<_ACEOF
61836 #define HAVE__POWF 1
61837 _ACEOF
61838
61839 fi
61840 done
61841
61842     fi
61843   fi
61844
61845
61846
61847
61848
61849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61850 $as_echo_n "checking for sqrtf declaration... " >&6; }
61851   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61852     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61853   $as_echo_n "(cached) " >&6
61854 else
61855
61856
61857       ac_ext=cpp
61858 ac_cpp='$CXXCPP $CPPFLAGS'
61859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61862
61863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61864 /* end confdefs.h.  */
61865 #include <math.h>
61866                       #ifdef HAVE_IEEEFP_H
61867                       #include <ieeefp.h>
61868                       #endif
61869
61870 int
61871 main ()
61872 {
61873  sqrtf(0);
61874   ;
61875   return 0;
61876 }
61877 _ACEOF
61878 if ac_fn_cxx_try_compile "$LINENO"; then :
61879   glibcxx_cv_func_sqrtf_use=yes
61880 else
61881   glibcxx_cv_func_sqrtf_use=no
61882 fi
61883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61884       ac_ext=c
61885 ac_cpp='$CPP $CPPFLAGS'
61886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61889
61890
61891 fi
61892
61893   fi
61894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61895 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61896
61897   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61898     for ac_func in sqrtf
61899 do :
61900   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61901 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61902   cat >>confdefs.h <<_ACEOF
61903 #define HAVE_SQRTF 1
61904 _ACEOF
61905
61906 fi
61907 done
61908
61909   else
61910
61911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61912 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61913   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61914     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61915   $as_echo_n "(cached) " >&6
61916 else
61917
61918
61919       ac_ext=cpp
61920 ac_cpp='$CXXCPP $CPPFLAGS'
61921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61924
61925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61926 /* end confdefs.h.  */
61927 #include <math.h>
61928                       #ifdef HAVE_IEEEFP_H
61929                       #include <ieeefp.h>
61930                       #endif
61931
61932 int
61933 main ()
61934 {
61935  _sqrtf(0);
61936   ;
61937   return 0;
61938 }
61939 _ACEOF
61940 if ac_fn_cxx_try_compile "$LINENO"; then :
61941   glibcxx_cv_func__sqrtf_use=yes
61942 else
61943   glibcxx_cv_func__sqrtf_use=no
61944 fi
61945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61946       ac_ext=c
61947 ac_cpp='$CPP $CPPFLAGS'
61948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61951
61952
61953 fi
61954
61955   fi
61956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61957 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61958
61959     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61960       for ac_func in _sqrtf
61961 do :
61962   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61963 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61964   cat >>confdefs.h <<_ACEOF
61965 #define HAVE__SQRTF 1
61966 _ACEOF
61967
61968 fi
61969 done
61970
61971     fi
61972   fi
61973
61974
61975
61976
61977
61978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61979 $as_echo_n "checking for sincosf declaration... " >&6; }
61980   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61981     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61982   $as_echo_n "(cached) " >&6
61983 else
61984
61985
61986       ac_ext=cpp
61987 ac_cpp='$CXXCPP $CPPFLAGS'
61988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61991
61992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61993 /* end confdefs.h.  */
61994 #include <math.h>
61995 int
61996 main ()
61997 {
61998  sincosf(0, 0, 0);
61999   ;
62000   return 0;
62001 }
62002 _ACEOF
62003 if ac_fn_cxx_try_compile "$LINENO"; then :
62004   glibcxx_cv_func_sincosf_use=yes
62005 else
62006   glibcxx_cv_func_sincosf_use=no
62007 fi
62008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62009       ac_ext=c
62010 ac_cpp='$CPP $CPPFLAGS'
62011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62014
62015
62016 fi
62017
62018   fi
62019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62020 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62021
62022   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62023     for ac_func in sincosf
62024 do :
62025   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62026 if test "x$ac_cv_func_sincosf" = x""yes; then :
62027   cat >>confdefs.h <<_ACEOF
62028 #define HAVE_SINCOSF 1
62029 _ACEOF
62030
62031 fi
62032 done
62033
62034   else
62035
62036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62037 $as_echo_n "checking for _sincosf declaration... " >&6; }
62038   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62039     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62040   $as_echo_n "(cached) " >&6
62041 else
62042
62043
62044       ac_ext=cpp
62045 ac_cpp='$CXXCPP $CPPFLAGS'
62046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62049
62050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62051 /* end confdefs.h.  */
62052 #include <math.h>
62053 int
62054 main ()
62055 {
62056  _sincosf(0, 0, 0);
62057   ;
62058   return 0;
62059 }
62060 _ACEOF
62061 if ac_fn_cxx_try_compile "$LINENO"; then :
62062   glibcxx_cv_func__sincosf_use=yes
62063 else
62064   glibcxx_cv_func__sincosf_use=no
62065 fi
62066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62067       ac_ext=c
62068 ac_cpp='$CPP $CPPFLAGS'
62069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62072
62073
62074 fi
62075
62076   fi
62077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62078 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62079
62080     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62081       for ac_func in _sincosf
62082 do :
62083   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62084 if test "x$ac_cv_func__sincosf" = x""yes; then :
62085   cat >>confdefs.h <<_ACEOF
62086 #define HAVE__SINCOSF 1
62087 _ACEOF
62088
62089 fi
62090 done
62091
62092     fi
62093   fi
62094
62095
62096
62097
62098
62099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62100 $as_echo_n "checking for finitef declaration... " >&6; }
62101   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62102     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62103   $as_echo_n "(cached) " >&6
62104 else
62105
62106
62107       ac_ext=cpp
62108 ac_cpp='$CXXCPP $CPPFLAGS'
62109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62112
62113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62114 /* end confdefs.h.  */
62115 #include <math.h>
62116                       #ifdef HAVE_IEEEFP_H
62117                       #include <ieeefp.h>
62118                       #endif
62119
62120 int
62121 main ()
62122 {
62123  finitef(0);
62124   ;
62125   return 0;
62126 }
62127 _ACEOF
62128 if ac_fn_cxx_try_compile "$LINENO"; then :
62129   glibcxx_cv_func_finitef_use=yes
62130 else
62131   glibcxx_cv_func_finitef_use=no
62132 fi
62133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62134       ac_ext=c
62135 ac_cpp='$CPP $CPPFLAGS'
62136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62139
62140
62141 fi
62142
62143   fi
62144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62145 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62146
62147   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62148     for ac_func in finitef
62149 do :
62150   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62151 if test "x$ac_cv_func_finitef" = x""yes; then :
62152   cat >>confdefs.h <<_ACEOF
62153 #define HAVE_FINITEF 1
62154 _ACEOF
62155
62156 fi
62157 done
62158
62159   else
62160
62161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62162 $as_echo_n "checking for _finitef declaration... " >&6; }
62163   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62164     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62165   $as_echo_n "(cached) " >&6
62166 else
62167
62168
62169       ac_ext=cpp
62170 ac_cpp='$CXXCPP $CPPFLAGS'
62171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62174
62175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62176 /* end confdefs.h.  */
62177 #include <math.h>
62178                       #ifdef HAVE_IEEEFP_H
62179                       #include <ieeefp.h>
62180                       #endif
62181
62182 int
62183 main ()
62184 {
62185  _finitef(0);
62186   ;
62187   return 0;
62188 }
62189 _ACEOF
62190 if ac_fn_cxx_try_compile "$LINENO"; then :
62191   glibcxx_cv_func__finitef_use=yes
62192 else
62193   glibcxx_cv_func__finitef_use=no
62194 fi
62195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62196       ac_ext=c
62197 ac_cpp='$CPP $CPPFLAGS'
62198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62201
62202
62203 fi
62204
62205   fi
62206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62207 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62208
62209     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62210       for ac_func in _finitef
62211 do :
62212   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62213 if test "x$ac_cv_func__finitef" = x""yes; then :
62214   cat >>confdefs.h <<_ACEOF
62215 #define HAVE__FINITEF 1
62216 _ACEOF
62217
62218 fi
62219 done
62220
62221     fi
62222   fi
62223
62224
62225
62226
62227
62228     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62229 $as_echo_n "checking for long double trig functions... " >&6; }
62230   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62231   $as_echo_n "(cached) " >&6
62232 else
62233
62234
62235     ac_ext=cpp
62236 ac_cpp='$CXXCPP $CPPFLAGS'
62237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62240
62241     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62242 /* end confdefs.h.  */
62243 #include <math.h>
62244 int
62245 main ()
62246 {
62247 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62248   ;
62249   return 0;
62250 }
62251 _ACEOF
62252 if ac_fn_cxx_try_compile "$LINENO"; then :
62253   glibcxx_cv_func_long_double_trig_use=yes
62254 else
62255   glibcxx_cv_func_long_double_trig_use=no
62256 fi
62257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62258     ac_ext=c
62259 ac_cpp='$CPP $CPPFLAGS'
62260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62263
62264 fi
62265
62266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62267 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62268   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62269     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62270 do :
62271   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62272 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62273 eval as_val=\$$as_ac_var
62274    if test "x$as_val" = x""yes; then :
62275   cat >>confdefs.h <<_ACEOF
62276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62277 _ACEOF
62278
62279 fi
62280 done
62281
62282   else
62283     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62284 $as_echo_n "checking for _long double trig functions... " >&6; }
62285     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62286   $as_echo_n "(cached) " >&6
62287 else
62288
62289
62290       ac_ext=cpp
62291 ac_cpp='$CXXCPP $CPPFLAGS'
62292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62295
62296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62297 /* end confdefs.h.  */
62298 #include <math.h>
62299 int
62300 main ()
62301 {
62302 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62303   ;
62304   return 0;
62305 }
62306 _ACEOF
62307 if ac_fn_cxx_try_compile "$LINENO"; then :
62308   glibcxx_cv_func__long_double_trig_use=yes
62309 else
62310   glibcxx_cv_func__long_double_trig_use=no
62311 fi
62312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62313       ac_ext=c
62314 ac_cpp='$CPP $CPPFLAGS'
62315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62318
62319 fi
62320
62321     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62322 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62323     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62324       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62325 do :
62326   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62328 eval as_val=\$$as_ac_var
62329    if test "x$as_val" = x""yes; then :
62330   cat >>confdefs.h <<_ACEOF
62331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62332 _ACEOF
62333
62334 fi
62335 done
62336
62337     fi
62338   fi
62339
62340
62341
62342
62343
62344     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62345 $as_echo_n "checking for long double round functions... " >&6; }
62346   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62347   $as_echo_n "(cached) " >&6
62348 else
62349
62350
62351     ac_ext=cpp
62352 ac_cpp='$CXXCPP $CPPFLAGS'
62353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62356
62357     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62358 /* end confdefs.h.  */
62359 #include <math.h>
62360 int
62361 main ()
62362 {
62363 ceill (0); floorl (0);
62364   ;
62365   return 0;
62366 }
62367 _ACEOF
62368 if ac_fn_cxx_try_compile "$LINENO"; then :
62369   glibcxx_cv_func_long_double_round_use=yes
62370 else
62371   glibcxx_cv_func_long_double_round_use=no
62372 fi
62373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62374     ac_ext=c
62375 ac_cpp='$CPP $CPPFLAGS'
62376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62379
62380 fi
62381
62382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62383 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62384   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62385     for ac_func in ceill floorl
62386 do :
62387   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62389 eval as_val=\$$as_ac_var
62390    if test "x$as_val" = x""yes; then :
62391   cat >>confdefs.h <<_ACEOF
62392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62393 _ACEOF
62394
62395 fi
62396 done
62397
62398   else
62399     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62400 $as_echo_n "checking for _long double round functions... " >&6; }
62401     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62402   $as_echo_n "(cached) " >&6
62403 else
62404
62405
62406       ac_ext=cpp
62407 ac_cpp='$CXXCPP $CPPFLAGS'
62408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62411
62412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62413 /* end confdefs.h.  */
62414 #include <math.h>
62415 int
62416 main ()
62417 {
62418 _ceill (0); _floorl (0);
62419   ;
62420   return 0;
62421 }
62422 _ACEOF
62423 if ac_fn_cxx_try_compile "$LINENO"; then :
62424   glibcxx_cv_func__long_double_round_use=yes
62425 else
62426   glibcxx_cv_func__long_double_round_use=no
62427 fi
62428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62429       ac_ext=c
62430 ac_cpp='$CPP $CPPFLAGS'
62431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62434
62435 fi
62436
62437     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62438 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62439     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62440       for ac_func in _ceill _floorl
62441 do :
62442   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62444 eval as_val=\$$as_ac_var
62445    if test "x$as_val" = x""yes; then :
62446   cat >>confdefs.h <<_ACEOF
62447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62448 _ACEOF
62449
62450 fi
62451 done
62452
62453     fi
62454   fi
62455
62456
62457
62458
62459
62460
62461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62462 $as_echo_n "checking for isnanl declaration... " >&6; }
62463   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62464     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62465   $as_echo_n "(cached) " >&6
62466 else
62467
62468
62469       ac_ext=cpp
62470 ac_cpp='$CXXCPP $CPPFLAGS'
62471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62474
62475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62476 /* end confdefs.h.  */
62477 #include <math.h>
62478                       #ifdef HAVE_IEEEFP_H
62479                       #include <ieeefp.h>
62480                       #endif
62481
62482 int
62483 main ()
62484 {
62485  isnanl(0);
62486   ;
62487   return 0;
62488 }
62489 _ACEOF
62490 if ac_fn_cxx_try_compile "$LINENO"; then :
62491   glibcxx_cv_func_isnanl_use=yes
62492 else
62493   glibcxx_cv_func_isnanl_use=no
62494 fi
62495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62496       ac_ext=c
62497 ac_cpp='$CPP $CPPFLAGS'
62498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62501
62502
62503 fi
62504
62505   fi
62506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62507 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62508
62509   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62510     for ac_func in isnanl
62511 do :
62512   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62513 if test "x$ac_cv_func_isnanl" = x""yes; then :
62514   cat >>confdefs.h <<_ACEOF
62515 #define HAVE_ISNANL 1
62516 _ACEOF
62517
62518 fi
62519 done
62520
62521   else
62522
62523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62524 $as_echo_n "checking for _isnanl declaration... " >&6; }
62525   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62526     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62527   $as_echo_n "(cached) " >&6
62528 else
62529
62530
62531       ac_ext=cpp
62532 ac_cpp='$CXXCPP $CPPFLAGS'
62533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62536
62537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62538 /* end confdefs.h.  */
62539 #include <math.h>
62540                       #ifdef HAVE_IEEEFP_H
62541                       #include <ieeefp.h>
62542                       #endif
62543
62544 int
62545 main ()
62546 {
62547  _isnanl(0);
62548   ;
62549   return 0;
62550 }
62551 _ACEOF
62552 if ac_fn_cxx_try_compile "$LINENO"; then :
62553   glibcxx_cv_func__isnanl_use=yes
62554 else
62555   glibcxx_cv_func__isnanl_use=no
62556 fi
62557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62558       ac_ext=c
62559 ac_cpp='$CPP $CPPFLAGS'
62560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62563
62564
62565 fi
62566
62567   fi
62568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62569 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62570
62571     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62572       for ac_func in _isnanl
62573 do :
62574   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62575 if test "x$ac_cv_func__isnanl" = x""yes; then :
62576   cat >>confdefs.h <<_ACEOF
62577 #define HAVE__ISNANL 1
62578 _ACEOF
62579
62580 fi
62581 done
62582
62583     fi
62584   fi
62585
62586
62587
62588
62589
62590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62591 $as_echo_n "checking for isinfl declaration... " >&6; }
62592   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62593     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62594   $as_echo_n "(cached) " >&6
62595 else
62596
62597
62598       ac_ext=cpp
62599 ac_cpp='$CXXCPP $CPPFLAGS'
62600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62603
62604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62605 /* end confdefs.h.  */
62606 #include <math.h>
62607                       #ifdef HAVE_IEEEFP_H
62608                       #include <ieeefp.h>
62609                       #endif
62610
62611 int
62612 main ()
62613 {
62614  isinfl(0);
62615   ;
62616   return 0;
62617 }
62618 _ACEOF
62619 if ac_fn_cxx_try_compile "$LINENO"; then :
62620   glibcxx_cv_func_isinfl_use=yes
62621 else
62622   glibcxx_cv_func_isinfl_use=no
62623 fi
62624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62625       ac_ext=c
62626 ac_cpp='$CPP $CPPFLAGS'
62627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62630
62631
62632 fi
62633
62634   fi
62635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62636 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62637
62638   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62639     for ac_func in isinfl
62640 do :
62641   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62642 if test "x$ac_cv_func_isinfl" = x""yes; then :
62643   cat >>confdefs.h <<_ACEOF
62644 #define HAVE_ISINFL 1
62645 _ACEOF
62646
62647 fi
62648 done
62649
62650   else
62651
62652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62653 $as_echo_n "checking for _isinfl declaration... " >&6; }
62654   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62655     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62656   $as_echo_n "(cached) " >&6
62657 else
62658
62659
62660       ac_ext=cpp
62661 ac_cpp='$CXXCPP $CPPFLAGS'
62662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62665
62666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62667 /* end confdefs.h.  */
62668 #include <math.h>
62669                       #ifdef HAVE_IEEEFP_H
62670                       #include <ieeefp.h>
62671                       #endif
62672
62673 int
62674 main ()
62675 {
62676  _isinfl(0);
62677   ;
62678   return 0;
62679 }
62680 _ACEOF
62681 if ac_fn_cxx_try_compile "$LINENO"; then :
62682   glibcxx_cv_func__isinfl_use=yes
62683 else
62684   glibcxx_cv_func__isinfl_use=no
62685 fi
62686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62687       ac_ext=c
62688 ac_cpp='$CPP $CPPFLAGS'
62689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62692
62693
62694 fi
62695
62696   fi
62697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62698 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62699
62700     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62701       for ac_func in _isinfl
62702 do :
62703   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62704 if test "x$ac_cv_func__isinfl" = x""yes; then :
62705   cat >>confdefs.h <<_ACEOF
62706 #define HAVE__ISINFL 1
62707 _ACEOF
62708
62709 fi
62710 done
62711
62712     fi
62713   fi
62714
62715
62716
62717
62718
62719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62720 $as_echo_n "checking for atan2l declaration... " >&6; }
62721   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62722     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62723   $as_echo_n "(cached) " >&6
62724 else
62725
62726
62727       ac_ext=cpp
62728 ac_cpp='$CXXCPP $CPPFLAGS'
62729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62732
62733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62734 /* end confdefs.h.  */
62735 #include <math.h>
62736 int
62737 main ()
62738 {
62739  atan2l(0, 0);
62740   ;
62741   return 0;
62742 }
62743 _ACEOF
62744 if ac_fn_cxx_try_compile "$LINENO"; then :
62745   glibcxx_cv_func_atan2l_use=yes
62746 else
62747   glibcxx_cv_func_atan2l_use=no
62748 fi
62749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62750       ac_ext=c
62751 ac_cpp='$CPP $CPPFLAGS'
62752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62755
62756
62757 fi
62758
62759   fi
62760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62761 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62762
62763   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62764     for ac_func in atan2l
62765 do :
62766   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62767 if test "x$ac_cv_func_atan2l" = x""yes; then :
62768   cat >>confdefs.h <<_ACEOF
62769 #define HAVE_ATAN2L 1
62770 _ACEOF
62771
62772 fi
62773 done
62774
62775   else
62776
62777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62778 $as_echo_n "checking for _atan2l declaration... " >&6; }
62779   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62780     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62781   $as_echo_n "(cached) " >&6
62782 else
62783
62784
62785       ac_ext=cpp
62786 ac_cpp='$CXXCPP $CPPFLAGS'
62787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62790
62791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62792 /* end confdefs.h.  */
62793 #include <math.h>
62794 int
62795 main ()
62796 {
62797  _atan2l(0, 0);
62798   ;
62799   return 0;
62800 }
62801 _ACEOF
62802 if ac_fn_cxx_try_compile "$LINENO"; then :
62803   glibcxx_cv_func__atan2l_use=yes
62804 else
62805   glibcxx_cv_func__atan2l_use=no
62806 fi
62807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62808       ac_ext=c
62809 ac_cpp='$CPP $CPPFLAGS'
62810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62813
62814
62815 fi
62816
62817   fi
62818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62819 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62820
62821     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62822       for ac_func in _atan2l
62823 do :
62824   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62825 if test "x$ac_cv_func__atan2l" = x""yes; then :
62826   cat >>confdefs.h <<_ACEOF
62827 #define HAVE__ATAN2L 1
62828 _ACEOF
62829
62830 fi
62831 done
62832
62833     fi
62834   fi
62835
62836
62837
62838
62839
62840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62841 $as_echo_n "checking for expl declaration... " >&6; }
62842   if test x${glibcxx_cv_func_expl_use+set} != xset; then
62843     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62844   $as_echo_n "(cached) " >&6
62845 else
62846
62847
62848       ac_ext=cpp
62849 ac_cpp='$CXXCPP $CPPFLAGS'
62850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62853
62854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62855 /* end confdefs.h.  */
62856 #include <math.h>
62857                       #ifdef HAVE_IEEEFP_H
62858                       #include <ieeefp.h>
62859                       #endif
62860
62861 int
62862 main ()
62863 {
62864  expl(0);
62865   ;
62866   return 0;
62867 }
62868 _ACEOF
62869 if ac_fn_cxx_try_compile "$LINENO"; then :
62870   glibcxx_cv_func_expl_use=yes
62871 else
62872   glibcxx_cv_func_expl_use=no
62873 fi
62874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62875       ac_ext=c
62876 ac_cpp='$CPP $CPPFLAGS'
62877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62880
62881
62882 fi
62883
62884   fi
62885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62886 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62887
62888   if test x$glibcxx_cv_func_expl_use = x"yes"; then
62889     for ac_func in expl
62890 do :
62891   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62892 if test "x$ac_cv_func_expl" = x""yes; then :
62893   cat >>confdefs.h <<_ACEOF
62894 #define HAVE_EXPL 1
62895 _ACEOF
62896
62897 fi
62898 done
62899
62900   else
62901
62902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62903 $as_echo_n "checking for _expl declaration... " >&6; }
62904   if test x${glibcxx_cv_func__expl_use+set} != xset; then
62905     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62906   $as_echo_n "(cached) " >&6
62907 else
62908
62909
62910       ac_ext=cpp
62911 ac_cpp='$CXXCPP $CPPFLAGS'
62912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62915
62916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62917 /* end confdefs.h.  */
62918 #include <math.h>
62919                       #ifdef HAVE_IEEEFP_H
62920                       #include <ieeefp.h>
62921                       #endif
62922
62923 int
62924 main ()
62925 {
62926  _expl(0);
62927   ;
62928   return 0;
62929 }
62930 _ACEOF
62931 if ac_fn_cxx_try_compile "$LINENO"; then :
62932   glibcxx_cv_func__expl_use=yes
62933 else
62934   glibcxx_cv_func__expl_use=no
62935 fi
62936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62937       ac_ext=c
62938 ac_cpp='$CPP $CPPFLAGS'
62939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62942
62943
62944 fi
62945
62946   fi
62947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62948 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62949
62950     if test x$glibcxx_cv_func__expl_use = x"yes"; then
62951       for ac_func in _expl
62952 do :
62953   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62954 if test "x$ac_cv_func__expl" = x""yes; then :
62955   cat >>confdefs.h <<_ACEOF
62956 #define HAVE__EXPL 1
62957 _ACEOF
62958
62959 fi
62960 done
62961
62962     fi
62963   fi
62964
62965
62966
62967
62968
62969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62970 $as_echo_n "checking for fabsl declaration... " >&6; }
62971   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62972     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62973   $as_echo_n "(cached) " >&6
62974 else
62975
62976
62977       ac_ext=cpp
62978 ac_cpp='$CXXCPP $CPPFLAGS'
62979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62982
62983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62984 /* end confdefs.h.  */
62985 #include <math.h>
62986                       #ifdef HAVE_IEEEFP_H
62987                       #include <ieeefp.h>
62988                       #endif
62989
62990 int
62991 main ()
62992 {
62993  fabsl(0);
62994   ;
62995   return 0;
62996 }
62997 _ACEOF
62998 if ac_fn_cxx_try_compile "$LINENO"; then :
62999   glibcxx_cv_func_fabsl_use=yes
63000 else
63001   glibcxx_cv_func_fabsl_use=no
63002 fi
63003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63004       ac_ext=c
63005 ac_cpp='$CPP $CPPFLAGS'
63006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63009
63010
63011 fi
63012
63013   fi
63014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63015 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63016
63017   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63018     for ac_func in fabsl
63019 do :
63020   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63021 if test "x$ac_cv_func_fabsl" = x""yes; then :
63022   cat >>confdefs.h <<_ACEOF
63023 #define HAVE_FABSL 1
63024 _ACEOF
63025
63026 fi
63027 done
63028
63029   else
63030
63031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63032 $as_echo_n "checking for _fabsl declaration... " >&6; }
63033   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63034     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63035   $as_echo_n "(cached) " >&6
63036 else
63037
63038
63039       ac_ext=cpp
63040 ac_cpp='$CXXCPP $CPPFLAGS'
63041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63044
63045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63046 /* end confdefs.h.  */
63047 #include <math.h>
63048                       #ifdef HAVE_IEEEFP_H
63049                       #include <ieeefp.h>
63050                       #endif
63051
63052 int
63053 main ()
63054 {
63055  _fabsl(0);
63056   ;
63057   return 0;
63058 }
63059 _ACEOF
63060 if ac_fn_cxx_try_compile "$LINENO"; then :
63061   glibcxx_cv_func__fabsl_use=yes
63062 else
63063   glibcxx_cv_func__fabsl_use=no
63064 fi
63065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63066       ac_ext=c
63067 ac_cpp='$CPP $CPPFLAGS'
63068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63071
63072
63073 fi
63074
63075   fi
63076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63077 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63078
63079     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63080       for ac_func in _fabsl
63081 do :
63082   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63083 if test "x$ac_cv_func__fabsl" = x""yes; then :
63084   cat >>confdefs.h <<_ACEOF
63085 #define HAVE__FABSL 1
63086 _ACEOF
63087
63088 fi
63089 done
63090
63091     fi
63092   fi
63093
63094
63095
63096
63097
63098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63099 $as_echo_n "checking for fmodl declaration... " >&6; }
63100   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63101     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63102   $as_echo_n "(cached) " >&6
63103 else
63104
63105
63106       ac_ext=cpp
63107 ac_cpp='$CXXCPP $CPPFLAGS'
63108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63111
63112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63113 /* end confdefs.h.  */
63114 #include <math.h>
63115 int
63116 main ()
63117 {
63118  fmodl(0, 0);
63119   ;
63120   return 0;
63121 }
63122 _ACEOF
63123 if ac_fn_cxx_try_compile "$LINENO"; then :
63124   glibcxx_cv_func_fmodl_use=yes
63125 else
63126   glibcxx_cv_func_fmodl_use=no
63127 fi
63128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63129       ac_ext=c
63130 ac_cpp='$CPP $CPPFLAGS'
63131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63134
63135
63136 fi
63137
63138   fi
63139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63140 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63141
63142   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63143     for ac_func in fmodl
63144 do :
63145   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63146 if test "x$ac_cv_func_fmodl" = x""yes; then :
63147   cat >>confdefs.h <<_ACEOF
63148 #define HAVE_FMODL 1
63149 _ACEOF
63150
63151 fi
63152 done
63153
63154   else
63155
63156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63157 $as_echo_n "checking for _fmodl declaration... " >&6; }
63158   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63159     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63160   $as_echo_n "(cached) " >&6
63161 else
63162
63163
63164       ac_ext=cpp
63165 ac_cpp='$CXXCPP $CPPFLAGS'
63166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63169
63170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63171 /* end confdefs.h.  */
63172 #include <math.h>
63173 int
63174 main ()
63175 {
63176  _fmodl(0, 0);
63177   ;
63178   return 0;
63179 }
63180 _ACEOF
63181 if ac_fn_cxx_try_compile "$LINENO"; then :
63182   glibcxx_cv_func__fmodl_use=yes
63183 else
63184   glibcxx_cv_func__fmodl_use=no
63185 fi
63186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63187       ac_ext=c
63188 ac_cpp='$CPP $CPPFLAGS'
63189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63192
63193
63194 fi
63195
63196   fi
63197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63198 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63199
63200     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63201       for ac_func in _fmodl
63202 do :
63203   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63204 if test "x$ac_cv_func__fmodl" = x""yes; then :
63205   cat >>confdefs.h <<_ACEOF
63206 #define HAVE__FMODL 1
63207 _ACEOF
63208
63209 fi
63210 done
63211
63212     fi
63213   fi
63214
63215
63216
63217
63218
63219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63220 $as_echo_n "checking for frexpl declaration... " >&6; }
63221   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63222     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63223   $as_echo_n "(cached) " >&6
63224 else
63225
63226
63227       ac_ext=cpp
63228 ac_cpp='$CXXCPP $CPPFLAGS'
63229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63232
63233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63234 /* end confdefs.h.  */
63235 #include <math.h>
63236 int
63237 main ()
63238 {
63239  frexpl(0, 0);
63240   ;
63241   return 0;
63242 }
63243 _ACEOF
63244 if ac_fn_cxx_try_compile "$LINENO"; then :
63245   glibcxx_cv_func_frexpl_use=yes
63246 else
63247   glibcxx_cv_func_frexpl_use=no
63248 fi
63249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63250       ac_ext=c
63251 ac_cpp='$CPP $CPPFLAGS'
63252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63255
63256
63257 fi
63258
63259   fi
63260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63261 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63262
63263   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63264     for ac_func in frexpl
63265 do :
63266   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63267 if test "x$ac_cv_func_frexpl" = x""yes; then :
63268   cat >>confdefs.h <<_ACEOF
63269 #define HAVE_FREXPL 1
63270 _ACEOF
63271
63272 fi
63273 done
63274
63275   else
63276
63277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63278 $as_echo_n "checking for _frexpl declaration... " >&6; }
63279   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63280     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63281   $as_echo_n "(cached) " >&6
63282 else
63283
63284
63285       ac_ext=cpp
63286 ac_cpp='$CXXCPP $CPPFLAGS'
63287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63290
63291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63292 /* end confdefs.h.  */
63293 #include <math.h>
63294 int
63295 main ()
63296 {
63297  _frexpl(0, 0);
63298   ;
63299   return 0;
63300 }
63301 _ACEOF
63302 if ac_fn_cxx_try_compile "$LINENO"; then :
63303   glibcxx_cv_func__frexpl_use=yes
63304 else
63305   glibcxx_cv_func__frexpl_use=no
63306 fi
63307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63308       ac_ext=c
63309 ac_cpp='$CPP $CPPFLAGS'
63310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63313
63314
63315 fi
63316
63317   fi
63318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63319 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63320
63321     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63322       for ac_func in _frexpl
63323 do :
63324   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63325 if test "x$ac_cv_func__frexpl" = x""yes; then :
63326   cat >>confdefs.h <<_ACEOF
63327 #define HAVE__FREXPL 1
63328 _ACEOF
63329
63330 fi
63331 done
63332
63333     fi
63334   fi
63335
63336
63337
63338
63339
63340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63341 $as_echo_n "checking for hypotl declaration... " >&6; }
63342   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63343     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63344   $as_echo_n "(cached) " >&6
63345 else
63346
63347
63348       ac_ext=cpp
63349 ac_cpp='$CXXCPP $CPPFLAGS'
63350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63353
63354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63355 /* end confdefs.h.  */
63356 #include <math.h>
63357 int
63358 main ()
63359 {
63360  hypotl(0, 0);
63361   ;
63362   return 0;
63363 }
63364 _ACEOF
63365 if ac_fn_cxx_try_compile "$LINENO"; then :
63366   glibcxx_cv_func_hypotl_use=yes
63367 else
63368   glibcxx_cv_func_hypotl_use=no
63369 fi
63370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63371       ac_ext=c
63372 ac_cpp='$CPP $CPPFLAGS'
63373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63376
63377
63378 fi
63379
63380   fi
63381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63382 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63383
63384   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63385     for ac_func in hypotl
63386 do :
63387   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63388 if test "x$ac_cv_func_hypotl" = x""yes; then :
63389   cat >>confdefs.h <<_ACEOF
63390 #define HAVE_HYPOTL 1
63391 _ACEOF
63392
63393 fi
63394 done
63395
63396   else
63397
63398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63399 $as_echo_n "checking for _hypotl declaration... " >&6; }
63400   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63401     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63402   $as_echo_n "(cached) " >&6
63403 else
63404
63405
63406       ac_ext=cpp
63407 ac_cpp='$CXXCPP $CPPFLAGS'
63408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63411
63412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63413 /* end confdefs.h.  */
63414 #include <math.h>
63415 int
63416 main ()
63417 {
63418  _hypotl(0, 0);
63419   ;
63420   return 0;
63421 }
63422 _ACEOF
63423 if ac_fn_cxx_try_compile "$LINENO"; then :
63424   glibcxx_cv_func__hypotl_use=yes
63425 else
63426   glibcxx_cv_func__hypotl_use=no
63427 fi
63428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63429       ac_ext=c
63430 ac_cpp='$CPP $CPPFLAGS'
63431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63434
63435
63436 fi
63437
63438   fi
63439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63440 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63441
63442     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63443       for ac_func in _hypotl
63444 do :
63445   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63446 if test "x$ac_cv_func__hypotl" = x""yes; then :
63447   cat >>confdefs.h <<_ACEOF
63448 #define HAVE__HYPOTL 1
63449 _ACEOF
63450
63451 fi
63452 done
63453
63454     fi
63455   fi
63456
63457
63458
63459
63460
63461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63462 $as_echo_n "checking for ldexpl declaration... " >&6; }
63463   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63464     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63465   $as_echo_n "(cached) " >&6
63466 else
63467
63468
63469       ac_ext=cpp
63470 ac_cpp='$CXXCPP $CPPFLAGS'
63471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63474
63475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63476 /* end confdefs.h.  */
63477 #include <math.h>
63478 int
63479 main ()
63480 {
63481  ldexpl(0, 0);
63482   ;
63483   return 0;
63484 }
63485 _ACEOF
63486 if ac_fn_cxx_try_compile "$LINENO"; then :
63487   glibcxx_cv_func_ldexpl_use=yes
63488 else
63489   glibcxx_cv_func_ldexpl_use=no
63490 fi
63491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63492       ac_ext=c
63493 ac_cpp='$CPP $CPPFLAGS'
63494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63497
63498
63499 fi
63500
63501   fi
63502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63503 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63504
63505   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63506     for ac_func in ldexpl
63507 do :
63508   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63509 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63510   cat >>confdefs.h <<_ACEOF
63511 #define HAVE_LDEXPL 1
63512 _ACEOF
63513
63514 fi
63515 done
63516
63517   else
63518
63519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63520 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63521   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63522     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63523   $as_echo_n "(cached) " >&6
63524 else
63525
63526
63527       ac_ext=cpp
63528 ac_cpp='$CXXCPP $CPPFLAGS'
63529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63532
63533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63534 /* end confdefs.h.  */
63535 #include <math.h>
63536 int
63537 main ()
63538 {
63539  _ldexpl(0, 0);
63540   ;
63541   return 0;
63542 }
63543 _ACEOF
63544 if ac_fn_cxx_try_compile "$LINENO"; then :
63545   glibcxx_cv_func__ldexpl_use=yes
63546 else
63547   glibcxx_cv_func__ldexpl_use=no
63548 fi
63549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63550       ac_ext=c
63551 ac_cpp='$CPP $CPPFLAGS'
63552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63555
63556
63557 fi
63558
63559   fi
63560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63561 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63562
63563     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63564       for ac_func in _ldexpl
63565 do :
63566   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63567 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63568   cat >>confdefs.h <<_ACEOF
63569 #define HAVE__LDEXPL 1
63570 _ACEOF
63571
63572 fi
63573 done
63574
63575     fi
63576   fi
63577
63578
63579
63580
63581
63582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63583 $as_echo_n "checking for logl declaration... " >&6; }
63584   if test x${glibcxx_cv_func_logl_use+set} != xset; then
63585     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63586   $as_echo_n "(cached) " >&6
63587 else
63588
63589
63590       ac_ext=cpp
63591 ac_cpp='$CXXCPP $CPPFLAGS'
63592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63595
63596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63597 /* end confdefs.h.  */
63598 #include <math.h>
63599                       #ifdef HAVE_IEEEFP_H
63600                       #include <ieeefp.h>
63601                       #endif
63602
63603 int
63604 main ()
63605 {
63606  logl(0);
63607   ;
63608   return 0;
63609 }
63610 _ACEOF
63611 if ac_fn_cxx_try_compile "$LINENO"; then :
63612   glibcxx_cv_func_logl_use=yes
63613 else
63614   glibcxx_cv_func_logl_use=no
63615 fi
63616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63617       ac_ext=c
63618 ac_cpp='$CPP $CPPFLAGS'
63619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63622
63623
63624 fi
63625
63626   fi
63627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63628 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63629
63630   if test x$glibcxx_cv_func_logl_use = x"yes"; then
63631     for ac_func in logl
63632 do :
63633   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63634 if test "x$ac_cv_func_logl" = x""yes; then :
63635   cat >>confdefs.h <<_ACEOF
63636 #define HAVE_LOGL 1
63637 _ACEOF
63638
63639 fi
63640 done
63641
63642   else
63643
63644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63645 $as_echo_n "checking for _logl declaration... " >&6; }
63646   if test x${glibcxx_cv_func__logl_use+set} != xset; then
63647     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63648   $as_echo_n "(cached) " >&6
63649 else
63650
63651
63652       ac_ext=cpp
63653 ac_cpp='$CXXCPP $CPPFLAGS'
63654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63657
63658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63659 /* end confdefs.h.  */
63660 #include <math.h>
63661                       #ifdef HAVE_IEEEFP_H
63662                       #include <ieeefp.h>
63663                       #endif
63664
63665 int
63666 main ()
63667 {
63668  _logl(0);
63669   ;
63670   return 0;
63671 }
63672 _ACEOF
63673 if ac_fn_cxx_try_compile "$LINENO"; then :
63674   glibcxx_cv_func__logl_use=yes
63675 else
63676   glibcxx_cv_func__logl_use=no
63677 fi
63678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63679       ac_ext=c
63680 ac_cpp='$CPP $CPPFLAGS'
63681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63684
63685
63686 fi
63687
63688   fi
63689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63690 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63691
63692     if test x$glibcxx_cv_func__logl_use = x"yes"; then
63693       for ac_func in _logl
63694 do :
63695   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63696 if test "x$ac_cv_func__logl" = x""yes; then :
63697   cat >>confdefs.h <<_ACEOF
63698 #define HAVE__LOGL 1
63699 _ACEOF
63700
63701 fi
63702 done
63703
63704     fi
63705   fi
63706
63707
63708
63709
63710
63711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63712 $as_echo_n "checking for log10l declaration... " >&6; }
63713   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63714     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63715   $as_echo_n "(cached) " >&6
63716 else
63717
63718
63719       ac_ext=cpp
63720 ac_cpp='$CXXCPP $CPPFLAGS'
63721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63724
63725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63726 /* end confdefs.h.  */
63727 #include <math.h>
63728                       #ifdef HAVE_IEEEFP_H
63729                       #include <ieeefp.h>
63730                       #endif
63731
63732 int
63733 main ()
63734 {
63735  log10l(0);
63736   ;
63737   return 0;
63738 }
63739 _ACEOF
63740 if ac_fn_cxx_try_compile "$LINENO"; then :
63741   glibcxx_cv_func_log10l_use=yes
63742 else
63743   glibcxx_cv_func_log10l_use=no
63744 fi
63745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63746       ac_ext=c
63747 ac_cpp='$CPP $CPPFLAGS'
63748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63751
63752
63753 fi
63754
63755   fi
63756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63757 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63758
63759   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63760     for ac_func in log10l
63761 do :
63762   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63763 if test "x$ac_cv_func_log10l" = x""yes; then :
63764   cat >>confdefs.h <<_ACEOF
63765 #define HAVE_LOG10L 1
63766 _ACEOF
63767
63768 fi
63769 done
63770
63771   else
63772
63773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63774 $as_echo_n "checking for _log10l declaration... " >&6; }
63775   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63776     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63777   $as_echo_n "(cached) " >&6
63778 else
63779
63780
63781       ac_ext=cpp
63782 ac_cpp='$CXXCPP $CPPFLAGS'
63783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63786
63787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63788 /* end confdefs.h.  */
63789 #include <math.h>
63790                       #ifdef HAVE_IEEEFP_H
63791                       #include <ieeefp.h>
63792                       #endif
63793
63794 int
63795 main ()
63796 {
63797  _log10l(0);
63798   ;
63799   return 0;
63800 }
63801 _ACEOF
63802 if ac_fn_cxx_try_compile "$LINENO"; then :
63803   glibcxx_cv_func__log10l_use=yes
63804 else
63805   glibcxx_cv_func__log10l_use=no
63806 fi
63807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63808       ac_ext=c
63809 ac_cpp='$CPP $CPPFLAGS'
63810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63813
63814
63815 fi
63816
63817   fi
63818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63819 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63820
63821     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63822       for ac_func in _log10l
63823 do :
63824   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63825 if test "x$ac_cv_func__log10l" = x""yes; then :
63826   cat >>confdefs.h <<_ACEOF
63827 #define HAVE__LOG10L 1
63828 _ACEOF
63829
63830 fi
63831 done
63832
63833     fi
63834   fi
63835
63836
63837
63838
63839
63840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63841 $as_echo_n "checking for modfl declaration... " >&6; }
63842   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63843     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63844   $as_echo_n "(cached) " >&6
63845 else
63846
63847
63848       ac_ext=cpp
63849 ac_cpp='$CXXCPP $CPPFLAGS'
63850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63853
63854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63855 /* end confdefs.h.  */
63856 #include <math.h>
63857 int
63858 main ()
63859 {
63860  modfl(0, 0);
63861   ;
63862   return 0;
63863 }
63864 _ACEOF
63865 if ac_fn_cxx_try_compile "$LINENO"; then :
63866   glibcxx_cv_func_modfl_use=yes
63867 else
63868   glibcxx_cv_func_modfl_use=no
63869 fi
63870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63871       ac_ext=c
63872 ac_cpp='$CPP $CPPFLAGS'
63873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63876
63877
63878 fi
63879
63880   fi
63881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63882 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63883
63884   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63885     for ac_func in modfl
63886 do :
63887   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63888 if test "x$ac_cv_func_modfl" = x""yes; then :
63889   cat >>confdefs.h <<_ACEOF
63890 #define HAVE_MODFL 1
63891 _ACEOF
63892
63893 fi
63894 done
63895
63896   else
63897
63898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63899 $as_echo_n "checking for _modfl declaration... " >&6; }
63900   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63901     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63902   $as_echo_n "(cached) " >&6
63903 else
63904
63905
63906       ac_ext=cpp
63907 ac_cpp='$CXXCPP $CPPFLAGS'
63908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63911
63912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63913 /* end confdefs.h.  */
63914 #include <math.h>
63915 int
63916 main ()
63917 {
63918  _modfl(0, 0);
63919   ;
63920   return 0;
63921 }
63922 _ACEOF
63923 if ac_fn_cxx_try_compile "$LINENO"; then :
63924   glibcxx_cv_func__modfl_use=yes
63925 else
63926   glibcxx_cv_func__modfl_use=no
63927 fi
63928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63929       ac_ext=c
63930 ac_cpp='$CPP $CPPFLAGS'
63931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63934
63935
63936 fi
63937
63938   fi
63939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63940 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63941
63942     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63943       for ac_func in _modfl
63944 do :
63945   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63946 if test "x$ac_cv_func__modfl" = x""yes; then :
63947   cat >>confdefs.h <<_ACEOF
63948 #define HAVE__MODFL 1
63949 _ACEOF
63950
63951 fi
63952 done
63953
63954     fi
63955   fi
63956
63957
63958
63959
63960
63961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63962 $as_echo_n "checking for powl declaration... " >&6; }
63963   if test x${glibcxx_cv_func_powl_use+set} != xset; then
63964     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63965   $as_echo_n "(cached) " >&6
63966 else
63967
63968
63969       ac_ext=cpp
63970 ac_cpp='$CXXCPP $CPPFLAGS'
63971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63974
63975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63976 /* end confdefs.h.  */
63977 #include <math.h>
63978 int
63979 main ()
63980 {
63981  powl(0, 0);
63982   ;
63983   return 0;
63984 }
63985 _ACEOF
63986 if ac_fn_cxx_try_compile "$LINENO"; then :
63987   glibcxx_cv_func_powl_use=yes
63988 else
63989   glibcxx_cv_func_powl_use=no
63990 fi
63991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63992       ac_ext=c
63993 ac_cpp='$CPP $CPPFLAGS'
63994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63997
63998
63999 fi
64000
64001   fi
64002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64003 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64004
64005   if test x$glibcxx_cv_func_powl_use = x"yes"; then
64006     for ac_func in powl
64007 do :
64008   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64009 if test "x$ac_cv_func_powl" = x""yes; then :
64010   cat >>confdefs.h <<_ACEOF
64011 #define HAVE_POWL 1
64012 _ACEOF
64013
64014 fi
64015 done
64016
64017   else
64018
64019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64020 $as_echo_n "checking for _powl declaration... " >&6; }
64021   if test x${glibcxx_cv_func__powl_use+set} != xset; then
64022     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64023   $as_echo_n "(cached) " >&6
64024 else
64025
64026
64027       ac_ext=cpp
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64032
64033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64034 /* end confdefs.h.  */
64035 #include <math.h>
64036 int
64037 main ()
64038 {
64039  _powl(0, 0);
64040   ;
64041   return 0;
64042 }
64043 _ACEOF
64044 if ac_fn_cxx_try_compile "$LINENO"; then :
64045   glibcxx_cv_func__powl_use=yes
64046 else
64047   glibcxx_cv_func__powl_use=no
64048 fi
64049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64050       ac_ext=c
64051 ac_cpp='$CPP $CPPFLAGS'
64052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64055
64056
64057 fi
64058
64059   fi
64060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64061 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64062
64063     if test x$glibcxx_cv_func__powl_use = x"yes"; then
64064       for ac_func in _powl
64065 do :
64066   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64067 if test "x$ac_cv_func__powl" = x""yes; then :
64068   cat >>confdefs.h <<_ACEOF
64069 #define HAVE__POWL 1
64070 _ACEOF
64071
64072 fi
64073 done
64074
64075     fi
64076   fi
64077
64078
64079
64080
64081
64082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64083 $as_echo_n "checking for sqrtl declaration... " >&6; }
64084   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64085     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64086   $as_echo_n "(cached) " >&6
64087 else
64088
64089
64090       ac_ext=cpp
64091 ac_cpp='$CXXCPP $CPPFLAGS'
64092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64095
64096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64097 /* end confdefs.h.  */
64098 #include <math.h>
64099                       #ifdef HAVE_IEEEFP_H
64100                       #include <ieeefp.h>
64101                       #endif
64102
64103 int
64104 main ()
64105 {
64106  sqrtl(0);
64107   ;
64108   return 0;
64109 }
64110 _ACEOF
64111 if ac_fn_cxx_try_compile "$LINENO"; then :
64112   glibcxx_cv_func_sqrtl_use=yes
64113 else
64114   glibcxx_cv_func_sqrtl_use=no
64115 fi
64116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64117       ac_ext=c
64118 ac_cpp='$CPP $CPPFLAGS'
64119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64122
64123
64124 fi
64125
64126   fi
64127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64128 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64129
64130   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64131     for ac_func in sqrtl
64132 do :
64133   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64134 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64135   cat >>confdefs.h <<_ACEOF
64136 #define HAVE_SQRTL 1
64137 _ACEOF
64138
64139 fi
64140 done
64141
64142   else
64143
64144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64145 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64146   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64147     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64148   $as_echo_n "(cached) " >&6
64149 else
64150
64151
64152       ac_ext=cpp
64153 ac_cpp='$CXXCPP $CPPFLAGS'
64154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64157
64158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64159 /* end confdefs.h.  */
64160 #include <math.h>
64161                       #ifdef HAVE_IEEEFP_H
64162                       #include <ieeefp.h>
64163                       #endif
64164
64165 int
64166 main ()
64167 {
64168  _sqrtl(0);
64169   ;
64170   return 0;
64171 }
64172 _ACEOF
64173 if ac_fn_cxx_try_compile "$LINENO"; then :
64174   glibcxx_cv_func__sqrtl_use=yes
64175 else
64176   glibcxx_cv_func__sqrtl_use=no
64177 fi
64178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64179       ac_ext=c
64180 ac_cpp='$CPP $CPPFLAGS'
64181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64184
64185
64186 fi
64187
64188   fi
64189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64190 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64191
64192     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64193       for ac_func in _sqrtl
64194 do :
64195   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64196 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64197   cat >>confdefs.h <<_ACEOF
64198 #define HAVE__SQRTL 1
64199 _ACEOF
64200
64201 fi
64202 done
64203
64204     fi
64205   fi
64206
64207
64208
64209
64210
64211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64212 $as_echo_n "checking for sincosl declaration... " >&6; }
64213   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64214     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64215   $as_echo_n "(cached) " >&6
64216 else
64217
64218
64219       ac_ext=cpp
64220 ac_cpp='$CXXCPP $CPPFLAGS'
64221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64224
64225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64226 /* end confdefs.h.  */
64227 #include <math.h>
64228 int
64229 main ()
64230 {
64231  sincosl(0, 0, 0);
64232   ;
64233   return 0;
64234 }
64235 _ACEOF
64236 if ac_fn_cxx_try_compile "$LINENO"; then :
64237   glibcxx_cv_func_sincosl_use=yes
64238 else
64239   glibcxx_cv_func_sincosl_use=no
64240 fi
64241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64242       ac_ext=c
64243 ac_cpp='$CPP $CPPFLAGS'
64244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64247
64248
64249 fi
64250
64251   fi
64252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64253 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64254
64255   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64256     for ac_func in sincosl
64257 do :
64258   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64259 if test "x$ac_cv_func_sincosl" = x""yes; then :
64260   cat >>confdefs.h <<_ACEOF
64261 #define HAVE_SINCOSL 1
64262 _ACEOF
64263
64264 fi
64265 done
64266
64267   else
64268
64269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64270 $as_echo_n "checking for _sincosl declaration... " >&6; }
64271   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64272     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64273   $as_echo_n "(cached) " >&6
64274 else
64275
64276
64277       ac_ext=cpp
64278 ac_cpp='$CXXCPP $CPPFLAGS'
64279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64282
64283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64284 /* end confdefs.h.  */
64285 #include <math.h>
64286 int
64287 main ()
64288 {
64289  _sincosl(0, 0, 0);
64290   ;
64291   return 0;
64292 }
64293 _ACEOF
64294 if ac_fn_cxx_try_compile "$LINENO"; then :
64295   glibcxx_cv_func__sincosl_use=yes
64296 else
64297   glibcxx_cv_func__sincosl_use=no
64298 fi
64299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64300       ac_ext=c
64301 ac_cpp='$CPP $CPPFLAGS'
64302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64305
64306
64307 fi
64308
64309   fi
64310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64311 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64312
64313     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64314       for ac_func in _sincosl
64315 do :
64316   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64317 if test "x$ac_cv_func__sincosl" = x""yes; then :
64318   cat >>confdefs.h <<_ACEOF
64319 #define HAVE__SINCOSL 1
64320 _ACEOF
64321
64322 fi
64323 done
64324
64325     fi
64326   fi
64327
64328
64329
64330
64331
64332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64333 $as_echo_n "checking for finitel declaration... " >&6; }
64334   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64335     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64336   $as_echo_n "(cached) " >&6
64337 else
64338
64339
64340       ac_ext=cpp
64341 ac_cpp='$CXXCPP $CPPFLAGS'
64342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64345
64346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64347 /* end confdefs.h.  */
64348 #include <math.h>
64349                       #ifdef HAVE_IEEEFP_H
64350                       #include <ieeefp.h>
64351                       #endif
64352
64353 int
64354 main ()
64355 {
64356  finitel(0);
64357   ;
64358   return 0;
64359 }
64360 _ACEOF
64361 if ac_fn_cxx_try_compile "$LINENO"; then :
64362   glibcxx_cv_func_finitel_use=yes
64363 else
64364   glibcxx_cv_func_finitel_use=no
64365 fi
64366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64367       ac_ext=c
64368 ac_cpp='$CPP $CPPFLAGS'
64369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64372
64373
64374 fi
64375
64376   fi
64377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64378 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64379
64380   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64381     for ac_func in finitel
64382 do :
64383   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64384 if test "x$ac_cv_func_finitel" = x""yes; then :
64385   cat >>confdefs.h <<_ACEOF
64386 #define HAVE_FINITEL 1
64387 _ACEOF
64388
64389 fi
64390 done
64391
64392   else
64393
64394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64395 $as_echo_n "checking for _finitel declaration... " >&6; }
64396   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64397     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64398   $as_echo_n "(cached) " >&6
64399 else
64400
64401
64402       ac_ext=cpp
64403 ac_cpp='$CXXCPP $CPPFLAGS'
64404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64407
64408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64409 /* end confdefs.h.  */
64410 #include <math.h>
64411                       #ifdef HAVE_IEEEFP_H
64412                       #include <ieeefp.h>
64413                       #endif
64414
64415 int
64416 main ()
64417 {
64418  _finitel(0);
64419   ;
64420   return 0;
64421 }
64422 _ACEOF
64423 if ac_fn_cxx_try_compile "$LINENO"; then :
64424   glibcxx_cv_func__finitel_use=yes
64425 else
64426   glibcxx_cv_func__finitel_use=no
64427 fi
64428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64429       ac_ext=c
64430 ac_cpp='$CPP $CPPFLAGS'
64431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64434
64435
64436 fi
64437
64438   fi
64439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64440 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64441
64442     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64443       for ac_func in _finitel
64444 do :
64445   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64446 if test "x$ac_cv_func__finitel" = x""yes; then :
64447   cat >>confdefs.h <<_ACEOF
64448 #define HAVE__FINITEL 1
64449 _ACEOF
64450
64451 fi
64452 done
64453
64454     fi
64455   fi
64456
64457
64458
64459
64460   LIBS="$ac_save_LIBS"
64461   CXXFLAGS="$ac_save_CXXFLAGS"
64462
64463
64464   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64465   ac_save_CXXFLAGS="$CXXFLAGS"
64466   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64467
64468
64469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64470 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64471   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64472     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64473   $as_echo_n "(cached) " >&6
64474 else
64475
64476
64477       ac_ext=cpp
64478 ac_cpp='$CXXCPP $CPPFLAGS'
64479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64482
64483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64484 /* end confdefs.h.  */
64485 #include <stdlib.h>
64486 int
64487 main ()
64488 {
64489  at_quick_exit(0);
64490   ;
64491   return 0;
64492 }
64493 _ACEOF
64494 if ac_fn_cxx_try_compile "$LINENO"; then :
64495   glibcxx_cv_func_at_quick_exit_use=yes
64496 else
64497   glibcxx_cv_func_at_quick_exit_use=no
64498 fi
64499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64500       ac_ext=c
64501 ac_cpp='$CPP $CPPFLAGS'
64502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64505
64506
64507 fi
64508
64509   fi
64510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64511 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64512   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64513     for ac_func in at_quick_exit
64514 do :
64515   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64516 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64517   cat >>confdefs.h <<_ACEOF
64518 #define HAVE_AT_QUICK_EXIT 1
64519 _ACEOF
64520
64521 fi
64522 done
64523
64524   fi
64525
64526
64527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64528 $as_echo_n "checking for quick_exit declaration... " >&6; }
64529   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64530     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64531   $as_echo_n "(cached) " >&6
64532 else
64533
64534
64535       ac_ext=cpp
64536 ac_cpp='$CXXCPP $CPPFLAGS'
64537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64540
64541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64542 /* end confdefs.h.  */
64543 #include <stdlib.h>
64544 int
64545 main ()
64546 {
64547  quick_exit(0);
64548   ;
64549   return 0;
64550 }
64551 _ACEOF
64552 if ac_fn_cxx_try_compile "$LINENO"; then :
64553   glibcxx_cv_func_quick_exit_use=yes
64554 else
64555   glibcxx_cv_func_quick_exit_use=no
64556 fi
64557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64558       ac_ext=c
64559 ac_cpp='$CPP $CPPFLAGS'
64560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64563
64564
64565 fi
64566
64567   fi
64568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64569 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64570   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64571     for ac_func in quick_exit
64572 do :
64573   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64574 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64575   cat >>confdefs.h <<_ACEOF
64576 #define HAVE_QUICK_EXIT 1
64577 _ACEOF
64578
64579 fi
64580 done
64581
64582   fi
64583
64584
64585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64586 $as_echo_n "checking for strtold declaration... " >&6; }
64587   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64588     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64589   $as_echo_n "(cached) " >&6
64590 else
64591
64592
64593       ac_ext=cpp
64594 ac_cpp='$CXXCPP $CPPFLAGS'
64595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64598
64599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64600 /* end confdefs.h.  */
64601 #include <stdlib.h>
64602 int
64603 main ()
64604 {
64605  strtold(0, 0);
64606   ;
64607   return 0;
64608 }
64609 _ACEOF
64610 if ac_fn_cxx_try_compile "$LINENO"; then :
64611   glibcxx_cv_func_strtold_use=yes
64612 else
64613   glibcxx_cv_func_strtold_use=no
64614 fi
64615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616       ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64621
64622
64623 fi
64624
64625   fi
64626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64627 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64628   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64629     for ac_func in strtold
64630 do :
64631   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64632 if test "x$ac_cv_func_strtold" = x""yes; then :
64633   cat >>confdefs.h <<_ACEOF
64634 #define HAVE_STRTOLD 1
64635 _ACEOF
64636
64637 fi
64638 done
64639
64640   fi
64641
64642
64643
64644
64645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64646 $as_echo_n "checking for strtof declaration... " >&6; }
64647   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64648     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64649   $as_echo_n "(cached) " >&6
64650 else
64651
64652
64653       ac_ext=cpp
64654 ac_cpp='$CXXCPP $CPPFLAGS'
64655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64658
64659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64660 /* end confdefs.h.  */
64661 #include <stdlib.h>
64662 int
64663 main ()
64664 {
64665  strtof(0, 0);
64666   ;
64667   return 0;
64668 }
64669 _ACEOF
64670 if ac_fn_cxx_try_compile "$LINENO"; then :
64671   glibcxx_cv_func_strtof_use=yes
64672 else
64673   glibcxx_cv_func_strtof_use=no
64674 fi
64675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64676       ac_ext=c
64677 ac_cpp='$CPP $CPPFLAGS'
64678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64681
64682
64683 fi
64684
64685   fi
64686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64687 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64688   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64689     for ac_func in strtof
64690 do :
64691   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64692 if test "x$ac_cv_func_strtof" = x""yes; then :
64693   cat >>confdefs.h <<_ACEOF
64694 #define HAVE_STRTOF 1
64695 _ACEOF
64696
64697 fi
64698 done
64699
64700   fi
64701
64702
64703
64704
64705   CXXFLAGS="$ac_save_CXXFLAGS"
64706
64707     ;;
64708   *-solaris*)
64709     case "$target" in
64710       *-solaris2.9 | *-solaris2.10)
64711
64712   # If we're not using GNU ld, then there's no point in even trying these
64713   # tests.  Check for that first.  We should have already tested for gld
64714   # by now (in libtool), but require it now just to be safe...
64715   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64716   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64717
64718
64719
64720   # The name set by libtool depends on the version of libtool.  Shame on us
64721   # for depending on an impl detail, but c'est la vie.  Older versions used
64722   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64723   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64724   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
64725   # set (hence we're using an older libtool), then set it.
64726   if test x${with_gnu_ld+set} != xset; then
64727     if test x${ac_cv_prog_gnu_ld+set} != xset; then
64728       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
64729       with_gnu_ld=no
64730     else
64731       with_gnu_ld=$ac_cv_prog_gnu_ld
64732     fi
64733   fi
64734
64735   # Start by getting the version number.  I think the libtool test already
64736   # does some of this, but throws away the result.
64737   glibcxx_ld_is_gold=no
64738   if test x"$with_gnu_ld" = x"yes"; then
64739     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64740 $as_echo_n "checking for ld version... " >&6; }
64741
64742     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64743       glibcxx_ld_is_gold=yes
64744     fi
64745     ldver=`$LD --version 2>/dev/null |
64746            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'`
64747
64748     glibcxx_gnu_ld_version=`echo $ldver | \
64749            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64751 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64752   fi
64753
64754   # Set --gc-sections.
64755   glibcxx_have_gc_sections=no
64756   if test "$glibcxx_ld_is_gold" = "yes"; then
64757     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64758       glibcxx_have_gc_sections=yes
64759     fi
64760   else
64761     glibcxx_gcsections_min_ld=21602
64762     if test x"$with_gnu_ld" = x"yes" &&
64763         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64764       glibcxx_have_gc_sections=yes
64765     fi
64766   fi
64767   if test "$glibcxx_have_gc_sections" = "yes"; then
64768     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
64769     # NB: This flag only works reliably after 2.16.1. Configure tests
64770     # for this are difficult, so hard wire a value that should work.
64771
64772     ac_test_CFLAGS="${CFLAGS+set}"
64773     ac_save_CFLAGS="$CFLAGS"
64774     CFLAGS='-Wl,--gc-sections'
64775
64776     # Check for -Wl,--gc-sections
64777     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64778 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64779     if test x$gcc_no_link = xyes; then
64780   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64781 fi
64782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64783 /* end confdefs.h.  */
64784  int one(void) { return 1; }
64785      int two(void) { return 2; }
64786
64787 int
64788 main ()
64789 {
64790  two();
64791   ;
64792   return 0;
64793 }
64794 _ACEOF
64795 if ac_fn_c_try_link "$LINENO"; then :
64796   ac_gcsections=yes
64797 else
64798   ac_gcsections=no
64799 fi
64800 rm -f core conftest.err conftest.$ac_objext \
64801     conftest$ac_exeext conftest.$ac_ext
64802     if test "$ac_gcsections" = "yes"; then
64803       rm -f conftest.c
64804       touch conftest.c
64805       if $CC -c conftest.c; then
64806         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64807            grep "Warning: gc-sections option ignored" > /dev/null; then
64808           ac_gcsections=no
64809         fi
64810       fi
64811       rm -f conftest.c conftest.o conftest
64812     fi
64813     if test "$ac_gcsections" = "yes"; then
64814       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64815     fi
64816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64817 $as_echo "$ac_gcsections" >&6; }
64818
64819     if test "$ac_test_CFLAGS" = set; then
64820       CFLAGS="$ac_save_CFLAGS"
64821     else
64822       # this is the suspicious part
64823       CFLAGS=''
64824     fi
64825   fi
64826
64827   # Set -z,relro.
64828   # Note this is only for shared objects.
64829   ac_ld_relro=no
64830   if test x"$with_gnu_ld" = x"yes"; then
64831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64832 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64833     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64834     if test -n "$cxx_z_relo"; then
64835       OPT_LDFLAGS="-Wl,-z,relro"
64836       ac_ld_relro=yes
64837     fi
64838     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64839 $as_echo "$ac_ld_relro" >&6; }
64840   fi
64841
64842   # Set linker optimization flags.
64843   if test x"$with_gnu_ld" = x"yes"; then
64844     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64845   fi
64846
64847
64848
64849
64850          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64851
64852          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64853
64854          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64855
64856          # All of the dependencies for wide character support are here, so
64857          # turn it on.
64858          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64859
64860         ;;
64861     esac
64862     case "$target" in
64863       *-*-solaris2.10)
64864       # These two C99 functions are present only in Solaris >= 10
64865       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64866
64867       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64868
64869      ;;
64870     esac
64871     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64872
64873     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64874
64875     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64876
64877     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64878
64879     ;;
64880   *-tpf)
64881     SECTION_FLAGS='-ffunction-sections -fdata-sections'
64882     SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64883
64884     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64885
64886     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64887
64888     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64889
64890     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64891
64892     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64893
64894     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64895
64896     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64897
64898     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64899
64900     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64901
64902     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64903
64904     if test x"long_double_math_on_this_cpu" = x"yes"; then
64905       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64906
64907       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64908
64909       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64910
64911       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64912
64913     fi
64914     ;;
64915   *-*vms*)
64916     # Check for available headers.
64917     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
64918
64919   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64920   ac_save_CXXFLAGS="$CXXFLAGS"
64921   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64922
64923     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
64924 $as_echo_n "checking for sin in -lm... " >&6; }
64925 if test "${ac_cv_lib_m_sin+set}" = set; then :
64926   $as_echo_n "(cached) " >&6
64927 else
64928   ac_check_lib_save_LIBS=$LIBS
64929 LIBS="-lm  $LIBS"
64930 if test x$gcc_no_link = xyes; then
64931   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64932 fi
64933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64934 /* end confdefs.h.  */
64935
64936 /* Override any GCC internal prototype to avoid an error.
64937    Use char because int might match the return type of a GCC
64938    builtin and then its argument prototype would still apply.  */
64939 #ifdef __cplusplus
64940 extern "C"
64941 #endif
64942 char sin ();
64943 int
64944 main ()
64945 {
64946 return sin ();
64947   ;
64948   return 0;
64949 }
64950 _ACEOF
64951 if ac_fn_c_try_link "$LINENO"; then :
64952   ac_cv_lib_m_sin=yes
64953 else
64954   ac_cv_lib_m_sin=no
64955 fi
64956 rm -f core conftest.err conftest.$ac_objext \
64957     conftest$ac_exeext conftest.$ac_ext
64958 LIBS=$ac_check_lib_save_LIBS
64959 fi
64960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
64961 $as_echo "$ac_cv_lib_m_sin" >&6; }
64962 if test "x$ac_cv_lib_m_sin" = x""yes; then :
64963   libm="-lm"
64964 fi
64965
64966   ac_save_LIBS="$LIBS"
64967   LIBS="$LIBS $libm"
64968
64969
64970
64971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
64972 $as_echo_n "checking for isinf declaration... " >&6; }
64973   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64974     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64975   $as_echo_n "(cached) " >&6
64976 else
64977
64978
64979       ac_ext=cpp
64980 ac_cpp='$CXXCPP $CPPFLAGS'
64981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64984
64985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64986 /* end confdefs.h.  */
64987 #include <math.h>
64988                       #ifdef HAVE_IEEEFP_H
64989                       #include <ieeefp.h>
64990                       #endif
64991
64992 int
64993 main ()
64994 {
64995  isinf(0);
64996   ;
64997   return 0;
64998 }
64999 _ACEOF
65000 if ac_fn_cxx_try_compile "$LINENO"; then :
65001   glibcxx_cv_func_isinf_use=yes
65002 else
65003   glibcxx_cv_func_isinf_use=no
65004 fi
65005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65006       ac_ext=c
65007 ac_cpp='$CPP $CPPFLAGS'
65008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65011
65012
65013 fi
65014
65015   fi
65016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65017 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65018
65019   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65020     for ac_func in isinf
65021 do :
65022   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65023 if test "x$ac_cv_func_isinf" = x""yes; then :
65024   cat >>confdefs.h <<_ACEOF
65025 #define HAVE_ISINF 1
65026 _ACEOF
65027
65028 fi
65029 done
65030
65031   else
65032
65033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65034 $as_echo_n "checking for _isinf declaration... " >&6; }
65035   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65036     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65037   $as_echo_n "(cached) " >&6
65038 else
65039
65040
65041       ac_ext=cpp
65042 ac_cpp='$CXXCPP $CPPFLAGS'
65043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65046
65047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65048 /* end confdefs.h.  */
65049 #include <math.h>
65050                       #ifdef HAVE_IEEEFP_H
65051                       #include <ieeefp.h>
65052                       #endif
65053
65054 int
65055 main ()
65056 {
65057  _isinf(0);
65058   ;
65059   return 0;
65060 }
65061 _ACEOF
65062 if ac_fn_cxx_try_compile "$LINENO"; then :
65063   glibcxx_cv_func__isinf_use=yes
65064 else
65065   glibcxx_cv_func__isinf_use=no
65066 fi
65067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65068       ac_ext=c
65069 ac_cpp='$CPP $CPPFLAGS'
65070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65073
65074
65075 fi
65076
65077   fi
65078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65079 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65080
65081     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65082       for ac_func in _isinf
65083 do :
65084   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65085 if test "x$ac_cv_func__isinf" = x""yes; then :
65086   cat >>confdefs.h <<_ACEOF
65087 #define HAVE__ISINF 1
65088 _ACEOF
65089
65090 fi
65091 done
65092
65093     fi
65094   fi
65095
65096
65097
65098
65099
65100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65101 $as_echo_n "checking for isnan declaration... " >&6; }
65102   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65103     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65104   $as_echo_n "(cached) " >&6
65105 else
65106
65107
65108       ac_ext=cpp
65109 ac_cpp='$CXXCPP $CPPFLAGS'
65110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65113
65114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65115 /* end confdefs.h.  */
65116 #include <math.h>
65117                       #ifdef HAVE_IEEEFP_H
65118                       #include <ieeefp.h>
65119                       #endif
65120
65121 int
65122 main ()
65123 {
65124  isnan(0);
65125   ;
65126   return 0;
65127 }
65128 _ACEOF
65129 if ac_fn_cxx_try_compile "$LINENO"; then :
65130   glibcxx_cv_func_isnan_use=yes
65131 else
65132   glibcxx_cv_func_isnan_use=no
65133 fi
65134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65135       ac_ext=c
65136 ac_cpp='$CPP $CPPFLAGS'
65137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65140
65141
65142 fi
65143
65144   fi
65145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65146 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65147
65148   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65149     for ac_func in isnan
65150 do :
65151   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65152 if test "x$ac_cv_func_isnan" = x""yes; then :
65153   cat >>confdefs.h <<_ACEOF
65154 #define HAVE_ISNAN 1
65155 _ACEOF
65156
65157 fi
65158 done
65159
65160   else
65161
65162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65163 $as_echo_n "checking for _isnan declaration... " >&6; }
65164   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65165     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65166   $as_echo_n "(cached) " >&6
65167 else
65168
65169
65170       ac_ext=cpp
65171 ac_cpp='$CXXCPP $CPPFLAGS'
65172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65175
65176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65177 /* end confdefs.h.  */
65178 #include <math.h>
65179                       #ifdef HAVE_IEEEFP_H
65180                       #include <ieeefp.h>
65181                       #endif
65182
65183 int
65184 main ()
65185 {
65186  _isnan(0);
65187   ;
65188   return 0;
65189 }
65190 _ACEOF
65191 if ac_fn_cxx_try_compile "$LINENO"; then :
65192   glibcxx_cv_func__isnan_use=yes
65193 else
65194   glibcxx_cv_func__isnan_use=no
65195 fi
65196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65197       ac_ext=c
65198 ac_cpp='$CPP $CPPFLAGS'
65199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65202
65203
65204 fi
65205
65206   fi
65207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65208 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65209
65210     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65211       for ac_func in _isnan
65212 do :
65213   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65214 if test "x$ac_cv_func__isnan" = x""yes; then :
65215   cat >>confdefs.h <<_ACEOF
65216 #define HAVE__ISNAN 1
65217 _ACEOF
65218
65219 fi
65220 done
65221
65222     fi
65223   fi
65224
65225
65226
65227
65228
65229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65230 $as_echo_n "checking for finite declaration... " >&6; }
65231   if test x${glibcxx_cv_func_finite_use+set} != xset; then
65232     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65233   $as_echo_n "(cached) " >&6
65234 else
65235
65236
65237       ac_ext=cpp
65238 ac_cpp='$CXXCPP $CPPFLAGS'
65239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65242
65243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65244 /* end confdefs.h.  */
65245 #include <math.h>
65246                       #ifdef HAVE_IEEEFP_H
65247                       #include <ieeefp.h>
65248                       #endif
65249
65250 int
65251 main ()
65252 {
65253  finite(0);
65254   ;
65255   return 0;
65256 }
65257 _ACEOF
65258 if ac_fn_cxx_try_compile "$LINENO"; then :
65259   glibcxx_cv_func_finite_use=yes
65260 else
65261   glibcxx_cv_func_finite_use=no
65262 fi
65263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65264       ac_ext=c
65265 ac_cpp='$CPP $CPPFLAGS'
65266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65269
65270
65271 fi
65272
65273   fi
65274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65275 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65276
65277   if test x$glibcxx_cv_func_finite_use = x"yes"; then
65278     for ac_func in finite
65279 do :
65280   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65281 if test "x$ac_cv_func_finite" = x""yes; then :
65282   cat >>confdefs.h <<_ACEOF
65283 #define HAVE_FINITE 1
65284 _ACEOF
65285
65286 fi
65287 done
65288
65289   else
65290
65291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65292 $as_echo_n "checking for _finite declaration... " >&6; }
65293   if test x${glibcxx_cv_func__finite_use+set} != xset; then
65294     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65295   $as_echo_n "(cached) " >&6
65296 else
65297
65298
65299       ac_ext=cpp
65300 ac_cpp='$CXXCPP $CPPFLAGS'
65301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65304
65305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65306 /* end confdefs.h.  */
65307 #include <math.h>
65308                       #ifdef HAVE_IEEEFP_H
65309                       #include <ieeefp.h>
65310                       #endif
65311
65312 int
65313 main ()
65314 {
65315  _finite(0);
65316   ;
65317   return 0;
65318 }
65319 _ACEOF
65320 if ac_fn_cxx_try_compile "$LINENO"; then :
65321   glibcxx_cv_func__finite_use=yes
65322 else
65323   glibcxx_cv_func__finite_use=no
65324 fi
65325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65326       ac_ext=c
65327 ac_cpp='$CPP $CPPFLAGS'
65328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65331
65332
65333 fi
65334
65335   fi
65336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65337 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65338
65339     if test x$glibcxx_cv_func__finite_use = x"yes"; then
65340       for ac_func in _finite
65341 do :
65342   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65343 if test "x$ac_cv_func__finite" = x""yes; then :
65344   cat >>confdefs.h <<_ACEOF
65345 #define HAVE__FINITE 1
65346 _ACEOF
65347
65348 fi
65349 done
65350
65351     fi
65352   fi
65353
65354
65355
65356
65357
65358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65359 $as_echo_n "checking for sincos declaration... " >&6; }
65360   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65361     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65362   $as_echo_n "(cached) " >&6
65363 else
65364
65365
65366       ac_ext=cpp
65367 ac_cpp='$CXXCPP $CPPFLAGS'
65368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65371
65372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65373 /* end confdefs.h.  */
65374 #include <math.h>
65375 int
65376 main ()
65377 {
65378  sincos(0, 0, 0);
65379   ;
65380   return 0;
65381 }
65382 _ACEOF
65383 if ac_fn_cxx_try_compile "$LINENO"; then :
65384   glibcxx_cv_func_sincos_use=yes
65385 else
65386   glibcxx_cv_func_sincos_use=no
65387 fi
65388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65389       ac_ext=c
65390 ac_cpp='$CPP $CPPFLAGS'
65391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65394
65395
65396 fi
65397
65398   fi
65399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65400 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65401
65402   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65403     for ac_func in sincos
65404 do :
65405   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65406 if test "x$ac_cv_func_sincos" = x""yes; then :
65407   cat >>confdefs.h <<_ACEOF
65408 #define HAVE_SINCOS 1
65409 _ACEOF
65410
65411 fi
65412 done
65413
65414   else
65415
65416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65417 $as_echo_n "checking for _sincos declaration... " >&6; }
65418   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65419     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65420   $as_echo_n "(cached) " >&6
65421 else
65422
65423
65424       ac_ext=cpp
65425 ac_cpp='$CXXCPP $CPPFLAGS'
65426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65429
65430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65431 /* end confdefs.h.  */
65432 #include <math.h>
65433 int
65434 main ()
65435 {
65436  _sincos(0, 0, 0);
65437   ;
65438   return 0;
65439 }
65440 _ACEOF
65441 if ac_fn_cxx_try_compile "$LINENO"; then :
65442   glibcxx_cv_func__sincos_use=yes
65443 else
65444   glibcxx_cv_func__sincos_use=no
65445 fi
65446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65447       ac_ext=c
65448 ac_cpp='$CPP $CPPFLAGS'
65449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65452
65453
65454 fi
65455
65456   fi
65457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65458 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65459
65460     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65461       for ac_func in _sincos
65462 do :
65463   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65464 if test "x$ac_cv_func__sincos" = x""yes; then :
65465   cat >>confdefs.h <<_ACEOF
65466 #define HAVE__SINCOS 1
65467 _ACEOF
65468
65469 fi
65470 done
65471
65472     fi
65473   fi
65474
65475
65476
65477
65478
65479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65480 $as_echo_n "checking for fpclass declaration... " >&6; }
65481   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65482     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65483   $as_echo_n "(cached) " >&6
65484 else
65485
65486
65487       ac_ext=cpp
65488 ac_cpp='$CXXCPP $CPPFLAGS'
65489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65492
65493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65494 /* end confdefs.h.  */
65495 #include <math.h>
65496                       #ifdef HAVE_IEEEFP_H
65497                       #include <ieeefp.h>
65498                       #endif
65499
65500 int
65501 main ()
65502 {
65503  fpclass(0);
65504   ;
65505   return 0;
65506 }
65507 _ACEOF
65508 if ac_fn_cxx_try_compile "$LINENO"; then :
65509   glibcxx_cv_func_fpclass_use=yes
65510 else
65511   glibcxx_cv_func_fpclass_use=no
65512 fi
65513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65514       ac_ext=c
65515 ac_cpp='$CPP $CPPFLAGS'
65516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65519
65520
65521 fi
65522
65523   fi
65524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65525 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65526
65527   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65528     for ac_func in fpclass
65529 do :
65530   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65531 if test "x$ac_cv_func_fpclass" = x""yes; then :
65532   cat >>confdefs.h <<_ACEOF
65533 #define HAVE_FPCLASS 1
65534 _ACEOF
65535
65536 fi
65537 done
65538
65539   else
65540
65541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65542 $as_echo_n "checking for _fpclass declaration... " >&6; }
65543   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65544     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65545   $as_echo_n "(cached) " >&6
65546 else
65547
65548
65549       ac_ext=cpp
65550 ac_cpp='$CXXCPP $CPPFLAGS'
65551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65554
65555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65556 /* end confdefs.h.  */
65557 #include <math.h>
65558                       #ifdef HAVE_IEEEFP_H
65559                       #include <ieeefp.h>
65560                       #endif
65561
65562 int
65563 main ()
65564 {
65565  _fpclass(0);
65566   ;
65567   return 0;
65568 }
65569 _ACEOF
65570 if ac_fn_cxx_try_compile "$LINENO"; then :
65571   glibcxx_cv_func__fpclass_use=yes
65572 else
65573   glibcxx_cv_func__fpclass_use=no
65574 fi
65575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65576       ac_ext=c
65577 ac_cpp='$CPP $CPPFLAGS'
65578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65581
65582
65583 fi
65584
65585   fi
65586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65587 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65588
65589     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65590       for ac_func in _fpclass
65591 do :
65592   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65593 if test "x$ac_cv_func__fpclass" = x""yes; then :
65594   cat >>confdefs.h <<_ACEOF
65595 #define HAVE__FPCLASS 1
65596 _ACEOF
65597
65598 fi
65599 done
65600
65601     fi
65602   fi
65603
65604
65605
65606
65607
65608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65609 $as_echo_n "checking for qfpclass declaration... " >&6; }
65610   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65611     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65612   $as_echo_n "(cached) " >&6
65613 else
65614
65615
65616       ac_ext=cpp
65617 ac_cpp='$CXXCPP $CPPFLAGS'
65618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65621
65622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65623 /* end confdefs.h.  */
65624 #include <math.h>
65625                       #ifdef HAVE_IEEEFP_H
65626                       #include <ieeefp.h>
65627                       #endif
65628
65629 int
65630 main ()
65631 {
65632  qfpclass(0);
65633   ;
65634   return 0;
65635 }
65636 _ACEOF
65637 if ac_fn_cxx_try_compile "$LINENO"; then :
65638   glibcxx_cv_func_qfpclass_use=yes
65639 else
65640   glibcxx_cv_func_qfpclass_use=no
65641 fi
65642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65643       ac_ext=c
65644 ac_cpp='$CPP $CPPFLAGS'
65645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65648
65649
65650 fi
65651
65652   fi
65653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65654 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65655
65656   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65657     for ac_func in qfpclass
65658 do :
65659   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65660 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65661   cat >>confdefs.h <<_ACEOF
65662 #define HAVE_QFPCLASS 1
65663 _ACEOF
65664
65665 fi
65666 done
65667
65668   else
65669
65670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65671 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65672   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65673     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65674   $as_echo_n "(cached) " >&6
65675 else
65676
65677
65678       ac_ext=cpp
65679 ac_cpp='$CXXCPP $CPPFLAGS'
65680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65683
65684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65685 /* end confdefs.h.  */
65686 #include <math.h>
65687                       #ifdef HAVE_IEEEFP_H
65688                       #include <ieeefp.h>
65689                       #endif
65690
65691 int
65692 main ()
65693 {
65694  _qfpclass(0);
65695   ;
65696   return 0;
65697 }
65698 _ACEOF
65699 if ac_fn_cxx_try_compile "$LINENO"; then :
65700   glibcxx_cv_func__qfpclass_use=yes
65701 else
65702   glibcxx_cv_func__qfpclass_use=no
65703 fi
65704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65705       ac_ext=c
65706 ac_cpp='$CPP $CPPFLAGS'
65707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65710
65711
65712 fi
65713
65714   fi
65715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65716 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65717
65718     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65719       for ac_func in _qfpclass
65720 do :
65721   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65722 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65723   cat >>confdefs.h <<_ACEOF
65724 #define HAVE__QFPCLASS 1
65725 _ACEOF
65726
65727 fi
65728 done
65729
65730     fi
65731   fi
65732
65733
65734
65735
65736
65737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65738 $as_echo_n "checking for hypot declaration... " >&6; }
65739   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65740     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65741   $as_echo_n "(cached) " >&6
65742 else
65743
65744
65745       ac_ext=cpp
65746 ac_cpp='$CXXCPP $CPPFLAGS'
65747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65750
65751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65752 /* end confdefs.h.  */
65753 #include <math.h>
65754 int
65755 main ()
65756 {
65757  hypot(0, 0);
65758   ;
65759   return 0;
65760 }
65761 _ACEOF
65762 if ac_fn_cxx_try_compile "$LINENO"; then :
65763   glibcxx_cv_func_hypot_use=yes
65764 else
65765   glibcxx_cv_func_hypot_use=no
65766 fi
65767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65768       ac_ext=c
65769 ac_cpp='$CPP $CPPFLAGS'
65770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65773
65774
65775 fi
65776
65777   fi
65778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65779 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65780
65781   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65782     for ac_func in hypot
65783 do :
65784   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65785 if test "x$ac_cv_func_hypot" = x""yes; then :
65786   cat >>confdefs.h <<_ACEOF
65787 #define HAVE_HYPOT 1
65788 _ACEOF
65789
65790 fi
65791 done
65792
65793   else
65794
65795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65796 $as_echo_n "checking for _hypot declaration... " >&6; }
65797   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65798     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65799   $as_echo_n "(cached) " >&6
65800 else
65801
65802
65803       ac_ext=cpp
65804 ac_cpp='$CXXCPP $CPPFLAGS'
65805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65808
65809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65810 /* end confdefs.h.  */
65811 #include <math.h>
65812 int
65813 main ()
65814 {
65815  _hypot(0, 0);
65816   ;
65817   return 0;
65818 }
65819 _ACEOF
65820 if ac_fn_cxx_try_compile "$LINENO"; then :
65821   glibcxx_cv_func__hypot_use=yes
65822 else
65823   glibcxx_cv_func__hypot_use=no
65824 fi
65825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65826       ac_ext=c
65827 ac_cpp='$CPP $CPPFLAGS'
65828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65831
65832
65833 fi
65834
65835   fi
65836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65837 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65838
65839     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65840       for ac_func in _hypot
65841 do :
65842   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65843 if test "x$ac_cv_func__hypot" = x""yes; then :
65844   cat >>confdefs.h <<_ACEOF
65845 #define HAVE__HYPOT 1
65846 _ACEOF
65847
65848 fi
65849 done
65850
65851     fi
65852   fi
65853
65854
65855
65856
65857
65858     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65859 $as_echo_n "checking for float trig functions... " >&6; }
65860   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65861   $as_echo_n "(cached) " >&6
65862 else
65863
65864
65865     ac_ext=cpp
65866 ac_cpp='$CXXCPP $CPPFLAGS'
65867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65870
65871     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65872 /* end confdefs.h.  */
65873 #include <math.h>
65874 int
65875 main ()
65876 {
65877 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65878   ;
65879   return 0;
65880 }
65881 _ACEOF
65882 if ac_fn_cxx_try_compile "$LINENO"; then :
65883   glibcxx_cv_func_float_trig_use=yes
65884 else
65885   glibcxx_cv_func_float_trig_use=no
65886 fi
65887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65888     ac_ext=c
65889 ac_cpp='$CPP $CPPFLAGS'
65890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65893
65894 fi
65895
65896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65897 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65898   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65899     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65900 do :
65901   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65903 eval as_val=\$$as_ac_var
65904    if test "x$as_val" = x""yes; then :
65905   cat >>confdefs.h <<_ACEOF
65906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65907 _ACEOF
65908
65909 fi
65910 done
65911
65912   else
65913     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
65914 $as_echo_n "checking for _float trig functions... " >&6; }
65915     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
65916   $as_echo_n "(cached) " >&6
65917 else
65918
65919
65920       ac_ext=cpp
65921 ac_cpp='$CXXCPP $CPPFLAGS'
65922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65925
65926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65927 /* end confdefs.h.  */
65928 #include <math.h>
65929 int
65930 main ()
65931 {
65932 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
65933   ;
65934   return 0;
65935 }
65936 _ACEOF
65937 if ac_fn_cxx_try_compile "$LINENO"; then :
65938   glibcxx_cv_func__float_trig_use=yes
65939 else
65940   glibcxx_cv_func__float_trig_use=no
65941 fi
65942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65943       ac_ext=c
65944 ac_cpp='$CPP $CPPFLAGS'
65945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65948
65949 fi
65950
65951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65952 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65953     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65954       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65955 do :
65956   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65958 eval as_val=\$$as_ac_var
65959    if test "x$as_val" = x""yes; then :
65960   cat >>confdefs.h <<_ACEOF
65961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65962 _ACEOF
65963
65964 fi
65965 done
65966
65967     fi
65968   fi
65969
65970
65971
65972
65973
65974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65975 $as_echo_n "checking for float round functions... " >&6; }
65976   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65977   $as_echo_n "(cached) " >&6
65978 else
65979
65980
65981     ac_ext=cpp
65982 ac_cpp='$CXXCPP $CPPFLAGS'
65983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65986
65987     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65988 /* end confdefs.h.  */
65989 #include <math.h>
65990 int
65991 main ()
65992 {
65993 ceilf (0); floorf (0);
65994   ;
65995   return 0;
65996 }
65997 _ACEOF
65998 if ac_fn_cxx_try_compile "$LINENO"; then :
65999   glibcxx_cv_func_float_round_use=yes
66000 else
66001   glibcxx_cv_func_float_round_use=no
66002 fi
66003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66004     ac_ext=c
66005 ac_cpp='$CPP $CPPFLAGS'
66006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66009
66010 fi
66011
66012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66013 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66014   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66015     for ac_func in ceilf floorf
66016 do :
66017   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66019 eval as_val=\$$as_ac_var
66020    if test "x$as_val" = x""yes; then :
66021   cat >>confdefs.h <<_ACEOF
66022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66023 _ACEOF
66024
66025 fi
66026 done
66027
66028   else
66029     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66030 $as_echo_n "checking for _float round functions... " >&6; }
66031     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66032   $as_echo_n "(cached) " >&6
66033 else
66034
66035
66036       ac_ext=cpp
66037 ac_cpp='$CXXCPP $CPPFLAGS'
66038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66041
66042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66043 /* end confdefs.h.  */
66044 #include <math.h>
66045 int
66046 main ()
66047 {
66048 _ceilf (0); _floorf (0);
66049   ;
66050   return 0;
66051 }
66052 _ACEOF
66053 if ac_fn_cxx_try_compile "$LINENO"; then :
66054   glibcxx_cv_func__float_round_use=yes
66055 else
66056   glibcxx_cv_func__float_round_use=no
66057 fi
66058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66059       ac_ext=c
66060 ac_cpp='$CPP $CPPFLAGS'
66061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66064
66065 fi
66066
66067     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66068 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66069     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66070       for ac_func in _ceilf _floorf
66071 do :
66072   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66074 eval as_val=\$$as_ac_var
66075    if test "x$as_val" = x""yes; then :
66076   cat >>confdefs.h <<_ACEOF
66077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66078 _ACEOF
66079
66080 fi
66081 done
66082
66083     fi
66084   fi
66085
66086
66087
66088
66089
66090
66091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66092 $as_echo_n "checking for expf declaration... " >&6; }
66093   if test x${glibcxx_cv_func_expf_use+set} != xset; then
66094     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66095   $as_echo_n "(cached) " >&6
66096 else
66097
66098
66099       ac_ext=cpp
66100 ac_cpp='$CXXCPP $CPPFLAGS'
66101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66104
66105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66106 /* end confdefs.h.  */
66107 #include <math.h>
66108                       #ifdef HAVE_IEEEFP_H
66109                       #include <ieeefp.h>
66110                       #endif
66111
66112 int
66113 main ()
66114 {
66115  expf(0);
66116   ;
66117   return 0;
66118 }
66119 _ACEOF
66120 if ac_fn_cxx_try_compile "$LINENO"; then :
66121   glibcxx_cv_func_expf_use=yes
66122 else
66123   glibcxx_cv_func_expf_use=no
66124 fi
66125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66126       ac_ext=c
66127 ac_cpp='$CPP $CPPFLAGS'
66128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66131
66132
66133 fi
66134
66135   fi
66136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66137 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66138
66139   if test x$glibcxx_cv_func_expf_use = x"yes"; then
66140     for ac_func in expf
66141 do :
66142   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66143 if test "x$ac_cv_func_expf" = x""yes; then :
66144   cat >>confdefs.h <<_ACEOF
66145 #define HAVE_EXPF 1
66146 _ACEOF
66147
66148 fi
66149 done
66150
66151   else
66152
66153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66154 $as_echo_n "checking for _expf declaration... " >&6; }
66155   if test x${glibcxx_cv_func__expf_use+set} != xset; then
66156     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66157   $as_echo_n "(cached) " >&6
66158 else
66159
66160
66161       ac_ext=cpp
66162 ac_cpp='$CXXCPP $CPPFLAGS'
66163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66166
66167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66168 /* end confdefs.h.  */
66169 #include <math.h>
66170                       #ifdef HAVE_IEEEFP_H
66171                       #include <ieeefp.h>
66172                       #endif
66173
66174 int
66175 main ()
66176 {
66177  _expf(0);
66178   ;
66179   return 0;
66180 }
66181 _ACEOF
66182 if ac_fn_cxx_try_compile "$LINENO"; then :
66183   glibcxx_cv_func__expf_use=yes
66184 else
66185   glibcxx_cv_func__expf_use=no
66186 fi
66187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66188       ac_ext=c
66189 ac_cpp='$CPP $CPPFLAGS'
66190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66193
66194
66195 fi
66196
66197   fi
66198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66199 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66200
66201     if test x$glibcxx_cv_func__expf_use = x"yes"; then
66202       for ac_func in _expf
66203 do :
66204   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66205 if test "x$ac_cv_func__expf" = x""yes; then :
66206   cat >>confdefs.h <<_ACEOF
66207 #define HAVE__EXPF 1
66208 _ACEOF
66209
66210 fi
66211 done
66212
66213     fi
66214   fi
66215
66216
66217
66218
66219
66220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66221 $as_echo_n "checking for isnanf declaration... " >&6; }
66222   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66223     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66224   $as_echo_n "(cached) " >&6
66225 else
66226
66227
66228       ac_ext=cpp
66229 ac_cpp='$CXXCPP $CPPFLAGS'
66230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66233
66234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66235 /* end confdefs.h.  */
66236 #include <math.h>
66237                       #ifdef HAVE_IEEEFP_H
66238                       #include <ieeefp.h>
66239                       #endif
66240
66241 int
66242 main ()
66243 {
66244  isnanf(0);
66245   ;
66246   return 0;
66247 }
66248 _ACEOF
66249 if ac_fn_cxx_try_compile "$LINENO"; then :
66250   glibcxx_cv_func_isnanf_use=yes
66251 else
66252   glibcxx_cv_func_isnanf_use=no
66253 fi
66254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66255       ac_ext=c
66256 ac_cpp='$CPP $CPPFLAGS'
66257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66260
66261
66262 fi
66263
66264   fi
66265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66266 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66267
66268   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66269     for ac_func in isnanf
66270 do :
66271   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66272 if test "x$ac_cv_func_isnanf" = x""yes; then :
66273   cat >>confdefs.h <<_ACEOF
66274 #define HAVE_ISNANF 1
66275 _ACEOF
66276
66277 fi
66278 done
66279
66280   else
66281
66282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66283 $as_echo_n "checking for _isnanf declaration... " >&6; }
66284   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66285     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66286   $as_echo_n "(cached) " >&6
66287 else
66288
66289
66290       ac_ext=cpp
66291 ac_cpp='$CXXCPP $CPPFLAGS'
66292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66295
66296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66297 /* end confdefs.h.  */
66298 #include <math.h>
66299                       #ifdef HAVE_IEEEFP_H
66300                       #include <ieeefp.h>
66301                       #endif
66302
66303 int
66304 main ()
66305 {
66306  _isnanf(0);
66307   ;
66308   return 0;
66309 }
66310 _ACEOF
66311 if ac_fn_cxx_try_compile "$LINENO"; then :
66312   glibcxx_cv_func__isnanf_use=yes
66313 else
66314   glibcxx_cv_func__isnanf_use=no
66315 fi
66316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66317       ac_ext=c
66318 ac_cpp='$CPP $CPPFLAGS'
66319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66322
66323
66324 fi
66325
66326   fi
66327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66328 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66329
66330     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66331       for ac_func in _isnanf
66332 do :
66333   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66334 if test "x$ac_cv_func__isnanf" = x""yes; then :
66335   cat >>confdefs.h <<_ACEOF
66336 #define HAVE__ISNANF 1
66337 _ACEOF
66338
66339 fi
66340 done
66341
66342     fi
66343   fi
66344
66345
66346
66347
66348
66349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66350 $as_echo_n "checking for isinff declaration... " >&6; }
66351   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66352     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66353   $as_echo_n "(cached) " >&6
66354 else
66355
66356
66357       ac_ext=cpp
66358 ac_cpp='$CXXCPP $CPPFLAGS'
66359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66362
66363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66364 /* end confdefs.h.  */
66365 #include <math.h>
66366                       #ifdef HAVE_IEEEFP_H
66367                       #include <ieeefp.h>
66368                       #endif
66369
66370 int
66371 main ()
66372 {
66373  isinff(0);
66374   ;
66375   return 0;
66376 }
66377 _ACEOF
66378 if ac_fn_cxx_try_compile "$LINENO"; then :
66379   glibcxx_cv_func_isinff_use=yes
66380 else
66381   glibcxx_cv_func_isinff_use=no
66382 fi
66383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66384       ac_ext=c
66385 ac_cpp='$CPP $CPPFLAGS'
66386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66389
66390
66391 fi
66392
66393   fi
66394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66395 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66396
66397   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66398     for ac_func in isinff
66399 do :
66400   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66401 if test "x$ac_cv_func_isinff" = x""yes; then :
66402   cat >>confdefs.h <<_ACEOF
66403 #define HAVE_ISINFF 1
66404 _ACEOF
66405
66406 fi
66407 done
66408
66409   else
66410
66411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66412 $as_echo_n "checking for _isinff declaration... " >&6; }
66413   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66414     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66415   $as_echo_n "(cached) " >&6
66416 else
66417
66418
66419       ac_ext=cpp
66420 ac_cpp='$CXXCPP $CPPFLAGS'
66421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66424
66425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66426 /* end confdefs.h.  */
66427 #include <math.h>
66428                       #ifdef HAVE_IEEEFP_H
66429                       #include <ieeefp.h>
66430                       #endif
66431
66432 int
66433 main ()
66434 {
66435  _isinff(0);
66436   ;
66437   return 0;
66438 }
66439 _ACEOF
66440 if ac_fn_cxx_try_compile "$LINENO"; then :
66441   glibcxx_cv_func__isinff_use=yes
66442 else
66443   glibcxx_cv_func__isinff_use=no
66444 fi
66445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66446       ac_ext=c
66447 ac_cpp='$CPP $CPPFLAGS'
66448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66451
66452
66453 fi
66454
66455   fi
66456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66457 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66458
66459     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66460       for ac_func in _isinff
66461 do :
66462   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66463 if test "x$ac_cv_func__isinff" = x""yes; then :
66464   cat >>confdefs.h <<_ACEOF
66465 #define HAVE__ISINFF 1
66466 _ACEOF
66467
66468 fi
66469 done
66470
66471     fi
66472   fi
66473
66474
66475
66476
66477
66478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66479 $as_echo_n "checking for atan2f declaration... " >&6; }
66480   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66481     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66482   $as_echo_n "(cached) " >&6
66483 else
66484
66485
66486       ac_ext=cpp
66487 ac_cpp='$CXXCPP $CPPFLAGS'
66488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66491
66492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66493 /* end confdefs.h.  */
66494 #include <math.h>
66495 int
66496 main ()
66497 {
66498  atan2f(0, 0);
66499   ;
66500   return 0;
66501 }
66502 _ACEOF
66503 if ac_fn_cxx_try_compile "$LINENO"; then :
66504   glibcxx_cv_func_atan2f_use=yes
66505 else
66506   glibcxx_cv_func_atan2f_use=no
66507 fi
66508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66509       ac_ext=c
66510 ac_cpp='$CPP $CPPFLAGS'
66511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66514
66515
66516 fi
66517
66518   fi
66519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66520 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66521
66522   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66523     for ac_func in atan2f
66524 do :
66525   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66526 if test "x$ac_cv_func_atan2f" = x""yes; then :
66527   cat >>confdefs.h <<_ACEOF
66528 #define HAVE_ATAN2F 1
66529 _ACEOF
66530
66531 fi
66532 done
66533
66534   else
66535
66536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66537 $as_echo_n "checking for _atan2f declaration... " >&6; }
66538   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66539     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66540   $as_echo_n "(cached) " >&6
66541 else
66542
66543
66544       ac_ext=cpp
66545 ac_cpp='$CXXCPP $CPPFLAGS'
66546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66549
66550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66551 /* end confdefs.h.  */
66552 #include <math.h>
66553 int
66554 main ()
66555 {
66556  _atan2f(0, 0);
66557   ;
66558   return 0;
66559 }
66560 _ACEOF
66561 if ac_fn_cxx_try_compile "$LINENO"; then :
66562   glibcxx_cv_func__atan2f_use=yes
66563 else
66564   glibcxx_cv_func__atan2f_use=no
66565 fi
66566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66567       ac_ext=c
66568 ac_cpp='$CPP $CPPFLAGS'
66569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66572
66573
66574 fi
66575
66576   fi
66577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66578 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66579
66580     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66581       for ac_func in _atan2f
66582 do :
66583   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66584 if test "x$ac_cv_func__atan2f" = x""yes; then :
66585   cat >>confdefs.h <<_ACEOF
66586 #define HAVE__ATAN2F 1
66587 _ACEOF
66588
66589 fi
66590 done
66591
66592     fi
66593   fi
66594
66595
66596
66597
66598
66599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66600 $as_echo_n "checking for fabsf declaration... " >&6; }
66601   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66602     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66603   $as_echo_n "(cached) " >&6
66604 else
66605
66606
66607       ac_ext=cpp
66608 ac_cpp='$CXXCPP $CPPFLAGS'
66609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66612
66613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66614 /* end confdefs.h.  */
66615 #include <math.h>
66616                       #ifdef HAVE_IEEEFP_H
66617                       #include <ieeefp.h>
66618                       #endif
66619
66620 int
66621 main ()
66622 {
66623  fabsf(0);
66624   ;
66625   return 0;
66626 }
66627 _ACEOF
66628 if ac_fn_cxx_try_compile "$LINENO"; then :
66629   glibcxx_cv_func_fabsf_use=yes
66630 else
66631   glibcxx_cv_func_fabsf_use=no
66632 fi
66633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66634       ac_ext=c
66635 ac_cpp='$CPP $CPPFLAGS'
66636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66639
66640
66641 fi
66642
66643   fi
66644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66645 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66646
66647   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66648     for ac_func in fabsf
66649 do :
66650   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66651 if test "x$ac_cv_func_fabsf" = x""yes; then :
66652   cat >>confdefs.h <<_ACEOF
66653 #define HAVE_FABSF 1
66654 _ACEOF
66655
66656 fi
66657 done
66658
66659   else
66660
66661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66662 $as_echo_n "checking for _fabsf declaration... " >&6; }
66663   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66664     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66665   $as_echo_n "(cached) " >&6
66666 else
66667
66668
66669       ac_ext=cpp
66670 ac_cpp='$CXXCPP $CPPFLAGS'
66671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66674
66675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66676 /* end confdefs.h.  */
66677 #include <math.h>
66678                       #ifdef HAVE_IEEEFP_H
66679                       #include <ieeefp.h>
66680                       #endif
66681
66682 int
66683 main ()
66684 {
66685  _fabsf(0);
66686   ;
66687   return 0;
66688 }
66689 _ACEOF
66690 if ac_fn_cxx_try_compile "$LINENO"; then :
66691   glibcxx_cv_func__fabsf_use=yes
66692 else
66693   glibcxx_cv_func__fabsf_use=no
66694 fi
66695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66696       ac_ext=c
66697 ac_cpp='$CPP $CPPFLAGS'
66698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66701
66702
66703 fi
66704
66705   fi
66706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66707 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66708
66709     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66710       for ac_func in _fabsf
66711 do :
66712   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66713 if test "x$ac_cv_func__fabsf" = x""yes; then :
66714   cat >>confdefs.h <<_ACEOF
66715 #define HAVE__FABSF 1
66716 _ACEOF
66717
66718 fi
66719 done
66720
66721     fi
66722   fi
66723
66724
66725
66726
66727
66728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66729 $as_echo_n "checking for fmodf declaration... " >&6; }
66730   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66731     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66732   $as_echo_n "(cached) " >&6
66733 else
66734
66735
66736       ac_ext=cpp
66737 ac_cpp='$CXXCPP $CPPFLAGS'
66738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66741
66742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66743 /* end confdefs.h.  */
66744 #include <math.h>
66745 int
66746 main ()
66747 {
66748  fmodf(0, 0);
66749   ;
66750   return 0;
66751 }
66752 _ACEOF
66753 if ac_fn_cxx_try_compile "$LINENO"; then :
66754   glibcxx_cv_func_fmodf_use=yes
66755 else
66756   glibcxx_cv_func_fmodf_use=no
66757 fi
66758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66759       ac_ext=c
66760 ac_cpp='$CPP $CPPFLAGS'
66761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66764
66765
66766 fi
66767
66768   fi
66769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66770 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66771
66772   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66773     for ac_func in fmodf
66774 do :
66775   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66776 if test "x$ac_cv_func_fmodf" = x""yes; then :
66777   cat >>confdefs.h <<_ACEOF
66778 #define HAVE_FMODF 1
66779 _ACEOF
66780
66781 fi
66782 done
66783
66784   else
66785
66786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66787 $as_echo_n "checking for _fmodf declaration... " >&6; }
66788   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66789     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66790   $as_echo_n "(cached) " >&6
66791 else
66792
66793
66794       ac_ext=cpp
66795 ac_cpp='$CXXCPP $CPPFLAGS'
66796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66799
66800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66801 /* end confdefs.h.  */
66802 #include <math.h>
66803 int
66804 main ()
66805 {
66806  _fmodf(0, 0);
66807   ;
66808   return 0;
66809 }
66810 _ACEOF
66811 if ac_fn_cxx_try_compile "$LINENO"; then :
66812   glibcxx_cv_func__fmodf_use=yes
66813 else
66814   glibcxx_cv_func__fmodf_use=no
66815 fi
66816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66817       ac_ext=c
66818 ac_cpp='$CPP $CPPFLAGS'
66819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66822
66823
66824 fi
66825
66826   fi
66827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66828 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66829
66830     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66831       for ac_func in _fmodf
66832 do :
66833   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66834 if test "x$ac_cv_func__fmodf" = x""yes; then :
66835   cat >>confdefs.h <<_ACEOF
66836 #define HAVE__FMODF 1
66837 _ACEOF
66838
66839 fi
66840 done
66841
66842     fi
66843   fi
66844
66845
66846
66847
66848
66849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66850 $as_echo_n "checking for frexpf declaration... " >&6; }
66851   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66852     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66853   $as_echo_n "(cached) " >&6
66854 else
66855
66856
66857       ac_ext=cpp
66858 ac_cpp='$CXXCPP $CPPFLAGS'
66859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66862
66863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h.  */
66865 #include <math.h>
66866 int
66867 main ()
66868 {
66869  frexpf(0, 0);
66870   ;
66871   return 0;
66872 }
66873 _ACEOF
66874 if ac_fn_cxx_try_compile "$LINENO"; then :
66875   glibcxx_cv_func_frexpf_use=yes
66876 else
66877   glibcxx_cv_func_frexpf_use=no
66878 fi
66879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66880       ac_ext=c
66881 ac_cpp='$CPP $CPPFLAGS'
66882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66885
66886
66887 fi
66888
66889   fi
66890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66891 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66892
66893   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66894     for ac_func in frexpf
66895 do :
66896   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66897 if test "x$ac_cv_func_frexpf" = x""yes; then :
66898   cat >>confdefs.h <<_ACEOF
66899 #define HAVE_FREXPF 1
66900 _ACEOF
66901
66902 fi
66903 done
66904
66905   else
66906
66907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66908 $as_echo_n "checking for _frexpf declaration... " >&6; }
66909   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
66910     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
66911   $as_echo_n "(cached) " >&6
66912 else
66913
66914
66915       ac_ext=cpp
66916 ac_cpp='$CXXCPP $CPPFLAGS'
66917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66920
66921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66922 /* end confdefs.h.  */
66923 #include <math.h>
66924 int
66925 main ()
66926 {
66927  _frexpf(0, 0);
66928   ;
66929   return 0;
66930 }
66931 _ACEOF
66932 if ac_fn_cxx_try_compile "$LINENO"; then :
66933   glibcxx_cv_func__frexpf_use=yes
66934 else
66935   glibcxx_cv_func__frexpf_use=no
66936 fi
66937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66938       ac_ext=c
66939 ac_cpp='$CPP $CPPFLAGS'
66940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66943
66944
66945 fi
66946
66947   fi
66948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
66949 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66950
66951     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66952       for ac_func in _frexpf
66953 do :
66954   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66955 if test "x$ac_cv_func__frexpf" = x""yes; then :
66956   cat >>confdefs.h <<_ACEOF
66957 #define HAVE__FREXPF 1
66958 _ACEOF
66959
66960 fi
66961 done
66962
66963     fi
66964   fi
66965
66966
66967
66968
66969
66970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
66971 $as_echo_n "checking for hypotf declaration... " >&6; }
66972   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66973     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
66974   $as_echo_n "(cached) " >&6
66975 else
66976
66977
66978       ac_ext=cpp
66979 ac_cpp='$CXXCPP $CPPFLAGS'
66980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66983
66984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66985 /* end confdefs.h.  */
66986 #include <math.h>
66987 int
66988 main ()
66989 {
66990  hypotf(0, 0);
66991   ;
66992   return 0;
66993 }
66994 _ACEOF
66995 if ac_fn_cxx_try_compile "$LINENO"; then :
66996   glibcxx_cv_func_hypotf_use=yes
66997 else
66998   glibcxx_cv_func_hypotf_use=no
66999 fi
67000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67001       ac_ext=c
67002 ac_cpp='$CPP $CPPFLAGS'
67003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67006
67007
67008 fi
67009
67010   fi
67011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67012 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67013
67014   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67015     for ac_func in hypotf
67016 do :
67017   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67018 if test "x$ac_cv_func_hypotf" = x""yes; then :
67019   cat >>confdefs.h <<_ACEOF
67020 #define HAVE_HYPOTF 1
67021 _ACEOF
67022
67023 fi
67024 done
67025
67026   else
67027
67028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67029 $as_echo_n "checking for _hypotf declaration... " >&6; }
67030   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67031     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67032   $as_echo_n "(cached) " >&6
67033 else
67034
67035
67036       ac_ext=cpp
67037 ac_cpp='$CXXCPP $CPPFLAGS'
67038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67041
67042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67043 /* end confdefs.h.  */
67044 #include <math.h>
67045 int
67046 main ()
67047 {
67048  _hypotf(0, 0);
67049   ;
67050   return 0;
67051 }
67052 _ACEOF
67053 if ac_fn_cxx_try_compile "$LINENO"; then :
67054   glibcxx_cv_func__hypotf_use=yes
67055 else
67056   glibcxx_cv_func__hypotf_use=no
67057 fi
67058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67059       ac_ext=c
67060 ac_cpp='$CPP $CPPFLAGS'
67061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67064
67065
67066 fi
67067
67068   fi
67069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67070 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67071
67072     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67073       for ac_func in _hypotf
67074 do :
67075   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67076 if test "x$ac_cv_func__hypotf" = x""yes; then :
67077   cat >>confdefs.h <<_ACEOF
67078 #define HAVE__HYPOTF 1
67079 _ACEOF
67080
67081 fi
67082 done
67083
67084     fi
67085   fi
67086
67087
67088
67089
67090
67091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67092 $as_echo_n "checking for ldexpf declaration... " >&6; }
67093   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67094     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67095   $as_echo_n "(cached) " >&6
67096 else
67097
67098
67099       ac_ext=cpp
67100 ac_cpp='$CXXCPP $CPPFLAGS'
67101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67104
67105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67106 /* end confdefs.h.  */
67107 #include <math.h>
67108 int
67109 main ()
67110 {
67111  ldexpf(0, 0);
67112   ;
67113   return 0;
67114 }
67115 _ACEOF
67116 if ac_fn_cxx_try_compile "$LINENO"; then :
67117   glibcxx_cv_func_ldexpf_use=yes
67118 else
67119   glibcxx_cv_func_ldexpf_use=no
67120 fi
67121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67122       ac_ext=c
67123 ac_cpp='$CPP $CPPFLAGS'
67124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67127
67128
67129 fi
67130
67131   fi
67132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67133 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67134
67135   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67136     for ac_func in ldexpf
67137 do :
67138   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67139 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67140   cat >>confdefs.h <<_ACEOF
67141 #define HAVE_LDEXPF 1
67142 _ACEOF
67143
67144 fi
67145 done
67146
67147   else
67148
67149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67150 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67151   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67152     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67153   $as_echo_n "(cached) " >&6
67154 else
67155
67156
67157       ac_ext=cpp
67158 ac_cpp='$CXXCPP $CPPFLAGS'
67159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67162
67163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67164 /* end confdefs.h.  */
67165 #include <math.h>
67166 int
67167 main ()
67168 {
67169  _ldexpf(0, 0);
67170   ;
67171   return 0;
67172 }
67173 _ACEOF
67174 if ac_fn_cxx_try_compile "$LINENO"; then :
67175   glibcxx_cv_func__ldexpf_use=yes
67176 else
67177   glibcxx_cv_func__ldexpf_use=no
67178 fi
67179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67180       ac_ext=c
67181 ac_cpp='$CPP $CPPFLAGS'
67182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67185
67186
67187 fi
67188
67189   fi
67190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67191 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67192
67193     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67194       for ac_func in _ldexpf
67195 do :
67196   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67197 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67198   cat >>confdefs.h <<_ACEOF
67199 #define HAVE__LDEXPF 1
67200 _ACEOF
67201
67202 fi
67203 done
67204
67205     fi
67206   fi
67207
67208
67209
67210
67211
67212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67213 $as_echo_n "checking for logf declaration... " >&6; }
67214   if test x${glibcxx_cv_func_logf_use+set} != xset; then
67215     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67216   $as_echo_n "(cached) " >&6
67217 else
67218
67219
67220       ac_ext=cpp
67221 ac_cpp='$CXXCPP $CPPFLAGS'
67222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67225
67226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67227 /* end confdefs.h.  */
67228 #include <math.h>
67229                       #ifdef HAVE_IEEEFP_H
67230                       #include <ieeefp.h>
67231                       #endif
67232
67233 int
67234 main ()
67235 {
67236  logf(0);
67237   ;
67238   return 0;
67239 }
67240 _ACEOF
67241 if ac_fn_cxx_try_compile "$LINENO"; then :
67242   glibcxx_cv_func_logf_use=yes
67243 else
67244   glibcxx_cv_func_logf_use=no
67245 fi
67246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67247       ac_ext=c
67248 ac_cpp='$CPP $CPPFLAGS'
67249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67252
67253
67254 fi
67255
67256   fi
67257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67258 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67259
67260   if test x$glibcxx_cv_func_logf_use = x"yes"; then
67261     for ac_func in logf
67262 do :
67263   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67264 if test "x$ac_cv_func_logf" = x""yes; then :
67265   cat >>confdefs.h <<_ACEOF
67266 #define HAVE_LOGF 1
67267 _ACEOF
67268
67269 fi
67270 done
67271
67272   else
67273
67274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67275 $as_echo_n "checking for _logf declaration... " >&6; }
67276   if test x${glibcxx_cv_func__logf_use+set} != xset; then
67277     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67278   $as_echo_n "(cached) " >&6
67279 else
67280
67281
67282       ac_ext=cpp
67283 ac_cpp='$CXXCPP $CPPFLAGS'
67284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67287
67288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67289 /* end confdefs.h.  */
67290 #include <math.h>
67291                       #ifdef HAVE_IEEEFP_H
67292                       #include <ieeefp.h>
67293                       #endif
67294
67295 int
67296 main ()
67297 {
67298  _logf(0);
67299   ;
67300   return 0;
67301 }
67302 _ACEOF
67303 if ac_fn_cxx_try_compile "$LINENO"; then :
67304   glibcxx_cv_func__logf_use=yes
67305 else
67306   glibcxx_cv_func__logf_use=no
67307 fi
67308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67309       ac_ext=c
67310 ac_cpp='$CPP $CPPFLAGS'
67311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67314
67315
67316 fi
67317
67318   fi
67319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67320 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67321
67322     if test x$glibcxx_cv_func__logf_use = x"yes"; then
67323       for ac_func in _logf
67324 do :
67325   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67326 if test "x$ac_cv_func__logf" = x""yes; then :
67327   cat >>confdefs.h <<_ACEOF
67328 #define HAVE__LOGF 1
67329 _ACEOF
67330
67331 fi
67332 done
67333
67334     fi
67335   fi
67336
67337
67338
67339
67340
67341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67342 $as_echo_n "checking for log10f declaration... " >&6; }
67343   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67344     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67345   $as_echo_n "(cached) " >&6
67346 else
67347
67348
67349       ac_ext=cpp
67350 ac_cpp='$CXXCPP $CPPFLAGS'
67351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67354
67355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67356 /* end confdefs.h.  */
67357 #include <math.h>
67358                       #ifdef HAVE_IEEEFP_H
67359                       #include <ieeefp.h>
67360                       #endif
67361
67362 int
67363 main ()
67364 {
67365  log10f(0);
67366   ;
67367   return 0;
67368 }
67369 _ACEOF
67370 if ac_fn_cxx_try_compile "$LINENO"; then :
67371   glibcxx_cv_func_log10f_use=yes
67372 else
67373   glibcxx_cv_func_log10f_use=no
67374 fi
67375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67376       ac_ext=c
67377 ac_cpp='$CPP $CPPFLAGS'
67378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67381
67382
67383 fi
67384
67385   fi
67386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67387 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67388
67389   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67390     for ac_func in log10f
67391 do :
67392   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67393 if test "x$ac_cv_func_log10f" = x""yes; then :
67394   cat >>confdefs.h <<_ACEOF
67395 #define HAVE_LOG10F 1
67396 _ACEOF
67397
67398 fi
67399 done
67400
67401   else
67402
67403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67404 $as_echo_n "checking for _log10f declaration... " >&6; }
67405   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67406     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67407   $as_echo_n "(cached) " >&6
67408 else
67409
67410
67411       ac_ext=cpp
67412 ac_cpp='$CXXCPP $CPPFLAGS'
67413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67416
67417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67418 /* end confdefs.h.  */
67419 #include <math.h>
67420                       #ifdef HAVE_IEEEFP_H
67421                       #include <ieeefp.h>
67422                       #endif
67423
67424 int
67425 main ()
67426 {
67427  _log10f(0);
67428   ;
67429   return 0;
67430 }
67431 _ACEOF
67432 if ac_fn_cxx_try_compile "$LINENO"; then :
67433   glibcxx_cv_func__log10f_use=yes
67434 else
67435   glibcxx_cv_func__log10f_use=no
67436 fi
67437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67438       ac_ext=c
67439 ac_cpp='$CPP $CPPFLAGS'
67440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67443
67444
67445 fi
67446
67447   fi
67448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67449 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67450
67451     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67452       for ac_func in _log10f
67453 do :
67454   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67455 if test "x$ac_cv_func__log10f" = x""yes; then :
67456   cat >>confdefs.h <<_ACEOF
67457 #define HAVE__LOG10F 1
67458 _ACEOF
67459
67460 fi
67461 done
67462
67463     fi
67464   fi
67465
67466
67467
67468
67469
67470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67471 $as_echo_n "checking for modff declaration... " >&6; }
67472   if test x${glibcxx_cv_func_modff_use+set} != xset; then
67473     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67474   $as_echo_n "(cached) " >&6
67475 else
67476
67477
67478       ac_ext=cpp
67479 ac_cpp='$CXXCPP $CPPFLAGS'
67480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67483
67484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67485 /* end confdefs.h.  */
67486 #include <math.h>
67487 int
67488 main ()
67489 {
67490  modff(0, 0);
67491   ;
67492   return 0;
67493 }
67494 _ACEOF
67495 if ac_fn_cxx_try_compile "$LINENO"; then :
67496   glibcxx_cv_func_modff_use=yes
67497 else
67498   glibcxx_cv_func_modff_use=no
67499 fi
67500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67501       ac_ext=c
67502 ac_cpp='$CPP $CPPFLAGS'
67503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67506
67507
67508 fi
67509
67510   fi
67511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67512 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67513
67514   if test x$glibcxx_cv_func_modff_use = x"yes"; then
67515     for ac_func in modff
67516 do :
67517   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67518 if test "x$ac_cv_func_modff" = x""yes; then :
67519   cat >>confdefs.h <<_ACEOF
67520 #define HAVE_MODFF 1
67521 _ACEOF
67522
67523 fi
67524 done
67525
67526   else
67527
67528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67529 $as_echo_n "checking for _modff declaration... " >&6; }
67530   if test x${glibcxx_cv_func__modff_use+set} != xset; then
67531     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67532   $as_echo_n "(cached) " >&6
67533 else
67534
67535
67536       ac_ext=cpp
67537 ac_cpp='$CXXCPP $CPPFLAGS'
67538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67541
67542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67543 /* end confdefs.h.  */
67544 #include <math.h>
67545 int
67546 main ()
67547 {
67548  _modff(0, 0);
67549   ;
67550   return 0;
67551 }
67552 _ACEOF
67553 if ac_fn_cxx_try_compile "$LINENO"; then :
67554   glibcxx_cv_func__modff_use=yes
67555 else
67556   glibcxx_cv_func__modff_use=no
67557 fi
67558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67559       ac_ext=c
67560 ac_cpp='$CPP $CPPFLAGS'
67561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67564
67565
67566 fi
67567
67568   fi
67569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67570 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67571
67572     if test x$glibcxx_cv_func__modff_use = x"yes"; then
67573       for ac_func in _modff
67574 do :
67575   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67576 if test "x$ac_cv_func__modff" = x""yes; then :
67577   cat >>confdefs.h <<_ACEOF
67578 #define HAVE__MODFF 1
67579 _ACEOF
67580
67581 fi
67582 done
67583
67584     fi
67585   fi
67586
67587
67588
67589
67590
67591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67592 $as_echo_n "checking for modf declaration... " >&6; }
67593   if test x${glibcxx_cv_func_modf_use+set} != xset; then
67594     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67595   $as_echo_n "(cached) " >&6
67596 else
67597
67598
67599       ac_ext=cpp
67600 ac_cpp='$CXXCPP $CPPFLAGS'
67601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67604
67605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67606 /* end confdefs.h.  */
67607 #include <math.h>
67608 int
67609 main ()
67610 {
67611  modf(0, 0);
67612   ;
67613   return 0;
67614 }
67615 _ACEOF
67616 if ac_fn_cxx_try_compile "$LINENO"; then :
67617   glibcxx_cv_func_modf_use=yes
67618 else
67619   glibcxx_cv_func_modf_use=no
67620 fi
67621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67622       ac_ext=c
67623 ac_cpp='$CPP $CPPFLAGS'
67624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67627
67628
67629 fi
67630
67631   fi
67632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67633 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67634
67635   if test x$glibcxx_cv_func_modf_use = x"yes"; then
67636     for ac_func in modf
67637 do :
67638   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67639 if test "x$ac_cv_func_modf" = x""yes; then :
67640   cat >>confdefs.h <<_ACEOF
67641 #define HAVE_MODF 1
67642 _ACEOF
67643
67644 fi
67645 done
67646
67647   else
67648
67649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67650 $as_echo_n "checking for _modf declaration... " >&6; }
67651   if test x${glibcxx_cv_func__modf_use+set} != xset; then
67652     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67653   $as_echo_n "(cached) " >&6
67654 else
67655
67656
67657       ac_ext=cpp
67658 ac_cpp='$CXXCPP $CPPFLAGS'
67659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67662
67663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67664 /* end confdefs.h.  */
67665 #include <math.h>
67666 int
67667 main ()
67668 {
67669  _modf(0, 0);
67670   ;
67671   return 0;
67672 }
67673 _ACEOF
67674 if ac_fn_cxx_try_compile "$LINENO"; then :
67675   glibcxx_cv_func__modf_use=yes
67676 else
67677   glibcxx_cv_func__modf_use=no
67678 fi
67679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67680       ac_ext=c
67681 ac_cpp='$CPP $CPPFLAGS'
67682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67685
67686
67687 fi
67688
67689   fi
67690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67691 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67692
67693     if test x$glibcxx_cv_func__modf_use = x"yes"; then
67694       for ac_func in _modf
67695 do :
67696   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67697 if test "x$ac_cv_func__modf" = x""yes; then :
67698   cat >>confdefs.h <<_ACEOF
67699 #define HAVE__MODF 1
67700 _ACEOF
67701
67702 fi
67703 done
67704
67705     fi
67706   fi
67707
67708
67709
67710
67711
67712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67713 $as_echo_n "checking for powf declaration... " >&6; }
67714   if test x${glibcxx_cv_func_powf_use+set} != xset; then
67715     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67716   $as_echo_n "(cached) " >&6
67717 else
67718
67719
67720       ac_ext=cpp
67721 ac_cpp='$CXXCPP $CPPFLAGS'
67722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67725
67726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67727 /* end confdefs.h.  */
67728 #include <math.h>
67729 int
67730 main ()
67731 {
67732  powf(0, 0);
67733   ;
67734   return 0;
67735 }
67736 _ACEOF
67737 if ac_fn_cxx_try_compile "$LINENO"; then :
67738   glibcxx_cv_func_powf_use=yes
67739 else
67740   glibcxx_cv_func_powf_use=no
67741 fi
67742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67743       ac_ext=c
67744 ac_cpp='$CPP $CPPFLAGS'
67745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67748
67749
67750 fi
67751
67752   fi
67753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67754 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67755
67756   if test x$glibcxx_cv_func_powf_use = x"yes"; then
67757     for ac_func in powf
67758 do :
67759   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67760 if test "x$ac_cv_func_powf" = x""yes; then :
67761   cat >>confdefs.h <<_ACEOF
67762 #define HAVE_POWF 1
67763 _ACEOF
67764
67765 fi
67766 done
67767
67768   else
67769
67770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67771 $as_echo_n "checking for _powf declaration... " >&6; }
67772   if test x${glibcxx_cv_func__powf_use+set} != xset; then
67773     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67774   $as_echo_n "(cached) " >&6
67775 else
67776
67777
67778       ac_ext=cpp
67779 ac_cpp='$CXXCPP $CPPFLAGS'
67780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67783
67784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67785 /* end confdefs.h.  */
67786 #include <math.h>
67787 int
67788 main ()
67789 {
67790  _powf(0, 0);
67791   ;
67792   return 0;
67793 }
67794 _ACEOF
67795 if ac_fn_cxx_try_compile "$LINENO"; then :
67796   glibcxx_cv_func__powf_use=yes
67797 else
67798   glibcxx_cv_func__powf_use=no
67799 fi
67800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67801       ac_ext=c
67802 ac_cpp='$CPP $CPPFLAGS'
67803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67806
67807
67808 fi
67809
67810   fi
67811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67812 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67813
67814     if test x$glibcxx_cv_func__powf_use = x"yes"; then
67815       for ac_func in _powf
67816 do :
67817   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67818 if test "x$ac_cv_func__powf" = x""yes; then :
67819   cat >>confdefs.h <<_ACEOF
67820 #define HAVE__POWF 1
67821 _ACEOF
67822
67823 fi
67824 done
67825
67826     fi
67827   fi
67828
67829
67830
67831
67832
67833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67834 $as_echo_n "checking for sqrtf declaration... " >&6; }
67835   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67836     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67837   $as_echo_n "(cached) " >&6
67838 else
67839
67840
67841       ac_ext=cpp
67842 ac_cpp='$CXXCPP $CPPFLAGS'
67843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67846
67847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67848 /* end confdefs.h.  */
67849 #include <math.h>
67850                       #ifdef HAVE_IEEEFP_H
67851                       #include <ieeefp.h>
67852                       #endif
67853
67854 int
67855 main ()
67856 {
67857  sqrtf(0);
67858   ;
67859   return 0;
67860 }
67861 _ACEOF
67862 if ac_fn_cxx_try_compile "$LINENO"; then :
67863   glibcxx_cv_func_sqrtf_use=yes
67864 else
67865   glibcxx_cv_func_sqrtf_use=no
67866 fi
67867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67868       ac_ext=c
67869 ac_cpp='$CPP $CPPFLAGS'
67870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67873
67874
67875 fi
67876
67877   fi
67878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67879 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67880
67881   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67882     for ac_func in sqrtf
67883 do :
67884   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67885 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67886   cat >>confdefs.h <<_ACEOF
67887 #define HAVE_SQRTF 1
67888 _ACEOF
67889
67890 fi
67891 done
67892
67893   else
67894
67895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67896 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67897   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67898     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67899   $as_echo_n "(cached) " >&6
67900 else
67901
67902
67903       ac_ext=cpp
67904 ac_cpp='$CXXCPP $CPPFLAGS'
67905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67908
67909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67910 /* end confdefs.h.  */
67911 #include <math.h>
67912                       #ifdef HAVE_IEEEFP_H
67913                       #include <ieeefp.h>
67914                       #endif
67915
67916 int
67917 main ()
67918 {
67919  _sqrtf(0);
67920   ;
67921   return 0;
67922 }
67923 _ACEOF
67924 if ac_fn_cxx_try_compile "$LINENO"; then :
67925   glibcxx_cv_func__sqrtf_use=yes
67926 else
67927   glibcxx_cv_func__sqrtf_use=no
67928 fi
67929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67930       ac_ext=c
67931 ac_cpp='$CPP $CPPFLAGS'
67932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67935
67936
67937 fi
67938
67939   fi
67940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
67941 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
67942
67943     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67944       for ac_func in _sqrtf
67945 do :
67946   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67947 if test "x$ac_cv_func__sqrtf" = x""yes; then :
67948   cat >>confdefs.h <<_ACEOF
67949 #define HAVE__SQRTF 1
67950 _ACEOF
67951
67952 fi
67953 done
67954
67955     fi
67956   fi
67957
67958
67959
67960
67961
67962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
67963 $as_echo_n "checking for sincosf declaration... " >&6; }
67964   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
67965     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
67966   $as_echo_n "(cached) " >&6
67967 else
67968
67969
67970       ac_ext=cpp
67971 ac_cpp='$CXXCPP $CPPFLAGS'
67972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67975
67976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67977 /* end confdefs.h.  */
67978 #include <math.h>
67979 int
67980 main ()
67981 {
67982  sincosf(0, 0, 0);
67983   ;
67984   return 0;
67985 }
67986 _ACEOF
67987 if ac_fn_cxx_try_compile "$LINENO"; then :
67988   glibcxx_cv_func_sincosf_use=yes
67989 else
67990   glibcxx_cv_func_sincosf_use=no
67991 fi
67992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67993       ac_ext=c
67994 ac_cpp='$CPP $CPPFLAGS'
67995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67998
67999
68000 fi
68001
68002   fi
68003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68004 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68005
68006   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68007     for ac_func in sincosf
68008 do :
68009   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68010 if test "x$ac_cv_func_sincosf" = x""yes; then :
68011   cat >>confdefs.h <<_ACEOF
68012 #define HAVE_SINCOSF 1
68013 _ACEOF
68014
68015 fi
68016 done
68017
68018   else
68019
68020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68021 $as_echo_n "checking for _sincosf declaration... " >&6; }
68022   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68023     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68024   $as_echo_n "(cached) " >&6
68025 else
68026
68027
68028       ac_ext=cpp
68029 ac_cpp='$CXXCPP $CPPFLAGS'
68030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68033
68034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68035 /* end confdefs.h.  */
68036 #include <math.h>
68037 int
68038 main ()
68039 {
68040  _sincosf(0, 0, 0);
68041   ;
68042   return 0;
68043 }
68044 _ACEOF
68045 if ac_fn_cxx_try_compile "$LINENO"; then :
68046   glibcxx_cv_func__sincosf_use=yes
68047 else
68048   glibcxx_cv_func__sincosf_use=no
68049 fi
68050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68051       ac_ext=c
68052 ac_cpp='$CPP $CPPFLAGS'
68053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68056
68057
68058 fi
68059
68060   fi
68061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68062 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68063
68064     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68065       for ac_func in _sincosf
68066 do :
68067   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68068 if test "x$ac_cv_func__sincosf" = x""yes; then :
68069   cat >>confdefs.h <<_ACEOF
68070 #define HAVE__SINCOSF 1
68071 _ACEOF
68072
68073 fi
68074 done
68075
68076     fi
68077   fi
68078
68079
68080
68081
68082
68083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68084 $as_echo_n "checking for finitef declaration... " >&6; }
68085   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68086     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68087   $as_echo_n "(cached) " >&6
68088 else
68089
68090
68091       ac_ext=cpp
68092 ac_cpp='$CXXCPP $CPPFLAGS'
68093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68096
68097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68098 /* end confdefs.h.  */
68099 #include <math.h>
68100                       #ifdef HAVE_IEEEFP_H
68101                       #include <ieeefp.h>
68102                       #endif
68103
68104 int
68105 main ()
68106 {
68107  finitef(0);
68108   ;
68109   return 0;
68110 }
68111 _ACEOF
68112 if ac_fn_cxx_try_compile "$LINENO"; then :
68113   glibcxx_cv_func_finitef_use=yes
68114 else
68115   glibcxx_cv_func_finitef_use=no
68116 fi
68117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68118       ac_ext=c
68119 ac_cpp='$CPP $CPPFLAGS'
68120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68123
68124
68125 fi
68126
68127   fi
68128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68129 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68130
68131   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68132     for ac_func in finitef
68133 do :
68134   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68135 if test "x$ac_cv_func_finitef" = x""yes; then :
68136   cat >>confdefs.h <<_ACEOF
68137 #define HAVE_FINITEF 1
68138 _ACEOF
68139
68140 fi
68141 done
68142
68143   else
68144
68145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68146 $as_echo_n "checking for _finitef declaration... " >&6; }
68147   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68148     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68149   $as_echo_n "(cached) " >&6
68150 else
68151
68152
68153       ac_ext=cpp
68154 ac_cpp='$CXXCPP $CPPFLAGS'
68155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68158
68159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68160 /* end confdefs.h.  */
68161 #include <math.h>
68162                       #ifdef HAVE_IEEEFP_H
68163                       #include <ieeefp.h>
68164                       #endif
68165
68166 int
68167 main ()
68168 {
68169  _finitef(0);
68170   ;
68171   return 0;
68172 }
68173 _ACEOF
68174 if ac_fn_cxx_try_compile "$LINENO"; then :
68175   glibcxx_cv_func__finitef_use=yes
68176 else
68177   glibcxx_cv_func__finitef_use=no
68178 fi
68179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68180       ac_ext=c
68181 ac_cpp='$CPP $CPPFLAGS'
68182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68185
68186
68187 fi
68188
68189   fi
68190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68191 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68192
68193     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68194       for ac_func in _finitef
68195 do :
68196   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68197 if test "x$ac_cv_func__finitef" = x""yes; then :
68198   cat >>confdefs.h <<_ACEOF
68199 #define HAVE__FINITEF 1
68200 _ACEOF
68201
68202 fi
68203 done
68204
68205     fi
68206   fi
68207
68208
68209
68210
68211
68212     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68213 $as_echo_n "checking for long double trig functions... " >&6; }
68214   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68215   $as_echo_n "(cached) " >&6
68216 else
68217
68218
68219     ac_ext=cpp
68220 ac_cpp='$CXXCPP $CPPFLAGS'
68221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68224
68225     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68226 /* end confdefs.h.  */
68227 #include <math.h>
68228 int
68229 main ()
68230 {
68231 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68232   ;
68233   return 0;
68234 }
68235 _ACEOF
68236 if ac_fn_cxx_try_compile "$LINENO"; then :
68237   glibcxx_cv_func_long_double_trig_use=yes
68238 else
68239   glibcxx_cv_func_long_double_trig_use=no
68240 fi
68241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68242     ac_ext=c
68243 ac_cpp='$CPP $CPPFLAGS'
68244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68247
68248 fi
68249
68250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68251 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68252   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68253     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68254 do :
68255   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68256 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68257 eval as_val=\$$as_ac_var
68258    if test "x$as_val" = x""yes; then :
68259   cat >>confdefs.h <<_ACEOF
68260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68261 _ACEOF
68262
68263 fi
68264 done
68265
68266   else
68267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68268 $as_echo_n "checking for _long double trig functions... " >&6; }
68269     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68270   $as_echo_n "(cached) " >&6
68271 else
68272
68273
68274       ac_ext=cpp
68275 ac_cpp='$CXXCPP $CPPFLAGS'
68276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68279
68280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68281 /* end confdefs.h.  */
68282 #include <math.h>
68283 int
68284 main ()
68285 {
68286 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68287   ;
68288   return 0;
68289 }
68290 _ACEOF
68291 if ac_fn_cxx_try_compile "$LINENO"; then :
68292   glibcxx_cv_func__long_double_trig_use=yes
68293 else
68294   glibcxx_cv_func__long_double_trig_use=no
68295 fi
68296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68297       ac_ext=c
68298 ac_cpp='$CPP $CPPFLAGS'
68299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68302
68303 fi
68304
68305     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68306 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68307     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68308       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68309 do :
68310   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68312 eval as_val=\$$as_ac_var
68313    if test "x$as_val" = x""yes; then :
68314   cat >>confdefs.h <<_ACEOF
68315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68316 _ACEOF
68317
68318 fi
68319 done
68320
68321     fi
68322   fi
68323
68324
68325
68326
68327
68328     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68329 $as_echo_n "checking for long double round functions... " >&6; }
68330   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68331   $as_echo_n "(cached) " >&6
68332 else
68333
68334
68335     ac_ext=cpp
68336 ac_cpp='$CXXCPP $CPPFLAGS'
68337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68340
68341     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68342 /* end confdefs.h.  */
68343 #include <math.h>
68344 int
68345 main ()
68346 {
68347 ceill (0); floorl (0);
68348   ;
68349   return 0;
68350 }
68351 _ACEOF
68352 if ac_fn_cxx_try_compile "$LINENO"; then :
68353   glibcxx_cv_func_long_double_round_use=yes
68354 else
68355   glibcxx_cv_func_long_double_round_use=no
68356 fi
68357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68358     ac_ext=c
68359 ac_cpp='$CPP $CPPFLAGS'
68360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68363
68364 fi
68365
68366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68367 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68368   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68369     for ac_func in ceill floorl
68370 do :
68371   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68373 eval as_val=\$$as_ac_var
68374    if test "x$as_val" = x""yes; then :
68375   cat >>confdefs.h <<_ACEOF
68376 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68377 _ACEOF
68378
68379 fi
68380 done
68381
68382   else
68383     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68384 $as_echo_n "checking for _long double round functions... " >&6; }
68385     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68386   $as_echo_n "(cached) " >&6
68387 else
68388
68389
68390       ac_ext=cpp
68391 ac_cpp='$CXXCPP $CPPFLAGS'
68392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68395
68396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68397 /* end confdefs.h.  */
68398 #include <math.h>
68399 int
68400 main ()
68401 {
68402 _ceill (0); _floorl (0);
68403   ;
68404   return 0;
68405 }
68406 _ACEOF
68407 if ac_fn_cxx_try_compile "$LINENO"; then :
68408   glibcxx_cv_func__long_double_round_use=yes
68409 else
68410   glibcxx_cv_func__long_double_round_use=no
68411 fi
68412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68413       ac_ext=c
68414 ac_cpp='$CPP $CPPFLAGS'
68415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68418
68419 fi
68420
68421     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68422 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68423     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68424       for ac_func in _ceill _floorl
68425 do :
68426   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68428 eval as_val=\$$as_ac_var
68429    if test "x$as_val" = x""yes; then :
68430   cat >>confdefs.h <<_ACEOF
68431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68432 _ACEOF
68433
68434 fi
68435 done
68436
68437     fi
68438   fi
68439
68440
68441
68442
68443
68444
68445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68446 $as_echo_n "checking for isnanl declaration... " >&6; }
68447   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68448     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68449   $as_echo_n "(cached) " >&6
68450 else
68451
68452
68453       ac_ext=cpp
68454 ac_cpp='$CXXCPP $CPPFLAGS'
68455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68458
68459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68460 /* end confdefs.h.  */
68461 #include <math.h>
68462                       #ifdef HAVE_IEEEFP_H
68463                       #include <ieeefp.h>
68464                       #endif
68465
68466 int
68467 main ()
68468 {
68469  isnanl(0);
68470   ;
68471   return 0;
68472 }
68473 _ACEOF
68474 if ac_fn_cxx_try_compile "$LINENO"; then :
68475   glibcxx_cv_func_isnanl_use=yes
68476 else
68477   glibcxx_cv_func_isnanl_use=no
68478 fi
68479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68480       ac_ext=c
68481 ac_cpp='$CPP $CPPFLAGS'
68482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68485
68486
68487 fi
68488
68489   fi
68490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68491 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68492
68493   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68494     for ac_func in isnanl
68495 do :
68496   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68497 if test "x$ac_cv_func_isnanl" = x""yes; then :
68498   cat >>confdefs.h <<_ACEOF
68499 #define HAVE_ISNANL 1
68500 _ACEOF
68501
68502 fi
68503 done
68504
68505   else
68506
68507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68508 $as_echo_n "checking for _isnanl declaration... " >&6; }
68509   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68510     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68511   $as_echo_n "(cached) " >&6
68512 else
68513
68514
68515       ac_ext=cpp
68516 ac_cpp='$CXXCPP $CPPFLAGS'
68517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68520
68521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68522 /* end confdefs.h.  */
68523 #include <math.h>
68524                       #ifdef HAVE_IEEEFP_H
68525                       #include <ieeefp.h>
68526                       #endif
68527
68528 int
68529 main ()
68530 {
68531  _isnanl(0);
68532   ;
68533   return 0;
68534 }
68535 _ACEOF
68536 if ac_fn_cxx_try_compile "$LINENO"; then :
68537   glibcxx_cv_func__isnanl_use=yes
68538 else
68539   glibcxx_cv_func__isnanl_use=no
68540 fi
68541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68542       ac_ext=c
68543 ac_cpp='$CPP $CPPFLAGS'
68544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68547
68548
68549 fi
68550
68551   fi
68552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68553 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68554
68555     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68556       for ac_func in _isnanl
68557 do :
68558   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68559 if test "x$ac_cv_func__isnanl" = x""yes; then :
68560   cat >>confdefs.h <<_ACEOF
68561 #define HAVE__ISNANL 1
68562 _ACEOF
68563
68564 fi
68565 done
68566
68567     fi
68568   fi
68569
68570
68571
68572
68573
68574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68575 $as_echo_n "checking for isinfl declaration... " >&6; }
68576   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68577     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68578   $as_echo_n "(cached) " >&6
68579 else
68580
68581
68582       ac_ext=cpp
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68587
68588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68589 /* end confdefs.h.  */
68590 #include <math.h>
68591                       #ifdef HAVE_IEEEFP_H
68592                       #include <ieeefp.h>
68593                       #endif
68594
68595 int
68596 main ()
68597 {
68598  isinfl(0);
68599   ;
68600   return 0;
68601 }
68602 _ACEOF
68603 if ac_fn_cxx_try_compile "$LINENO"; then :
68604   glibcxx_cv_func_isinfl_use=yes
68605 else
68606   glibcxx_cv_func_isinfl_use=no
68607 fi
68608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68609       ac_ext=c
68610 ac_cpp='$CPP $CPPFLAGS'
68611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68614
68615
68616 fi
68617
68618   fi
68619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68620 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68621
68622   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68623     for ac_func in isinfl
68624 do :
68625   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68626 if test "x$ac_cv_func_isinfl" = x""yes; then :
68627   cat >>confdefs.h <<_ACEOF
68628 #define HAVE_ISINFL 1
68629 _ACEOF
68630
68631 fi
68632 done
68633
68634   else
68635
68636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68637 $as_echo_n "checking for _isinfl declaration... " >&6; }
68638   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68639     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68640   $as_echo_n "(cached) " >&6
68641 else
68642
68643
68644       ac_ext=cpp
68645 ac_cpp='$CXXCPP $CPPFLAGS'
68646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68649
68650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68651 /* end confdefs.h.  */
68652 #include <math.h>
68653                       #ifdef HAVE_IEEEFP_H
68654                       #include <ieeefp.h>
68655                       #endif
68656
68657 int
68658 main ()
68659 {
68660  _isinfl(0);
68661   ;
68662   return 0;
68663 }
68664 _ACEOF
68665 if ac_fn_cxx_try_compile "$LINENO"; then :
68666   glibcxx_cv_func__isinfl_use=yes
68667 else
68668   glibcxx_cv_func__isinfl_use=no
68669 fi
68670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68671       ac_ext=c
68672 ac_cpp='$CPP $CPPFLAGS'
68673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68676
68677
68678 fi
68679
68680   fi
68681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68682 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68683
68684     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68685       for ac_func in _isinfl
68686 do :
68687   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68688 if test "x$ac_cv_func__isinfl" = x""yes; then :
68689   cat >>confdefs.h <<_ACEOF
68690 #define HAVE__ISINFL 1
68691 _ACEOF
68692
68693 fi
68694 done
68695
68696     fi
68697   fi
68698
68699
68700
68701
68702
68703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68704 $as_echo_n "checking for atan2l declaration... " >&6; }
68705   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68706     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68707   $as_echo_n "(cached) " >&6
68708 else
68709
68710
68711       ac_ext=cpp
68712 ac_cpp='$CXXCPP $CPPFLAGS'
68713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68716
68717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68718 /* end confdefs.h.  */
68719 #include <math.h>
68720 int
68721 main ()
68722 {
68723  atan2l(0, 0);
68724   ;
68725   return 0;
68726 }
68727 _ACEOF
68728 if ac_fn_cxx_try_compile "$LINENO"; then :
68729   glibcxx_cv_func_atan2l_use=yes
68730 else
68731   glibcxx_cv_func_atan2l_use=no
68732 fi
68733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68734       ac_ext=c
68735 ac_cpp='$CPP $CPPFLAGS'
68736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68739
68740
68741 fi
68742
68743   fi
68744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68745 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68746
68747   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68748     for ac_func in atan2l
68749 do :
68750   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68751 if test "x$ac_cv_func_atan2l" = x""yes; then :
68752   cat >>confdefs.h <<_ACEOF
68753 #define HAVE_ATAN2L 1
68754 _ACEOF
68755
68756 fi
68757 done
68758
68759   else
68760
68761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68762 $as_echo_n "checking for _atan2l declaration... " >&6; }
68763   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68764     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68765   $as_echo_n "(cached) " >&6
68766 else
68767
68768
68769       ac_ext=cpp
68770 ac_cpp='$CXXCPP $CPPFLAGS'
68771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68774
68775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68776 /* end confdefs.h.  */
68777 #include <math.h>
68778 int
68779 main ()
68780 {
68781  _atan2l(0, 0);
68782   ;
68783   return 0;
68784 }
68785 _ACEOF
68786 if ac_fn_cxx_try_compile "$LINENO"; then :
68787   glibcxx_cv_func__atan2l_use=yes
68788 else
68789   glibcxx_cv_func__atan2l_use=no
68790 fi
68791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68792       ac_ext=c
68793 ac_cpp='$CPP $CPPFLAGS'
68794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68797
68798
68799 fi
68800
68801   fi
68802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68803 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68804
68805     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68806       for ac_func in _atan2l
68807 do :
68808   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68809 if test "x$ac_cv_func__atan2l" = x""yes; then :
68810   cat >>confdefs.h <<_ACEOF
68811 #define HAVE__ATAN2L 1
68812 _ACEOF
68813
68814 fi
68815 done
68816
68817     fi
68818   fi
68819
68820
68821
68822
68823
68824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68825 $as_echo_n "checking for expl declaration... " >&6; }
68826   if test x${glibcxx_cv_func_expl_use+set} != xset; then
68827     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68828   $as_echo_n "(cached) " >&6
68829 else
68830
68831
68832       ac_ext=cpp
68833 ac_cpp='$CXXCPP $CPPFLAGS'
68834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68837
68838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68839 /* end confdefs.h.  */
68840 #include <math.h>
68841                       #ifdef HAVE_IEEEFP_H
68842                       #include <ieeefp.h>
68843                       #endif
68844
68845 int
68846 main ()
68847 {
68848  expl(0);
68849   ;
68850   return 0;
68851 }
68852 _ACEOF
68853 if ac_fn_cxx_try_compile "$LINENO"; then :
68854   glibcxx_cv_func_expl_use=yes
68855 else
68856   glibcxx_cv_func_expl_use=no
68857 fi
68858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68859       ac_ext=c
68860 ac_cpp='$CPP $CPPFLAGS'
68861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68864
68865
68866 fi
68867
68868   fi
68869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68870 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68871
68872   if test x$glibcxx_cv_func_expl_use = x"yes"; then
68873     for ac_func in expl
68874 do :
68875   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68876 if test "x$ac_cv_func_expl" = x""yes; then :
68877   cat >>confdefs.h <<_ACEOF
68878 #define HAVE_EXPL 1
68879 _ACEOF
68880
68881 fi
68882 done
68883
68884   else
68885
68886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68887 $as_echo_n "checking for _expl declaration... " >&6; }
68888   if test x${glibcxx_cv_func__expl_use+set} != xset; then
68889     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68890   $as_echo_n "(cached) " >&6
68891 else
68892
68893
68894       ac_ext=cpp
68895 ac_cpp='$CXXCPP $CPPFLAGS'
68896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68899
68900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68901 /* end confdefs.h.  */
68902 #include <math.h>
68903                       #ifdef HAVE_IEEEFP_H
68904                       #include <ieeefp.h>
68905                       #endif
68906
68907 int
68908 main ()
68909 {
68910  _expl(0);
68911   ;
68912   return 0;
68913 }
68914 _ACEOF
68915 if ac_fn_cxx_try_compile "$LINENO"; then :
68916   glibcxx_cv_func__expl_use=yes
68917 else
68918   glibcxx_cv_func__expl_use=no
68919 fi
68920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68921       ac_ext=c
68922 ac_cpp='$CPP $CPPFLAGS'
68923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68926
68927
68928 fi
68929
68930   fi
68931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
68932 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
68933
68934     if test x$glibcxx_cv_func__expl_use = x"yes"; then
68935       for ac_func in _expl
68936 do :
68937   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
68938 if test "x$ac_cv_func__expl" = x""yes; then :
68939   cat >>confdefs.h <<_ACEOF
68940 #define HAVE__EXPL 1
68941 _ACEOF
68942
68943 fi
68944 done
68945
68946     fi
68947   fi
68948
68949
68950
68951
68952
68953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68954 $as_echo_n "checking for fabsl declaration... " >&6; }
68955   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68956     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68957   $as_echo_n "(cached) " >&6
68958 else
68959
68960
68961       ac_ext=cpp
68962 ac_cpp='$CXXCPP $CPPFLAGS'
68963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68966
68967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68968 /* end confdefs.h.  */
68969 #include <math.h>
68970                       #ifdef HAVE_IEEEFP_H
68971                       #include <ieeefp.h>
68972                       #endif
68973
68974 int
68975 main ()
68976 {
68977  fabsl(0);
68978   ;
68979   return 0;
68980 }
68981 _ACEOF
68982 if ac_fn_cxx_try_compile "$LINENO"; then :
68983   glibcxx_cv_func_fabsl_use=yes
68984 else
68985   glibcxx_cv_func_fabsl_use=no
68986 fi
68987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68988       ac_ext=c
68989 ac_cpp='$CPP $CPPFLAGS'
68990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68993
68994
68995 fi
68996
68997   fi
68998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68999 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69000
69001   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69002     for ac_func in fabsl
69003 do :
69004   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69005 if test "x$ac_cv_func_fabsl" = x""yes; then :
69006   cat >>confdefs.h <<_ACEOF
69007 #define HAVE_FABSL 1
69008 _ACEOF
69009
69010 fi
69011 done
69012
69013   else
69014
69015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69016 $as_echo_n "checking for _fabsl declaration... " >&6; }
69017   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69018     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69019   $as_echo_n "(cached) " >&6
69020 else
69021
69022
69023       ac_ext=cpp
69024 ac_cpp='$CXXCPP $CPPFLAGS'
69025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69028
69029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69030 /* end confdefs.h.  */
69031 #include <math.h>
69032                       #ifdef HAVE_IEEEFP_H
69033                       #include <ieeefp.h>
69034                       #endif
69035
69036 int
69037 main ()
69038 {
69039  _fabsl(0);
69040   ;
69041   return 0;
69042 }
69043 _ACEOF
69044 if ac_fn_cxx_try_compile "$LINENO"; then :
69045   glibcxx_cv_func__fabsl_use=yes
69046 else
69047   glibcxx_cv_func__fabsl_use=no
69048 fi
69049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69050       ac_ext=c
69051 ac_cpp='$CPP $CPPFLAGS'
69052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69055
69056
69057 fi
69058
69059   fi
69060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69061 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69062
69063     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69064       for ac_func in _fabsl
69065 do :
69066   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69067 if test "x$ac_cv_func__fabsl" = x""yes; then :
69068   cat >>confdefs.h <<_ACEOF
69069 #define HAVE__FABSL 1
69070 _ACEOF
69071
69072 fi
69073 done
69074
69075     fi
69076   fi
69077
69078
69079
69080
69081
69082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69083 $as_echo_n "checking for fmodl declaration... " >&6; }
69084   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69085     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69086   $as_echo_n "(cached) " >&6
69087 else
69088
69089
69090       ac_ext=cpp
69091 ac_cpp='$CXXCPP $CPPFLAGS'
69092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69095
69096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69097 /* end confdefs.h.  */
69098 #include <math.h>
69099 int
69100 main ()
69101 {
69102  fmodl(0, 0);
69103   ;
69104   return 0;
69105 }
69106 _ACEOF
69107 if ac_fn_cxx_try_compile "$LINENO"; then :
69108   glibcxx_cv_func_fmodl_use=yes
69109 else
69110   glibcxx_cv_func_fmodl_use=no
69111 fi
69112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69113       ac_ext=c
69114 ac_cpp='$CPP $CPPFLAGS'
69115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69118
69119
69120 fi
69121
69122   fi
69123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69124 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69125
69126   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69127     for ac_func in fmodl
69128 do :
69129   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69130 if test "x$ac_cv_func_fmodl" = x""yes; then :
69131   cat >>confdefs.h <<_ACEOF
69132 #define HAVE_FMODL 1
69133 _ACEOF
69134
69135 fi
69136 done
69137
69138   else
69139
69140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69141 $as_echo_n "checking for _fmodl declaration... " >&6; }
69142   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69143     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69144   $as_echo_n "(cached) " >&6
69145 else
69146
69147
69148       ac_ext=cpp
69149 ac_cpp='$CXXCPP $CPPFLAGS'
69150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69153
69154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69155 /* end confdefs.h.  */
69156 #include <math.h>
69157 int
69158 main ()
69159 {
69160  _fmodl(0, 0);
69161   ;
69162   return 0;
69163 }
69164 _ACEOF
69165 if ac_fn_cxx_try_compile "$LINENO"; then :
69166   glibcxx_cv_func__fmodl_use=yes
69167 else
69168   glibcxx_cv_func__fmodl_use=no
69169 fi
69170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69171       ac_ext=c
69172 ac_cpp='$CPP $CPPFLAGS'
69173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69176
69177
69178 fi
69179
69180   fi
69181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69182 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69183
69184     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69185       for ac_func in _fmodl
69186 do :
69187   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69188 if test "x$ac_cv_func__fmodl" = x""yes; then :
69189   cat >>confdefs.h <<_ACEOF
69190 #define HAVE__FMODL 1
69191 _ACEOF
69192
69193 fi
69194 done
69195
69196     fi
69197   fi
69198
69199
69200
69201
69202
69203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69204 $as_echo_n "checking for frexpl declaration... " >&6; }
69205   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69206     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69207   $as_echo_n "(cached) " >&6
69208 else
69209
69210
69211       ac_ext=cpp
69212 ac_cpp='$CXXCPP $CPPFLAGS'
69213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69216
69217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69218 /* end confdefs.h.  */
69219 #include <math.h>
69220 int
69221 main ()
69222 {
69223  frexpl(0, 0);
69224   ;
69225   return 0;
69226 }
69227 _ACEOF
69228 if ac_fn_cxx_try_compile "$LINENO"; then :
69229   glibcxx_cv_func_frexpl_use=yes
69230 else
69231   glibcxx_cv_func_frexpl_use=no
69232 fi
69233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69234       ac_ext=c
69235 ac_cpp='$CPP $CPPFLAGS'
69236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69239
69240
69241 fi
69242
69243   fi
69244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69245 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69246
69247   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69248     for ac_func in frexpl
69249 do :
69250   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69251 if test "x$ac_cv_func_frexpl" = x""yes; then :
69252   cat >>confdefs.h <<_ACEOF
69253 #define HAVE_FREXPL 1
69254 _ACEOF
69255
69256 fi
69257 done
69258
69259   else
69260
69261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69262 $as_echo_n "checking for _frexpl declaration... " >&6; }
69263   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69264     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69265   $as_echo_n "(cached) " >&6
69266 else
69267
69268
69269       ac_ext=cpp
69270 ac_cpp='$CXXCPP $CPPFLAGS'
69271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69274
69275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69276 /* end confdefs.h.  */
69277 #include <math.h>
69278 int
69279 main ()
69280 {
69281  _frexpl(0, 0);
69282   ;
69283   return 0;
69284 }
69285 _ACEOF
69286 if ac_fn_cxx_try_compile "$LINENO"; then :
69287   glibcxx_cv_func__frexpl_use=yes
69288 else
69289   glibcxx_cv_func__frexpl_use=no
69290 fi
69291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69292       ac_ext=c
69293 ac_cpp='$CPP $CPPFLAGS'
69294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69297
69298
69299 fi
69300
69301   fi
69302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69303 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69304
69305     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69306       for ac_func in _frexpl
69307 do :
69308   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69309 if test "x$ac_cv_func__frexpl" = x""yes; then :
69310   cat >>confdefs.h <<_ACEOF
69311 #define HAVE__FREXPL 1
69312 _ACEOF
69313
69314 fi
69315 done
69316
69317     fi
69318   fi
69319
69320
69321
69322
69323
69324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69325 $as_echo_n "checking for hypotl declaration... " >&6; }
69326   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69327     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69328   $as_echo_n "(cached) " >&6
69329 else
69330
69331
69332       ac_ext=cpp
69333 ac_cpp='$CXXCPP $CPPFLAGS'
69334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69337
69338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69339 /* end confdefs.h.  */
69340 #include <math.h>
69341 int
69342 main ()
69343 {
69344  hypotl(0, 0);
69345   ;
69346   return 0;
69347 }
69348 _ACEOF
69349 if ac_fn_cxx_try_compile "$LINENO"; then :
69350   glibcxx_cv_func_hypotl_use=yes
69351 else
69352   glibcxx_cv_func_hypotl_use=no
69353 fi
69354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69355       ac_ext=c
69356 ac_cpp='$CPP $CPPFLAGS'
69357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69360
69361
69362 fi
69363
69364   fi
69365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69366 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69367
69368   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69369     for ac_func in hypotl
69370 do :
69371   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69372 if test "x$ac_cv_func_hypotl" = x""yes; then :
69373   cat >>confdefs.h <<_ACEOF
69374 #define HAVE_HYPOTL 1
69375 _ACEOF
69376
69377 fi
69378 done
69379
69380   else
69381
69382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69383 $as_echo_n "checking for _hypotl declaration... " >&6; }
69384   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69385     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69386   $as_echo_n "(cached) " >&6
69387 else
69388
69389
69390       ac_ext=cpp
69391 ac_cpp='$CXXCPP $CPPFLAGS'
69392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69395
69396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69397 /* end confdefs.h.  */
69398 #include <math.h>
69399 int
69400 main ()
69401 {
69402  _hypotl(0, 0);
69403   ;
69404   return 0;
69405 }
69406 _ACEOF
69407 if ac_fn_cxx_try_compile "$LINENO"; then :
69408   glibcxx_cv_func__hypotl_use=yes
69409 else
69410   glibcxx_cv_func__hypotl_use=no
69411 fi
69412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69413       ac_ext=c
69414 ac_cpp='$CPP $CPPFLAGS'
69415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69418
69419
69420 fi
69421
69422   fi
69423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69424 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69425
69426     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69427       for ac_func in _hypotl
69428 do :
69429   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69430 if test "x$ac_cv_func__hypotl" = x""yes; then :
69431   cat >>confdefs.h <<_ACEOF
69432 #define HAVE__HYPOTL 1
69433 _ACEOF
69434
69435 fi
69436 done
69437
69438     fi
69439   fi
69440
69441
69442
69443
69444
69445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69446 $as_echo_n "checking for ldexpl declaration... " >&6; }
69447   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69448     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69449   $as_echo_n "(cached) " >&6
69450 else
69451
69452
69453       ac_ext=cpp
69454 ac_cpp='$CXXCPP $CPPFLAGS'
69455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69458
69459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69460 /* end confdefs.h.  */
69461 #include <math.h>
69462 int
69463 main ()
69464 {
69465  ldexpl(0, 0);
69466   ;
69467   return 0;
69468 }
69469 _ACEOF
69470 if ac_fn_cxx_try_compile "$LINENO"; then :
69471   glibcxx_cv_func_ldexpl_use=yes
69472 else
69473   glibcxx_cv_func_ldexpl_use=no
69474 fi
69475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69476       ac_ext=c
69477 ac_cpp='$CPP $CPPFLAGS'
69478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69481
69482
69483 fi
69484
69485   fi
69486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69487 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69488
69489   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69490     for ac_func in ldexpl
69491 do :
69492   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69493 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69494   cat >>confdefs.h <<_ACEOF
69495 #define HAVE_LDEXPL 1
69496 _ACEOF
69497
69498 fi
69499 done
69500
69501   else
69502
69503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69504 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69505   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69506     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69507   $as_echo_n "(cached) " >&6
69508 else
69509
69510
69511       ac_ext=cpp
69512 ac_cpp='$CXXCPP $CPPFLAGS'
69513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69516
69517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69518 /* end confdefs.h.  */
69519 #include <math.h>
69520 int
69521 main ()
69522 {
69523  _ldexpl(0, 0);
69524   ;
69525   return 0;
69526 }
69527 _ACEOF
69528 if ac_fn_cxx_try_compile "$LINENO"; then :
69529   glibcxx_cv_func__ldexpl_use=yes
69530 else
69531   glibcxx_cv_func__ldexpl_use=no
69532 fi
69533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69534       ac_ext=c
69535 ac_cpp='$CPP $CPPFLAGS'
69536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69539
69540
69541 fi
69542
69543   fi
69544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69545 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69546
69547     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69548       for ac_func in _ldexpl
69549 do :
69550   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69551 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69552   cat >>confdefs.h <<_ACEOF
69553 #define HAVE__LDEXPL 1
69554 _ACEOF
69555
69556 fi
69557 done
69558
69559     fi
69560   fi
69561
69562
69563
69564
69565
69566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69567 $as_echo_n "checking for logl declaration... " >&6; }
69568   if test x${glibcxx_cv_func_logl_use+set} != xset; then
69569     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69570   $as_echo_n "(cached) " >&6
69571 else
69572
69573
69574       ac_ext=cpp
69575 ac_cpp='$CXXCPP $CPPFLAGS'
69576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69579
69580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69581 /* end confdefs.h.  */
69582 #include <math.h>
69583                       #ifdef HAVE_IEEEFP_H
69584                       #include <ieeefp.h>
69585                       #endif
69586
69587 int
69588 main ()
69589 {
69590  logl(0);
69591   ;
69592   return 0;
69593 }
69594 _ACEOF
69595 if ac_fn_cxx_try_compile "$LINENO"; then :
69596   glibcxx_cv_func_logl_use=yes
69597 else
69598   glibcxx_cv_func_logl_use=no
69599 fi
69600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69601       ac_ext=c
69602 ac_cpp='$CPP $CPPFLAGS'
69603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69606
69607
69608 fi
69609
69610   fi
69611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69612 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69613
69614   if test x$glibcxx_cv_func_logl_use = x"yes"; then
69615     for ac_func in logl
69616 do :
69617   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69618 if test "x$ac_cv_func_logl" = x""yes; then :
69619   cat >>confdefs.h <<_ACEOF
69620 #define HAVE_LOGL 1
69621 _ACEOF
69622
69623 fi
69624 done
69625
69626   else
69627
69628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69629 $as_echo_n "checking for _logl declaration... " >&6; }
69630   if test x${glibcxx_cv_func__logl_use+set} != xset; then
69631     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69632   $as_echo_n "(cached) " >&6
69633 else
69634
69635
69636       ac_ext=cpp
69637 ac_cpp='$CXXCPP $CPPFLAGS'
69638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69641
69642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69643 /* end confdefs.h.  */
69644 #include <math.h>
69645                       #ifdef HAVE_IEEEFP_H
69646                       #include <ieeefp.h>
69647                       #endif
69648
69649 int
69650 main ()
69651 {
69652  _logl(0);
69653   ;
69654   return 0;
69655 }
69656 _ACEOF
69657 if ac_fn_cxx_try_compile "$LINENO"; then :
69658   glibcxx_cv_func__logl_use=yes
69659 else
69660   glibcxx_cv_func__logl_use=no
69661 fi
69662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69663       ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69668
69669
69670 fi
69671
69672   fi
69673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69674 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69675
69676     if test x$glibcxx_cv_func__logl_use = x"yes"; then
69677       for ac_func in _logl
69678 do :
69679   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69680 if test "x$ac_cv_func__logl" = x""yes; then :
69681   cat >>confdefs.h <<_ACEOF
69682 #define HAVE__LOGL 1
69683 _ACEOF
69684
69685 fi
69686 done
69687
69688     fi
69689   fi
69690
69691
69692
69693
69694
69695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69696 $as_echo_n "checking for log10l declaration... " >&6; }
69697   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69698     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69699   $as_echo_n "(cached) " >&6
69700 else
69701
69702
69703       ac_ext=cpp
69704 ac_cpp='$CXXCPP $CPPFLAGS'
69705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69708
69709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69710 /* end confdefs.h.  */
69711 #include <math.h>
69712                       #ifdef HAVE_IEEEFP_H
69713                       #include <ieeefp.h>
69714                       #endif
69715
69716 int
69717 main ()
69718 {
69719  log10l(0);
69720   ;
69721   return 0;
69722 }
69723 _ACEOF
69724 if ac_fn_cxx_try_compile "$LINENO"; then :
69725   glibcxx_cv_func_log10l_use=yes
69726 else
69727   glibcxx_cv_func_log10l_use=no
69728 fi
69729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69730       ac_ext=c
69731 ac_cpp='$CPP $CPPFLAGS'
69732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69735
69736
69737 fi
69738
69739   fi
69740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69741 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69742
69743   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69744     for ac_func in log10l
69745 do :
69746   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69747 if test "x$ac_cv_func_log10l" = x""yes; then :
69748   cat >>confdefs.h <<_ACEOF
69749 #define HAVE_LOG10L 1
69750 _ACEOF
69751
69752 fi
69753 done
69754
69755   else
69756
69757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69758 $as_echo_n "checking for _log10l declaration... " >&6; }
69759   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69760     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69761   $as_echo_n "(cached) " >&6
69762 else
69763
69764
69765       ac_ext=cpp
69766 ac_cpp='$CXXCPP $CPPFLAGS'
69767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69770
69771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69772 /* end confdefs.h.  */
69773 #include <math.h>
69774                       #ifdef HAVE_IEEEFP_H
69775                       #include <ieeefp.h>
69776                       #endif
69777
69778 int
69779 main ()
69780 {
69781  _log10l(0);
69782   ;
69783   return 0;
69784 }
69785 _ACEOF
69786 if ac_fn_cxx_try_compile "$LINENO"; then :
69787   glibcxx_cv_func__log10l_use=yes
69788 else
69789   glibcxx_cv_func__log10l_use=no
69790 fi
69791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69792       ac_ext=c
69793 ac_cpp='$CPP $CPPFLAGS'
69794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69797
69798
69799 fi
69800
69801   fi
69802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69803 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69804
69805     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69806       for ac_func in _log10l
69807 do :
69808   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69809 if test "x$ac_cv_func__log10l" = x""yes; then :
69810   cat >>confdefs.h <<_ACEOF
69811 #define HAVE__LOG10L 1
69812 _ACEOF
69813
69814 fi
69815 done
69816
69817     fi
69818   fi
69819
69820
69821
69822
69823
69824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69825 $as_echo_n "checking for modfl declaration... " >&6; }
69826   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69827     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69828   $as_echo_n "(cached) " >&6
69829 else
69830
69831
69832       ac_ext=cpp
69833 ac_cpp='$CXXCPP $CPPFLAGS'
69834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69837
69838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69839 /* end confdefs.h.  */
69840 #include <math.h>
69841 int
69842 main ()
69843 {
69844  modfl(0, 0);
69845   ;
69846   return 0;
69847 }
69848 _ACEOF
69849 if ac_fn_cxx_try_compile "$LINENO"; then :
69850   glibcxx_cv_func_modfl_use=yes
69851 else
69852   glibcxx_cv_func_modfl_use=no
69853 fi
69854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69855       ac_ext=c
69856 ac_cpp='$CPP $CPPFLAGS'
69857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69860
69861
69862 fi
69863
69864   fi
69865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69866 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69867
69868   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69869     for ac_func in modfl
69870 do :
69871   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69872 if test "x$ac_cv_func_modfl" = x""yes; then :
69873   cat >>confdefs.h <<_ACEOF
69874 #define HAVE_MODFL 1
69875 _ACEOF
69876
69877 fi
69878 done
69879
69880   else
69881
69882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69883 $as_echo_n "checking for _modfl declaration... " >&6; }
69884   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69885     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69886   $as_echo_n "(cached) " >&6
69887 else
69888
69889
69890       ac_ext=cpp
69891 ac_cpp='$CXXCPP $CPPFLAGS'
69892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69895
69896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69897 /* end confdefs.h.  */
69898 #include <math.h>
69899 int
69900 main ()
69901 {
69902  _modfl(0, 0);
69903   ;
69904   return 0;
69905 }
69906 _ACEOF
69907 if ac_fn_cxx_try_compile "$LINENO"; then :
69908   glibcxx_cv_func__modfl_use=yes
69909 else
69910   glibcxx_cv_func__modfl_use=no
69911 fi
69912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69913       ac_ext=c
69914 ac_cpp='$CPP $CPPFLAGS'
69915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69918
69919
69920 fi
69921
69922   fi
69923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
69924 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
69925
69926     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69927       for ac_func in _modfl
69928 do :
69929   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
69930 if test "x$ac_cv_func__modfl" = x""yes; then :
69931   cat >>confdefs.h <<_ACEOF
69932 #define HAVE__MODFL 1
69933 _ACEOF
69934
69935 fi
69936 done
69937
69938     fi
69939   fi
69940
69941
69942
69943
69944
69945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69946 $as_echo_n "checking for powl declaration... " >&6; }
69947   if test x${glibcxx_cv_func_powl_use+set} != xset; then
69948     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69949   $as_echo_n "(cached) " >&6
69950 else
69951
69952
69953       ac_ext=cpp
69954 ac_cpp='$CXXCPP $CPPFLAGS'
69955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69958
69959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69960 /* end confdefs.h.  */
69961 #include <math.h>
69962 int
69963 main ()
69964 {
69965  powl(0, 0);
69966   ;
69967   return 0;
69968 }
69969 _ACEOF
69970 if ac_fn_cxx_try_compile "$LINENO"; then :
69971   glibcxx_cv_func_powl_use=yes
69972 else
69973   glibcxx_cv_func_powl_use=no
69974 fi
69975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69976       ac_ext=c
69977 ac_cpp='$CPP $CPPFLAGS'
69978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69981
69982
69983 fi
69984
69985   fi
69986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69987 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69988
69989   if test x$glibcxx_cv_func_powl_use = x"yes"; then
69990     for ac_func in powl
69991 do :
69992   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69993 if test "x$ac_cv_func_powl" = x""yes; then :
69994   cat >>confdefs.h <<_ACEOF
69995 #define HAVE_POWL 1
69996 _ACEOF
69997
69998 fi
69999 done
70000
70001   else
70002
70003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70004 $as_echo_n "checking for _powl declaration... " >&6; }
70005   if test x${glibcxx_cv_func__powl_use+set} != xset; then
70006     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70007   $as_echo_n "(cached) " >&6
70008 else
70009
70010
70011       ac_ext=cpp
70012 ac_cpp='$CXXCPP $CPPFLAGS'
70013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70016
70017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70018 /* end confdefs.h.  */
70019 #include <math.h>
70020 int
70021 main ()
70022 {
70023  _powl(0, 0);
70024   ;
70025   return 0;
70026 }
70027 _ACEOF
70028 if ac_fn_cxx_try_compile "$LINENO"; then :
70029   glibcxx_cv_func__powl_use=yes
70030 else
70031   glibcxx_cv_func__powl_use=no
70032 fi
70033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70034       ac_ext=c
70035 ac_cpp='$CPP $CPPFLAGS'
70036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70039
70040
70041 fi
70042
70043   fi
70044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70045 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70046
70047     if test x$glibcxx_cv_func__powl_use = x"yes"; then
70048       for ac_func in _powl
70049 do :
70050   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70051 if test "x$ac_cv_func__powl" = x""yes; then :
70052   cat >>confdefs.h <<_ACEOF
70053 #define HAVE__POWL 1
70054 _ACEOF
70055
70056 fi
70057 done
70058
70059     fi
70060   fi
70061
70062
70063
70064
70065
70066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70067 $as_echo_n "checking for sqrtl declaration... " >&6; }
70068   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70069     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70070   $as_echo_n "(cached) " >&6
70071 else
70072
70073
70074       ac_ext=cpp
70075 ac_cpp='$CXXCPP $CPPFLAGS'
70076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70079
70080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70081 /* end confdefs.h.  */
70082 #include <math.h>
70083                       #ifdef HAVE_IEEEFP_H
70084                       #include <ieeefp.h>
70085                       #endif
70086
70087 int
70088 main ()
70089 {
70090  sqrtl(0);
70091   ;
70092   return 0;
70093 }
70094 _ACEOF
70095 if ac_fn_cxx_try_compile "$LINENO"; then :
70096   glibcxx_cv_func_sqrtl_use=yes
70097 else
70098   glibcxx_cv_func_sqrtl_use=no
70099 fi
70100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70101       ac_ext=c
70102 ac_cpp='$CPP $CPPFLAGS'
70103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70106
70107
70108 fi
70109
70110   fi
70111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70112 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70113
70114   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70115     for ac_func in sqrtl
70116 do :
70117   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70118 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70119   cat >>confdefs.h <<_ACEOF
70120 #define HAVE_SQRTL 1
70121 _ACEOF
70122
70123 fi
70124 done
70125
70126   else
70127
70128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70129 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70130   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70131     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70132   $as_echo_n "(cached) " >&6
70133 else
70134
70135
70136       ac_ext=cpp
70137 ac_cpp='$CXXCPP $CPPFLAGS'
70138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70141
70142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70143 /* end confdefs.h.  */
70144 #include <math.h>
70145                       #ifdef HAVE_IEEEFP_H
70146                       #include <ieeefp.h>
70147                       #endif
70148
70149 int
70150 main ()
70151 {
70152  _sqrtl(0);
70153   ;
70154   return 0;
70155 }
70156 _ACEOF
70157 if ac_fn_cxx_try_compile "$LINENO"; then :
70158   glibcxx_cv_func__sqrtl_use=yes
70159 else
70160   glibcxx_cv_func__sqrtl_use=no
70161 fi
70162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70163       ac_ext=c
70164 ac_cpp='$CPP $CPPFLAGS'
70165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70168
70169
70170 fi
70171
70172   fi
70173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70174 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70175
70176     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70177       for ac_func in _sqrtl
70178 do :
70179   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70180 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70181   cat >>confdefs.h <<_ACEOF
70182 #define HAVE__SQRTL 1
70183 _ACEOF
70184
70185 fi
70186 done
70187
70188     fi
70189   fi
70190
70191
70192
70193
70194
70195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70196 $as_echo_n "checking for sincosl declaration... " >&6; }
70197   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70198     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70199   $as_echo_n "(cached) " >&6
70200 else
70201
70202
70203       ac_ext=cpp
70204 ac_cpp='$CXXCPP $CPPFLAGS'
70205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70208
70209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70210 /* end confdefs.h.  */
70211 #include <math.h>
70212 int
70213 main ()
70214 {
70215  sincosl(0, 0, 0);
70216   ;
70217   return 0;
70218 }
70219 _ACEOF
70220 if ac_fn_cxx_try_compile "$LINENO"; then :
70221   glibcxx_cv_func_sincosl_use=yes
70222 else
70223   glibcxx_cv_func_sincosl_use=no
70224 fi
70225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70226       ac_ext=c
70227 ac_cpp='$CPP $CPPFLAGS'
70228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70231
70232
70233 fi
70234
70235   fi
70236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70237 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70238
70239   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70240     for ac_func in sincosl
70241 do :
70242   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70243 if test "x$ac_cv_func_sincosl" = x""yes; then :
70244   cat >>confdefs.h <<_ACEOF
70245 #define HAVE_SINCOSL 1
70246 _ACEOF
70247
70248 fi
70249 done
70250
70251   else
70252
70253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70254 $as_echo_n "checking for _sincosl declaration... " >&6; }
70255   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70256     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70257   $as_echo_n "(cached) " >&6
70258 else
70259
70260
70261       ac_ext=cpp
70262 ac_cpp='$CXXCPP $CPPFLAGS'
70263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70266
70267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70268 /* end confdefs.h.  */
70269 #include <math.h>
70270 int
70271 main ()
70272 {
70273  _sincosl(0, 0, 0);
70274   ;
70275   return 0;
70276 }
70277 _ACEOF
70278 if ac_fn_cxx_try_compile "$LINENO"; then :
70279   glibcxx_cv_func__sincosl_use=yes
70280 else
70281   glibcxx_cv_func__sincosl_use=no
70282 fi
70283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70284       ac_ext=c
70285 ac_cpp='$CPP $CPPFLAGS'
70286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70289
70290
70291 fi
70292
70293   fi
70294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70295 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70296
70297     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70298       for ac_func in _sincosl
70299 do :
70300   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70301 if test "x$ac_cv_func__sincosl" = x""yes; then :
70302   cat >>confdefs.h <<_ACEOF
70303 #define HAVE__SINCOSL 1
70304 _ACEOF
70305
70306 fi
70307 done
70308
70309     fi
70310   fi
70311
70312
70313
70314
70315
70316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70317 $as_echo_n "checking for finitel declaration... " >&6; }
70318   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70319     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70320   $as_echo_n "(cached) " >&6
70321 else
70322
70323
70324       ac_ext=cpp
70325 ac_cpp='$CXXCPP $CPPFLAGS'
70326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70329
70330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70331 /* end confdefs.h.  */
70332 #include <math.h>
70333                       #ifdef HAVE_IEEEFP_H
70334                       #include <ieeefp.h>
70335                       #endif
70336
70337 int
70338 main ()
70339 {
70340  finitel(0);
70341   ;
70342   return 0;
70343 }
70344 _ACEOF
70345 if ac_fn_cxx_try_compile "$LINENO"; then :
70346   glibcxx_cv_func_finitel_use=yes
70347 else
70348   glibcxx_cv_func_finitel_use=no
70349 fi
70350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70351       ac_ext=c
70352 ac_cpp='$CPP $CPPFLAGS'
70353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70356
70357
70358 fi
70359
70360   fi
70361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70362 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70363
70364   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70365     for ac_func in finitel
70366 do :
70367   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70368 if test "x$ac_cv_func_finitel" = x""yes; then :
70369   cat >>confdefs.h <<_ACEOF
70370 #define HAVE_FINITEL 1
70371 _ACEOF
70372
70373 fi
70374 done
70375
70376   else
70377
70378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70379 $as_echo_n "checking for _finitel declaration... " >&6; }
70380   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70381     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70382   $as_echo_n "(cached) " >&6
70383 else
70384
70385
70386       ac_ext=cpp
70387 ac_cpp='$CXXCPP $CPPFLAGS'
70388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70391
70392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70393 /* end confdefs.h.  */
70394 #include <math.h>
70395                       #ifdef HAVE_IEEEFP_H
70396                       #include <ieeefp.h>
70397                       #endif
70398
70399 int
70400 main ()
70401 {
70402  _finitel(0);
70403   ;
70404   return 0;
70405 }
70406 _ACEOF
70407 if ac_fn_cxx_try_compile "$LINENO"; then :
70408   glibcxx_cv_func__finitel_use=yes
70409 else
70410   glibcxx_cv_func__finitel_use=no
70411 fi
70412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70413       ac_ext=c
70414 ac_cpp='$CPP $CPPFLAGS'
70415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70418
70419
70420 fi
70421
70422   fi
70423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70424 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70425
70426     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70427       for ac_func in _finitel
70428 do :
70429   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70430 if test "x$ac_cv_func__finitel" = x""yes; then :
70431   cat >>confdefs.h <<_ACEOF
70432 #define HAVE__FINITEL 1
70433 _ACEOF
70434
70435 fi
70436 done
70437
70438     fi
70439   fi
70440
70441
70442
70443
70444   LIBS="$ac_save_LIBS"
70445   CXXFLAGS="$ac_save_CXXFLAGS"
70446
70447
70448   ac_test_CXXFLAGS="${CXXFLAGS+set}"
70449   ac_save_CXXFLAGS="$CXXFLAGS"
70450   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70451
70452
70453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70454 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70455   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70456     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70457   $as_echo_n "(cached) " >&6
70458 else
70459
70460
70461       ac_ext=cpp
70462 ac_cpp='$CXXCPP $CPPFLAGS'
70463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70466
70467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70468 /* end confdefs.h.  */
70469 #include <stdlib.h>
70470 int
70471 main ()
70472 {
70473  at_quick_exit(0);
70474   ;
70475   return 0;
70476 }
70477 _ACEOF
70478 if ac_fn_cxx_try_compile "$LINENO"; then :
70479   glibcxx_cv_func_at_quick_exit_use=yes
70480 else
70481   glibcxx_cv_func_at_quick_exit_use=no
70482 fi
70483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70484       ac_ext=c
70485 ac_cpp='$CPP $CPPFLAGS'
70486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70489
70490
70491 fi
70492
70493   fi
70494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70495 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70496   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70497     for ac_func in at_quick_exit
70498 do :
70499   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70500 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70501   cat >>confdefs.h <<_ACEOF
70502 #define HAVE_AT_QUICK_EXIT 1
70503 _ACEOF
70504
70505 fi
70506 done
70507
70508   fi
70509
70510
70511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70512 $as_echo_n "checking for quick_exit declaration... " >&6; }
70513   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70514     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70515   $as_echo_n "(cached) " >&6
70516 else
70517
70518
70519       ac_ext=cpp
70520 ac_cpp='$CXXCPP $CPPFLAGS'
70521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70524
70525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70526 /* end confdefs.h.  */
70527 #include <stdlib.h>
70528 int
70529 main ()
70530 {
70531  quick_exit(0);
70532   ;
70533   return 0;
70534 }
70535 _ACEOF
70536 if ac_fn_cxx_try_compile "$LINENO"; then :
70537   glibcxx_cv_func_quick_exit_use=yes
70538 else
70539   glibcxx_cv_func_quick_exit_use=no
70540 fi
70541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70542       ac_ext=c
70543 ac_cpp='$CPP $CPPFLAGS'
70544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70547
70548
70549 fi
70550
70551   fi
70552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70553 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70554   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70555     for ac_func in quick_exit
70556 do :
70557   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70558 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70559   cat >>confdefs.h <<_ACEOF
70560 #define HAVE_QUICK_EXIT 1
70561 _ACEOF
70562
70563 fi
70564 done
70565
70566   fi
70567
70568
70569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70570 $as_echo_n "checking for strtold declaration... " >&6; }
70571   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70572     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70573   $as_echo_n "(cached) " >&6
70574 else
70575
70576
70577       ac_ext=cpp
70578 ac_cpp='$CXXCPP $CPPFLAGS'
70579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70582
70583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70584 /* end confdefs.h.  */
70585 #include <stdlib.h>
70586 int
70587 main ()
70588 {
70589  strtold(0, 0);
70590   ;
70591   return 0;
70592 }
70593 _ACEOF
70594 if ac_fn_cxx_try_compile "$LINENO"; then :
70595   glibcxx_cv_func_strtold_use=yes
70596 else
70597   glibcxx_cv_func_strtold_use=no
70598 fi
70599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70600       ac_ext=c
70601 ac_cpp='$CPP $CPPFLAGS'
70602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70605
70606
70607 fi
70608
70609   fi
70610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70611 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70612   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70613     for ac_func in strtold
70614 do :
70615   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70616 if test "x$ac_cv_func_strtold" = x""yes; then :
70617   cat >>confdefs.h <<_ACEOF
70618 #define HAVE_STRTOLD 1
70619 _ACEOF
70620
70621 fi
70622 done
70623
70624   fi
70625
70626
70627
70628
70629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70630 $as_echo_n "checking for strtof declaration... " >&6; }
70631   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70632     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70633   $as_echo_n "(cached) " >&6
70634 else
70635
70636
70637       ac_ext=cpp
70638 ac_cpp='$CXXCPP $CPPFLAGS'
70639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70642
70643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70644 /* end confdefs.h.  */
70645 #include <stdlib.h>
70646 int
70647 main ()
70648 {
70649  strtof(0, 0);
70650   ;
70651   return 0;
70652 }
70653 _ACEOF
70654 if ac_fn_cxx_try_compile "$LINENO"; then :
70655   glibcxx_cv_func_strtof_use=yes
70656 else
70657   glibcxx_cv_func_strtof_use=no
70658 fi
70659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70660       ac_ext=c
70661 ac_cpp='$CPP $CPPFLAGS'
70662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70665
70666
70667 fi
70668
70669   fi
70670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70671 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70672   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70673     for ac_func in strtof
70674 do :
70675   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70676 if test "x$ac_cv_func_strtof" = x""yes; then :
70677   cat >>confdefs.h <<_ACEOF
70678 #define HAVE_STRTOF 1
70679 _ACEOF
70680
70681 fi
70682 done
70683
70684   fi
70685
70686
70687
70688
70689   CXXFLAGS="$ac_save_CXXFLAGS"
70690
70691     ;;
70692   *-vxworks)
70693     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70694
70695     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70696
70697     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70698
70699     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70700
70701     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70702
70703     $as_echo "#define HAVE_COSF 1" >>confdefs.h
70704
70705     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70706
70707     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70708
70709     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70710
70711     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70712
70713     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70714
70715     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70716
70717     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70718
70719     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70720
70721     $as_echo "#define HAVE_POWF 1" >>confdefs.h
70722
70723     $as_echo "#define HAVE_SINF 1" >>confdefs.h
70724
70725     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70726
70727     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70728
70729     $as_echo "#define HAVE_TANF 1" >>confdefs.h
70730
70731     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70732
70733     ;;
70734   *)
70735     as_fn_error "No support for this host/target combination." "$LINENO" 5
70736    ;;
70737 esac
70738
70739   fi
70740
70741   # At some point, we should differentiate between architectures
70742   # like x86, which have long double versions, and alpha/powerpc/etc.,
70743   # which don't. For the time being, punt.
70744   if test x"long_double_math_on_this_cpu" = x"yes"; then
70745     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70746
70747     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70748
70749     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70750
70751     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70752
70753     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70754
70755     $as_echo "#define HAVE_COSL 1" >>confdefs.h
70756
70757     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70758
70759     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70760
70761     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70762
70763     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70764
70765     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70766
70767     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70768
70769     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70770
70771     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70772
70773     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70774
70775     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70776
70777     $as_echo "#define HAVE_POWL 1" >>confdefs.h
70778
70779     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70780
70781     $as_echo "#define HAVE_SINL 1" >>confdefs.h
70782
70783     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70784
70785     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70786
70787     $as_echo "#define HAVE_TANL 1" >>confdefs.h
70788
70789     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70790
70791   fi
70792 fi
70793
70794 # Check for _Unwind_GetIPInfo.
70795
70796
70797 # Check whether --with-system-libunwind was given.
70798 if test "${with_system_libunwind+set}" = set; then :
70799   withval=$with_system_libunwind;
70800 fi
70801
70802   # If system-libunwind was not specifically set, pick a default setting.
70803   if test x$with_system_libunwind = x; then
70804     case ${target} in
70805       ia64-*-hpux*) with_system_libunwind=yes ;;
70806       *) with_system_libunwind=no ;;
70807     esac
70808   fi
70809   # Based on system-libunwind and target, do we have ipinfo?
70810   if  test x$with_system_libunwind = xyes; then
70811     case ${target} in
70812       ia64-*-*) have_unwind_getipinfo=no ;;
70813       *) have_unwind_getipinfo=yes ;;
70814     esac
70815   else
70816     # Darwin before version 9 does not have _Unwind_GetIPInfo.
70817
70818     case ${target} in
70819       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70820       *) have_unwind_getipinfo=yes ;;
70821     esac
70822
70823   fi
70824
70825   if test x$have_unwind_getipinfo = xyes; then
70826
70827 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70828
70829   fi
70830
70831
70832  # Check whether --enable-linux-futex was given.
70833 if test "${enable_linux_futex+set}" = set; then :
70834   enableval=$enable_linux_futex;
70835       case "$enableval" in
70836        yes|no|default) ;;
70837        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70838                           esac
70839
70840 else
70841   enable_linux_futex=default
70842 fi
70843
70844
70845 case "$target" in
70846   *-linux*)
70847     case "$enable_linux_futex" in
70848       default)
70849         # If headers don't have gettid/futex syscalls definition, then
70850         # default to no, otherwise there will be compile time failures.
70851         # Otherwise, default to yes.  If we don't detect we are
70852         # compiled/linked against NPTL and not cross-compiling, check
70853         # if programs are run by default against NPTL and if not, issue
70854         # a warning.
70855         enable_linux_futex=no
70856         if test x$gcc_no_link = xyes; then
70857   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70858 fi
70859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70860 /* end confdefs.h.  */
70861 #include <sys/syscall.h>
70862            int lk;
70863 int
70864 main ()
70865 {
70866 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70867   ;
70868   return 0;
70869 }
70870 _ACEOF
70871 if ac_fn_c_try_link "$LINENO"; then :
70872   save_LIBS="$LIBS"
70873            LIBS="-lpthread $LIBS"
70874            if test x$gcc_no_link = xyes; then
70875   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70876 fi
70877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70878 /* end confdefs.h.  */
70879 #ifndef _GNU_SOURCE
70880              #define _GNU_SOURCE 1
70881              #endif
70882              #include <pthread.h>
70883              pthread_t th; void *status;
70884 int
70885 main ()
70886 {
70887 pthread_tryjoin_np (th, &status);
70888   ;
70889   return 0;
70890 }
70891 _ACEOF
70892 if ac_fn_c_try_link "$LINENO"; then :
70893   enable_linux_futex=yes
70894 else
70895   if test x$cross_compiling = xno; then
70896                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70897                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70898                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70899 If so, please configure with --disable-linux-futex" >&5
70900 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70901 If so, please configure with --disable-linux-futex" >&2;}
70902                fi
70903              fi
70904              enable_linux_futex=yes
70905 fi
70906 rm -f core conftest.err conftest.$ac_objext \
70907     conftest$ac_exeext conftest.$ac_ext
70908            LIBS="$save_LIBS"
70909 fi
70910 rm -f core conftest.err conftest.$ac_objext \
70911     conftest$ac_exeext conftest.$ac_ext
70912         ;;
70913       yes)
70914         if test x$gcc_no_link = xyes; then
70915   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70916 fi
70917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70918 /* end confdefs.h.  */
70919 #include <sys/syscall.h>
70920            int lk;
70921 int
70922 main ()
70923 {
70924 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70925   ;
70926   return 0;
70927 }
70928 _ACEOF
70929 if ac_fn_c_try_link "$LINENO"; then :
70930
70931 else
70932   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70933 fi
70934 rm -f core conftest.err conftest.$ac_objext \
70935     conftest$ac_exeext conftest.$ac_ext
70936         ;;
70937     esac
70938     ;;
70939   *)
70940     enable_linux_futex=no
70941     ;;
70942 esac
70943 if test x$enable_linux_futex = xyes; then
70944
70945 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70946
70947 fi
70948
70949
70950
70951
70952 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
70953
70954 acx_cv_header_stdint=stddef.h
70955 acx_cv_header_stdint_kind="(already complete)"
70956 for i in stdint.h $inttype_headers; do
70957   unset ac_cv_type_uintptr_t
70958   unset ac_cv_type_uintmax_t
70959   unset ac_cv_type_int_least32_t
70960   unset ac_cv_type_int_fast32_t
70961   unset ac_cv_type_uint64_t
70962   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
70963   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
70964 #include <$i>
70965 "
70966 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
70967   acx_cv_header_stdint=$i
70968 else
70969   continue
70970 fi
70971
70972   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
70973 #include <$i>
70974 "
70975 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
70976
70977 else
70978   acx_cv_header_stdint_kind="(mostly complete)"
70979 fi
70980
70981   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
70982 #include <$i>
70983 "
70984 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
70985
70986 else
70987   acx_cv_header_stdint_kind="(mostly complete)"
70988 fi
70989
70990   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
70991 #include <$i>
70992 "
70993 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
70994
70995 else
70996   acx_cv_header_stdint_kind="(mostly complete)"
70997 fi
70998
70999   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71000 #include <$i>
71001 "
71002 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71003
71004 else
71005   acx_cv_header_stdint_kind="(lacks uint64_t)"
71006 fi
71007
71008   break
71009 done
71010 if test "$acx_cv_header_stdint" = stddef.h; then
71011   acx_cv_header_stdint_kind="(lacks uintmax_t)"
71012   for i in stdint.h $inttype_headers; do
71013     unset ac_cv_type_uintptr_t
71014     unset ac_cv_type_uint32_t
71015     unset ac_cv_type_uint64_t
71016     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71017     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71018 #include <$i>
71019 "
71020 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71021   acx_cv_header_stdint=$i
71022 else
71023   continue
71024 fi
71025
71026     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71027 #include <$i>
71028 "
71029 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71030
71031 fi
71032
71033     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71034 #include <$i>
71035 "
71036 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71037
71038 fi
71039
71040     break
71041   done
71042 fi
71043 if test "$acx_cv_header_stdint" = stddef.h; then
71044   acx_cv_header_stdint_kind="(u_intXX_t style)"
71045   for i in sys/types.h $inttype_headers; do
71046     unset ac_cv_type_u_int32_t
71047     unset ac_cv_type_u_int64_t
71048     $as_echo_n "looking for u_intXX_t types in $i, " >&6
71049     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71050 #include <$i>
71051 "
71052 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71053   acx_cv_header_stdint=$i
71054 else
71055   continue
71056 fi
71057
71058     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71059 #include <$i>
71060 "
71061 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71062
71063 fi
71064
71065     break
71066   done
71067 fi
71068 if test "$acx_cv_header_stdint" = stddef.h; then
71069   acx_cv_header_stdint_kind="(using manual detection)"
71070 fi
71071
71072 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71073 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71074 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71075 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71076 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71077
71078 # ----------------- Summarize what we found so far
71079
71080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71081 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71082
71083 case `$as_basename -- include/gstdint.h ||
71084 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71085          Xinclude/gstdint.h : 'X\(//\)$' \| \
71086          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71087 $as_echo X/include/gstdint.h |
71088     sed '/^.*\/\([^/][^/]*\)\/*$/{
71089             s//\1/
71090             q
71091           }
71092           /^X\/\(\/\/\)$/{
71093             s//\1/
71094             q
71095           }
71096           /^X\/\(\/\).*/{
71097             s//\1/
71098             q
71099           }
71100           s/.*/./; q'` in
71101   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71102 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71103   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71104 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71105   *) ;;
71106 esac
71107
71108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71109 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71110
71111 # ----------------- done included file, check C basic types --------
71112
71113 # Lacking an uintptr_t?  Test size of void *
71114 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71115   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71116 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71117 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71118 # This bug is HP SR number 8606223364.
71119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71120 $as_echo_n "checking size of void *... " >&6; }
71121 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71122   $as_echo_n "(cached) " >&6
71123 else
71124   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
71125
71126 else
71127   if test "$ac_cv_type_void_p" = yes; then
71128      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71130 { as_fn_set_status 77
71131 as_fn_error "cannot compute sizeof (void *)
71132 See \`config.log' for more details." "$LINENO" 5; }; }
71133    else
71134      ac_cv_sizeof_void_p=0
71135    fi
71136 fi
71137
71138 fi
71139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71140 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71141
71142
71143
71144 cat >>confdefs.h <<_ACEOF
71145 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71146 _ACEOF
71147
71148  ;;
71149 esac
71150
71151 # Lacking an uint64_t?  Test size of long
71152 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71153   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71154 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71155 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71156 # This bug is HP SR number 8606223364.
71157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71158 $as_echo_n "checking size of long... " >&6; }
71159 if test "${ac_cv_sizeof_long+set}" = set; then :
71160   $as_echo_n "(cached) " >&6
71161 else
71162   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
71163
71164 else
71165   if test "$ac_cv_type_long" = yes; then
71166      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71168 { as_fn_set_status 77
71169 as_fn_error "cannot compute sizeof (long)
71170 See \`config.log' for more details." "$LINENO" 5; }; }
71171    else
71172      ac_cv_sizeof_long=0
71173    fi
71174 fi
71175
71176 fi
71177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71178 $as_echo "$ac_cv_sizeof_long" >&6; }
71179
71180
71181
71182 cat >>confdefs.h <<_ACEOF
71183 #define SIZEOF_LONG $ac_cv_sizeof_long
71184 _ACEOF
71185
71186  ;;
71187 esac
71188
71189 if test $acx_cv_header_stdint = stddef.h; then
71190   # Lacking a good header?  Test size of everything and deduce all types.
71191   # The cast to long int works around a bug in the HP C Compiler
71192 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71193 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71194 # This bug is HP SR number 8606223364.
71195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71196 $as_echo_n "checking size of int... " >&6; }
71197 if test "${ac_cv_sizeof_int+set}" = set; then :
71198   $as_echo_n "(cached) " >&6
71199 else
71200   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
71201
71202 else
71203   if test "$ac_cv_type_int" = yes; then
71204      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71206 { as_fn_set_status 77
71207 as_fn_error "cannot compute sizeof (int)
71208 See \`config.log' for more details." "$LINENO" 5; }; }
71209    else
71210      ac_cv_sizeof_int=0
71211    fi
71212 fi
71213
71214 fi
71215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71216 $as_echo "$ac_cv_sizeof_int" >&6; }
71217
71218
71219
71220 cat >>confdefs.h <<_ACEOF
71221 #define SIZEOF_INT $ac_cv_sizeof_int
71222 _ACEOF
71223
71224
71225   # The cast to long int works around a bug in the HP C Compiler
71226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71228 # This bug is HP SR number 8606223364.
71229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71230 $as_echo_n "checking size of short... " >&6; }
71231 if test "${ac_cv_sizeof_short+set}" = set; then :
71232   $as_echo_n "(cached) " >&6
71233 else
71234   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
71235
71236 else
71237   if test "$ac_cv_type_short" = yes; then
71238      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71240 { as_fn_set_status 77
71241 as_fn_error "cannot compute sizeof (short)
71242 See \`config.log' for more details." "$LINENO" 5; }; }
71243    else
71244      ac_cv_sizeof_short=0
71245    fi
71246 fi
71247
71248 fi
71249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71250 $as_echo "$ac_cv_sizeof_short" >&6; }
71251
71252
71253
71254 cat >>confdefs.h <<_ACEOF
71255 #define SIZEOF_SHORT $ac_cv_sizeof_short
71256 _ACEOF
71257
71258
71259   # The cast to long int works around a bug in the HP C Compiler
71260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71262 # This bug is HP SR number 8606223364.
71263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71264 $as_echo_n "checking size of char... " >&6; }
71265 if test "${ac_cv_sizeof_char+set}" = set; then :
71266   $as_echo_n "(cached) " >&6
71267 else
71268   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
71269
71270 else
71271   if test "$ac_cv_type_char" = yes; then
71272      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71274 { as_fn_set_status 77
71275 as_fn_error "cannot compute sizeof (char)
71276 See \`config.log' for more details." "$LINENO" 5; }; }
71277    else
71278      ac_cv_sizeof_char=0
71279    fi
71280 fi
71281
71282 fi
71283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71284 $as_echo "$ac_cv_sizeof_char" >&6; }
71285
71286
71287
71288 cat >>confdefs.h <<_ACEOF
71289 #define SIZEOF_CHAR $ac_cv_sizeof_char
71290 _ACEOF
71291
71292
71293
71294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71295 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71296   case "$ac_cv_sizeof_char" in
71297     1) acx_cv_type_int8_t=char ;;
71298     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71299   esac
71300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71301 $as_echo "$acx_cv_type_int8_t" >&6; }
71302
71303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71304 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71305   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71306     2:*) acx_cv_type_int16_t=int ;;
71307     *:2) acx_cv_type_int16_t=short ;;
71308     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71309   esac
71310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71311 $as_echo "$acx_cv_type_int16_t" >&6; }
71312
71313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71314 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71315   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71316     4:*) acx_cv_type_int32_t=int ;;
71317     *:4) acx_cv_type_int32_t=long ;;
71318     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71319   esac
71320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71321 $as_echo "$acx_cv_type_int32_t" >&6; }
71322 fi
71323
71324 # These tests are here to make the output prettier
71325
71326 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71327   case "$ac_cv_sizeof_long" in
71328     8) acx_cv_type_int64_t=long ;;
71329   esac
71330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71331 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71333 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71334 fi
71335
71336 # Now we can use the above types
71337
71338 if test "$ac_cv_type_uintptr_t" != yes; then
71339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71340 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71341   case $ac_cv_sizeof_void_p in
71342     2) acx_cv_type_intptr_t=int16_t ;;
71343     4) acx_cv_type_intptr_t=int32_t ;;
71344     8) acx_cv_type_intptr_t=int64_t ;;
71345     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71346   esac
71347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71348 $as_echo "$acx_cv_type_intptr_t" >&6; }
71349 fi
71350
71351 # ----------------- done all checks, emit header -------------
71352 ac_config_commands="$ac_config_commands include/gstdint.h"
71353
71354
71355
71356
71357
71358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71359 $as_echo_n "checking for GNU c++filt... " >&6; }
71360 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71361   $as_echo_n "(cached) " >&6
71362 else
71363   if test -z "$CXXFILT"; then
71364   ac_path_CXXFILT_found=false
71365   # Loop through the user's path and test for each of PROGNAME-LIST
71366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71367 for as_dir in $PATH
71368 do
71369   IFS=$as_save_IFS
71370   test -z "$as_dir" && as_dir=.
71371     for ac_prog in c++filt gc++filt; do
71372     for ac_exec_ext in '' $ac_executable_extensions; do
71373       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71374       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71375 # Check for GNU $ac_path_CXXFILT
71376 case `"$ac_path_CXXFILT" --version 2>&1` in
71377 *GNU*)
71378   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71379 esac
71380
71381       $ac_path_CXXFILT_found && break 3
71382     done
71383   done
71384   done
71385 IFS=$as_save_IFS
71386   if test -z "$ac_cv_path_CXXFILT"; then
71387     :
71388   fi
71389 else
71390   ac_cv_path_CXXFILT=$CXXFILT
71391 fi
71392
71393 fi
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71395 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71396   CXXFILT=$ac_cv_path_CXXFILT
71397
71398
71399
71400  # Check whether --enable-symvers was given.
71401 if test "${enable_symvers+set}" = set; then :
71402   enableval=$enable_symvers;
71403       case "$enableval" in
71404        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71405        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71406                         esac
71407
71408 else
71409   enable_symvers=yes
71410 fi
71411
71412
71413
71414 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71415 # don't know enough about $LD to do tricks...
71416
71417 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71418 # with extern "C++" in version scripts.
71419
71420
71421 # Turn a 'yes' into a suitable default.
71422 if test x$enable_symvers = xyes ; then
71423   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71424     enable_symvers=no
71425   else
71426     if test $with_gnu_ld = yes ; then
71427       case ${target_os} in
71428         hpux*)
71429           enable_symvers=no ;;
71430         *)
71431           enable_symvers=gnu ;;
71432       esac
71433     else
71434       case ${target_os} in
71435         darwin*)
71436           enable_symvers=darwin ;;
71437         # Sun symbol versioning exists since Solaris 2.5.
71438         solaris2.[5-9]* | solaris2.1[0-9]*)
71439           # make_sunver.pl needs GNU c++filt to support extern "C++" in
71440           # version scripts, so disable symbol versioning if none can be
71441           # found.
71442           if test -z "$ac_cv_path_CXXFILT"; then
71443             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71444 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71445             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
71446 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
71447             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71448 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71449             enable_symvers=no
71450           else
71451             enable_symvers=sun
71452           fi
71453           ;;
71454         *)
71455           enable_symvers=no ;;
71456       esac
71457     fi
71458   fi
71459 fi
71460
71461 # Check to see if 'darwin' or 'darwin-export' can win.
71462 if test x$enable_symvers = xdarwin-export ; then
71463     enable_symvers=darwin
71464 fi
71465
71466 # Check if 'sun' was requested on non-Solaris 2 platforms.
71467 if test x$enable_symvers = xsun ; then
71468   case ${target_os} in
71469     solaris2*)
71470       # All fine.
71471       ;;
71472     *)
71473       # Unlikely to work.
71474       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71475 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71476       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71477 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71478       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71479 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71480       enable_symvers=no
71481       ;;
71482   esac
71483 fi
71484
71485 # Check to see if 'gnu' can win.
71486 if test $enable_symvers = gnu ||
71487   test $enable_symvers = gnu-versioned-namespace ||
71488   test $enable_symvers = sun; then
71489   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71491 $as_echo_n "checking for shared libgcc... " >&6; }
71492   ac_save_CFLAGS="$CFLAGS"
71493   CFLAGS=' -lgcc_s'
71494   if test x$gcc_no_link = xyes; then
71495   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71496 fi
71497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71498 /* end confdefs.h.  */
71499
71500 int
71501 main ()
71502 {
71503 return 0;
71504   ;
71505   return 0;
71506 }
71507 _ACEOF
71508 if ac_fn_c_try_link "$LINENO"; then :
71509   glibcxx_shared_libgcc=yes
71510 else
71511   glibcxx_shared_libgcc=no
71512 fi
71513 rm -f core conftest.err conftest.$ac_objext \
71514     conftest$ac_exeext conftest.$ac_ext
71515   CFLAGS="$ac_save_CFLAGS"
71516   if test $glibcxx_shared_libgcc = no; then
71517     cat > conftest.c <<EOF
71518 int main (void) { return 0; }
71519 EOF
71520     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71521                              -shared -shared-libgcc -o conftest.so \
71522                              conftest.c -v 2>&1 >/dev/null \
71523                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71524     rm -f conftest.c conftest.so
71525     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71526       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71527       if test x$gcc_no_link = xyes; then
71528   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71529 fi
71530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71531 /* end confdefs.h.  */
71532
71533 int
71534 main ()
71535 {
71536 return 0;
71537   ;
71538   return 0;
71539 }
71540 _ACEOF
71541 if ac_fn_c_try_link "$LINENO"; then :
71542   glibcxx_shared_libgcc=yes
71543 fi
71544 rm -f core conftest.err conftest.$ac_objext \
71545     conftest$ac_exeext conftest.$ac_ext
71546       CFLAGS="$ac_save_CFLAGS"
71547     fi
71548   fi
71549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71550 $as_echo "$glibcxx_shared_libgcc" >&6; }
71551
71552   # For GNU ld, we need at least this version.  The format is described in
71553   # GLIBCXX_CHECK_LINKER_FEATURES above.
71554   glibcxx_min_gnu_ld_version=21400
71555
71556   # If no shared libgcc, can't win.
71557   if test $glibcxx_shared_libgcc != yes; then
71558       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71559 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71560       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71561 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71562       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71563 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71564       enable_symvers=no
71565   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71566     : All interesting versions of Sun ld support sun style symbol versioning.
71567   elif test $with_gnu_ld != yes ; then
71568     # just fail for now
71569     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71570 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71571     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71572 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71573     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71574 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71575     enable_symvers=no
71576   elif test $glibcxx_ld_is_gold = yes ; then
71577     : All versions of gold support symbol versioning.
71578   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71579     # The right tools, the right setup, but too old.  Fallbacks?
71580     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71581 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71582     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71583 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71584     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71585 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71586     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71587 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71588     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71589 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71590     enable_symvers=no
71591   fi
71592 fi
71593
71594 # For libtool versioning info, format is CURRENT:REVISION:AGE
71595 libtool_VERSION=6:19:0
71596
71597 # Everything parsed; figure out what files and settings to use.
71598 case $enable_symvers in
71599   no)
71600     SYMVER_FILE=config/abi/pre/none.ver
71601     ;;
71602   gnu)
71603     SYMVER_FILE=config/abi/pre/gnu.ver
71604
71605 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71606
71607     ;;
71608   gnu-versioned-namespace)
71609     libtool_VERSION=7:0:0
71610     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71611
71612 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71613
71614     ;;
71615   darwin)
71616     SYMVER_FILE=config/abi/pre/gnu.ver
71617
71618 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71619
71620     ;;
71621   sun)
71622     SYMVER_FILE=config/abi/pre/gnu.ver
71623
71624 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71625
71626     ;;
71627 esac
71628
71629 if test x$enable_symvers != xno ; then
71630
71631 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71632
71633 fi
71634
71635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71636 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71637 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71638   $as_echo_n "(cached) " >&6
71639 else
71640
71641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71642 /* end confdefs.h.  */
71643 void foo (void); __asm (".symver foo, bar@SYMVER");
71644 int
71645 main ()
71646 {
71647
71648   ;
71649   return 0;
71650 }
71651 _ACEOF
71652 if ac_fn_c_try_compile "$LINENO"; then :
71653   glibcxx_cv_have_as_symver_directive=yes
71654 else
71655   glibcxx_cv_have_as_symver_directive=no
71656 fi
71657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71658 fi
71659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71660 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71661 if test $glibcxx_cv_have_as_symver_directive = yes; then
71662
71663 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71664
71665 fi
71666
71667
71668
71669
71670
71671
71672
71673
71674 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71675 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71676
71677 if test $enable_symvers != no ; then
71678    case ${target_os} in
71679      # The Solaris 2 runtime linker doesn't support the GNU extension of
71680      # binding the same symbol to different versions
71681      solaris2*)
71682        ;;
71683      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71684      *)
71685
71686 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71687
71688        ;;
71689     esac
71690 fi
71691
71692 # Now, set up compatibility support, if any.
71693 # In addition, need this to deal with std::size_t mangling in
71694 # src/compatibility.cc.  In a perfect world, could use
71695 # typeid(std::size_t).name()[0] to do direct substitution.
71696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71697 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71698 ac_save_CFLAGS="$CFLAGS"
71699 CFLAGS="-Werror"
71700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71701 /* end confdefs.h.  */
71702
71703 int
71704 main ()
71705 {
71706 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71707   ;
71708   return 0;
71709 }
71710 _ACEOF
71711 if ac_fn_c_try_compile "$LINENO"; then :
71712   glibcxx_size_t_is_i=yes
71713 else
71714   glibcxx_size_t_is_i=no
71715 fi
71716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71717 CFLAGS=$ac_save_CFLAGS
71718 if test "$glibcxx_size_t_is_i" = yes; then
71719
71720 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71721
71722 fi
71723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71724 $as_echo "$glibcxx_size_t_is_i" >&6; }
71725
71726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71727 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71728 ac_save_CFLAGS="$CFLAGS"
71729 CFLAGS="-Werror"
71730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71731 /* end confdefs.h.  */
71732
71733 int
71734 main ()
71735 {
71736 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71737   ;
71738   return 0;
71739 }
71740 _ACEOF
71741 if ac_fn_c_try_compile "$LINENO"; then :
71742   glibcxx_ptrdiff_t_is_i=yes
71743 else
71744   glibcxx_ptrdiff_t_is_i=no
71745 fi
71746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71747 CFLAGS=$ac_save_CFLAGS
71748 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71749
71750 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71751
71752 fi
71753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71754 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71755
71756
71757
71758
71759  # Check whether --enable-libstdcxx-visibility was given.
71760 if test "${enable_libstdcxx_visibility+set}" = set; then :
71761   enableval=$enable_libstdcxx_visibility;
71762       case "$enableval" in
71763        yes|no) ;;
71764        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71765       esac
71766
71767 else
71768   enable_libstdcxx_visibility=yes
71769 fi
71770
71771
71772
71773 if test x$enable_libstdcxx_visibility = xyes ; then
71774       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71775 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71776 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71777   $as_echo_n "(cached) " >&6
71778 else
71779
71780   save_CFLAGS="$CFLAGS"
71781   CFLAGS="$CFLAGS -Werror"
71782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71783 /* end confdefs.h.  */
71784 void __attribute__((visibility("hidden"))) foo(void) { }
71785 int
71786 main ()
71787 {
71788
71789   ;
71790   return 0;
71791 }
71792 _ACEOF
71793 if ac_fn_c_try_compile "$LINENO"; then :
71794   glibcxx_cv_have_attribute_visibility=yes
71795 else
71796   glibcxx_cv_have_attribute_visibility=no
71797 fi
71798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71799   CFLAGS="$save_CFLAGS"
71800 fi
71801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71802 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71803   if test $glibcxx_cv_have_attribute_visibility = no; then
71804     enable_libstdcxx_visibility=no
71805   fi
71806 fi
71807
71808
71809 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71810 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71811
71812
71813 ac_ldbl_compat=no
71814 case "$target" in
71815   powerpc*-*-linux* | \
71816   sparc*-*-linux* | \
71817   s390*-*-linux* | \
71818   alpha*-*-linux*)
71819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71820 /* end confdefs.h.  */
71821
71822 int
71823 main ()
71824 {
71825
71826 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71827 #error no need for long double compatibility
71828 #endif
71829
71830   ;
71831   return 0;
71832 }
71833 _ACEOF
71834 if ac_fn_c_try_compile "$LINENO"; then :
71835   ac_ldbl_compat=yes
71836 else
71837   ac_ldbl_compat=no
71838 fi
71839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71840   if test "$ac_ldbl_compat" = yes; then
71841
71842 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71843
71844     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71845   fi
71846 esac
71847
71848
71849 # Check if assembler supports disabling hardware capability support.
71850
71851   test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71852
71853   # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71854   # with a different meaning.
71855   case ${target_os} in
71856     solaris2*)
71857       ac_save_CFLAGS="$CFLAGS"
71858       CFLAGS="$CFLAGS -Wa,-nH"
71859
71860       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71861 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71863 /* end confdefs.h.  */
71864
71865 int
71866 main ()
71867 {
71868 return 0;
71869   ;
71870   return 0;
71871 }
71872 _ACEOF
71873 if ac_fn_c_try_compile "$LINENO"; then :
71874   ac_hwcap_flags=yes
71875 else
71876   ac_hwcap_flags=no
71877 fi
71878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71879       if test "$ac_hwcap_flags" = "yes"; then
71880         HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71881       fi
71882       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71883 $as_echo "$ac_hwcap_flags" >&6; }
71884
71885       CFLAGS="$ac_save_CFLAGS"
71886       ;;
71887   esac
71888
71889
71890
71891
71892 # Check if assembler supports rdrand opcode.
71893
71894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71895 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71896   if test "${ac_cv_x86_rdrand+set}" = set; then :
71897   $as_echo_n "(cached) " >&6
71898 else
71899
71900   ac_cv_x86_rdrand=no
71901   case "$target" in
71902     i?86-*-* | \
71903     x86_64-*-*)
71904     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71905 /* end confdefs.h.  */
71906
71907 int
71908 main ()
71909 {
71910 asm("rdrand %eax");
71911   ;
71912   return 0;
71913 }
71914 _ACEOF
71915 if ac_fn_c_try_compile "$LINENO"; then :
71916   ac_cv_x86_rdrand=yes
71917 else
71918   ac_cv_x86_rdrand=no
71919 fi
71920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71921   esac
71922
71923 fi
71924
71925   if test $ac_cv_x86_rdrand = yes; then
71926
71927 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
71928
71929   fi
71930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
71931 $as_echo "$ac_cv_x86_rdrand" >&6; }
71932
71933
71934 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71935
71936   if $GLIBCXX_IS_NATIVE ; then
71937     # Do checks for resource limit functions.
71938
71939   setrlimit_have_headers=yes
71940   for ac_header in unistd.h sys/time.h sys/resource.h
71941 do :
71942   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71943 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71944 eval as_val=\$$as_ac_Header
71945    if test "x$as_val" = x""yes; then :
71946   cat >>confdefs.h <<_ACEOF
71947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71948 _ACEOF
71949
71950 else
71951   setrlimit_have_headers=no
71952 fi
71953
71954 done
71955
71956   # If don't have the headers, then we can't run the tests now, and we
71957   # won't be seeing any of these during testsuite compilation.
71958   if test $setrlimit_have_headers = yes; then
71959     # Can't do these in a loop, else the resulting syntax is wrong.
71960
71961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71962 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
71963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71964 /* end confdefs.h.  */
71965 #include <unistd.h>
71966      #include <sys/time.h>
71967      #include <sys/resource.h>
71968
71969 int
71970 main ()
71971 {
71972  int f = RLIMIT_DATA ;
71973   ;
71974   return 0;
71975 }
71976 _ACEOF
71977 if ac_fn_c_try_compile "$LINENO"; then :
71978   glibcxx_mresult=1
71979 else
71980   glibcxx_mresult=0
71981 fi
71982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71983
71984 cat >>confdefs.h <<_ACEOF
71985 #define HAVE_LIMIT_DATA $glibcxx_mresult
71986 _ACEOF
71987
71988   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71990 $as_echo "$res" >&6; }
71991
71992
71993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71994 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
71995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71996 /* end confdefs.h.  */
71997 #include <unistd.h>
71998      #include <sys/time.h>
71999      #include <sys/resource.h>
72000
72001 int
72002 main ()
72003 {
72004  int f = RLIMIT_RSS ;
72005   ;
72006   return 0;
72007 }
72008 _ACEOF
72009 if ac_fn_c_try_compile "$LINENO"; then :
72010   glibcxx_mresult=1
72011 else
72012   glibcxx_mresult=0
72013 fi
72014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72015
72016 cat >>confdefs.h <<_ACEOF
72017 #define HAVE_LIMIT_RSS $glibcxx_mresult
72018 _ACEOF
72019
72020   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72022 $as_echo "$res" >&6; }
72023
72024
72025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72026 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72028 /* end confdefs.h.  */
72029 #include <unistd.h>
72030      #include <sys/time.h>
72031      #include <sys/resource.h>
72032
72033 int
72034 main ()
72035 {
72036  int f = RLIMIT_VMEM ;
72037   ;
72038   return 0;
72039 }
72040 _ACEOF
72041 if ac_fn_c_try_compile "$LINENO"; then :
72042   glibcxx_mresult=1
72043 else
72044   glibcxx_mresult=0
72045 fi
72046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72047
72048 cat >>confdefs.h <<_ACEOF
72049 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72050 _ACEOF
72051
72052   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72054 $as_echo "$res" >&6; }
72055
72056
72057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72058 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72060 /* end confdefs.h.  */
72061 #include <unistd.h>
72062      #include <sys/time.h>
72063      #include <sys/resource.h>
72064
72065 int
72066 main ()
72067 {
72068  int f = RLIMIT_AS ;
72069   ;
72070   return 0;
72071 }
72072 _ACEOF
72073 if ac_fn_c_try_compile "$LINENO"; then :
72074   glibcxx_mresult=1
72075 else
72076   glibcxx_mresult=0
72077 fi
72078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72079
72080 cat >>confdefs.h <<_ACEOF
72081 #define HAVE_LIMIT_AS $glibcxx_mresult
72082 _ACEOF
72083
72084   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72086 $as_echo "$res" >&6; }
72087
72088
72089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72090 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72092 /* end confdefs.h.  */
72093 #include <unistd.h>
72094      #include <sys/time.h>
72095      #include <sys/resource.h>
72096
72097 int
72098 main ()
72099 {
72100  int f = RLIMIT_FSIZE ;
72101   ;
72102   return 0;
72103 }
72104 _ACEOF
72105 if ac_fn_c_try_compile "$LINENO"; then :
72106   glibcxx_mresult=1
72107 else
72108   glibcxx_mresult=0
72109 fi
72110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72111
72112 cat >>confdefs.h <<_ACEOF
72113 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72114 _ACEOF
72115
72116   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72118 $as_echo "$res" >&6; }
72119
72120
72121     # Check for rlimit, setrlimit.
72122     if test "${glibcxx_cv_setrlimit+set}" = set; then :
72123   $as_echo_n "(cached) " >&6
72124 else
72125
72126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72127 /* end confdefs.h.  */
72128 #include <unistd.h>
72129          #include <sys/time.h>
72130          #include <sys/resource.h>
72131
72132 int
72133 main ()
72134 {
72135 struct rlimit r;
72136          setrlimit(0, &r);
72137   ;
72138   return 0;
72139 }
72140 _ACEOF
72141 if ac_fn_c_try_compile "$LINENO"; then :
72142   glibcxx_cv_setrlimit=yes
72143 else
72144   glibcxx_cv_setrlimit=no
72145 fi
72146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72147
72148 fi
72149
72150   fi
72151
72152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72153 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72154   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72155     ac_res_limits=yes
72156
72157 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72158
72159   else
72160     ac_res_limits=no
72161   fi
72162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72163 $as_echo "$ac_res_limits" >&6; }
72164
72165
72166     # Look for setenv, so that extended locale tests can be performed.
72167
72168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72169 $as_echo_n "checking for setenv declaration... " >&6; }
72170   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72171     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72172   $as_echo_n "(cached) " >&6
72173 else
72174
72175
72176       ac_ext=cpp
72177 ac_cpp='$CXXCPP $CPPFLAGS'
72178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72181
72182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72183 /* end confdefs.h.  */
72184 #include <stdlib.h>
72185 int
72186 main ()
72187 {
72188  setenv(0, 0, 0);
72189   ;
72190   return 0;
72191 }
72192 _ACEOF
72193 if ac_fn_cxx_try_compile "$LINENO"; then :
72194   glibcxx_cv_func_setenv_use=yes
72195 else
72196   glibcxx_cv_func_setenv_use=no
72197 fi
72198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72199       ac_ext=c
72200 ac_cpp='$CPP $CPPFLAGS'
72201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72204
72205
72206 fi
72207
72208   fi
72209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72210 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72211   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72212     for ac_func in setenv
72213 do :
72214   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72215 if test "x$ac_cv_func_setenv" = x""yes; then :
72216   cat >>confdefs.h <<_ACEOF
72217 #define HAVE_SETENV 1
72218 _ACEOF
72219
72220 fi
72221 done
72222
72223   fi
72224
72225   fi
72226
72227   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72228      test $enable_symvers != no; then
72229     case "$host" in
72230       *-*-cygwin*)
72231         enable_abi_check=no ;;
72232       *)
72233         enable_abi_check=yes ;;
72234     esac
72235   else
72236     # Only build this as native, since automake does not understand
72237     # CXX_FOR_BUILD.
72238     enable_abi_check=no
72239   fi
72240
72241   # Export file names for ABI checking.
72242   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72243
72244   baseline_subdir_switch="$abi_baseline_subdir_switch"
72245
72246
72247
72248 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
72249
72250    # Check whether --enable-libstdcxx-threads was given.
72251 if test "${enable_libstdcxx_threads+set}" = set; then :
72252   enableval=$enable_libstdcxx_threads;
72253       case "$enableval" in
72254        yes|no) ;;
72255        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72256       esac
72257
72258 else
72259   enable_libstdcxx_threads=auto
72260 fi
72261
72262
72263
72264   if test x$enable_libstdcxx_threads = xauto ||
72265      test x$enable_libstdcxx_threads = xyes; then
72266
72267
72268   ac_ext=cpp
72269 ac_cpp='$CXXCPP $CPPFLAGS'
72270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72273
72274
72275   ac_save_CXXFLAGS="$CXXFLAGS"
72276   CXXFLAGS="$CXXFLAGS -fno-exceptions \
72277         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72278
72279   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72280   case $target_thread_file in
72281     posix)
72282       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72283   esac
72284
72285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72286 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72287
72288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72289 /* end confdefs.h.  */
72290 #include <unistd.h>
72291 int
72292 main ()
72293 {
72294
72295       // In case of POSIX threads check _POSIX_TIMEOUTS.
72296       #if (defined(_PTHREADS) \
72297           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72298       #error
72299       #endif
72300
72301   ;
72302   return 0;
72303 }
72304 _ACEOF
72305 if ac_fn_cxx_try_compile "$LINENO"; then :
72306   ac_gthread_use_mutex_timedlock=1
72307 else
72308   ac_gthread_use_mutex_timedlock=0
72309 fi
72310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72311
72312
72313 cat >>confdefs.h <<_ACEOF
72314 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72315 _ACEOF
72316
72317
72318   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72319   else res_mutex_timedlock=no ; fi
72320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72321 $as_echo "$res_mutex_timedlock" >&6; }
72322
72323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72324 $as_echo_n "checking for gthreads library... " >&6; }
72325
72326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72327 /* end confdefs.h.  */
72328 #include "gthr.h"
72329 int
72330 main ()
72331 {
72332
72333       #ifndef __GTHREADS_CXX0X
72334       #error
72335       #endif
72336
72337   ;
72338   return 0;
72339 }
72340 _ACEOF
72341 if ac_fn_cxx_try_compile "$LINENO"; then :
72342   case $target_os in
72343           # gthreads support breaks symbol versioning on Solaris 9 (PR
72344           # libstdc++/52189).
72345           solaris2.9*)
72346             if test x$enable_symvers = xno; then
72347               ac_has_gthreads=yes
72348             elif test x$enable_libstdcxx_threads = xyes; then
72349               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72350 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72351               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72352 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72353               ac_has_gthreads=yes
72354             else
72355               ac_has_gthreads=no
72356             fi
72357             ;;
72358           *)
72359             ac_has_gthreads=yes
72360             ;;
72361         esac
72362 else
72363   ac_has_gthreads=no
72364 fi
72365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72366   else
72367     ac_has_gthreads=no
72368   fi
72369
72370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72371 $as_echo "$ac_has_gthreads" >&6; }
72372
72373   if test x"$ac_has_gthreads" = x"yes"; then
72374
72375 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72376
72377   fi
72378
72379   CXXFLAGS="$ac_save_CXXFLAGS"
72380   ac_ext=c
72381 ac_cpp='$CPP $CPPFLAGS'
72382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72385
72386
72387
72388 # Define documentation rules conditionally.
72389
72390 # See if makeinfo has been installed and is modern enough
72391 # that we can use it.
72392
72393   # Extract the first word of "makeinfo", so it can be a program name with args.
72394 set dummy makeinfo; ac_word=$2
72395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72396 $as_echo_n "checking for $ac_word... " >&6; }
72397 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72398   $as_echo_n "(cached) " >&6
72399 else
72400   if test -n "$MAKEINFO"; then
72401   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72402 else
72403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72404 for as_dir in $PATH
72405 do
72406   IFS=$as_save_IFS
72407   test -z "$as_dir" && as_dir=.
72408     for ac_exec_ext in '' $ac_executable_extensions; do
72409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72410     ac_cv_prog_MAKEINFO="makeinfo"
72411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72412     break 2
72413   fi
72414 done
72415   done
72416 IFS=$as_save_IFS
72417
72418 fi
72419 fi
72420 MAKEINFO=$ac_cv_prog_MAKEINFO
72421 if test -n "$MAKEINFO"; then
72422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72423 $as_echo "$MAKEINFO" >&6; }
72424 else
72425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72426 $as_echo "no" >&6; }
72427 fi
72428
72429
72430   if test -n "$MAKEINFO"; then
72431     # Found it, now check the version.
72432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72433 $as_echo_n "checking for modern makeinfo... " >&6; }
72434 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72435   $as_echo_n "(cached) " >&6
72436 else
72437   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72438                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72439
72440                     case $ac_prog_version in
72441                       '')  gcc_cv_prog_makeinfo_modern=no;;
72442                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
72443                       *)   gcc_cv_prog_makeinfo_modern=no;;
72444                     esac
72445
72446 fi
72447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72448 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72449   else
72450     gcc_cv_prog_makeinfo_modern=no
72451   fi
72452   if test $gcc_cv_prog_makeinfo_modern = no; then
72453     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72454   fi
72455
72456  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72457   BUILD_INFO_TRUE=
72458   BUILD_INFO_FALSE='#'
72459 else
72460   BUILD_INFO_TRUE='#'
72461   BUILD_INFO_FALSE=
72462 fi
72463
72464
72465 # Check for doxygen
72466 # Extract the first word of "doxygen", so it can be a program name with args.
72467 set dummy doxygen; ac_word=$2
72468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72469 $as_echo_n "checking for $ac_word... " >&6; }
72470 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72471   $as_echo_n "(cached) " >&6
72472 else
72473   if test -n "$DOXYGEN"; then
72474   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72475 else
72476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72477 for as_dir in $PATH
72478 do
72479   IFS=$as_save_IFS
72480   test -z "$as_dir" && as_dir=.
72481     for ac_exec_ext in '' $ac_executable_extensions; do
72482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72483     ac_cv_prog_DOXYGEN="yes"
72484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72485     break 2
72486   fi
72487 done
72488   done
72489 IFS=$as_save_IFS
72490
72491   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72492 fi
72493 fi
72494 DOXYGEN=$ac_cv_prog_DOXYGEN
72495 if test -n "$DOXYGEN"; then
72496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72497 $as_echo "$DOXYGEN" >&6; }
72498 else
72499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72500 $as_echo "no" >&6; }
72501 fi
72502
72503
72504 # Extract the first word of "dot", so it can be a program name with args.
72505 set dummy dot; ac_word=$2
72506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72507 $as_echo_n "checking for $ac_word... " >&6; }
72508 if test "${ac_cv_prog_DOT+set}" = set; then :
72509   $as_echo_n "(cached) " >&6
72510 else
72511   if test -n "$DOT"; then
72512   ac_cv_prog_DOT="$DOT" # Let the user override the test.
72513 else
72514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72515 for as_dir in $PATH
72516 do
72517   IFS=$as_save_IFS
72518   test -z "$as_dir" && as_dir=.
72519     for ac_exec_ext in '' $ac_executable_extensions; do
72520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72521     ac_cv_prog_DOT="yes"
72522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72523     break 2
72524   fi
72525 done
72526   done
72527 IFS=$as_save_IFS
72528
72529   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72530 fi
72531 fi
72532 DOT=$ac_cv_prog_DOT
72533 if test -n "$DOT"; then
72534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72535 $as_echo "$DOT" >&6; }
72536 else
72537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72538 $as_echo "no" >&6; }
72539 fi
72540
72541
72542
72543 # Check for docbook
72544 # Extract the first word of "xsltproc", so it can be a program name with args.
72545 set dummy xsltproc; ac_word=$2
72546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72547 $as_echo_n "checking for $ac_word... " >&6; }
72548 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72549   $as_echo_n "(cached) " >&6
72550 else
72551   if test -n "$XSLTPROC"; then
72552   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72553 else
72554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72555 for as_dir in $PATH
72556 do
72557   IFS=$as_save_IFS
72558   test -z "$as_dir" && as_dir=.
72559     for ac_exec_ext in '' $ac_executable_extensions; do
72560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72561     ac_cv_prog_XSLTPROC="yes"
72562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72563     break 2
72564   fi
72565 done
72566   done
72567 IFS=$as_save_IFS
72568
72569   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72570 fi
72571 fi
72572 XSLTPROC=$ac_cv_prog_XSLTPROC
72573 if test -n "$XSLTPROC"; then
72574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72575 $as_echo "$XSLTPROC" >&6; }
72576 else
72577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72578 $as_echo "no" >&6; }
72579 fi
72580
72581
72582 # Extract the first word of "xmllint", so it can be a program name with args.
72583 set dummy xmllint; ac_word=$2
72584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72585 $as_echo_n "checking for $ac_word... " >&6; }
72586 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72587   $as_echo_n "(cached) " >&6
72588 else
72589   if test -n "$XMLLINT"; then
72590   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72591 else
72592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72593 for as_dir in $PATH
72594 do
72595   IFS=$as_save_IFS
72596   test -z "$as_dir" && as_dir=.
72597     for ac_exec_ext in '' $ac_executable_extensions; do
72598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72599     ac_cv_prog_XMLLINT="yes"
72600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72601     break 2
72602   fi
72603 done
72604   done
72605 IFS=$as_save_IFS
72606
72607   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72608 fi
72609 fi
72610 XMLLINT=$ac_cv_prog_XMLLINT
72611 if test -n "$XMLLINT"; then
72612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72613 $as_echo "$XMLLINT" >&6; }
72614 else
72615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72616 $as_echo "no" >&6; }
72617 fi
72618
72619
72620
72621
72622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72623 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72624 glibcxx_stylesheets=no
72625 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
72626   glibcxx_stylesheets=yes
72627 fi
72628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72629 $as_echo "$glibcxx_stylesheets" >&6; }
72630
72631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72632 $as_echo_n "checking for local stylesheet directory... " >&6; }
72633 glibcxx_local_stylesheets=no
72634 if test x"$glibcxx_stylesheets" = x"yes"; then
72635   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72636     glibcxx_local_stylesheets=yes
72637     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72638   fi
72639   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72640     glibcxx_local_stylesheets=yes
72641     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72642   fi
72643   if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72644     glibcxx_local_stylesheets=yes
72645     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72646   fi
72647 fi
72648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72649 $as_echo "$glibcxx_local_stylesheets" >&6; }
72650
72651 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72652
72653   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72654 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72655 else
72656   glibcxx_stylesheets=no
72657 fi
72658
72659 # Check for epub3 dependencies.
72660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72661 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72662 glibcxx_epub_stylesheets=no
72663 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72664    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72665       glibcxx_epub_stylesheets=yes
72666    fi
72667 fi
72668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72669 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72670  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72671   BUILD_EPUB_TRUE=
72672   BUILD_EPUB_FALSE='#'
72673 else
72674   BUILD_EPUB_TRUE='#'
72675   BUILD_EPUB_FALSE=
72676 fi
72677
72678
72679
72680
72681 # Check for xml/html dependencies.
72682  if test $ac_cv_prog_DOXYGEN = "yes" &&
72683                test $ac_cv_prog_DOT = "yes" &&
72684                test $ac_cv_prog_XSLTPROC = "yes" &&
72685                test $ac_cv_prog_XMLLINT = "yes" &&
72686                test $glibcxx_stylesheets = "yes"; then
72687   BUILD_XML_TRUE=
72688   BUILD_XML_FALSE='#'
72689 else
72690   BUILD_XML_TRUE='#'
72691   BUILD_XML_FALSE=
72692 fi
72693
72694
72695  if test $ac_cv_prog_DOXYGEN = "yes" &&
72696                test $ac_cv_prog_DOT = "yes" &&
72697                test $ac_cv_prog_XSLTPROC = "yes" &&
72698                test $ac_cv_prog_XMLLINT = "yes" &&
72699                test $glibcxx_stylesheets = "yes"; then
72700   BUILD_HTML_TRUE=
72701   BUILD_HTML_FALSE='#'
72702 else
72703   BUILD_HTML_TRUE='#'
72704   BUILD_HTML_FALSE=
72705 fi
72706
72707
72708 # Check for man dependencies.
72709  if test $ac_cv_prog_DOXYGEN = "yes" &&
72710                test $ac_cv_prog_DOT = "yes"; then
72711   BUILD_MAN_TRUE=
72712   BUILD_MAN_FALSE='#'
72713 else
72714   BUILD_MAN_TRUE='#'
72715   BUILD_MAN_FALSE=
72716 fi
72717
72718
72719 # Check for pdf dependencies.
72720 # Extract the first word of "dblatex", so it can be a program name with args.
72721 set dummy dblatex; ac_word=$2
72722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72723 $as_echo_n "checking for $ac_word... " >&6; }
72724 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72725   $as_echo_n "(cached) " >&6
72726 else
72727   if test -n "$DBLATEX"; then
72728   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72729 else
72730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72731 for as_dir in $PATH
72732 do
72733   IFS=$as_save_IFS
72734   test -z "$as_dir" && as_dir=.
72735     for ac_exec_ext in '' $ac_executable_extensions; do
72736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72737     ac_cv_prog_DBLATEX="yes"
72738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72739     break 2
72740   fi
72741 done
72742   done
72743 IFS=$as_save_IFS
72744
72745   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72746 fi
72747 fi
72748 DBLATEX=$ac_cv_prog_DBLATEX
72749 if test -n "$DBLATEX"; then
72750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72751 $as_echo "$DBLATEX" >&6; }
72752 else
72753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72754 $as_echo "no" >&6; }
72755 fi
72756
72757
72758 # Extract the first word of "pdflatex", so it can be a program name with args.
72759 set dummy pdflatex; ac_word=$2
72760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72761 $as_echo_n "checking for $ac_word... " >&6; }
72762 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72763   $as_echo_n "(cached) " >&6
72764 else
72765   if test -n "$PDFLATEX"; then
72766   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72767 else
72768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72769 for as_dir in $PATH
72770 do
72771   IFS=$as_save_IFS
72772   test -z "$as_dir" && as_dir=.
72773     for ac_exec_ext in '' $ac_executable_extensions; do
72774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72775     ac_cv_prog_PDFLATEX="yes"
72776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72777     break 2
72778   fi
72779 done
72780   done
72781 IFS=$as_save_IFS
72782
72783   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72784 fi
72785 fi
72786 PDFLATEX=$ac_cv_prog_PDFLATEX
72787 if test -n "$PDFLATEX"; then
72788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72789 $as_echo "$PDFLATEX" >&6; }
72790 else
72791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72792 $as_echo "no" >&6; }
72793 fi
72794
72795
72796  if test $ac_cv_prog_DBLATEX = "yes" &&
72797                test $ac_cv_prog_PDFLATEX = "yes"; then
72798   BUILD_PDF_TRUE=
72799   BUILD_PDF_FALSE='#'
72800 else
72801   BUILD_PDF_TRUE='#'
72802   BUILD_PDF_FALSE=
72803 fi
72804
72805
72806
72807 # Propagate the target-specific source directories through the build chain.
72808 ATOMICITY_SRCDIR=config/${atomicity_dir}
72809 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72810 ATOMIC_FLAGS=${atomic_flags}
72811 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72812 OS_INC_SRCDIR=config/${os_include_dir}
72813 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72814 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72815 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72816 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72817
72818
72819
72820
72821
72822
72823
72824
72825
72826
72827
72828 # Determine cross-compile flags and AM_CONDITIONALs.
72829 #AC_SUBST(GLIBCXX_IS_NATIVE)
72830 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72831     if test $is_hosted = yes; then
72832   GLIBCXX_HOSTED_TRUE=
72833   GLIBCXX_HOSTED_FALSE='#'
72834 else
72835   GLIBCXX_HOSTED_TRUE='#'
72836   GLIBCXX_HOSTED_FALSE=
72837 fi
72838
72839
72840     if test $enable_libstdcxx_pch = yes; then
72841   GLIBCXX_BUILD_PCH_TRUE=
72842   GLIBCXX_BUILD_PCH_FALSE='#'
72843 else
72844   GLIBCXX_BUILD_PCH_TRUE='#'
72845   GLIBCXX_BUILD_PCH_FALSE=
72846 fi
72847
72848
72849     if test $enable_cheaders = c; then
72850   GLIBCXX_C_HEADERS_C_TRUE=
72851   GLIBCXX_C_HEADERS_C_FALSE='#'
72852 else
72853   GLIBCXX_C_HEADERS_C_TRUE='#'
72854   GLIBCXX_C_HEADERS_C_FALSE=
72855 fi
72856
72857
72858     if test $enable_cheaders = c_std; then
72859   GLIBCXX_C_HEADERS_C_STD_TRUE=
72860   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72861 else
72862   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72863   GLIBCXX_C_HEADERS_C_STD_FALSE=
72864 fi
72865
72866
72867     if test $enable_cheaders = c_global; then
72868   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72869   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72870 else
72871   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72872   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72873 fi
72874
72875
72876     if test $c_compatibility = yes; then
72877   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72878   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72879 else
72880   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72881   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72882 fi
72883
72884
72885     if test $enable_libstdcxx_debug = yes; then
72886   GLIBCXX_BUILD_DEBUG_TRUE=
72887   GLIBCXX_BUILD_DEBUG_FALSE='#'
72888 else
72889   GLIBCXX_BUILD_DEBUG_TRUE='#'
72890   GLIBCXX_BUILD_DEBUG_FALSE=
72891 fi
72892
72893
72894     if test $enable_extern_template = yes; then
72895   ENABLE_EXTERN_TEMPLATE_TRUE=
72896   ENABLE_EXTERN_TEMPLATE_FALSE='#'
72897 else
72898   ENABLE_EXTERN_TEMPLATE_TRUE='#'
72899   ENABLE_EXTERN_TEMPLATE_FALSE=
72900 fi
72901
72902
72903     if test $python_mod_dir != no; then
72904   ENABLE_PYTHONDIR_TRUE=
72905   ENABLE_PYTHONDIR_FALSE='#'
72906 else
72907   ENABLE_PYTHONDIR_TRUE='#'
72908   ENABLE_PYTHONDIR_FALSE=
72909 fi
72910
72911
72912     if test $enable_werror = yes; then
72913   ENABLE_WERROR_TRUE=
72914   ENABLE_WERROR_FALSE='#'
72915 else
72916   ENABLE_WERROR_TRUE='#'
72917   ENABLE_WERROR_FALSE=
72918 fi
72919
72920
72921     if test $enable_symvers != no; then
72922   ENABLE_SYMVERS_TRUE=
72923   ENABLE_SYMVERS_FALSE='#'
72924 else
72925   ENABLE_SYMVERS_TRUE='#'
72926   ENABLE_SYMVERS_FALSE=
72927 fi
72928
72929
72930     if test $enable_symvers = gnu; then
72931   ENABLE_SYMVERS_GNU_TRUE=
72932   ENABLE_SYMVERS_GNU_FALSE='#'
72933 else
72934   ENABLE_SYMVERS_GNU_TRUE='#'
72935   ENABLE_SYMVERS_GNU_FALSE=
72936 fi
72937
72938
72939     if test $enable_symvers = gnu-versioned-namespace; then
72940   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72941   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72942 else
72943   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72944   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72945 fi
72946
72947
72948     if test $enable_symvers = darwin; then
72949   ENABLE_SYMVERS_DARWIN_TRUE=
72950   ENABLE_SYMVERS_DARWIN_FALSE='#'
72951 else
72952   ENABLE_SYMVERS_DARWIN_TRUE='#'
72953   ENABLE_SYMVERS_DARWIN_FALSE=
72954 fi
72955
72956
72957     if test $enable_symvers = sun; then
72958   ENABLE_SYMVERS_SUN_TRUE=
72959   ENABLE_SYMVERS_SUN_FALSE='#'
72960 else
72961   ENABLE_SYMVERS_SUN_TRUE='#'
72962   ENABLE_SYMVERS_SUN_FALSE=
72963 fi
72964
72965
72966     if test $enable_libstdcxx_visibility = yes; then
72967   ENABLE_VISIBILITY_TRUE=
72968   ENABLE_VISIBILITY_FALSE='#'
72969 else
72970   ENABLE_VISIBILITY_TRUE='#'
72971   ENABLE_VISIBILITY_FALSE=
72972 fi
72973
72974
72975     if test $ac_ldbl_compat = yes; then
72976   GLIBCXX_LDBL_COMPAT_TRUE=
72977   GLIBCXX_LDBL_COMPAT_FALSE='#'
72978 else
72979   GLIBCXX_LDBL_COMPAT_TRUE='#'
72980   GLIBCXX_LDBL_COMPAT_FALSE=
72981 fi
72982
72983
72984
72985
72986 cat >confcache <<\_ACEOF
72987 # This file is a shell script that caches the results of configure
72988 # tests run on this system so they can be shared between configure
72989 # scripts and configure runs, see configure's option --config-cache.
72990 # It is not useful on other systems.  If it contains results you don't
72991 # want to keep, you may remove or edit it.
72992 #
72993 # config.status only pays attention to the cache file if you give it
72994 # the --recheck option to rerun configure.
72995 #
72996 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72997 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72998 # following values.
72999
73000 _ACEOF
73001
73002 # The following way of writing the cache mishandles newlines in values,
73003 # but we know of no workaround that is simple, portable, and efficient.
73004 # So, we kill variables containing newlines.
73005 # Ultrix sh set writes to stderr and can't be redirected directly,
73006 # and sets the high bit in the cache file unless we assign to the vars.
73007 (
73008   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73009     eval ac_val=\$$ac_var
73010     case $ac_val in #(
73011     *${as_nl}*)
73012       case $ac_var in #(
73013       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73014 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73015       esac
73016       case $ac_var in #(
73017       _ | IFS | as_nl) ;; #(
73018       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73019       *) { eval $ac_var=; unset $ac_var;} ;;
73020       esac ;;
73021     esac
73022   done
73023
73024   (set) 2>&1 |
73025     case $as_nl`(ac_space=' '; set) 2>&1` in #(
73026     *${as_nl}ac_space=\ *)
73027       # `set' does not quote correctly, so add quotes: double-quote
73028       # substitution turns \\\\ into \\, and sed turns \\ into \.
73029       sed -n \
73030         "s/'/'\\\\''/g;
73031           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73032       ;; #(
73033     *)
73034       # `set' quotes correctly as required by POSIX, so do not add quotes.
73035       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73036       ;;
73037     esac |
73038     sort
73039 ) |
73040   sed '
73041      /^ac_cv_env_/b end
73042      t clear
73043      :clear
73044      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73045      t end
73046      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73047      :end' >>confcache
73048 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73049   if test -w "$cache_file"; then
73050     test "x$cache_file" != "x/dev/null" &&
73051       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73052 $as_echo "$as_me: updating cache $cache_file" >&6;}
73053     cat confcache >$cache_file
73054   else
73055     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73056 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73057   fi
73058 fi
73059 rm -f confcache
73060
73061 if test ${multilib} = yes; then
73062   multilib_arg="--enable-multilib"
73063 else
73064   multilib_arg=
73065 fi
73066
73067 # Export all the install information.
73068
73069   glibcxx_toolexecdir=no
73070   glibcxx_toolexeclibdir=no
73071   glibcxx_prefixdir=$prefix
73072
73073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73074 $as_echo_n "checking for gxx-include-dir... " >&6; }
73075
73076 # Check whether --with-gxx-include-dir was given.
73077 if test "${with_gxx_include_dir+set}" = set; then :
73078   withval=$with_gxx_include_dir; case "$withval" in
73079       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73080       no)  gxx_include_dir=no ;;
73081       *)   gxx_include_dir=$withval ;;
73082      esac
73083 else
73084   gxx_include_dir=no
73085 fi
73086
73087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73088 $as_echo "$gxx_include_dir" >&6; }
73089
73090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73091 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73092   # Check whether --enable-version-specific-runtime-libs was given.
73093 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73094   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73095       yes) version_specific_libs=yes ;;
73096       no)  version_specific_libs=no ;;
73097       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73098      esac
73099 else
73100   version_specific_libs=no
73101 fi
73102
73103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73104 $as_echo "$version_specific_libs" >&6; }
73105
73106   # Default case for install directory for include files.
73107   if test $version_specific_libs = no && test $gxx_include_dir = no; then
73108     gxx_include_dir='include/c++/${gcc_version}'
73109     if test -n "$with_cross_host" &&
73110        test x"$with_cross_host" != x"no"; then
73111       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73112     else
73113       gxx_include_dir='${prefix}/'"$gxx_include_dir"
73114     fi
73115   fi
73116
73117   # Version-specific runtime libs processing.
73118   if test $version_specific_libs = yes; then
73119     # Need the gcc compiler version to know where to install libraries
73120     # and header files if --enable-version-specific-runtime-libs option
73121     # is selected.  FIXME: these variables are misnamed, there are
73122     # no executables installed in _toolexecdir or _toolexeclibdir.
73123     if test x"$gxx_include_dir" = x"no"; then
73124       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73125     fi
73126     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73127     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73128   fi
73129
73130   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73131   # Install a library built with a cross compiler in tooldir, not libdir.
73132   if test x"$glibcxx_toolexecdir" = x"no"; then
73133     if test -n "$with_cross_host" &&
73134        test x"$with_cross_host" != x"no"; then
73135       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73136       glibcxx_toolexeclibdir='${toolexecdir}/lib'
73137     else
73138       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73139       glibcxx_toolexeclibdir='${libdir}'
73140     fi
73141     multi_os_directory=`$CXX -print-multi-os-directory`
73142     case $multi_os_directory in
73143       .) ;; # Avoid trailing /.
73144       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73145     esac
73146   fi
73147
73148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73149 $as_echo_n "checking for install location... " >&6; }
73150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73151 $as_echo "$gxx_include_dir" >&6; }
73152
73153
73154
73155
73156
73157
73158
73159 # Export all the include and flag information to Makefiles.
73160
73161   # Used for every C++ compile we perform.
73162   GLIBCXX_INCLUDES="\
73163 -I$glibcxx_builddir/include/$host_alias \
73164 -I$glibcxx_builddir/include \
73165 -I$glibcxx_srcdir/libsupc++"
73166
73167   # For Canadian crosses, pick this up too.
73168   if test $CANADIAN = yes; then
73169     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73170   fi
73171
73172   # Stuff in the actual top level.  Currently only used by libsupc++ to
73173   # get unwind* headers from the libgcc dir.
73174   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73175   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73176
73177   # Now, export this to all the little Makefiles....
73178
73179
73180
73181
73182   # Optimization flags that are probably a good idea for thrill-seekers. Just
73183   # uncomment the lines below and make, everything else is ready to go...
73184   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73185   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73186
73187
73188   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73189
73190
73191
73192 ac_config_files="$ac_config_files Makefile"
73193
73194 ac_config_files="$ac_config_files scripts/testsuite_flags"
73195
73196 ac_config_files="$ac_config_files scripts/extract_symvers"
73197
73198 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73199
73200
73201 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73202 # that multilib installs will end up installed in the correct place.
73203 # The testsuite needs it for multilib-aware ABI baseline files.
73204 # To work around this not being passed down from config-ml.in ->
73205 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73206 # append it here.  Only modify Makefiles that have just been created.
73207 #
73208 # Also, get rid of this simulated-VPATH thing that automake does.
73209 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"
73210
73211
73212 ac_config_commands="$ac_config_commands generate-headers"
73213
73214
73215 cat >confcache <<\_ACEOF
73216 # This file is a shell script that caches the results of configure
73217 # tests run on this system so they can be shared between configure
73218 # scripts and configure runs, see configure's option --config-cache.
73219 # It is not useful on other systems.  If it contains results you don't
73220 # want to keep, you may remove or edit it.
73221 #
73222 # config.status only pays attention to the cache file if you give it
73223 # the --recheck option to rerun configure.
73224 #
73225 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73227 # following values.
73228
73229 _ACEOF
73230
73231 # The following way of writing the cache mishandles newlines in values,
73232 # but we know of no workaround that is simple, portable, and efficient.
73233 # So, we kill variables containing newlines.
73234 # Ultrix sh set writes to stderr and can't be redirected directly,
73235 # and sets the high bit in the cache file unless we assign to the vars.
73236 (
73237   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73238     eval ac_val=\$$ac_var
73239     case $ac_val in #(
73240     *${as_nl}*)
73241       case $ac_var in #(
73242       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73243 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73244       esac
73245       case $ac_var in #(
73246       _ | IFS | as_nl) ;; #(
73247       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73248       *) { eval $ac_var=; unset $ac_var;} ;;
73249       esac ;;
73250     esac
73251   done
73252
73253   (set) 2>&1 |
73254     case $as_nl`(ac_space=' '; set) 2>&1` in #(
73255     *${as_nl}ac_space=\ *)
73256       # `set' does not quote correctly, so add quotes: double-quote
73257       # substitution turns \\\\ into \\, and sed turns \\ into \.
73258       sed -n \
73259         "s/'/'\\\\''/g;
73260           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73261       ;; #(
73262     *)
73263       # `set' quotes correctly as required by POSIX, so do not add quotes.
73264       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73265       ;;
73266     esac |
73267     sort
73268 ) |
73269   sed '
73270      /^ac_cv_env_/b end
73271      t clear
73272      :clear
73273      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73274      t end
73275      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73276      :end' >>confcache
73277 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73278   if test -w "$cache_file"; then
73279     test "x$cache_file" != "x/dev/null" &&
73280       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73281 $as_echo "$as_me: updating cache $cache_file" >&6;}
73282     cat confcache >$cache_file
73283   else
73284     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73285 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73286   fi
73287 fi
73288 rm -f confcache
73289
73290 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73291 # Let make expand exec_prefix.
73292 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73293
73294 DEFS=-DHAVE_CONFIG_H
73295
73296 ac_libobjs=
73297 ac_ltlibobjs=
73298 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73299   # 1. Remove the extension, and $U if already installed.
73300   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73301   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73302   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
73303   #    will be set to the directory where LIBOBJS objects are built.
73304   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73305   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73306 done
73307 LIBOBJS=$ac_libobjs
73308
73309 LTLIBOBJS=$ac_ltlibobjs
73310
73311
73312  if test -n "$EXEEXT"; then
73313   am__EXEEXT_TRUE=
73314   am__EXEEXT_FALSE='#'
73315 else
73316   am__EXEEXT_TRUE='#'
73317   am__EXEEXT_FALSE=
73318 fi
73319
73320 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73321   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73323 fi
73324 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73325   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73327 fi
73328 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73329   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73331 fi
73332 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73333   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73335 fi
73336 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73337   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73339 fi
73340 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73341   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73343 fi
73344 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73345   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73347 fi
73348 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73349   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73351 fi
73352 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73353   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73355 fi
73356 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73357   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73359 fi
73360 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73361   as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73363 fi
73364 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73365   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73367 fi
73368 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73369   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73371 fi
73372 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73373   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73375 fi
73376 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73377   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73379 fi
73380 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73381   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73383 fi
73384 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73385   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73387 fi
73388 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73389   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73391 fi
73392 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73393   as_fn_error "conditional \"BUILD_INFO\" was never defined.
73394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73395 fi
73396 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73397   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73399 fi
73400 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73401   as_fn_error "conditional \"BUILD_XML\" was never defined.
73402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73403 fi
73404 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73405   as_fn_error "conditional \"BUILD_HTML\" was never defined.
73406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73407 fi
73408 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73409   as_fn_error "conditional \"BUILD_MAN\" was never defined.
73410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73411 fi
73412 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73413   as_fn_error "conditional \"BUILD_PDF\" was never defined.
73414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73415 fi
73416
73417 : ${CONFIG_STATUS=./config.status}
73418 ac_write_fail=0
73419 ac_clean_files_save=$ac_clean_files
73420 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73421 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73422 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73423 as_write_fail=0
73424 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73425 #! $SHELL
73426 # Generated by $as_me.
73427 # Run this file to recreate the current configuration.
73428 # Compiler output produced by configure, useful for debugging
73429 # configure, is in config.log if it exists.
73430
73431 debug=false
73432 ac_cs_recheck=false
73433 ac_cs_silent=false
73434
73435 SHELL=\${CONFIG_SHELL-$SHELL}
73436 export SHELL
73437 _ASEOF
73438 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73439 ## -------------------- ##
73440 ## M4sh Initialization. ##
73441 ## -------------------- ##
73442
73443 # Be more Bourne compatible
73444 DUALCASE=1; export DUALCASE # for MKS sh
73445 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73446   emulate sh
73447   NULLCMD=:
73448   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73449   # is contrary to our usage.  Disable this feature.
73450   alias -g '${1+"$@"}'='"$@"'
73451   setopt NO_GLOB_SUBST
73452 else
73453   case `(set -o) 2>/dev/null` in #(
73454   *posix*) :
73455     set -o posix ;; #(
73456   *) :
73457      ;;
73458 esac
73459 fi
73460
73461
73462 as_nl='
73463 '
73464 export as_nl
73465 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73466 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73467 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73468 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73469 # Prefer a ksh shell builtin over an external printf program on Solaris,
73470 # but without wasting forks for bash or zsh.
73471 if test -z "$BASH_VERSION$ZSH_VERSION" \
73472     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73473   as_echo='print -r --'
73474   as_echo_n='print -rn --'
73475 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73476   as_echo='printf %s\n'
73477   as_echo_n='printf %s'
73478 else
73479   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73480     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73481     as_echo_n='/usr/ucb/echo -n'
73482   else
73483     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73484     as_echo_n_body='eval
73485       arg=$1;
73486       case $arg in #(
73487       *"$as_nl"*)
73488         expr "X$arg" : "X\\(.*\\)$as_nl";
73489         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73490       esac;
73491       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73492     '
73493     export as_echo_n_body
73494     as_echo_n='sh -c $as_echo_n_body as_echo'
73495   fi
73496   export as_echo_body
73497   as_echo='sh -c $as_echo_body as_echo'
73498 fi
73499
73500 # The user is always right.
73501 if test "${PATH_SEPARATOR+set}" != set; then
73502   PATH_SEPARATOR=:
73503   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73504     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73505       PATH_SEPARATOR=';'
73506   }
73507 fi
73508
73509
73510 # IFS
73511 # We need space, tab and new line, in precisely that order.  Quoting is
73512 # there to prevent editors from complaining about space-tab.
73513 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73514 # splitting by setting IFS to empty value.)
73515 IFS=" ""        $as_nl"
73516
73517 # Find who we are.  Look in the path if we contain no directory separator.
73518 case $0 in #((
73519   *[\\/]* ) as_myself=$0 ;;
73520   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73521 for as_dir in $PATH
73522 do
73523   IFS=$as_save_IFS
73524   test -z "$as_dir" && as_dir=.
73525     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73526   done
73527 IFS=$as_save_IFS
73528
73529      ;;
73530 esac
73531 # We did not find ourselves, most probably we were run as `sh COMMAND'
73532 # in which case we are not to be found in the path.
73533 if test "x$as_myself" = x; then
73534   as_myself=$0
73535 fi
73536 if test ! -f "$as_myself"; then
73537   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73538   exit 1
73539 fi
73540
73541 # Unset variables that we do not need and which cause bugs (e.g. in
73542 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
73543 # suppresses any "Segmentation fault" message there.  '((' could
73544 # trigger a bug in pdksh 5.2.14.
73545 for as_var in BASH_ENV ENV MAIL MAILPATH
73546 do eval test x\${$as_var+set} = xset \
73547   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73548 done
73549 PS1='$ '
73550 PS2='> '
73551 PS4='+ '
73552
73553 # NLS nuisances.
73554 LC_ALL=C
73555 export LC_ALL
73556 LANGUAGE=C
73557 export LANGUAGE
73558
73559 # CDPATH.
73560 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73561
73562
73563 # as_fn_error ERROR [LINENO LOG_FD]
73564 # ---------------------------------
73565 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73566 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73567 # script with status $?, using 1 if that was 0.
73568 as_fn_error ()
73569 {
73570   as_status=$?; test $as_status -eq 0 && as_status=1
73571   if test "$3"; then
73572     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73573     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73574   fi
73575   $as_echo "$as_me: error: $1" >&2
73576   as_fn_exit $as_status
73577 } # as_fn_error
73578
73579
73580 # as_fn_set_status STATUS
73581 # -----------------------
73582 # Set $? to STATUS, without forking.
73583 as_fn_set_status ()
73584 {
73585   return $1
73586 } # as_fn_set_status
73587
73588 # as_fn_exit STATUS
73589 # -----------------
73590 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73591 as_fn_exit ()
73592 {
73593   set +e
73594   as_fn_set_status $1
73595   exit $1
73596 } # as_fn_exit
73597
73598 # as_fn_unset VAR
73599 # ---------------
73600 # Portably unset VAR.
73601 as_fn_unset ()
73602 {
73603   { eval $1=; unset $1;}
73604 }
73605 as_unset=as_fn_unset
73606 # as_fn_append VAR VALUE
73607 # ----------------------
73608 # Append the text in VALUE to the end of the definition contained in VAR. Take
73609 # advantage of any shell optimizations that allow amortized linear growth over
73610 # repeated appends, instead of the typical quadratic growth present in naive
73611 # implementations.
73612 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73613   eval 'as_fn_append ()
73614   {
73615     eval $1+=\$2
73616   }'
73617 else
73618   as_fn_append ()
73619   {
73620     eval $1=\$$1\$2
73621   }
73622 fi # as_fn_append
73623
73624 # as_fn_arith ARG...
73625 # ------------------
73626 # Perform arithmetic evaluation on the ARGs, and store the result in the
73627 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73628 # must be portable across $(()) and expr.
73629 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73630   eval 'as_fn_arith ()
73631   {
73632     as_val=$(( $* ))
73633   }'
73634 else
73635   as_fn_arith ()
73636   {
73637     as_val=`expr "$@" || test $? -eq 1`
73638   }
73639 fi # as_fn_arith
73640
73641
73642 if expr a : '\(a\)' >/dev/null 2>&1 &&
73643    test "X`expr 00001 : '.*\(...\)'`" = X001; then
73644   as_expr=expr
73645 else
73646   as_expr=false
73647 fi
73648
73649 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73650   as_basename=basename
73651 else
73652   as_basename=false
73653 fi
73654
73655 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73656   as_dirname=dirname
73657 else
73658   as_dirname=false
73659 fi
73660
73661 as_me=`$as_basename -- "$0" ||
73662 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73663          X"$0" : 'X\(//\)$' \| \
73664          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73665 $as_echo X/"$0" |
73666     sed '/^.*\/\([^/][^/]*\)\/*$/{
73667             s//\1/
73668             q
73669           }
73670           /^X\/\(\/\/\)$/{
73671             s//\1/
73672             q
73673           }
73674           /^X\/\(\/\).*/{
73675             s//\1/
73676             q
73677           }
73678           s/.*/./; q'`
73679
73680 # Avoid depending upon Character Ranges.
73681 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73682 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73683 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73684 as_cr_digits='0123456789'
73685 as_cr_alnum=$as_cr_Letters$as_cr_digits
73686
73687 ECHO_C= ECHO_N= ECHO_T=
73688 case `echo -n x` in #(((((
73689 -n*)
73690   case `echo 'xy\c'` in
73691   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
73692   xy)  ECHO_C='\c';;
73693   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
73694        ECHO_T=' ';;
73695   esac;;
73696 *)
73697   ECHO_N='-n';;
73698 esac
73699
73700 rm -f conf$$ conf$$.exe conf$$.file
73701 if test -d conf$$.dir; then
73702   rm -f conf$$.dir/conf$$.file
73703 else
73704   rm -f conf$$.dir
73705   mkdir conf$$.dir 2>/dev/null
73706 fi
73707 if (echo >conf$$.file) 2>/dev/null; then
73708   if ln -s conf$$.file conf$$ 2>/dev/null; then
73709     as_ln_s='ln -s'
73710     # ... but there are two gotchas:
73711     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73712     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73713     # In both cases, we have to default to `cp -p'.
73714     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73715       as_ln_s='cp -p'
73716   elif ln conf$$.file conf$$ 2>/dev/null; then
73717     as_ln_s=ln
73718   else
73719     as_ln_s='cp -p'
73720   fi
73721 else
73722   as_ln_s='cp -p'
73723 fi
73724 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73725 rmdir conf$$.dir 2>/dev/null
73726
73727
73728 # as_fn_mkdir_p
73729 # -------------
73730 # Create "$as_dir" as a directory, including parents if necessary.
73731 as_fn_mkdir_p ()
73732 {
73733
73734   case $as_dir in #(
73735   -*) as_dir=./$as_dir;;
73736   esac
73737   test -d "$as_dir" || eval $as_mkdir_p || {
73738     as_dirs=
73739     while :; do
73740       case $as_dir in #(
73741       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73742       *) as_qdir=$as_dir;;
73743       esac
73744       as_dirs="'$as_qdir' $as_dirs"
73745       as_dir=`$as_dirname -- "$as_dir" ||
73746 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73747          X"$as_dir" : 'X\(//\)[^/]' \| \
73748          X"$as_dir" : 'X\(//\)$' \| \
73749          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73750 $as_echo X"$as_dir" |
73751     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73752             s//\1/
73753             q
73754           }
73755           /^X\(\/\/\)[^/].*/{
73756             s//\1/
73757             q
73758           }
73759           /^X\(\/\/\)$/{
73760             s//\1/
73761             q
73762           }
73763           /^X\(\/\).*/{
73764             s//\1/
73765             q
73766           }
73767           s/.*/./; q'`
73768       test -d "$as_dir" && break
73769     done
73770     test -z "$as_dirs" || eval "mkdir $as_dirs"
73771   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73772
73773
73774 } # as_fn_mkdir_p
73775 if mkdir -p . 2>/dev/null; then
73776   as_mkdir_p='mkdir -p "$as_dir"'
73777 else
73778   test -d ./-p && rmdir ./-p
73779   as_mkdir_p=false
73780 fi
73781
73782 if test -x / >/dev/null 2>&1; then
73783   as_test_x='test -x'
73784 else
73785   if ls -dL / >/dev/null 2>&1; then
73786     as_ls_L_option=L
73787   else
73788     as_ls_L_option=
73789   fi
73790   as_test_x='
73791     eval sh -c '\''
73792       if test -d "$1"; then
73793         test -d "$1/.";
73794       else
73795         case $1 in #(
73796         -*)set "./$1";;
73797         esac;
73798         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73799         ???[sx]*):;;*)false;;esac;fi
73800     '\'' sh
73801   '
73802 fi
73803 as_executable_p=$as_test_x
73804
73805 # Sed expression to map a string onto a valid CPP name.
73806 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73807
73808 # Sed expression to map a string onto a valid variable name.
73809 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73810
73811
73812 exec 6>&1
73813 ## ----------------------------------- ##
73814 ## Main body of $CONFIG_STATUS script. ##
73815 ## ----------------------------------- ##
73816 _ASEOF
73817 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73818
73819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73820 # Save the log message, to keep $0 and so on meaningful, and to
73821 # report actual input values of CONFIG_FILES etc. instead of their
73822 # values after options handling.
73823 ac_log="
73824 This file was extended by package-unused $as_me version-unused, which was
73825 generated by GNU Autoconf 2.64.  Invocation command line was
73826
73827   CONFIG_FILES    = $CONFIG_FILES
73828   CONFIG_HEADERS  = $CONFIG_HEADERS
73829   CONFIG_LINKS    = $CONFIG_LINKS
73830   CONFIG_COMMANDS = $CONFIG_COMMANDS
73831   $ $0 $@
73832
73833 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73834 "
73835
73836 _ACEOF
73837
73838 case $ac_config_files in *"
73839 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73840 esac
73841
73842 case $ac_config_headers in *"
73843 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73844 esac
73845
73846
73847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73848 # Files that config.status was made for.
73849 config_files="$ac_config_files"
73850 config_headers="$ac_config_headers"
73851 config_commands="$ac_config_commands"
73852
73853 _ACEOF
73854
73855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73856 ac_cs_usage="\
73857 \`$as_me' instantiates files and other configuration actions
73858 from templates according to the current configuration.  Unless the files
73859 and actions are specified as TAGs, all are instantiated by default.
73860
73861 Usage: $0 [OPTION]... [TAG]...
73862
73863   -h, --help       print this help, then exit
73864   -V, --version    print version number and configuration settings, then exit
73865   -q, --quiet, --silent
73866                    do not print progress messages
73867   -d, --debug      don't remove temporary files
73868       --recheck    update $as_me by reconfiguring in the same conditions
73869       --file=FILE[:TEMPLATE]
73870                    instantiate the configuration file FILE
73871       --header=FILE[:TEMPLATE]
73872                    instantiate the configuration header FILE
73873
73874 Configuration files:
73875 $config_files
73876
73877 Configuration headers:
73878 $config_headers
73879
73880 Configuration commands:
73881 $config_commands
73882
73883 Report bugs to the package provider."
73884
73885 _ACEOF
73886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73887 ac_cs_version="\\
73888 package-unused config.status version-unused
73889 configured by $0, generated by GNU Autoconf 2.64,
73890   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73891
73892 Copyright (C) 2009 Free Software Foundation, Inc.
73893 This config.status script is free software; the Free Software Foundation
73894 gives unlimited permission to copy, distribute and modify it."
73895
73896 ac_pwd='$ac_pwd'
73897 srcdir='$srcdir'
73898 INSTALL='$INSTALL'
73899 MKDIR_P='$MKDIR_P'
73900 AWK='$AWK'
73901 test -n "\$AWK" || AWK=awk
73902 _ACEOF
73903
73904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73905 # The default lists apply if the user does not specify any file.
73906 ac_need_defaults=:
73907 while test $# != 0
73908 do
73909   case $1 in
73910   --*=*)
73911     ac_option=`expr "X$1" : 'X\([^=]*\)='`
73912     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73913     ac_shift=:
73914     ;;
73915   *)
73916     ac_option=$1
73917     ac_optarg=$2
73918     ac_shift=shift
73919     ;;
73920   esac
73921
73922   case $ac_option in
73923   # Handling of the options.
73924   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73925     ac_cs_recheck=: ;;
73926   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73927     $as_echo "$ac_cs_version"; exit ;;
73928   --debug | --debu | --deb | --de | --d | -d )
73929     debug=: ;;
73930   --file | --fil | --fi | --f )
73931     $ac_shift
73932     case $ac_optarg in
73933     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73934     esac
73935     as_fn_append CONFIG_FILES " '$ac_optarg'"
73936     ac_need_defaults=false;;
73937   --header | --heade | --head | --hea )
73938     $ac_shift
73939     case $ac_optarg in
73940     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73941     esac
73942     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73943     ac_need_defaults=false;;
73944   --he | --h)
73945     # Conflict between --help and --header
73946     as_fn_error "ambiguous option: \`$1'
73947 Try \`$0 --help' for more information.";;
73948   --help | --hel | -h )
73949     $as_echo "$ac_cs_usage"; exit ;;
73950   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73951   | -silent | --silent | --silen | --sile | --sil | --si | --s)
73952     ac_cs_silent=: ;;
73953
73954   # This is an error.
73955   -*) as_fn_error "unrecognized option: \`$1'
73956 Try \`$0 --help' for more information." ;;
73957
73958   *) as_fn_append ac_config_targets " $1"
73959      ac_need_defaults=false ;;
73960
73961   esac
73962   shift
73963 done
73964
73965 ac_configure_extra_args=
73966
73967 if $ac_cs_silent; then
73968   exec 6>/dev/null
73969   ac_configure_extra_args="$ac_configure_extra_args --silent"
73970 fi
73971
73972 _ACEOF
73973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73974 if \$ac_cs_recheck; then
73975   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73976   shift
73977   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73978   CONFIG_SHELL='$SHELL'
73979   export CONFIG_SHELL
73980   exec "\$@"
73981 fi
73982
73983 _ACEOF
73984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73985 exec 5>>config.log
73986 {
73987   echo
73988   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73989 ## Running $as_me. ##
73990 _ASBOX
73991   $as_echo "$ac_log"
73992 } >&5
73993
73994 _ACEOF
73995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73996 #
73997 # INIT-COMMANDS
73998 #
73999
74000 srcdir="$srcdir"
74001 host="$host"
74002 target="$target"
74003 with_multisubdir="$with_multisubdir"
74004 with_multisrctop="$with_multisrctop"
74005 with_target_subdir="$with_target_subdir"
74006 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74007 multi_basedir="$multi_basedir"
74008 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74009 CC="$CC"
74010 CXX="$CXX"
74011 GFORTRAN="$GFORTRAN"
74012 GCJ="$GCJ"
74013
74014
74015 # The HP-UX ksh and POSIX shell print the target directory to stdout
74016 # if CDPATH is set.
74017 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74018
74019 sed_quote_subst='$sed_quote_subst'
74020 double_quote_subst='$double_quote_subst'
74021 delay_variable_subst='$delay_variable_subst'
74022 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74023 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74024 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74025 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74026 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74027 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74028 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74029 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74030 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74031 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74032 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74033 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74034 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74035 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74036 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74037 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74038 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74039 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74040 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74041 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74042 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74043 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74044 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74045 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74046 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74047 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74048 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74049 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74050 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74051 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74052 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74053 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74054 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74055 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74056 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74057 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74058 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74059 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74060 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74061 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74062 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74063 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74064 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74065 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74066 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74067 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74068 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74069 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74070 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"`'
74071 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74072 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74073 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74074 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74075 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74076 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74077 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74078 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74079 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74080 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74081 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74082 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74083 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74084 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74085 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74086 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74087 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74088 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74089 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74090 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74091 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74092 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74093 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74094 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74095 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74096 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74097 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74098 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74099 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74100 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74101 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74102 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74103 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74104 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74105 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74106 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74107 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74108 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74109 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74110 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74111 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74112 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74113 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74114 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74115 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74116 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74117 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74118 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74119 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74120 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74121 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74122 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74123 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74124 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74125 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74126 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74127 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74128 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74129 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74130 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74131 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74132 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74133 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74134 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74135 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74136 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74137 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74138 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74139 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74140 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74141 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74142 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74143 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74144 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74145 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74146 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74147 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74148 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74149 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74150 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74151 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74152 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74153 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74154 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74155 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74156 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74157 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74158 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74159 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74160 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74161 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74162 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74163 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74164 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74165 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74166 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74167 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74168 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74169 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74170 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74171 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74172 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74173 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74174 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74175 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74176 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74177 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74178 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74179 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74180 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74181 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74182 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74183 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74184 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74185 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74186 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74187 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74188 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74189 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74190 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74191 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74192 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74193 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74194 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74195 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74196 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74197
74198 LTCC='$LTCC'
74199 LTCFLAGS='$LTCFLAGS'
74200 compiler='$compiler_DEFAULT'
74201
74202 # A function that is used when there is no print builtin or printf.
74203 func_fallback_echo ()
74204 {
74205   eval 'cat <<_LTECHO_EOF
74206 \$1
74207 _LTECHO_EOF'
74208 }
74209
74210 # Quote evaled strings.
74211 for var in SHELL \
74212 ECHO \
74213 SED \
74214 GREP \
74215 EGREP \
74216 FGREP \
74217 LD \
74218 NM \
74219 LN_S \
74220 lt_SP2NL \
74221 lt_NL2SP \
74222 reload_flag \
74223 OBJDUMP \
74224 deplibs_check_method \
74225 file_magic_cmd \
74226 AR \
74227 AR_FLAGS \
74228 STRIP \
74229 RANLIB \
74230 CC \
74231 CFLAGS \
74232 compiler \
74233 lt_cv_sys_global_symbol_pipe \
74234 lt_cv_sys_global_symbol_to_cdecl \
74235 lt_cv_sys_global_symbol_to_c_name_address \
74236 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74237 lt_prog_compiler_no_builtin_flag \
74238 lt_prog_compiler_wl \
74239 lt_prog_compiler_pic \
74240 lt_prog_compiler_static \
74241 lt_cv_prog_compiler_c_o \
74242 need_locks \
74243 DSYMUTIL \
74244 NMEDIT \
74245 LIPO \
74246 OTOOL \
74247 OTOOL64 \
74248 shrext_cmds \
74249 export_dynamic_flag_spec \
74250 whole_archive_flag_spec \
74251 compiler_needs_object \
74252 with_gnu_ld \
74253 allow_undefined_flag \
74254 no_undefined_flag \
74255 hardcode_libdir_flag_spec \
74256 hardcode_libdir_flag_spec_ld \
74257 hardcode_libdir_separator \
74258 fix_srcfile_path \
74259 exclude_expsyms \
74260 include_expsyms \
74261 file_list_spec \
74262 variables_saved_for_relink \
74263 libname_spec \
74264 library_names_spec \
74265 soname_spec \
74266 install_override_mode \
74267 finish_eval \
74268 old_striplib \
74269 striplib \
74270 compiler_lib_search_dirs \
74271 predep_objects \
74272 postdep_objects \
74273 predeps \
74274 postdeps \
74275 compiler_lib_search_path \
74276 LD_CXX \
74277 reload_flag_CXX \
74278 compiler_CXX \
74279 lt_prog_compiler_no_builtin_flag_CXX \
74280 lt_prog_compiler_wl_CXX \
74281 lt_prog_compiler_pic_CXX \
74282 lt_prog_compiler_static_CXX \
74283 lt_cv_prog_compiler_c_o_CXX \
74284 export_dynamic_flag_spec_CXX \
74285 whole_archive_flag_spec_CXX \
74286 compiler_needs_object_CXX \
74287 with_gnu_ld_CXX \
74288 allow_undefined_flag_CXX \
74289 no_undefined_flag_CXX \
74290 hardcode_libdir_flag_spec_CXX \
74291 hardcode_libdir_flag_spec_ld_CXX \
74292 hardcode_libdir_separator_CXX \
74293 fix_srcfile_path_CXX \
74294 exclude_expsyms_CXX \
74295 include_expsyms_CXX \
74296 file_list_spec_CXX \
74297 compiler_lib_search_dirs_CXX \
74298 predep_objects_CXX \
74299 postdep_objects_CXX \
74300 predeps_CXX \
74301 postdeps_CXX \
74302 compiler_lib_search_path_CXX; do
74303     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74304     *[\\\\\\\`\\"\\\$]*)
74305       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74306       ;;
74307     *)
74308       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74309       ;;
74310     esac
74311 done
74312
74313 # Double-quote double-evaled strings.
74314 for var in reload_cmds \
74315 old_postinstall_cmds \
74316 old_postuninstall_cmds \
74317 old_archive_cmds \
74318 extract_expsyms_cmds \
74319 old_archive_from_new_cmds \
74320 old_archive_from_expsyms_cmds \
74321 archive_cmds \
74322 archive_expsym_cmds \
74323 module_cmds \
74324 module_expsym_cmds \
74325 export_symbols_cmds \
74326 prelink_cmds \
74327 postinstall_cmds \
74328 postuninstall_cmds \
74329 finish_cmds \
74330 sys_lib_search_path_spec \
74331 sys_lib_dlsearch_path_spec \
74332 reload_cmds_CXX \
74333 old_archive_cmds_CXX \
74334 old_archive_from_new_cmds_CXX \
74335 old_archive_from_expsyms_cmds_CXX \
74336 archive_cmds_CXX \
74337 archive_expsym_cmds_CXX \
74338 module_cmds_CXX \
74339 module_expsym_cmds_CXX \
74340 export_symbols_cmds_CXX \
74341 prelink_cmds_CXX; do
74342     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74343     *[\\\\\\\`\\"\\\$]*)
74344       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74345       ;;
74346     *)
74347       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74348       ;;
74349     esac
74350 done
74351
74352 ac_aux_dir='$ac_aux_dir'
74353 xsi_shell='$xsi_shell'
74354 lt_shell_append='$lt_shell_append'
74355
74356 # See if we are running on zsh, and set the options which allow our
74357 # commands through without removal of \ escapes INIT.
74358 if test -n "\${ZSH_VERSION+set}" ; then
74359    setopt NO_GLOB_SUBST
74360 fi
74361
74362
74363     PACKAGE='$PACKAGE'
74364     VERSION='$VERSION'
74365     TIMESTAMP='$TIMESTAMP'
74366     RM='$RM'
74367     ofile='$ofile'
74368
74369
74370
74371
74372
74373
74374 GCC="$GCC"
74375 CC="$CC"
74376 acx_cv_header_stdint="$acx_cv_header_stdint"
74377 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74378 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74379 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74380 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74381 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74382 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74383 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74384 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74385 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74386 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74387 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74388 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74389 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74390
74391
74392 _ACEOF
74393
74394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74395
74396 # Handling of arguments.
74397 for ac_config_target in $ac_config_targets
74398 do
74399   case $ac_config_target in
74400     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74401     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74402     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74403     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74404     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74405     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74406     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74407     "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74408     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74409     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74410     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74411     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74412     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74413     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74414     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74415     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74416     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74417     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74418
74419   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74420   esac
74421 done
74422
74423
74424 # If the user did not use the arguments to specify the items to instantiate,
74425 # then the envvar interface is used.  Set only those that are not.
74426 # We use the long form for the default assignment because of an extremely
74427 # bizarre bug on SunOS 4.1.3.
74428 if $ac_need_defaults; then
74429   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74430   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74431   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74432 fi
74433
74434 # Have a temporary directory for convenience.  Make it in the build tree
74435 # simply because there is no reason against having it here, and in addition,
74436 # creating and moving files from /tmp can sometimes cause problems.
74437 # Hook for its removal unless debugging.
74438 # Note that there is a small window in which the directory will not be cleaned:
74439 # after its creation but before its name has been assigned to `$tmp'.
74440 $debug ||
74441 {
74442   tmp=
74443   trap 'exit_status=$?
74444   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74445 ' 0
74446   trap 'as_fn_exit 1' 1 2 13 15
74447 }
74448 # Create a (secure) tmp directory for tmp files.
74449
74450 {
74451   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74452   test -n "$tmp" && test -d "$tmp"
74453 }  ||
74454 {
74455   tmp=./conf$$-$RANDOM
74456   (umask 077 && mkdir "$tmp")
74457 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74458
74459 # Set up the scripts for CONFIG_FILES section.
74460 # No need to generate them if there are no CONFIG_FILES.
74461 # This happens for instance with `./config.status config.h'.
74462 if test -n "$CONFIG_FILES"; then
74463
74464
74465 ac_cr=`echo X | tr X '\015'`
74466 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74467 # But we know of no other shell where ac_cr would be empty at this
74468 # point, so we can use a bashism as a fallback.
74469 if test "x$ac_cr" = x; then
74470   eval ac_cr=\$\'\\r\'
74471 fi
74472 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74473 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74474   ac_cs_awk_cr='\r'
74475 else
74476   ac_cs_awk_cr=$ac_cr
74477 fi
74478
74479 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74480 _ACEOF
74481
74482
74483 {
74484   echo "cat >conf$$subs.awk <<_ACEOF" &&
74485   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74486   echo "_ACEOF"
74487 } >conf$$subs.sh ||
74488   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74489 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74490 ac_delim='%!_!# '
74491 for ac_last_try in false false false false false :; do
74492   . ./conf$$subs.sh ||
74493     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74494
74495   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74496   if test $ac_delim_n = $ac_delim_num; then
74497     break
74498   elif $ac_last_try; then
74499     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74500   else
74501     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74502   fi
74503 done
74504 rm -f conf$$subs.sh
74505
74506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74507 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74508 _ACEOF
74509 sed -n '
74510 h
74511 s/^/S["/; s/!.*/"]=/
74512 p
74513 g
74514 s/^[^!]*!//
74515 :repl
74516 t repl
74517 s/'"$ac_delim"'$//
74518 t delim
74519 :nl
74520 h
74521 s/\(.\{148\}\).*/\1/
74522 t more1
74523 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74524 p
74525 n
74526 b repl
74527 :more1
74528 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74529 p
74530 g
74531 s/.\{148\}//
74532 t nl
74533 :delim
74534 h
74535 s/\(.\{148\}\).*/\1/
74536 t more2
74537 s/["\\]/\\&/g; s/^/"/; s/$/"/
74538 p
74539 b
74540 :more2
74541 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74542 p
74543 g
74544 s/.\{148\}//
74545 t delim
74546 ' <conf$$subs.awk | sed '
74547 /^[^""]/{
74548   N
74549   s/\n//
74550 }
74551 ' >>$CONFIG_STATUS || ac_write_fail=1
74552 rm -f conf$$subs.awk
74553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74554 _ACAWK
74555 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74556   for (key in S) S_is_set[key] = 1
74557   FS = "\a"
74558
74559 }
74560 {
74561   line = $ 0
74562   nfields = split(line, field, "@")
74563   substed = 0
74564   len = length(field[1])
74565   for (i = 2; i < nfields; i++) {
74566     key = field[i]
74567     keylen = length(key)
74568     if (S_is_set[key]) {
74569       value = S[key]
74570       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74571       len += length(value) + length(field[++i])
74572       substed = 1
74573     } else
74574       len += 1 + keylen
74575   }
74576
74577   print line
74578 }
74579
74580 _ACAWK
74581 _ACEOF
74582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74583 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74584   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74585 else
74586   cat
74587 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74588   || as_fn_error "could not setup config files machinery" "$LINENO" 5
74589 _ACEOF
74590
74591 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74592 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74593 # trailing colons and then remove the whole line if VPATH becomes empty
74594 # (actually we leave an empty line to preserve line numbers).
74595 if test "x$srcdir" = x.; then
74596   ac_vpsub='/^[  ]*VPATH[        ]*=/{
74597 s/:*\$(srcdir):*/:/
74598 s/:*\${srcdir}:*/:/
74599 s/:*@srcdir@:*/:/
74600 s/^\([^=]*=[     ]*\):*/\1/
74601 s/:*$//
74602 s/^[^=]*=[       ]*$//
74603 }'
74604 fi
74605
74606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74607 fi # test -n "$CONFIG_FILES"
74608
74609 # Set up the scripts for CONFIG_HEADERS section.
74610 # No need to generate them if there are no CONFIG_HEADERS.
74611 # This happens for instance with `./config.status Makefile'.
74612 if test -n "$CONFIG_HEADERS"; then
74613 cat >"$tmp/defines.awk" <<\_ACAWK ||
74614 BEGIN {
74615 _ACEOF
74616
74617 # Transform confdefs.h into an awk script `defines.awk', embedded as
74618 # here-document in config.status, that substitutes the proper values into
74619 # config.h.in to produce config.h.
74620
74621 # Create a delimiter string that does not exist in confdefs.h, to ease
74622 # handling of long lines.
74623 ac_delim='%!_!# '
74624 for ac_last_try in false false :; do
74625   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74626   if test -z "$ac_t"; then
74627     break
74628   elif $ac_last_try; then
74629     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74630   else
74631     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74632   fi
74633 done
74634
74635 # For the awk script, D is an array of macro values keyed by name,
74636 # likewise P contains macro parameters if any.  Preserve backslash
74637 # newline sequences.
74638
74639 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74640 sed -n '
74641 s/.\{148\}/&'"$ac_delim"'/g
74642 t rset
74643 :rset
74644 s/^[     ]*#[    ]*define[       ][      ]*/ /
74645 t def
74646 d
74647 :def
74648 s/\\$//
74649 t bsnl
74650 s/["\\]/\\&/g
74651 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
74652 D["\1"]=" \3"/p
74653 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
74654 d
74655 :bsnl
74656 s/["\\]/\\&/g
74657 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
74658 D["\1"]=" \3\\\\\\n"\\/p
74659 t cont
74660 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74661 t cont
74662 d
74663 :cont
74664 n
74665 s/.\{148\}/&'"$ac_delim"'/g
74666 t clear
74667 :clear
74668 s/\\$//
74669 t bsnlc
74670 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74671 d
74672 :bsnlc
74673 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74674 b cont
74675 ' <confdefs.h | sed '
74676 s/'"$ac_delim"'/"\\\
74677 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74678
74679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74680   for (key in D) D_is_set[key] = 1
74681   FS = "\a"
74682 }
74683 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74684   line = \$ 0
74685   split(line, arg, " ")
74686   if (arg[1] == "#") {
74687     defundef = arg[2]
74688     mac1 = arg[3]
74689   } else {
74690     defundef = substr(arg[1], 2)
74691     mac1 = arg[2]
74692   }
74693   split(mac1, mac2, "(") #)
74694   macro = mac2[1]
74695   prefix = substr(line, 1, index(line, defundef) - 1)
74696   if (D_is_set[macro]) {
74697     # Preserve the white space surrounding the "#".
74698     print prefix "define", macro P[macro] D[macro]
74699     next
74700   } else {
74701     # Replace #undef with comments.  This is necessary, for example,
74702     # in the case of _POSIX_SOURCE, which is predefined and required
74703     # on some systems where configure will not decide to define it.
74704     if (defundef == "undef") {
74705       print "/*", prefix defundef, macro, "*/"
74706       next
74707     }
74708   }
74709 }
74710 { print }
74711 _ACAWK
74712 _ACEOF
74713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74714   as_fn_error "could not setup config headers machinery" "$LINENO" 5
74715 fi # test -n "$CONFIG_HEADERS"
74716
74717
74718 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
74719 shift
74720 for ac_tag
74721 do
74722   case $ac_tag in
74723   :[FHLC]) ac_mode=$ac_tag; continue;;
74724   esac
74725   case $ac_mode$ac_tag in
74726   :[FHL]*:*);;
74727   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74728   :[FH]-) ac_tag=-:-;;
74729   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74730   esac
74731   ac_save_IFS=$IFS
74732   IFS=:
74733   set x $ac_tag
74734   IFS=$ac_save_IFS
74735   shift
74736   ac_file=$1
74737   shift
74738
74739   case $ac_mode in
74740   :L) ac_source=$1;;
74741   :[FH])
74742     ac_file_inputs=
74743     for ac_f
74744     do
74745       case $ac_f in
74746       -) ac_f="$tmp/stdin";;
74747       *) # Look for the file first in the build tree, then in the source tree
74748          # (if the path is not absolute).  The absolute path cannot be DOS-style,
74749          # because $ac_f cannot contain `:'.
74750          test -f "$ac_f" ||
74751            case $ac_f in
74752            [\\/$]*) false;;
74753            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74754            esac ||
74755            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74756       esac
74757       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74758       as_fn_append ac_file_inputs " '$ac_f'"
74759     done
74760
74761     # Let's still pretend it is `configure' which instantiates (i.e., don't
74762     # use $as_me), people would be surprised to read:
74763     #    /* config.h.  Generated by config.status.  */
74764     configure_input='Generated from '`
74765           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74766         `' by configure.'
74767     if test x"$ac_file" != x-; then
74768       configure_input="$ac_file.  $configure_input"
74769       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74770 $as_echo "$as_me: creating $ac_file" >&6;}
74771     fi
74772     # Neutralize special characters interpreted by sed in replacement strings.
74773     case $configure_input in #(
74774     *\&* | *\|* | *\\* )
74775        ac_sed_conf_input=`$as_echo "$configure_input" |
74776        sed 's/[\\\\&|]/\\\\&/g'`;; #(
74777     *) ac_sed_conf_input=$configure_input;;
74778     esac
74779
74780     case $ac_tag in
74781     *:-:* | *:-) cat >"$tmp/stdin" \
74782       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74783     esac
74784     ;;
74785   esac
74786
74787   ac_dir=`$as_dirname -- "$ac_file" ||
74788 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74789          X"$ac_file" : 'X\(//\)[^/]' \| \
74790          X"$ac_file" : 'X\(//\)$' \| \
74791          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74792 $as_echo X"$ac_file" |
74793     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74794             s//\1/
74795             q
74796           }
74797           /^X\(\/\/\)[^/].*/{
74798             s//\1/
74799             q
74800           }
74801           /^X\(\/\/\)$/{
74802             s//\1/
74803             q
74804           }
74805           /^X\(\/\).*/{
74806             s//\1/
74807             q
74808           }
74809           s/.*/./; q'`
74810   as_dir="$ac_dir"; as_fn_mkdir_p
74811   ac_builddir=.
74812
74813 case "$ac_dir" in
74814 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74815 *)
74816   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74817   # A ".." for each directory in $ac_dir_suffix.
74818   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74819   case $ac_top_builddir_sub in
74820   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74821   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74822   esac ;;
74823 esac
74824 ac_abs_top_builddir=$ac_pwd
74825 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74826 # for backward compatibility:
74827 ac_top_builddir=$ac_top_build_prefix
74828
74829 case $srcdir in
74830   .)  # We are building in place.
74831     ac_srcdir=.
74832     ac_top_srcdir=$ac_top_builddir_sub
74833     ac_abs_top_srcdir=$ac_pwd ;;
74834   [\\/]* | ?:[\\/]* )  # Absolute name.
74835     ac_srcdir=$srcdir$ac_dir_suffix;
74836     ac_top_srcdir=$srcdir
74837     ac_abs_top_srcdir=$srcdir ;;
74838   *) # Relative name.
74839     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74840     ac_top_srcdir=$ac_top_build_prefix$srcdir
74841     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74842 esac
74843 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74844
74845
74846   case $ac_mode in
74847   :F)
74848   #
74849   # CONFIG_FILE
74850   #
74851
74852   case $INSTALL in
74853   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74854   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74855   esac
74856   ac_MKDIR_P=$MKDIR_P
74857   case $MKDIR_P in
74858   [\\/$]* | ?:[\\/]* ) ;;
74859   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74860   esac
74861 _ACEOF
74862
74863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74864 # If the template does not know about datarootdir, expand it.
74865 # FIXME: This hack should be removed a few years after 2.60.
74866 ac_datarootdir_hack=; ac_datarootdir_seen=
74867 ac_sed_dataroot='
74868 /datarootdir/ {
74869   p
74870   q
74871 }
74872 /@datadir@/p
74873 /@docdir@/p
74874 /@infodir@/p
74875 /@localedir@/p
74876 /@mandir@/p'
74877 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74878 *datarootdir*) ac_datarootdir_seen=yes;;
74879 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74880   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74881 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74882 _ACEOF
74883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74884   ac_datarootdir_hack='
74885   s&@datadir@&$datadir&g
74886   s&@docdir@&$docdir&g
74887   s&@infodir@&$infodir&g
74888   s&@localedir@&$localedir&g
74889   s&@mandir@&$mandir&g
74890   s&\\\${datarootdir}&$datarootdir&g' ;;
74891 esac
74892 _ACEOF
74893
74894 # Neutralize VPATH when `$srcdir' = `.'.
74895 # Shell code in configure.ac might set extrasub.
74896 # FIXME: do we really want to maintain this feature?
74897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74898 ac_sed_extra="$ac_vpsub
74899 $extrasub
74900 _ACEOF
74901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74902 :t
74903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74904 s|@configure_input@|$ac_sed_conf_input|;t t
74905 s&@top_builddir@&$ac_top_builddir_sub&;t t
74906 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74907 s&@srcdir@&$ac_srcdir&;t t
74908 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74909 s&@top_srcdir@&$ac_top_srcdir&;t t
74910 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74911 s&@builddir@&$ac_builddir&;t t
74912 s&@abs_builddir@&$ac_abs_builddir&;t t
74913 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74914 s&@INSTALL@&$ac_INSTALL&;t t
74915 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74916 $ac_datarootdir_hack
74917 "
74918 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
74919   || as_fn_error "could not create $ac_file" "$LINENO" 5
74920
74921 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74922   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
74923   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
74924   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74925 which seems to be undefined.  Please make sure it is defined." >&5
74926 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74927 which seems to be undefined.  Please make sure it is defined." >&2;}
74928
74929   rm -f "$tmp/stdin"
74930   case $ac_file in
74931   -) cat "$tmp/out" && rm -f "$tmp/out";;
74932   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
74933   esac \
74934   || as_fn_error "could not create $ac_file" "$LINENO" 5
74935  ;;
74936   :H)
74937   #
74938   # CONFIG_HEADER
74939   #
74940   if test x"$ac_file" != x-; then
74941     {
74942       $as_echo "/* $configure_input  */" \
74943       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
74944     } >"$tmp/config.h" \
74945       || as_fn_error "could not create $ac_file" "$LINENO" 5
74946     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
74947       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74948 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74949     else
74950       rm -f "$ac_file"
74951       mv "$tmp/config.h" "$ac_file" \
74952         || as_fn_error "could not create $ac_file" "$LINENO" 5
74953     fi
74954   else
74955     $as_echo "/* $configure_input  */" \
74956       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
74957       || as_fn_error "could not create -" "$LINENO" 5
74958   fi
74959 # Compute "$ac_file"'s index in $config_headers.
74960 _am_arg="$ac_file"
74961 _am_stamp_count=1
74962 for _am_header in $config_headers :; do
74963   case $_am_header in
74964     $_am_arg | $_am_arg:* )
74965       break ;;
74966     * )
74967       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74968   esac
74969 done
74970 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74971 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74972          X"$_am_arg" : 'X\(//\)[^/]' \| \
74973          X"$_am_arg" : 'X\(//\)$' \| \
74974          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74975 $as_echo X"$_am_arg" |
74976     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74977             s//\1/
74978             q
74979           }
74980           /^X\(\/\/\)[^/].*/{
74981             s//\1/
74982             q
74983           }
74984           /^X\(\/\/\)$/{
74985             s//\1/
74986             q
74987           }
74988           /^X\(\/\).*/{
74989             s//\1/
74990             q
74991           }
74992           s/.*/./; q'`/stamp-h$_am_stamp_count
74993  ;;
74994
74995   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74996 $as_echo "$as_me: executing $ac_file commands" >&6;}
74997  ;;
74998   esac
74999
75000
75001   case $ac_file$ac_mode in
75002     "default-1":C)
75003 # Only add multilib support code if we just rebuilt the top-level
75004 # Makefile.
75005 case " $CONFIG_FILES " in
75006  *" Makefile "*)
75007    ac_file=Makefile . ${multi_basedir}/config-ml.in
75008    ;;
75009 esac ;;
75010     "libtool":C)
75011
75012     # See if we are running on zsh, and set the options which allow our
75013     # commands through without removal of \ escapes.
75014     if test -n "${ZSH_VERSION+set}" ; then
75015       setopt NO_GLOB_SUBST
75016     fi
75017
75018     cfgfile="${ofile}T"
75019     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75020     $RM "$cfgfile"
75021
75022     cat <<_LT_EOF >> "$cfgfile"
75023 #! $SHELL
75024
75025 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75026 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75027 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75028 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75029 #
75030 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75031 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75032 #   Written by Gordon Matzigkeit, 1996
75033 #
75034 #   This file is part of GNU Libtool.
75035 #
75036 # GNU Libtool is free software; you can redistribute it and/or
75037 # modify it under the terms of the GNU General Public License as
75038 # published by the Free Software Foundation; either version 2 of
75039 # the License, or (at your option) any later version.
75040 #
75041 # As a special exception to the GNU General Public License,
75042 # if you distribute this file as part of a program or library that
75043 # is built using GNU Libtool, you may include this file under the
75044 # same distribution terms that you use for the rest of that program.
75045 #
75046 # GNU Libtool is distributed in the hope that it will be useful,
75047 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75048 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
75049 # GNU General Public License for more details.
75050 #
75051 # You should have received a copy of the GNU General Public License
75052 # along with GNU Libtool; see the file COPYING.  If not, a copy
75053 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75054 # obtained by writing to the Free Software Foundation, Inc.,
75055 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75056
75057
75058 # The names of the tagged configurations supported by this script.
75059 available_tags="CXX "
75060
75061 # ### BEGIN LIBTOOL CONFIG
75062
75063 # Which release of libtool.m4 was used?
75064 macro_version=$macro_version
75065 macro_revision=$macro_revision
75066
75067 # Whether or not to build shared libraries.
75068 build_libtool_libs=$enable_shared
75069
75070 # Whether or not to build static libraries.
75071 build_old_libs=$enable_static
75072
75073 # What type of objects to build.
75074 pic_mode=$pic_mode
75075
75076 # Whether or not to optimize for fast installation.
75077 fast_install=$enable_fast_install
75078
75079 # Shell to use when invoking shell scripts.
75080 SHELL=$lt_SHELL
75081
75082 # An echo program that protects backslashes.
75083 ECHO=$lt_ECHO
75084
75085 # The host system.
75086 host_alias=$host_alias
75087 host=$host
75088 host_os=$host_os
75089
75090 # The build system.
75091 build_alias=$build_alias
75092 build=$build
75093 build_os=$build_os
75094
75095 # A sed program that does not truncate output.
75096 SED=$lt_SED
75097
75098 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75099 Xsed="\$SED -e 1s/^X//"
75100
75101 # A grep program that handles long lines.
75102 GREP=$lt_GREP
75103
75104 # An ERE matcher.
75105 EGREP=$lt_EGREP
75106
75107 # A literal string matcher.
75108 FGREP=$lt_FGREP
75109
75110 # A BSD- or MS-compatible name lister.
75111 NM=$lt_NM
75112
75113 # Whether we need soft or hard links.
75114 LN_S=$lt_LN_S
75115
75116 # What is the maximum length of a command?
75117 max_cmd_len=$max_cmd_len
75118
75119 # Object file suffix (normally "o").
75120 objext=$ac_objext
75121
75122 # Executable file suffix (normally "").
75123 exeext=$exeext
75124
75125 # whether the shell understands "unset".
75126 lt_unset=$lt_unset
75127
75128 # turn spaces into newlines.
75129 SP2NL=$lt_lt_SP2NL
75130
75131 # turn newlines into spaces.
75132 NL2SP=$lt_lt_NL2SP
75133
75134 # An object symbol dumper.
75135 OBJDUMP=$lt_OBJDUMP
75136
75137 # Method to check whether dependent libraries are shared objects.
75138 deplibs_check_method=$lt_deplibs_check_method
75139
75140 # Command to use when deplibs_check_method == "file_magic".
75141 file_magic_cmd=$lt_file_magic_cmd
75142
75143 # The archiver.
75144 AR=$lt_AR
75145 AR_FLAGS=$lt_AR_FLAGS
75146
75147 # A symbol stripping program.
75148 STRIP=$lt_STRIP
75149
75150 # Commands used to install an old-style archive.
75151 RANLIB=$lt_RANLIB
75152 old_postinstall_cmds=$lt_old_postinstall_cmds
75153 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75154
75155 # Whether to use a lock for old archive extraction.
75156 lock_old_archive_extraction=$lock_old_archive_extraction
75157
75158 # A C compiler.
75159 LTCC=$lt_CC
75160
75161 # LTCC compiler flags.
75162 LTCFLAGS=$lt_CFLAGS
75163
75164 # Take the output of nm and produce a listing of raw symbols and C names.
75165 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75166
75167 # Transform the output of nm in a proper C declaration.
75168 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75169
75170 # Transform the output of nm in a C name address pair.
75171 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75172
75173 # Transform the output of nm in a C name address pair when lib prefix is needed.
75174 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75175
75176 # The name of the directory that contains temporary libtool files.
75177 objdir=$objdir
75178
75179 # Used to examine libraries when file_magic_cmd begins with "file".
75180 MAGIC_CMD=$MAGIC_CMD
75181
75182 # Must we lock files when doing compilation?
75183 need_locks=$lt_need_locks
75184
75185 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75186 DSYMUTIL=$lt_DSYMUTIL
75187
75188 # Tool to change global to local symbols on Mac OS X.
75189 NMEDIT=$lt_NMEDIT
75190
75191 # Tool to manipulate fat objects and archives on Mac OS X.
75192 LIPO=$lt_LIPO
75193
75194 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75195 OTOOL=$lt_OTOOL
75196
75197 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75198 OTOOL64=$lt_OTOOL64
75199
75200 # Old archive suffix (normally "a").
75201 libext=$libext
75202
75203 # Shared library suffix (normally ".so").
75204 shrext_cmds=$lt_shrext_cmds
75205
75206 # The commands to extract the exported symbol list from a shared archive.
75207 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75208
75209 # Variables whose values should be saved in libtool wrapper scripts and
75210 # restored at link time.
75211 variables_saved_for_relink=$lt_variables_saved_for_relink
75212
75213 # Do we need the "lib" prefix for modules?
75214 need_lib_prefix=$need_lib_prefix
75215
75216 # Do we need a version for libraries?
75217 need_version=$need_version
75218
75219 # Library versioning type.
75220 version_type=$version_type
75221
75222 # Shared library runtime path variable.
75223 runpath_var=$runpath_var
75224
75225 # Shared library path variable.
75226 shlibpath_var=$shlibpath_var
75227
75228 # Is shlibpath searched before the hard-coded library search path?
75229 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75230
75231 # Format of library name prefix.
75232 libname_spec=$lt_libname_spec
75233
75234 # List of archive names.  First name is the real one, the rest are links.
75235 # The last name is the one that the linker finds with -lNAME
75236 library_names_spec=$lt_library_names_spec
75237
75238 # The coded name of the library, if different from the real name.
75239 soname_spec=$lt_soname_spec
75240
75241 # Permission mode override for installation of shared libraries.
75242 install_override_mode=$lt_install_override_mode
75243
75244 # Command to use after installation of a shared archive.
75245 postinstall_cmds=$lt_postinstall_cmds
75246
75247 # Command to use after uninstallation of a shared archive.
75248 postuninstall_cmds=$lt_postuninstall_cmds
75249
75250 # Commands used to finish a libtool library installation in a directory.
75251 finish_cmds=$lt_finish_cmds
75252
75253 # As "finish_cmds", except a single script fragment to be evaled but
75254 # not shown.
75255 finish_eval=$lt_finish_eval
75256
75257 # Whether we should hardcode library paths into libraries.
75258 hardcode_into_libs=$hardcode_into_libs
75259
75260 # Compile-time system search path for libraries.
75261 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75262
75263 # Run-time system search path for libraries.
75264 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75265
75266 # Whether dlopen is supported.
75267 dlopen_support=$enable_dlopen
75268
75269 # Whether dlopen of programs is supported.
75270 dlopen_self=$enable_dlopen_self
75271
75272 # Whether dlopen of statically linked programs is supported.
75273 dlopen_self_static=$enable_dlopen_self_static
75274
75275 # Commands to strip libraries.
75276 old_striplib=$lt_old_striplib
75277 striplib=$lt_striplib
75278
75279
75280 # The linker used to build libraries.
75281 LD=$lt_LD
75282
75283 # How to create reloadable object files.
75284 reload_flag=$lt_reload_flag
75285 reload_cmds=$lt_reload_cmds
75286
75287 # Commands used to build an old-style archive.
75288 old_archive_cmds=$lt_old_archive_cmds
75289
75290 # A language specific compiler.
75291 CC=$lt_compiler
75292
75293 # Is the compiler the GNU compiler?
75294 with_gcc=$GCC
75295
75296 # Compiler flag to turn off builtin functions.
75297 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75298
75299 # How to pass a linker flag through the compiler.
75300 wl=$lt_lt_prog_compiler_wl
75301
75302 # Additional compiler flags for building library objects.
75303 pic_flag=$lt_lt_prog_compiler_pic
75304
75305 # Compiler flag to prevent dynamic linking.
75306 link_static_flag=$lt_lt_prog_compiler_static
75307
75308 # Does compiler simultaneously support -c and -o options?
75309 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75310
75311 # Whether or not to add -lc for building shared libraries.
75312 build_libtool_need_lc=$archive_cmds_need_lc
75313
75314 # Whether or not to disallow shared libs when runtime libs are static.
75315 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75316
75317 # Compiler flag to allow reflexive dlopens.
75318 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75319
75320 # Compiler flag to generate shared objects directly from archives.
75321 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75322
75323 # Whether the compiler copes with passing no objects directly.
75324 compiler_needs_object=$lt_compiler_needs_object
75325
75326 # Create an old-style archive from a shared archive.
75327 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75328
75329 # Create a temporary old-style archive to link instead of a shared archive.
75330 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75331
75332 # Commands used to build a shared archive.
75333 archive_cmds=$lt_archive_cmds
75334 archive_expsym_cmds=$lt_archive_expsym_cmds
75335
75336 # Commands used to build a loadable module if different from building
75337 # a shared archive.
75338 module_cmds=$lt_module_cmds
75339 module_expsym_cmds=$lt_module_expsym_cmds
75340
75341 # Whether we are building with GNU ld or not.
75342 with_gnu_ld=$lt_with_gnu_ld
75343
75344 # Flag that allows shared libraries with undefined symbols to be built.
75345 allow_undefined_flag=$lt_allow_undefined_flag
75346
75347 # Flag that enforces no undefined symbols.
75348 no_undefined_flag=$lt_no_undefined_flag
75349
75350 # Flag to hardcode \$libdir into a binary during linking.
75351 # This must work even if \$libdir does not exist
75352 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75353
75354 # If ld is used when linking, flag to hardcode \$libdir into a binary
75355 # during linking.  This must work even if \$libdir does not exist.
75356 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75357
75358 # Whether we need a single "-rpath" flag with a separated argument.
75359 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75360
75361 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75362 # DIR into the resulting binary.
75363 hardcode_direct=$hardcode_direct
75364
75365 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75366 # DIR into the resulting binary and the resulting library dependency is
75367 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75368 # library is relocated.
75369 hardcode_direct_absolute=$hardcode_direct_absolute
75370
75371 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75372 # into the resulting binary.
75373 hardcode_minus_L=$hardcode_minus_L
75374
75375 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75376 # into the resulting binary.
75377 hardcode_shlibpath_var=$hardcode_shlibpath_var
75378
75379 # Set to "yes" if building a shared library automatically hardcodes DIR
75380 # into the library and all subsequent libraries and executables linked
75381 # against it.
75382 hardcode_automatic=$hardcode_automatic
75383
75384 # Set to yes if linker adds runtime paths of dependent libraries
75385 # to runtime path list.
75386 inherit_rpath=$inherit_rpath
75387
75388 # Whether libtool must link a program against all its dependency libraries.
75389 link_all_deplibs=$link_all_deplibs
75390
75391 # Fix the shell variable \$srcfile for the compiler.
75392 fix_srcfile_path=$lt_fix_srcfile_path
75393
75394 # Set to "yes" if exported symbols are required.
75395 always_export_symbols=$always_export_symbols
75396
75397 # The commands to list exported symbols.
75398 export_symbols_cmds=$lt_export_symbols_cmds
75399
75400 # Symbols that should not be listed in the preloaded symbols.
75401 exclude_expsyms=$lt_exclude_expsyms
75402
75403 # Symbols that must always be exported.
75404 include_expsyms=$lt_include_expsyms
75405
75406 # Commands necessary for linking programs (against libraries) with templates.
75407 prelink_cmds=$lt_prelink_cmds
75408
75409 # Specify filename containing input files.
75410 file_list_spec=$lt_file_list_spec
75411
75412 # How to hardcode a shared library path into an executable.
75413 hardcode_action=$hardcode_action
75414
75415 # The directories searched by this compiler when creating a shared library.
75416 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75417
75418 # Dependencies to place before and after the objects being linked to
75419 # create a shared library.
75420 predep_objects=$lt_predep_objects
75421 postdep_objects=$lt_postdep_objects
75422 predeps=$lt_predeps
75423 postdeps=$lt_postdeps
75424
75425 # The library search path used internally by the compiler when linking
75426 # a shared library.
75427 compiler_lib_search_path=$lt_compiler_lib_search_path
75428
75429 # ### END LIBTOOL CONFIG
75430
75431 _LT_EOF
75432
75433   case $host_os in
75434   aix3*)
75435     cat <<\_LT_EOF >> "$cfgfile"
75436 # AIX sometimes has problems with the GCC collect2 program.  For some
75437 # reason, if we set the COLLECT_NAMES environment variable, the problems
75438 # vanish in a puff of smoke.
75439 if test "X${COLLECT_NAMES+set}" != Xset; then
75440   COLLECT_NAMES=
75441   export COLLECT_NAMES
75442 fi
75443 _LT_EOF
75444     ;;
75445   esac
75446
75447
75448 ltmain="$ac_aux_dir/ltmain.sh"
75449
75450
75451   # We use sed instead of cat because bash on DJGPP gets confused if
75452   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
75453   # text mode, it properly converts lines to CR/LF.  This bash problem
75454   # is reportedly fixed, but why not run on old versions too?
75455   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75456     || (rm -f "$cfgfile"; exit 1)
75457
75458   case $xsi_shell in
75459   yes)
75460     cat << \_LT_EOF >> "$cfgfile"
75461
75462 # func_dirname file append nondir_replacement
75463 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
75464 # otherwise set result to NONDIR_REPLACEMENT.
75465 func_dirname ()
75466 {
75467   case ${1} in
75468     */*) func_dirname_result="${1%/*}${2}" ;;
75469     *  ) func_dirname_result="${3}" ;;
75470   esac
75471 }
75472
75473 # func_basename file
75474 func_basename ()
75475 {
75476   func_basename_result="${1##*/}"
75477 }
75478
75479 # func_dirname_and_basename file append nondir_replacement
75480 # perform func_basename and func_dirname in a single function
75481 # call:
75482 #   dirname:  Compute the dirname of FILE.  If nonempty,
75483 #             add APPEND to the result, otherwise set result
75484 #             to NONDIR_REPLACEMENT.
75485 #             value returned in "$func_dirname_result"
75486 #   basename: Compute filename of FILE.
75487 #             value retuned in "$func_basename_result"
75488 # Implementation must be kept synchronized with func_dirname
75489 # and func_basename. For efficiency, we do not delegate to
75490 # those functions but instead duplicate the functionality here.
75491 func_dirname_and_basename ()
75492 {
75493   case ${1} in
75494     */*) func_dirname_result="${1%/*}${2}" ;;
75495     *  ) func_dirname_result="${3}" ;;
75496   esac
75497   func_basename_result="${1##*/}"
75498 }
75499
75500 # func_stripname prefix suffix name
75501 # strip PREFIX and SUFFIX off of NAME.
75502 # PREFIX and SUFFIX must not contain globbing or regex special
75503 # characters, hashes, percent signs, but SUFFIX may contain a leading
75504 # dot (in which case that matches only a dot).
75505 func_stripname ()
75506 {
75507   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75508   # positional parameters, so assign one to ordinary parameter first.
75509   func_stripname_result=${3}
75510   func_stripname_result=${func_stripname_result#"${1}"}
75511   func_stripname_result=${func_stripname_result%"${2}"}
75512 }
75513
75514 # func_opt_split
75515 func_opt_split ()
75516 {
75517   func_opt_split_opt=${1%%=*}
75518   func_opt_split_arg=${1#*=}
75519 }
75520
75521 # func_lo2o object
75522 func_lo2o ()
75523 {
75524   case ${1} in
75525     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75526     *)    func_lo2o_result=${1} ;;
75527   esac
75528 }
75529
75530 # func_xform libobj-or-source
75531 func_xform ()
75532 {
75533   func_xform_result=${1%.*}.lo
75534 }
75535
75536 # func_arith arithmetic-term...
75537 func_arith ()
75538 {
75539   func_arith_result=$(( $* ))
75540 }
75541
75542 # func_len string
75543 # STRING may not start with a hyphen.
75544 func_len ()
75545 {
75546   func_len_result=${#1}
75547 }
75548
75549 _LT_EOF
75550     ;;
75551   *) # Bourne compatible functions.
75552     cat << \_LT_EOF >> "$cfgfile"
75553
75554 # func_dirname file append nondir_replacement
75555 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
75556 # otherwise set result to NONDIR_REPLACEMENT.
75557 func_dirname ()
75558 {
75559   # Extract subdirectory from the argument.
75560   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75561   if test "X$func_dirname_result" = "X${1}"; then
75562     func_dirname_result="${3}"
75563   else
75564     func_dirname_result="$func_dirname_result${2}"
75565   fi
75566 }
75567
75568 # func_basename file
75569 func_basename ()
75570 {
75571   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75572 }
75573
75574
75575 # func_stripname prefix suffix name
75576 # strip PREFIX and SUFFIX off of NAME.
75577 # PREFIX and SUFFIX must not contain globbing or regex special
75578 # characters, hashes, percent signs, but SUFFIX may contain a leading
75579 # dot (in which case that matches only a dot).
75580 # func_strip_suffix prefix name
75581 func_stripname ()
75582 {
75583   case ${2} in
75584     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75585     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75586   esac
75587 }
75588
75589 # sed scripts:
75590 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75591 my_sed_long_arg='1s/^-[^=]*=//'
75592
75593 # func_opt_split
75594 func_opt_split ()
75595 {
75596   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75597   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75598 }
75599
75600 # func_lo2o object
75601 func_lo2o ()
75602 {
75603   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75604 }
75605
75606 # func_xform libobj-or-source
75607 func_xform ()
75608 {
75609   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75610 }
75611
75612 # func_arith arithmetic-term...
75613 func_arith ()
75614 {
75615   func_arith_result=`expr "$@"`
75616 }
75617
75618 # func_len string
75619 # STRING may not start with a hyphen.
75620 func_len ()
75621 {
75622   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75623 }
75624
75625 _LT_EOF
75626 esac
75627
75628 case $lt_shell_append in
75629   yes)
75630     cat << \_LT_EOF >> "$cfgfile"
75631
75632 # func_append var value
75633 # Append VALUE to the end of shell variable VAR.
75634 func_append ()
75635 {
75636   eval "$1+=\$2"
75637 }
75638 _LT_EOF
75639     ;;
75640   *)
75641     cat << \_LT_EOF >> "$cfgfile"
75642
75643 # func_append var value
75644 # Append VALUE to the end of shell variable VAR.
75645 func_append ()
75646 {
75647   eval "$1=\$$1\$2"
75648 }
75649
75650 _LT_EOF
75651     ;;
75652   esac
75653
75654
75655   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75656     || (rm -f "$cfgfile"; exit 1)
75657
75658   mv -f "$cfgfile" "$ofile" ||
75659     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75660   chmod +x "$ofile"
75661
75662
75663     cat <<_LT_EOF >> "$ofile"
75664
75665 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75666
75667 # The linker used to build libraries.
75668 LD=$lt_LD_CXX
75669
75670 # How to create reloadable object files.
75671 reload_flag=$lt_reload_flag_CXX
75672 reload_cmds=$lt_reload_cmds_CXX
75673
75674 # Commands used to build an old-style archive.
75675 old_archive_cmds=$lt_old_archive_cmds_CXX
75676
75677 # A language specific compiler.
75678 CC=$lt_compiler_CXX
75679
75680 # Is the compiler the GNU compiler?
75681 with_gcc=$GCC_CXX
75682
75683 # Compiler flag to turn off builtin functions.
75684 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75685
75686 # How to pass a linker flag through the compiler.
75687 wl=$lt_lt_prog_compiler_wl_CXX
75688
75689 # Additional compiler flags for building library objects.
75690 pic_flag=$lt_lt_prog_compiler_pic_CXX
75691
75692 # Compiler flag to prevent dynamic linking.
75693 link_static_flag=$lt_lt_prog_compiler_static_CXX
75694
75695 # Does compiler simultaneously support -c and -o options?
75696 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75697
75698 # Whether or not to add -lc for building shared libraries.
75699 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75700
75701 # Whether or not to disallow shared libs when runtime libs are static.
75702 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75703
75704 # Compiler flag to allow reflexive dlopens.
75705 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75706
75707 # Compiler flag to generate shared objects directly from archives.
75708 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75709
75710 # Whether the compiler copes with passing no objects directly.
75711 compiler_needs_object=$lt_compiler_needs_object_CXX
75712
75713 # Create an old-style archive from a shared archive.
75714 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75715
75716 # Create a temporary old-style archive to link instead of a shared archive.
75717 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75718
75719 # Commands used to build a shared archive.
75720 archive_cmds=$lt_archive_cmds_CXX
75721 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75722
75723 # Commands used to build a loadable module if different from building
75724 # a shared archive.
75725 module_cmds=$lt_module_cmds_CXX
75726 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75727
75728 # Whether we are building with GNU ld or not.
75729 with_gnu_ld=$lt_with_gnu_ld_CXX
75730
75731 # Flag that allows shared libraries with undefined symbols to be built.
75732 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75733
75734 # Flag that enforces no undefined symbols.
75735 no_undefined_flag=$lt_no_undefined_flag_CXX
75736
75737 # Flag to hardcode \$libdir into a binary during linking.
75738 # This must work even if \$libdir does not exist
75739 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75740
75741 # If ld is used when linking, flag to hardcode \$libdir into a binary
75742 # during linking.  This must work even if \$libdir does not exist.
75743 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75744
75745 # Whether we need a single "-rpath" flag with a separated argument.
75746 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75747
75748 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75749 # DIR into the resulting binary.
75750 hardcode_direct=$hardcode_direct_CXX
75751
75752 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75753 # DIR into the resulting binary and the resulting library dependency is
75754 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75755 # library is relocated.
75756 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75757
75758 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75759 # into the resulting binary.
75760 hardcode_minus_L=$hardcode_minus_L_CXX
75761
75762 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75763 # into the resulting binary.
75764 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75765
75766 # Set to "yes" if building a shared library automatically hardcodes DIR
75767 # into the library and all subsequent libraries and executables linked
75768 # against it.
75769 hardcode_automatic=$hardcode_automatic_CXX
75770
75771 # Set to yes if linker adds runtime paths of dependent libraries
75772 # to runtime path list.
75773 inherit_rpath=$inherit_rpath_CXX
75774
75775 # Whether libtool must link a program against all its dependency libraries.
75776 link_all_deplibs=$link_all_deplibs_CXX
75777
75778 # Fix the shell variable \$srcfile for the compiler.
75779 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75780
75781 # Set to "yes" if exported symbols are required.
75782 always_export_symbols=$always_export_symbols_CXX
75783
75784 # The commands to list exported symbols.
75785 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75786
75787 # Symbols that should not be listed in the preloaded symbols.
75788 exclude_expsyms=$lt_exclude_expsyms_CXX
75789
75790 # Symbols that must always be exported.
75791 include_expsyms=$lt_include_expsyms_CXX
75792
75793 # Commands necessary for linking programs (against libraries) with templates.
75794 prelink_cmds=$lt_prelink_cmds_CXX
75795
75796 # Specify filename containing input files.
75797 file_list_spec=$lt_file_list_spec_CXX
75798
75799 # How to hardcode a shared library path into an executable.
75800 hardcode_action=$hardcode_action_CXX
75801
75802 # The directories searched by this compiler when creating a shared library.
75803 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75804
75805 # Dependencies to place before and after the objects being linked to
75806 # create a shared library.
75807 predep_objects=$lt_predep_objects_CXX
75808 postdep_objects=$lt_postdep_objects_CXX
75809 predeps=$lt_predeps_CXX
75810 postdeps=$lt_postdeps_CXX
75811
75812 # The library search path used internally by the compiler when linking
75813 # a shared library.
75814 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75815
75816 # ### END LIBTOOL TAG CONFIG: CXX
75817 _LT_EOF
75818
75819  ;;
75820     "include/gstdint.h":C)
75821 if test "$GCC" = yes; then
75822   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75823 else
75824   echo "/* generated for $CC */" > tmp-stdint.h
75825 fi
75826
75827 sed 's/^ *//' >> tmp-stdint.h <<EOF
75828
75829   #ifndef GCC_GENERATED_STDINT_H
75830   #define GCC_GENERATED_STDINT_H 1
75831
75832   #include <sys/types.h>
75833 EOF
75834
75835 if test "$acx_cv_header_stdint" != stdint.h; then
75836   echo "#include <stddef.h>" >> tmp-stdint.h
75837 fi
75838 if test "$acx_cv_header_stdint" != stddef.h; then
75839   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75840 fi
75841
75842 sed 's/^ *//' >> tmp-stdint.h <<EOF
75843   /* glibc uses these symbols as guards to prevent redefinitions.  */
75844   #ifdef __int8_t_defined
75845   #define _INT8_T
75846   #define _INT16_T
75847   #define _INT32_T
75848   #endif
75849   #ifdef __uint32_t_defined
75850   #define _UINT32_T
75851   #endif
75852
75853 EOF
75854
75855 # ----------------- done header, emit basic int types -------------
75856 if test "$acx_cv_header_stdint" = stddef.h; then
75857   sed 's/^ *//' >> tmp-stdint.h <<EOF
75858
75859     #ifndef _UINT8_T
75860     #define _UINT8_T
75861     #ifndef __uint8_t_defined
75862     #define __uint8_t_defined
75863     #ifndef uint8_t
75864     typedef unsigned $acx_cv_type_int8_t uint8_t;
75865     #endif
75866     #endif
75867     #endif
75868
75869     #ifndef _UINT16_T
75870     #define _UINT16_T
75871     #ifndef __uint16_t_defined
75872     #define __uint16_t_defined
75873     #ifndef uint16_t
75874     typedef unsigned $acx_cv_type_int16_t uint16_t;
75875     #endif
75876     #endif
75877     #endif
75878
75879     #ifndef _UINT32_T
75880     #define _UINT32_T
75881     #ifndef __uint32_t_defined
75882     #define __uint32_t_defined
75883     #ifndef uint32_t
75884     typedef unsigned $acx_cv_type_int32_t uint32_t;
75885     #endif
75886     #endif
75887     #endif
75888
75889     #ifndef _INT8_T
75890     #define _INT8_T
75891     #ifndef __int8_t_defined
75892     #define __int8_t_defined
75893     #ifndef int8_t
75894     typedef $acx_cv_type_int8_t int8_t;
75895     #endif
75896     #endif
75897     #endif
75898
75899     #ifndef _INT16_T
75900     #define _INT16_T
75901     #ifndef __int16_t_defined
75902     #define __int16_t_defined
75903     #ifndef int16_t
75904     typedef $acx_cv_type_int16_t int16_t;
75905     #endif
75906     #endif
75907     #endif
75908
75909     #ifndef _INT32_T
75910     #define _INT32_T
75911     #ifndef __int32_t_defined
75912     #define __int32_t_defined
75913     #ifndef int32_t
75914     typedef $acx_cv_type_int32_t int32_t;
75915     #endif
75916     #endif
75917     #endif
75918 EOF
75919 elif test "$ac_cv_type_u_int32_t" = yes; then
75920   sed 's/^ *//' >> tmp-stdint.h <<EOF
75921
75922     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75923     #ifndef _INT8_T
75924     #define _INT8_T
75925     #endif
75926     #ifndef _INT16_T
75927     #define _INT16_T
75928     #endif
75929     #ifndef _INT32_T
75930     #define _INT32_T
75931     #endif
75932
75933     #ifndef _UINT8_T
75934     #define _UINT8_T
75935     #ifndef __uint8_t_defined
75936     #define __uint8_t_defined
75937     #ifndef uint8_t
75938     typedef u_int8_t uint8_t;
75939     #endif
75940     #endif
75941     #endif
75942
75943     #ifndef _UINT16_T
75944     #define _UINT16_T
75945     #ifndef __uint16_t_defined
75946     #define __uint16_t_defined
75947     #ifndef uint16_t
75948     typedef u_int16_t uint16_t;
75949     #endif
75950     #endif
75951     #endif
75952
75953     #ifndef _UINT32_T
75954     #define _UINT32_T
75955     #ifndef __uint32_t_defined
75956     #define __uint32_t_defined
75957     #ifndef uint32_t
75958     typedef u_int32_t uint32_t;
75959     #endif
75960     #endif
75961     #endif
75962 EOF
75963 else
75964   sed 's/^ *//' >> tmp-stdint.h <<EOF
75965
75966     /* Some systems have guard macros to prevent redefinitions, define them.  */
75967     #ifndef _INT8_T
75968     #define _INT8_T
75969     #endif
75970     #ifndef _INT16_T
75971     #define _INT16_T
75972     #endif
75973     #ifndef _INT32_T
75974     #define _INT32_T
75975     #endif
75976     #ifndef _UINT8_T
75977     #define _UINT8_T
75978     #endif
75979     #ifndef _UINT16_T
75980     #define _UINT16_T
75981     #endif
75982     #ifndef _UINT32_T
75983     #define _UINT32_T
75984     #endif
75985 EOF
75986 fi
75987
75988 # ------------- done basic int types, emit int64_t types ------------
75989 if test "$ac_cv_type_uint64_t" = yes; then
75990   sed 's/^ *//' >> tmp-stdint.h <<EOF
75991
75992     /* system headers have good uint64_t and int64_t */
75993     #ifndef _INT64_T
75994     #define _INT64_T
75995     #endif
75996     #ifndef _UINT64_T
75997     #define _UINT64_T
75998     #endif
75999 EOF
76000 elif test "$ac_cv_type_u_int64_t" = yes; then
76001   sed 's/^ *//' >> tmp-stdint.h <<EOF
76002
76003     /* system headers have an u_int64_t (and int64_t) */
76004     #ifndef _INT64_T
76005     #define _INT64_T
76006     #endif
76007     #ifndef _UINT64_T
76008     #define _UINT64_T
76009     #ifndef __uint64_t_defined
76010     #define __uint64_t_defined
76011     #ifndef uint64_t
76012     typedef u_int64_t uint64_t;
76013     #endif
76014     #endif
76015     #endif
76016 EOF
76017 elif test -n "$acx_cv_type_int64_t"; then
76018   sed 's/^ *//' >> tmp-stdint.h <<EOF
76019
76020     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76021     #ifndef _INT64_T
76022     #define _INT64_T
76023     #ifndef int64_t
76024     typedef $acx_cv_type_int64_t int64_t;
76025     #endif
76026     #endif
76027     #ifndef _UINT64_T
76028     #define _UINT64_T
76029     #ifndef __uint64_t_defined
76030     #define __uint64_t_defined
76031     #ifndef uint64_t
76032     typedef unsigned $acx_cv_type_int64_t uint64_t;
76033     #endif
76034     #endif
76035     #endif
76036 EOF
76037 else
76038   sed 's/^ *//' >> tmp-stdint.h <<EOF
76039
76040     /* some common heuristics for int64_t, using compiler-specific tests */
76041     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76042     #ifndef _INT64_T
76043     #define _INT64_T
76044     #ifndef __int64_t_defined
76045     #ifndef int64_t
76046     typedef long long int64_t;
76047     #endif
76048     #endif
76049     #endif
76050     #ifndef _UINT64_T
76051     #define _UINT64_T
76052     #ifndef uint64_t
76053     typedef unsigned long long uint64_t;
76054     #endif
76055     #endif
76056
76057     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76058     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76059        does not implement __extension__.  But that compiler doesn't define
76060        __GNUC_MINOR__.  */
76061     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76062     # define __extension__
76063     # endif
76064
76065     # ifndef _INT64_T
76066     # define _INT64_T
76067     # ifndef int64_t
76068     __extension__ typedef long long int64_t;
76069     # endif
76070     # endif
76071     # ifndef _UINT64_T
76072     # define _UINT64_T
76073     # ifndef uint64_t
76074     __extension__ typedef unsigned long long uint64_t;
76075     # endif
76076     # endif
76077
76078     #elif !defined __STRICT_ANSI__
76079     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76080
76081     #  ifndef _INT64_T
76082     #  define _INT64_T
76083     #  ifndef int64_t
76084     typedef __int64 int64_t;
76085     #  endif
76086     #  endif
76087     #  ifndef _UINT64_T
76088     #  define _UINT64_T
76089     #  ifndef uint64_t
76090     typedef unsigned __int64 uint64_t;
76091     #  endif
76092     #  endif
76093     # endif /* compiler */
76094
76095     #endif /* ANSI version */
76096 EOF
76097 fi
76098
76099 # ------------- done int64_t types, emit intptr types ------------
76100 if test "$ac_cv_type_uintptr_t" != yes; then
76101   sed 's/^ *//' >> tmp-stdint.h <<EOF
76102
76103     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76104     #ifndef __uintptr_t_defined
76105     #ifndef uintptr_t
76106     typedef u$acx_cv_type_intptr_t uintptr_t;
76107     #endif
76108     #endif
76109     #ifndef __intptr_t_defined
76110     #ifndef intptr_t
76111     typedef $acx_cv_type_intptr_t  intptr_t;
76112     #endif
76113     #endif
76114 EOF
76115 fi
76116
76117 # ------------- done intptr types, emit int_least types ------------
76118 if test "$ac_cv_type_int_least32_t" != yes; then
76119   sed 's/^ *//' >> tmp-stdint.h <<EOF
76120
76121     /* Define int_least types */
76122     typedef int8_t     int_least8_t;
76123     typedef int16_t    int_least16_t;
76124     typedef int32_t    int_least32_t;
76125     #ifdef _INT64_T
76126     typedef int64_t    int_least64_t;
76127     #endif
76128
76129     typedef uint8_t    uint_least8_t;
76130     typedef uint16_t   uint_least16_t;
76131     typedef uint32_t   uint_least32_t;
76132     #ifdef _UINT64_T
76133     typedef uint64_t   uint_least64_t;
76134     #endif
76135 EOF
76136 fi
76137
76138 # ------------- done intptr types, emit int_fast types ------------
76139 if test "$ac_cv_type_int_fast32_t" != yes; then
76140       sed 's/^ *//' >> tmp-stdint.h <<EOF
76141
76142     /* Define int_fast types.  short is often slow */
76143     typedef int8_t       int_fast8_t;
76144     typedef int          int_fast16_t;
76145     typedef int32_t      int_fast32_t;
76146     #ifdef _INT64_T
76147     typedef int64_t      int_fast64_t;
76148     #endif
76149
76150     typedef uint8_t      uint_fast8_t;
76151     typedef unsigned int uint_fast16_t;
76152     typedef uint32_t     uint_fast32_t;
76153     #ifdef _UINT64_T
76154     typedef uint64_t     uint_fast64_t;
76155     #endif
76156 EOF
76157 fi
76158
76159 if test "$ac_cv_type_uintmax_t" != yes; then
76160   sed 's/^ *//' >> tmp-stdint.h <<EOF
76161
76162     /* Define intmax based on what we found */
76163     #ifndef intmax_t
76164     #ifdef _INT64_T
76165     typedef int64_t       intmax_t;
76166     #else
76167     typedef long          intmax_t;
76168     #endif
76169     #endif
76170     #ifndef uintmax_t
76171     #ifdef _UINT64_T
76172     typedef uint64_t      uintmax_t;
76173     #else
76174     typedef unsigned long uintmax_t;
76175     #endif
76176     #endif
76177 EOF
76178 fi
76179
76180 sed 's/^ *//' >> tmp-stdint.h <<EOF
76181
76182   #endif /* GCC_GENERATED_STDINT_H */
76183 EOF
76184
76185 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76186   rm -f tmp-stdint.h
76187 else
76188   mv -f tmp-stdint.h include/gstdint.h
76189 fi
76190
76191  ;;
76192     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76193     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76194     "include/Makefile":F) cat > vpsed$$ << \_EOF
76195 s!`test -f '$<' || echo '$(srcdir)/'`!!
76196 _EOF
76197    sed -f vpsed$$ $ac_file > tmp$$
76198    mv tmp$$ $ac_file
76199    rm vpsed$$
76200    echo 'MULTISUBDIR =' >> $ac_file
76201    ml_norecursion=yes
76202    . ${multi_basedir}/config-ml.in
76203    { ml_norecursion=; unset ml_norecursion;}
76204  ;;
76205     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76206 s!`test -f '$<' || echo '$(srcdir)/'`!!
76207 _EOF
76208    sed -f vpsed$$ $ac_file > tmp$$
76209    mv tmp$$ $ac_file
76210    rm vpsed$$
76211    echo 'MULTISUBDIR =' >> $ac_file
76212    ml_norecursion=yes
76213    . ${multi_basedir}/config-ml.in
76214    { ml_norecursion=; unset ml_norecursion;}
76215  ;;
76216     "python/Makefile":F) cat > vpsed$$ << \_EOF
76217 s!`test -f '$<' || echo '$(srcdir)/'`!!
76218 _EOF
76219    sed -f vpsed$$ $ac_file > tmp$$
76220    mv tmp$$ $ac_file
76221    rm vpsed$$
76222    echo 'MULTISUBDIR =' >> $ac_file
76223    ml_norecursion=yes
76224    . ${multi_basedir}/config-ml.in
76225    { ml_norecursion=; unset ml_norecursion;}
76226  ;;
76227     "src/Makefile":F) cat > vpsed$$ << \_EOF
76228 s!`test -f '$<' || echo '$(srcdir)/'`!!
76229 _EOF
76230    sed -f vpsed$$ $ac_file > tmp$$
76231    mv tmp$$ $ac_file
76232    rm vpsed$$
76233    echo 'MULTISUBDIR =' >> $ac_file
76234    ml_norecursion=yes
76235    . ${multi_basedir}/config-ml.in
76236    { ml_norecursion=; unset ml_norecursion;}
76237  ;;
76238     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76239 s!`test -f '$<' || echo '$(srcdir)/'`!!
76240 _EOF
76241    sed -f vpsed$$ $ac_file > tmp$$
76242    mv tmp$$ $ac_file
76243    rm vpsed$$
76244    echo 'MULTISUBDIR =' >> $ac_file
76245    ml_norecursion=yes
76246    . ${multi_basedir}/config-ml.in
76247    { ml_norecursion=; unset ml_norecursion;}
76248  ;;
76249     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76250 s!`test -f '$<' || echo '$(srcdir)/'`!!
76251 _EOF
76252    sed -f vpsed$$ $ac_file > tmp$$
76253    mv tmp$$ $ac_file
76254    rm vpsed$$
76255    echo 'MULTISUBDIR =' >> $ac_file
76256    ml_norecursion=yes
76257    . ${multi_basedir}/config-ml.in
76258    { ml_norecursion=; unset ml_norecursion;}
76259  ;;
76260     "doc/Makefile":F) cat > vpsed$$ << \_EOF
76261 s!`test -f '$<' || echo '$(srcdir)/'`!!
76262 _EOF
76263    sed -f vpsed$$ $ac_file > tmp$$
76264    mv tmp$$ $ac_file
76265    rm vpsed$$
76266    echo 'MULTISUBDIR =' >> $ac_file
76267    ml_norecursion=yes
76268    . ${multi_basedir}/config-ml.in
76269    { ml_norecursion=; unset ml_norecursion;}
76270  ;;
76271     "po/Makefile":F) cat > vpsed$$ << \_EOF
76272 s!`test -f '$<' || echo '$(srcdir)/'`!!
76273 _EOF
76274    sed -f vpsed$$ $ac_file > tmp$$
76275    mv tmp$$ $ac_file
76276    rm vpsed$$
76277    echo 'MULTISUBDIR =' >> $ac_file
76278    ml_norecursion=yes
76279    . ${multi_basedir}/config-ml.in
76280    { ml_norecursion=; unset ml_norecursion;}
76281  ;;
76282     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76283 s!`test -f '$<' || echo '$(srcdir)/'`!!
76284 _EOF
76285    sed -f vpsed$$ $ac_file > tmp$$
76286    mv tmp$$ $ac_file
76287    rm vpsed$$
76288    echo 'MULTISUBDIR =' >> $ac_file
76289    ml_norecursion=yes
76290    . ${multi_basedir}/config-ml.in
76291    { ml_norecursion=; unset ml_norecursion;}
76292  ;;
76293     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76294
76295   esac
76296 done # for ac_tag
76297
76298
76299 as_fn_exit 0
76300 _ACEOF
76301 ac_clean_files=$ac_clean_files_save
76302
76303 test $ac_write_fail = 0 ||
76304   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76305
76306
76307 # configure is writing to config.log, and then calls config.status.
76308 # config.status does its own redirection, appending to config.log.
76309 # Unfortunately, on DOS this fails, as config.log is still kept open
76310 # by configure, so config.status won't be able to write to it; its
76311 # output is simply discarded.  So we exec the FD to /dev/null,
76312 # effectively closing config.log, so it can be properly (re)opened and
76313 # appended to by config.status.  When coming back to configure, we
76314 # need to make the FD available again.
76315 if test "$no_create" != yes; then
76316   ac_cs_success=:
76317   ac_config_status_args=
76318   test "$silent" = yes &&
76319     ac_config_status_args="$ac_config_status_args --quiet"
76320   exec 5>/dev/null
76321   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76322   exec 5>>config.log
76323   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76324   # would make configure fail if this is the last instruction.
76325   $ac_cs_success || as_fn_exit $?
76326 fi
76327 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76328   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76329 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
76330 fi
76331