re PR libstdc++/55631 (Several ext/ headers can not be #included on their own)
[platform/upstream/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 #  include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #  include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 thread_header
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
730 NM
731 ac_ct_DUMPBIN
732 DUMPBIN
733 LD
734 FGREP
735 SED
736 LIBTOOL
737 EGREP
738 GREP
739 CPP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
744 AR
745 AS
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
753 CXX
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
760 CC
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
766 AWK
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
880 '
881       ac_precious_vars='build_alias
882 host_alias
883 target_alias
884 CC
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
889 CXX
890 CXXFLAGS
891 CCC
892 CPP
893 CXXCPP
894 CXXFILT'
895
896
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
918
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
944
945 ac_prev=
946 ac_dashdash=
947 for ac_option
948 do
949   # If the previous option needs an argument, assign it.
950   if test -n "$ac_prev"; then
951     eval $ac_prev=\$ac_option
952     ac_prev=
953     continue
954   fi
955
956   case $ac_option in
957   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958   *)    ac_optarg=yes ;;
959   esac
960
961   # Accept the important Cygnus configure options, so we can diagnose typos.
962
963   case $ac_dashdash$ac_option in
964   --)
965     ac_dashdash=yes ;;
966
967   -bindir | --bindir | --bindi | --bind | --bin | --bi)
968     ac_prev=bindir ;;
969   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970     bindir=$ac_optarg ;;
971
972   -build | --build | --buil | --bui | --bu)
973     ac_prev=build_alias ;;
974   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975     build_alias=$ac_optarg ;;
976
977   -cache-file | --cache-file | --cache-fil | --cache-fi \
978   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979     ac_prev=cache_file ;;
980   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982     cache_file=$ac_optarg ;;
983
984   --config-cache | -C)
985     cache_file=config.cache ;;
986
987   -datadir | --datadir | --datadi | --datad)
988     ac_prev=datadir ;;
989   -datadir=* | --datadir=* | --datadi=* | --datad=*)
990     datadir=$ac_optarg ;;
991
992   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993   | --dataroo | --dataro | --datar)
994     ac_prev=datarootdir ;;
995   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997     datarootdir=$ac_optarg ;;
998
999   -disable-* | --disable-*)
1000     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001     # Reject names that are not valid shell variable names.
1002     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003       as_fn_error "invalid feature name: $ac_useropt"
1004     ac_useropt_orig=$ac_useropt
1005     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006     case $ac_user_opts in
1007       *"
1008 "enable_$ac_useropt"
1009 "*) ;;
1010       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011          ac_unrecognized_sep=', ';;
1012     esac
1013     eval enable_$ac_useropt=no ;;
1014
1015   -docdir | --docdir | --docdi | --doc | --do)
1016     ac_prev=docdir ;;
1017   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018     docdir=$ac_optarg ;;
1019
1020   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021     ac_prev=dvidir ;;
1022   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023     dvidir=$ac_optarg ;;
1024
1025   -enable-* | --enable-*)
1026     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027     # Reject names that are not valid shell variable names.
1028     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029       as_fn_error "invalid feature name: $ac_useropt"
1030     ac_useropt_orig=$ac_useropt
1031     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032     case $ac_user_opts in
1033       *"
1034 "enable_$ac_useropt"
1035 "*) ;;
1036       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037          ac_unrecognized_sep=', ';;
1038     esac
1039     eval enable_$ac_useropt=\$ac_optarg ;;
1040
1041   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043   | --exec | --exe | --ex)
1044     ac_prev=exec_prefix ;;
1045   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047   | --exec=* | --exe=* | --ex=*)
1048     exec_prefix=$ac_optarg ;;
1049
1050   -gas | --gas | --ga | --g)
1051     # Obsolete; use --with-gas.
1052     with_gas=yes ;;
1053
1054   -help | --help | --hel | --he | -h)
1055     ac_init_help=long ;;
1056   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057     ac_init_help=recursive ;;
1058   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059     ac_init_help=short ;;
1060
1061   -host | --host | --hos | --ho)
1062     ac_prev=host_alias ;;
1063   -host=* | --host=* | --hos=* | --ho=*)
1064     host_alias=$ac_optarg ;;
1065
1066   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067     ac_prev=htmldir ;;
1068   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069   | --ht=*)
1070     htmldir=$ac_optarg ;;
1071
1072   -includedir | --includedir | --includedi | --included | --include \
1073   | --includ | --inclu | --incl | --inc)
1074     ac_prev=includedir ;;
1075   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076   | --includ=* | --inclu=* | --incl=* | --inc=*)
1077     includedir=$ac_optarg ;;
1078
1079   -infodir | --infodir | --infodi | --infod | --info | --inf)
1080     ac_prev=infodir ;;
1081   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082     infodir=$ac_optarg ;;
1083
1084   -libdir | --libdir | --libdi | --libd)
1085     ac_prev=libdir ;;
1086   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087     libdir=$ac_optarg ;;
1088
1089   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090   | --libexe | --libex | --libe)
1091     ac_prev=libexecdir ;;
1092   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093   | --libexe=* | --libex=* | --libe=*)
1094     libexecdir=$ac_optarg ;;
1095
1096   -localedir | --localedir | --localedi | --localed | --locale)
1097     ac_prev=localedir ;;
1098   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099     localedir=$ac_optarg ;;
1100
1101   -localstatedir | --localstatedir | --localstatedi | --localstated \
1102   | --localstate | --localstat | --localsta | --localst | --locals)
1103     ac_prev=localstatedir ;;
1104   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106     localstatedir=$ac_optarg ;;
1107
1108   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109     ac_prev=mandir ;;
1110   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111     mandir=$ac_optarg ;;
1112
1113   -nfp | --nfp | --nf)
1114     # Obsolete; use --without-fp.
1115     with_fp=no ;;
1116
1117   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118   | --no-cr | --no-c | -n)
1119     no_create=yes ;;
1120
1121   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123     no_recursion=yes ;;
1124
1125   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127   | --oldin | --oldi | --old | --ol | --o)
1128     ac_prev=oldincludedir ;;
1129   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132     oldincludedir=$ac_optarg ;;
1133
1134   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135     ac_prev=prefix ;;
1136   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137     prefix=$ac_optarg ;;
1138
1139   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140   | --program-pre | --program-pr | --program-p)
1141     ac_prev=program_prefix ;;
1142   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144     program_prefix=$ac_optarg ;;
1145
1146   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147   | --program-suf | --program-su | --program-s)
1148     ac_prev=program_suffix ;;
1149   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151     program_suffix=$ac_optarg ;;
1152
1153   -program-transform-name | --program-transform-name \
1154   | --program-transform-nam | --program-transform-na \
1155   | --program-transform-n | --program-transform- \
1156   | --program-transform | --program-transfor \
1157   | --program-transfo | --program-transf \
1158   | --program-trans | --program-tran \
1159   | --progr-tra | --program-tr | --program-t)
1160     ac_prev=program_transform_name ;;
1161   -program-transform-name=* | --program-transform-name=* \
1162   | --program-transform-nam=* | --program-transform-na=* \
1163   | --program-transform-n=* | --program-transform-=* \
1164   | --program-transform=* | --program-transfor=* \
1165   | --program-transfo=* | --program-transf=* \
1166   | --program-trans=* | --program-tran=* \
1167   | --progr-tra=* | --program-tr=* | --program-t=*)
1168     program_transform_name=$ac_optarg ;;
1169
1170   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171     ac_prev=pdfdir ;;
1172   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173     pdfdir=$ac_optarg ;;
1174
1175   -psdir | --psdir | --psdi | --psd | --ps)
1176     ac_prev=psdir ;;
1177   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178     psdir=$ac_optarg ;;
1179
1180   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181   | -silent | --silent | --silen | --sile | --sil)
1182     silent=yes ;;
1183
1184   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185     ac_prev=sbindir ;;
1186   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187   | --sbi=* | --sb=*)
1188     sbindir=$ac_optarg ;;
1189
1190   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192   | --sharedst | --shareds | --shared | --share | --shar \
1193   | --sha | --sh)
1194     ac_prev=sharedstatedir ;;
1195   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198   | --sha=* | --sh=*)
1199     sharedstatedir=$ac_optarg ;;
1200
1201   -site | --site | --sit)
1202     ac_prev=site ;;
1203   -site=* | --site=* | --sit=*)
1204     site=$ac_optarg ;;
1205
1206   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207     ac_prev=srcdir ;;
1208   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209     srcdir=$ac_optarg ;;
1210
1211   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212   | --syscon | --sysco | --sysc | --sys | --sy)
1213     ac_prev=sysconfdir ;;
1214   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216     sysconfdir=$ac_optarg ;;
1217
1218   -target | --target | --targe | --targ | --tar | --ta | --t)
1219     ac_prev=target_alias ;;
1220   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221     target_alias=$ac_optarg ;;
1222
1223   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224     verbose=yes ;;
1225
1226   -version | --version | --versio | --versi | --vers | -V)
1227     ac_init_version=: ;;
1228
1229   -with-* | --with-*)
1230     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231     # Reject names that are not valid shell variable names.
1232     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233       as_fn_error "invalid package name: $ac_useropt"
1234     ac_useropt_orig=$ac_useropt
1235     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236     case $ac_user_opts in
1237       *"
1238 "with_$ac_useropt"
1239 "*) ;;
1240       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241          ac_unrecognized_sep=', ';;
1242     esac
1243     eval with_$ac_useropt=\$ac_optarg ;;
1244
1245   -without-* | --without-*)
1246     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247     # Reject names that are not valid shell variable names.
1248     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249       as_fn_error "invalid package name: $ac_useropt"
1250     ac_useropt_orig=$ac_useropt
1251     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252     case $ac_user_opts in
1253       *"
1254 "with_$ac_useropt"
1255 "*) ;;
1256       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257          ac_unrecognized_sep=', ';;
1258     esac
1259     eval with_$ac_useropt=no ;;
1260
1261   --x)
1262     # Obsolete; use --with-x.
1263     with_x=yes ;;
1264
1265   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266   | --x-incl | --x-inc | --x-in | --x-i)
1267     ac_prev=x_includes ;;
1268   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270     x_includes=$ac_optarg ;;
1271
1272   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274     ac_prev=x_libraries ;;
1275   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277     x_libraries=$ac_optarg ;;
1278
1279   -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1281     ;;
1282
1283   *=*)
1284     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285     # Reject names that are not valid shell variable names.
1286     case $ac_envvar in #(
1287       '' | [0-9]* | *[!_$as_cr_alnum]* )
1288       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289     esac
1290     eval $ac_envvar=\$ac_optarg
1291     export $ac_envvar ;;
1292
1293   *)
1294     # FIXME: should be removed in autoconf 3.0.
1295     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1299     ;;
1300
1301   esac
1302 done
1303
1304 if test -n "$ac_prev"; then
1305   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306   as_fn_error "missing argument to $ac_option"
1307 fi
1308
1309 if test -n "$ac_unrecognized_opts"; then
1310   case $enable_option_checking in
1311     no) ;;
1312     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314   esac
1315 fi
1316
1317 # Check all directory arguments for consistency.
1318 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319                 datadir sysconfdir sharedstatedir localstatedir includedir \
1320                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321                 libdir localedir mandir
1322 do
1323   eval ac_val=\$$ac_var
1324   # Remove trailing slashes.
1325   case $ac_val in
1326     */ )
1327       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328       eval $ac_var=\$ac_val;;
1329   esac
1330   # Be sure to have absolute directory names.
1331   case $ac_val in
1332     [\\/$]* | ?:[\\/]* )  continue;;
1333     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334   esac
1335   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1337
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1344
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347   if test "x$build_alias" = x; then
1348     cross_compiling=maybe
1349     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350     If a cross compiler is detected then cross compile mode will be used." >&2
1351   elif test "x$build_alias" != "x$host_alias"; then
1352     cross_compiling=yes
1353   fi
1354 fi
1355
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358
1359 test "$silent" = yes && exec 6>/dev/null
1360
1361
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365   as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367   as_fn_error "pwd does not report name of working directory"
1368
1369
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372   ac_srcdir_defaulted=yes
1373   # Try the directory containing this script, then the parent directory.
1374   ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376          X"$as_myself" : 'X\(//\)[^/]' \| \
1377          X"$as_myself" : 'X\(//\)$' \| \
1378          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381             s//\1/
1382             q
1383           }
1384           /^X\(\/\/\)[^/].*/{
1385             s//\1/
1386             q
1387           }
1388           /^X\(\/\/\)$/{
1389             s//\1/
1390             q
1391           }
1392           /^X\(\/\).*/{
1393             s//\1/
1394             q
1395           }
1396           s/.*/./; q'`
1397   srcdir=$ac_confdir
1398   if test ! -r "$srcdir/$ac_unique_file"; then
1399     srcdir=..
1400   fi
1401 else
1402   ac_srcdir_defaulted=no
1403 fi
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1407 fi
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411         pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414   srcdir=.
1415 fi
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424   eval ac_env_${ac_var}_value=\$${ac_var}
1425   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1428
1429 #
1430 # Report the --help message.
1431 #
1432 if test "$ac_init_help" = "long"; then
1433   # Omit some internal or obsolete options to make the list less imposing.
1434   # This message is too long to be a string in the A/UX 3.1 sh.
1435   cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1437
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1439
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE.  See below for descriptions of some of the useful variables.
1442
1443 Defaults for the options are specified in brackets.
1444
1445 Configuration:
1446   -h, --help              display this help and exit
1447       --help=short        display options specific to this package
1448       --help=recursive    display the short help of all the included packages
1449   -V, --version           display version information and exit
1450   -q, --quiet, --silent   do not print \`checking...' messages
1451       --cache-file=FILE   cache test results in FILE [disabled]
1452   -C, --config-cache      alias for \`--cache-file=config.cache'
1453   -n, --no-create         do not create output files
1454       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1455
1456 Installation directories:
1457   --prefix=PREFIX         install architecture-independent files in PREFIX
1458                           [$ac_default_prefix]
1459   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1460                           [PREFIX]
1461
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1466
1467 For better control, use the options below.
1468
1469 Fine tuning of the installation directories:
1470   --bindir=DIR            user executables [EPREFIX/bin]
1471   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1472   --libexecdir=DIR        program executables [EPREFIX/libexec]
1473   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1474   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1475   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1476   --libdir=DIR            object code libraries [EPREFIX/lib]
1477   --includedir=DIR        C header files [PREFIX/include]
1478   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1479   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1480   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1481   --infodir=DIR           info documentation [DATAROOTDIR/info]
1482   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1483   --mandir=DIR            man documentation [DATAROOTDIR/man]
1484   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1485   --htmldir=DIR           html documentation [DOCDIR]
1486   --dvidir=DIR            dvi documentation [DOCDIR]
1487   --pdfdir=DIR            pdf documentation [DOCDIR]
1488   --psdir=DIR             ps documentation [DOCDIR]
1489 _ACEOF
1490
1491   cat <<\_ACEOF
1492
1493 Program names:
1494   --program-prefix=PREFIX            prepend PREFIX to installed program names
1495   --program-suffix=SUFFIX            append SUFFIX to installed program names
1496   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1497
1498 System types:
1499   --build=BUILD     configure for building on BUILD [guessed]
1500   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1501   --target=TARGET   configure for building compilers for TARGET [HOST]
1502 _ACEOF
1503 fi
1504
1505 if test -n "$ac_init_help"; then
1506   case $ac_init_help in
1507      short | recursive ) echo "Configuration of package-unused version-unused:";;
1508    esac
1509   cat <<\_ACEOF
1510
1511 Optional Features:
1512   --disable-option-checking  ignore unrecognized --enable/--with options
1513   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1514   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1515   --enable-multilib       build many library versions (default)
1516   --enable-maintainer-mode  enable make rules and dependencies not useful
1517                           (and sometimes confusing) to the casual installer
1518   --enable-shared[=PKGS]  build shared libraries [default=yes]
1519   --enable-static[=PKGS]  build static libraries [default=yes]
1520   --enable-fast-install[=PKGS]
1521                           optimize for fast installation [default=yes]
1522   --disable-libtool-lock  avoid locking (might break parallel builds)
1523   --disable-hosted-libstdcxx
1524                           only build freestanding C++ runtime support
1525   --disable-libstdcxx-verbose
1526                           disable termination messages to standard error
1527   --enable-sjlj-exceptions
1528                           force use of builtin_setjmp for exceptions
1529                           [default=auto]
1530   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1531                           [default=$is_hosted]
1532   --enable-cstdio[=PACKAGE]
1533                           use target-specific I/O package [default=stdio]
1534   --enable-clocale[=MODEL]
1535                           use MODEL for target locale package [default=auto]
1536   --enable-nls            use Native Language Support (default)
1537   --enable-libstdcxx-allocator[=KIND]
1538                           use KIND for target std::allocator base
1539                           [default=auto]
1540   --enable-cheaders[=KIND]
1541                           construct "C" headers for g++ [default=$c_model]
1542   --enable-long-long      enable template specializations for 'long long'
1543                           [default=yes]
1544   --enable-wchar_t        enable template specializations for 'wchar_t'
1545                           [default=yes]
1546   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1547   --enable-concept-checks use Boost-derived template checks [default=no]
1548   --enable-libstdcxx-debug-flags=FLAGS
1549                           pass compiler FLAGS when building debug library
1550                           [default="-gdwarf-4 -g3 -O0"]
1551   --enable-libstdcxx-debug
1552                           build extra debug library [default=no]
1553   --enable-cxx-flags=FLAGS
1554                           pass compiler FLAGS when building library [default=]
1555   --enable-fully-dynamic-string
1556                           do not put empty strings in per-process static
1557                           memory [default=no]
1558   --enable-extern-template
1559                           enable extern template [default=yes]
1560   --enable-werror         turns on -Werror [default=yes]
1561   --enable-libstdcxx-time[=KIND]
1562                           use KIND for check type [default=no]
1563   --enable-tls            Use thread-local storage [default=yes]
1564   --disable-rpath         do not hardcode runtime library paths
1565   --enable-linux-futex    use the Linux futex system call [default=default]
1566   --enable-symvers[=STYLE]
1567                           enables symbol versioning of the shared library
1568                           [default=yes]
1569   --enable-libstdcxx-visibility
1570                           enables visibility safe usage [default=yes]
1571   --enable-libstdcxx-threads
1572                           enable C++11 threads support [default=auto]
1573   --enable-version-specific-runtime-libs
1574                           Specify that runtime libraries should be installed
1575                           in a compiler-specific directory
1576
1577 Optional Packages:
1578   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1579   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1580   --with-target-subdir=SUBDIR
1581                           configuring in a subdirectory
1582   --with-cross-host=HOST  configuring with a cross compiler
1583   --with-newlib           assume newlib as a system C library
1584   --with-pic              try to use only PIC/non-PIC objects [default=use
1585                           both]
1586   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1587   --with-python-dir       the location to install Python modules. This path is
1588                           relative starting from the prefix.
1589   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1590   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1591   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1592   --with-system-libunwind use installed libunwind
1593   --with-gxx-include-dir=DIR
1594                           installation directory for include files
1595
1596 Some influential environment variables:
1597   CC          C compiler command
1598   CFLAGS      C compiler flags
1599   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1600               nonstandard directory <lib dir>
1601   LIBS        libraries to pass to the linker, e.g. -l<library>
1602   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603               you have headers in a nonstandard directory <include dir>
1604   CXX         C++ compiler command
1605   CXXFLAGS    C++ compiler flags
1606   CPP         C preprocessor
1607   CXXCPP      C++ preprocessor
1608   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1609               `c++filt', `gc++filt' on PATH.
1610
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1613
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1617 fi
1618
1619 if test "$ac_init_help" = "recursive"; then
1620   # If there are subdirs, report their specific --help.
1621   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622     test -d "$ac_dir" ||
1623       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624       continue
1625     ac_builddir=.
1626
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 *)
1630   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631   # A ".." for each directory in $ac_dir_suffix.
1632   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633   case $ac_top_builddir_sub in
1634   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636   esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1642
1643 case $srcdir in
1644   .)  # We are building in place.
1645     ac_srcdir=.
1646     ac_top_srcdir=$ac_top_builddir_sub
1647     ac_abs_top_srcdir=$ac_pwd ;;
1648   [\\/]* | ?:[\\/]* )  # Absolute name.
1649     ac_srcdir=$srcdir$ac_dir_suffix;
1650     ac_top_srcdir=$srcdir
1651     ac_abs_top_srcdir=$srcdir ;;
1652   *) # Relative name.
1653     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654     ac_top_srcdir=$ac_top_build_prefix$srcdir
1655     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658
1659     cd "$ac_dir" || { ac_status=$?; continue; }
1660     # Check for guested configure.
1661     if test -f "$ac_srcdir/configure.gnu"; then
1662       echo &&
1663       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664     elif test -f "$ac_srcdir/configure"; then
1665       echo &&
1666       $SHELL "$ac_srcdir/configure" --help=recursive
1667     else
1668       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669     fi || ac_status=$?
1670     cd "$ac_pwd" || { ac_status=$?; break; }
1671   done
1672 fi
1673
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676   cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1679
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684   exit
1685 fi
1686
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1690
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1695 {
1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697   rm -f conftest.$ac_objext
1698   if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701   *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705   (eval "$ac_compile") 2>conftest.err
1706   ac_status=$?
1707   if test -s conftest.err; then
1708     grep -v '^ *+' conftest.err >conftest.er1
1709     cat conftest.er1 >&5
1710     mv -f conftest.er1 conftest.err
1711   fi
1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713   test $ac_status = 0; } && {
1714          test -z "$ac_c_werror_flag" ||
1715          test ! -s conftest.err
1716        } && test -s conftest.$ac_objext; then :
1717   ac_retval=0
1718 else
1719   $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1721
1722         ac_retval=1
1723 fi
1724   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725   return $ac_retval
1726
1727 } # ac_fn_c_try_compile
1728
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1733 {
1734   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735   rm -f conftest.$ac_objext
1736   if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739   *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743   (eval "$ac_compile") 2>conftest.err
1744   ac_status=$?
1745   if test -s conftest.err; then
1746     grep -v '^ *+' conftest.err >conftest.er1
1747     cat conftest.er1 >&5
1748     mv -f conftest.er1 conftest.err
1749   fi
1750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751   test $ac_status = 0; } && {
1752          test -z "$ac_cxx_werror_flag" ||
1753          test ! -s conftest.err
1754        } && test -s conftest.$ac_objext; then :
1755   ac_retval=0
1756 else
1757   $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1759
1760         ac_retval=1
1761 fi
1762   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763   return $ac_retval
1764
1765 } # ac_fn_cxx_try_compile
1766
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1771 {
1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773   if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776   *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781   ac_status=$?
1782   if test -s conftest.err; then
1783     grep -v '^ *+' conftest.err >conftest.er1
1784     cat conftest.er1 >&5
1785     mv -f conftest.er1 conftest.err
1786   fi
1787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788   test $ac_status = 0; } >/dev/null && {
1789          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790          test ! -s conftest.err
1791        }; then :
1792   ac_retval=0
1793 else
1794   $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1796
1797     ac_retval=1
1798 fi
1799   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800   return $ac_retval
1801
1802 } # ac_fn_c_try_cpp
1803
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1808 {
1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810   rm -f conftest.$ac_objext conftest$ac_exeext
1811   if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814   *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818   (eval "$ac_link") 2>conftest.err
1819   ac_status=$?
1820   if test -s conftest.err; then
1821     grep -v '^ *+' conftest.err >conftest.er1
1822     cat conftest.er1 >&5
1823     mv -f conftest.er1 conftest.err
1824   fi
1825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826   test $ac_status = 0; } && {
1827          test -z "$ac_c_werror_flag" ||
1828          test ! -s conftest.err
1829        } && test -s conftest$ac_exeext && {
1830          test "$cross_compiling" = yes ||
1831          $as_test_x conftest$ac_exeext
1832        }; then :
1833   ac_retval=0
1834 else
1835   $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1837
1838         ac_retval=1
1839 fi
1840   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842   # interfere with the next link command; also delete a directory that is
1843   # left behind by Apple's compiler.  We do this before executing the actions.
1844   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846   return $ac_retval
1847
1848 } # ac_fn_c_try_link
1849
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1855 {
1856   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860   $as_echo_n "(cached) " >&6
1861 else
1862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h.  */
1864 $4
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868   eval "$3=yes"
1869 else
1870   eval "$3=no"
1871 fi
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 fi
1874 eval ac_res=\$$3
1875                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878
1879 } # ac_fn_c_check_header_compile
1880
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1886 {
1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888   if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891   *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895   (eval "$ac_link") 2>&5
1896   ac_status=$?
1897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899   { { case "(($ac_try" in
1900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901   *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905   (eval "$ac_try") 2>&5
1906   ac_status=$?
1907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908   test $ac_status = 0; }; }; then :
1909   ac_retval=0
1910 else
1911   $as_echo "$as_me: program exited with status $ac_status" >&5
1912        $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1914
1915        ac_retval=$ac_status
1916 fi
1917   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919   return $ac_retval
1920
1921 } # ac_fn_c_try_run
1922
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1927 {
1928   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932   $as_echo_n "(cached) " >&6
1933 else
1934   if test x$gcc_no_link = xyes; then
1935   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1936 fi
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h.  */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1941 #define $2 innocuous_$2
1942
1943 /* System header to define __stub macros and hopefully few prototypes,
1944     which can conflict with char $2 (); below.
1945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946     <limits.h> exists even on freestanding compilers.  */
1947
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1953
1954 #undef $2
1955
1956 /* Override any GCC internal prototype to avoid an error.
1957    Use char because int might match the return type of a GCC
1958    builtin and then its argument prototype would still apply.  */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964     to always fail with ENOSYS.  Some functions are actually named
1965     something starting with __ and the normal name is an alias.  */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1969
1970 int
1971 main ()
1972 {
1973 return $2 ();
1974   ;
1975   return 0;
1976 }
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979   eval "$3=yes"
1980 else
1981   eval "$3=no"
1982 fi
1983 rm -f core conftest.err conftest.$ac_objext \
1984     conftest$ac_exeext conftest.$ac_ext
1985 fi
1986 eval ac_res=\$$3
1987                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990
1991 } # ac_fn_c_check_func
1992
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1997 {
1998   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999   if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002   *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007   ac_status=$?
2008   if test -s conftest.err; then
2009     grep -v '^ *+' conftest.err >conftest.er1
2010     cat conftest.er1 >&5
2011     mv -f conftest.er1 conftest.err
2012   fi
2013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014   test $ac_status = 0; } >/dev/null && {
2015          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016          test ! -s conftest.err
2017        }; then :
2018   ac_retval=0
2019 else
2020   $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2022
2023     ac_retval=1
2024 fi
2025   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026   return $ac_retval
2027
2028 } # ac_fn_cxx_try_cpp
2029
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2034 {
2035   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036   rm -f conftest.$ac_objext conftest$ac_exeext
2037   if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040   *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044   (eval "$ac_link") 2>conftest.err
2045   ac_status=$?
2046   if test -s conftest.err; then
2047     grep -v '^ *+' conftest.err >conftest.er1
2048     cat conftest.er1 >&5
2049     mv -f conftest.er1 conftest.err
2050   fi
2051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052   test $ac_status = 0; } && {
2053          test -z "$ac_cxx_werror_flag" ||
2054          test ! -s conftest.err
2055        } && test -s conftest$ac_exeext && {
2056          test "$cross_compiling" = yes ||
2057          $as_test_x conftest$ac_exeext
2058        }; then :
2059   ac_retval=0
2060 else
2061   $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2063
2064         ac_retval=1
2065 fi
2066   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068   # interfere with the next link command; also delete a directory that is
2069   # left behind by Apple's compiler.  We do this before executing the actions.
2070   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072   return $ac_retval
2073
2074 } # ac_fn_cxx_try_link
2075
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2082 {
2083   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088   $as_echo_n "(cached) " >&6
2089 fi
2090 eval ac_res=\$$3
2091                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094   # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h.  */
2099 $4
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103   ac_header_compiler=yes
2104 else
2105   ac_header_compiler=no
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2110
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h.  */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119   ac_header_preproc=yes
2120 else
2121   ac_header_preproc=no
2122 fi
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2126
2127 # So?  What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129   yes:no: )
2130     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134     ;;
2135   no:yes:* )
2136     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2140     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2144     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146     ;;
2147 esac
2148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151   $as_echo_n "(cached) " >&6
2152 else
2153   eval "$3=\$ac_header_compiler"
2154 fi
2155 eval ac_res=\$$3
2156                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2158 fi
2159   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2160
2161 } # ac_fn_c_check_header_mongrel
2162
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2169 {
2170   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175   $as_echo_n "(cached) " >&6
2176 fi
2177 eval ac_res=\$$3
2178                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181   # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h.  */
2186 $4
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190   ac_header_compiler=yes
2191 else
2192   ac_header_compiler=no
2193 fi
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2197
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h.  */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206   ac_header_preproc=yes
2207 else
2208   ac_header_preproc=no
2209 fi
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2213
2214 # So?  What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216   yes:no: )
2217     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221     ;;
2222   no:yes:* )
2223     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2227     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2231     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233     ;;
2234 esac
2235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238   $as_echo_n "(cached) " >&6
2239 else
2240   eval "$3=\$ac_header_compiler"
2241 fi
2242 eval ac_res=\$$3
2243                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2245 fi
2246   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248 } # ac_fn_cxx_check_header_mongrel
2249
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2256 {
2257   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258   if test "$cross_compiling" = yes; then
2259     # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h.  */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2268
2269   ;
2270   return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274   ac_lo=0 ac_mid=0
2275   while :; do
2276     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h.  */
2278 $4
2279 int
2280 main ()
2281 {
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2284
2285   ;
2286   return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290   ac_hi=$ac_mid; break
2291 else
2292   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293                         if test $ac_lo -le $ac_mid; then
2294                           ac_lo= ac_hi=
2295                           break
2296                         fi
2297                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298 fi
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300   done
2301 else
2302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h.  */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2310
2311   ;
2312   return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316   ac_hi=-1 ac_mid=-1
2317   while :; do
2318     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h.  */
2320 $4
2321 int
2322 main ()
2323 {
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2326
2327   ;
2328   return 0;
2329 }
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332   ac_lo=$ac_mid; break
2333 else
2334   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335                         if test $ac_mid -le $ac_hi; then
2336                           ac_lo= ac_hi=
2337                           break
2338                         fi
2339                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342   done
2343 else
2344   ac_lo= ac_hi=
2345 fi
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h.  */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2360
2361   ;
2362   return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366   ac_hi=$ac_mid
2367 else
2368   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369 fi
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376   else
2377     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h.  */
2379 $4
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2384 int
2385 main ()
2386 {
2387
2388   FILE *f = fopen ("conftest.val", "w");
2389   if (! f)
2390     return 1;
2391   if (($2) < 0)
2392     {
2393       long int i = longval ();
2394       if (i != ($2))
2395         return 1;
2396       fprintf (f, "%ld", i);
2397     }
2398   else
2399     {
2400       unsigned long int i = ulongval ();
2401       if (i != ($2))
2402         return 1;
2403       fprintf (f, "%lu", i);
2404     }
2405   /* Do not output a trailing newline, as this causes \r\n confusion
2406      on some platforms.  */
2407   return ferror (f) || fclose (f) != 0;
2408
2409   ;
2410   return 0;
2411 }
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416   ac_retval=1
2417 fi
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419   conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2421
2422   fi
2423   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424   return $ac_retval
2425
2426 } # ac_fn_c_compute_int
2427
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2433 {
2434   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438   $as_echo_n "(cached) " >&6
2439 else
2440   eval "$3=no"
2441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h.  */
2443 $4
2444 int
2445 main ()
2446 {
2447 if (sizeof ($2))
2448          return 0;
2449   ;
2450   return 0;
2451 }
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h.  */
2456 $4
2457 int
2458 main ()
2459 {
2460 if (sizeof (($2)))
2461             return 0;
2462   ;
2463   return 0;
2464 }
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2467
2468 else
2469   eval "$3=yes"
2470 fi
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 fi
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 fi
2475 eval ac_res=\$$3
2476                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2479
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2484
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64.  Invocation command line was
2487
2488   $ $0 $@
2489
2490 _ACEOF
2491 exec 5>>config.log
2492 {
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2497
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2503
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2506
2507 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2508 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2511 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2512 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2513 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2514
2515 _ASUNAME
2516
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2519 do
2520   IFS=$as_save_IFS
2521   test -z "$as_dir" && as_dir=.
2522     $as_echo "PATH: $as_dir"
2523   done
2524 IFS=$as_save_IFS
2525
2526 } >&5
2527
2528 cat >&5 <<_ACEOF
2529
2530
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2534
2535 _ACEOF
2536
2537
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2548 do
2549   for ac_arg
2550   do
2551     case $ac_arg in
2552     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554     | -silent | --silent | --silen | --sile | --sil)
2555       continue ;;
2556     *\'*)
2557       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558     esac
2559     case $ac_pass in
2560     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2561     2)
2562       as_fn_append ac_configure_args1 " '$ac_arg'"
2563       if test $ac_must_keep_next = true; then
2564         ac_must_keep_next=false # Got value, back to normal.
2565       else
2566         case $ac_arg in
2567           *=* | --config-cache | -C | -disable-* | --disable-* \
2568           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570           | -with-* | --with-* | -without-* | --without-* | --x)
2571             case "$ac_configure_args0 " in
2572               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573             esac
2574             ;;
2575           -* ) ac_must_keep_next=true ;;
2576         esac
2577       fi
2578       as_fn_append ac_configure_args " '$ac_arg'"
2579       ;;
2580     esac
2581   done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2585
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log.  We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592   # Save into config.log some information that might help in debugging.
2593   {
2594     echo
2595
2596     cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601     echo
2602     # The following way of writing the cache mishandles newlines in values,
2603 (
2604   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605     eval ac_val=\$$ac_var
2606     case $ac_val in #(
2607     *${as_nl}*)
2608       case $ac_var in #(
2609       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611       esac
2612       case $ac_var in #(
2613       _ | IFS | as_nl) ;; #(
2614       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615       *) { eval $ac_var=; unset $ac_var;} ;;
2616       esac ;;
2617     esac
2618   done
2619   (set) 2>&1 |
2620     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621     *${as_nl}ac_space=\ *)
2622       sed -n \
2623         "s/'\''/'\''\\\\'\'''\''/g;
2624           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625       ;; #(
2626     *)
2627       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2628       ;;
2629     esac |
2630     sort
2631 )
2632     echo
2633
2634     cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639     echo
2640     for ac_var in $ac_subst_vars
2641     do
2642       eval ac_val=\$$ac_var
2643       case $ac_val in
2644       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645       esac
2646       $as_echo "$ac_var='\''$ac_val'\''"
2647     done | sort
2648     echo
2649
2650     if test -n "$ac_subst_files"; then
2651       cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656       echo
2657       for ac_var in $ac_subst_files
2658       do
2659         eval ac_val=\$$ac_var
2660         case $ac_val in
2661         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662         esac
2663         $as_echo "$ac_var='\''$ac_val'\''"
2664       done | sort
2665       echo
2666     fi
2667
2668     if test -s confdefs.h; then
2669       cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674       echo
2675       cat confdefs.h
2676       echo
2677     fi
2678     test "$ac_signal" != 0 &&
2679       $as_echo "$as_me: caught signal $ac_signal"
2680     $as_echo "$as_me: exit $exit_status"
2681   } >&5
2682   rm -f core *.core core.conftest.* &&
2683     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684     exit $exit_status
2685 ' 0
2686 for ac_signal in 1 2 13 15; do
2687   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2690
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2693
2694 $as_echo "/* confdefs.h */" > confdefs.h
2695
2696 # Predefined preprocessor variables.
2697
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2705
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2709
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2713
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2717
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2721
2722
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728   ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730   ac_site_file1=$prefix/share/config.site
2731   ac_site_file2=$prefix/etc/config.site
2732 else
2733   ac_site_file1=$ac_default_prefix/share/config.site
2734   ac_site_file2=$ac_default_prefix/etc/config.site
2735 fi
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2737 do
2738   test "x$ac_site_file" = xNONE && continue
2739   if test -r "$ac_site_file"; then
2740     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742     sed 's/^/| /' "$ac_site_file" >&5
2743     . "$ac_site_file"
2744   fi
2745 done
2746
2747 if test -r "$cache_file"; then
2748   # Some versions of bash will fail to source /dev/null (special
2749   # files actually), so we avoid doing that.
2750   if test -f "$cache_file"; then
2751     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753     case $cache_file in
2754       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755       *)                      . "./$cache_file";;
2756     esac
2757   fi
2758 else
2759   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761   >$cache_file
2762 fi
2763
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769   eval ac_new_set=\$ac_env_${ac_var}_set
2770   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771   eval ac_new_val=\$ac_env_${ac_var}_value
2772   case $ac_old_set,$ac_new_set in
2773     set,)
2774       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776       ac_cache_corrupted=: ;;
2777     ,set)
2778       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780       ac_cache_corrupted=: ;;
2781     ,);;
2782     *)
2783       if test "x$ac_old_val" != "x$ac_new_val"; then
2784         # differences in whitespace do not lead to failure.
2785         ac_old_val_w=`echo x $ac_old_val`
2786         ac_new_val_w=`echo x $ac_new_val`
2787         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790           ac_cache_corrupted=:
2791         else
2792           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794           eval $ac_var=\$ac_old_val
2795         fi
2796         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2797 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2798         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2800       fi;;
2801   esac
2802   # Pass precious variables to config.status.
2803   if test "$ac_new_set" = set; then
2804     case $ac_new_val in
2805     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806     *) ac_arg=$ac_var=$ac_new_val ;;
2807     esac
2808     case " $ac_configure_args " in
2809       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2810       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811     esac
2812   fi
2813 done
2814 if $ac_cache_corrupted; then
2815   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2820 fi
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2824
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2830
2831
2832
2833
2834
2835
2836 ac_config_headers="$ac_config_headers config.h"
2837
2838
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported.  Only used at the end of this file.
2843 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2844
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849   enableval=$enable_multilib; case "$enableval" in
2850   yes) multilib=yes ;;
2851   no)  multilib=no ;;
2852   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853  esac
2854 else
2855   multilib=yes
2856 fi
2857
2858
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2862
2863 if test "$srcdir" = "."; then
2864   if test "$with_target_subdir" != "."; then
2865     multi_basedir="$srcdir/$with_multisrctop../.."
2866   else
2867     multi_basedir="$srcdir/$with_multisrctop.."
2868   fi
2869 else
2870   multi_basedir="$srcdir/.."
2871 fi
2872
2873
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877    && test "x${with_multisubdir}" != x ; then
2878    cross_compiling=maybe
2879 fi
2880
2881 ac_config_commands="$ac_config_commands default-1"
2882
2883
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2885 #
2886 # You will slowly go insane if you do not grok the following fact:  when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/.  configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf.  Therefore, 'target' and
2890 # 'host' will always be the same.  This makes sense both for native and
2891 # cross compilers, just think about it for a little while.  :-)
2892 #
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2895 #
2896 # Do not delete or change the following two lines.  For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900   for ac_t in install-sh install.sh shtool; do
2901     if test -f "$ac_dir/$ac_t"; then
2902       ac_aux_dir=$ac_dir
2903       ac_install_sh="$ac_aux_dir/$ac_t -c"
2904       break 2
2905     fi
2906   done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2910 fi
2911
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2919
2920
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2924
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928   $as_echo_n "(cached) " >&6
2929 else
2930   ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2937
2938 fi
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2957
2958
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962   $as_echo_n "(cached) " >&6
2963 else
2964   if test "x$host_alias" = x; then
2965   ac_cv_host=$ac_cv_build
2966 else
2967   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2969 fi
2970
2971 fi
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2990
2991
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995   $as_echo_n "(cached) " >&6
2996 else
2997   if test "x$target_alias" = x; then
2998   ac_cv_target=$ac_cv_host
2999 else
3000   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3002 fi
3003
3004 fi
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3023
3024
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028   test "$program_prefix$program_suffix$program_transform_name" = \
3029     NONENONEs,x,x, &&
3030   program_prefix=${target_alias}-
3031
3032 target_alias=${target_alias-$host_alias}
3033
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3036
3037 if test "$build" != "$host"; then
3038   # We are being configured with some form of cross compiler.
3039   GLIBCXX_IS_NATIVE=false
3040   case "$host","$target" in
3041     # Darwin crosses can use the host system's libraries and headers,
3042     # because of the fat library support.  Of course, it must be the
3043     # same version of Darwin on both sides.  Allow the user to
3044     # just say --target=foo-darwin without a version number to mean
3045     # "the version on this system".
3046       *-*-darwin*,*-*-darwin*)
3047         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049         if test $hostos = $targetos -o $targetos = darwin ; then
3050           GLIBCXX_IS_NATIVE=true
3051         fi
3052         ;;
3053
3054       *)
3055
3056         ;;
3057   esac
3058 else
3059   GLIBCXX_IS_NATIVE=true
3060 fi
3061
3062 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 #  1.x:  minimum required version
3065 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 #              of other PACKAGE_* variables will, however, and there's nothing
3067 #              we can do about that; they come from AC_INIT).
3068 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3069 #            file in the top srcdir, etc, etc), so stop complaining.
3070 #  no-dependencies:  turns off auto dependency generation (just for now)
3071 #  no-dist:  we don't want 'dist' and related rules.
3072 #  -Wall:  turns on all automake warnings...
3073 #  -Wno-portability:  ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3075
3076 # Find a good install program.  We prefer a C program (faster),
3077 # so one script is as good as another.  But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094   $as_echo_n "(cached) " >&6
3095 else
3096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3098 do
3099   IFS=$as_save_IFS
3100   test -z "$as_dir" && as_dir=.
3101     # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103   ./ | .// | /[cC]/* | \
3104   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106   /usr/ucb/* ) ;;
3107   *)
3108     # OSF1 and SCO ODT 3.0 have their own names for install.
3109     # Don't use installbsd from OSF since it installs stuff as root
3110     # by default.
3111     for ac_prog in ginstall scoinst install; do
3112       for ac_exec_ext in '' $ac_executable_extensions; do
3113         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114           if test $ac_prog = install &&
3115             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116             # AIX install.  It has an incompatible calling convention.
3117             :
3118           elif test $ac_prog = install &&
3119             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120             # program-specific install script used by HP pwplus--don't use.
3121             :
3122           else
3123             rm -rf conftest.one conftest.two conftest.dir
3124             echo one > conftest.one
3125             echo two > conftest.two
3126             mkdir conftest.dir
3127             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128               test -s conftest.one && test -s conftest.two &&
3129               test -s conftest.dir/conftest.one &&
3130               test -s conftest.dir/conftest.two
3131             then
3132               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133               break 3
3134             fi
3135           fi
3136         fi
3137       done
3138     done
3139     ;;
3140 esac
3141
3142   done
3143 IFS=$as_save_IFS
3144
3145 rm -rf conftest.one conftest.two conftest.dir
3146
3147 fi
3148   if test "${ac_cv_path_install+set}" = set; then
3149     INSTALL=$ac_cv_path_install
3150   else
3151     # As a last resort, use the slow shell script.  Don't cache a
3152     # value for INSTALL within a source directory, because that will
3153     # break other packages using the cache if that directory is
3154     # removed, or if the value is a relative name.
3155     INSTALL=$ac_install_sh
3156   fi
3157 fi
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3160
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3164
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3166
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3168
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name.  Accept space and tab only in the latter.
3176 am_lf='
3177 '
3178 case `pwd` in
3179   *[\\\"\#\$\&\'\`$am_lf]*)
3180     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3184     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3186
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments.  Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194    if test "$*" = "X"; then
3195       # -L didn't work.
3196       set X `ls -t "$srcdir/configure" conftest.file`
3197    fi
3198    rm -f conftest.file
3199    if test "$*" != "X $srcdir/configure conftest.file" \
3200       && test "$*" != "X conftest.file $srcdir/configure"; then
3201
3202       # If neither matched, then we have a broken ls.  This can happen
3203       # if, for instance, CONFIG_SHELL is bash and it inherits a
3204       # broken ls alias from the environment.  This has actually
3205       # happened.  Such a system could not be considered "sane".
3206       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3208    fi
3209
3210    test "$2" = conftest.file
3211    )
3212 then
3213    # Ok.
3214    :
3215 else
3216    as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3218 fi
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3230
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3233
3234 if test x"${MISSING+set}" != xset; then
3235   case $am_aux_dir in
3236   *\ * | *\     *)
3237     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3238   *)
3239     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240   esac
3241 fi
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244   am_missing_run="$MISSING --run "
3245 else
3246   am_missing_run=
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3249 fi
3250
3251 if test x"${install_sh}" != xset; then
3252   case $am_aux_dir in
3253   *\ * | *\     *)
3254     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3255   *)
3256     install_sh="\${SHELL} $am_aux_dir/install-sh"
3257   esac
3258 fi
3259
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'.  However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265   if test -n "$ac_tool_prefix"; then
3266   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271   $as_echo_n "(cached) " >&6
3272 else
3273   if test -n "$STRIP"; then
3274   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279   IFS=$as_save_IFS
3280   test -z "$as_dir" && as_dir=.
3281     for ac_exec_ext in '' $ac_executable_extensions; do
3282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285     break 2
3286   fi
3287 done
3288   done
3289 IFS=$as_save_IFS
3290
3291 fi
3292 fi
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 fi
3301
3302
3303 fi
3304 if test -z "$ac_cv_prog_STRIP"; then
3305   ac_ct_STRIP=$STRIP
3306   # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311   $as_echo_n "(cached) " >&6
3312 else
3313   if test -n "$ac_ct_STRIP"; then
3314   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3318 do
3319   IFS=$as_save_IFS
3320   test -z "$as_dir" && as_dir=.
3321     for ac_exec_ext in '' $ac_executable_extensions; do
3322   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323     ac_cv_prog_ac_ct_STRIP="strip"
3324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325     break 2
3326   fi
3327 done
3328   done
3329 IFS=$as_save_IFS
3330
3331 fi
3332 fi
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 fi
3341
3342   if test "x$ac_ct_STRIP" = x; then
3343     STRIP=":"
3344   else
3345     case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351     STRIP=$ac_ct_STRIP
3352   fi
3353 else
3354   STRIP="$ac_cv_prog_STRIP"
3355 fi
3356
3357 fi
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3359
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363   if test "${ac_cv_path_mkdir+set}" = set; then :
3364   $as_echo_n "(cached) " >&6
3365 else
3366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3368 do
3369   IFS=$as_save_IFS
3370   test -z "$as_dir" && as_dir=.
3371     for ac_prog in mkdir gmkdir; do
3372          for ac_exec_ext in '' $ac_executable_extensions; do
3373            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375              'mkdir (GNU coreutils) '* | \
3376              'mkdir (coreutils) '* | \
3377              'mkdir (fileutils) '4.1*)
3378                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379                break 3;;
3380            esac
3381          done
3382        done
3383   done
3384 IFS=$as_save_IFS
3385
3386 fi
3387
3388   if test "${ac_cv_path_mkdir+set}" = set; then
3389     MKDIR_P="$ac_cv_path_mkdir -p"
3390   else
3391     # As a last resort, use the slow shell script.  Don't cache a
3392     # value for MKDIR_P within a source directory, because that will
3393     # break other packages using the cache if that directory is
3394     # removed, or if the value is a relative name.
3395     test -d ./--version && rmdir ./--version
3396     MKDIR_P="$ac_install_sh -d"
3397   fi
3398 fi
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3401
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404   [\\/$]* | ?:[\\/]*) ;;
3405   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3407
3408 for ac_prog in gawk mawk nawk awk
3409 do
3410   # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415   $as_echo_n "(cached) " >&6
3416 else
3417   if test -n "$AWK"; then
3418   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3422 do
3423   IFS=$as_save_IFS
3424   test -z "$as_dir" && as_dir=.
3425     for ac_exec_ext in '' $ac_executable_extensions; do
3426   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427     ac_cv_prog_AWK="$ac_prog"
3428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429     break 2
3430   fi
3431 done
3432   done
3433 IFS=$as_save_IFS
3434
3435 fi
3436 fi
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3444 fi
3445
3446
3447   test -n "$AWK" && break
3448 done
3449
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455   $as_echo_n "(cached) " >&6
3456 else
3457   cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460         @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464   *@@@%%%=?*=@@@%%%*)
3465     eval ac_cv_prog_make_${ac_make}_set=yes;;
3466   *)
3467     eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3470 fi
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474   SET_MAKE=
3475 else
3476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478   SET_MAKE="MAKE=${MAKE-make}"
3479 fi
3480
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484   am__leading_dot=.
3485 else
3486   am__leading_dot=_
3487 fi
3488 rmdir .tst 2>/dev/null
3489
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492   # is not polluted with repeated "-I."
3493   am__isrc=' -I$(srcdir)'
3494   # test to see if srcdir already configured
3495   if test -f $srcdir/config.status; then
3496     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3497   fi
3498 fi
3499
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502   if (cygpath --version) >/dev/null 2>/dev/null; then
3503     CYGPATH_W='cygpath -w'
3504   else
3505     CYGPATH_W=echo
3506   fi
3507 fi
3508
3509
3510 # Define the identity of the package.
3511  PACKAGE='libstdc++'
3512  VERSION='version-unused'
3513
3514
3515 # Some tools Automake needs.
3516
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3518
3519
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3521
3522
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3524
3525
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3527
3528
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3530
3531 # We need awk for the "check" target.  The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3534
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3536
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3538
3539
3540
3541
3542
3543
3544
3545
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3548
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562   $as_echo_n "(cached) " >&6
3563 else
3564   if test -n "$CC"; then
3565   ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570   IFS=$as_save_IFS
3571   test -z "$as_dir" && as_dir=.
3572     for ac_exec_ext in '' $ac_executable_extensions; do
3573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576     break 2
3577   fi
3578 done
3579   done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593
3594 fi
3595 if test -z "$ac_cv_prog_CC"; then
3596   ac_ct_CC=$CC
3597   # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602   $as_echo_n "(cached) " >&6
3603 else
3604   if test -n "$ac_ct_CC"; then
3605   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3609 do
3610   IFS=$as_save_IFS
3611   test -z "$as_dir" && as_dir=.
3612     for ac_exec_ext in '' $ac_executable_extensions; do
3613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614     ac_cv_prog_ac_ct_CC="gcc"
3615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616     break 2
3617   fi
3618 done
3619   done
3620 IFS=$as_save_IFS
3621
3622 fi
3623 fi
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3631 fi
3632
3633   if test "x$ac_ct_CC" = x; then
3634     CC=""
3635   else
3636     case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642     CC=$ac_ct_CC
3643   fi
3644 else
3645   CC="$ac_cv_prog_CC"
3646 fi
3647
3648 if test -z "$CC"; then
3649           if test -n "$ac_tool_prefix"; then
3650     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655   $as_echo_n "(cached) " >&6
3656 else
3657   if test -n "$CC"; then
3658   ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3662 do
3663   IFS=$as_save_IFS
3664   test -z "$as_dir" && as_dir=.
3665     for ac_exec_ext in '' $ac_executable_extensions; do
3666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667     ac_cv_prog_CC="${ac_tool_prefix}cc"
3668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669     break 2
3670   fi
3671 done
3672   done
3673 IFS=$as_save_IFS
3674
3675 fi
3676 fi
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3684 fi
3685
3686
3687   fi
3688 fi
3689 if test -z "$CC"; then
3690   # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695   $as_echo_n "(cached) " >&6
3696 else
3697   if test -n "$CC"; then
3698   ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700   ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704   IFS=$as_save_IFS
3705   test -z "$as_dir" && as_dir=.
3706     for ac_exec_ext in '' $ac_executable_extensions; do
3707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709        ac_prog_rejected=yes
3710        continue
3711      fi
3712     ac_cv_prog_CC="cc"
3713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714     break 2
3715   fi
3716 done
3717   done
3718 IFS=$as_save_IFS
3719
3720 if test $ac_prog_rejected = yes; then
3721   # We found a bogon in the path, so make sure we never use it.
3722   set dummy $ac_cv_prog_CC
3723   shift
3724   if test $# != 0; then
3725     # We chose a different compiler from the bogus one.
3726     # However, it has the same basename, so the bogon will be chosen
3727     # first if we set CC to just the basename; use the full file name.
3728     shift
3729     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3730   fi
3731 fi
3732 fi
3733 fi
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 fi
3742
3743
3744 fi
3745 if test -z "$CC"; then
3746   if test -n "$ac_tool_prefix"; then
3747   for ac_prog in cl.exe
3748   do
3749     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754   $as_echo_n "(cached) " >&6
3755 else
3756   if test -n "$CC"; then
3757   ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3761 do
3762   IFS=$as_save_IFS
3763   test -z "$as_dir" && as_dir=.
3764     for ac_exec_ext in '' $ac_executable_extensions; do
3765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768     break 2
3769   fi
3770 done
3771   done
3772 IFS=$as_save_IFS
3773
3774 fi
3775 fi
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3783 fi
3784
3785
3786     test -n "$CC" && break
3787   done
3788 fi
3789 if test -z "$CC"; then
3790   ac_ct_CC=$CC
3791   for ac_prog in cl.exe
3792 do
3793   # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798   $as_echo_n "(cached) " >&6
3799 else
3800   if test -n "$ac_ct_CC"; then
3801   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3805 do
3806   IFS=$as_save_IFS
3807   test -z "$as_dir" && as_dir=.
3808     for ac_exec_ext in '' $ac_executable_extensions; do
3809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810     ac_cv_prog_ac_ct_CC="$ac_prog"
3811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812     break 2
3813   fi
3814 done
3815   done
3816 IFS=$as_save_IFS
3817
3818 fi
3819 fi
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3827 fi
3828
3829
3830   test -n "$ac_ct_CC" && break
3831 done
3832
3833   if test "x$ac_ct_CC" = x; then
3834     CC=""
3835   else
3836     case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842     CC=$ac_ct_CC
3843   fi
3844 fi
3845
3846 fi
3847
3848
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3853
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859   { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862   *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867   ac_status=$?
3868   if test -s conftest.err; then
3869     sed '10a\
3870 ... rest of stderr output deleted ...
3871          10q' conftest.err >conftest.er1
3872     cat conftest.er1 >&5
3873     rm -f conftest.er1 conftest.err
3874   fi
3875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876   test $ac_status = 0; }
3877 done
3878
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h.  */
3881
3882 int
3883 main ()
3884 {
3885
3886   ;
3887   return 0;
3888 }
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892   (eval $ac_link) 2>&5
3893   ac_status=$?
3894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895   test $ac_status = 0; }; then :
3896   gcc_no_link=no
3897 else
3898   gcc_no_link=yes
3899 fi
3900 if test x$gcc_no_link = xyes; then
3901   # Setting cross_compile will disable run tests; it will
3902   # also disable AC_CHECK_FILE but that's generally
3903   # correct if we can't link.
3904   cross_compiling=yes
3905   EXEEXT=
3906 else
3907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h.  */
3909
3910 int
3911 main ()
3912 {
3913
3914   ;
3915   return 0;
3916 }
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3926
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3932 do
3933   case $ac_file in
3934     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936   esac
3937 done
3938 rm -f $ac_rmfiles
3939
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943   *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947   (eval "$ac_link_default") 2>&5
3948   ac_status=$?
3949   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950   test $ac_status = 0; }; then :
3951   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3957 do
3958   test -f "$ac_file" || continue
3959   case $ac_file in
3960     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3961         ;;
3962     [ab].out )
3963         # We found the default executable, but exeext='' is most
3964         # certainly right.
3965         break;;
3966     *.* )
3967         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968         then :; else
3969            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3970         fi
3971         # We set ac_cv_exeext here because the later test for it is not
3972         # safe: cross compilers may not add the suffix if given an `-o'
3973         # argument, so we may need to know it at that point already.
3974         # Even if this section looks crufty: it has the advantage of
3975         # actually working.
3976         break;;
3977     * )
3978         break;;
3979   esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3982
3983 else
3984   ac_file=''
3985 fi
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989   $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3991
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3997 fi
3998 ac_exeext=$ac_cv_exeext
3999
4000 # Check that the compiler produces executables we can run.  If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006   if { ac_try='./$ac_file'
4007   { { case "(($ac_try" in
4008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009   *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013   (eval "$ac_try") 2>&5
4014   ac_status=$?
4015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016   test $ac_status = 0; }; }; then
4017     cross_compiling=no
4018   else
4019     if test "$cross_compiling" = maybe; then
4020         cross_compiling=yes
4021     else
4022         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4027     fi
4028   fi
4029 fi
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4032
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run.  If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4041
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047   *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051   (eval "$ac_link") 2>&5
4052   ac_status=$?
4053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054   test $ac_status = 0; }; then :
4055   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060   test -f "$ac_file" || continue
4061   case $ac_file in
4062     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064           break;;
4065     * ) break;;
4066   esac
4067 done
4068 else
4069   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4073 fi
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4077
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4081 fi
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085   $as_echo_n "(cached) " >&6
4086 else
4087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h.  */
4089
4090 int
4091 main ()
4092 {
4093
4094   ;
4095   return 0;
4096 }
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102   *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106   (eval "$ac_compile") 2>&5
4107   ac_status=$?
4108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109   test $ac_status = 0; }; then :
4110   for ac_file in conftest.o conftest.obj conftest.*; do
4111   test -f "$ac_file" || continue;
4112   case $ac_file in
4113     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115        break;;
4116   esac
4117 done
4118 else
4119   $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4121
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4126 fi
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4128 fi
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136   $as_echo_n "(cached) " >&6
4137 else
4138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h.  */
4140
4141 int
4142 main ()
4143 {
4144 #ifndef __GNUC__
4145        choke me
4146 #endif
4147
4148   ;
4149   return 0;
4150 }
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153   ac_compiler_gnu=yes
4154 else
4155   ac_compiler_gnu=no
4156 fi
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159
4160 fi
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164   GCC=yes
4165 else
4166   GCC=
4167 fi
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173   $as_echo_n "(cached) " >&6
4174 else
4175   ac_save_c_werror_flag=$ac_c_werror_flag
4176    ac_c_werror_flag=yes
4177    ac_cv_prog_cc_g=no
4178    CFLAGS="-g"
4179    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h.  */
4181
4182 int
4183 main ()
4184 {
4185
4186   ;
4187   return 0;
4188 }
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191   ac_cv_prog_cc_g=yes
4192 else
4193   CFLAGS=""
4194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h.  */
4196
4197 int
4198 main ()
4199 {
4200
4201   ;
4202   return 0;
4203 }
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206
4207 else
4208   ac_c_werror_flag=$ac_save_c_werror_flag
4209          CFLAGS="-g"
4210          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h.  */
4212
4213 int
4214 main ()
4215 {
4216
4217   ;
4218   return 0;
4219 }
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222   ac_cv_prog_cc_g=yes
4223 fi
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 fi
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229    ac_c_werror_flag=$ac_save_c_werror_flag
4230 fi
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234   CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236   if test "$GCC" = yes; then
4237     CFLAGS="-g -O2"
4238   else
4239     CFLAGS="-g"
4240   fi
4241 else
4242   if test "$GCC" = yes; then
4243     CFLAGS="-O2"
4244   else
4245     CFLAGS=
4246   fi
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251   $as_echo_n "(cached) " >&6
4252 else
4253   ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h.  */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265      char **p;
4266      int i;
4267 {
4268   return p[i];
4269 }
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4271 {
4272   char *s;
4273   va_list v;
4274   va_start (v,p);
4275   s = g (p, va_arg (v,int));
4276   va_end (v);
4277   return s;
4278 }
4279
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4281    function prototypes and stuff, but not '\xHH' hex character constants.
4282    These don't provoke an error unfortunately, instead are silently treated
4283    as 'x'.  The following induces an error, until -std is added to get
4284    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4285    array size at least.  It's necessary to write '\x00'==0 to get something
4286    that's true only with -std.  */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290    inside strings and character constants.  */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4300 int
4301 main ()
4302 {
4303 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4304   ;
4305   return 0;
4306 }
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310 do
4311   CC="$ac_save_CC $ac_arg"
4312   if ac_fn_c_try_compile "$LINENO"; then :
4313   ac_cv_prog_cc_c89=$ac_arg
4314 fi
4315 rm -f core conftest.err conftest.$ac_objext
4316   test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4320
4321 fi
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4324   x)
4325     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327   xno)
4328     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4330   *)
4331     CC="$CC $ac_cv_prog_cc_c89"
4332     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4336
4337 fi
4338
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351   if test -n "$CCC"; then
4352     CXX=$CCC
4353   else
4354     if test -n "$ac_tool_prefix"; then
4355   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356   do
4357     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362   $as_echo_n "(cached) " >&6
4363 else
4364   if test -n "$CXX"; then
4365   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4369 do
4370   IFS=$as_save_IFS
4371   test -z "$as_dir" && as_dir=.
4372     for ac_exec_ext in '' $ac_executable_extensions; do
4373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376     break 2
4377   fi
4378 done
4379   done
4380 IFS=$as_save_IFS
4381
4382 fi
4383 fi
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 fi
4392
4393
4394     test -n "$CXX" && break
4395   done
4396 fi
4397 if test -z "$CXX"; then
4398   ac_ct_CXX=$CXX
4399   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 do
4401   # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406   $as_echo_n "(cached) " >&6
4407 else
4408   if test -n "$ac_ct_CXX"; then
4409   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4413 do
4414   IFS=$as_save_IFS
4415   test -z "$as_dir" && as_dir=.
4416     for ac_exec_ext in '' $ac_executable_extensions; do
4417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418     ac_cv_prog_ac_ct_CXX="$ac_prog"
4419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420     break 2
4421   fi
4422 done
4423   done
4424 IFS=$as_save_IFS
4425
4426 fi
4427 fi
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4435 fi
4436
4437
4438   test -n "$ac_ct_CXX" && break
4439 done
4440
4441   if test "x$ac_ct_CXX" = x; then
4442     CXX="g++"
4443   else
4444     case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450     CXX=$ac_ct_CXX
4451   fi
4452 fi
4453
4454   fi
4455 fi
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461   { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464   *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469   ac_status=$?
4470   if test -s conftest.err; then
4471     sed '10a\
4472 ... rest of stderr output deleted ...
4473          10q' conftest.err >conftest.er1
4474     cat conftest.er1 >&5
4475     rm -f conftest.er1 conftest.err
4476   fi
4477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478   test $ac_status = 0; }
4479 done
4480
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484   $as_echo_n "(cached) " >&6
4485 else
4486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h.  */
4488
4489 int
4490 main ()
4491 {
4492 #ifndef __GNUC__
4493        choke me
4494 #endif
4495
4496   ;
4497   return 0;
4498 }
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501   ac_compiler_gnu=yes
4502 else
4503   ac_compiler_gnu=no
4504 fi
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4507
4508 fi
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512   GXX=yes
4513 else
4514   GXX=
4515 fi
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521   $as_echo_n "(cached) " >&6
4522 else
4523   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524    ac_cxx_werror_flag=yes
4525    ac_cv_prog_cxx_g=no
4526    CXXFLAGS="-g"
4527    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h.  */
4529
4530 int
4531 main ()
4532 {
4533
4534   ;
4535   return 0;
4536 }
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539   ac_cv_prog_cxx_g=yes
4540 else
4541   CXXFLAGS=""
4542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h.  */
4544
4545 int
4546 main ()
4547 {
4548
4549   ;
4550   return 0;
4551 }
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554
4555 else
4556   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557          CXXFLAGS="-g"
4558          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h.  */
4560
4561 int
4562 main ()
4563 {
4564
4565   ;
4566   return 0;
4567 }
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570   ac_cv_prog_cxx_g=yes
4571 fi
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 fi
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 fi
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578 fi
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582   CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584   if test "$GXX" = yes; then
4585     CXXFLAGS="-g -O2"
4586   else
4587     CXXFLAGS="-g"
4588   fi
4589 else
4590   if test "$GXX" = yes; then
4591     CXXFLAGS="-O2"
4592   else
4593     CXXFLAGS=
4594   fi
4595 fi
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601
4602 CXXFLAGS="$save_CXXFLAGS"
4603
4604 # Runs configure.host, and assorted other critical bits.  Sets
4605 # up critical shell variables.
4606
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616   CPP=
4617 fi
4618 if test -z "$CPP"; then
4619   if test "${ac_cv_prog_CPP+set}" = set; then :
4620   $as_echo_n "(cached) " >&6
4621 else
4622       # Double quotes because CPP needs to be expanded
4623     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4624     do
4625       ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4627 do
4628   # Use a header file that comes with gcc, so configuring glibc
4629   # with a fresh cross-compiler works.
4630   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631   # <limits.h> exists even on freestanding compilers.
4632   # On the NeXT, cc -E runs the code through the compiler's parser,
4633   # not just through cpp. "Syntax error" is here to catch this case.
4634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h.  */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641                      Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4644
4645 else
4646   # Broken: fails on valid input.
4647 continue
4648 fi
4649 rm -f conftest.err conftest.$ac_ext
4650
4651   # OK, works on sane cases.  Now check whether nonexistent headers
4652   # can be detected and how.
4653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h.  */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658   # Broken: success on invalid input.
4659 continue
4660 else
4661   # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4664 fi
4665 rm -f conftest.err conftest.$ac_ext
4666
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671   break
4672 fi
4673
4674     done
4675     ac_cv_prog_CPP=$CPP
4676
4677 fi
4678   CPP=$ac_cv_prog_CPP
4679 else
4680   ac_cv_prog_CPP=$CPP
4681 fi
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4686 do
4687   # Use a header file that comes with gcc, so configuring glibc
4688   # with a fresh cross-compiler works.
4689   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690   # <limits.h> exists even on freestanding compilers.
4691   # On the NeXT, cc -E runs the code through the compiler's parser,
4692   # not just through cpp. "Syntax error" is here to catch this case.
4693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h.  */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700                      Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4703
4704 else
4705   # Broken: fails on valid input.
4706 continue
4707 fi
4708 rm -f conftest.err conftest.$ac_ext
4709
4710   # OK, works on sane cases.  Now check whether nonexistent headers
4711   # can be detected and how.
4712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h.  */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717   # Broken: success on invalid input.
4718 continue
4719 else
4720   # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4723 fi
4724 rm -f conftest.err conftest.$ac_ext
4725
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4730
4731 else
4732   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4736 fi
4737
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4743
4744
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748   $as_echo_n "(cached) " >&6
4749 else
4750   if test -z "$GREP"; then
4751   ac_path_GREP_found=false
4752   # Loop through the user's path and test for each of PROGNAME-LIST
4753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4755 do
4756   IFS=$as_save_IFS
4757   test -z "$as_dir" && as_dir=.
4758     for ac_prog in grep ggrep; do
4759     for ac_exec_ext in '' $ac_executable_extensions; do
4760       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763   # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4767 *)
4768   ac_count=0
4769   $as_echo_n 0123456789 >"conftest.in"
4770   while :
4771   do
4772     cat "conftest.in" "conftest.in" >"conftest.tmp"
4773     mv "conftest.tmp" "conftest.in"
4774     cp "conftest.in" "conftest.nl"
4775     $as_echo 'GREP' >> "conftest.nl"
4776     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778     as_fn_arith $ac_count + 1 && ac_count=$as_val
4779     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780       # Best one so far, save it but keep looking for a better one
4781       ac_cv_path_GREP="$ac_path_GREP"
4782       ac_path_GREP_max=$ac_count
4783     fi
4784     # 10*(2^10) chars as input seems more than enough
4785     test $ac_count -gt 10 && break
4786   done
4787   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4789
4790       $ac_path_GREP_found && break 3
4791     done
4792   done
4793   done
4794 IFS=$as_save_IFS
4795   if test -z "$ac_cv_path_GREP"; then
4796     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4797   fi
4798 else
4799   ac_cv_path_GREP=$GREP
4800 fi
4801
4802 fi
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805  GREP="$ac_cv_path_GREP"
4806
4807
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811   $as_echo_n "(cached) " >&6
4812 else
4813   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814    then ac_cv_path_EGREP="$GREP -E"
4815    else
4816      if test -z "$EGREP"; then
4817   ac_path_EGREP_found=false
4818   # Loop through the user's path and test for each of PROGNAME-LIST
4819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4821 do
4822   IFS=$as_save_IFS
4823   test -z "$as_dir" && as_dir=.
4824     for ac_prog in egrep; do
4825     for ac_exec_ext in '' $ac_executable_extensions; do
4826       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829   # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4833 *)
4834   ac_count=0
4835   $as_echo_n 0123456789 >"conftest.in"
4836   while :
4837   do
4838     cat "conftest.in" "conftest.in" >"conftest.tmp"
4839     mv "conftest.tmp" "conftest.in"
4840     cp "conftest.in" "conftest.nl"
4841     $as_echo 'EGREP' >> "conftest.nl"
4842     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844     as_fn_arith $ac_count + 1 && ac_count=$as_val
4845     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846       # Best one so far, save it but keep looking for a better one
4847       ac_cv_path_EGREP="$ac_path_EGREP"
4848       ac_path_EGREP_max=$ac_count
4849     fi
4850     # 10*(2^10) chars as input seems more than enough
4851     test $ac_count -gt 10 && break
4852   done
4853   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4855
4856       $ac_path_EGREP_found && break 3
4857     done
4858   done
4859   done
4860 IFS=$as_save_IFS
4861   if test -z "$ac_cv_path_EGREP"; then
4862     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4863   fi
4864 else
4865   ac_cv_path_EGREP=$EGREP
4866 fi
4867
4868    fi
4869 fi
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872  EGREP="$ac_cv_path_EGREP"
4873
4874
4875
4876   # Keep these sync'd with the list in Makefile.am.  The first provides an
4877   # expandable list at autoconf time; the second provides an expandable list
4878   # (i.e., shell variable) at configure time.
4879
4880   SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4881
4882   # These need to be absolute paths, yet at the same time need to
4883   # canonicalize only relative paths, because then amd will not unmount
4884   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885   glibcxx_builddir=`${PWDCMD-pwd}`
4886   case $srcdir in
4887     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889   esac
4890   toplevel_builddir=${glibcxx_builddir}/..
4891   toplevel_srcdir=${glibcxx_srcdir}/..
4892
4893
4894
4895
4896
4897   # We use these options to decide which functions to include.  They are
4898   # set from the top level.
4899
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902   withval=$with_target_subdir;
4903 fi
4904
4905
4906
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909   withval=$with_cross_host;
4910 fi
4911
4912
4913
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916   withval=$with_newlib;
4917 fi
4918
4919
4920   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921   # available).  Uncomment the next line to force a particular method.
4922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4931 fi
4932
4933   #LN_S='cp -p'
4934
4935   if test -n "$ac_tool_prefix"; then
4936   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941   $as_echo_n "(cached) " >&6
4942 else
4943   if test -n "$AS"; then
4944   ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4948 do
4949   IFS=$as_save_IFS
4950   test -z "$as_dir" && as_dir=.
4951     for ac_exec_ext in '' $ac_executable_extensions; do
4952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953     ac_cv_prog_AS="${ac_tool_prefix}as"
4954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955     break 2
4956   fi
4957 done
4958   done
4959 IFS=$as_save_IFS
4960
4961 fi
4962 fi
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970 fi
4971
4972
4973 fi
4974 if test -z "$ac_cv_prog_AS"; then
4975   ac_ct_AS=$AS
4976   # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981   $as_echo_n "(cached) " >&6
4982 else
4983   if test -n "$ac_ct_AS"; then
4984   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4988 do
4989   IFS=$as_save_IFS
4990   test -z "$as_dir" && as_dir=.
4991     for ac_exec_ext in '' $ac_executable_extensions; do
4992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993     ac_cv_prog_ac_ct_AS="as"
4994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995     break 2
4996   fi
4997 done
4998   done
4999 IFS=$as_save_IFS
5000
5001 fi
5002 fi
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 fi
5011
5012   if test "x$ac_ct_AS" = x; then
5013     AS=""
5014   else
5015     case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021     AS=$ac_ct_AS
5022   fi
5023 else
5024   AS="$ac_cv_prog_AS"
5025 fi
5026
5027   if test -n "$ac_tool_prefix"; then
5028   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033   $as_echo_n "(cached) " >&6
5034 else
5035   if test -n "$AR"; then
5036   ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5040 do
5041   IFS=$as_save_IFS
5042   test -z "$as_dir" && as_dir=.
5043     for ac_exec_ext in '' $ac_executable_extensions; do
5044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045     ac_cv_prog_AR="${ac_tool_prefix}ar"
5046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047     break 2
5048   fi
5049 done
5050   done
5051 IFS=$as_save_IFS
5052
5053 fi
5054 fi
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5062 fi
5063
5064
5065 fi
5066 if test -z "$ac_cv_prog_AR"; then
5067   ac_ct_AR=$AR
5068   # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073   $as_echo_n "(cached) " >&6
5074 else
5075   if test -n "$ac_ct_AR"; then
5076   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5080 do
5081   IFS=$as_save_IFS
5082   test -z "$as_dir" && as_dir=.
5083     for ac_exec_ext in '' $ac_executable_extensions; do
5084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085     ac_cv_prog_ac_ct_AR="ar"
5086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087     break 2
5088   fi
5089 done
5090   done
5091 IFS=$as_save_IFS
5092
5093 fi
5094 fi
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 fi
5103
5104   if test "x$ac_ct_AR" = x; then
5105     AR=""
5106   else
5107     case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113     AR=$ac_ct_AR
5114   fi
5115 else
5116   AR="$ac_cv_prog_AR"
5117 fi
5118
5119   if test -n "$ac_tool_prefix"; then
5120   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125   $as_echo_n "(cached) " >&6
5126 else
5127   if test -n "$RANLIB"; then
5128   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5132 do
5133   IFS=$as_save_IFS
5134   test -z "$as_dir" && as_dir=.
5135     for ac_exec_ext in '' $ac_executable_extensions; do
5136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139     break 2
5140   fi
5141 done
5142   done
5143 IFS=$as_save_IFS
5144
5145 fi
5146 fi
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5154 fi
5155
5156
5157 fi
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159   ac_ct_RANLIB=$RANLIB
5160   # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165   $as_echo_n "(cached) " >&6
5166 else
5167   if test -n "$ac_ct_RANLIB"; then
5168   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5172 do
5173   IFS=$as_save_IFS
5174   test -z "$as_dir" && as_dir=.
5175     for ac_exec_ext in '' $ac_executable_extensions; do
5176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177     ac_cv_prog_ac_ct_RANLIB="ranlib"
5178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179     break 2
5180   fi
5181 done
5182   done
5183 IFS=$as_save_IFS
5184
5185 fi
5186 fi
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5194 fi
5195
5196   if test "x$ac_ct_RANLIB" = x; then
5197     RANLIB="ranlib-not-found-in-path-error"
5198   else
5199     case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205     RANLIB=$ac_ct_RANLIB
5206   fi
5207 else
5208   RANLIB="$ac_cv_prog_RANLIB"
5209 fi
5210
5211
5212
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215     # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219   USE_MAINTAINER_MODE=no
5220 fi
5221
5222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224    if test $USE_MAINTAINER_MODE = yes; then
5225   MAINTAINER_MODE_TRUE=
5226   MAINTAINER_MODE_FALSE='#'
5227 else
5228   MAINTAINER_MODE_TRUE='#'
5229   MAINTAINER_MODE_FALSE=
5230 fi
5231
5232   MAINT=$MAINTAINER_MODE_TRUE
5233
5234
5235
5236   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237   # which are themselves conditionally expanded.
5238   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239   ## other macros from doing the same.  This should be automated.)  -pme
5240
5241   # Check for C library flavor since GNU/Linux platforms use different
5242   # configuration directories depending on the C library in use.
5243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h.  */
5245
5246   #include <stdio.h>
5247   #if __UCLIBC__
5248     _using_uclibc
5249   #endif
5250
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254   uclibc=yes
5255 else
5256   uclibc=no
5257 fi
5258 rm -f conftest*
5259
5260
5261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h.  */
5263
5264   #include <stdio.h>
5265   #if __BIONIC__
5266     _using_bionic
5267   #endif
5268
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272   bionic=yes
5273 else
5274   bionic=no
5275 fi
5276 rm -f conftest*
5277
5278
5279   # Find platform-specific directories containing configuration info.
5280   # Also possibly modify flags used elsewhere, as needed by the platform.
5281
5282   . $glibcxx_srcdir/configure.host
5283   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5287
5288
5289
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292   enable_dlopen=yes
5293
5294
5295
5296 fi
5297 case `pwd` in
5298   *\ * | *\     *)
5299     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5302
5303
5304
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320 ltmain="$ac_aux_dir/ltmain.sh"
5321
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5325
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5328
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5332
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5335
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5338
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5342
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348   ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350   ECHO='printf %s\n'
5351 else
5352   # Use this function as a fallback that always works.
5353   func_fallback_echo ()
5354   {
5355     eval 'cat <<_LTECHO_EOF
5356 $1
5357 _LTECHO_EOF'
5358   }
5359   ECHO='func_fallback_echo'
5360 fi
5361
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5365 {
5366     $ECHO ""
5367 }
5368
5369 case "$ECHO" in
5370   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394   $as_echo_n "(cached) " >&6
5395 else
5396             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397      for ac_i in 1 2 3 4 5 6 7; do
5398        ac_script="$ac_script$as_nl$ac_script"
5399      done
5400      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401      { ac_script=; unset ac_script;}
5402      if test -z "$SED"; then
5403   ac_path_SED_found=false
5404   # Loop through the user's path and test for each of PROGNAME-LIST
5405   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5407 do
5408   IFS=$as_save_IFS
5409   test -z "$as_dir" && as_dir=.
5410     for ac_prog in sed gsed; do
5411     for ac_exec_ext in '' $ac_executable_extensions; do
5412       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415   # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5419 *)
5420   ac_count=0
5421   $as_echo_n 0123456789 >"conftest.in"
5422   while :
5423   do
5424     cat "conftest.in" "conftest.in" >"conftest.tmp"
5425     mv "conftest.tmp" "conftest.in"
5426     cp "conftest.in" "conftest.nl"
5427     $as_echo '' >> "conftest.nl"
5428     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430     as_fn_arith $ac_count + 1 && ac_count=$as_val
5431     if test $ac_count -gt ${ac_path_SED_max-0}; then
5432       # Best one so far, save it but keep looking for a better one
5433       ac_cv_path_SED="$ac_path_SED"
5434       ac_path_SED_max=$ac_count
5435     fi
5436     # 10*(2^10) chars as input seems more than enough
5437     test $ac_count -gt 10 && break
5438   done
5439   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5441
5442       $ac_path_SED_found && break 3
5443     done
5444   done
5445   done
5446 IFS=$as_save_IFS
5447   if test -z "$ac_cv_path_SED"; then
5448     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5449   fi
5450 else
5451   ac_cv_path_SED=$SED
5452 fi
5453
5454 fi
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457  SED="$ac_cv_path_SED"
5458   rm -f conftest.sed
5459
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476   $as_echo_n "(cached) " >&6
5477 else
5478   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479    then ac_cv_path_FGREP="$GREP -F"
5480    else
5481      if test -z "$FGREP"; then
5482   ac_path_FGREP_found=false
5483   # Loop through the user's path and test for each of PROGNAME-LIST
5484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5486 do
5487   IFS=$as_save_IFS
5488   test -z "$as_dir" && as_dir=.
5489     for ac_prog in fgrep; do
5490     for ac_exec_ext in '' $ac_executable_extensions; do
5491       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494   # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5498 *)
5499   ac_count=0
5500   $as_echo_n 0123456789 >"conftest.in"
5501   while :
5502   do
5503     cat "conftest.in" "conftest.in" >"conftest.tmp"
5504     mv "conftest.tmp" "conftest.in"
5505     cp "conftest.in" "conftest.nl"
5506     $as_echo 'FGREP' >> "conftest.nl"
5507     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509     as_fn_arith $ac_count + 1 && ac_count=$as_val
5510     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511       # Best one so far, save it but keep looking for a better one
5512       ac_cv_path_FGREP="$ac_path_FGREP"
5513       ac_path_FGREP_max=$ac_count
5514     fi
5515     # 10*(2^10) chars as input seems more than enough
5516     test $ac_count -gt 10 && break
5517   done
5518   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5520
5521       $ac_path_FGREP_found && break 3
5522     done
5523   done
5524   done
5525 IFS=$as_save_IFS
5526   if test -z "$ac_cv_path_FGREP"; then
5527     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5528   fi
5529 else
5530   ac_cv_path_FGREP=$FGREP
5531 fi
5532
5533    fi
5534 fi
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537  FGREP="$ac_cv_path_FGREP"
5538
5539
5540 test -z "$GREP" && GREP=grep
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564   with_gnu_ld=no
5565 fi
5566
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569   # Check if gcc -print-prog-name=ld gives a path.
5570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572   case $host in
5573   *-*-mingw*)
5574     # gcc leaves a trailing carriage return which upsets mingw
5575     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5576   *)
5577     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578   esac
5579   case $ac_prog in
5580     # Accept absolute paths.
5581     [\\/]* | ?:[\\/]*)
5582       re_direlt='/[^/][^/]*/\.\./'
5583       # Canonicalize the pathname of ld
5584       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587       done
5588       test -z "$LD" && LD="$ac_prog"
5589       ;;
5590   "")
5591     # If it fails, then pretend we aren't using GCC.
5592     ac_prog=ld
5593     ;;
5594   *)
5595     # If it is relative, then search for the first ld in PATH.
5596     with_gnu_ld=unknown
5597     ;;
5598   esac
5599 elif test "$with_gnu_ld" = yes; then
5600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5605 fi
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607   $as_echo_n "(cached) " >&6
5608 else
5609   if test -z "$LD"; then
5610   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611   for ac_dir in $PATH; do
5612     IFS="$lt_save_ifs"
5613     test -z "$ac_dir" && ac_dir=.
5614     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615       lt_cv_path_LD="$ac_dir/$ac_prog"
5616       # Check to see if the program is GNU ld.  I'd rather use --version,
5617       # but apparently some variants of GNU ld only accept -v.
5618       # Break only if it was the GNU/non-GNU ld that we prefer.
5619       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620       *GNU* | *'with BFD'*)
5621         test "$with_gnu_ld" != no && break
5622         ;;
5623       *)
5624         test "$with_gnu_ld" != yes && break
5625         ;;
5626       esac
5627     fi
5628   done
5629   IFS="$lt_save_ifs"
5630 else
5631   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5632 fi
5633 fi
5634
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5642 fi
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647   $as_echo_n "(cached) " >&6
5648 else
5649   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652   lt_cv_prog_gnu_ld=yes
5653   ;;
5654 *)
5655   lt_cv_prog_gnu_ld=no
5656   ;;
5657 esac
5658 fi
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674   $as_echo_n "(cached) " >&6
5675 else
5676   if test -n "$NM"; then
5677   # Let the user override the test.
5678   lt_cv_path_NM="$NM"
5679 else
5680   lt_nm_to_check="${ac_tool_prefix}nm"
5681   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682     lt_nm_to_check="$lt_nm_to_check nm"
5683   fi
5684   for lt_tmp_nm in $lt_nm_to_check; do
5685     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687       IFS="$lt_save_ifs"
5688       test -z "$ac_dir" && ac_dir=.
5689       tmp_nm="$ac_dir/$lt_tmp_nm"
5690       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691         # Check to see if the nm accepts a BSD-compat flag.
5692         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693         #   nm: unknown option "B" ignored
5694         # Tru64's nm complains that /dev/null is an invalid object file
5695         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696         */dev/null* | *'Invalid file or object type'*)
5697           lt_cv_path_NM="$tmp_nm -B"
5698           break
5699           ;;
5700         *)
5701           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702           */dev/null*)
5703             lt_cv_path_NM="$tmp_nm -p"
5704             break
5705             ;;
5706           *)
5707             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708             continue # so that we can try to find one that supports BSD flags
5709             ;;
5710           esac
5711           ;;
5712         esac
5713       fi
5714     done
5715     IFS="$lt_save_ifs"
5716   done
5717   : ${lt_cv_path_NM=no}
5718 fi
5719 fi
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723   NM="$lt_cv_path_NM"
5724 else
5725   # Didn't find any BSD compatible name lister, look for dumpbin.
5726   if test -n "$DUMPBIN"; then :
5727     # Let the user override the test.
5728   else
5729     if test -n "$ac_tool_prefix"; then
5730   for ac_prog in dumpbin "link -dump"
5731   do
5732     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737   $as_echo_n "(cached) " >&6
5738 else
5739   if test -n "$DUMPBIN"; then
5740   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5744 do
5745   IFS=$as_save_IFS
5746   test -z "$as_dir" && as_dir=.
5747     for ac_exec_ext in '' $ac_executable_extensions; do
5748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751     break 2
5752   fi
5753 done
5754   done
5755 IFS=$as_save_IFS
5756
5757 fi
5758 fi
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5766 fi
5767
5768
5769     test -n "$DUMPBIN" && break
5770   done
5771 fi
5772 if test -z "$DUMPBIN"; then
5773   ac_ct_DUMPBIN=$DUMPBIN
5774   for ac_prog in dumpbin "link -dump"
5775 do
5776   # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781   $as_echo_n "(cached) " >&6
5782 else
5783   if test -n "$ac_ct_DUMPBIN"; then
5784   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5788 do
5789   IFS=$as_save_IFS
5790   test -z "$as_dir" && as_dir=.
5791     for ac_exec_ext in '' $ac_executable_extensions; do
5792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795     break 2
5796   fi
5797 done
5798   done
5799 IFS=$as_save_IFS
5800
5801 fi
5802 fi
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5810 fi
5811
5812
5813   test -n "$ac_ct_DUMPBIN" && break
5814 done
5815
5816   if test "x$ac_ct_DUMPBIN" = x; then
5817     DUMPBIN=":"
5818   else
5819     case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825     DUMPBIN=$ac_ct_DUMPBIN
5826   fi
5827 fi
5828
5829     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830     *COFF*)
5831       DUMPBIN="$DUMPBIN -symbols"
5832       ;;
5833     *)
5834       DUMPBIN=:
5835       ;;
5836     esac
5837   fi
5838
5839   if test "$DUMPBIN" != ":"; then
5840     NM="$DUMPBIN"
5841   fi
5842 fi
5843 test -z "$NM" && NM=nm
5844
5845
5846
5847
5848
5849
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853   $as_echo_n "(cached) " >&6
5854 else
5855   lt_cv_nm_interface="BSD nm"
5856   echo "int some_variable = 0;" > conftest.$ac_ext
5857   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858   (eval "$ac_compile" 2>conftest.err)
5859   cat conftest.err >&5
5860   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862   cat conftest.err >&5
5863   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864   cat conftest.out >&5
5865   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866     lt_cv_nm_interface="MS dumpbin"
5867   fi
5868   rm -f conftest*
5869 fi
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5872
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877   $as_echo_n "(cached) " >&6
5878 else
5879     i=0
5880   teststring="ABCD"
5881
5882   case $build_os in
5883   msdosdjgpp*)
5884     # On DJGPP, this test can blow up pretty badly due to problems in libc
5885     # (any single argument exceeding 2000 bytes causes a buffer overrun
5886     # during glob expansion).  Even if it were fixed, the result of this
5887     # check would be larger than it should be.
5888     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5889     ;;
5890
5891   gnu*)
5892     # Under GNU Hurd, this test is not required because there is
5893     # no limit to the length of command line arguments.
5894     # Libtool will interpret -1 as no limit whatsoever
5895     lt_cv_sys_max_cmd_len=-1;
5896     ;;
5897
5898   cygwin* | mingw* | cegcc*)
5899     # On Win9x/ME, this test blows up -- it succeeds, but takes
5900     # about 5 minutes as the teststring grows exponentially.
5901     # Worse, since 9x/ME are not pre-emptively multitasking,
5902     # you end up with a "frozen" computer, even though with patience
5903     # the test eventually succeeds (with a max line length of 256k).
5904     # Instead, let's just punt: use the minimum linelength reported by
5905     # all of the supported platforms: 8192 (on NT/2K/XP).
5906     lt_cv_sys_max_cmd_len=8192;
5907     ;;
5908
5909   mint*)
5910     # On MiNT this can take a long time and run out of memory.
5911     lt_cv_sys_max_cmd_len=8192;
5912     ;;
5913
5914   amigaos*)
5915     # On AmigaOS with pdksh, this test takes hours, literally.
5916     # So we just punt and use a minimum line length of 8192.
5917     lt_cv_sys_max_cmd_len=8192;
5918     ;;
5919
5920   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921     # This has been around since 386BSD, at least.  Likely further.
5922     if test -x /sbin/sysctl; then
5923       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924     elif test -x /usr/sbin/sysctl; then
5925       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926     else
5927       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5928     fi
5929     # And add a safety zone
5930     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5932     ;;
5933
5934   interix*)
5935     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936     lt_cv_sys_max_cmd_len=196608
5937     ;;
5938
5939   osf*)
5940     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942     # nice to cause kernel panics so lets avoid the loop below.
5943     # First set a reasonable default.
5944     lt_cv_sys_max_cmd_len=16384
5945     #
5946     if test -x /sbin/sysconfig; then
5947       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949       esac
5950     fi
5951     ;;
5952   sco3.2v5*)
5953     lt_cv_sys_max_cmd_len=102400
5954     ;;
5955   sysv5* | sco5v6* | sysv4.2uw2*)
5956     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957     if test -n "$kargmax"; then
5958       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5959     else
5960       lt_cv_sys_max_cmd_len=32768
5961     fi
5962     ;;
5963   *)
5964     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965     if test -n "$lt_cv_sys_max_cmd_len"; then
5966       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968     else
5969       # Make teststring a little bigger before we do anything with it.
5970       # a 1K string should be a reasonable start.
5971       for i in 1 2 3 4 5 6 7 8 ; do
5972         teststring=$teststring$teststring
5973       done
5974       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975       # If test is not a shell built-in, we'll probably end up computing a
5976       # maximum length that is only half of the actual maximum length, but
5977       # we can't tell.
5978       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980               test $i != 17 # 1/2 MB should be enough
5981       do
5982         i=`expr $i + 1`
5983         teststring=$teststring$teststring
5984       done
5985       # Only check the string length outside the loop.
5986       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987       teststring=
5988       # Add a significant safety factor because C++ compilers can tack on
5989       # massive amounts of additional arguments before passing them to the
5990       # linker.  It appears as though 1/2 is a usable value.
5991       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5992     fi
5993     ;;
5994   esac
5995
5996 fi
5997
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6004 fi
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6006
6007
6008
6009
6010
6011
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6015
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022       = c,a/b,, \
6023     && eval 'test $(( 1 + 1 )) -eq 2 \
6024     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025   && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6028
6029
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034     >/dev/null 2>&1 \
6035   && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6038
6039
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041   lt_unset=unset
6042 else
6043   lt_unset=false
6044 fi
6045
6046
6047
6048
6049
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052  A) # ASCII based system
6053     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054   lt_SP2NL='tr \040 \012'
6055   lt_NL2SP='tr \015\012 \040\040'
6056   ;;
6057  *) # EBCDIC based system
6058   lt_SP2NL='tr \100 \n'
6059   lt_NL2SP='tr \r\n \100\100'
6060   ;;
6061 esac
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074   $as_echo_n "(cached) " >&6
6075 else
6076   lt_cv_ld_reload_flag='-r'
6077 fi
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087   darwin*)
6088     if test "$GCC" = yes; then
6089       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090     else
6091       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6092     fi
6093     ;;
6094 esac
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104 if test -n "$ac_tool_prefix"; then
6105   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110   $as_echo_n "(cached) " >&6
6111 else
6112   if test -n "$OBJDUMP"; then
6113   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6117 do
6118   IFS=$as_save_IFS
6119   test -z "$as_dir" && as_dir=.
6120     for ac_exec_ext in '' $ac_executable_extensions; do
6121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124     break 2
6125   fi
6126 done
6127   done
6128 IFS=$as_save_IFS
6129
6130 fi
6131 fi
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6139 fi
6140
6141
6142 fi
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144   ac_ct_OBJDUMP=$OBJDUMP
6145   # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150   $as_echo_n "(cached) " >&6
6151 else
6152   if test -n "$ac_ct_OBJDUMP"; then
6153   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6157 do
6158   IFS=$as_save_IFS
6159   test -z "$as_dir" && as_dir=.
6160     for ac_exec_ext in '' $ac_executable_extensions; do
6161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164     break 2
6165   fi
6166 done
6167   done
6168 IFS=$as_save_IFS
6169
6170 fi
6171 fi
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 fi
6180
6181   if test "x$ac_ct_OBJDUMP" = x; then
6182     OBJDUMP="false"
6183   else
6184     case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190     OBJDUMP=$ac_ct_OBJDUMP
6191   fi
6192 else
6193   OBJDUMP="$ac_cv_prog_OBJDUMP"
6194 fi
6195
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209   $as_echo_n "(cached) " >&6
6210 else
6211   lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6224
6225 case $host_os in
6226 aix[4-9]*)
6227   lt_cv_deplibs_check_method=pass_all
6228   ;;
6229
6230 beos*)
6231   lt_cv_deplibs_check_method=pass_all
6232   ;;
6233
6234 bsdi[45]*)
6235   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236   lt_cv_file_magic_cmd='/usr/bin/file -L'
6237   lt_cv_file_magic_test_file=/shlib/libc.so
6238   ;;
6239
6240 cygwin*)
6241   # func_win32_libid is a shell function defined in ltmain.sh
6242   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243   lt_cv_file_magic_cmd='func_win32_libid'
6244   ;;
6245
6246 mingw* | pw32*)
6247   # Base MSYS/MinGW do not provide the 'file' command needed by
6248   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249   # unless we find 'file', for example because we are cross-compiling.
6250   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253     lt_cv_file_magic_cmd='func_win32_libid'
6254   else
6255     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256     lt_cv_file_magic_cmd='$OBJDUMP -f'
6257   fi
6258   ;;
6259
6260 cegcc*)
6261   # use the weaker test based on 'objdump'. See mingw*.
6262   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263   lt_cv_file_magic_cmd='$OBJDUMP -f'
6264   ;;
6265
6266 darwin* | rhapsody*)
6267   lt_cv_deplibs_check_method=pass_all
6268   ;;
6269
6270 freebsd* | dragonfly*)
6271   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272     case $host_cpu in
6273     i*86 )
6274       # Not sure whether the presence of OpenBSD here was a mistake.
6275       # Let's accept both of them until this is cleared up.
6276       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277       lt_cv_file_magic_cmd=/usr/bin/file
6278       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6279       ;;
6280     esac
6281   else
6282     lt_cv_deplibs_check_method=pass_all
6283   fi
6284   ;;
6285
6286 gnu*)
6287   lt_cv_deplibs_check_method=pass_all
6288   ;;
6289
6290 haiku*)
6291   lt_cv_deplibs_check_method=pass_all
6292   ;;
6293
6294 hpux10.20* | hpux11*)
6295   lt_cv_file_magic_cmd=/usr/bin/file
6296   case $host_cpu in
6297   ia64*)
6298     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6300     ;;
6301   hppa*64*)
6302     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6303     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6304     ;;
6305   *)
6306     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6308     ;;
6309   esac
6310   ;;
6311
6312 interix[3-9]*)
6313   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6315   ;;
6316
6317 irix5* | irix6* | nonstopux*)
6318   case $LD in
6319   *-32|*"-32 ") libmagic=32-bit;;
6320   *-n32|*"-n32 ") libmagic=N32;;
6321   *-64|*"-64 ") libmagic=64-bit;;
6322   *) libmagic=never-match;;
6323   esac
6324   lt_cv_deplibs_check_method=pass_all
6325   ;;
6326
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329   lt_cv_deplibs_check_method=pass_all
6330   ;;
6331
6332 netbsd*)
6333   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335   else
6336     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6337   fi
6338   ;;
6339
6340 newos6*)
6341   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342   lt_cv_file_magic_cmd=/usr/bin/file
6343   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6344   ;;
6345
6346 *nto* | *qnx*)
6347   lt_cv_deplibs_check_method=pass_all
6348   ;;
6349
6350 openbsd*)
6351   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353   else
6354     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355   fi
6356   ;;
6357
6358 osf3* | osf4* | osf5*)
6359   lt_cv_deplibs_check_method=pass_all
6360   ;;
6361
6362 rdos*)
6363   lt_cv_deplibs_check_method=pass_all
6364   ;;
6365
6366 solaris*)
6367   lt_cv_deplibs_check_method=pass_all
6368   ;;
6369
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371   lt_cv_deplibs_check_method=pass_all
6372   ;;
6373
6374 sysv4 | sysv4.3*)
6375   case $host_vendor in
6376   motorola)
6377     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6378     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6379     ;;
6380   ncr)
6381     lt_cv_deplibs_check_method=pass_all
6382     ;;
6383   sequent)
6384     lt_cv_file_magic_cmd='/bin/file'
6385     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6386     ;;
6387   sni)
6388     lt_cv_file_magic_cmd='/bin/file'
6389     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390     lt_cv_file_magic_test_file=/lib/libc.so
6391     ;;
6392   siemens)
6393     lt_cv_deplibs_check_method=pass_all
6394     ;;
6395   pc)
6396     lt_cv_deplibs_check_method=pass_all
6397     ;;
6398   esac
6399   ;;
6400
6401 tpf*)
6402   lt_cv_deplibs_check_method=pass_all
6403   ;;
6404 esac
6405
6406 fi
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424 if test -n "$ac_tool_prefix"; then
6425   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430   $as_echo_n "(cached) " >&6
6431 else
6432   if test -n "$AR"; then
6433   ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6437 do
6438   IFS=$as_save_IFS
6439   test -z "$as_dir" && as_dir=.
6440     for ac_exec_ext in '' $ac_executable_extensions; do
6441   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442     ac_cv_prog_AR="${ac_tool_prefix}ar"
6443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444     break 2
6445   fi
6446 done
6447   done
6448 IFS=$as_save_IFS
6449
6450 fi
6451 fi
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6459 fi
6460
6461
6462 fi
6463 if test -z "$ac_cv_prog_AR"; then
6464   ac_ct_AR=$AR
6465   # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470   $as_echo_n "(cached) " >&6
6471 else
6472   if test -n "$ac_ct_AR"; then
6473   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6477 do
6478   IFS=$as_save_IFS
6479   test -z "$as_dir" && as_dir=.
6480     for ac_exec_ext in '' $ac_executable_extensions; do
6481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482     ac_cv_prog_ac_ct_AR="ar"
6483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484     break 2
6485   fi
6486 done
6487   done
6488 IFS=$as_save_IFS
6489
6490 fi
6491 fi
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6499 fi
6500
6501   if test "x$ac_ct_AR" = x; then
6502     AR="false"
6503   else
6504     case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510     AR=$ac_ct_AR
6511   fi
6512 else
6513   AR="$ac_cv_prog_AR"
6514 fi
6515
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529 if test -n "$ac_tool_prefix"; then
6530   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535   $as_echo_n "(cached) " >&6
6536 else
6537   if test -n "$STRIP"; then
6538   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6542 do
6543   IFS=$as_save_IFS
6544   test -z "$as_dir" && as_dir=.
6545     for ac_exec_ext in '' $ac_executable_extensions; do
6546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549     break 2
6550   fi
6551 done
6552   done
6553 IFS=$as_save_IFS
6554
6555 fi
6556 fi
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6564 fi
6565
6566
6567 fi
6568 if test -z "$ac_cv_prog_STRIP"; then
6569   ac_ct_STRIP=$STRIP
6570   # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575   $as_echo_n "(cached) " >&6
6576 else
6577   if test -n "$ac_ct_STRIP"; then
6578   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6582 do
6583   IFS=$as_save_IFS
6584   test -z "$as_dir" && as_dir=.
6585     for ac_exec_ext in '' $ac_executable_extensions; do
6586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587     ac_cv_prog_ac_ct_STRIP="strip"
6588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589     break 2
6590   fi
6591 done
6592   done
6593 IFS=$as_save_IFS
6594
6595 fi
6596 fi
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6604 fi
6605
6606   if test "x$ac_ct_STRIP" = x; then
6607     STRIP=":"
6608   else
6609     case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615     STRIP=$ac_ct_STRIP
6616   fi
6617 else
6618   STRIP="$ac_cv_prog_STRIP"
6619 fi
6620
6621 test -z "$STRIP" && STRIP=:
6622
6623
6624
6625
6626
6627
6628 if test -n "$ac_tool_prefix"; then
6629   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634   $as_echo_n "(cached) " >&6
6635 else
6636   if test -n "$RANLIB"; then
6637   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6641 do
6642   IFS=$as_save_IFS
6643   test -z "$as_dir" && as_dir=.
6644     for ac_exec_ext in '' $ac_executable_extensions; do
6645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648     break 2
6649   fi
6650 done
6651   done
6652 IFS=$as_save_IFS
6653
6654 fi
6655 fi
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6663 fi
6664
6665
6666 fi
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668   ac_ct_RANLIB=$RANLIB
6669   # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674   $as_echo_n "(cached) " >&6
6675 else
6676   if test -n "$ac_ct_RANLIB"; then
6677   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6681 do
6682   IFS=$as_save_IFS
6683   test -z "$as_dir" && as_dir=.
6684     for ac_exec_ext in '' $ac_executable_extensions; do
6685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686     ac_cv_prog_ac_ct_RANLIB="ranlib"
6687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688     break 2
6689   fi
6690 done
6691   done
6692 IFS=$as_save_IFS
6693
6694 fi
6695 fi
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6703 fi
6704
6705   if test "x$ac_ct_RANLIB" = x; then
6706     RANLIB=":"
6707   else
6708     case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714     RANLIB=$ac_ct_RANLIB
6715   fi
6716 else
6717   RANLIB="$ac_cv_prog_RANLIB"
6718 fi
6719
6720 test -z "$RANLIB" && RANLIB=:
6721
6722
6723
6724
6725
6726
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6731
6732 if test -n "$RANLIB"; then
6733   case $host_os in
6734   openbsd*)
6735     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6736     ;;
6737   *)
6738     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6739     ;;
6740   esac
6741   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6742 fi
6743
6744 case $host_os in
6745   darwin*)
6746     lock_old_archive_extraction=yes ;;
6747   *)
6748     lock_old_archive_extraction=no ;;
6749 esac
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6791
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6794
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6797
6798
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803   $as_echo_n "(cached) " >&6
6804 else
6805
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6808
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6811
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6814
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818   symcode='[BCDT]'
6819   ;;
6820 cygwin* | mingw* | pw32* | cegcc*)
6821   symcode='[ABCDGISTW]'
6822   ;;
6823 hpux*)
6824   if test "$host_cpu" = ia64; then
6825     symcode='[ABCDEGRST]'
6826   fi
6827   ;;
6828 irix* | nonstopux*)
6829   symcode='[BCDEGRST]'
6830   ;;
6831 osf*)
6832   symcode='[BCDEGQRST]'
6833   ;;
6834 solaris*)
6835   symcode='[BDRT]'
6836   ;;
6837 sco3.2v5*)
6838   symcode='[DT]'
6839   ;;
6840 sysv4.2uw2*)
6841   symcode='[DT]'
6842   ;;
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844   symcode='[ABDT]'
6845   ;;
6846 sysv4)
6847   symcode='[DFNSTU]'
6848   ;;
6849 esac
6850
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854   symcode='[ABCDGIRSTW]' ;;
6855 esac
6856
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6861
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6864 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6865
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6871   ;;
6872 esac
6873
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6876
6877   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878   symxfrm="\\1 $ac_symprfx\\2 \\2"
6879
6880   # Write the raw and C identifiers.
6881   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882     # Fake it for dumpbin and say T for any non-static function
6883     # and D for any global variable.
6884     # Also find C++ and __fastcall symbols from MSVC++,
6885     # which start with @ or ?.
6886     lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 "     {last_section=section; section=\$ 3};"\
6888 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 "     \$ 0!~/External *\|/{next};"\
6890 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 "     {if(hide[section]) next};"\
6892 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 "     ' prfx=^$ac_symprfx"
6897   else
6898     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6899   fi
6900
6901   # Check to see that the pipe works correctly.
6902   pipe_works=no
6903
6904   rm -f conftest*
6905   cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6913 }
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6917
6918   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919   (eval $ac_compile) 2>&5
6920   ac_status=$?
6921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922   test $ac_status = 0; }; then
6923     # Now try to grab the symbols.
6924     nlist=conftest.nm
6925     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927   ac_status=$?
6928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929   test $ac_status = 0; } && test -s "$nlist"; then
6930       # Try sorting and uniquifying the output.
6931       if sort "$nlist" | uniq > "$nlist"T; then
6932         mv -f "$nlist"T "$nlist"
6933       else
6934         rm -f "$nlist"T
6935       fi
6936
6937       # Make sure that we snagged all the symbols we need.
6938       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940           cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6944
6945 _LT_EOF
6946           # Now generate the symbol file.
6947           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6948
6949           cat <<_LT_EOF >> conftest.$ac_ext
6950
6951 /* The mapping between symbol names and symbols.  */
6952 const struct {
6953   const char *name;
6954   void       *address;
6955 }
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6957 {
6958   { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961           cat <<\_LT_EOF >> conftest.$ac_ext
6962   {0, (void *) 0}
6963 };
6964
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968   return lt__PROGRAM__LTX_preloaded_symbols;
6969 }
6970 #endif
6971
6972 #ifdef __cplusplus
6973 }
6974 #endif
6975 _LT_EOF
6976           # Now try linking the two files.
6977           mv conftest.$ac_objext conftstm.$ac_objext
6978           lt_save_LIBS="$LIBS"
6979           lt_save_CFLAGS="$CFLAGS"
6980           LIBS="conftstm.$ac_objext"
6981           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983   (eval $ac_link) 2>&5
6984   ac_status=$?
6985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987             pipe_works=yes
6988           fi
6989           LIBS="$lt_save_LIBS"
6990           CFLAGS="$lt_save_CFLAGS"
6991         else
6992           echo "cannot find nm_test_func in $nlist" >&5
6993         fi
6994       else
6995         echo "cannot find nm_test_var in $nlist" >&5
6996       fi
6997     else
6998       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6999     fi
7000   else
7001     echo "$progname: failed program was:" >&5
7002     cat conftest.$ac_ext >&5
7003   fi
7004   rm -rf conftest* conftst*
7005
7006   # Do not use the global_symbol_pipe unless it works.
7007   if test "$pipe_works" = yes; then
7008     break
7009   else
7010     lt_cv_sys_global_symbol_pipe=
7011   fi
7012 done
7013
7014 fi
7015
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017   lt_cv_sys_global_symbol_to_cdecl=
7018 fi
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7025 fi
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050   enableval=$enable_libtool_lock;
7051 fi
7052
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7054
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059   # Find out which ABI we are using.
7060   echo 'int i;' > conftest.$ac_ext
7061   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062   (eval $ac_compile) 2>&5
7063   ac_status=$?
7064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065   test $ac_status = 0; }; then
7066     case `/usr/bin/file conftest.$ac_objext` in
7067       *ELF-32*)
7068         HPUX_IA64_MODE="32"
7069         ;;
7070       *ELF-64*)
7071         HPUX_IA64_MODE="64"
7072         ;;
7073     esac
7074   fi
7075   rm -rf conftest*
7076   ;;
7077 *-*-irix6*)
7078   # Find out which ABI we are using.
7079   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081   (eval $ac_compile) 2>&5
7082   ac_status=$?
7083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084   test $ac_status = 0; }; then
7085     if test "$lt_cv_prog_gnu_ld" = yes; then
7086       case `/usr/bin/file conftest.$ac_objext` in
7087         *32-bit*)
7088           LD="${LD-ld} -melf32bsmip"
7089           ;;
7090         *N32*)
7091           LD="${LD-ld} -melf32bmipn32"
7092           ;;
7093         *64-bit*)
7094           LD="${LD-ld} -melf64bmip"
7095         ;;
7096       esac
7097     else
7098       case `/usr/bin/file conftest.$ac_objext` in
7099         *32-bit*)
7100           LD="${LD-ld} -32"
7101           ;;
7102         *N32*)
7103           LD="${LD-ld} -n32"
7104           ;;
7105         *64-bit*)
7106           LD="${LD-ld} -64"
7107           ;;
7108       esac
7109     fi
7110   fi
7111   rm -rf conftest*
7112   ;;
7113
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116   # Find out which ABI we are using.
7117   echo 'int i;' > conftest.$ac_ext
7118   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119   (eval $ac_compile) 2>&5
7120   ac_status=$?
7121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122   test $ac_status = 0; }; then
7123     case `/usr/bin/file conftest.o` in
7124       *32-bit*)
7125         case $host in
7126           x86_64-*kfreebsd*-gnu)
7127             LD="${LD-ld} -m elf_i386_fbsd"
7128             ;;
7129           x86_64-*linux*)
7130             case `/usr/bin/file conftest.o` in
7131               *x86-64*)
7132                 LD="${LD-ld} -m elf32_x86_64"
7133                 ;;
7134               *)
7135                 LD="${LD-ld} -m elf_i386"
7136                 ;;
7137             esac
7138             ;;
7139           ppc64-*linux*|powerpc64-*linux*)
7140             LD="${LD-ld} -m elf32ppclinux"
7141             ;;
7142           s390x-*linux*)
7143             LD="${LD-ld} -m elf_s390"
7144             ;;
7145           sparc64-*linux*)
7146             LD="${LD-ld} -m elf32_sparc"
7147             ;;
7148         esac
7149         ;;
7150       *64-bit*)
7151         case $host in
7152           x86_64-*kfreebsd*-gnu)
7153             LD="${LD-ld} -m elf_x86_64_fbsd"
7154             ;;
7155           x86_64-*linux*)
7156             LD="${LD-ld} -m elf_x86_64"
7157             ;;
7158           ppc*-*linux*|powerpc*-*linux*)
7159             LD="${LD-ld} -m elf64ppc"
7160             ;;
7161           s390*-*linux*|s390*-*tpf*)
7162             LD="${LD-ld} -m elf64_s390"
7163             ;;
7164           sparc*-*linux*)
7165             LD="${LD-ld} -m elf64_sparc"
7166             ;;
7167         esac
7168         ;;
7169     esac
7170   fi
7171   rm -rf conftest*
7172   ;;
7173
7174 *-*-sco3.2v5*)
7175   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176   SAVE_CFLAGS="$CFLAGS"
7177   CFLAGS="$CFLAGS -belf"
7178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181   $as_echo_n "(cached) " >&6
7182 else
7183   ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188
7189      if test x$gcc_no_link = xyes; then
7190   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7191 fi
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h.  */
7194
7195 int
7196 main ()
7197 {
7198
7199   ;
7200   return 0;
7201 }
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204   lt_cv_cc_needs_belf=yes
7205 else
7206   lt_cv_cc_needs_belf=no
7207 fi
7208 rm -f core conftest.err conftest.$ac_objext \
7209     conftest$ac_exeext conftest.$ac_ext
7210      ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215
7216 fi
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221     CFLAGS="$SAVE_CFLAGS"
7222   fi
7223   ;;
7224 sparc*-*solaris*)
7225   # Find out which ABI we are using.
7226   echo 'int i;' > conftest.$ac_ext
7227   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228   (eval $ac_compile) 2>&5
7229   ac_status=$?
7230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231   test $ac_status = 0; }; then
7232     case `/usr/bin/file conftest.o` in
7233     *64-bit*)
7234       case $lt_cv_prog_gnu_ld in
7235       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7236       *)
7237         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238           LD="${LD-ld} -64"
7239         fi
7240         ;;
7241       esac
7242       ;;
7243     esac
7244   fi
7245   rm -rf conftest*
7246   ;;
7247 esac
7248
7249 need_locks="$enable_libtool_lock"
7250
7251
7252   case $host_os in
7253     rhapsody* | darwin*)
7254     if test -n "$ac_tool_prefix"; then
7255   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260   $as_echo_n "(cached) " >&6
7261 else
7262   if test -n "$DSYMUTIL"; then
7263   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7267 do
7268   IFS=$as_save_IFS
7269   test -z "$as_dir" && as_dir=.
7270     for ac_exec_ext in '' $ac_executable_extensions; do
7271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274     break 2
7275   fi
7276 done
7277   done
7278 IFS=$as_save_IFS
7279
7280 fi
7281 fi
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7289 fi
7290
7291
7292 fi
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294   ac_ct_DSYMUTIL=$DSYMUTIL
7295   # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300   $as_echo_n "(cached) " >&6
7301 else
7302   if test -n "$ac_ct_DSYMUTIL"; then
7303   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308   IFS=$as_save_IFS
7309   test -z "$as_dir" && as_dir=.
7310     for ac_exec_ext in '' $ac_executable_extensions; do
7311   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314     break 2
7315   fi
7316 done
7317   done
7318 IFS=$as_save_IFS
7319
7320 fi
7321 fi
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7329 fi
7330
7331   if test "x$ac_ct_DSYMUTIL" = x; then
7332     DSYMUTIL=":"
7333   else
7334     case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340     DSYMUTIL=$ac_ct_DSYMUTIL
7341   fi
7342 else
7343   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7344 fi
7345
7346     if test -n "$ac_tool_prefix"; then
7347   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352   $as_echo_n "(cached) " >&6
7353 else
7354   if test -n "$NMEDIT"; then
7355   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7359 do
7360   IFS=$as_save_IFS
7361   test -z "$as_dir" && as_dir=.
7362     for ac_exec_ext in '' $ac_executable_extensions; do
7363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366     break 2
7367   fi
7368 done
7369   done
7370 IFS=$as_save_IFS
7371
7372 fi
7373 fi
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7381 fi
7382
7383
7384 fi
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386   ac_ct_NMEDIT=$NMEDIT
7387   # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392   $as_echo_n "(cached) " >&6
7393 else
7394   if test -n "$ac_ct_NMEDIT"; then
7395   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7399 do
7400   IFS=$as_save_IFS
7401   test -z "$as_dir" && as_dir=.
7402     for ac_exec_ext in '' $ac_executable_extensions; do
7403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406     break 2
7407   fi
7408 done
7409   done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7421 fi
7422
7423   if test "x$ac_ct_NMEDIT" = x; then
7424     NMEDIT=":"
7425   else
7426     case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432     NMEDIT=$ac_ct_NMEDIT
7433   fi
7434 else
7435   NMEDIT="$ac_cv_prog_NMEDIT"
7436 fi
7437
7438     if test -n "$ac_tool_prefix"; then
7439   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444   $as_echo_n "(cached) " >&6
7445 else
7446   if test -n "$LIPO"; then
7447   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7451 do
7452   IFS=$as_save_IFS
7453   test -z "$as_dir" && as_dir=.
7454     for ac_exec_ext in '' $ac_executable_extensions; do
7455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458     break 2
7459   fi
7460 done
7461   done
7462 IFS=$as_save_IFS
7463
7464 fi
7465 fi
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7473 fi
7474
7475
7476 fi
7477 if test -z "$ac_cv_prog_LIPO"; then
7478   ac_ct_LIPO=$LIPO
7479   # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484   $as_echo_n "(cached) " >&6
7485 else
7486   if test -n "$ac_ct_LIPO"; then
7487   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7491 do
7492   IFS=$as_save_IFS
7493   test -z "$as_dir" && as_dir=.
7494     for ac_exec_ext in '' $ac_executable_extensions; do
7495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496     ac_cv_prog_ac_ct_LIPO="lipo"
7497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498     break 2
7499   fi
7500 done
7501   done
7502 IFS=$as_save_IFS
7503
7504 fi
7505 fi
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7513 fi
7514
7515   if test "x$ac_ct_LIPO" = x; then
7516     LIPO=":"
7517   else
7518     case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524     LIPO=$ac_ct_LIPO
7525   fi
7526 else
7527   LIPO="$ac_cv_prog_LIPO"
7528 fi
7529
7530     if test -n "$ac_tool_prefix"; then
7531   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536   $as_echo_n "(cached) " >&6
7537 else
7538   if test -n "$OTOOL"; then
7539   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7543 do
7544   IFS=$as_save_IFS
7545   test -z "$as_dir" && as_dir=.
7546     for ac_exec_ext in '' $ac_executable_extensions; do
7547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550     break 2
7551   fi
7552 done
7553   done
7554 IFS=$as_save_IFS
7555
7556 fi
7557 fi
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7565 fi
7566
7567
7568 fi
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570   ac_ct_OTOOL=$OTOOL
7571   # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576   $as_echo_n "(cached) " >&6
7577 else
7578   if test -n "$ac_ct_OTOOL"; then
7579   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7583 do
7584   IFS=$as_save_IFS
7585   test -z "$as_dir" && as_dir=.
7586     for ac_exec_ext in '' $ac_executable_extensions; do
7587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588     ac_cv_prog_ac_ct_OTOOL="otool"
7589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590     break 2
7591   fi
7592 done
7593   done
7594 IFS=$as_save_IFS
7595
7596 fi
7597 fi
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7605 fi
7606
7607   if test "x$ac_ct_OTOOL" = x; then
7608     OTOOL=":"
7609   else
7610     case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616     OTOOL=$ac_ct_OTOOL
7617   fi
7618 else
7619   OTOOL="$ac_cv_prog_OTOOL"
7620 fi
7621
7622     if test -n "$ac_tool_prefix"; then
7623   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628   $as_echo_n "(cached) " >&6
7629 else
7630   if test -n "$OTOOL64"; then
7631   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7635 do
7636   IFS=$as_save_IFS
7637   test -z "$as_dir" && as_dir=.
7638     for ac_exec_ext in '' $ac_executable_extensions; do
7639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642     break 2
7643   fi
7644 done
7645   done
7646 IFS=$as_save_IFS
7647
7648 fi
7649 fi
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7657 fi
7658
7659
7660 fi
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662   ac_ct_OTOOL64=$OTOOL64
7663   # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668   $as_echo_n "(cached) " >&6
7669 else
7670   if test -n "$ac_ct_OTOOL64"; then
7671   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7675 do
7676   IFS=$as_save_IFS
7677   test -z "$as_dir" && as_dir=.
7678     for ac_exec_ext in '' $ac_executable_extensions; do
7679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680     ac_cv_prog_ac_ct_OTOOL64="otool64"
7681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682     break 2
7683   fi
7684 done
7685   done
7686 IFS=$as_save_IFS
7687
7688 fi
7689 fi
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7697 fi
7698
7699   if test "x$ac_ct_OTOOL64" = x; then
7700     OTOOL64=":"
7701   else
7702     case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708     OTOOL64=$ac_ct_OTOOL64
7709   fi
7710 else
7711   OTOOL64="$ac_cv_prog_OTOOL64"
7712 fi
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743   $as_echo_n "(cached) " >&6
7744 else
7745   lt_cv_apple_cc_single_mod=no
7746       if test -z "${LT_MULTI_MODULE}"; then
7747         # By default we will add the -single_module flag. You can override
7748         # by either setting the environment variable LT_MULTI_MODULE
7749         # non-empty at configure time, or by adding -multi_module to the
7750         # link flags.
7751         rm -rf libconftest.dylib*
7752         echo "int foo(void){return 1;}" > conftest.c
7753         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757         _lt_result=$?
7758         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759           lt_cv_apple_cc_single_mod=yes
7760         else
7761           cat conftest.err >&5
7762         fi
7763         rm -rf libconftest.dylib*
7764         rm -f conftest.*
7765       fi
7766 fi
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772   $as_echo_n "(cached) " >&6
7773 else
7774   lt_cv_ld_exported_symbols_list=no
7775       save_LDFLAGS=$LDFLAGS
7776       echo "_main" > conftest.sym
7777       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778       if test x$gcc_no_link = xyes; then
7779   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7780 fi
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h.  */
7783
7784 int
7785 main ()
7786 {
7787
7788   ;
7789   return 0;
7790 }
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793   lt_cv_ld_exported_symbols_list=yes
7794 else
7795   lt_cv_ld_exported_symbols_list=no
7796 fi
7797 rm -f core conftest.err conftest.$ac_objext \
7798     conftest$ac_exeext conftest.$ac_ext
7799         LDFLAGS="$save_LDFLAGS"
7800
7801 fi
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807   $as_echo_n "(cached) " >&6
7808 else
7809   lt_cv_ld_force_load=no
7810       cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815       echo "$AR cru libconftest.a conftest.o" >&5
7816       $AR cru libconftest.a conftest.o 2>&5
7817       cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822       _lt_result=$?
7823       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824         lt_cv_ld_force_load=yes
7825       else
7826         cat conftest.err >&5
7827       fi
7828         rm -f conftest.err libconftest.a conftest conftest.c
7829         rm -rf conftest.dSYM
7830
7831 fi
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834     case $host_os in
7835     rhapsody* | darwin1.[012])
7836       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837     darwin1.*)
7838       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839     darwin*) # darwin 5.x on
7840       # if running on 10.5 or later, the deployment target defaults
7841       # to the OS version, if on x86, and 10.4, the deployment
7842       # target defaults to 10.4. Don't you love it?
7843       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846         10.[012]*)
7847           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848         10.*)
7849           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850       esac
7851     ;;
7852   esac
7853     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854       _lt_dar_single_mod='$single_module'
7855     fi
7856     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858     else
7859       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7860     fi
7861     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862       _lt_dsymutil='~$DSYMUTIL $lib || :'
7863     else
7864       _lt_dsymutil=
7865     fi
7866     ;;
7867   esac
7868
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872   $as_echo_n "(cached) " >&6
7873 else
7874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h.  */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7880
7881 int
7882 main ()
7883 {
7884
7885   ;
7886   return 0;
7887 }
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890   ac_cv_header_stdc=yes
7891 else
7892   ac_cv_header_stdc=no
7893 fi
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895
7896 if test $ac_cv_header_stdc = yes; then
7897   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h.  */
7900 #include <string.h>
7901
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904   $EGREP "memchr" >/dev/null 2>&1; then :
7905
7906 else
7907   ac_cv_header_stdc=no
7908 fi
7909 rm -f conftest*
7910
7911 fi
7912
7913 if test $ac_cv_header_stdc = yes; then
7914   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h.  */
7917 #include <stdlib.h>
7918
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921   $EGREP "free" >/dev/null 2>&1; then :
7922
7923 else
7924   ac_cv_header_stdc=no
7925 fi
7926 rm -f conftest*
7927
7928 fi
7929
7930 if test $ac_cv_header_stdc = yes; then
7931   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932   if test "$cross_compiling" = yes; then :
7933   :
7934 else
7935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h.  */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944                    (('a' <= (c) && (c) <= 'i') \
7945                      || ('j' <= (c) && (c) <= 'r') \
7946                      || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7949
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7951 int
7952 main ()
7953 {
7954   int i;
7955   for (i = 0; i < 256; i++)
7956     if (XOR (islower (i), ISLOWER (i))
7957         || toupper (i) != TOUPPER (i))
7958       return 2;
7959   return 0;
7960 }
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7963
7964 else
7965   ac_cv_header_stdc=no
7966 fi
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968   conftest.$ac_objext conftest.beam conftest.$ac_ext
7969 fi
7970
7971 fi
7972 fi
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7976
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7978
7979 fi
7980
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983                   inttypes.h stdint.h unistd.h
7984 do :
7985   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7987 "
7988 eval as_val=\$$as_ac_Header
7989    if test "x$as_val" = x""yes; then :
7990   cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7993
7994 fi
7995
7996 done
7997
7998
7999 for ac_header in dlfcn.h
8000 do :
8001   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8002 "
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004   cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8007
8008 fi
8009
8010 done
8011
8012
8013
8014
8015
8016
8017 # Set options
8018
8019
8020
8021
8022   enable_win32_dll=no
8023
8024
8025             # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027   enableval=$enable_shared; p=${PACKAGE-default}
8028     case $enableval in
8029     yes) enable_shared=yes ;;
8030     no) enable_shared=no ;;
8031     *)
8032       enable_shared=no
8033       # Look at the argument we got.  We use all the common list separators.
8034       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035       for pkg in $enableval; do
8036         IFS="$lt_save_ifs"
8037         if test "X$pkg" = "X$p"; then
8038           enable_shared=yes
8039         fi
8040       done
8041       IFS="$lt_save_ifs"
8042       ;;
8043     esac
8044 else
8045   enable_shared=yes
8046 fi
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056   # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058   enableval=$enable_static; p=${PACKAGE-default}
8059     case $enableval in
8060     yes) enable_static=yes ;;
8061     no) enable_static=no ;;
8062     *)
8063      enable_static=no
8064       # Look at the argument we got.  We use all the common list separators.
8065       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066       for pkg in $enableval; do
8067         IFS="$lt_save_ifs"
8068         if test "X$pkg" = "X$p"; then
8069           enable_static=yes
8070         fi
8071       done
8072       IFS="$lt_save_ifs"
8073       ;;
8074     esac
8075 else
8076   enable_static=yes
8077 fi
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090   withval=$with_pic; pic_mode="$withval"
8091 else
8092   pic_mode=default
8093 fi
8094
8095
8096 test -z "$pic_mode" && pic_mode=default
8097
8098
8099
8100
8101
8102
8103
8104   # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106   enableval=$enable_fast_install; p=${PACKAGE-default}
8107     case $enableval in
8108     yes) enable_fast_install=yes ;;
8109     no) enable_fast_install=no ;;
8110     *)
8111       enable_fast_install=no
8112       # Look at the argument we got.  We use all the common list separators.
8113       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114       for pkg in $enableval; do
8115         IFS="$lt_save_ifs"
8116         if test "X$pkg" = "X$p"; then
8117           enable_fast_install=yes
8118         fi
8119       done
8120       IFS="$lt_save_ifs"
8121       ;;
8122     esac
8123 else
8124   enable_fast_install=yes
8125 fi
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8139
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168 test -z "$LN_S" && LN_S="ln -s"
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183 if test -n "${ZSH_VERSION+set}" ; then
8184    setopt NO_GLOB_SUBST
8185 fi
8186
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190   $as_echo_n "(cached) " >&6
8191 else
8192   rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195   lt_cv_objdir=.libs
8196 else
8197   # MS-DOS does not allow filenames that begin with a dot.
8198   lt_cv_objdir=_libs
8199 fi
8200 rmdir .libs 2>/dev/null
8201 fi
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8205
8206
8207
8208
8209
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8213
8214
8215
8216
8217 case $host_os in
8218 aix3*)
8219   # AIX sometimes has problems with the GCC collect2 program.  For some
8220   # reason, if we set the COLLECT_NAMES environment variable, the problems
8221   # vanish in a puff of smoke.
8222   if test "X${COLLECT_NAMES+set}" != Xset; then
8223     COLLECT_NAMES=
8224     export COLLECT_NAMES
8225   fi
8226   ;;
8227 esac
8228
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8232
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8236
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8238
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8241
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8248
8249 for cc_temp in $compiler""; do
8250   case $cc_temp in
8251     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253     \-*) ;;
8254     *) break;;
8255   esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8258
8259
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268   $as_echo_n "(cached) " >&6
8269 else
8270   case $MAGIC_CMD in
8271 [\\/*] |  ?:[\\/]*)
8272   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8273   ;;
8274 *)
8275   lt_save_MAGIC_CMD="$MAGIC_CMD"
8276   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278   for ac_dir in $ac_dummy; do
8279     IFS="$lt_save_ifs"
8280     test -z "$ac_dir" && ac_dir=.
8281     if test -f $ac_dir/${ac_tool_prefix}file; then
8282       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283       if test -n "$file_magic_test_file"; then
8284         case $deplibs_check_method in
8285         "file_magic "*)
8286           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289             $EGREP "$file_magic_regex" > /dev/null; then
8290             :
8291           else
8292             cat <<_LT_EOF 1>&2
8293
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such.  This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem.  Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8302
8303 _LT_EOF
8304           fi ;;
8305         esac
8306       fi
8307       break
8308     fi
8309   done
8310   IFS="$lt_save_ifs"
8311   MAGIC_CMD="$lt_save_MAGIC_CMD"
8312   ;;
8313 esac
8314 fi
8315
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8323 fi
8324
8325
8326
8327
8328
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330   if test -n "$ac_tool_prefix"; then
8331     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334   $as_echo_n "(cached) " >&6
8335 else
8336   case $MAGIC_CMD in
8337 [\\/*] |  ?:[\\/]*)
8338   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8339   ;;
8340 *)
8341   lt_save_MAGIC_CMD="$MAGIC_CMD"
8342   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344   for ac_dir in $ac_dummy; do
8345     IFS="$lt_save_ifs"
8346     test -z "$ac_dir" && ac_dir=.
8347     if test -f $ac_dir/file; then
8348       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349       if test -n "$file_magic_test_file"; then
8350         case $deplibs_check_method in
8351         "file_magic "*)
8352           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355             $EGREP "$file_magic_regex" > /dev/null; then
8356             :
8357           else
8358             cat <<_LT_EOF 1>&2
8359
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such.  This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem.  Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8368
8369 _LT_EOF
8370           fi ;;
8371         esac
8372       fi
8373       break
8374     fi
8375   done
8376   IFS="$lt_save_ifs"
8377   MAGIC_CMD="$lt_save_MAGIC_CMD"
8378   ;;
8379 esac
8380 fi
8381
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8389 fi
8390
8391
8392   else
8393     MAGIC_CMD=:
8394   fi
8395 fi
8396
8397   fi
8398   ;;
8399 esac
8400
8401 # Use C for the default configuration in the libtool script
8402
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8409
8410
8411 # Source file extension for C test sources.
8412 ac_ext=c
8413
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8417
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8420
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8423
8424
8425
8426
8427
8428
8429
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8432
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8435
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8438
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8442
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8449
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8455
8456
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8462
8463 lt_prog_compiler_no_builtin_flag=
8464
8465 if test "$GCC" = yes; then
8466   case $cc_basename in
8467   nvcc*)
8468     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8469   *)
8470     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471   esac
8472
8473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476   $as_echo_n "(cached) " >&6
8477 else
8478   lt_cv_prog_compiler_rtti_exceptions=no
8479    ac_outfile=conftest.$ac_objext
8480    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481    lt_compiler_flag="-fno-rtti -fno-exceptions"
8482    # Insert the option either (1) after the last *FLAGS variable, or
8483    # (2) before a word containing "conftest.", or (3) at the end.
8484    # Note that $ac_compile itself does not contain backslashes and begins
8485    # with a dollar sign (not a hyphen), so the echo should work correctly.
8486    # The option is referenced via a variable to avoid confusing sed.
8487    lt_compile=`echo "$ac_compile" | $SED \
8488    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490    -e 's:$: $lt_compiler_flag:'`
8491    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492    (eval "$lt_compile" 2>conftest.err)
8493    ac_status=$?
8494    cat conftest.err >&5
8495    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496    if (exit $ac_status) && test -s "$ac_outfile"; then
8497      # The compiler can only warn and ignore the option if not recognized
8498      # So say no if there are warnings other than the usual output.
8499      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502        lt_cv_prog_compiler_rtti_exceptions=yes
8503      fi
8504    fi
8505    $RM conftest*
8506
8507 fi
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8510
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8514     :
8515 fi
8516
8517 fi
8518
8519
8520
8521
8522
8523
8524   lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8527
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530
8531   if test "$GCC" = yes; then
8532     lt_prog_compiler_wl='-Wl,'
8533     lt_prog_compiler_static='-static'
8534
8535     case $host_os in
8536       aix*)
8537       # All AIX code is PIC.
8538       if test "$host_cpu" = ia64; then
8539         # AIX 5 now supports IA64 processor
8540         lt_prog_compiler_static='-Bstatic'
8541       fi
8542       lt_prog_compiler_pic='-fPIC'
8543       ;;
8544
8545     amigaos*)
8546       case $host_cpu in
8547       powerpc)
8548             # see comment about AmigaOS4 .so support
8549             lt_prog_compiler_pic='-fPIC'
8550         ;;
8551       m68k)
8552             # FIXME: we need at least 68020 code to build shared libraries, but
8553             # adding the `-m68020' flag to GCC prevents building anything better,
8554             # like `-m68040'.
8555             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8556         ;;
8557       esac
8558       ;;
8559
8560     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561       # PIC is the default for these OSes.
8562       ;;
8563
8564     mingw* | cygwin* | pw32* | os2* | cegcc*)
8565       # This hack is so that the source file can tell whether it is being
8566       # built for inclusion in a dll (and should export symbols for example).
8567       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568       # (--disable-auto-import) libraries
8569       lt_prog_compiler_pic='-DDLL_EXPORT'
8570       ;;
8571
8572     darwin* | rhapsody*)
8573       # PIC is the default on this platform
8574       # Common symbols not allowed in MH_DYLIB files
8575       lt_prog_compiler_pic='-fno-common'
8576       ;;
8577
8578     haiku*)
8579       # PIC is the default for Haiku.
8580       # The "-static" flag exists, but is broken.
8581       lt_prog_compiler_static=
8582       ;;
8583
8584     hpux*)
8585       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8587       # sets the default TLS model and affects inlining.
8588       case $host_cpu in
8589       hppa*64*)
8590         # +Z the default
8591         ;;
8592       *)
8593         lt_prog_compiler_pic='-fPIC'
8594         ;;
8595       esac
8596       ;;
8597
8598     interix[3-9]*)
8599       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600       # Instead, we relocate shared libraries at runtime.
8601       ;;
8602
8603     msdosdjgpp*)
8604       # Just because we use GCC doesn't mean we suddenly get shared libraries
8605       # on systems that don't support them.
8606       lt_prog_compiler_can_build_shared=no
8607       enable_shared=no
8608       ;;
8609
8610     *nto* | *qnx*)
8611       # QNX uses GNU C++, but need to define -shared option too, otherwise
8612       # it will coredump.
8613       lt_prog_compiler_pic='-fPIC -shared'
8614       ;;
8615
8616     sysv4*MP*)
8617       if test -d /usr/nec; then
8618         lt_prog_compiler_pic=-Kconform_pic
8619       fi
8620       ;;
8621
8622     *)
8623       lt_prog_compiler_pic='-fPIC'
8624       ;;
8625     esac
8626
8627     case $cc_basename in
8628     nvcc*) # Cuda Compiler Driver 2.2
8629       lt_prog_compiler_wl='-Xlinker '
8630       lt_prog_compiler_pic='-Xcompiler -fPIC'
8631       ;;
8632     esac
8633   else
8634     # PORTME Check for flag to pass linker flags through the system compiler.
8635     case $host_os in
8636     aix*)
8637       lt_prog_compiler_wl='-Wl,'
8638       if test "$host_cpu" = ia64; then
8639         # AIX 5 now supports IA64 processor
8640         lt_prog_compiler_static='-Bstatic'
8641       else
8642         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8643       fi
8644       ;;
8645
8646     mingw* | cygwin* | pw32* | os2* | cegcc*)
8647       # This hack is so that the source file can tell whether it is being
8648       # built for inclusion in a dll (and should export symbols for example).
8649       lt_prog_compiler_pic='-DDLL_EXPORT'
8650       ;;
8651
8652     hpux9* | hpux10* | hpux11*)
8653       lt_prog_compiler_wl='-Wl,'
8654       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655       # not for PA HP-UX.
8656       case $host_cpu in
8657       hppa*64*|ia64*)
8658         # +Z the default
8659         ;;
8660       *)
8661         lt_prog_compiler_pic='+Z'
8662         ;;
8663       esac
8664       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665       lt_prog_compiler_static='${wl}-a ${wl}archive'
8666       ;;
8667
8668     irix5* | irix6* | nonstopux*)
8669       lt_prog_compiler_wl='-Wl,'
8670       # PIC (with -KPIC) is the default.
8671       lt_prog_compiler_static='-non_shared'
8672       ;;
8673
8674     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675       case $cc_basename in
8676       # old Intel for x86_64 which still supported -KPIC.
8677       ecc*)
8678         lt_prog_compiler_wl='-Wl,'
8679         lt_prog_compiler_pic='-KPIC'
8680         lt_prog_compiler_static='-static'
8681         ;;
8682       # icc used to be incompatible with GCC.
8683       # ICC 10 doesn't accept -KPIC any more.
8684       icc* | ifort*)
8685         lt_prog_compiler_wl='-Wl,'
8686         lt_prog_compiler_pic='-fPIC'
8687         lt_prog_compiler_static='-static'
8688         ;;
8689       # Lahey Fortran 8.1.
8690       lf95*)
8691         lt_prog_compiler_wl='-Wl,'
8692         lt_prog_compiler_pic='--shared'
8693         lt_prog_compiler_static='--static'
8694         ;;
8695       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696         # Portland Group compilers (*not* the Pentium gcc compiler,
8697         # which looks to be a dead project)
8698         lt_prog_compiler_wl='-Wl,'
8699         lt_prog_compiler_pic='-fpic'
8700         lt_prog_compiler_static='-Bstatic'
8701         ;;
8702       ccc*)
8703         lt_prog_compiler_wl='-Wl,'
8704         # All Alpha code is PIC.
8705         lt_prog_compiler_static='-non_shared'
8706         ;;
8707       xl* | bgxl* | bgf* | mpixl*)
8708         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709         lt_prog_compiler_wl='-Wl,'
8710         lt_prog_compiler_pic='-qpic'
8711         lt_prog_compiler_static='-qstaticlink'
8712         ;;
8713       *)
8714         case `$CC -V 2>&1 | sed 5q` in
8715         *Sun\ F* | *Sun*Fortran*)
8716           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717           lt_prog_compiler_pic='-KPIC'
8718           lt_prog_compiler_static='-Bstatic'
8719           lt_prog_compiler_wl=''
8720           ;;
8721         *Sun\ C*)
8722           # Sun C 5.9
8723           lt_prog_compiler_pic='-KPIC'
8724           lt_prog_compiler_static='-Bstatic'
8725           lt_prog_compiler_wl='-Wl,'
8726           ;;
8727         esac
8728         ;;
8729       esac
8730       ;;
8731
8732     newsos6)
8733       lt_prog_compiler_pic='-KPIC'
8734       lt_prog_compiler_static='-Bstatic'
8735       ;;
8736
8737     *nto* | *qnx*)
8738       # QNX uses GNU C++, but need to define -shared option too, otherwise
8739       # it will coredump.
8740       lt_prog_compiler_pic='-fPIC -shared'
8741       ;;
8742
8743     osf3* | osf4* | osf5*)
8744       lt_prog_compiler_wl='-Wl,'
8745       # All OSF/1 code is PIC.
8746       lt_prog_compiler_static='-non_shared'
8747       ;;
8748
8749     rdos*)
8750       lt_prog_compiler_static='-non_shared'
8751       ;;
8752
8753     solaris*)
8754       lt_prog_compiler_pic='-KPIC'
8755       lt_prog_compiler_static='-Bstatic'
8756       case $cc_basename in
8757       f77* | f90* | f95*)
8758         lt_prog_compiler_wl='-Qoption ld ';;
8759       *)
8760         lt_prog_compiler_wl='-Wl,';;
8761       esac
8762       ;;
8763
8764     sunos4*)
8765       lt_prog_compiler_wl='-Qoption ld '
8766       lt_prog_compiler_pic='-PIC'
8767       lt_prog_compiler_static='-Bstatic'
8768       ;;
8769
8770     sysv4 | sysv4.2uw2* | sysv4.3*)
8771       lt_prog_compiler_wl='-Wl,'
8772       lt_prog_compiler_pic='-KPIC'
8773       lt_prog_compiler_static='-Bstatic'
8774       ;;
8775
8776     sysv4*MP*)
8777       if test -d /usr/nec ;then
8778         lt_prog_compiler_pic='-Kconform_pic'
8779         lt_prog_compiler_static='-Bstatic'
8780       fi
8781       ;;
8782
8783     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784       lt_prog_compiler_wl='-Wl,'
8785       lt_prog_compiler_pic='-KPIC'
8786       lt_prog_compiler_static='-Bstatic'
8787       ;;
8788
8789     unicos*)
8790       lt_prog_compiler_wl='-Wl,'
8791       lt_prog_compiler_can_build_shared=no
8792       ;;
8793
8794     uts4*)
8795       lt_prog_compiler_pic='-pic'
8796       lt_prog_compiler_static='-Bstatic'
8797       ;;
8798
8799     *)
8800       lt_prog_compiler_can_build_shared=no
8801       ;;
8802     esac
8803   fi
8804
8805 case $host_os in
8806   # For platforms which do not support PIC, -DPIC is meaningless:
8807   *djgpp*)
8808     lt_prog_compiler_pic=
8809     ;;
8810   *)
8811     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8812     ;;
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8816
8817
8818
8819
8820
8821
8822 #
8823 # Check to make sure the PIC flag actually works.
8824 #
8825 if test -n "$lt_prog_compiler_pic"; then
8826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829   $as_echo_n "(cached) " >&6
8830 else
8831   lt_cv_prog_compiler_pic_works=no
8832    ac_outfile=conftest.$ac_objext
8833    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835    # Insert the option either (1) after the last *FLAGS variable, or
8836    # (2) before a word containing "conftest.", or (3) at the end.
8837    # Note that $ac_compile itself does not contain backslashes and begins
8838    # with a dollar sign (not a hyphen), so the echo should work correctly.
8839    # The option is referenced via a variable to avoid confusing sed.
8840    lt_compile=`echo "$ac_compile" | $SED \
8841    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843    -e 's:$: $lt_compiler_flag:'`
8844    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845    (eval "$lt_compile" 2>conftest.err)
8846    ac_status=$?
8847    cat conftest.err >&5
8848    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849    if (exit $ac_status) && test -s "$ac_outfile"; then
8850      # The compiler can only warn and ignore the option if not recognized
8851      # So say no if there are warnings other than the usual output.
8852      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855        lt_cv_prog_compiler_pic_works=yes
8856      fi
8857    fi
8858    $RM conftest*
8859
8860 fi
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8863
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865     case $lt_prog_compiler_pic in
8866      "" | " "*) ;;
8867      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868      esac
8869 else
8870     lt_prog_compiler_pic=
8871      lt_prog_compiler_can_build_shared=no
8872 fi
8873
8874 fi
8875
8876
8877
8878
8879
8880
8881 #
8882 # Check to make sure the static flag actually works.
8883 #
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888   $as_echo_n "(cached) " >&6
8889 else
8890   lt_cv_prog_compiler_static_works=no
8891    save_LDFLAGS="$LDFLAGS"
8892    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895      # The linker can only warn and ignore the option if not recognized
8896      # So say no if there are warnings
8897      if test -s conftest.err; then
8898        # Append any errors to the config.log.
8899        cat conftest.err 1>&5
8900        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902        if diff conftest.exp conftest.er2 >/dev/null; then
8903          lt_cv_prog_compiler_static_works=yes
8904        fi
8905      else
8906        lt_cv_prog_compiler_static_works=yes
8907      fi
8908    fi
8909    $RM -r conftest*
8910    LDFLAGS="$save_LDFLAGS"
8911
8912 fi
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8915
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8917     :
8918 else
8919     lt_prog_compiler_static=
8920 fi
8921
8922
8923
8924
8925
8926
8927
8928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931   $as_echo_n "(cached) " >&6
8932 else
8933   lt_cv_prog_compiler_c_o=no
8934    $RM -r conftest 2>/dev/null
8935    mkdir conftest
8936    cd conftest
8937    mkdir out
8938    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939
8940    lt_compiler_flag="-o out/conftest2.$ac_objext"
8941    # Insert the option either (1) after the last *FLAGS variable, or
8942    # (2) before a word containing "conftest.", or (3) at the end.
8943    # Note that $ac_compile itself does not contain backslashes and begins
8944    # with a dollar sign (not a hyphen), so the echo should work correctly.
8945    lt_compile=`echo "$ac_compile" | $SED \
8946    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948    -e 's:$: $lt_compiler_flag:'`
8949    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950    (eval "$lt_compile" 2>out/conftest.err)
8951    ac_status=$?
8952    cat out/conftest.err >&5
8953    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955    then
8956      # The compiler can only warn and ignore the option if not recognized
8957      # So say no if there are warnings
8958      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961        lt_cv_prog_compiler_c_o=yes
8962      fi
8963    fi
8964    chmod u+w . 2>&5
8965    $RM conftest*
8966    # SGI C++ compiler will create directory out/ii_files/ for
8967    # template instantiation
8968    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969    $RM out/* && rmdir out
8970    cd ..
8971    $RM -r conftest
8972    $RM conftest*
8973
8974 fi
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977
8978
8979
8980
8981
8982
8983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986   $as_echo_n "(cached) " >&6
8987 else
8988   lt_cv_prog_compiler_c_o=no
8989    $RM -r conftest 2>/dev/null
8990    mkdir conftest
8991    cd conftest
8992    mkdir out
8993    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8994
8995    lt_compiler_flag="-o out/conftest2.$ac_objext"
8996    # Insert the option either (1) after the last *FLAGS variable, or
8997    # (2) before a word containing "conftest.", or (3) at the end.
8998    # Note that $ac_compile itself does not contain backslashes and begins
8999    # with a dollar sign (not a hyphen), so the echo should work correctly.
9000    lt_compile=`echo "$ac_compile" | $SED \
9001    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003    -e 's:$: $lt_compiler_flag:'`
9004    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005    (eval "$lt_compile" 2>out/conftest.err)
9006    ac_status=$?
9007    cat out/conftest.err >&5
9008    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010    then
9011      # The compiler can only warn and ignore the option if not recognized
9012      # So say no if there are warnings
9013      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016        lt_cv_prog_compiler_c_o=yes
9017      fi
9018    fi
9019    chmod u+w . 2>&5
9020    $RM conftest*
9021    # SGI C++ compiler will create directory out/ii_files/ for
9022    # template instantiation
9023    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024    $RM out/* && rmdir out
9025    cd ..
9026    $RM -r conftest
9027    $RM conftest*
9028
9029 fi
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9032
9033
9034
9035
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038   # do not overwrite the value of need_locks provided by the user
9039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041   hard_links=yes
9042   $RM conftest*
9043   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044   touch conftest.a
9045   ln conftest.a conftest.b 2>&5 || hard_links=no
9046   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049   if test "$hard_links" = no; then
9050     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052     need_locks=warn
9053   fi
9054 else
9055   need_locks=no
9056 fi
9057
9058
9059
9060
9061
9062
9063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9065
9066   runpath_var=
9067   allow_undefined_flag=
9068   always_export_symbols=no
9069   archive_cmds=
9070   archive_expsym_cmds=
9071   compiler_needs_object=no
9072   enable_shared_with_static_runtimes=no
9073   export_dynamic_flag_spec=
9074   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075   hardcode_automatic=no
9076   hardcode_direct=no
9077   hardcode_direct_absolute=no
9078   hardcode_libdir_flag_spec=
9079   hardcode_libdir_flag_spec_ld=
9080   hardcode_libdir_separator=
9081   hardcode_minus_L=no
9082   hardcode_shlibpath_var=unsupported
9083   inherit_rpath=no
9084   link_all_deplibs=unknown
9085   module_cmds=
9086   module_expsym_cmds=
9087   old_archive_from_new_cmds=
9088   old_archive_from_expsyms_cmds=
9089   thread_safe_flag_spec=
9090   whole_archive_flag_spec=
9091   # include_expsyms should be a list of space-separated symbols to be *always*
9092   # included in the symbol list
9093   include_expsyms=
9094   # exclude_expsyms can be an extended regexp of symbols to exclude
9095   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097   # as well as any symbol that contains `d'.
9098   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100   # platforms (ab)use it in PIC code, but their linkers get confused if
9101   # the symbol is explicitly referenced.  Since portable code cannot
9102   # rely on this symbol name, it's probably fine to never include it in
9103   # preloaded symbol tables.
9104   # Exclude shared library initialization/finalization symbols.
9105   extract_expsyms_cmds=
9106
9107   case $host_os in
9108   cygwin* | mingw* | pw32* | cegcc*)
9109     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110     # When not using gcc, we currently assume that we are using
9111     # Microsoft Visual C++.
9112     if test "$GCC" != yes; then
9113       with_gnu_ld=no
9114     fi
9115     ;;
9116   interix*)
9117     # we just hope/assume this is gcc and not c89 (= MSVC++)
9118     with_gnu_ld=yes
9119     ;;
9120   openbsd*)
9121     with_gnu_ld=no
9122     ;;
9123   esac
9124
9125   ld_shlibs=yes
9126
9127   # On some targets, GNU ld is compatible enough with the native linker
9128   # that we're better off using the native interface for both.
9129   lt_use_gnu_ld_interface=no
9130   if test "$with_gnu_ld" = yes; then
9131     case $host_os in
9132       aix*)
9133         # The AIX port of GNU ld has always aspired to compatibility
9134         # with the native linker.  However, as the warning in the GNU ld
9135         # block says, versions before 2.19.5* couldn't really create working
9136         # shared libraries, regardless of the interface used.
9137         case `$LD -v 2>&1` in
9138           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9141           *)
9142             lt_use_gnu_ld_interface=yes
9143             ;;
9144         esac
9145         ;;
9146       *)
9147         lt_use_gnu_ld_interface=yes
9148         ;;
9149     esac
9150   fi
9151
9152   if test "$lt_use_gnu_ld_interface" = yes; then
9153     # If archive_cmds runs LD, not CC, wlarc should be empty
9154     wlarc='${wl}'
9155
9156     # Set some defaults for GNU ld with shared library support. These
9157     # are reset later if shared libraries are not supported. Putting them
9158     # here allows them to be overridden if necessary.
9159     runpath_var=LD_RUN_PATH
9160     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161     export_dynamic_flag_spec='${wl}--export-dynamic'
9162     # ancient GNU ld didn't support --whole-archive et. al.
9163     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165     else
9166       whole_archive_flag_spec=
9167     fi
9168     supports_anon_versioning=no
9169     case `$LD -v 2>&1` in
9170       *GNU\ gold*) supports_anon_versioning=yes ;;
9171       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174       *\ 2.11.*) ;; # other 2.11 versions
9175       *) supports_anon_versioning=yes ;;
9176     esac
9177
9178     # See if GNU ld supports shared libraries.
9179     case $host_os in
9180     aix[3-9]*)
9181       # On AIX/PPC, the GNU linker is very broken
9182       if test "$host_cpu" != ia64; then
9183         ld_shlibs=no
9184         cat <<_LT_EOF 1>&2
9185
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support.  If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9192
9193 _LT_EOF
9194       fi
9195       ;;
9196
9197     amigaos*)
9198       case $host_cpu in
9199       powerpc)
9200             # see comment about AmigaOS4 .so support
9201             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202             archive_expsym_cmds=''
9203         ;;
9204       m68k)
9205             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9206             hardcode_libdir_flag_spec='-L$libdir'
9207             hardcode_minus_L=yes
9208         ;;
9209       esac
9210       ;;
9211
9212     beos*)
9213       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214         allow_undefined_flag=unsupported
9215         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216         # support --undefined.  This deserves some investigation.  FIXME
9217         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218       else
9219         ld_shlibs=no
9220       fi
9221       ;;
9222
9223     cygwin* | mingw* | pw32* | cegcc*)
9224       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225       # as there is no search path for DLLs.
9226       hardcode_libdir_flag_spec='-L$libdir'
9227       export_dynamic_flag_spec='${wl}--export-all-symbols'
9228       allow_undefined_flag=unsupported
9229       always_export_symbols=no
9230       enable_shared_with_static_runtimes=yes
9231       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9232
9233       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235         # If the export-symbols file already is a .def file (1st line
9236         # is EXPORTS), use it as is; otherwise, prepend...
9237         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238           cp $export_symbols $output_objdir/$soname.def;
9239         else
9240           echo EXPORTS > $output_objdir/$soname.def;
9241           cat $export_symbols >> $output_objdir/$soname.def;
9242         fi~
9243         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244       else
9245         ld_shlibs=no
9246       fi
9247       ;;
9248
9249     haiku*)
9250       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251       link_all_deplibs=yes
9252       ;;
9253
9254     interix[3-9]*)
9255       hardcode_direct=no
9256       hardcode_shlibpath_var=no
9257       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258       export_dynamic_flag_spec='${wl}-E'
9259       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260       # Instead, shared libraries are loaded at an image base (0x10000000 by
9261       # default) and relocated if they conflict, which is a slow very memory
9262       # consuming and fragmenting process.  To avoid this, we pick a random,
9263       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9265       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9267       ;;
9268
9269     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270       tmp_diet=no
9271       if test "$host_os" = linux-dietlibc; then
9272         case $cc_basename in
9273           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9274         esac
9275       fi
9276       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277          && test "$tmp_diet" = no
9278       then
9279         tmp_addflag=
9280         tmp_sharedflag='-shared'
9281         case $cc_basename,$host_cpu in
9282         pgcc*)                          # Portland Group C compiler
9283           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9284           tmp_addflag=' $pic_flag'
9285           ;;
9286         pgf77* | pgf90* | pgf95* | pgfortran*)
9287                                         # Portland Group f77 and f90 compilers
9288           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9289           tmp_addflag=' $pic_flag -Mnomain' ;;
9290         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9291           tmp_addflag=' -i_dynamic' ;;
9292         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9293           tmp_addflag=' -i_dynamic -nofor_main' ;;
9294         ifc* | ifort*)                  # Intel Fortran compiler
9295           tmp_addflag=' -nofor_main' ;;
9296         lf95*)                          # Lahey Fortran 8.1
9297           whole_archive_flag_spec=
9298           tmp_sharedflag='--shared' ;;
9299         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300           tmp_sharedflag='-qmkshrobj'
9301           tmp_addflag= ;;
9302         nvcc*)  # Cuda Compiler Driver 2.2
9303           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9304           compiler_needs_object=yes
9305           ;;
9306         esac
9307         case `$CC -V 2>&1 | sed 5q` in
9308         *Sun\ C*)                       # Sun C 5.9
9309           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9310           compiler_needs_object=yes
9311           tmp_sharedflag='-G' ;;
9312         *Sun\ F*)                       # Sun Fortran 8.3
9313           tmp_sharedflag='-G' ;;
9314         esac
9315         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316
9317         if test "x$supports_anon_versioning" = xyes; then
9318           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320             echo "local: *; };" >> $output_objdir/$libname.ver~
9321             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9322         fi
9323
9324         case $cc_basename in
9325         xlf* | bgf* | bgxlf* | mpixlf*)
9326           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328           hardcode_libdir_flag_spec=
9329           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331           if test "x$supports_anon_versioning" = xyes; then
9332             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334               echo "local: *; };" >> $output_objdir/$libname.ver~
9335               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9336           fi
9337           ;;
9338         esac
9339       else
9340         ld_shlibs=no
9341       fi
9342       ;;
9343
9344     netbsd*)
9345       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347         wlarc=
9348       else
9349         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9351       fi
9352       ;;
9353
9354     solaris*)
9355       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356         ld_shlibs=no
9357         cat <<_LT_EOF 1>&2
9358
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems.  Therefore, libtool
9361 *** is disabling shared libraries support.  We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer.  Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9365
9366 _LT_EOF
9367       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370       else
9371         ld_shlibs=no
9372       fi
9373       ;;
9374
9375     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376       case `$LD -v 2>&1` in
9377         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378         ld_shlibs=no
9379         cat <<_LT_EOF 1>&2
9380
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9383 *** is disabling shared libraries support.  We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9387
9388 _LT_EOF
9389         ;;
9390         *)
9391           # For security reasons, it is highly recommended that you always
9392           # use absolute paths for naming shared libraries, and exclude the
9393           # DT_RUNPATH tag from executables and libraries.  But doing so
9394           # requires that you compile everything twice, which is a pain.
9395           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399           else
9400             ld_shlibs=no
9401           fi
9402         ;;
9403       esac
9404       ;;
9405
9406     sunos4*)
9407       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408       wlarc=
9409       hardcode_direct=yes
9410       hardcode_shlibpath_var=no
9411       ;;
9412
9413     *)
9414       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417       else
9418         ld_shlibs=no
9419       fi
9420       ;;
9421     esac
9422
9423     if test "$ld_shlibs" = no; then
9424       runpath_var=
9425       hardcode_libdir_flag_spec=
9426       export_dynamic_flag_spec=
9427       whole_archive_flag_spec=
9428     fi
9429   else
9430     # PORTME fill in a description of your system's linker (not GNU ld)
9431     case $host_os in
9432     aix3*)
9433       allow_undefined_flag=unsupported
9434       always_export_symbols=yes
9435       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9436       # Note: this linker hardcodes the directories in LIBPATH if there
9437       # are no directories specified by -L.
9438       hardcode_minus_L=yes
9439       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440         # Neither direct hardcoding nor static linking is supported with a
9441         # broken collect2.
9442         hardcode_direct=unsupported
9443       fi
9444       ;;
9445
9446     aix[4-9]*)
9447       if test "$host_cpu" = ia64; then
9448         # On IA64, the linker does run time linking by default, so we don't
9449         # have to do anything special.
9450         aix_use_runtimelinking=no
9451         exp_sym_flag='-Bexport'
9452         no_entry_flag=""
9453       else
9454         # If we're using GNU nm, then we don't want the "-C" option.
9455         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456         # Also, AIX nm treats weak defined symbols like other global
9457         # defined symbols, whereas GNU nm marks them as "W".
9458         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9460         else
9461           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9462         fi
9463         aix_use_runtimelinking=no
9464
9465         # Test if we are trying to use run time linking or normal
9466         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467         # need to do runtime linking.
9468         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469           for ld_flag in $LDFLAGS; do
9470           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471             aix_use_runtimelinking=yes
9472             break
9473           fi
9474           done
9475           ;;
9476         esac
9477
9478         exp_sym_flag='-bexport'
9479         no_entry_flag='-bnoentry'
9480       fi
9481
9482       # When large executables or shared objects are built, AIX ld can
9483       # have problems creating the table of contents.  If linking a library
9484       # or program results in "error TOC overflow" add -mminimal-toc to
9485       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9486       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9487
9488       archive_cmds=''
9489       hardcode_direct=yes
9490       hardcode_direct_absolute=yes
9491       hardcode_libdir_separator=':'
9492       link_all_deplibs=yes
9493       file_list_spec='${wl}-f,'
9494
9495       if test "$GCC" = yes; then
9496         case $host_os in aix4.[012]|aix4.[012].*)
9497         # We only want to do this on AIX 4.2 and lower, the check
9498         # below for broken collect2 doesn't work under 4.3+
9499           collect2name=`${CC} -print-prog-name=collect2`
9500           if test -f "$collect2name" &&
9501            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502           then
9503           # We have reworked collect2
9504           :
9505           else
9506           # We have old collect2
9507           hardcode_direct=unsupported
9508           # It fails to find uninstalled libraries when the uninstalled
9509           # path is not listed in the libpath.  Setting hardcode_minus_L
9510           # to unsupported forces relinking
9511           hardcode_minus_L=yes
9512           hardcode_libdir_flag_spec='-L$libdir'
9513           hardcode_libdir_separator=
9514           fi
9515           ;;
9516         esac
9517         shared_flag='-shared'
9518         if test "$aix_use_runtimelinking" = yes; then
9519           shared_flag="$shared_flag "'${wl}-G'
9520         fi
9521       else
9522         # not using gcc
9523         if test "$host_cpu" = ia64; then
9524         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525         # chokes on -Wl,-G. The following line is correct:
9526           shared_flag='-G'
9527         else
9528           if test "$aix_use_runtimelinking" = yes; then
9529             shared_flag='${wl}-G'
9530           else
9531             shared_flag='${wl}-bM:SRE'
9532           fi
9533         fi
9534       fi
9535
9536       export_dynamic_flag_spec='${wl}-bexpall'
9537       # It seems that -bexpall does not export symbols beginning with
9538       # underscore (_), so it is better to generate a list of symbols to export.
9539       always_export_symbols=yes
9540       if test "$aix_use_runtimelinking" = yes; then
9541         # Warning - without using the other runtime loading flags (-brtl),
9542         # -berok will link without error, but may produce a broken library.
9543         allow_undefined_flag='-berok'
9544         # Determine the default libpath from the value encoded in an
9545         # empty executable.
9546         if test x$gcc_no_link = xyes; then
9547   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9548 fi
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h.  */
9551
9552 int
9553 main ()
9554 {
9555
9556   ;
9557   return 0;
9558 }
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561
9562 lt_aix_libpath_sed='
9563     /Import File Strings/,/^$/ {
9564         /^0/ {
9565             s/^0  *\(.*\)$/\1/
9566             p
9567         }
9568     }'
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573 fi
9574 fi
9575 rm -f core conftest.err conftest.$ac_objext \
9576     conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9578
9579         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9581       else
9582         if test "$host_cpu" = ia64; then
9583           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584           allow_undefined_flag="-z nodefs"
9585           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9586         else
9587          # Determine the default libpath from the value encoded in an
9588          # empty executable.
9589          if test x$gcc_no_link = xyes; then
9590   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9591 fi
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h.  */
9594
9595 int
9596 main ()
9597 {
9598
9599   ;
9600   return 0;
9601 }
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604
9605 lt_aix_libpath_sed='
9606     /Import File Strings/,/^$/ {
9607         /^0/ {
9608             s/^0  *\(.*\)$/\1/
9609             p
9610         }
9611     }'
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616 fi
9617 fi
9618 rm -f core conftest.err conftest.$ac_objext \
9619     conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9621
9622          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623           # Warning - without using the other run time loading flags,
9624           # -berok will link without error, but may produce a broken library.
9625           no_undefined_flag=' ${wl}-bernotok'
9626           allow_undefined_flag=' ${wl}-berok'
9627           if test "$with_gnu_ld" = yes; then
9628             # We only use this code for GNU lds that support --whole-archive.
9629             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630           else
9631             # Exported symbols can be pulled into shared objects from archives
9632             whole_archive_flag_spec='$convenience'
9633           fi
9634           archive_cmds_need_lc=yes
9635           # This is similar to how AIX traditionally builds its shared libraries.
9636           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9637         fi
9638       fi
9639       ;;
9640
9641     amigaos*)
9642       case $host_cpu in
9643       powerpc)
9644             # see comment about AmigaOS4 .so support
9645             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646             archive_expsym_cmds=''
9647         ;;
9648       m68k)
9649             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9650             hardcode_libdir_flag_spec='-L$libdir'
9651             hardcode_minus_L=yes
9652         ;;
9653       esac
9654       ;;
9655
9656     bsdi[45]*)
9657       export_dynamic_flag_spec=-rdynamic
9658       ;;
9659
9660     cygwin* | mingw* | pw32* | cegcc*)
9661       # When not using gcc, we currently assume that we are using
9662       # Microsoft Visual C++.
9663       # hardcode_libdir_flag_spec is actually meaningless, as there is
9664       # no search path for DLLs.
9665       hardcode_libdir_flag_spec=' '
9666       allow_undefined_flag=unsupported
9667       # Tell ltmain to make .lib files, not .a files.
9668       libext=lib
9669       # Tell ltmain to make .dll files, not .so files.
9670       shrext_cmds=".dll"
9671       # FIXME: Setting linknames here is a bad hack.
9672       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673       # The linker will automatically build a .lib file if we build a DLL.
9674       old_archive_from_new_cmds='true'
9675       # FIXME: Should let the user specify the lib program.
9676       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677       fix_srcfile_path='`cygpath -w "$srcfile"`'
9678       enable_shared_with_static_runtimes=yes
9679       ;;
9680
9681     darwin* | rhapsody*)
9682
9683
9684   archive_cmds_need_lc=no
9685   hardcode_direct=no
9686   hardcode_automatic=yes
9687   hardcode_shlibpath_var=unsupported
9688   if test "$lt_cv_ld_force_load" = "yes"; then
9689     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9690   else
9691     whole_archive_flag_spec=''
9692   fi
9693   link_all_deplibs=yes
9694   allow_undefined_flag="$_lt_dar_allow_undefined"
9695   case $cc_basename in
9696      ifort*) _lt_dar_can_shared=yes ;;
9697      *) _lt_dar_can_shared=$GCC ;;
9698   esac
9699   if test "$_lt_dar_can_shared" = "yes"; then
9700     output_verbose_link_cmd=func_echo_all
9701     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9704     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9705
9706   else
9707   ld_shlibs=no
9708   fi
9709
9710       ;;
9711
9712     dgux*)
9713       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714       hardcode_libdir_flag_spec='-L$libdir'
9715       hardcode_shlibpath_var=no
9716       ;;
9717
9718     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719     # support.  Future versions do this automatically, but an explicit c++rt0.o
9720     # does not break anything, and helps significantly (at the cost of a little
9721     # extra space).
9722     freebsd2.2*)
9723       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724       hardcode_libdir_flag_spec='-R$libdir'
9725       hardcode_direct=yes
9726       hardcode_shlibpath_var=no
9727       ;;
9728
9729     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730     freebsd2.*)
9731       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732       hardcode_direct=yes
9733       hardcode_minus_L=yes
9734       hardcode_shlibpath_var=no
9735       ;;
9736
9737     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738     freebsd* | dragonfly*)
9739       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740       hardcode_libdir_flag_spec='-R$libdir'
9741       hardcode_direct=yes
9742       hardcode_shlibpath_var=no
9743       ;;
9744
9745     hpux9*)
9746       if test "$GCC" = yes; then
9747         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9748       else
9749         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9750       fi
9751       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752       hardcode_libdir_separator=:
9753       hardcode_direct=yes
9754
9755       # hardcode_minus_L: Not really in the search PATH,
9756       # but as the default location of the library.
9757       hardcode_minus_L=yes
9758       export_dynamic_flag_spec='${wl}-E'
9759       ;;
9760
9761     hpux10*)
9762       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764       else
9765         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9766       fi
9767       if test "$with_gnu_ld" = no; then
9768         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769         hardcode_libdir_flag_spec_ld='+b $libdir'
9770         hardcode_libdir_separator=:
9771         hardcode_direct=yes
9772         hardcode_direct_absolute=yes
9773         export_dynamic_flag_spec='${wl}-E'
9774         # hardcode_minus_L: Not really in the search PATH,
9775         # but as the default location of the library.
9776         hardcode_minus_L=yes
9777       fi
9778       ;;
9779
9780     hpux11*)
9781       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782         case $host_cpu in
9783         hppa*64*)
9784           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9785           ;;
9786         ia64*)
9787           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9788           ;;
9789         *)
9790           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791           ;;
9792         esac
9793       else
9794         case $host_cpu in
9795         hppa*64*)
9796           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797           ;;
9798         ia64*)
9799           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9800           ;;
9801         *)
9802
9803           # Older versions of the 11.00 compiler do not understand -b yet
9804           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808   $as_echo_n "(cached) " >&6
9809 else
9810   lt_cv_prog_compiler__b=no
9811    save_LDFLAGS="$LDFLAGS"
9812    LDFLAGS="$LDFLAGS -b"
9813    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815      # The linker can only warn and ignore the option if not recognized
9816      # So say no if there are warnings
9817      if test -s conftest.err; then
9818        # Append any errors to the config.log.
9819        cat conftest.err 1>&5
9820        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822        if diff conftest.exp conftest.er2 >/dev/null; then
9823          lt_cv_prog_compiler__b=yes
9824        fi
9825      else
9826        lt_cv_prog_compiler__b=yes
9827      fi
9828    fi
9829    $RM -r conftest*
9830    LDFLAGS="$save_LDFLAGS"
9831
9832 fi
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9835
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9840 fi
9841
9842           ;;
9843         esac
9844       fi
9845       if test "$with_gnu_ld" = no; then
9846         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847         hardcode_libdir_separator=:
9848
9849         case $host_cpu in
9850         hppa*64*|ia64*)
9851           hardcode_direct=no
9852           hardcode_shlibpath_var=no
9853           ;;
9854         *)
9855           hardcode_direct=yes
9856           hardcode_direct_absolute=yes
9857           export_dynamic_flag_spec='${wl}-E'
9858
9859           # hardcode_minus_L: Not really in the search PATH,
9860           # but as the default location of the library.
9861           hardcode_minus_L=yes
9862           ;;
9863         esac
9864       fi
9865       ;;
9866
9867     irix5* | irix6* | nonstopux*)
9868       if test "$GCC" = yes; then
9869         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9870         # Try to use the -exported_symbol ld option, if it does not
9871         # work, assume that -exports_file does not work either and
9872         # implicitly export all symbols.
9873         save_LDFLAGS="$LDFLAGS"
9874         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875         if test x$gcc_no_link = xyes; then
9876   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9877 fi
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h.  */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9884
9885 fi
9886 rm -f core conftest.err conftest.$ac_objext \
9887     conftest$ac_exeext conftest.$ac_ext
9888         LDFLAGS="$save_LDFLAGS"
9889       else
9890         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9891         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9892       fi
9893       archive_cmds_need_lc='no'
9894       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895       hardcode_libdir_separator=:
9896       inherit_rpath=yes
9897       link_all_deplibs=yes
9898       ;;
9899
9900     netbsd*)
9901       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9903       else
9904         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9905       fi
9906       hardcode_libdir_flag_spec='-R$libdir'
9907       hardcode_direct=yes
9908       hardcode_shlibpath_var=no
9909       ;;
9910
9911     newsos6)
9912       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913       hardcode_direct=yes
9914       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915       hardcode_libdir_separator=:
9916       hardcode_shlibpath_var=no
9917       ;;
9918
9919     *nto* | *qnx*)
9920       ;;
9921
9922     openbsd*)
9923       if test -f /usr/libexec/ld.so; then
9924         hardcode_direct=yes
9925         hardcode_shlibpath_var=no
9926         hardcode_direct_absolute=yes
9927         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931           export_dynamic_flag_spec='${wl}-E'
9932         else
9933           case $host_os in
9934            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936              hardcode_libdir_flag_spec='-R$libdir'
9937              ;;
9938            *)
9939              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941              ;;
9942           esac
9943         fi
9944       else
9945         ld_shlibs=no
9946       fi
9947       ;;
9948
9949     os2*)
9950       hardcode_libdir_flag_spec='-L$libdir'
9951       hardcode_minus_L=yes
9952       allow_undefined_flag=unsupported
9953       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9954       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9955       ;;
9956
9957     osf3*)
9958       if test "$GCC" = yes; then
9959         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9961       else
9962         allow_undefined_flag=' -expect_unresolved \*'
9963         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9964       fi
9965       archive_cmds_need_lc='no'
9966       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967       hardcode_libdir_separator=:
9968       ;;
9969
9970     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9971       if test "$GCC" = yes; then
9972         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9974         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975       else
9976         allow_undefined_flag=' -expect_unresolved \*'
9977         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9978         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9979         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9980
9981         # Both c and cxx compiler support -rpath directly
9982         hardcode_libdir_flag_spec='-rpath $libdir'
9983       fi
9984       archive_cmds_need_lc='no'
9985       hardcode_libdir_separator=:
9986       ;;
9987
9988     solaris*)
9989       no_undefined_flag=' -z defs'
9990       if test "$GCC" = yes; then
9991         wlarc='${wl}'
9992         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995       else
9996         case `$CC -V 2>&1` in
9997         *"Compilers 5.0"*)
9998           wlarc=''
9999           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10002           ;;
10003         *)
10004           wlarc='${wl}'
10005           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008           ;;
10009         esac
10010       fi
10011       hardcode_libdir_flag_spec='-R$libdir'
10012       hardcode_shlibpath_var=no
10013       case $host_os in
10014       solaris2.[0-5] | solaris2.[0-5].*) ;;
10015       *)
10016         # The compiler driver will combine and reorder linker options,
10017         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10018         # but is careful enough not to reorder.
10019         # Supported since Solaris 2.6 (maybe 2.5.1?)
10020         if test "$GCC" = yes; then
10021           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022         else
10023           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10024         fi
10025         ;;
10026       esac
10027       link_all_deplibs=yes
10028       ;;
10029
10030     sunos4*)
10031       if test "x$host_vendor" = xsequent; then
10032         # Use $CC to link under sequent, because it throws in some extra .o
10033         # files that make .init and .fini sections work.
10034         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035       else
10036         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10037       fi
10038       hardcode_libdir_flag_spec='-L$libdir'
10039       hardcode_direct=yes
10040       hardcode_minus_L=yes
10041       hardcode_shlibpath_var=no
10042       ;;
10043
10044     sysv4)
10045       case $host_vendor in
10046         sni)
10047           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048           hardcode_direct=yes # is this really true???
10049         ;;
10050         siemens)
10051           ## LD is ld it makes a PLAMLIB
10052           ## CC just makes a GrossModule.
10053           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054           reload_cmds='$CC -r -o $output$reload_objs'
10055           hardcode_direct=no
10056         ;;
10057         motorola)
10058           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10060         ;;
10061       esac
10062       runpath_var='LD_RUN_PATH'
10063       hardcode_shlibpath_var=no
10064       ;;
10065
10066     sysv4.3*)
10067       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068       hardcode_shlibpath_var=no
10069       export_dynamic_flag_spec='-Bexport'
10070       ;;
10071
10072     sysv4*MP*)
10073       if test -d /usr/nec; then
10074         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075         hardcode_shlibpath_var=no
10076         runpath_var=LD_RUN_PATH
10077         hardcode_runpath_var=yes
10078         ld_shlibs=yes
10079       fi
10080       ;;
10081
10082     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083       no_undefined_flag='${wl}-z,text'
10084       archive_cmds_need_lc=no
10085       hardcode_shlibpath_var=no
10086       runpath_var='LD_RUN_PATH'
10087
10088       if test "$GCC" = yes; then
10089         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091       else
10092         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094       fi
10095       ;;
10096
10097     sysv5* | sco3.2v5* | sco5v6*)
10098       # Note: We can NOT use -z defs as we might desire, because we do not
10099       # link with -lc, and that would cause any symbols used from libc to
10100       # always be unresolved, which means just about no library would
10101       # ever link correctly.  If we're not using GNU ld we use -z text
10102       # though, which does catch some bad symbols but isn't as heavy-handed
10103       # as -z defs.
10104       no_undefined_flag='${wl}-z,text'
10105       allow_undefined_flag='${wl}-z,nodefs'
10106       archive_cmds_need_lc=no
10107       hardcode_shlibpath_var=no
10108       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109       hardcode_libdir_separator=':'
10110       link_all_deplibs=yes
10111       export_dynamic_flag_spec='${wl}-Bexport'
10112       runpath_var='LD_RUN_PATH'
10113
10114       if test "$GCC" = yes; then
10115         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117       else
10118         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120       fi
10121       ;;
10122
10123     uts4*)
10124       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125       hardcode_libdir_flag_spec='-L$libdir'
10126       hardcode_shlibpath_var=no
10127       ;;
10128
10129     *)
10130       ld_shlibs=no
10131       ;;
10132     esac
10133
10134     if test x$host_vendor = xsni; then
10135       case $host in
10136       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137         export_dynamic_flag_spec='${wl}-Blargedynsym'
10138         ;;
10139       esac
10140     fi
10141   fi
10142
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10146
10147 with_gnu_ld=$with_gnu_ld
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163 #
10164 # Do we need to explicitly link libc?
10165 #
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168   # Assume -lc should be added
10169   archive_cmds_need_lc=yes
10170
10171   if test "$enable_shared" = yes && test "$GCC" = yes; then
10172     case $archive_cmds in
10173     *'~'*)
10174       # FIXME: we may have to deal with multi-command sequences.
10175       ;;
10176     '$CC '*)
10177       # Test whether the compiler implicitly links with -lc since on some
10178       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179       # to ld, don't add -lc before -lgcc.
10180       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183   $as_echo_n "(cached) " >&6
10184 else
10185   $RM conftest*
10186         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10187
10188         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189   (eval $ac_compile) 2>&5
10190   ac_status=$?
10191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192   test $ac_status = 0; } 2>conftest.err; then
10193           soname=conftest
10194           lib=conftest
10195           libobjs=conftest.$ac_objext
10196           deplibs=
10197           wl=$lt_prog_compiler_wl
10198           pic_flag=$lt_prog_compiler_pic
10199           compiler_flags=-v
10200           linker_flags=-v
10201           verstring=
10202           output_objdir=.
10203           libname=conftest
10204           lt_save_allow_undefined_flag=$allow_undefined_flag
10205           allow_undefined_flag=
10206           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208   ac_status=$?
10209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210   test $ac_status = 0; }
10211           then
10212             lt_cv_archive_cmds_need_lc=no
10213           else
10214             lt_cv_archive_cmds_need_lc=yes
10215           fi
10216           allow_undefined_flag=$lt_save_allow_undefined_flag
10217         else
10218           cat conftest.err 1>&5
10219         fi
10220         $RM conftest*
10221
10222 fi
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10226       ;;
10227     esac
10228   fi
10229   ;;
10230 esac
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10390
10391 if test "$GCC" = yes; then
10392   case $host_os in
10393     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394     *) lt_awk_arg="/^libraries:/" ;;
10395   esac
10396   case $host_os in
10397     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398     *) lt_sed_strip_eq="s,=/,/,g" ;;
10399   esac
10400   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401   case $lt_search_path_spec in
10402   *\;*)
10403     # if the path contains ";" then we assume it to be the separator
10404     # otherwise default to the standard path separator (i.e. ":") - it is
10405     # assumed that no part of a normal pathname contains ";" but that should
10406     # okay in the real world where ";" in dirpaths is itself problematic.
10407     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10408     ;;
10409   *)
10410     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10411     ;;
10412   esac
10413   # Ok, now we have the path, separated by spaces, we can step through it
10414   # and add multilib dir if necessary.
10415   lt_tmp_lt_search_path_spec=
10416   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417   for lt_sys_path in $lt_search_path_spec; do
10418     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420     else
10421       test -d "$lt_sys_path" && \
10422         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10423     fi
10424   done
10425   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427   lt_foo="";
10428   lt_count=0;
10429   for (lt_i = NF; lt_i > 0; lt_i--) {
10430     if ($lt_i != "" && $lt_i != ".") {
10431       if ($lt_i == "..") {
10432         lt_count++;
10433       } else {
10434         if (lt_count == 0) {
10435           lt_foo="/" $lt_i lt_foo;
10436         } else {
10437           lt_count--;
10438         }
10439       }
10440     }
10441   }
10442   if (lt_foo != "") { lt_freq[lt_foo]++; }
10443   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10444 }'`
10445   # AWK program above erroneously prepends '/' to C:/dos/paths
10446   # for these hosts.
10447   case $host_os in
10448     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450   esac
10451   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10454 fi
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10470
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10474
10475 case $host_os in
10476 aix3*)
10477   version_type=linux
10478   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479   shlibpath_var=LIBPATH
10480
10481   # AIX 3 has no versioning support, so we append a major version to the name.
10482   soname_spec='${libname}${release}${shared_ext}$major'
10483   ;;
10484
10485 aix[4-9]*)
10486   version_type=linux
10487   need_lib_prefix=no
10488   need_version=no
10489   hardcode_into_libs=yes
10490   if test "$host_cpu" = ia64; then
10491     # AIX 5 supports IA64
10492     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493     shlibpath_var=LD_LIBRARY_PATH
10494   else
10495     # With GCC up to 2.95.x, collect2 would create an import file
10496     # for dependence libraries.  The import file would start with
10497     # the line `#! .'.  This would cause the generated library to
10498     # depend on `.', always an invalid library.  This was fixed in
10499     # development snapshots of GCC prior to 3.0.
10500     case $host_os in
10501       aix4 | aix4.[01] | aix4.[01].*)
10502       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503            echo ' yes '
10504            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10505         :
10506       else
10507         can_build_shared=no
10508       fi
10509       ;;
10510     esac
10511     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512     # soname into executable. Probably we can add versioning support to
10513     # collect2, so additional links can be useful in future.
10514     if test "$aix_use_runtimelinking" = yes; then
10515       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516       # instead of lib<name>.a to let people know that these are not
10517       # typical AIX shared libraries.
10518       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519     else
10520       # We preserve .a as extension for shared libraries through AIX4.2
10521       # and later when we are not doing run time linking.
10522       library_names_spec='${libname}${release}.a $libname.a'
10523       soname_spec='${libname}${release}${shared_ext}$major'
10524     fi
10525     shlibpath_var=LIBPATH
10526   fi
10527   ;;
10528
10529 amigaos*)
10530   case $host_cpu in
10531   powerpc)
10532     # Since July 2007 AmigaOS4 officially supports .so libraries.
10533     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535     ;;
10536   m68k)
10537     library_names_spec='$libname.ixlibrary $libname.a'
10538     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10540     ;;
10541   esac
10542   ;;
10543
10544 beos*)
10545   library_names_spec='${libname}${shared_ext}'
10546   dynamic_linker="$host_os ld.so"
10547   shlibpath_var=LIBRARY_PATH
10548   ;;
10549
10550 bsdi[45]*)
10551   version_type=linux
10552   need_version=no
10553   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554   soname_spec='${libname}${release}${shared_ext}$major'
10555   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556   shlibpath_var=LD_LIBRARY_PATH
10557   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559   # the default ld.so.conf also contains /usr/contrib/lib and
10560   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561   # libtool to hard-code these into programs
10562   ;;
10563
10564 cygwin* | mingw* | pw32* | cegcc*)
10565   version_type=windows
10566   shrext_cmds=".dll"
10567   need_version=no
10568   need_lib_prefix=no
10569
10570   case $GCC,$host_os in
10571   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572     library_names_spec='$libname.dll.a'
10573     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574     postinstall_cmds='base_file=`basename \${file}`~
10575       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576       dldir=$destdir/`dirname \$dlpath`~
10577       test -d \$dldir || mkdir -p \$dldir~
10578       $install_prog $dir/$dlname \$dldir/$dlname~
10579       chmod a+x \$dldir/$dlname~
10580       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10582       fi'
10583     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584       dlpath=$dir/\$dldll~
10585        $RM \$dlpath'
10586     shlibpath_overrides_runpath=yes
10587
10588     case $host_os in
10589     cygwin*)
10590       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10592
10593       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10594       ;;
10595     mingw* | cegcc*)
10596       # MinGW DLLs use traditional 'lib' prefix
10597       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598       ;;
10599     pw32*)
10600       # pw32 DLLs use 'pw' prefix rather than 'lib'
10601       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10602       ;;
10603     esac
10604     ;;
10605
10606   *)
10607     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10608     ;;
10609   esac
10610   dynamic_linker='Win32 ld.exe'
10611   # FIXME: first we should search . and the directory the executable is in
10612   shlibpath_var=PATH
10613   ;;
10614
10615 darwin* | rhapsody*)
10616   dynamic_linker="$host_os dyld"
10617   version_type=darwin
10618   need_lib_prefix=no
10619   need_version=no
10620   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621   soname_spec='${libname}${release}${major}$shared_ext'
10622   shlibpath_overrides_runpath=yes
10623   shlibpath_var=DYLD_LIBRARY_PATH
10624   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10625
10626   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10628   ;;
10629
10630 dgux*)
10631   version_type=linux
10632   need_lib_prefix=no
10633   need_version=no
10634   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635   soname_spec='${libname}${release}${shared_ext}$major'
10636   shlibpath_var=LD_LIBRARY_PATH
10637   ;;
10638
10639 freebsd* | dragonfly*)
10640   # DragonFly does not have aout.  When/if they implement a new
10641   # versioning mechanism, adjust this.
10642   if test -x /usr/bin/objformat; then
10643     objformat=`/usr/bin/objformat`
10644   else
10645     case $host_os in
10646     freebsd[23].*) objformat=aout ;;
10647     *) objformat=elf ;;
10648     esac
10649   fi
10650   version_type=freebsd-$objformat
10651   case $version_type in
10652     freebsd-elf*)
10653       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654       need_version=no
10655       need_lib_prefix=no
10656       ;;
10657     freebsd-*)
10658       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659       need_version=yes
10660       ;;
10661   esac
10662   shlibpath_var=LD_LIBRARY_PATH
10663   case $host_os in
10664   freebsd2.*)
10665     shlibpath_overrides_runpath=yes
10666     ;;
10667   freebsd3.[01]* | freebsdelf3.[01]*)
10668     shlibpath_overrides_runpath=yes
10669     hardcode_into_libs=yes
10670     ;;
10671   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673     shlibpath_overrides_runpath=no
10674     hardcode_into_libs=yes
10675     ;;
10676   *) # from 4.6 on, and DragonFly
10677     shlibpath_overrides_runpath=yes
10678     hardcode_into_libs=yes
10679     ;;
10680   esac
10681   ;;
10682
10683 gnu*)
10684   version_type=linux
10685   need_lib_prefix=no
10686   need_version=no
10687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688   soname_spec='${libname}${release}${shared_ext}$major'
10689   shlibpath_var=LD_LIBRARY_PATH
10690   hardcode_into_libs=yes
10691   ;;
10692
10693 haiku*)
10694   version_type=linux
10695   need_lib_prefix=no
10696   need_version=no
10697   dynamic_linker="$host_os runtime_loader"
10698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699   soname_spec='${libname}${release}${shared_ext}$major'
10700   shlibpath_var=LIBRARY_PATH
10701   shlibpath_overrides_runpath=yes
10702   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703   hardcode_into_libs=yes
10704   ;;
10705
10706 hpux9* | hpux10* | hpux11*)
10707   # Give a soname corresponding to the major version so that dld.sl refuses to
10708   # link against other versions.
10709   version_type=sunos
10710   need_lib_prefix=no
10711   need_version=no
10712   case $host_cpu in
10713   ia64*)
10714     shrext_cmds='.so'
10715     hardcode_into_libs=yes
10716     dynamic_linker="$host_os dld.so"
10717     shlibpath_var=LD_LIBRARY_PATH
10718     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720     soname_spec='${libname}${release}${shared_ext}$major'
10721     if test "X$HPUX_IA64_MODE" = X32; then
10722       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723     else
10724       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10725     fi
10726     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10727     ;;
10728   hppa*64*)
10729     shrext_cmds='.sl'
10730     hardcode_into_libs=yes
10731     dynamic_linker="$host_os dld.sl"
10732     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735     soname_spec='${libname}${release}${shared_ext}$major'
10736     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10738     ;;
10739   *)
10740     shrext_cmds='.sl'
10741     dynamic_linker="$host_os dld.sl"
10742     shlibpath_var=SHLIB_PATH
10743     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745     soname_spec='${libname}${release}${shared_ext}$major'
10746     ;;
10747   esac
10748   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749   postinstall_cmds='chmod 555 $lib'
10750   # or fails outright, so override atomically:
10751   install_override_mode=555
10752   ;;
10753
10754 interix[3-9]*)
10755   version_type=linux
10756   need_lib_prefix=no
10757   need_version=no
10758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759   soname_spec='${libname}${release}${shared_ext}$major'
10760   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761   shlibpath_var=LD_LIBRARY_PATH
10762   shlibpath_overrides_runpath=no
10763   hardcode_into_libs=yes
10764   ;;
10765
10766 irix5* | irix6* | nonstopux*)
10767   case $host_os in
10768     nonstopux*) version_type=nonstopux ;;
10769     *)
10770         if test "$lt_cv_prog_gnu_ld" = yes; then
10771                 version_type=linux
10772         else
10773                 version_type=irix
10774         fi ;;
10775   esac
10776   need_lib_prefix=no
10777   need_version=no
10778   soname_spec='${libname}${release}${shared_ext}$major'
10779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780   case $host_os in
10781   irix5* | nonstopux*)
10782     libsuff= shlibsuff=
10783     ;;
10784   *)
10785     case $LD in # libtool.m4 will add one of these switches to LD
10786     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787       libsuff= shlibsuff= libmagic=32-bit;;
10788     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789       libsuff=32 shlibsuff=N32 libmagic=N32;;
10790     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792     *) libsuff= shlibsuff= libmagic=never-match;;
10793     esac
10794     ;;
10795   esac
10796   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797   shlibpath_overrides_runpath=no
10798   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800   hardcode_into_libs=yes
10801   ;;
10802
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805   dynamic_linker=no
10806   ;;
10807
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810   version_type=linux
10811   need_lib_prefix=no
10812   need_version=no
10813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814   soname_spec='${libname}${release}${shared_ext}$major'
10815   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816   shlibpath_var=LD_LIBRARY_PATH
10817   shlibpath_overrides_runpath=no
10818
10819   # Some binutils ld are patched to set DT_RUNPATH
10820   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821   $as_echo_n "(cached) " >&6
10822 else
10823   lt_cv_shlibpath_overrides_runpath=no
10824     save_LDFLAGS=$LDFLAGS
10825     save_libdir=$libdir
10826     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828     if test x$gcc_no_link = xyes; then
10829   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10830 fi
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h.  */
10833
10834 int
10835 main ()
10836 {
10837
10838   ;
10839   return 0;
10840 }
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844   lt_cv_shlibpath_overrides_runpath=yes
10845 fi
10846 fi
10847 rm -f core conftest.err conftest.$ac_objext \
10848     conftest$ac_exeext conftest.$ac_ext
10849     LDFLAGS=$save_LDFLAGS
10850     libdir=$save_libdir
10851
10852 fi
10853
10854   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10855
10856   # This implies no fast_install, which is unacceptable.
10857   # Some rework will be needed to allow for fast_install
10858   # before this can be enabled.
10859   hardcode_into_libs=yes
10860
10861   # Append ld.so.conf contents to the search path
10862   if test -f /etc/ld.so.conf; then
10863     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10864     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10865   fi
10866
10867   # We used to test for /lib/ld.so.1 and disable shared libraries on
10868   # powerpc, because MkLinux only supported shared libraries with the
10869   # GNU dynamic linker.  Since this was broken with cross compilers,
10870   # most powerpc-linux boxes support dynamic linking these days and
10871   # people can always --disable-shared, the test was removed, and we
10872   # assume the GNU/Linux dynamic linker is in use.
10873   dynamic_linker='GNU/Linux ld.so'
10874   ;;
10875
10876 netbsd*)
10877   version_type=sunos
10878   need_lib_prefix=no
10879   need_version=no
10880   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883     dynamic_linker='NetBSD (a.out) ld.so'
10884   else
10885     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886     soname_spec='${libname}${release}${shared_ext}$major'
10887     dynamic_linker='NetBSD ld.elf_so'
10888   fi
10889   shlibpath_var=LD_LIBRARY_PATH
10890   shlibpath_overrides_runpath=yes
10891   hardcode_into_libs=yes
10892   ;;
10893
10894 newsos6)
10895   version_type=linux
10896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897   shlibpath_var=LD_LIBRARY_PATH
10898   shlibpath_overrides_runpath=yes
10899   ;;
10900
10901 *nto* | *qnx*)
10902   version_type=qnx
10903   need_lib_prefix=no
10904   need_version=no
10905   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906   soname_spec='${libname}${release}${shared_ext}$major'
10907   shlibpath_var=LD_LIBRARY_PATH
10908   shlibpath_overrides_runpath=no
10909   hardcode_into_libs=yes
10910   dynamic_linker='ldqnx.so'
10911   ;;
10912
10913 openbsd*)
10914   version_type=sunos
10915   sys_lib_dlsearch_path_spec="/usr/lib"
10916   need_lib_prefix=no
10917   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918   case $host_os in
10919     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10920     *)                          need_version=no  ;;
10921   esac
10922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924   shlibpath_var=LD_LIBRARY_PATH
10925   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926     case $host_os in
10927       openbsd2.[89] | openbsd2.[89].*)
10928         shlibpath_overrides_runpath=no
10929         ;;
10930       *)
10931         shlibpath_overrides_runpath=yes
10932         ;;
10933       esac
10934   else
10935     shlibpath_overrides_runpath=yes
10936   fi
10937   ;;
10938
10939 os2*)
10940   libname_spec='$name'
10941   shrext_cmds=".dll"
10942   need_lib_prefix=no
10943   library_names_spec='$libname${shared_ext} $libname.a'
10944   dynamic_linker='OS/2 ld.exe'
10945   shlibpath_var=LIBPATH
10946   ;;
10947
10948 osf3* | osf4* | osf5*)
10949   version_type=osf
10950   need_lib_prefix=no
10951   need_version=no
10952   soname_spec='${libname}${release}${shared_ext}$major'
10953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954   shlibpath_var=LD_LIBRARY_PATH
10955   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10957   ;;
10958
10959 rdos*)
10960   dynamic_linker=no
10961   ;;
10962
10963 solaris*)
10964   version_type=linux
10965   need_lib_prefix=no
10966   need_version=no
10967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968   soname_spec='${libname}${release}${shared_ext}$major'
10969   shlibpath_var=LD_LIBRARY_PATH
10970   shlibpath_overrides_runpath=yes
10971   hardcode_into_libs=yes
10972   # ldd complains unless libraries are executable
10973   postinstall_cmds='chmod +x $lib'
10974   ;;
10975
10976 sunos4*)
10977   version_type=sunos
10978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980   shlibpath_var=LD_LIBRARY_PATH
10981   shlibpath_overrides_runpath=yes
10982   if test "$with_gnu_ld" = yes; then
10983     need_lib_prefix=no
10984   fi
10985   need_version=yes
10986   ;;
10987
10988 sysv4 | sysv4.3*)
10989   version_type=linux
10990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991   soname_spec='${libname}${release}${shared_ext}$major'
10992   shlibpath_var=LD_LIBRARY_PATH
10993   case $host_vendor in
10994     sni)
10995       shlibpath_overrides_runpath=no
10996       need_lib_prefix=no
10997       runpath_var=LD_RUN_PATH
10998       ;;
10999     siemens)
11000       need_lib_prefix=no
11001       ;;
11002     motorola)
11003       need_lib_prefix=no
11004       need_version=no
11005       shlibpath_overrides_runpath=no
11006       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11007       ;;
11008   esac
11009   ;;
11010
11011 sysv4*MP*)
11012   if test -d /usr/nec ;then
11013     version_type=linux
11014     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015     soname_spec='$libname${shared_ext}.$major'
11016     shlibpath_var=LD_LIBRARY_PATH
11017   fi
11018   ;;
11019
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021   version_type=freebsd-elf
11022   need_lib_prefix=no
11023   need_version=no
11024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025   soname_spec='${libname}${release}${shared_ext}$major'
11026   shlibpath_var=LD_LIBRARY_PATH
11027   shlibpath_overrides_runpath=yes
11028   hardcode_into_libs=yes
11029   if test "$with_gnu_ld" = yes; then
11030     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031   else
11032     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033     case $host_os in
11034       sco3.2v5*)
11035         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11036         ;;
11037     esac
11038   fi
11039   sys_lib_dlsearch_path_spec='/usr/lib'
11040   ;;
11041
11042 tpf*)
11043   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11044   version_type=linux
11045   need_lib_prefix=no
11046   need_version=no
11047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048   shlibpath_var=LD_LIBRARY_PATH
11049   shlibpath_overrides_runpath=no
11050   hardcode_into_libs=yes
11051   ;;
11052
11053 uts4*)
11054   version_type=linux
11055   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056   soname_spec='${libname}${release}${shared_ext}$major'
11057   shlibpath_var=LD_LIBRARY_PATH
11058   ;;
11059
11060 *)
11061   dynamic_linker=no
11062   ;;
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11067
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11071 fi
11072
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11075 fi
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11078 fi
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175    test -n "$runpath_var" ||
11176    test "X$hardcode_automatic" = "Xyes" ; then
11177
11178   # We can hardcode non-existent directories.
11179   if test "$hardcode_direct" != no &&
11180      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181      # have to relink, otherwise we might link with an installed library
11182      # when we should be linking with a yet-to-be-installed one
11183      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184      test "$hardcode_minus_L" != no; then
11185     # Linking always hardcodes the temporary library directory.
11186     hardcode_action=relink
11187   else
11188     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189     hardcode_action=immediate
11190   fi
11191 else
11192   # We cannot hardcode anything, or else we can only hardcode existing
11193   # directories.
11194   hardcode_action=unsupported
11195 fi
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11198
11199 if test "$hardcode_action" = relink ||
11200    test "$inherit_rpath" = yes; then
11201   # Fast installation is not supported
11202   enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204      test "$enable_shared" = no; then
11205   # Fast installation is not necessary
11206   enable_fast_install=needless
11207 fi
11208
11209
11210
11211
11212
11213
11214   if test "x$enable_dlopen" != xyes; then
11215   enable_dlopen=unknown
11216   enable_dlopen_self=unknown
11217   enable_dlopen_self_static=unknown
11218 else
11219   lt_cv_dlopen=no
11220   lt_cv_dlopen_libs=
11221
11222   case $host_os in
11223   beos*)
11224     lt_cv_dlopen="load_add_on"
11225     lt_cv_dlopen_libs=
11226     lt_cv_dlopen_self=yes
11227     ;;
11228
11229   mingw* | pw32* | cegcc*)
11230     lt_cv_dlopen="LoadLibrary"
11231     lt_cv_dlopen_libs=
11232     ;;
11233
11234   cygwin*)
11235     lt_cv_dlopen="dlopen"
11236     lt_cv_dlopen_libs=
11237     ;;
11238
11239   darwin*)
11240   # if libdl is installed we need to link against it
11241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244   $as_echo_n "(cached) " >&6
11245 else
11246   ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl  $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11250 fi
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h.  */
11253
11254 /* Override any GCC internal prototype to avoid an error.
11255    Use char because int might match the return type of a GCC
11256    builtin and then its argument prototype would still apply.  */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11261 int
11262 main ()
11263 {
11264 return dlopen ();
11265   ;
11266   return 0;
11267 }
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270   ac_cv_lib_dl_dlopen=yes
11271 else
11272   ac_cv_lib_dl_dlopen=no
11273 fi
11274 rm -f core conftest.err conftest.$ac_objext \
11275     conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11277 fi
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11283
11284     lt_cv_dlopen="dyld"
11285     lt_cv_dlopen_libs=
11286     lt_cv_dlopen_self=yes
11287
11288 fi
11289
11290     ;;
11291
11292   *)
11293     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295   lt_cv_dlopen="shl_load"
11296 else
11297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300   $as_echo_n "(cached) " >&6
11301 else
11302   ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld  $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11306 fi
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h.  */
11309
11310 /* Override any GCC internal prototype to avoid an error.
11311    Use char because int might match the return type of a GCC
11312    builtin and then its argument prototype would still apply.  */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11317 int
11318 main ()
11319 {
11320 return shl_load ();
11321   ;
11322   return 0;
11323 }
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326   ac_cv_lib_dld_shl_load=yes
11327 else
11328   ac_cv_lib_dld_shl_load=no
11329 fi
11330 rm -f core conftest.err conftest.$ac_objext \
11331     conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11333 fi
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341   lt_cv_dlopen="dlopen"
11342 else
11343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346   $as_echo_n "(cached) " >&6
11347 else
11348   ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl  $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11352 fi
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h.  */
11355
11356 /* Override any GCC internal prototype to avoid an error.
11357    Use char because int might match the return type of a GCC
11358    builtin and then its argument prototype would still apply.  */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11363 int
11364 main ()
11365 {
11366 return dlopen ();
11367   ;
11368   return 0;
11369 }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372   ac_cv_lib_dl_dlopen=yes
11373 else
11374   ac_cv_lib_dl_dlopen=no
11375 fi
11376 rm -f core conftest.err conftest.$ac_objext \
11377     conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388   $as_echo_n "(cached) " >&6
11389 else
11390   ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld  $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11394 fi
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h.  */
11397
11398 /* Override any GCC internal prototype to avoid an error.
11399    Use char because int might match the return type of a GCC
11400    builtin and then its argument prototype would still apply.  */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11405 int
11406 main ()
11407 {
11408 return dlopen ();
11409   ;
11410   return 0;
11411 }
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414   ac_cv_lib_svld_dlopen=yes
11415 else
11416   ac_cv_lib_svld_dlopen=no
11417 fi
11418 rm -f core conftest.err conftest.$ac_objext \
11419     conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11421 fi
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430   $as_echo_n "(cached) " >&6
11431 else
11432   ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld  $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 fi
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h.  */
11439
11440 /* Override any GCC internal prototype to avoid an error.
11441    Use char because int might match the return type of a GCC
11442    builtin and then its argument prototype would still apply.  */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11447 int
11448 main ()
11449 {
11450 return dld_link ();
11451   ;
11452   return 0;
11453 }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456   ac_cv_lib_dld_dld_link=yes
11457 else
11458   ac_cv_lib_dld_dld_link=no
11459 fi
11460 rm -f core conftest.err conftest.$ac_objext \
11461     conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11463 fi
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11468 fi
11469
11470
11471 fi
11472
11473
11474 fi
11475
11476
11477 fi
11478
11479
11480 fi
11481
11482
11483 fi
11484
11485     ;;
11486   esac
11487
11488   if test "x$lt_cv_dlopen" != xno; then
11489     enable_dlopen=yes
11490   else
11491     enable_dlopen=no
11492   fi
11493
11494   case $lt_cv_dlopen in
11495   dlopen)
11496     save_CPPFLAGS="$CPPFLAGS"
11497     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11498
11499     save_LDFLAGS="$LDFLAGS"
11500     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11501
11502     save_LIBS="$LIBS"
11503     LIBS="$lt_cv_dlopen_libs $LIBS"
11504
11505     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508   $as_echo_n "(cached) " >&6
11509 else
11510           if test "$cross_compiling" = yes; then :
11511   lt_cv_dlopen_self=cross
11512 else
11513   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514   lt_status=$lt_dlunknown
11515   cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11518
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11522
11523 #include <stdio.h>
11524
11525 #ifdef RTLD_GLOBAL
11526 #  define LT_DLGLOBAL           RTLD_GLOBAL
11527 #else
11528 #  ifdef DL_GLOBAL
11529 #    define LT_DLGLOBAL         DL_GLOBAL
11530 #  else
11531 #    define LT_DLGLOBAL         0
11532 #  endif
11533 #endif
11534
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536    find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 #  ifdef RTLD_LAZY
11539 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11540 #  else
11541 #    ifdef DL_LAZY
11542 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11543 #    else
11544 #      ifdef RTLD_NOW
11545 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11546 #      else
11547 #        ifdef DL_NOW
11548 #          define LT_DLLAZY_OR_NOW      DL_NOW
11549 #        else
11550 #          define LT_DLLAZY_OR_NOW      0
11551 #        endif
11552 #      endif
11553 #    endif
11554 #  endif
11555 #endif
11556
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558    correspondingly for the symbols needed.  */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11562
11563 void fnord () { int i=42; }
11564 int main ()
11565 {
11566   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567   int status = $lt_dlunknown;
11568
11569   if (self)
11570     {
11571       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11572       else
11573         {
11574           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11575           else puts (dlerror ());
11576         }
11577       /* dlclose (self); */
11578     }
11579   else
11580     puts (dlerror ());
11581
11582   return status;
11583 }
11584 _LT_EOF
11585   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586   (eval $ac_link) 2>&5
11587   ac_status=$?
11588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590     (./conftest; exit; ) >&5 2>/dev/null
11591     lt_status=$?
11592     case x$lt_status in
11593       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596     esac
11597   else :
11598     # compilation failed
11599     lt_cv_dlopen_self=no
11600   fi
11601 fi
11602 rm -fr conftest*
11603
11604
11605 fi
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11608
11609     if test "x$lt_cv_dlopen_self" = xyes; then
11610       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614   $as_echo_n "(cached) " >&6
11615 else
11616           if test "$cross_compiling" = yes; then :
11617   lt_cv_dlopen_self_static=cross
11618 else
11619   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620   lt_status=$lt_dlunknown
11621   cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11624
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11628
11629 #include <stdio.h>
11630
11631 #ifdef RTLD_GLOBAL
11632 #  define LT_DLGLOBAL           RTLD_GLOBAL
11633 #else
11634 #  ifdef DL_GLOBAL
11635 #    define LT_DLGLOBAL         DL_GLOBAL
11636 #  else
11637 #    define LT_DLGLOBAL         0
11638 #  endif
11639 #endif
11640
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642    find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 #  ifdef RTLD_LAZY
11645 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11646 #  else
11647 #    ifdef DL_LAZY
11648 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11649 #    else
11650 #      ifdef RTLD_NOW
11651 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11652 #      else
11653 #        ifdef DL_NOW
11654 #          define LT_DLLAZY_OR_NOW      DL_NOW
11655 #        else
11656 #          define LT_DLLAZY_OR_NOW      0
11657 #        endif
11658 #      endif
11659 #    endif
11660 #  endif
11661 #endif
11662
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664    correspondingly for the symbols needed.  */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11668
11669 void fnord () { int i=42; }
11670 int main ()
11671 {
11672   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673   int status = $lt_dlunknown;
11674
11675   if (self)
11676     {
11677       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11678       else
11679         {
11680           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11681           else puts (dlerror ());
11682         }
11683       /* dlclose (self); */
11684     }
11685   else
11686     puts (dlerror ());
11687
11688   return status;
11689 }
11690 _LT_EOF
11691   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692   (eval $ac_link) 2>&5
11693   ac_status=$?
11694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696     (./conftest; exit; ) >&5 2>/dev/null
11697     lt_status=$?
11698     case x$lt_status in
11699       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702     esac
11703   else :
11704     # compilation failed
11705     lt_cv_dlopen_self_static=no
11706   fi
11707 fi
11708 rm -fr conftest*
11709
11710
11711 fi
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11714     fi
11715
11716     CPPFLAGS="$save_CPPFLAGS"
11717     LDFLAGS="$save_LDFLAGS"
11718     LIBS="$save_LIBS"
11719     ;;
11720   esac
11721
11722   case $lt_cv_dlopen_self in
11723   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724   *) enable_dlopen_self=unknown ;;
11725   esac
11726
11727   case $lt_cv_dlopen_self_static in
11728   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729   *) enable_dlopen_self_static=unknown ;;
11730   esac
11731 fi
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760   case $host_os in
11761   darwin*)
11762     if test -n "$STRIP" ; then
11763       striplib="$STRIP -x"
11764       old_striplib="$STRIP -S"
11765       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767     else
11768       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11770     fi
11771     ;;
11772   *)
11773     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11775     ;;
11776   esac
11777 fi
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790   # Report which library types will actually be built
11791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11795
11796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798   test "$can_build_shared" = "no" && enable_shared=no
11799
11800   # On AIX, shared libraries and static libraries use the same namespace, and
11801   # are all built from PIC.
11802   case $host_os in
11803   aix3*)
11804     test "$enable_shared" = yes && enable_static=no
11805     if test -n "$RANLIB"; then
11806       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807       postinstall_cmds='$RANLIB $lib'
11808     fi
11809     ;;
11810
11811   aix[4-9]*)
11812     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813       test "$enable_shared" = yes && enable_static=no
11814     fi
11815     ;;
11816   esac
11817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11819
11820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822   # Make sure either enable_shared or enable_static is yes.
11823   test "$enable_shared" = yes || enable_static=yes
11824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11826
11827
11828
11829
11830 fi
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11836
11837 CC="$lt_save_CC"
11838
11839       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841     (test "X$CXX" != "Xg++"))) ; then
11842   ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851   $as_echo_n "(cached) " >&6
11852 else
11853       # Double quotes because CXXCPP needs to be expanded
11854     for CXXCPP in "$CXX -E" "/lib/cpp"
11855     do
11856       ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11858 do
11859   # Use a header file that comes with gcc, so configuring glibc
11860   # with a fresh cross-compiler works.
11861   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862   # <limits.h> exists even on freestanding compilers.
11863   # On the NeXT, cc -E runs the code through the compiler's parser,
11864   # not just through cpp. "Syntax error" is here to catch this case.
11865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h.  */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872                      Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11875
11876 else
11877   # Broken: fails on valid input.
11878 continue
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882   # OK, works on sane cases.  Now check whether nonexistent headers
11883   # can be detected and how.
11884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h.  */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889   # Broken: success on invalid input.
11890 continue
11891 else
11892   # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11895 fi
11896 rm -f conftest.err conftest.$ac_ext
11897
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902   break
11903 fi
11904
11905     done
11906     ac_cv_prog_CXXCPP=$CXXCPP
11907
11908 fi
11909   CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911   ac_cv_prog_CXXCPP=$CXXCPP
11912 fi
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11917 do
11918   # Use a header file that comes with gcc, so configuring glibc
11919   # with a fresh cross-compiler works.
11920   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921   # <limits.h> exists even on freestanding compilers.
11922   # On the NeXT, cc -E runs the code through the compiler's parser,
11923   # not just through cpp. "Syntax error" is here to catch this case.
11924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h.  */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931                      Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11934
11935 else
11936   # Broken: fails on valid input.
11937 continue
11938 fi
11939 rm -f conftest.err conftest.$ac_ext
11940
11941   # OK, works on sane cases.  Now check whether nonexistent headers
11942   # can be detected and how.
11943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h.  */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948   # Broken: success on invalid input.
11949 continue
11950 else
11951   # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11954 fi
11955 rm -f conftest.err conftest.$ac_ext
11956
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11961
11962 else
11963   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11967 fi
11968
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974
11975 else
11976   _lt_caught_CXX_error=yes
11977 fi
11978
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11984
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12009
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12012
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12016
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working.  Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022   # Code to be used in simple compile tests
12023   lt_simple_compile_test_code="int some_variable = 0;"
12024
12025   # Code to be used in simple link tests
12026   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12027
12028   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12029
12030
12031
12032
12033
12034
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12037
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12040
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12043
12044
12045   # save warnings/boilerplate of simple test code
12046   ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12051
12052   ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12057
12058
12059   # Allow CC to be a program name with arguments.
12060   lt_save_CC=$CC
12061   lt_save_LD=$LD
12062   lt_save_GCC=$GCC
12063   GCC=$GXX
12064   lt_save_with_gnu_ld=$with_gnu_ld
12065   lt_save_path_LD=$lt_cv_path_LD
12066   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068   else
12069     $as_unset lt_cv_prog_gnu_ld
12070   fi
12071   if test -n "${lt_cv_path_LDCXX+set}"; then
12072     lt_cv_path_LD=$lt_cv_path_LDCXX
12073   else
12074     $as_unset lt_cv_path_LD
12075   fi
12076   test -z "${LDCXX+set}" || LD=$LDCXX
12077   CC=${CXX-"c++"}
12078   compiler=$CC
12079   compiler_CXX=$CC
12080   for cc_temp in $compiler""; do
12081   case $cc_temp in
12082     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084     \-*) ;;
12085     *) break;;
12086   esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12089
12090
12091   if test -n "$compiler"; then
12092     # We don't want -fno-exception when compiling C++ code, so set the
12093     # no_builtin_flag separately
12094     if test "$GXX" = yes; then
12095       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096     else
12097       lt_prog_compiler_no_builtin_flag_CXX=
12098     fi
12099
12100     if test "$GXX" = yes; then
12101       # Set up default GNU C++ configuration
12102
12103
12104
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109   with_gnu_ld=no
12110 fi
12111
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114   # Check if gcc -print-prog-name=ld gives a path.
12115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117   case $host in
12118   *-*-mingw*)
12119     # gcc leaves a trailing carriage return which upsets mingw
12120     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12121   *)
12122     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123   esac
12124   case $ac_prog in
12125     # Accept absolute paths.
12126     [\\/]* | ?:[\\/]*)
12127       re_direlt='/[^/][^/]*/\.\./'
12128       # Canonicalize the pathname of ld
12129       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132       done
12133       test -z "$LD" && LD="$ac_prog"
12134       ;;
12135   "")
12136     # If it fails, then pretend we aren't using GCC.
12137     ac_prog=ld
12138     ;;
12139   *)
12140     # If it is relative, then search for the first ld in PATH.
12141     with_gnu_ld=unknown
12142     ;;
12143   esac
12144 elif test "$with_gnu_ld" = yes; then
12145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12150 fi
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152   $as_echo_n "(cached) " >&6
12153 else
12154   if test -z "$LD"; then
12155   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156   for ac_dir in $PATH; do
12157     IFS="$lt_save_ifs"
12158     test -z "$ac_dir" && ac_dir=.
12159     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160       lt_cv_path_LD="$ac_dir/$ac_prog"
12161       # Check to see if the program is GNU ld.  I'd rather use --version,
12162       # but apparently some variants of GNU ld only accept -v.
12163       # Break only if it was the GNU/non-GNU ld that we prefer.
12164       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165       *GNU* | *'with BFD'*)
12166         test "$with_gnu_ld" != no && break
12167         ;;
12168       *)
12169         test "$with_gnu_ld" != yes && break
12170         ;;
12171       esac
12172     fi
12173   done
12174   IFS="$lt_save_ifs"
12175 else
12176   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12177 fi
12178 fi
12179
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12187 fi
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192   $as_echo_n "(cached) " >&6
12193 else
12194   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197   lt_cv_prog_gnu_ld=yes
12198   ;;
12199 *)
12200   lt_cv_prog_gnu_ld=no
12201   ;;
12202 esac
12203 fi
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12207
12208
12209
12210
12211
12212
12213
12214       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215       # archiving commands below assume that GNU ld is being used.
12216       if test "$with_gnu_ld" = yes; then
12217         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12219
12220         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12222
12223         # If archive_cmds runs LD, not CC, wlarc should be empty
12224         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225         #     investigate it a little bit more. (MM)
12226         wlarc='${wl}'
12227
12228         # ancient GNU ld didn't support --whole-archive et. al.
12229         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230           $GREP 'no-whole-archive' > /dev/null; then
12231           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232         else
12233           whole_archive_flag_spec_CXX=
12234         fi
12235       else
12236         with_gnu_ld=no
12237         wlarc=
12238
12239         # A generic and very simple default shared library creation
12240         # command for GNU C++ for the case where it uses the native
12241         # linker, instead of GNU ld.  If possible, this setting should
12242         # overridden to take advantage of the native linker features on
12243         # the platform it is being used on.
12244         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12245       fi
12246
12247       # Commands to make compiler produce verbose output that lists
12248       # what "hidden" libraries, object files and flags are used when
12249       # linking a shared library.
12250       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12251
12252     else
12253       GXX=no
12254       with_gnu_ld=no
12255       wlarc=
12256     fi
12257
12258     # PORTME: fill in a description of your system's C++ link characteristics
12259     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261     ld_shlibs_CXX=yes
12262     case $host_os in
12263       aix3*)
12264         # FIXME: insert proper C++ library support
12265         ld_shlibs_CXX=no
12266         ;;
12267       aix[4-9]*)
12268         if test "$host_cpu" = ia64; then
12269           # On IA64, the linker does run time linking by default, so we don't
12270           # have to do anything special.
12271           aix_use_runtimelinking=no
12272           exp_sym_flag='-Bexport'
12273           no_entry_flag=""
12274         else
12275           aix_use_runtimelinking=no
12276
12277           # Test if we are trying to use run time linking or normal
12278           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279           # need to do runtime linking.
12280           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281             for ld_flag in $LDFLAGS; do
12282               case $ld_flag in
12283               *-brtl*)
12284                 aix_use_runtimelinking=yes
12285                 break
12286                 ;;
12287               esac
12288             done
12289             ;;
12290           esac
12291
12292           exp_sym_flag='-bexport'
12293           no_entry_flag='-bnoentry'
12294         fi
12295
12296         # When large executables or shared objects are built, AIX ld can
12297         # have problems creating the table of contents.  If linking a library
12298         # or program results in "error TOC overflow" add -mminimal-toc to
12299         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12300         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12301
12302         archive_cmds_CXX=''
12303         hardcode_direct_CXX=yes
12304         hardcode_direct_absolute_CXX=yes
12305         hardcode_libdir_separator_CXX=':'
12306         link_all_deplibs_CXX=yes
12307         file_list_spec_CXX='${wl}-f,'
12308
12309         if test "$GXX" = yes; then
12310           case $host_os in aix4.[012]|aix4.[012].*)
12311           # We only want to do this on AIX 4.2 and lower, the check
12312           # below for broken collect2 doesn't work under 4.3+
12313           collect2name=`${CC} -print-prog-name=collect2`
12314           if test -f "$collect2name" &&
12315              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316           then
12317             # We have reworked collect2
12318             :
12319           else
12320             # We have old collect2
12321             hardcode_direct_CXX=unsupported
12322             # It fails to find uninstalled libraries when the uninstalled
12323             # path is not listed in the libpath.  Setting hardcode_minus_L
12324             # to unsupported forces relinking
12325             hardcode_minus_L_CXX=yes
12326             hardcode_libdir_flag_spec_CXX='-L$libdir'
12327             hardcode_libdir_separator_CXX=
12328           fi
12329           esac
12330           shared_flag='-shared'
12331           if test "$aix_use_runtimelinking" = yes; then
12332             shared_flag="$shared_flag "'${wl}-G'
12333           fi
12334         else
12335           # not using gcc
12336           if test "$host_cpu" = ia64; then
12337           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338           # chokes on -Wl,-G. The following line is correct:
12339           shared_flag='-G'
12340           else
12341             if test "$aix_use_runtimelinking" = yes; then
12342               shared_flag='${wl}-G'
12343             else
12344               shared_flag='${wl}-bM:SRE'
12345             fi
12346           fi
12347         fi
12348
12349         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350         # It seems that -bexpall does not export symbols beginning with
12351         # underscore (_), so it is better to generate a list of symbols to
12352         # export.
12353         always_export_symbols_CXX=yes
12354         if test "$aix_use_runtimelinking" = yes; then
12355           # Warning - without using the other runtime loading flags (-brtl),
12356           # -berok will link without error, but may produce a broken library.
12357           allow_undefined_flag_CXX='-berok'
12358           # Determine the default libpath from the value encoded in an empty
12359           # executable.
12360           if test x$gcc_no_link = xyes; then
12361   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12362 fi
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h.  */
12365
12366 int
12367 main ()
12368 {
12369
12370   ;
12371   return 0;
12372 }
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12375
12376 lt_aix_libpath_sed='
12377     /Import File Strings/,/^$/ {
12378         /^0/ {
12379             s/^0  *\(.*\)$/\1/
12380             p
12381         }
12382     }'
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12387 fi
12388 fi
12389 rm -f core conftest.err conftest.$ac_objext \
12390     conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12392
12393           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12394
12395           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12396         else
12397           if test "$host_cpu" = ia64; then
12398             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399             allow_undefined_flag_CXX="-z nodefs"
12400             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12401           else
12402             # Determine the default libpath from the value encoded in an
12403             # empty executable.
12404             if test x$gcc_no_link = xyes; then
12405   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12406 fi
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h.  */
12409
12410 int
12411 main ()
12412 {
12413
12414   ;
12415   return 0;
12416 }
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12419
12420 lt_aix_libpath_sed='
12421     /Import File Strings/,/^$/ {
12422         /^0/ {
12423             s/^0  *\(.*\)$/\1/
12424             p
12425         }
12426     }'
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12431 fi
12432 fi
12433 rm -f core conftest.err conftest.$ac_objext \
12434     conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12436
12437             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438             # Warning - without using the other run time loading flags,
12439             # -berok will link without error, but may produce a broken library.
12440             no_undefined_flag_CXX=' ${wl}-bernotok'
12441             allow_undefined_flag_CXX=' ${wl}-berok'
12442             if test "$with_gnu_ld" = yes; then
12443               # We only use this code for GNU lds that support --whole-archive.
12444               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445             else
12446               # Exported symbols can be pulled into shared objects from archives
12447               whole_archive_flag_spec_CXX='$convenience'
12448             fi
12449             archive_cmds_need_lc_CXX=yes
12450             # This is similar to how AIX traditionally builds its shared
12451             # libraries.
12452             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12453           fi
12454         fi
12455         ;;
12456
12457       beos*)
12458         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459           allow_undefined_flag_CXX=unsupported
12460           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461           # support --undefined.  This deserves some investigation.  FIXME
12462           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463         else
12464           ld_shlibs_CXX=no
12465         fi
12466         ;;
12467
12468       chorus*)
12469         case $cc_basename in
12470           *)
12471           # FIXME: insert proper C++ library support
12472           ld_shlibs_CXX=no
12473           ;;
12474         esac
12475         ;;
12476
12477       cygwin* | mingw* | pw32* | cegcc*)
12478         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479         # as there is no search path for DLLs.
12480         hardcode_libdir_flag_spec_CXX='-L$libdir'
12481         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482         allow_undefined_flag_CXX=unsupported
12483         always_export_symbols_CXX=no
12484         enable_shared_with_static_runtimes_CXX=yes
12485
12486         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12488           # If the export-symbols file already is a .def file (1st line
12489           # is EXPORTS), use it as is; otherwise, prepend...
12490           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491             cp $export_symbols $output_objdir/$soname.def;
12492           else
12493             echo EXPORTS > $output_objdir/$soname.def;
12494             cat $export_symbols >> $output_objdir/$soname.def;
12495           fi~
12496           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12497         else
12498           ld_shlibs_CXX=no
12499         fi
12500         ;;
12501       darwin* | rhapsody*)
12502
12503
12504   archive_cmds_need_lc_CXX=no
12505   hardcode_direct_CXX=no
12506   hardcode_automatic_CXX=yes
12507   hardcode_shlibpath_var_CXX=unsupported
12508   if test "$lt_cv_ld_force_load" = "yes"; then
12509     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12510   else
12511     whole_archive_flag_spec_CXX=''
12512   fi
12513   link_all_deplibs_CXX=yes
12514   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515   case $cc_basename in
12516      ifort*) _lt_dar_can_shared=yes ;;
12517      *) _lt_dar_can_shared=$GCC ;;
12518   esac
12519   if test "$_lt_dar_can_shared" = "yes"; then
12520     output_verbose_link_cmd=func_echo_all
12521     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12522     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12524     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12525        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12527       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12528     fi
12529
12530   else
12531   ld_shlibs_CXX=no
12532   fi
12533
12534         ;;
12535
12536       dgux*)
12537         case $cc_basename in
12538           ec++*)
12539             # FIXME: insert proper C++ library support
12540             ld_shlibs_CXX=no
12541             ;;
12542           ghcx*)
12543             # Green Hills C++ Compiler
12544             # FIXME: insert proper C++ library support
12545             ld_shlibs_CXX=no
12546             ;;
12547           *)
12548             # FIXME: insert proper C++ library support
12549             ld_shlibs_CXX=no
12550             ;;
12551         esac
12552         ;;
12553
12554       freebsd2.*)
12555         # C++ shared libraries reported to be fairly broken before
12556         # switch to ELF
12557         ld_shlibs_CXX=no
12558         ;;
12559
12560       freebsd-elf*)
12561         archive_cmds_need_lc_CXX=no
12562         ;;
12563
12564       freebsd* | dragonfly*)
12565         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566         # conventions
12567         ld_shlibs_CXX=yes
12568         ;;
12569
12570       gnu*)
12571         ;;
12572
12573       haiku*)
12574         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575         link_all_deplibs_CXX=yes
12576         ;;
12577
12578       hpux9*)
12579         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580         hardcode_libdir_separator_CXX=:
12581         export_dynamic_flag_spec_CXX='${wl}-E'
12582         hardcode_direct_CXX=yes
12583         hardcode_minus_L_CXX=yes # Not in the search PATH,
12584                                              # but as the default
12585                                              # location of the library.
12586
12587         case $cc_basename in
12588           CC*)
12589             # FIXME: insert proper C++ library support
12590             ld_shlibs_CXX=no
12591             ;;
12592           aCC*)
12593             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12594             # Commands to make compiler produce verbose output that lists
12595             # what "hidden" libraries, object files and flags are used when
12596             # linking a shared library.
12597             #
12598             # There doesn't appear to be a way to prevent this compiler from
12599             # explicitly linking system object files so we need to strip them
12600             # from the output so that they don't get included in the library
12601             # dependencies.
12602             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12603             ;;
12604           *)
12605             if test "$GXX" = yes; then
12606               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12607             else
12608               # FIXME: insert proper C++ library support
12609               ld_shlibs_CXX=no
12610             fi
12611             ;;
12612         esac
12613         ;;
12614
12615       hpux10*|hpux11*)
12616         if test $with_gnu_ld = no; then
12617           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618           hardcode_libdir_separator_CXX=:
12619
12620           case $host_cpu in
12621             hppa*64*|ia64*)
12622               ;;
12623             *)
12624               export_dynamic_flag_spec_CXX='${wl}-E'
12625               ;;
12626           esac
12627         fi
12628         case $host_cpu in
12629           hppa*64*|ia64*)
12630             hardcode_direct_CXX=no
12631             hardcode_shlibpath_var_CXX=no
12632             ;;
12633           *)
12634             hardcode_direct_CXX=yes
12635             hardcode_direct_absolute_CXX=yes
12636             hardcode_minus_L_CXX=yes # Not in the search PATH,
12637                                                  # but as the default
12638                                                  # location of the library.
12639             ;;
12640         esac
12641
12642         case $cc_basename in
12643           CC*)
12644             # FIXME: insert proper C++ library support
12645             ld_shlibs_CXX=no
12646             ;;
12647           aCC*)
12648             case $host_cpu in
12649               hppa*64*)
12650                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651                 ;;
12652               ia64*)
12653                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654                 ;;
12655               *)
12656                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657                 ;;
12658             esac
12659             # Commands to make compiler produce verbose output that lists
12660             # what "hidden" libraries, object files and flags are used when
12661             # linking a shared library.
12662             #
12663             # There doesn't appear to be a way to prevent this compiler from
12664             # explicitly linking system object files so we need to strip them
12665             # from the output so that they don't get included in the library
12666             # dependencies.
12667             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12668             ;;
12669           *)
12670             if test "$GXX" = yes; then
12671               if test $with_gnu_ld = no; then
12672                 case $host_cpu in
12673                   hppa*64*)
12674                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675                     ;;
12676                   ia64*)
12677                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12678                     ;;
12679                   *)
12680                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12681                     ;;
12682                 esac
12683               fi
12684             else
12685               # FIXME: insert proper C++ library support
12686               ld_shlibs_CXX=no
12687             fi
12688             ;;
12689         esac
12690         ;;
12691
12692       interix[3-9]*)
12693         hardcode_direct_CXX=no
12694         hardcode_shlibpath_var_CXX=no
12695         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696         export_dynamic_flag_spec_CXX='${wl}-E'
12697         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698         # Instead, shared libraries are loaded at an image base (0x10000000 by
12699         # default) and relocated if they conflict, which is a slow very memory
12700         # consuming and fragmenting process.  To avoid this, we pick a random,
12701         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12703         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12704         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12705         ;;
12706       irix5* | irix6*)
12707         case $cc_basename in
12708           CC*)
12709             # SGI C++
12710             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12711
12712             # Archives containing C++ object files must be created using
12713             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12714             # necessary to make sure instantiated templates are included
12715             # in the archive.
12716             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12717             ;;
12718           *)
12719             if test "$GXX" = yes; then
12720               if test "$with_gnu_ld" = no; then
12721                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12722               else
12723                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12724               fi
12725             fi
12726             link_all_deplibs_CXX=yes
12727             ;;
12728         esac
12729         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730         hardcode_libdir_separator_CXX=:
12731         inherit_rpath_CXX=yes
12732         ;;
12733
12734       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735         case $cc_basename in
12736           KCC*)
12737             # Kuck and Associates, Inc. (KAI) C++ Compiler
12738
12739             # KCC will only create a shared library if the output file
12740             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741             # to its proper name (with version) after linking.
12742             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12743             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12744             # Commands to make compiler produce verbose output that lists
12745             # what "hidden" libraries, object files and flags are used when
12746             # linking a shared library.
12747             #
12748             # There doesn't appear to be a way to prevent this compiler from
12749             # explicitly linking system object files so we need to strip them
12750             # from the output so that they don't get included in the library
12751             # dependencies.
12752             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12753
12754             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756
12757             # Archives containing C++ object files must be created using
12758             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12760             ;;
12761           icpc* | ecpc* )
12762             # Intel C++
12763             with_gnu_ld=yes
12764             # version 8.0 and above of icpc choke on multiply defined symbols
12765             # if we add $predep_objects and $postdep_objects, however 7.1 and
12766             # earlier do not add the objects themselves.
12767             case `$CC -V 2>&1` in
12768               *"Version 7."*)
12769                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12771                 ;;
12772               *)  # Version 8.0 or newer
12773                 tmp_idyn=
12774                 case $host_cpu in
12775                   ia64*) tmp_idyn=' -i_dynamic';;
12776                 esac
12777                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12779                 ;;
12780             esac
12781             archive_cmds_need_lc_CXX=no
12782             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12785             ;;
12786           pgCC* | pgcpp*)
12787             # Portland Group C++ compiler
12788             case `$CC -V` in
12789             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790               prelink_cmds_CXX='tpldir=Template.dir~
12791                 rm -rf $tpldir~
12792                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794               old_archive_cmds_CXX='tpldir=Template.dir~
12795                 rm -rf $tpldir~
12796                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798                 $RANLIB $oldlib'
12799               archive_cmds_CXX='tpldir=Template.dir~
12800                 rm -rf $tpldir~
12801                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803               archive_expsym_cmds_CXX='tpldir=Template.dir~
12804                 rm -rf $tpldir~
12805                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12807               ;;
12808             *) # Version 6 and above use weak symbols
12809               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12811               ;;
12812             esac
12813
12814             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12817             ;;
12818           cxx*)
12819             # Compaq C++
12820             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12822
12823             runpath_var=LD_RUN_PATH
12824             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825             hardcode_libdir_separator_CXX=:
12826
12827             # Commands to make compiler produce verbose output that lists
12828             # what "hidden" libraries, object files and flags are used when
12829             # linking a shared library.
12830             #
12831             # There doesn't appear to be a way to prevent this compiler from
12832             # explicitly linking system object files so we need to strip them
12833             # from the output so that they don't get included in the library
12834             # dependencies.
12835             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12836             ;;
12837           xl* | mpixl* | bgxl*)
12838             # IBM XL 8.0 on PPC, with GNU ld
12839             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842             if test "x$supports_anon_versioning" = xyes; then
12843               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845                 echo "local: *; };" >> $output_objdir/$libname.ver~
12846                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12847             fi
12848             ;;
12849           *)
12850             case `$CC -V 2>&1 | sed 5q` in
12851             *Sun\ C*)
12852               # Sun C++ 5.9
12853               no_undefined_flag_CXX=' -zdefs'
12854               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12856               hardcode_libdir_flag_spec_CXX='-R$libdir'
12857               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12858               compiler_needs_object_CXX=yes
12859
12860               # Not sure whether something based on
12861               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862               # would be better.
12863               output_verbose_link_cmd='func_echo_all'
12864
12865               # Archives containing C++ object files must be created using
12866               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12867               # necessary to make sure instantiated templates are included
12868               # in the archive.
12869               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12870               ;;
12871             esac
12872             ;;
12873         esac
12874         ;;
12875
12876       lynxos*)
12877         # FIXME: insert proper C++ library support
12878         ld_shlibs_CXX=no
12879         ;;
12880
12881       m88k*)
12882         # FIXME: insert proper C++ library support
12883         ld_shlibs_CXX=no
12884         ;;
12885
12886       mvs*)
12887         case $cc_basename in
12888           cxx*)
12889             # FIXME: insert proper C++ library support
12890             ld_shlibs_CXX=no
12891             ;;
12892           *)
12893             # FIXME: insert proper C++ library support
12894             ld_shlibs_CXX=no
12895             ;;
12896         esac
12897         ;;
12898
12899       netbsd*)
12900         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902           wlarc=
12903           hardcode_libdir_flag_spec_CXX='-R$libdir'
12904           hardcode_direct_CXX=yes
12905           hardcode_shlibpath_var_CXX=no
12906         fi
12907         # Workaround some broken pre-1.5 toolchains
12908         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12909         ;;
12910
12911       *nto* | *qnx*)
12912         ld_shlibs_CXX=yes
12913         ;;
12914
12915       openbsd2*)
12916         # C++ shared libraries are fairly broken
12917         ld_shlibs_CXX=no
12918         ;;
12919
12920       openbsd*)
12921         if test -f /usr/libexec/ld.so; then
12922           hardcode_direct_CXX=yes
12923           hardcode_shlibpath_var_CXX=no
12924           hardcode_direct_absolute_CXX=yes
12925           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929             export_dynamic_flag_spec_CXX='${wl}-E'
12930             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12931           fi
12932           output_verbose_link_cmd=func_echo_all
12933         else
12934           ld_shlibs_CXX=no
12935         fi
12936         ;;
12937
12938       osf3* | osf4* | osf5*)
12939         case $cc_basename in
12940           KCC*)
12941             # Kuck and Associates, Inc. (KAI) C++ Compiler
12942
12943             # KCC will only create a shared library if the output file
12944             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945             # to its proper name (with version) after linking.
12946             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12947
12948             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949             hardcode_libdir_separator_CXX=:
12950
12951             # Archives containing C++ object files must be created using
12952             # the KAI C++ compiler.
12953             case $host in
12954               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956             esac
12957             ;;
12958           RCC*)
12959             # Rational C++ 2.4.1
12960             # FIXME: insert proper C++ library support
12961             ld_shlibs_CXX=no
12962             ;;
12963           cxx*)
12964             case $host in
12965               osf3*)
12966                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12968                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12969                 ;;
12970               *)
12971                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12973                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974                   echo "-hidden">> $lib.exp~
12975                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12976                   $RM $lib.exp'
12977                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12978                 ;;
12979             esac
12980
12981             hardcode_libdir_separator_CXX=:
12982
12983             # Commands to make compiler produce verbose output that lists
12984             # what "hidden" libraries, object files and flags are used when
12985             # linking a shared library.
12986             #
12987             # There doesn't appear to be a way to prevent this compiler from
12988             # explicitly linking system object files so we need to strip them
12989             # from the output so that they don't get included in the library
12990             # dependencies.
12991             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12992             ;;
12993           *)
12994             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996               case $host in
12997                 osf3*)
12998                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12999                   ;;
13000                 *)
13001                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13002                   ;;
13003               esac
13004
13005               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006               hardcode_libdir_separator_CXX=:
13007
13008               # Commands to make compiler produce verbose output that lists
13009               # what "hidden" libraries, object files and flags are used when
13010               # linking a shared library.
13011               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13012
13013             else
13014               # FIXME: insert proper C++ library support
13015               ld_shlibs_CXX=no
13016             fi
13017             ;;
13018         esac
13019         ;;
13020
13021       psos*)
13022         # FIXME: insert proper C++ library support
13023         ld_shlibs_CXX=no
13024         ;;
13025
13026       sunos4*)
13027         case $cc_basename in
13028           CC*)
13029             # Sun C++ 4.x
13030             # FIXME: insert proper C++ library support
13031             ld_shlibs_CXX=no
13032             ;;
13033           lcc*)
13034             # Lucid
13035             # FIXME: insert proper C++ library support
13036             ld_shlibs_CXX=no
13037             ;;
13038           *)
13039             # FIXME: insert proper C++ library support
13040             ld_shlibs_CXX=no
13041             ;;
13042         esac
13043         ;;
13044
13045       solaris*)
13046         case $cc_basename in
13047           CC*)
13048             # Sun C++ 4.2, 5.x and Centerline C++
13049             archive_cmds_need_lc_CXX=yes
13050             no_undefined_flag_CXX=' -zdefs'
13051             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13054
13055             hardcode_libdir_flag_spec_CXX='-R$libdir'
13056             hardcode_shlibpath_var_CXX=no
13057             case $host_os in
13058               solaris2.[0-5] | solaris2.[0-5].*) ;;
13059               *)
13060                 # The compiler driver will combine and reorder linker options,
13061                 # but understands `-z linker_flag'.
13062                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13064                 ;;
13065             esac
13066             link_all_deplibs_CXX=yes
13067
13068             output_verbose_link_cmd='func_echo_all'
13069
13070             # Archives containing C++ object files must be created using
13071             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13072             # necessary to make sure instantiated templates are included
13073             # in the archive.
13074             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13075             ;;
13076           gcx*)
13077             # Green Hills C++ Compiler
13078             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079
13080             # The C++ compiler must be used to create the archive.
13081             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13082             ;;
13083           *)
13084             # GNU C++ compiler with Solaris linker
13085             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13091
13092                 # Commands to make compiler produce verbose output that lists
13093                 # what "hidden" libraries, object files and flags are used when
13094                 # linking a shared library.
13095                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096               else
13097                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098                 # platform.
13099                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13102
13103                 # Commands to make compiler produce verbose output that lists
13104                 # what "hidden" libraries, object files and flags are used when
13105                 # linking a shared library.
13106                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107               fi
13108
13109               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110               case $host_os in
13111                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13112                 *)
13113                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13114                   ;;
13115               esac
13116             fi
13117             ;;
13118         esac
13119         ;;
13120
13121     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122       no_undefined_flag_CXX='${wl}-z,text'
13123       archive_cmds_need_lc_CXX=no
13124       hardcode_shlibpath_var_CXX=no
13125       runpath_var='LD_RUN_PATH'
13126
13127       case $cc_basename in
13128         CC*)
13129           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131           ;;
13132         *)
13133           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135           ;;
13136       esac
13137       ;;
13138
13139       sysv5* | sco3.2v5* | sco5v6*)
13140         # Note: We can NOT use -z defs as we might desire, because we do not
13141         # link with -lc, and that would cause any symbols used from libc to
13142         # always be unresolved, which means just about no library would
13143         # ever link correctly.  If we're not using GNU ld we use -z text
13144         # though, which does catch some bad symbols but isn't as heavy-handed
13145         # as -z defs.
13146         no_undefined_flag_CXX='${wl}-z,text'
13147         allow_undefined_flag_CXX='${wl}-z,nodefs'
13148         archive_cmds_need_lc_CXX=no
13149         hardcode_shlibpath_var_CXX=no
13150         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151         hardcode_libdir_separator_CXX=':'
13152         link_all_deplibs_CXX=yes
13153         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154         runpath_var='LD_RUN_PATH'
13155
13156         case $cc_basename in
13157           CC*)
13158             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161               '"$old_archive_cmds_CXX"
13162             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163               '"$reload_cmds_CXX"
13164             ;;
13165           *)
13166             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13168             ;;
13169         esac
13170       ;;
13171
13172       tandem*)
13173         case $cc_basename in
13174           NCC*)
13175             # NonStop-UX NCC 3.20
13176             # FIXME: insert proper C++ library support
13177             ld_shlibs_CXX=no
13178             ;;
13179           *)
13180             # FIXME: insert proper C++ library support
13181             ld_shlibs_CXX=no
13182             ;;
13183         esac
13184         ;;
13185
13186       vxworks*)
13187         # FIXME: insert proper C++ library support
13188         ld_shlibs_CXX=no
13189         ;;
13190
13191       *)
13192         # FIXME: insert proper C++ library support
13193         ld_shlibs_CXX=no
13194         ;;
13195     esac
13196
13197     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199     test "$ld_shlibs_CXX" = no && can_build_shared=no
13200
13201     GCC_CXX="$GXX"
13202     LD_CXX="$LD"
13203
13204     ## CAVEAT EMPTOR:
13205     ## There is no encapsulation within the following macros, do not change
13206     ## the running order or otherwise move them around unless you know exactly
13207     ## what you are doing...
13208     # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13214
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13217 {
13218 public:
13219   Foo (void) { a = 0; }
13220 private:
13221   int a;
13222 };
13223 _LT_EOF
13224
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226   (eval $ac_compile) 2>&5
13227   ac_status=$?
13228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229   test $ac_status = 0; }; then
13230   # Parse the compiler output and extract the necessary
13231   # objects, libraries and library flags.
13232
13233   # Sentinel used to keep track of whether or not we are before
13234   # the conftest object file.
13235   pre_test_object_deps_done=no
13236
13237   for p in `eval "$output_verbose_link_cmd"`; do
13238     case $p in
13239
13240     -L* | -R* | -l*)
13241        # Some compilers place space between "-{L,R}" and the path.
13242        # Remove the space.
13243        if test $p = "-L" ||
13244           test $p = "-R"; then
13245          prev=$p
13246          continue
13247        else
13248          prev=
13249        fi
13250
13251        if test "$pre_test_object_deps_done" = no; then
13252          case $p in
13253          -L* | -R*)
13254            # Internal compiler library paths should come after those
13255            # provided the user.  The postdeps already come after the
13256            # user supplied libs so there is no need to process them.
13257            if test -z "$compiler_lib_search_path_CXX"; then
13258              compiler_lib_search_path_CXX="${prev}${p}"
13259            else
13260              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13261            fi
13262            ;;
13263          # The "-l" case would never come before the object being
13264          # linked, so don't bother handling this case.
13265          esac
13266        else
13267          if test -z "$postdeps_CXX"; then
13268            postdeps_CXX="${prev}${p}"
13269          else
13270            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13271          fi
13272        fi
13273        ;;
13274
13275     *.$objext)
13276        # This assumes that the test object file only shows up
13277        # once in the compiler output.
13278        if test "$p" = "conftest.$objext"; then
13279          pre_test_object_deps_done=yes
13280          continue
13281        fi
13282
13283        if test "$pre_test_object_deps_done" = no; then
13284          if test -z "$predep_objects_CXX"; then
13285            predep_objects_CXX="$p"
13286          else
13287            predep_objects_CXX="$predep_objects_CXX $p"
13288          fi
13289        else
13290          if test -z "$postdep_objects_CXX"; then
13291            postdep_objects_CXX="$p"
13292          else
13293            postdep_objects_CXX="$postdep_objects_CXX $p"
13294          fi
13295        fi
13296        ;;
13297
13298     *) ;; # Ignore the rest.
13299
13300     esac
13301   done
13302
13303   # Clean up.
13304   rm -f a.out a.exe
13305 else
13306   echo "libtool.m4: error: problem compiling CXX test program"
13307 fi
13308
13309 $RM -f confest.$objext
13310
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315   # hack all around it, let's just trust "g++" to DTRT.
13316   predep_objects_CXX=
13317   postdep_objects_CXX=
13318   postdeps_CXX=
13319   ;;
13320
13321 linux*)
13322   case `$CC -V 2>&1 | sed 5q` in
13323   *Sun\ C*)
13324     # Sun C++ 5.9
13325
13326     # The more standards-conforming stlport4 library is
13327     # incompatible with the Cstd library. Avoid specifying
13328     # it if it's in CXXFLAGS. Ignore libCrun as
13329     # -library=stlport4 depends on it.
13330     case " $CXX $CXXFLAGS " in
13331     *" -library=stlport4 "*)
13332       solaris_use_stlport4=yes
13333       ;;
13334     esac
13335
13336     if test "$solaris_use_stlport4" != yes; then
13337       postdeps_CXX='-library=Cstd -library=Crun'
13338     fi
13339     ;;
13340   esac
13341   ;;
13342
13343 solaris*)
13344   case $cc_basename in
13345   CC*)
13346     # The more standards-conforming stlport4 library is
13347     # incompatible with the Cstd library. Avoid specifying
13348     # it if it's in CXXFLAGS. Ignore libCrun as
13349     # -library=stlport4 depends on it.
13350     case " $CXX $CXXFLAGS " in
13351     *" -library=stlport4 "*)
13352       solaris_use_stlport4=yes
13353       ;;
13354     esac
13355
13356     # Adding this requires a known-good setup of shared libraries for
13357     # Sun compiler versions before 5.6, else PIC objects from an old
13358     # archive will be linked into the output, leading to subtle bugs.
13359     if test "$solaris_use_stlport4" != yes; then
13360       postdeps_CXX='-library=Cstd -library=Crun'
13361     fi
13362     ;;
13363   esac
13364   ;;
13365 esac
13366
13367
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371  compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13374 fi
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406     lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13409
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13412
13413   # C++ specific cases for pic, static, wl, etc.
13414   if test "$GXX" = yes; then
13415     lt_prog_compiler_wl_CXX='-Wl,'
13416     lt_prog_compiler_static_CXX='-static'
13417
13418     case $host_os in
13419     aix*)
13420       # All AIX code is PIC.
13421       if test "$host_cpu" = ia64; then
13422         # AIX 5 now supports IA64 processor
13423         lt_prog_compiler_static_CXX='-Bstatic'
13424       fi
13425       lt_prog_compiler_pic_CXX='-fPIC'
13426       ;;
13427
13428     amigaos*)
13429       case $host_cpu in
13430       powerpc)
13431             # see comment about AmigaOS4 .so support
13432             lt_prog_compiler_pic_CXX='-fPIC'
13433         ;;
13434       m68k)
13435             # FIXME: we need at least 68020 code to build shared libraries, but
13436             # adding the `-m68020' flag to GCC prevents building anything better,
13437             # like `-m68040'.
13438             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13439         ;;
13440       esac
13441       ;;
13442
13443     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444       # PIC is the default for these OSes.
13445       ;;
13446     mingw* | cygwin* | os2* | pw32* | cegcc*)
13447       # This hack is so that the source file can tell whether it is being
13448       # built for inclusion in a dll (and should export symbols for example).
13449       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450       # (--disable-auto-import) libraries
13451       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13452       ;;
13453     darwin* | rhapsody*)
13454       # PIC is the default on this platform
13455       # Common symbols not allowed in MH_DYLIB files
13456       lt_prog_compiler_pic_CXX='-fno-common'
13457       ;;
13458     *djgpp*)
13459       # DJGPP does not support shared libraries at all
13460       lt_prog_compiler_pic_CXX=
13461       ;;
13462     haiku*)
13463       # PIC is the default for Haiku.
13464       # The "-static" flag exists, but is broken.
13465       lt_prog_compiler_static_CXX=
13466       ;;
13467     interix[3-9]*)
13468       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469       # Instead, we relocate shared libraries at runtime.
13470       ;;
13471     sysv4*MP*)
13472       if test -d /usr/nec; then
13473         lt_prog_compiler_pic_CXX=-Kconform_pic
13474       fi
13475       ;;
13476     hpux*)
13477       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13479       # sets the default TLS model and affects inlining.
13480       case $host_cpu in
13481       hppa*64*)
13482         ;;
13483       *)
13484         lt_prog_compiler_pic_CXX='-fPIC'
13485         ;;
13486       esac
13487       ;;
13488     *qnx* | *nto*)
13489       # QNX uses GNU C++, but need to define -shared option too, otherwise
13490       # it will coredump.
13491       lt_prog_compiler_pic_CXX='-fPIC -shared'
13492       ;;
13493     *)
13494       lt_prog_compiler_pic_CXX='-fPIC'
13495       ;;
13496     esac
13497   else
13498     case $host_os in
13499       aix[4-9]*)
13500         # All AIX code is PIC.
13501         if test "$host_cpu" = ia64; then
13502           # AIX 5 now supports IA64 processor
13503           lt_prog_compiler_static_CXX='-Bstatic'
13504         else
13505           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13506         fi
13507         ;;
13508       chorus*)
13509         case $cc_basename in
13510         cxch68*)
13511           # Green Hills C++ Compiler
13512           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13513           ;;
13514         esac
13515         ;;
13516       dgux*)
13517         case $cc_basename in
13518           ec++*)
13519             lt_prog_compiler_pic_CXX='-KPIC'
13520             ;;
13521           ghcx*)
13522             # Green Hills C++ Compiler
13523             lt_prog_compiler_pic_CXX='-pic'
13524             ;;
13525           *)
13526             ;;
13527         esac
13528         ;;
13529       freebsd* | dragonfly*)
13530         # FreeBSD uses GNU C++
13531         ;;
13532       hpux9* | hpux10* | hpux11*)
13533         case $cc_basename in
13534           CC*)
13535             lt_prog_compiler_wl_CXX='-Wl,'
13536             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537             if test "$host_cpu" != ia64; then
13538               lt_prog_compiler_pic_CXX='+Z'
13539             fi
13540             ;;
13541           aCC*)
13542             lt_prog_compiler_wl_CXX='-Wl,'
13543             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544             case $host_cpu in
13545             hppa*64*|ia64*)
13546               # +Z the default
13547               ;;
13548             *)
13549               lt_prog_compiler_pic_CXX='+Z'
13550               ;;
13551             esac
13552             ;;
13553           *)
13554             ;;
13555         esac
13556         ;;
13557       interix*)
13558         # This is c89, which is MS Visual C++ (no shared libs)
13559         # Anyone wants to do a port?
13560         ;;
13561       irix5* | irix6* | nonstopux*)
13562         case $cc_basename in
13563           CC*)
13564             lt_prog_compiler_wl_CXX='-Wl,'
13565             lt_prog_compiler_static_CXX='-non_shared'
13566             # CC pic flag -KPIC is the default.
13567             ;;
13568           *)
13569             ;;
13570         esac
13571         ;;
13572       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573         case $cc_basename in
13574           KCC*)
13575             # KAI C++ Compiler
13576             lt_prog_compiler_wl_CXX='--backend -Wl,'
13577             lt_prog_compiler_pic_CXX='-fPIC'
13578             ;;
13579           ecpc* )
13580             # old Intel C++ for x86_64 which still supported -KPIC.
13581             lt_prog_compiler_wl_CXX='-Wl,'
13582             lt_prog_compiler_pic_CXX='-KPIC'
13583             lt_prog_compiler_static_CXX='-static'
13584             ;;
13585           icpc* )
13586             # Intel C++, used to be incompatible with GCC.
13587             # ICC 10 doesn't accept -KPIC any more.
13588             lt_prog_compiler_wl_CXX='-Wl,'
13589             lt_prog_compiler_pic_CXX='-fPIC'
13590             lt_prog_compiler_static_CXX='-static'
13591             ;;
13592           pgCC* | pgcpp*)
13593             # Portland Group C++ compiler
13594             lt_prog_compiler_wl_CXX='-Wl,'
13595             lt_prog_compiler_pic_CXX='-fpic'
13596             lt_prog_compiler_static_CXX='-Bstatic'
13597             ;;
13598           cxx*)
13599             # Compaq C++
13600             # Make sure the PIC flag is empty.  It appears that all Alpha
13601             # Linux and Compaq Tru64 Unix objects are PIC.
13602             lt_prog_compiler_pic_CXX=
13603             lt_prog_compiler_static_CXX='-non_shared'
13604             ;;
13605           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606             # IBM XL 8.0, 9.0 on PPC and BlueGene
13607             lt_prog_compiler_wl_CXX='-Wl,'
13608             lt_prog_compiler_pic_CXX='-qpic'
13609             lt_prog_compiler_static_CXX='-qstaticlink'
13610             ;;
13611           *)
13612             case `$CC -V 2>&1 | sed 5q` in
13613             *Sun\ C*)
13614               # Sun C++ 5.9
13615               lt_prog_compiler_pic_CXX='-KPIC'
13616               lt_prog_compiler_static_CXX='-Bstatic'
13617               lt_prog_compiler_wl_CXX='-Qoption ld '
13618               ;;
13619             esac
13620             ;;
13621         esac
13622         ;;
13623       lynxos*)
13624         ;;
13625       m88k*)
13626         ;;
13627       mvs*)
13628         case $cc_basename in
13629           cxx*)
13630             lt_prog_compiler_pic_CXX='-W c,exportall'
13631             ;;
13632           *)
13633             ;;
13634         esac
13635         ;;
13636       netbsd*)
13637         ;;
13638       *qnx* | *nto*)
13639         # QNX uses GNU C++, but need to define -shared option too, otherwise
13640         # it will coredump.
13641         lt_prog_compiler_pic_CXX='-fPIC -shared'
13642         ;;
13643       osf3* | osf4* | osf5*)
13644         case $cc_basename in
13645           KCC*)
13646             lt_prog_compiler_wl_CXX='--backend -Wl,'
13647             ;;
13648           RCC*)
13649             # Rational C++ 2.4.1
13650             lt_prog_compiler_pic_CXX='-pic'
13651             ;;
13652           cxx*)
13653             # Digital/Compaq C++
13654             lt_prog_compiler_wl_CXX='-Wl,'
13655             # Make sure the PIC flag is empty.  It appears that all Alpha
13656             # Linux and Compaq Tru64 Unix objects are PIC.
13657             lt_prog_compiler_pic_CXX=
13658             lt_prog_compiler_static_CXX='-non_shared'
13659             ;;
13660           *)
13661             ;;
13662         esac
13663         ;;
13664       psos*)
13665         ;;
13666       solaris*)
13667         case $cc_basename in
13668           CC*)
13669             # Sun C++ 4.2, 5.x and Centerline C++
13670             lt_prog_compiler_pic_CXX='-KPIC'
13671             lt_prog_compiler_static_CXX='-Bstatic'
13672             lt_prog_compiler_wl_CXX='-Qoption ld '
13673             ;;
13674           gcx*)
13675             # Green Hills C++ Compiler
13676             lt_prog_compiler_pic_CXX='-PIC'
13677             ;;
13678           *)
13679             ;;
13680         esac
13681         ;;
13682       sunos4*)
13683         case $cc_basename in
13684           CC*)
13685             # Sun C++ 4.x
13686             lt_prog_compiler_pic_CXX='-pic'
13687             lt_prog_compiler_static_CXX='-Bstatic'
13688             ;;
13689           lcc*)
13690             # Lucid
13691             lt_prog_compiler_pic_CXX='-pic'
13692             ;;
13693           *)
13694             ;;
13695         esac
13696         ;;
13697       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698         case $cc_basename in
13699           CC*)
13700             lt_prog_compiler_wl_CXX='-Wl,'
13701             lt_prog_compiler_pic_CXX='-KPIC'
13702             lt_prog_compiler_static_CXX='-Bstatic'
13703             ;;
13704         esac
13705         ;;
13706       tandem*)
13707         case $cc_basename in
13708           NCC*)
13709             # NonStop-UX NCC 3.20
13710             lt_prog_compiler_pic_CXX='-KPIC'
13711             ;;
13712           *)
13713             ;;
13714         esac
13715         ;;
13716       vxworks*)
13717         ;;
13718       *)
13719         lt_prog_compiler_can_build_shared_CXX=no
13720         ;;
13721     esac
13722   fi
13723
13724 case $host_os in
13725   # For platforms which do not support PIC, -DPIC is meaningless:
13726   *djgpp*)
13727     lt_prog_compiler_pic_CXX=
13728     ;;
13729   *)
13730     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13731     ;;
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13735
13736
13737
13738 #
13739 # Check to make sure the PIC flag actually works.
13740 #
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745   $as_echo_n "(cached) " >&6
13746 else
13747   lt_cv_prog_compiler_pic_works_CXX=no
13748    ac_outfile=conftest.$ac_objext
13749    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751    # Insert the option either (1) after the last *FLAGS variable, or
13752    # (2) before a word containing "conftest.", or (3) at the end.
13753    # Note that $ac_compile itself does not contain backslashes and begins
13754    # with a dollar sign (not a hyphen), so the echo should work correctly.
13755    # The option is referenced via a variable to avoid confusing sed.
13756    lt_compile=`echo "$ac_compile" | $SED \
13757    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759    -e 's:$: $lt_compiler_flag:'`
13760    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761    (eval "$lt_compile" 2>conftest.err)
13762    ac_status=$?
13763    cat conftest.err >&5
13764    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765    if (exit $ac_status) && test -s "$ac_outfile"; then
13766      # The compiler can only warn and ignore the option if not recognized
13767      # So say no if there are warnings other than the usual output.
13768      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771        lt_cv_prog_compiler_pic_works_CXX=yes
13772      fi
13773    fi
13774    $RM conftest*
13775
13776 fi
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13779
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781     case $lt_prog_compiler_pic_CXX in
13782      "" | " "*) ;;
13783      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784      esac
13785 else
13786     lt_prog_compiler_pic_CXX=
13787      lt_prog_compiler_can_build_shared_CXX=no
13788 fi
13789
13790 fi
13791
13792
13793
13794 #
13795 # Check to make sure the static flag actually works.
13796 #
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801   $as_echo_n "(cached) " >&6
13802 else
13803   lt_cv_prog_compiler_static_works_CXX=no
13804    save_LDFLAGS="$LDFLAGS"
13805    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808      # The linker can only warn and ignore the option if not recognized
13809      # So say no if there are warnings
13810      if test -s conftest.err; then
13811        # Append any errors to the config.log.
13812        cat conftest.err 1>&5
13813        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815        if diff conftest.exp conftest.er2 >/dev/null; then
13816          lt_cv_prog_compiler_static_works_CXX=yes
13817        fi
13818      else
13819        lt_cv_prog_compiler_static_works_CXX=yes
13820      fi
13821    fi
13822    $RM -r conftest*
13823    LDFLAGS="$save_LDFLAGS"
13824
13825 fi
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13828
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13830     :
13831 else
13832     lt_prog_compiler_static_CXX=
13833 fi
13834
13835
13836
13837
13838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841   $as_echo_n "(cached) " >&6
13842 else
13843   lt_cv_prog_compiler_c_o_CXX=no
13844    $RM -r conftest 2>/dev/null
13845    mkdir conftest
13846    cd conftest
13847    mkdir out
13848    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13849
13850    lt_compiler_flag="-o out/conftest2.$ac_objext"
13851    # Insert the option either (1) after the last *FLAGS variable, or
13852    # (2) before a word containing "conftest.", or (3) at the end.
13853    # Note that $ac_compile itself does not contain backslashes and begins
13854    # with a dollar sign (not a hyphen), so the echo should work correctly.
13855    lt_compile=`echo "$ac_compile" | $SED \
13856    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858    -e 's:$: $lt_compiler_flag:'`
13859    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860    (eval "$lt_compile" 2>out/conftest.err)
13861    ac_status=$?
13862    cat out/conftest.err >&5
13863    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865    then
13866      # The compiler can only warn and ignore the option if not recognized
13867      # So say no if there are warnings
13868      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871        lt_cv_prog_compiler_c_o_CXX=yes
13872      fi
13873    fi
13874    chmod u+w . 2>&5
13875    $RM conftest*
13876    # SGI C++ compiler will create directory out/ii_files/ for
13877    # template instantiation
13878    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879    $RM out/* && rmdir out
13880    cd ..
13881    $RM -r conftest
13882    $RM conftest*
13883
13884 fi
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13887
13888
13889
13890     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893   $as_echo_n "(cached) " >&6
13894 else
13895   lt_cv_prog_compiler_c_o_CXX=no
13896    $RM -r conftest 2>/dev/null
13897    mkdir conftest
13898    cd conftest
13899    mkdir out
13900    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13901
13902    lt_compiler_flag="-o out/conftest2.$ac_objext"
13903    # Insert the option either (1) after the last *FLAGS variable, or
13904    # (2) before a word containing "conftest.", or (3) at the end.
13905    # Note that $ac_compile itself does not contain backslashes and begins
13906    # with a dollar sign (not a hyphen), so the echo should work correctly.
13907    lt_compile=`echo "$ac_compile" | $SED \
13908    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910    -e 's:$: $lt_compiler_flag:'`
13911    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912    (eval "$lt_compile" 2>out/conftest.err)
13913    ac_status=$?
13914    cat out/conftest.err >&5
13915    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917    then
13918      # The compiler can only warn and ignore the option if not recognized
13919      # So say no if there are warnings
13920      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923        lt_cv_prog_compiler_c_o_CXX=yes
13924      fi
13925    fi
13926    chmod u+w . 2>&5
13927    $RM conftest*
13928    # SGI C++ compiler will create directory out/ii_files/ for
13929    # template instantiation
13930    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931    $RM out/* && rmdir out
13932    cd ..
13933    $RM -r conftest
13934    $RM conftest*
13935
13936 fi
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13939
13940
13941
13942
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945   # do not overwrite the value of need_locks provided by the user
13946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948   hard_links=yes
13949   $RM conftest*
13950   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951   touch conftest.a
13952   ln conftest.a conftest.b 2>&5 || hard_links=no
13953   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956   if test "$hard_links" = no; then
13957     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959     need_locks=warn
13960   fi
13961 else
13962   need_locks=no
13963 fi
13964
13965
13966
13967     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13969
13970   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971   case $host_os in
13972   aix[4-9]*)
13973     # If we're using GNU nm, then we don't want the "-C" option.
13974     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975     # Also, AIX nm treats weak defined symbols like other global defined
13976     # symbols, whereas GNU nm marks them as "W".
13977     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13979     else
13980       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13981     fi
13982     ;;
13983   pw32*)
13984     export_symbols_cmds_CXX="$ltdll_cmds"
13985   ;;
13986   cygwin* | mingw* | cegcc*)
13987     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13988   ;;
13989   *)
13990     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13991   ;;
13992   esac
13993   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13994
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13998
13999 with_gnu_ld_CXX=$with_gnu_ld
14000
14001
14002
14003
14004
14005
14006 #
14007 # Do we need to explicitly link libc?
14008 #
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011   # Assume -lc should be added
14012   archive_cmds_need_lc_CXX=yes
14013
14014   if test "$enable_shared" = yes && test "$GCC" = yes; then
14015     case $archive_cmds_CXX in
14016     *'~'*)
14017       # FIXME: we may have to deal with multi-command sequences.
14018       ;;
14019     '$CC '*)
14020       # Test whether the compiler implicitly links with -lc since on some
14021       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022       # to ld, don't add -lc before -lgcc.
14023       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026   $as_echo_n "(cached) " >&6
14027 else
14028   $RM conftest*
14029         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14030
14031         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032   (eval $ac_compile) 2>&5
14033   ac_status=$?
14034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035   test $ac_status = 0; } 2>conftest.err; then
14036           soname=conftest
14037           lib=conftest
14038           libobjs=conftest.$ac_objext
14039           deplibs=
14040           wl=$lt_prog_compiler_wl_CXX
14041           pic_flag=$lt_prog_compiler_pic_CXX
14042           compiler_flags=-v
14043           linker_flags=-v
14044           verstring=
14045           output_objdir=.
14046           libname=conftest
14047           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048           allow_undefined_flag_CXX=
14049           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051   ac_status=$?
14052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053   test $ac_status = 0; }
14054           then
14055             lt_cv_archive_cmds_need_lc_CXX=no
14056           else
14057             lt_cv_archive_cmds_need_lc_CXX=yes
14058           fi
14059           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060         else
14061           cat conftest.err 1>&5
14062         fi
14063         $RM conftest*
14064
14065 fi
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14069       ;;
14070     esac
14071   fi
14072   ;;
14073 esac
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14140
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14156
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14160
14161 case $host_os in
14162 aix3*)
14163   version_type=linux
14164   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165   shlibpath_var=LIBPATH
14166
14167   # AIX 3 has no versioning support, so we append a major version to the name.
14168   soname_spec='${libname}${release}${shared_ext}$major'
14169   ;;
14170
14171 aix[4-9]*)
14172   version_type=linux
14173   need_lib_prefix=no
14174   need_version=no
14175   hardcode_into_libs=yes
14176   if test "$host_cpu" = ia64; then
14177     # AIX 5 supports IA64
14178     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179     shlibpath_var=LD_LIBRARY_PATH
14180   else
14181     # With GCC up to 2.95.x, collect2 would create an import file
14182     # for dependence libraries.  The import file would start with
14183     # the line `#! .'.  This would cause the generated library to
14184     # depend on `.', always an invalid library.  This was fixed in
14185     # development snapshots of GCC prior to 3.0.
14186     case $host_os in
14187       aix4 | aix4.[01] | aix4.[01].*)
14188       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189            echo ' yes '
14190            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14191         :
14192       else
14193         can_build_shared=no
14194       fi
14195       ;;
14196     esac
14197     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198     # soname into executable. Probably we can add versioning support to
14199     # collect2, so additional links can be useful in future.
14200     if test "$aix_use_runtimelinking" = yes; then
14201       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202       # instead of lib<name>.a to let people know that these are not
14203       # typical AIX shared libraries.
14204       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205     else
14206       # We preserve .a as extension for shared libraries through AIX4.2
14207       # and later when we are not doing run time linking.
14208       library_names_spec='${libname}${release}.a $libname.a'
14209       soname_spec='${libname}${release}${shared_ext}$major'
14210     fi
14211     shlibpath_var=LIBPATH
14212   fi
14213   ;;
14214
14215 amigaos*)
14216   case $host_cpu in
14217   powerpc)
14218     # Since July 2007 AmigaOS4 officially supports .so libraries.
14219     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221     ;;
14222   m68k)
14223     library_names_spec='$libname.ixlibrary $libname.a'
14224     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14226     ;;
14227   esac
14228   ;;
14229
14230 beos*)
14231   library_names_spec='${libname}${shared_ext}'
14232   dynamic_linker="$host_os ld.so"
14233   shlibpath_var=LIBRARY_PATH
14234   ;;
14235
14236 bsdi[45]*)
14237   version_type=linux
14238   need_version=no
14239   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240   soname_spec='${libname}${release}${shared_ext}$major'
14241   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242   shlibpath_var=LD_LIBRARY_PATH
14243   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245   # the default ld.so.conf also contains /usr/contrib/lib and
14246   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247   # libtool to hard-code these into programs
14248   ;;
14249
14250 cygwin* | mingw* | pw32* | cegcc*)
14251   version_type=windows
14252   shrext_cmds=".dll"
14253   need_version=no
14254   need_lib_prefix=no
14255
14256   case $GCC,$host_os in
14257   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258     library_names_spec='$libname.dll.a'
14259     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260     postinstall_cmds='base_file=`basename \${file}`~
14261       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262       dldir=$destdir/`dirname \$dlpath`~
14263       test -d \$dldir || mkdir -p \$dldir~
14264       $install_prog $dir/$dlname \$dldir/$dlname~
14265       chmod a+x \$dldir/$dlname~
14266       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14268       fi'
14269     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270       dlpath=$dir/\$dldll~
14271        $RM \$dlpath'
14272     shlibpath_overrides_runpath=yes
14273
14274     case $host_os in
14275     cygwin*)
14276       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14278
14279       ;;
14280     mingw* | cegcc*)
14281       # MinGW DLLs use traditional 'lib' prefix
14282       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14283       ;;
14284     pw32*)
14285       # pw32 DLLs use 'pw' prefix rather than 'lib'
14286       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14287       ;;
14288     esac
14289     ;;
14290
14291   *)
14292     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14293     ;;
14294   esac
14295   dynamic_linker='Win32 ld.exe'
14296   # FIXME: first we should search . and the directory the executable is in
14297   shlibpath_var=PATH
14298   ;;
14299
14300 darwin* | rhapsody*)
14301   dynamic_linker="$host_os dyld"
14302   version_type=darwin
14303   need_lib_prefix=no
14304   need_version=no
14305   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306   soname_spec='${libname}${release}${major}$shared_ext'
14307   shlibpath_overrides_runpath=yes
14308   shlibpath_var=DYLD_LIBRARY_PATH
14309   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14310
14311   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14312   ;;
14313
14314 dgux*)
14315   version_type=linux
14316   need_lib_prefix=no
14317   need_version=no
14318   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319   soname_spec='${libname}${release}${shared_ext}$major'
14320   shlibpath_var=LD_LIBRARY_PATH
14321   ;;
14322
14323 freebsd* | dragonfly*)
14324   # DragonFly does not have aout.  When/if they implement a new
14325   # versioning mechanism, adjust this.
14326   if test -x /usr/bin/objformat; then
14327     objformat=`/usr/bin/objformat`
14328   else
14329     case $host_os in
14330     freebsd[23].*) objformat=aout ;;
14331     *) objformat=elf ;;
14332     esac
14333   fi
14334   version_type=freebsd-$objformat
14335   case $version_type in
14336     freebsd-elf*)
14337       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338       need_version=no
14339       need_lib_prefix=no
14340       ;;
14341     freebsd-*)
14342       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343       need_version=yes
14344       ;;
14345   esac
14346   shlibpath_var=LD_LIBRARY_PATH
14347   case $host_os in
14348   freebsd2.*)
14349     shlibpath_overrides_runpath=yes
14350     ;;
14351   freebsd3.[01]* | freebsdelf3.[01]*)
14352     shlibpath_overrides_runpath=yes
14353     hardcode_into_libs=yes
14354     ;;
14355   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357     shlibpath_overrides_runpath=no
14358     hardcode_into_libs=yes
14359     ;;
14360   *) # from 4.6 on, and DragonFly
14361     shlibpath_overrides_runpath=yes
14362     hardcode_into_libs=yes
14363     ;;
14364   esac
14365   ;;
14366
14367 gnu*)
14368   version_type=linux
14369   need_lib_prefix=no
14370   need_version=no
14371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372   soname_spec='${libname}${release}${shared_ext}$major'
14373   shlibpath_var=LD_LIBRARY_PATH
14374   hardcode_into_libs=yes
14375   ;;
14376
14377 haiku*)
14378   version_type=linux
14379   need_lib_prefix=no
14380   need_version=no
14381   dynamic_linker="$host_os runtime_loader"
14382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383   soname_spec='${libname}${release}${shared_ext}$major'
14384   shlibpath_var=LIBRARY_PATH
14385   shlibpath_overrides_runpath=yes
14386   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387   hardcode_into_libs=yes
14388   ;;
14389
14390 hpux9* | hpux10* | hpux11*)
14391   # Give a soname corresponding to the major version so that dld.sl refuses to
14392   # link against other versions.
14393   version_type=sunos
14394   need_lib_prefix=no
14395   need_version=no
14396   case $host_cpu in
14397   ia64*)
14398     shrext_cmds='.so'
14399     hardcode_into_libs=yes
14400     dynamic_linker="$host_os dld.so"
14401     shlibpath_var=LD_LIBRARY_PATH
14402     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404     soname_spec='${libname}${release}${shared_ext}$major'
14405     if test "X$HPUX_IA64_MODE" = X32; then
14406       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407     else
14408       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14409     fi
14410     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14411     ;;
14412   hppa*64*)
14413     shrext_cmds='.sl'
14414     hardcode_into_libs=yes
14415     dynamic_linker="$host_os dld.sl"
14416     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419     soname_spec='${libname}${release}${shared_ext}$major'
14420     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14422     ;;
14423   *)
14424     shrext_cmds='.sl'
14425     dynamic_linker="$host_os dld.sl"
14426     shlibpath_var=SHLIB_PATH
14427     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429     soname_spec='${libname}${release}${shared_ext}$major'
14430     ;;
14431   esac
14432   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433   postinstall_cmds='chmod 555 $lib'
14434   # or fails outright, so override atomically:
14435   install_override_mode=555
14436   ;;
14437
14438 interix[3-9]*)
14439   version_type=linux
14440   need_lib_prefix=no
14441   need_version=no
14442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443   soname_spec='${libname}${release}${shared_ext}$major'
14444   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445   shlibpath_var=LD_LIBRARY_PATH
14446   shlibpath_overrides_runpath=no
14447   hardcode_into_libs=yes
14448   ;;
14449
14450 irix5* | irix6* | nonstopux*)
14451   case $host_os in
14452     nonstopux*) version_type=nonstopux ;;
14453     *)
14454         if test "$lt_cv_prog_gnu_ld" = yes; then
14455                 version_type=linux
14456         else
14457                 version_type=irix
14458         fi ;;
14459   esac
14460   need_lib_prefix=no
14461   need_version=no
14462   soname_spec='${libname}${release}${shared_ext}$major'
14463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464   case $host_os in
14465   irix5* | nonstopux*)
14466     libsuff= shlibsuff=
14467     ;;
14468   *)
14469     case $LD in # libtool.m4 will add one of these switches to LD
14470     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471       libsuff= shlibsuff= libmagic=32-bit;;
14472     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473       libsuff=32 shlibsuff=N32 libmagic=N32;;
14474     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476     *) libsuff= shlibsuff= libmagic=never-match;;
14477     esac
14478     ;;
14479   esac
14480   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481   shlibpath_overrides_runpath=no
14482   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484   hardcode_into_libs=yes
14485   ;;
14486
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489   dynamic_linker=no
14490   ;;
14491
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494   version_type=linux
14495   need_lib_prefix=no
14496   need_version=no
14497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498   soname_spec='${libname}${release}${shared_ext}$major'
14499   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500   shlibpath_var=LD_LIBRARY_PATH
14501   shlibpath_overrides_runpath=no
14502
14503   # Some binutils ld are patched to set DT_RUNPATH
14504   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505   $as_echo_n "(cached) " >&6
14506 else
14507   lt_cv_shlibpath_overrides_runpath=no
14508     save_LDFLAGS=$LDFLAGS
14509     save_libdir=$libdir
14510     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512     if test x$gcc_no_link = xyes; then
14513   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14514 fi
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h.  */
14517
14518 int
14519 main ()
14520 {
14521
14522   ;
14523   return 0;
14524 }
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528   lt_cv_shlibpath_overrides_runpath=yes
14529 fi
14530 fi
14531 rm -f core conftest.err conftest.$ac_objext \
14532     conftest$ac_exeext conftest.$ac_ext
14533     LDFLAGS=$save_LDFLAGS
14534     libdir=$save_libdir
14535
14536 fi
14537
14538   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14539
14540   # This implies no fast_install, which is unacceptable.
14541   # Some rework will be needed to allow for fast_install
14542   # before this can be enabled.
14543   hardcode_into_libs=yes
14544
14545   # Append ld.so.conf contents to the search path
14546   if test -f /etc/ld.so.conf; then
14547     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14548     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14549   fi
14550
14551   # We used to test for /lib/ld.so.1 and disable shared libraries on
14552   # powerpc, because MkLinux only supported shared libraries with the
14553   # GNU dynamic linker.  Since this was broken with cross compilers,
14554   # most powerpc-linux boxes support dynamic linking these days and
14555   # people can always --disable-shared, the test was removed, and we
14556   # assume the GNU/Linux dynamic linker is in use.
14557   dynamic_linker='GNU/Linux ld.so'
14558   ;;
14559
14560 netbsd*)
14561   version_type=sunos
14562   need_lib_prefix=no
14563   need_version=no
14564   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567     dynamic_linker='NetBSD (a.out) ld.so'
14568   else
14569     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570     soname_spec='${libname}${release}${shared_ext}$major'
14571     dynamic_linker='NetBSD ld.elf_so'
14572   fi
14573   shlibpath_var=LD_LIBRARY_PATH
14574   shlibpath_overrides_runpath=yes
14575   hardcode_into_libs=yes
14576   ;;
14577
14578 newsos6)
14579   version_type=linux
14580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581   shlibpath_var=LD_LIBRARY_PATH
14582   shlibpath_overrides_runpath=yes
14583   ;;
14584
14585 *nto* | *qnx*)
14586   version_type=qnx
14587   need_lib_prefix=no
14588   need_version=no
14589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590   soname_spec='${libname}${release}${shared_ext}$major'
14591   shlibpath_var=LD_LIBRARY_PATH
14592   shlibpath_overrides_runpath=no
14593   hardcode_into_libs=yes
14594   dynamic_linker='ldqnx.so'
14595   ;;
14596
14597 openbsd*)
14598   version_type=sunos
14599   sys_lib_dlsearch_path_spec="/usr/lib"
14600   need_lib_prefix=no
14601   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602   case $host_os in
14603     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14604     *)                          need_version=no  ;;
14605   esac
14606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608   shlibpath_var=LD_LIBRARY_PATH
14609   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610     case $host_os in
14611       openbsd2.[89] | openbsd2.[89].*)
14612         shlibpath_overrides_runpath=no
14613         ;;
14614       *)
14615         shlibpath_overrides_runpath=yes
14616         ;;
14617       esac
14618   else
14619     shlibpath_overrides_runpath=yes
14620   fi
14621   ;;
14622
14623 os2*)
14624   libname_spec='$name'
14625   shrext_cmds=".dll"
14626   need_lib_prefix=no
14627   library_names_spec='$libname${shared_ext} $libname.a'
14628   dynamic_linker='OS/2 ld.exe'
14629   shlibpath_var=LIBPATH
14630   ;;
14631
14632 osf3* | osf4* | osf5*)
14633   version_type=osf
14634   need_lib_prefix=no
14635   need_version=no
14636   soname_spec='${libname}${release}${shared_ext}$major'
14637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638   shlibpath_var=LD_LIBRARY_PATH
14639   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14641   ;;
14642
14643 rdos*)
14644   dynamic_linker=no
14645   ;;
14646
14647 solaris*)
14648   version_type=linux
14649   need_lib_prefix=no
14650   need_version=no
14651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652   soname_spec='${libname}${release}${shared_ext}$major'
14653   shlibpath_var=LD_LIBRARY_PATH
14654   shlibpath_overrides_runpath=yes
14655   hardcode_into_libs=yes
14656   # ldd complains unless libraries are executable
14657   postinstall_cmds='chmod +x $lib'
14658   ;;
14659
14660 sunos4*)
14661   version_type=sunos
14662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664   shlibpath_var=LD_LIBRARY_PATH
14665   shlibpath_overrides_runpath=yes
14666   if test "$with_gnu_ld" = yes; then
14667     need_lib_prefix=no
14668   fi
14669   need_version=yes
14670   ;;
14671
14672 sysv4 | sysv4.3*)
14673   version_type=linux
14674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675   soname_spec='${libname}${release}${shared_ext}$major'
14676   shlibpath_var=LD_LIBRARY_PATH
14677   case $host_vendor in
14678     sni)
14679       shlibpath_overrides_runpath=no
14680       need_lib_prefix=no
14681       runpath_var=LD_RUN_PATH
14682       ;;
14683     siemens)
14684       need_lib_prefix=no
14685       ;;
14686     motorola)
14687       need_lib_prefix=no
14688       need_version=no
14689       shlibpath_overrides_runpath=no
14690       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14691       ;;
14692   esac
14693   ;;
14694
14695 sysv4*MP*)
14696   if test -d /usr/nec ;then
14697     version_type=linux
14698     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699     soname_spec='$libname${shared_ext}.$major'
14700     shlibpath_var=LD_LIBRARY_PATH
14701   fi
14702   ;;
14703
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705   version_type=freebsd-elf
14706   need_lib_prefix=no
14707   need_version=no
14708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709   soname_spec='${libname}${release}${shared_ext}$major'
14710   shlibpath_var=LD_LIBRARY_PATH
14711   shlibpath_overrides_runpath=yes
14712   hardcode_into_libs=yes
14713   if test "$with_gnu_ld" = yes; then
14714     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715   else
14716     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717     case $host_os in
14718       sco3.2v5*)
14719         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14720         ;;
14721     esac
14722   fi
14723   sys_lib_dlsearch_path_spec='/usr/lib'
14724   ;;
14725
14726 tpf*)
14727   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14728   version_type=linux
14729   need_lib_prefix=no
14730   need_version=no
14731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732   shlibpath_var=LD_LIBRARY_PATH
14733   shlibpath_overrides_runpath=no
14734   hardcode_into_libs=yes
14735   ;;
14736
14737 uts4*)
14738   version_type=linux
14739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740   soname_spec='${libname}${release}${shared_ext}$major'
14741   shlibpath_var=LD_LIBRARY_PATH
14742   ;;
14743
14744 *)
14745   dynamic_linker=no
14746   ;;
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14751
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14755 fi
14756
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14759 fi
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14762 fi
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805    test -n "$runpath_var_CXX" ||
14806    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14807
14808   # We can hardcode non-existent directories.
14809   if test "$hardcode_direct_CXX" != no &&
14810      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811      # have to relink, otherwise we might link with an installed library
14812      # when we should be linking with a yet-to-be-installed one
14813      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814      test "$hardcode_minus_L_CXX" != no; then
14815     # Linking always hardcodes the temporary library directory.
14816     hardcode_action_CXX=relink
14817   else
14818     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819     hardcode_action_CXX=immediate
14820   fi
14821 else
14822   # We cannot hardcode anything, or else we can only hardcode existing
14823   # directories.
14824   hardcode_action_CXX=unsupported
14825 fi
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14828
14829 if test "$hardcode_action_CXX" = relink ||
14830    test "$inherit_rpath_CXX" = yes; then
14831   # Fast installation is not supported
14832   enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834      test "$enable_shared" = no; then
14835   # Fast installation is not necessary
14836   enable_fast_install=needless
14837 fi
14838
14839
14840
14841
14842
14843
14844
14845   fi # test -n "$compiler"
14846
14847   CC=$lt_save_CC
14848   LDCXX=$LD
14849   LD=$lt_save_LD
14850   GCC=$lt_save_GCC
14851   with_gnu_ld=$lt_save_with_gnu_ld
14852   lt_cv_path_LDCXX=$lt_cv_path_LD
14853   lt_cv_path_LD=$lt_save_path_LD
14854   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14857
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876         ac_config_commands="$ac_config_commands libtool"
14877
14878
14879
14880
14881 # Only expand once:
14882
14883
14884
14885
14886
14887 case $host in
14888   *-cygwin* | *-mingw*)
14889     # 'host' will be top-level target in the case of a target lib,
14890     # we must compare to with_cross_host to decide if this is a native
14891     # or cross-compiler and select where to install dlls appropriately.
14892     if test -n "$with_cross_host" &&
14893         test x"$with_cross_host" != x"no"; then
14894       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895     else
14896       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14897     fi
14898     ;;
14899   *)
14900     lt_host_flags=
14901     ;;
14902 esac
14903
14904
14905
14906
14907
14908
14909 # libtool variables for C++ shared and position-independent compiles.
14910 #
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14914 #
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14917 #
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922   glibcxx_lt_pic_flag="-prefer-pic"
14923   glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924   glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14925
14926 else
14927   glibcxx_lt_pic_flag=
14928   glibcxx_compiler_pic_flag=
14929   glibcxx_compiler_shared_flag=
14930 fi
14931
14932
14933
14934
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14940
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14943
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results.  Faster /and/ more correct, win win.
14947
14948   # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950   enableval=$enable_hosted_libstdcxx;
14951 else
14952   case "$host" in
14953         arm*-*-symbianelf*)
14954             enable_hosted_libstdcxx=no
14955             ;;
14956         *)
14957             enable_hosted_libstdcxx=yes
14958             ;;
14959      esac
14960 fi
14961
14962   if test "$enable_hosted_libstdcxx" = no; then
14963     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965     is_hosted=no
14966     hosted_define=0
14967     enable_abi_check=no
14968     enable_libstdcxx_pch=no
14969   else
14970     is_hosted=yes
14971     hosted_define=1
14972   fi
14973
14974
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14978
14979
14980
14981 # Enable descriptive messages to standard output on termination.
14982
14983   # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985   enableval=$enable_libstdcxx_verbose;
14986 else
14987   enable_libstdcxx_verbose=yes
14988 fi
14989
14990   if test x"$enable_libstdcxx_verbose" = xyes; then
14991     verbose_define=1
14992   else
14993     { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995     verbose_define=0
14996   fi
14997
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15001
15002
15003
15004 # Enable compiler support that doesn't require linking.
15005
15006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15008
15009   ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15014
15015    # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017   enableval=$enable_sjlj_exceptions;
15018       case "$enableval" in
15019        yes|no|auto) ;;
15020        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021                         esac
15022
15023 else
15024   enable_sjlj_exceptions=auto
15025 fi
15026
15027
15028
15029   if test $enable_sjlj_exceptions = auto; then
15030     # Botheration.  Now we've got to detect the exception model.  Link tests
15031     # against libgcc.a are problematic since we've not been given proper -L
15032     # bits for single-tree newlib and libgloss.
15033     #
15034     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
15035     cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15040 {
15041   S s;
15042   bar();
15043 }
15044 EOF
15045     old_CXXFLAGS="$CXXFLAGS"
15046     CXXFLAGS=-S
15047     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048   (eval $ac_compile) 2>&5
15049   ac_status=$?
15050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051   test $ac_status = 0; }; then
15052       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053         enable_sjlj_exceptions=yes
15054       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055         enable_sjlj_exceptions=no
15056       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057         enable_sjlj_exceptions=no
15058       fi
15059     fi
15060     CXXFLAGS="$old_CXXFLAGS"
15061     rm -f conftest*
15062   fi
15063
15064   # This is a tad weird, for hysterical raisins.  We have to map
15065   # enable/disable to two different models.
15066   case $enable_sjlj_exceptions in
15067     yes)
15068
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15070
15071       ac_exception_model_name=sjlj
15072       ;;
15073     no)
15074       ac_exception_model_name="call frame"
15075       ;;
15076     *)
15077       as_fn_error "unable to detect exception model" "$LINENO" 5
15078       ;;
15079   esac
15080  ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15085
15086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15088
15089
15090    # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092   enableval=$enable_libstdcxx_pch;
15093       case "$enableval" in
15094        yes|no) ;;
15095        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096       esac
15097
15098 else
15099   enable_libstdcxx_pch=$is_hosted
15100 fi
15101
15102
15103   if test $enable_libstdcxx_pch = yes; then
15104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107   $as_echo_n "(cached) " >&6
15108 else
15109   ac_save_CXXFLAGS="$CXXFLAGS"
15110        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15111
15112        ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15117
15118        echo '#include <math.h>' > conftest.h
15119        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120                           -o conftest.h.gch 1>&5 2>&1 &&
15121                 echo '#error "pch failed"' > conftest.h &&
15122           echo '#include "conftest.h"' > conftest.cc &&
15123                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124        then
15125          glibcxx_cv_prog_CXX_pch=yes
15126        else
15127          glibcxx_cv_prog_CXX_pch=no
15128        fi
15129        rm -f conftest*
15130        CXXFLAGS=$ac_save_CXXFLAGS
15131        ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15136
15137
15138 fi
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15142   fi
15143
15144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15148
15149
15150   if test $enable_libstdcxx_pch = yes; then
15151     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152   else
15153     glibcxx_PCHFLAGS=""
15154   fi
15155
15156
15157
15158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15163
15164 case $target_thread_file in
15165     aix)        thread_header=config/rs6000/gthr-aix.h ;;
15166     dce)        thread_header=config/pa/gthr-dce.h ;;
15167     lynx)       thread_header=config/gthr-lynx.h ;;
15168     mipssde)    thread_header=config/mips/gthr-mipssde.h ;;
15169     posix)      thread_header=gthr-posix.h ;;
15170     rtems)      thread_header=config/gthr-rtems.h ;;
15171     single)     thread_header=gthr-single.h ;;
15172     tpf)        thread_header=config/s390/gthr-tpf.h ;;
15173     vxworks)    thread_header=config/gthr-vxworks.h ;;
15174     win32)      thread_header=config/i386/gthr-win32.h ;;
15175 esac
15176
15177
15178
15179
15180
15181   ac_ext=cpp
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15186
15187   old_CXXFLAGS="$CXXFLAGS"
15188
15189   # Do link tests if possible, instead asm tests, limited to some platforms
15190   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15191   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15192   atomic_builtins_link_tests=no
15193   if test x$gcc_no_link != xyes; then
15194     # Can do link tests. Limit to some tested platforms
15195     case "$host" in
15196       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15197         atomic_builtins_link_tests=yes
15198         ;;
15199     esac
15200   fi
15201
15202   if test x$atomic_builtins_link_tests = xyes; then
15203
15204   # Do link tests.
15205
15206   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15207
15208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15209 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15210   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15211   $as_echo_n "(cached) " >&6
15212 else
15213
15214     if test x$gcc_no_link = xyes; then
15215   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15216 fi
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h.  */
15219
15220 int
15221 main ()
15222 {
15223 typedef bool atomic_type;
15224        atomic_type c1;
15225        atomic_type c2;
15226        atomic_type c3(0);
15227        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15228        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15229                                    __ATOMIC_RELAXED);
15230        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15231        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15232
15233   ;
15234   return 0;
15235 }
15236 _ACEOF
15237 if ac_fn_cxx_try_link "$LINENO"; then :
15238   glibcxx_cv_atomic_bool=yes
15239 else
15240   glibcxx_cv_atomic_bool=no
15241 fi
15242 rm -f core conftest.err conftest.$ac_objext \
15243     conftest$ac_exeext conftest.$ac_ext
15244
15245 fi
15246
15247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15248 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15249
15250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15251 $as_echo_n "checking for atomic builtins for short... " >&6; }
15252   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15253   $as_echo_n "(cached) " >&6
15254 else
15255
15256     if test x$gcc_no_link = xyes; then
15257   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15258 fi
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h.  */
15261
15262 int
15263 main ()
15264 {
15265 typedef short atomic_type;
15266        atomic_type c1;
15267        atomic_type c2;
15268        atomic_type c3(0);
15269        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15270        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15271                                    __ATOMIC_RELAXED);
15272        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15273        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15274
15275   ;
15276   return 0;
15277 }
15278 _ACEOF
15279 if ac_fn_cxx_try_link "$LINENO"; then :
15280   glibcxx_cv_atomic_short=yes
15281 else
15282   glibcxx_cv_atomic_short=no
15283 fi
15284 rm -f core conftest.err conftest.$ac_objext \
15285     conftest$ac_exeext conftest.$ac_ext
15286
15287 fi
15288
15289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15290 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15291
15292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15293 $as_echo_n "checking for atomic builtins for int... " >&6; }
15294   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15295   $as_echo_n "(cached) " >&6
15296 else
15297
15298     if test x$gcc_no_link = xyes; then
15299   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15300 fi
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h.  */
15303
15304 int
15305 main ()
15306 {
15307 typedef int atomic_type;
15308        atomic_type c1;
15309        atomic_type c2;
15310        atomic_type c3(0);
15311        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15312        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15313                                    __ATOMIC_RELAXED);
15314        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15315        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15316
15317   ;
15318   return 0;
15319 }
15320 _ACEOF
15321 if ac_fn_cxx_try_link "$LINENO"; then :
15322   glibcxx_cv_atomic_int=yes
15323 else
15324   glibcxx_cv_atomic_int=no
15325 fi
15326 rm -f core conftest.err conftest.$ac_objext \
15327     conftest$ac_exeext conftest.$ac_ext
15328
15329 fi
15330
15331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15332 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15333
15334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15335 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15336   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15337   $as_echo_n "(cached) " >&6
15338 else
15339
15340     if test x$gcc_no_link = xyes; then
15341   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15342 fi
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h.  */
15345
15346 int
15347 main ()
15348 {
15349 typedef long long atomic_type;
15350        atomic_type c1;
15351        atomic_type c2;
15352        atomic_type c3(0);
15353        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15354        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15355                                    __ATOMIC_RELAXED);
15356        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15357        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15358
15359   ;
15360   return 0;
15361 }
15362 _ACEOF
15363 if ac_fn_cxx_try_link "$LINENO"; then :
15364   glibcxx_cv_atomic_long_long=yes
15365 else
15366   glibcxx_cv_atomic_long_long=no
15367 fi
15368 rm -f core conftest.err conftest.$ac_objext \
15369     conftest$ac_exeext conftest.$ac_ext
15370
15371 fi
15372
15373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15374 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15375
15376   else
15377
15378   # Do asm tests.
15379
15380   # Compile unoptimized.
15381   CXXFLAGS='-O0 -S'
15382
15383   # Fake what AC_TRY_COMPILE does.
15384
15385     cat > conftest.$ac_ext << EOF
15386 #line 15386 "configure"
15387 int main()
15388 {
15389   typedef bool atomic_type;
15390   atomic_type c1;
15391   atomic_type c2;
15392   atomic_type c3(0);
15393   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15394   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15395                               __ATOMIC_RELAXED);
15396   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15397   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15398
15399   return 0;
15400 }
15401 EOF
15402
15403     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15404 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15405     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406   (eval $ac_compile) 2>&5
15407   ac_status=$?
15408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409   test $ac_status = 0; }; then
15410       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15411         glibcxx_cv_atomic_bool=no
15412       else
15413         glibcxx_cv_atomic_bool=yes
15414       fi
15415     fi
15416     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15417 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15418     rm -f conftest*
15419
15420     cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15423 {
15424   typedef short atomic_type;
15425   atomic_type c1;
15426   atomic_type c2;
15427   atomic_type c3(0);
15428   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15429   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15430                               __ATOMIC_RELAXED);
15431   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15432   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15433
15434   return 0;
15435 }
15436 EOF
15437
15438     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15439 $as_echo_n "checking for atomic builtins for short... " >&6; }
15440     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15441   (eval $ac_compile) 2>&5
15442   ac_status=$?
15443   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444   test $ac_status = 0; }; then
15445       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15446         glibcxx_cv_atomic_short=no
15447       else
15448         glibcxx_cv_atomic_short=yes
15449       fi
15450     fi
15451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15452 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15453     rm -f conftest*
15454
15455     cat > conftest.$ac_ext << EOF
15456 #line 15456 "configure"
15457 int main()
15458 {
15459   // NB: _Atomic_word not necessarily int.
15460   typedef int atomic_type;
15461   atomic_type c1;
15462   atomic_type c2;
15463   atomic_type c3(0);
15464   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15465   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15466                               __ATOMIC_RELAXED);
15467   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15468   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15469
15470   return 0;
15471 }
15472 EOF
15473
15474     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15475 $as_echo_n "checking for atomic builtins for int... " >&6; }
15476     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15477   (eval $ac_compile) 2>&5
15478   ac_status=$?
15479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480   test $ac_status = 0; }; then
15481       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15482         glibcxx_cv_atomic_int=no
15483       else
15484         glibcxx_cv_atomic_int=yes
15485       fi
15486     fi
15487     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15488 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15489     rm -f conftest*
15490
15491     cat > conftest.$ac_ext << EOF
15492 #line 15492 "configure"
15493 int main()
15494 {
15495   typedef long long atomic_type;
15496   atomic_type c1;
15497   atomic_type c2;
15498   atomic_type c3(0);
15499   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15500   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15501                               __ATOMIC_RELAXED);
15502   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15503   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15504
15505   return 0;
15506 }
15507 EOF
15508
15509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15510 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15511     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512   (eval $ac_compile) 2>&5
15513   ac_status=$?
15514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515   test $ac_status = 0; }; then
15516       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15517         glibcxx_cv_atomic_long_long=no
15518       else
15519         glibcxx_cv_atomic_long_long=yes
15520       fi
15521     fi
15522     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15523 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15524     rm -f conftest*
15525
15526   fi
15527
15528   CXXFLAGS="$old_CXXFLAGS"
15529   ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534
15535
15536   # Set atomicity_dir to builtins if all but the long long test above passes.
15537   if test $glibcxx_cv_atomic_bool = yes \
15538      && test $glibcxx_cv_atomic_short = yes \
15539      && test $glibcxx_cv_atomic_int = yes; then
15540
15541 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15542
15543     atomicity_dir=cpu/generic/atomicity_builtins
15544   fi
15545
15546   # If still generic, set to mutex.
15547   if test $atomicity_dir = "cpu/generic" ; then
15548     atomicity_dir=cpu/generic/atomicity_mutex
15549     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15550 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15551       if test "x$target_thread_file" = xsingle; then
15552         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15553 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15554         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15555 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15556       else
15557         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15558 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15559         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15560 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15561       fi
15562   fi
15563
15564
15565
15566
15567   # Fake what AC_TRY_COMPILE does, without linking as this is
15568   # unnecessary for this test.
15569
15570     cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15573 {
15574   _Decimal32 d1;
15575   _Decimal64 d2;
15576   _Decimal128 d3;
15577   return 0;
15578 }
15579 EOF
15580
15581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15582 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15583     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15584   (eval $ac_compile) 2>&5
15585   ac_status=$?
15586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15587   test $ac_status = 0; }; then
15588
15589 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15590
15591       enable_dfp=yes
15592     else
15593       enable_dfp=no
15594     fi
15595     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15596 $as_echo "$enable_dfp" >&6; }
15597     rm -f conftest*
15598
15599
15600
15601
15602   ac_ext=cpp
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15607
15608
15609   # Fake what AC_TRY_COMPILE does, without linking as this is
15610   # unnecessary for this test.
15611
15612     cat > conftest.$ac_ext << EOF
15613 #line 15613 "configure"
15614 template<typename T1, typename T2>
15615   struct same
15616   { typedef T2 type; };
15617
15618 template<typename T>
15619   struct same<T, T>;
15620
15621 int main()
15622 {
15623   typename same<long, __int128>::type                i1;
15624   typename same<long long, __int128>::type           i2;
15625 }
15626 EOF
15627
15628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15629 $as_echo_n "checking for __int128... " >&6; }
15630     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15631   (eval $ac_compile) 2>&5
15632   ac_status=$?
15633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634   test $ac_status = 0; }; then
15635
15636 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15637
15638       enable_int128=yes
15639     else
15640       enable_int128=no
15641     fi
15642     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15643 $as_echo "$enable_int128" >&6; }
15644     rm -f conftest*
15645
15646     cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649   struct same
15650   { typedef T2 type; };
15651
15652 template<typename T>
15653   struct same<T, T>;
15654
15655 int main()
15656 {
15657   typename same<double, __float128>::type      f1;
15658   typename same<long double, __float128>::type f2;
15659 }
15660 EOF
15661
15662     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15663 $as_echo_n "checking for __float128... " >&6; }
15664     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665   (eval $ac_compile) 2>&5
15666   ac_status=$?
15667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668   test $ac_status = 0; }; then
15669
15670 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15671
15672       enable_float128=yes
15673     else
15674       enable_float128=no
15675     fi
15676     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15677 $as_echo "$enable_float128" >&6; }
15678     rm -f conftest*
15679
15680   ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685
15686
15687
15688 # Checks for compiler support that doesn't require linking.
15689
15690   # All these tests are for C++; save the language and the compiler flags.
15691   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15692   # found in GLIBCXX_CONFIGURE.
15693
15694   ac_ext=cpp
15695 ac_cpp='$CXXCPP $CPPFLAGS'
15696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15699
15700   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15701   ac_save_CXXFLAGS="$CXXFLAGS"
15702
15703   # Check for maintainer-mode bits.
15704   if test x"$USE_MAINTAINER_MODE" = xno; then
15705     WERROR=''
15706   else
15707     WERROR='-Werror'
15708   fi
15709
15710   # Check for -ffunction-sections -fdata-sections
15711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15712 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15713   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h.  */
15716 int foo; void bar() { };
15717 int
15718 main ()
15719 {
15720
15721   ;
15722   return 0;
15723 }
15724 _ACEOF
15725 if ac_fn_cxx_try_compile "$LINENO"; then :
15726   ac_fdsections=yes
15727 else
15728   ac_fdsections=no
15729 fi
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731   if test "$ac_test_CXXFLAGS" = set; then
15732     CXXFLAGS="$ac_save_CXXFLAGS"
15733   else
15734     # this is the suspicious part
15735     CXXFLAGS=''
15736   fi
15737   if test x"$ac_fdsections" = x"yes"; then
15738     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15739   fi
15740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15741 $as_echo "$ac_fdsections" >&6; }
15742
15743   ac_ext=c
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15748
15749
15750
15751
15752
15753 # Enable all the variable C++ runtime options that don't require linking.
15754
15755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15756 $as_echo_n "checking for underlying I/O to use... " >&6; }
15757    # Check whether --enable-cstdio was given.
15758 if test "${enable_cstdio+set}" = set; then :
15759   enableval=$enable_cstdio;
15760       case "$enableval" in
15761        stdio) ;;
15762        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15763                         esac
15764
15765 else
15766   enable_cstdio=stdio
15767 fi
15768
15769
15770
15771   # Now that libio has been removed, you can have any color you want as long
15772   # as it's black.  This is one big no-op until other packages are added, but
15773   # showing the framework never hurts.
15774   case ${enable_cstdio} in
15775     stdio)
15776       CSTDIO_H=config/io/c_io_stdio.h
15777       BASIC_FILE_H=config/io/basic_file_stdio.h
15778       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15779       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15780 $as_echo "stdio" >&6; }
15781       ;;
15782   esac
15783
15784
15785
15786
15787
15788
15789    # Check whether --enable-clocale was given.
15790 if test "${enable_clocale+set}" = set; then :
15791   enableval=$enable_clocale;
15792       case "$enableval" in
15793        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15794        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15795                         esac
15796
15797 else
15798   enable_clocale=auto
15799 fi
15800
15801
15802
15803   # Deal with gettext issues.  Default to not using it (=no) until we detect
15804   # support for it later.  Let the user turn it off via --e/d, but let that
15805   # default to on for easier handling.
15806   USE_NLS=no
15807   # Check whether --enable-nls was given.
15808 if test "${enable_nls+set}" = set; then :
15809   enableval=$enable_nls;
15810 else
15811   enable_nls=yes
15812 fi
15813
15814
15815   # Either a known package, or "auto"
15816   if test $enable_clocale = no || test $enable_clocale = yes; then
15817      enable_clocale=auto
15818   fi
15819   enable_clocale_flag=$enable_clocale
15820
15821   # Probe for locale model to use if none specified.
15822   # Default to "generic".
15823   if test $enable_clocale_flag = auto; then
15824     case ${target_os} in
15825       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15826         enable_clocale_flag=gnu
15827         ;;
15828       darwin* | freebsd*)
15829         enable_clocale_flag=darwin
15830         ;;
15831       openbsd*)
15832         enable_clocale_flag=newlib
15833         ;;
15834       *)
15835         if test x"$with_newlib" = x"yes"; then
15836           enable_clocale_flag=newlib
15837         else
15838           enable_clocale_flag=generic
15839         fi
15840         ;;
15841     esac
15842   fi
15843
15844   # Sanity check model, and test for special functionality.
15845   if test $enable_clocale_flag = gnu; then
15846     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h.  */
15848
15849     #include <features.h>
15850     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15851       _GLIBCXX_ok
15852     #endif
15853
15854 _ACEOF
15855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15857   enable_clocale_flag=gnu
15858 else
15859   enable_clocale_flag=generic
15860 fi
15861 rm -f conftest*
15862
15863
15864     # Set it to scream when it hurts.
15865     ac_save_CFLAGS="$CFLAGS"
15866     CFLAGS="-Wimplicit-function-declaration -Werror"
15867
15868     # Use strxfrm_l if available.
15869     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h.  */
15871 #define _GNU_SOURCE 1
15872                     #include <string.h>
15873                     #include <locale.h>
15874 int
15875 main ()
15876 {
15877 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15878   ;
15879   return 0;
15880 }
15881 _ACEOF
15882 if ac_fn_c_try_compile "$LINENO"; then :
15883
15884 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15885
15886 fi
15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15888
15889     # Use strerror_l if available.
15890     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h.  */
15892 #define _GNU_SOURCE 1
15893                     #include <string.h>
15894                     #include <locale.h>
15895 int
15896 main ()
15897 {
15898 __locale_t loc; strerror_l(5, loc);
15899   ;
15900   return 0;
15901 }
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15904
15905 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15906
15907 fi
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909
15910     CFLAGS="$ac_save_CFLAGS"
15911   fi
15912
15913   # Perhaps use strerror_r if available, and strerror_l isn't.
15914   ac_save_CFLAGS="$CFLAGS"
15915   CFLAGS="-Wimplicit-function-declaration -Werror"
15916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h.  */
15918 #define _GNU_SOURCE 1
15919                   #include <string.h>
15920                   #include <locale.h>
15921 int
15922 main ()
15923 {
15924 char s[128]; strerror_r(5, s, 128);
15925   ;
15926   return 0;
15927 }
15928 _ACEOF
15929 if ac_fn_c_try_compile "$LINENO"; then :
15930
15931 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15932
15933 fi
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935   CFLAGS="$ac_save_CFLAGS"
15936
15937   # Set configure bits for specified locale package
15938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15939 $as_echo_n "checking for C locale to use... " >&6; }
15940   case ${enable_clocale_flag} in
15941     generic)
15942       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15943 $as_echo "generic" >&6; }
15944
15945       CLOCALE_H=config/locale/generic/c_locale.h
15946       CLOCALE_CC=config/locale/generic/c_locale.cc
15947       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15948       CCOLLATE_CC=config/locale/generic/collate_members.cc
15949       CCTYPE_CC=config/locale/generic/ctype_members.cc
15950       CMESSAGES_H=config/locale/generic/messages_members.h
15951       CMESSAGES_CC=config/locale/generic/messages_members.cc
15952       CMONEY_CC=config/locale/generic/monetary_members.cc
15953       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15954       CTIME_H=config/locale/generic/time_members.h
15955       CTIME_CC=config/locale/generic/time_members.cc
15956       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15957       ;;
15958     darwin)
15959       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15960 $as_echo "darwin or freebsd" >&6; }
15961
15962       CLOCALE_H=config/locale/generic/c_locale.h
15963       CLOCALE_CC=config/locale/generic/c_locale.cc
15964       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965       CCOLLATE_CC=config/locale/generic/collate_members.cc
15966       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15967       CMESSAGES_H=config/locale/generic/messages_members.h
15968       CMESSAGES_CC=config/locale/generic/messages_members.cc
15969       CMONEY_CC=config/locale/generic/monetary_members.cc
15970       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971       CTIME_H=config/locale/generic/time_members.h
15972       CTIME_CC=config/locale/generic/time_members.cc
15973       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15974       ;;
15975
15976     gnu)
15977       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15978 $as_echo "gnu" >&6; }
15979
15980       # Declare intention to use gettext, and add support for specific
15981       # languages.
15982       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15983       ALL_LINGUAS="de fr"
15984
15985       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15986       # Extract the first word of "msgfmt", so it can be a program name with args.
15987 set dummy msgfmt; ac_word=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15991   $as_echo_n "(cached) " >&6
15992 else
15993   if test -n "$check_msgfmt"; then
15994   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15995 else
15996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15997 for as_dir in $PATH
15998 do
15999   IFS=$as_save_IFS
16000   test -z "$as_dir" && as_dir=.
16001     for ac_exec_ext in '' $ac_executable_extensions; do
16002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16003     ac_cv_prog_check_msgfmt="yes"
16004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005     break 2
16006   fi
16007 done
16008   done
16009 IFS=$as_save_IFS
16010
16011   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16012 fi
16013 fi
16014 check_msgfmt=$ac_cv_prog_check_msgfmt
16015 if test -n "$check_msgfmt"; then
16016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16017 $as_echo "$check_msgfmt" >&6; }
16018 else
16019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16021 fi
16022
16023
16024       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16025         USE_NLS=yes
16026       fi
16027       # Export the build objects.
16028       for ling in $ALL_LINGUAS; do \
16029         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16030         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16031       done
16032
16033
16034
16035       CLOCALE_H=config/locale/gnu/c_locale.h
16036       CLOCALE_CC=config/locale/gnu/c_locale.cc
16037       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16038       CCOLLATE_CC=config/locale/gnu/collate_members.cc
16039       CCTYPE_CC=config/locale/gnu/ctype_members.cc
16040       CMESSAGES_H=config/locale/gnu/messages_members.h
16041       CMESSAGES_CC=config/locale/gnu/messages_members.cc
16042       CMONEY_CC=config/locale/gnu/monetary_members.cc
16043       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16044       CTIME_H=config/locale/gnu/time_members.h
16045       CTIME_CC=config/locale/gnu/time_members.cc
16046       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16047       ;;
16048     ieee_1003.1-2001)
16049       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16050 $as_echo "IEEE 1003.1" >&6; }
16051
16052       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16053       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16054       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16055       CCOLLATE_CC=config/locale/generic/collate_members.cc
16056       CCTYPE_CC=config/locale/generic/ctype_members.cc
16057       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16058       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16059       CMONEY_CC=config/locale/generic/monetary_members.cc
16060       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16061       CTIME_H=config/locale/generic/time_members.h
16062       CTIME_CC=config/locale/generic/time_members.cc
16063       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16064       ;;
16065     newlib)
16066       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16067 $as_echo "newlib" >&6; }
16068
16069       CLOCALE_H=config/locale/generic/c_locale.h
16070       CLOCALE_CC=config/locale/generic/c_locale.cc
16071       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16072       CCOLLATE_CC=config/locale/generic/collate_members.cc
16073       CCTYPE_CC=config/locale/newlib/ctype_members.cc
16074       CMESSAGES_H=config/locale/generic/messages_members.h
16075       CMESSAGES_CC=config/locale/generic/messages_members.cc
16076       CMONEY_CC=config/locale/generic/monetary_members.cc
16077       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16078       CTIME_H=config/locale/generic/time_members.h
16079       CTIME_CC=config/locale/generic/time_members.cc
16080       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16081       ;;
16082   esac
16083
16084   # This is where the testsuite looks for locale catalogs, using the
16085   # -DLOCALEDIR define during testsuite compilation.
16086   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16087
16088
16089   # A standalone libintl (e.g., GNU libintl) may be in use.
16090   if test $USE_NLS = yes; then
16091     for ac_header in libintl.h
16092 do :
16093   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16095   cat >>confdefs.h <<_ACEOF
16096 #define HAVE_LIBINTL_H 1
16097 _ACEOF
16098
16099 else
16100   USE_NLS=no
16101 fi
16102
16103 done
16104
16105     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16106 $as_echo_n "checking for library containing gettext... " >&6; }
16107 if test "${ac_cv_search_gettext+set}" = set; then :
16108   $as_echo_n "(cached) " >&6
16109 else
16110   ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h.  */
16113
16114 /* Override any GCC internal prototype to avoid an error.
16115    Use char because int might match the return type of a GCC
16116    builtin and then its argument prototype would still apply.  */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char gettext ();
16121 int
16122 main ()
16123 {
16124 return gettext ();
16125   ;
16126   return 0;
16127 }
16128 _ACEOF
16129 for ac_lib in '' intl; do
16130   if test -z "$ac_lib"; then
16131     ac_res="none required"
16132   else
16133     ac_res=-l$ac_lib
16134     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16135   fi
16136   if test x$gcc_no_link = xyes; then
16137   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16138 fi
16139 if ac_fn_c_try_link "$LINENO"; then :
16140   ac_cv_search_gettext=$ac_res
16141 fi
16142 rm -f core conftest.err conftest.$ac_objext \
16143     conftest$ac_exeext
16144   if test "${ac_cv_search_gettext+set}" = set; then :
16145   break
16146 fi
16147 done
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16149
16150 else
16151   ac_cv_search_gettext=no
16152 fi
16153 rm conftest.$ac_ext
16154 LIBS=$ac_func_search_save_LIBS
16155 fi
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16157 $as_echo "$ac_cv_search_gettext" >&6; }
16158 ac_res=$ac_cv_search_gettext
16159 if test "$ac_res" != no; then :
16160   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16161
16162 else
16163   USE_NLS=no
16164 fi
16165
16166   fi
16167   if test $USE_NLS = yes; then
16168
16169 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16170
16171   fi
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16189 $as_echo_n "checking for std::allocator base class... " >&6; }
16190    # Check whether --enable-libstdcxx-allocator was given.
16191 if test "${enable_libstdcxx_allocator+set}" = set; then :
16192   enableval=$enable_libstdcxx_allocator;
16193       case "$enableval" in
16194        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16195        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16196                         esac
16197
16198 else
16199   enable_libstdcxx_allocator=auto
16200 fi
16201
16202
16203
16204   # If they didn't use this option switch, or if they specified --enable
16205   # with no specific model, we'll have to look for one.  If they
16206   # specified --disable (???), do likewise.
16207   if test $enable_libstdcxx_allocator = no ||
16208      test $enable_libstdcxx_allocator = yes;
16209   then
16210      enable_libstdcxx_allocator=auto
16211   fi
16212
16213   # Either a known package, or "auto". Auto implies the default choice
16214   # for a particular platform.
16215   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16216
16217   # Probe for host-specific support if no specific model is specified.
16218   # Default to "new".
16219   if test $enable_libstdcxx_allocator_flag = auto; then
16220     case ${target_os} in
16221       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16222         enable_libstdcxx_allocator_flag=new
16223         ;;
16224       *)
16225         enable_libstdcxx_allocator_flag=new
16226         ;;
16227     esac
16228   fi
16229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16230 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16231
16232
16233   # Set configure bits for specified locale package
16234   case ${enable_libstdcxx_allocator_flag} in
16235     bitmap)
16236       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16237       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16238       ;;
16239     malloc)
16240       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16241       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16242       ;;
16243     mt)
16244       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16245       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16246       ;;
16247     new)
16248       ALLOCATOR_H=config/allocator/new_allocator_base.h
16249       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16250       ;;
16251     pool)
16252       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16253       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16254       ;;
16255   esac
16256
16257
16258
16259
16260
16261    # Check whether --enable-cheaders was given.
16262 if test "${enable_cheaders+set}" = set; then :
16263   enableval=$enable_cheaders;
16264       case "$enableval" in
16265        c|c_std|c_global) ;;
16266        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16267                         esac
16268
16269 else
16270   enable_cheaders=$c_model
16271 fi
16272
16273
16274   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16275 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16276
16277   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16278
16279   # Allow overrides to configure.host here.
16280   if test $enable_cheaders = c_global; then
16281      c_compatibility=yes
16282   fi
16283
16284
16285
16286
16287
16288
16289
16290    # Check whether --enable-long-long was given.
16291 if test "${enable_long_long+set}" = set; then :
16292   enableval=$enable_long_long;
16293       case "$enableval" in
16294        yes|no) ;;
16295        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16296       esac
16297
16298 else
16299   enable_long_long=yes
16300 fi
16301
16302
16303   if test $enable_long_long = yes; then
16304
16305 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16306
16307   fi
16308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16309 $as_echo_n "checking for enabled long long specializations... " >&6; }
16310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16311 $as_echo "$enable_long_long" >&6; }
16312
16313
16314    # Check whether --enable-wchar_t was given.
16315 if test "${enable_wchar_t+set}" = set; then :
16316   enableval=$enable_wchar_t;
16317       case "$enableval" in
16318        yes|no) ;;
16319        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16320       esac
16321
16322 else
16323   enable_wchar_t=yes
16324 fi
16325
16326
16327
16328   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16329   for ac_header in wchar.h
16330 do :
16331   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16332 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16333   cat >>confdefs.h <<_ACEOF
16334 #define HAVE_WCHAR_H 1
16335 _ACEOF
16336  ac_has_wchar_h=yes
16337 else
16338   ac_has_wchar_h=no
16339 fi
16340
16341 done
16342
16343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16344 $as_echo_n "checking for mbstate_t... " >&6; }
16345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h.  */
16347 #include <wchar.h>
16348 int
16349 main ()
16350 {
16351 mbstate_t teststate;
16352   ;
16353   return 0;
16354 }
16355 _ACEOF
16356 if ac_fn_c_try_compile "$LINENO"; then :
16357   have_mbstate_t=yes
16358 else
16359   have_mbstate_t=no
16360 fi
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16363 $as_echo "$have_mbstate_t" >&6; }
16364   if test x"$have_mbstate_t" = xyes; then
16365
16366 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16367
16368   fi
16369
16370   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16371   # ac_has_wchar_h.
16372   for ac_header in wctype.h
16373 do :
16374   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16376   cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCTYPE_H 1
16378 _ACEOF
16379  ac_has_wctype_h=yes
16380 else
16381   ac_has_wctype_h=no
16382 fi
16383
16384 done
16385
16386
16387   if test x"$enable_wchar_t" = x"yes"; then
16388
16389
16390     ac_ext=cpp
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16395
16396
16397     if test x"$ac_has_wchar_h" = xyes &&
16398        test x"$ac_has_wctype_h" = xyes; then
16399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h.  */
16401 #include <wchar.h>
16402                       #include <stddef.h>
16403                       wint_t i;
16404                       long l = WEOF;
16405                       long j = WCHAR_MIN;
16406                       long k = WCHAR_MAX;
16407                       namespace test
16408                       {
16409                         using ::btowc;
16410                         using ::fgetwc;
16411                         using ::fgetws;
16412                         using ::fputwc;
16413                         using ::fputws;
16414                         using ::fwide;
16415                         using ::fwprintf;
16416                         using ::fwscanf;
16417                         using ::getwc;
16418                         using ::getwchar;
16419                         using ::mbrlen;
16420                         using ::mbrtowc;
16421                         using ::mbsinit;
16422                         using ::mbsrtowcs;
16423                         using ::putwc;
16424                         using ::putwchar;
16425                         using ::swprintf;
16426                         using ::swscanf;
16427                         using ::ungetwc;
16428                         using ::vfwprintf;
16429                         using ::vswprintf;
16430                         using ::vwprintf;
16431                         using ::wcrtomb;
16432                         using ::wcscat;
16433                         using ::wcschr;
16434                         using ::wcscmp;
16435                         using ::wcscoll;
16436                         using ::wcscpy;
16437                         using ::wcscspn;
16438                         using ::wcsftime;
16439                         using ::wcslen;
16440                         using ::wcsncat;
16441                         using ::wcsncmp;
16442                         using ::wcsncpy;
16443                         using ::wcspbrk;
16444                         using ::wcsrchr;
16445                         using ::wcsrtombs;
16446                         using ::wcsspn;
16447                         using ::wcsstr;
16448                         using ::wcstod;
16449                         using ::wcstok;
16450                         using ::wcstol;
16451                         using ::wcstoul;
16452                         using ::wcsxfrm;
16453                         using ::wctob;
16454                         using ::wmemchr;
16455                         using ::wmemcmp;
16456                         using ::wmemcpy;
16457                         using ::wmemmove;
16458                         using ::wmemset;
16459                         using ::wprintf;
16460                         using ::wscanf;
16461                       }
16462
16463 int
16464 main ()
16465 {
16466
16467   ;
16468   return 0;
16469 }
16470 _ACEOF
16471 if ac_fn_cxx_try_compile "$LINENO"; then :
16472
16473 else
16474   enable_wchar_t=no
16475 fi
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477     else
16478       enable_wchar_t=no
16479     fi
16480
16481     ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486
16487   fi
16488
16489   if test x"$enable_wchar_t" = x"yes"; then
16490
16491 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16492
16493   fi
16494
16495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16496 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16498 $as_echo "$enable_wchar_t" >&6; }
16499
16500
16501
16502    # Check whether --enable-c99 was given.
16503 if test "${enable_c99+set}" = set; then :
16504   enableval=$enable_c99;
16505       case "$enableval" in
16506        yes|no) ;;
16507        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16508       esac
16509
16510 else
16511   enable_c99=yes
16512 fi
16513
16514
16515
16516   if test x"$enable_c99" = x"yes"; then
16517
16518
16519   ac_ext=cpp
16520 ac_cpp='$CXXCPP $CPPFLAGS'
16521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16524
16525
16526   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16527   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16528   # spuriously enabled.
16529   # Long term, -std=c++0x could be even better, could manage to explicitely
16530   # request C99 facilities to the underlying C headers.
16531   ac_save_CXXFLAGS="$CXXFLAGS"
16532   CXXFLAGS="$CXXFLAGS -std=c++98"
16533   ac_save_LIBS="$LIBS"
16534   ac_save_gcc_no_link="$gcc_no_link"
16535
16536   if test x$gcc_no_link != xyes; then
16537     # Use -fno-exceptions to that the C driver can link these tests without
16538     # hitting undefined references to personality routines.
16539     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16540     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16541 $as_echo_n "checking for sin in -lm... " >&6; }
16542 if test "${ac_cv_lib_m_sin+set}" = set; then :
16543   $as_echo_n "(cached) " >&6
16544 else
16545   ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lm  $LIBS"
16547 if test x$gcc_no_link = xyes; then
16548   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16549 fi
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h.  */
16552
16553 /* Override any GCC internal prototype to avoid an error.
16554    Use char because int might match the return type of a GCC
16555    builtin and then its argument prototype would still apply.  */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char sin ();
16560 int
16561 main ()
16562 {
16563 return sin ();
16564   ;
16565   return 0;
16566 }
16567 _ACEOF
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569   ac_cv_lib_m_sin=yes
16570 else
16571   ac_cv_lib_m_sin=no
16572 fi
16573 rm -f core conftest.err conftest.$ac_objext \
16574     conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16576 fi
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16578 $as_echo "$ac_cv_lib_m_sin" >&6; }
16579 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16580
16581       LIBS="$LIBS -lm"
16582
16583 else
16584
16585       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16586       gcc_no_link=yes
16587
16588 fi
16589
16590   fi
16591
16592   # Check for the existence of <math.h> functions used if C99 is enabled.
16593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16594 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16595   if test "${glibcxx_cv_c99_math+set}" = set; then :
16596   $as_echo_n "(cached) " >&6
16597 else
16598
16599   if test x$gcc_no_link = xyes; then
16600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h.  */
16602 #include <math.h>
16603       volatile double d1, d2;
16604       volatile int i;
16605 int
16606 main ()
16607 {
16608 i = fpclassify(d1);
16609       i = isfinite(d1);
16610       i = isinf(d1);
16611       i = isnan(d1);
16612       i = isnormal(d1);
16613       i = signbit(d1);
16614       i = isgreater(d1, d2);
16615       i = isgreaterequal(d1, d2);
16616       i = isless(d1, d2);
16617       i = islessequal(d1, d2);
16618       i = islessgreater(d1, d2);
16619       i = islessgreater(d1, d2);
16620       i = isunordered(d1, d2);
16621
16622   ;
16623   return 0;
16624 }
16625 _ACEOF
16626 if ac_fn_cxx_try_compile "$LINENO"; then :
16627   glibcxx_cv_c99_math=yes
16628 else
16629   glibcxx_cv_c99_math=no
16630 fi
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632 else
16633   if test x$gcc_no_link = xyes; then
16634   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16635 fi
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h.  */
16638 #include <math.h>
16639       volatile double d1, d2;
16640       volatile int i;
16641 int
16642 main ()
16643 {
16644 i = fpclassify(d1);
16645       i = isfinite(d1);
16646       i = isinf(d1);
16647       i = isnan(d1);
16648       i = isnormal(d1);
16649       i = signbit(d1);
16650       i = isgreater(d1, d2);
16651       i = isgreaterequal(d1, d2);
16652       i = isless(d1, d2);
16653       i = islessequal(d1, d2);
16654       i = islessgreater(d1, d2);
16655       i = islessgreater(d1, d2);
16656       i = isunordered(d1, d2);
16657
16658   ;
16659   return 0;
16660 }
16661 _ACEOF
16662 if ac_fn_cxx_try_link "$LINENO"; then :
16663   glibcxx_cv_c99_math=yes
16664 else
16665   glibcxx_cv_c99_math=no
16666 fi
16667 rm -f core conftest.err conftest.$ac_objext \
16668     conftest$ac_exeext conftest.$ac_ext
16669 fi
16670
16671 fi
16672
16673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16674 $as_echo "$glibcxx_cv_c99_math" >&6; }
16675   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16676
16677 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16678
16679   fi
16680
16681   # Check for the existence of <complex.h> complex math functions.
16682   # This is necessary even though libstdc++ uses the builtin versions
16683   # of these functions, because if the builtin cannot be used, a reference
16684   # to the library function is emitted.
16685   for ac_header in tgmath.h
16686 do :
16687   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16688 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16689   cat >>confdefs.h <<_ACEOF
16690 #define HAVE_TGMATH_H 1
16691 _ACEOF
16692  ac_has_tgmath_h=yes
16693 else
16694   ac_has_tgmath_h=no
16695 fi
16696
16697 done
16698
16699   for ac_header in complex.h
16700 do :
16701   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16702 if test "x$ac_cv_header_complex_h" = x""yes; then :
16703   cat >>confdefs.h <<_ACEOF
16704 #define HAVE_COMPLEX_H 1
16705 _ACEOF
16706  ac_has_complex_h=yes
16707 else
16708   ac_has_complex_h=no
16709 fi
16710
16711 done
16712
16713   glibcxx_cv_c99_complex=no;
16714   if test x"$ac_has_complex_h" = x"yes"; then
16715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16716 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16717     if test x$gcc_no_link = xyes; then
16718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h.  */
16720 #include <complex.h>
16721         typedef __complex__ float float_type;
16722         typedef __complex__ double double_type;
16723         typedef __complex__ long double ld_type;
16724         volatile float_type tmpf;
16725         volatile double_type tmpd;
16726         volatile ld_type tmpld;
16727         volatile float f;
16728         volatile double d;
16729         volatile long double ld;
16730 int
16731 main ()
16732 {
16733 f = cabsf(tmpf);
16734         f = cargf(tmpf);
16735         tmpf = ccosf(tmpf);
16736         tmpf = ccoshf(tmpf);
16737         tmpf = cexpf(tmpf);
16738         tmpf = clogf(tmpf);
16739         tmpf = csinf(tmpf);
16740         tmpf = csinhf(tmpf);
16741         tmpf = csqrtf(tmpf);
16742         tmpf = ctanf(tmpf);
16743         tmpf = ctanhf(tmpf);
16744         tmpf = cpowf(tmpf, tmpf);
16745         tmpf = cprojf(tmpf);
16746         d = cabs(tmpd);
16747         d = carg(tmpd);
16748         tmpd = ccos(tmpd);
16749         tmpd = ccosh(tmpd);
16750         tmpd = cexp(tmpd);
16751         tmpd = clog(tmpd);
16752         tmpd = csin(tmpd);
16753         tmpd = csinh(tmpd);
16754         tmpd = csqrt(tmpd);
16755         tmpd = ctan(tmpd);
16756         tmpd = ctanh(tmpd);
16757         tmpd = cpow(tmpd, tmpd);
16758         tmpd = cproj(tmpd);
16759         ld = cabsl(tmpld);
16760         ld = cargl(tmpld);
16761         tmpld = ccosl(tmpld);
16762         tmpld = ccoshl(tmpld);
16763         tmpld = cexpl(tmpld);
16764         tmpld = clogl(tmpld);
16765         tmpld = csinl(tmpld);
16766         tmpld = csinhl(tmpld);
16767         tmpld = csqrtl(tmpld);
16768         tmpld = ctanl(tmpld);
16769         tmpld = ctanhl(tmpld);
16770         tmpld = cpowl(tmpld, tmpld);
16771         tmpld = cprojl(tmpld);
16772
16773   ;
16774   return 0;
16775 }
16776 _ACEOF
16777 if ac_fn_cxx_try_compile "$LINENO"; then :
16778   glibcxx_cv_c99_complex=yes
16779 else
16780   glibcxx_cv_c99_complex=no
16781 fi
16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 else
16784   if test x$gcc_no_link = xyes; then
16785   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16786 fi
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h.  */
16789 #include <complex.h>
16790         typedef __complex__ float float_type;
16791         typedef __complex__ double double_type;
16792         typedef __complex__ long double ld_type;
16793         volatile float_type tmpf;
16794         volatile double_type tmpd;
16795         volatile ld_type tmpld;
16796         volatile float f;
16797         volatile double d;
16798         volatile long double ld;
16799 int
16800 main ()
16801 {
16802 f = cabsf(tmpf);
16803         f = cargf(tmpf);
16804         tmpf = ccosf(tmpf);
16805         tmpf = ccoshf(tmpf);
16806         tmpf = cexpf(tmpf);
16807         tmpf = clogf(tmpf);
16808         tmpf = csinf(tmpf);
16809         tmpf = csinhf(tmpf);
16810         tmpf = csqrtf(tmpf);
16811         tmpf = ctanf(tmpf);
16812         tmpf = ctanhf(tmpf);
16813         tmpf = cpowf(tmpf, tmpf);
16814         tmpf = cprojf(tmpf);
16815         d = cabs(tmpd);
16816         d = carg(tmpd);
16817         tmpd = ccos(tmpd);
16818         tmpd = ccosh(tmpd);
16819         tmpd = cexp(tmpd);
16820         tmpd = clog(tmpd);
16821         tmpd = csin(tmpd);
16822         tmpd = csinh(tmpd);
16823         tmpd = csqrt(tmpd);
16824         tmpd = ctan(tmpd);
16825         tmpd = ctanh(tmpd);
16826         tmpd = cpow(tmpd, tmpd);
16827         tmpd = cproj(tmpd);
16828         ld = cabsl(tmpld);
16829         ld = cargl(tmpld);
16830         tmpld = ccosl(tmpld);
16831         tmpld = ccoshl(tmpld);
16832         tmpld = cexpl(tmpld);
16833         tmpld = clogl(tmpld);
16834         tmpld = csinl(tmpld);
16835         tmpld = csinhl(tmpld);
16836         tmpld = csqrtl(tmpld);
16837         tmpld = ctanl(tmpld);
16838         tmpld = ctanhl(tmpld);
16839         tmpld = cpowl(tmpld, tmpld);
16840         tmpld = cprojl(tmpld);
16841
16842   ;
16843   return 0;
16844 }
16845 _ACEOF
16846 if ac_fn_cxx_try_link "$LINENO"; then :
16847   glibcxx_cv_c99_complex=yes
16848 else
16849   glibcxx_cv_c99_complex=no
16850 fi
16851 rm -f core conftest.err conftest.$ac_objext \
16852     conftest$ac_exeext conftest.$ac_ext
16853 fi
16854   fi
16855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16856 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16857   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16858
16859 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16860
16861   fi
16862
16863   # Check for the existence in <stdio.h> of vscanf, et. al.
16864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16865 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16866   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16867   $as_echo_n "(cached) " >&6
16868 else
16869
16870   if test x$gcc_no_link = xyes; then
16871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h.  */
16873 #include <stdio.h>
16874       #include <stdarg.h>
16875       void foo(char* fmt, ...)
16876       {
16877         va_list args; va_start(args, fmt);
16878         vfscanf(stderr, "%i", args);
16879         vscanf("%i", args);
16880         vsnprintf(fmt, 0, "%i", args);
16881         vsscanf(fmt, "%i", args);
16882       }
16883 int
16884 main ()
16885 {
16886 snprintf("12", 0, "%i");
16887   ;
16888   return 0;
16889 }
16890 _ACEOF
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16892   glibcxx_cv_c99_stdio=yes
16893 else
16894   glibcxx_cv_c99_stdio=no
16895 fi
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 else
16898   if test x$gcc_no_link = xyes; then
16899   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16900 fi
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h.  */
16903 #include <stdio.h>
16904       #include <stdarg.h>
16905       void foo(char* fmt, ...)
16906       {
16907         va_list args; va_start(args, fmt);
16908         vfscanf(stderr, "%i", args);
16909         vscanf("%i", args);
16910         vsnprintf(fmt, 0, "%i", args);
16911         vsscanf(fmt, "%i", args);
16912       }
16913 int
16914 main ()
16915 {
16916 snprintf("12", 0, "%i");
16917   ;
16918   return 0;
16919 }
16920 _ACEOF
16921 if ac_fn_cxx_try_link "$LINENO"; then :
16922   glibcxx_cv_c99_stdio=yes
16923 else
16924   glibcxx_cv_c99_stdio=no
16925 fi
16926 rm -f core conftest.err conftest.$ac_objext \
16927     conftest$ac_exeext conftest.$ac_ext
16928 fi
16929
16930 fi
16931
16932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16933 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16934
16935   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16937 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16938   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16939   $as_echo_n "(cached) " >&6
16940 else
16941
16942   if test x$gcc_no_link = xyes; then
16943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h.  */
16945 #include <stdlib.h>
16946       volatile float f;
16947       volatile long double ld;
16948       volatile unsigned long long ll;
16949       lldiv_t mydivt;
16950 int
16951 main ()
16952 {
16953 char* tmp;
16954       f = strtof("gnu", &tmp);
16955       ld = strtold("gnu", &tmp);
16956       ll = strtoll("gnu", &tmp, 10);
16957       ll = strtoull("gnu", &tmp, 10);
16958       ll = llabs(10);
16959       mydivt = lldiv(10,1);
16960       ll = mydivt.quot;
16961       ll = mydivt.rem;
16962       ll = atoll("10");
16963       _Exit(0);
16964
16965   ;
16966   return 0;
16967 }
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970   glibcxx_cv_c99_stdlib=yes
16971 else
16972   glibcxx_cv_c99_stdlib=no
16973 fi
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975 else
16976   if test x$gcc_no_link = xyes; then
16977   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16978 fi
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h.  */
16981 #include <stdlib.h>
16982       volatile float f;
16983       volatile long double ld;
16984       volatile unsigned long long ll;
16985       lldiv_t mydivt;
16986 int
16987 main ()
16988 {
16989 char* tmp;
16990       f = strtof("gnu", &tmp);
16991       ld = strtold("gnu", &tmp);
16992       ll = strtoll("gnu", &tmp, 10);
16993       ll = strtoull("gnu", &tmp, 10);
16994       ll = llabs(10);
16995       mydivt = lldiv(10,1);
16996       ll = mydivt.quot;
16997       ll = mydivt.rem;
16998       ll = atoll("10");
16999       _Exit(0);
17000
17001   ;
17002   return 0;
17003 }
17004 _ACEOF
17005 if ac_fn_cxx_try_link "$LINENO"; then :
17006   glibcxx_cv_c99_stdlib=yes
17007 else
17008   glibcxx_cv_c99_stdlib=no
17009 fi
17010 rm -f core conftest.err conftest.$ac_objext \
17011     conftest$ac_exeext conftest.$ac_ext
17012 fi
17013
17014 fi
17015
17016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17017 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17018
17019   # Check for the existence in <wchar.h> of wcstold, etc.
17020   glibcxx_cv_c99_wchar=no;
17021   if test x"$ac_has_wchar_h" = xyes &&
17022      test x"$ac_has_wctype_h" = xyes; then
17023     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17024 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17025     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h.  */
17027 #include <wchar.h>
17028                     namespace test
17029                     {
17030                       using ::wcstold;
17031                       using ::wcstoll;
17032                       using ::wcstoull;
17033                     }
17034
17035 int
17036 main ()
17037 {
17038
17039   ;
17040   return 0;
17041 }
17042 _ACEOF
17043 if ac_fn_cxx_try_compile "$LINENO"; then :
17044   glibcxx_cv_c99_wchar=yes
17045 else
17046   glibcxx_cv_c99_wchar=no
17047 fi
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049
17050     # Checks for wide character functions that may not be present.
17051     # Injection of these is wrapped with guard macros.
17052     # NB: only put functions here, instead of immediately above, if
17053     # absolutely necessary.
17054     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h.  */
17056 #include <wchar.h>
17057                     namespace test { using ::vfwscanf; }
17058 int
17059 main ()
17060 {
17061
17062   ;
17063   return 0;
17064 }
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17067
17068 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17069
17070 fi
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072
17073     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h.  */
17075 #include <wchar.h>
17076                     namespace test { using ::vswscanf; }
17077 int
17078 main ()
17079 {
17080
17081   ;
17082   return 0;
17083 }
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17086
17087 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17088
17089 fi
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091
17092     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h.  */
17094 #include <wchar.h>
17095                     namespace test { using ::vwscanf; }
17096 int
17097 main ()
17098 {
17099
17100   ;
17101   return 0;
17102 }
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17105
17106 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17107
17108 fi
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110
17111     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h.  */
17113 #include <wchar.h>
17114                     namespace test { using ::wcstof; }
17115 int
17116 main ()
17117 {
17118
17119   ;
17120   return 0;
17121 }
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17124
17125 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17126
17127 fi
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129
17130     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h.  */
17132 #include <wctype.h>
17133 int
17134 main ()
17135 {
17136  wint_t t; int i = iswblank(t);
17137   ;
17138   return 0;
17139 }
17140 _ACEOF
17141 if ac_fn_cxx_try_compile "$LINENO"; then :
17142
17143 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17144
17145 fi
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17147
17148     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17149 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17150   fi
17151
17152   # Option parsed, now set things appropriately.
17153   if test x"$glibcxx_cv_c99_math" = x"no" ||
17154      test x"$glibcxx_cv_c99_complex" = x"no" ||
17155      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17156      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17157      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17158     enable_c99=no;
17159   else
17160
17161 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17162
17163   fi
17164
17165   gcc_no_link="$ac_save_gcc_no_link"
17166   LIBS="$ac_save_LIBS"
17167   CXXFLAGS="$ac_save_CXXFLAGS"
17168   ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173
17174   fi
17175
17176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17177 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17179 $as_echo "$enable_c99" >&6; }
17180
17181
17182    # Check whether --enable-concept-checks was given.
17183 if test "${enable_concept_checks+set}" = set; then :
17184   enableval=$enable_concept_checks;
17185       case "$enableval" in
17186        yes|no) ;;
17187        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17188       esac
17189
17190 else
17191   enable_concept_checks=no
17192 fi
17193
17194
17195   if test $enable_concept_checks = yes; then
17196
17197 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17198
17199   fi
17200
17201
17202    # Check whether --enable-libstdcxx-debug-flags was given.
17203 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17204   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17205       xno | x)    enable_libstdcxx_debug_flags= ;;
17206       x-*)        ;;
17207       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17208      esac
17209 else
17210   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17211 fi
17212
17213
17214
17215   # Option parsed, now set things appropriately
17216   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17217
17218
17219   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17220 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17221
17222
17223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17224 $as_echo_n "checking for additional debug build... " >&6; }
17225    # Check whether --enable-libstdcxx-debug was given.
17226 if test "${enable_libstdcxx_debug+set}" = set; then :
17227   enableval=$enable_libstdcxx_debug;
17228       case "$enableval" in
17229        yes|no) ;;
17230        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17231       esac
17232
17233 else
17234   enable_libstdcxx_debug=no
17235 fi
17236
17237
17238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17239 $as_echo "$enable_libstdcxx_debug" >&6; }
17240
17241
17242
17243
17244   enable_parallel=no;
17245
17246   # See if configured libgomp/omp.h exists. (libgomp may be in
17247   # noconfigdirs but not explicitly disabled.)
17248   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17249     enable_parallel=yes;
17250   else
17251     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17252 $as_echo "$as_me: target-libgomp not built" >&6;}
17253   fi
17254
17255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17256 $as_echo_n "checking for parallel mode support... " >&6; }
17257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17258 $as_echo "$enable_parallel" >&6; }
17259
17260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17261 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17262    # Check whether --enable-cxx-flags was given.
17263 if test "${enable_cxx_flags+set}" = set; then :
17264   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17265       xno | x)   enable_cxx_flags= ;;
17266       x-*)       ;;
17267       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268      esac
17269 else
17270   enable_cxx_flags=
17271 fi
17272
17273
17274
17275   # Run through flags (either default or command-line) and set anything
17276   # extra (e.g., #defines) that must accompany particular g++ options.
17277   if test -n "$enable_cxx_flags"; then
17278     for f in $enable_cxx_flags; do
17279       case "$f" in
17280         -fhonor-std)  ;;
17281         -*)  ;;
17282         *)   # and we're trying to pass /what/ exactly?
17283              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17284       esac
17285     done
17286   fi
17287
17288   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17290 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17291
17292
17293
17294    # Check whether --enable-fully-dynamic-string was given.
17295 if test "${enable_fully_dynamic_string+set}" = set; then :
17296   enableval=$enable_fully_dynamic_string;
17297       case "$enableval" in
17298        yes|no) ;;
17299        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17300       esac
17301
17302 else
17303   enable_fully_dynamic_string=no
17304 fi
17305
17306
17307   if test $enable_fully_dynamic_string = yes; then
17308     enable_fully_dynamic_string_def=1
17309   else
17310     enable_fully_dynamic_string_def=0
17311   fi
17312
17313 cat >>confdefs.h <<_ACEOF
17314 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17315 _ACEOF
17316
17317
17318
17319
17320    # Check whether --enable-extern-template was given.
17321 if test "${enable_extern_template+set}" = set; then :
17322   enableval=$enable_extern_template;
17323       case "$enableval" in
17324        yes|no) ;;
17325        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17326       esac
17327
17328 else
17329   enable_extern_template=yes
17330 fi
17331
17332
17333
17334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17335 $as_echo_n "checking for extern template support... " >&6; }
17336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17337 $as_echo "$enable_extern_template" >&6; }
17338
17339
17340
17341
17342
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17344 $as_echo_n "checking for custom python install directory... " >&6; }
17345
17346 # Check whether --with-python-dir was given.
17347 if test "${with_python_dir+set}" = set; then :
17348   withval=$with_python_dir; with_python_dir=$withval
17349 else
17350   with_python_dir="no"
17351 fi
17352
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17354 $as_echo "${with_python_dir}" >&6; }
17355
17356 # Needed for installing Python modules during make install.
17357 python_mod_dir="${with_python_dir}"
17358
17359
17360
17361
17362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17363 $as_echo_n "checking for -Werror... " >&6; }
17364    # Check whether --enable-werror was given.
17365 if test "${enable_werror+set}" = set; then :
17366   enableval=$enable_werror;
17367       case "$enableval" in
17368        yes|no) ;;
17369        *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17370       esac
17371
17372 else
17373   enable_werror=yes
17374 fi
17375
17376
17377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17378 $as_echo "$enable_werror" >&6; }
17379
17380
17381
17382 # Checks for operating systems support that doesn't require linking.
17383
17384
17385
17386   ac_ext=cpp
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17391
17392
17393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17394 $as_echo_n "checking for gets declaration... " >&6; }
17395   if test "${glibcxx_cv_gets+set}" = set; then :
17396   $as_echo_n "(cached) " >&6
17397 else
17398
17399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h.  */
17401 #include <stdio.h>
17402            namespace test
17403            {
17404               using ::gets;
17405            }
17406
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17409   glibcxx_cv_gets=yes
17410 else
17411   glibcxx_cv_gets=no
17412
17413 fi
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415 fi
17416
17417
17418   if test $glibcxx_cv_gets = yes; then
17419
17420 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17421
17422   fi
17423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17424 $as_echo "$glibcxx_cv_gets" >&6; }
17425
17426   ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17431
17432
17433
17434
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17436 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17437 if test "${glibcxx_cv_system_error1+set}" = set; then :
17438   $as_echo_n "(cached) " >&6
17439 else
17440
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h.  */
17443 #include <errno.h>
17444 int
17445 main ()
17446 {
17447 int i = EOWNERDEAD;
17448   ;
17449   return 0;
17450 }
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453   glibcxx_cv_system_error1=yes
17454 else
17455   glibcxx_cv_system_error1=no
17456 fi
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458
17459 fi
17460
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17462 $as_echo "$glibcxx_cv_system_error1" >&6; }
17463 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17464
17465 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17466
17467 fi
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17469 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17470 if test "${glibcxx_cv_system_error2+set}" = set; then :
17471   $as_echo_n "(cached) " >&6
17472 else
17473
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h.  */
17476 #include <errno.h>
17477 int
17478 main ()
17479 {
17480 int i = ENOTRECOVERABLE;
17481   ;
17482   return 0;
17483 }
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486   glibcxx_cv_system_error2=yes
17487 else
17488   glibcxx_cv_system_error2=no
17489 fi
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491
17492 fi
17493
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17495 $as_echo "$glibcxx_cv_system_error2" >&6; }
17496 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17497
17498 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17499
17500 fi
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17502 $as_echo_n "checking for ENOLINK... " >&6; }
17503 if test "${glibcxx_cv_system_error3+set}" = set; then :
17504   $as_echo_n "(cached) " >&6
17505 else
17506
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h.  */
17509 #include <errno.h>
17510 int
17511 main ()
17512 {
17513 int i = ENOLINK;
17514   ;
17515   return 0;
17516 }
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519   glibcxx_cv_system_error3=yes
17520 else
17521   glibcxx_cv_system_error3=no
17522 fi
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524
17525 fi
17526
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17528 $as_echo "$glibcxx_cv_system_error3" >&6; }
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17530
17531 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17532
17533 fi
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17535 $as_echo_n "checking for EPROTO... " >&6; }
17536 if test "${glibcxx_cv_system_error4+set}" = set; then :
17537   $as_echo_n "(cached) " >&6
17538 else
17539
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h.  */
17542 #include <errno.h>
17543 int
17544 main ()
17545 {
17546 int i = EPROTO;
17547   ;
17548   return 0;
17549 }
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552   glibcxx_cv_system_error4=yes
17553 else
17554   glibcxx_cv_system_error4=no
17555 fi
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557
17558 fi
17559
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17561 $as_echo "$glibcxx_cv_system_error4" >&6; }
17562 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17563
17564 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17565
17566 fi
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17568 $as_echo_n "checking for ENODATA... " >&6; }
17569 if test "${glibcxx_cv_system_error5+set}" = set; then :
17570   $as_echo_n "(cached) " >&6
17571 else
17572
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h.  */
17575 #include <errno.h>
17576 int
17577 main ()
17578 {
17579 int i = ENODATA;
17580   ;
17581   return 0;
17582 }
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585   glibcxx_cv_system_error5=yes
17586 else
17587   glibcxx_cv_system_error5=no
17588 fi
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590
17591 fi
17592
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17594 $as_echo "$glibcxx_cv_system_error5" >&6; }
17595 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17596
17597 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17598
17599 fi
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17601 $as_echo_n "checking for ENOSR... " >&6; }
17602 if test "${glibcxx_cv_system_error6+set}" = set; then :
17603   $as_echo_n "(cached) " >&6
17604 else
17605
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h.  */
17608 #include <errno.h>
17609 int
17610 main ()
17611 {
17612 int i = ENOSR;
17613   ;
17614   return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618   glibcxx_cv_system_error6=yes
17619 else
17620   glibcxx_cv_system_error6=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623
17624 fi
17625
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17627 $as_echo "$glibcxx_cv_system_error6" >&6; }
17628 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17629
17630 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17631
17632 fi
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17634 $as_echo_n "checking for ENOSTR... " >&6; }
17635 if test "${glibcxx_cv_system_error7+set}" = set; then :
17636   $as_echo_n "(cached) " >&6
17637 else
17638
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h.  */
17641 #include <errno.h>
17642 int
17643 main ()
17644 {
17645 int i = ENOSTR;
17646   ;
17647   return 0;
17648 }
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651   glibcxx_cv_system_error7=yes
17652 else
17653   glibcxx_cv_system_error7=no
17654 fi
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656
17657 fi
17658
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17660 $as_echo "$glibcxx_cv_system_error7" >&6; }
17661 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17662
17663 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17664
17665 fi
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17667 $as_echo_n "checking for ETIME... " >&6; }
17668 if test "${glibcxx_cv_system_error8+set}" = set; then :
17669   $as_echo_n "(cached) " >&6
17670 else
17671
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h.  */
17674 #include <errno.h>
17675 int
17676 main ()
17677 {
17678 int i = ETIME;
17679   ;
17680   return 0;
17681 }
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684   glibcxx_cv_system_error8=yes
17685 else
17686   glibcxx_cv_system_error8=no
17687 fi
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689
17690 fi
17691
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17693 $as_echo "$glibcxx_cv_system_error8" >&6; }
17694 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17695
17696 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17697
17698 fi
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17700 $as_echo_n "checking for EBADMSG... " >&6; }
17701 if test "${glibcxx_cv_system_error9+set}" = set; then :
17702   $as_echo_n "(cached) " >&6
17703 else
17704
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h.  */
17707 #include <errno.h>
17708 int
17709 main ()
17710 {
17711 int i = EBADMSG;
17712   ;
17713   return 0;
17714 }
17715 _ACEOF
17716 if ac_fn_c_try_compile "$LINENO"; then :
17717   glibcxx_cv_system_error9=yes
17718 else
17719   glibcxx_cv_system_error9=no
17720 fi
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17722
17723 fi
17724
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17726 $as_echo "$glibcxx_cv_system_error9" >&6; }
17727 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17728
17729 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17730
17731 fi
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17733 $as_echo_n "checking for ECANCELED... " >&6; }
17734 if test "${glibcxx_cv_system_error10+set}" = set; then :
17735   $as_echo_n "(cached) " >&6
17736 else
17737
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h.  */
17740 #include <errno.h>
17741 int
17742 main ()
17743 {
17744 int i = ECANCELED;
17745   ;
17746   return 0;
17747 }
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750   glibcxx_cv_system_error10=yes
17751 else
17752   glibcxx_cv_system_error10=no
17753 fi
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755
17756 fi
17757
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17759 $as_echo "$glibcxx_cv_system_error10" >&6; }
17760 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17761
17762 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17763
17764 fi
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17766 $as_echo_n "checking for EOVERFLOW... " >&6; }
17767 if test "${glibcxx_cv_system_error11+set}" = set; then :
17768   $as_echo_n "(cached) " >&6
17769 else
17770
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h.  */
17773 #include <errno.h>
17774 int
17775 main ()
17776 {
17777 int i = EOVERFLOW;
17778   ;
17779   return 0;
17780 }
17781 _ACEOF
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783   glibcxx_cv_system_error11=yes
17784 else
17785   glibcxx_cv_system_error11=no
17786 fi
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17788
17789 fi
17790
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17792 $as_echo "$glibcxx_cv_system_error11" >&6; }
17793 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17794
17795 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17796
17797 fi
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17799 $as_echo_n "checking for ENOTSUP... " >&6; }
17800 if test "${glibcxx_cv_system_error12+set}" = set; then :
17801   $as_echo_n "(cached) " >&6
17802 else
17803
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h.  */
17806 #include <errno.h>
17807 int
17808 main ()
17809 {
17810 int i = ENOTSUP;
17811   ;
17812   return 0;
17813 }
17814 _ACEOF
17815 if ac_fn_c_try_compile "$LINENO"; then :
17816   glibcxx_cv_system_error12=yes
17817 else
17818   glibcxx_cv_system_error12=no
17819 fi
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17821
17822 fi
17823
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17825 $as_echo "$glibcxx_cv_system_error12" >&6; }
17826 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17827
17828 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17829
17830 fi
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17832 $as_echo_n "checking for EIDRM... " >&6; }
17833 if test "${glibcxx_cv_system_error13+set}" = set; then :
17834   $as_echo_n "(cached) " >&6
17835 else
17836
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h.  */
17839 #include <errno.h>
17840 int
17841 main ()
17842 {
17843 int i = EIDRM;
17844   ;
17845   return 0;
17846 }
17847 _ACEOF
17848 if ac_fn_c_try_compile "$LINENO"; then :
17849   glibcxx_cv_system_error13=yes
17850 else
17851   glibcxx_cv_system_error13=no
17852 fi
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854
17855 fi
17856
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17858 $as_echo "$glibcxx_cv_system_error13" >&6; }
17859 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17860
17861 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17862
17863 fi
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17865 $as_echo_n "checking for ETXTBSY... " >&6; }
17866 if test "${glibcxx_cv_system_error14+set}" = set; then :
17867   $as_echo_n "(cached) " >&6
17868 else
17869
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h.  */
17872 #include <errno.h>
17873 int
17874 main ()
17875 {
17876 int i = ETXTBSY;
17877   ;
17878   return 0;
17879 }
17880 _ACEOF
17881 if ac_fn_c_try_compile "$LINENO"; then :
17882   glibcxx_cv_system_error14=yes
17883 else
17884   glibcxx_cv_system_error14=no
17885 fi
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887
17888 fi
17889
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17891 $as_echo "$glibcxx_cv_system_error14" >&6; }
17892 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17893
17894 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17895
17896 fi
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17898 $as_echo_n "checking for ECHILD... " >&6; }
17899 if test "${glibcxx_cv_system_error15+set}" = set; then :
17900   $as_echo_n "(cached) " >&6
17901 else
17902
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h.  */
17905 #include <errno.h>
17906 int
17907 main ()
17908 {
17909 int i = ECHILD;
17910   ;
17911   return 0;
17912 }
17913 _ACEOF
17914 if ac_fn_c_try_compile "$LINENO"; then :
17915   glibcxx_cv_system_error15=yes
17916 else
17917   glibcxx_cv_system_error15=no
17918 fi
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920
17921 fi
17922
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17924 $as_echo "$glibcxx_cv_system_error15" >&6; }
17925 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17926
17927 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17928
17929 fi
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17931 $as_echo_n "checking for ENOSPC... " >&6; }
17932 if test "${glibcxx_cv_system_error16+set}" = set; then :
17933   $as_echo_n "(cached) " >&6
17934 else
17935
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h.  */
17938 #include <errno.h>
17939 int
17940 main ()
17941 {
17942 int i = ENOSPC;
17943   ;
17944   return 0;
17945 }
17946 _ACEOF
17947 if ac_fn_c_try_compile "$LINENO"; then :
17948   glibcxx_cv_system_error16=yes
17949 else
17950   glibcxx_cv_system_error16=no
17951 fi
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17953
17954 fi
17955
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17957 $as_echo "$glibcxx_cv_system_error16" >&6; }
17958 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17959
17960 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17961
17962 fi
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17964 $as_echo_n "checking for EPERM... " >&6; }
17965 if test "${glibcxx_cv_system_error17+set}" = set; then :
17966   $as_echo_n "(cached) " >&6
17967 else
17968
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h.  */
17971 #include <errno.h>
17972 int
17973 main ()
17974 {
17975 int i = EPERM;
17976   ;
17977   return 0;
17978 }
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981   glibcxx_cv_system_error17=yes
17982 else
17983   glibcxx_cv_system_error17=no
17984 fi
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986
17987 fi
17988
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17990 $as_echo "$glibcxx_cv_system_error17" >&6; }
17991 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17992
17993 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17994
17995 fi
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17997 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17998 if test "${glibcxx_cv_system_error18+set}" = set; then :
17999   $as_echo_n "(cached) " >&6
18000 else
18001
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h.  */
18004 #include <errno.h>
18005 int
18006 main ()
18007 {
18008 int i = ETIMEDOUT;
18009   ;
18010   return 0;
18011 }
18012 _ACEOF
18013 if ac_fn_c_try_compile "$LINENO"; then :
18014   glibcxx_cv_system_error18=yes
18015 else
18016   glibcxx_cv_system_error18=no
18017 fi
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019
18020 fi
18021
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18023 $as_echo "$glibcxx_cv_system_error18" >&6; }
18024 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18025
18026 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18027
18028 fi
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18030 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18031 if test "${glibcxx_cv_system_error19+set}" = set; then :
18032   $as_echo_n "(cached) " >&6
18033 else
18034
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h.  */
18037 #include <errno.h>
18038 int
18039 main ()
18040 {
18041 int i = EWOULDBLOCK;
18042   ;
18043   return 0;
18044 }
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"; then :
18047   glibcxx_cv_system_error19=yes
18048 else
18049   glibcxx_cv_system_error19=no
18050 fi
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052
18053 fi
18054
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18056 $as_echo "$glibcxx_cv_system_error19" >&6; }
18057 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18058
18059 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18060
18061 fi
18062
18063
18064
18065 # For the streamoff typedef.
18066
18067
18068
18069   ac_ext=cpp
18070 ac_cpp='$CXXCPP $CPPFLAGS'
18071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18074
18075
18076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18077 $as_echo_n "checking for int64_t... " >&6; }
18078   if test "${glibcxx_cv_INT64_T+set}" = set; then :
18079   $as_echo_n "(cached) " >&6
18080 else
18081
18082     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h.  */
18084 #include <stdint.h>
18085 int
18086 main ()
18087 {
18088 int64_t var;
18089   ;
18090   return 0;
18091 }
18092 _ACEOF
18093 if ac_fn_cxx_try_compile "$LINENO"; then :
18094   glibcxx_cv_INT64_T=yes
18095 else
18096   glibcxx_cv_INT64_T=no
18097 fi
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099
18100 fi
18101
18102
18103   if test $glibcxx_cv_INT64_T = yes; then
18104
18105 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18106
18107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18108 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18109
18110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18111 $as_echo_n "checking for int64_t as long... " >&6; }
18112     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18113   $as_echo_n "(cached) " >&6
18114 else
18115
18116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h.  */
18118 #include <stdint.h>
18119         template<typename, typename> struct same { enum { value = -1 }; };
18120         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18121         int array[same<int64_t, long>::value];
18122 int
18123 main ()
18124 {
18125
18126   ;
18127   return 0;
18128 }
18129 _ACEOF
18130 if ac_fn_cxx_try_compile "$LINENO"; then :
18131   glibcxx_cv_int64_t_long=yes
18132 else
18133   glibcxx_cv_int64_t_long=no
18134 fi
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136
18137 fi
18138
18139
18140     if test $glibcxx_cv_int64_t_long = yes; then
18141
18142 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18143
18144       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18145 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18146     fi
18147
18148     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18149 $as_echo_n "checking for int64_t as long long... " >&6; }
18150     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18151   $as_echo_n "(cached) " >&6
18152 else
18153
18154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h.  */
18156 #include <stdint.h>
18157         template<typename, typename> struct same { enum { value = -1 }; };
18158         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18159         int array[same<int64_t, long long>::value];
18160 int
18161 main ()
18162 {
18163
18164   ;
18165   return 0;
18166 }
18167 _ACEOF
18168 if ac_fn_cxx_try_compile "$LINENO"; then :
18169   glibcxx_cv_int64_t_long_long=yes
18170 else
18171   glibcxx_cv_int64_t_long_long=no
18172 fi
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174
18175 fi
18176
18177
18178     if test $glibcxx_cv_int64_t_long_long = yes; then
18179
18180 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18181
18182       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18183 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18184     fi
18185   fi
18186
18187   ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192
18193
18194
18195 # For LFS support.
18196
18197
18198   ac_ext=cpp
18199 ac_cpp='$CXXCPP $CPPFLAGS'
18200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18203
18204   ac_save_CXXFLAGS="$CXXFLAGS"
18205   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18207 $as_echo_n "checking for LFS support... " >&6; }
18208   if test "${glibcxx_cv_LFS+set}" = set; then :
18209   $as_echo_n "(cached) " >&6
18210 else
18211
18212     if test x$gcc_no_link = xyes; then
18213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h.  */
18215 #include <unistd.h>
18216        #include <stdio.h>
18217        #include <sys/stat.h>
18218
18219 int
18220 main ()
18221 {
18222 FILE* fp;
18223        fopen64("t", "w");
18224        fseeko64(fp, 0, SEEK_CUR);
18225        ftello64(fp);
18226        lseek64(1, 0, SEEK_CUR);
18227        struct stat64 buf;
18228        fstat64(1, &buf);
18229   ;
18230   return 0;
18231 }
18232 _ACEOF
18233 if ac_fn_cxx_try_compile "$LINENO"; then :
18234   glibcxx_cv_LFS=yes
18235 else
18236   glibcxx_cv_LFS=no
18237 fi
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 else
18240   if test x$gcc_no_link = xyes; then
18241   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18242 fi
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h.  */
18245 #include <unistd.h>
18246        #include <stdio.h>
18247        #include <sys/stat.h>
18248
18249 int
18250 main ()
18251 {
18252 FILE* fp;
18253        fopen64("t", "w");
18254        fseeko64(fp, 0, SEEK_CUR);
18255        ftello64(fp);
18256        lseek64(1, 0, SEEK_CUR);
18257        struct stat64 buf;
18258        fstat64(1, &buf);
18259   ;
18260   return 0;
18261 }
18262 _ACEOF
18263 if ac_fn_cxx_try_link "$LINENO"; then :
18264   glibcxx_cv_LFS=yes
18265 else
18266   glibcxx_cv_LFS=no
18267 fi
18268 rm -f core conftest.err conftest.$ac_objext \
18269     conftest$ac_exeext conftest.$ac_ext
18270 fi
18271
18272 fi
18273
18274   if test $glibcxx_cv_LFS = yes; then
18275
18276 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18277
18278   fi
18279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18280 $as_echo "$glibcxx_cv_LFS" >&6; }
18281   CXXFLAGS="$ac_save_CXXFLAGS"
18282   ac_ext=c
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18287
18288
18289
18290 # For showmanyc_helper().
18291 for ac_header in sys/ioctl.h sys/filio.h
18292 do :
18293   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18295 eval as_val=\$$as_ac_Header
18296    if test "x$as_val" = x""yes; then :
18297   cat >>confdefs.h <<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299 _ACEOF
18300
18301 fi
18302
18303 done
18304
18305
18306
18307
18308   ac_ext=cpp
18309 ac_cpp='$CXXCPP $CPPFLAGS'
18310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18313
18314   ac_save_CXXFLAGS="$CXXFLAGS"
18315   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18316
18317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18318 $as_echo_n "checking for poll... " >&6; }
18319   if test "${glibcxx_cv_POLL+set}" = set; then :
18320   $as_echo_n "(cached) " >&6
18321 else
18322
18323     if test x$gcc_no_link = xyes; then
18324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h.  */
18326 #include <poll.h>
18327 int
18328 main ()
18329 {
18330 struct pollfd pfd[1];
18331        pfd[0].events = POLLIN;
18332        poll(pfd, 1, 0);
18333   ;
18334   return 0;
18335 }
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338   glibcxx_cv_POLL=yes
18339 else
18340   glibcxx_cv_POLL=no
18341 fi
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 else
18344   if test x$gcc_no_link = xyes; then
18345   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18346 fi
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h.  */
18349 #include <poll.h>
18350 int
18351 main ()
18352 {
18353 struct pollfd pfd[1];
18354        pfd[0].events = POLLIN;
18355        poll(pfd, 1, 0);
18356   ;
18357   return 0;
18358 }
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361   glibcxx_cv_POLL=yes
18362 else
18363   glibcxx_cv_POLL=no
18364 fi
18365 rm -f core conftest.err conftest.$ac_objext \
18366     conftest$ac_exeext conftest.$ac_ext
18367 fi
18368
18369 fi
18370
18371   if test $glibcxx_cv_POLL = yes; then
18372
18373 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18374
18375   fi
18376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18377 $as_echo "$glibcxx_cv_POLL" >&6; }
18378
18379   CXXFLAGS="$ac_save_CXXFLAGS"
18380   ac_ext=c
18381 ac_cpp='$CPP $CPPFLAGS'
18382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18385
18386
18387
18388
18389
18390   ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18395
18396   ac_save_CXXFLAGS="$CXXFLAGS"
18397   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18398
18399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18400 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18401   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18402   $as_echo_n "(cached) " >&6
18403 else
18404
18405     if test x$gcc_no_link = xyes; then
18406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h.  */
18408 #include <sys/stat.h>
18409 int
18410 main ()
18411 {
18412 struct stat buffer;
18413        fstat(0, &buffer);
18414        S_ISREG(buffer.st_mode);
18415   ;
18416   return 0;
18417 }
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420   glibcxx_cv_S_ISREG=yes
18421 else
18422   glibcxx_cv_S_ISREG=no
18423 fi
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426   if test x$gcc_no_link = xyes; then
18427   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18428 fi
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h.  */
18431 #include <sys/stat.h>
18432 int
18433 main ()
18434 {
18435 struct stat buffer;
18436        fstat(0, &buffer);
18437        S_ISREG(buffer.st_mode);
18438   ;
18439   return 0;
18440 }
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443   glibcxx_cv_S_ISREG=yes
18444 else
18445   glibcxx_cv_S_ISREG=no
18446 fi
18447 rm -f core conftest.err conftest.$ac_objext \
18448     conftest$ac_exeext conftest.$ac_ext
18449 fi
18450
18451 fi
18452
18453   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18454   $as_echo_n "(cached) " >&6
18455 else
18456
18457     if test x$gcc_no_link = xyes; then
18458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h.  */
18460 #include <sys/stat.h>
18461 int
18462 main ()
18463 {
18464 struct stat buffer;
18465        fstat(0, &buffer);
18466        S_IFREG & buffer.st_mode;
18467   ;
18468   return 0;
18469 }
18470 _ACEOF
18471 if ac_fn_cxx_try_compile "$LINENO"; then :
18472   glibcxx_cv_S_IFREG=yes
18473 else
18474   glibcxx_cv_S_IFREG=no
18475 fi
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477 else
18478   if test x$gcc_no_link = xyes; then
18479   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480 fi
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h.  */
18483 #include <sys/stat.h>
18484 int
18485 main ()
18486 {
18487 struct stat buffer;
18488        fstat(0, &buffer);
18489        S_IFREG & buffer.st_mode;
18490   ;
18491   return 0;
18492 }
18493 _ACEOF
18494 if ac_fn_cxx_try_link "$LINENO"; then :
18495   glibcxx_cv_S_IFREG=yes
18496 else
18497   glibcxx_cv_S_IFREG=no
18498 fi
18499 rm -f core conftest.err conftest.$ac_objext \
18500     conftest$ac_exeext conftest.$ac_ext
18501 fi
18502
18503 fi
18504
18505   res=no
18506   if test $glibcxx_cv_S_ISREG = yes; then
18507
18508 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18509
18510     res=S_ISREG
18511   elif test $glibcxx_cv_S_IFREG = yes; then
18512
18513 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18514
18515     res=S_IFREG
18516   fi
18517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18518 $as_echo "$res" >&6; }
18519
18520   CXXFLAGS="$ac_save_CXXFLAGS"
18521   ac_ext=c
18522 ac_cpp='$CPP $CPPFLAGS'
18523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18526
18527
18528
18529 # For xsputn_2().
18530 for ac_header in sys/uio.h
18531 do :
18532   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18533 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18534   cat >>confdefs.h <<_ACEOF
18535 #define HAVE_SYS_UIO_H 1
18536 _ACEOF
18537
18538 fi
18539
18540 done
18541
18542
18543
18544
18545   ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18550
18551   ac_save_CXXFLAGS="$CXXFLAGS"
18552   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18553
18554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18555 $as_echo_n "checking for writev... " >&6; }
18556   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18557   $as_echo_n "(cached) " >&6
18558 else
18559
18560     if test x$gcc_no_link = xyes; then
18561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h.  */
18563 #include <sys/uio.h>
18564 int
18565 main ()
18566 {
18567 struct iovec iov[2];
18568        writev(0, iov, 0);
18569   ;
18570   return 0;
18571 }
18572 _ACEOF
18573 if ac_fn_cxx_try_compile "$LINENO"; then :
18574   glibcxx_cv_WRITEV=yes
18575 else
18576   glibcxx_cv_WRITEV=no
18577 fi
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 else
18580   if test x$gcc_no_link = xyes; then
18581   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18582 fi
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h.  */
18585 #include <sys/uio.h>
18586 int
18587 main ()
18588 {
18589 struct iovec iov[2];
18590        writev(0, iov, 0);
18591   ;
18592   return 0;
18593 }
18594 _ACEOF
18595 if ac_fn_cxx_try_link "$LINENO"; then :
18596   glibcxx_cv_WRITEV=yes
18597 else
18598   glibcxx_cv_WRITEV=no
18599 fi
18600 rm -f core conftest.err conftest.$ac_objext \
18601     conftest$ac_exeext conftest.$ac_ext
18602 fi
18603
18604 fi
18605
18606   if test $glibcxx_cv_WRITEV = yes; then
18607
18608 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18609
18610   fi
18611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18612 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18613
18614   CXXFLAGS="$ac_save_CXXFLAGS"
18615   ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620
18621
18622
18623 # For C99 support to TR1.
18624
18625
18626
18627   ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18632
18633
18634   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18635   # undefined and fake C99 facilities may be spuriously enabled.
18636   ac_save_CXXFLAGS="$CXXFLAGS"
18637   CXXFLAGS="$CXXFLAGS -std=c++98"
18638
18639   # Check for the existence of <complex.h> complex math functions used
18640   # by tr1/complex.
18641   for ac_header in complex.h
18642 do :
18643   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18644 if test "x$ac_cv_header_complex_h" = x""yes; then :
18645   cat >>confdefs.h <<_ACEOF
18646 #define HAVE_COMPLEX_H 1
18647 _ACEOF
18648  ac_has_complex_h=yes
18649 else
18650   ac_has_complex_h=no
18651 fi
18652
18653 done
18654
18655   ac_c99_complex_tr1=no;
18656   if test x"$ac_has_complex_h" = x"yes"; then
18657     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18658 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18659     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h.  */
18661 #include <complex.h>
18662 int
18663 main ()
18664 {
18665 typedef __complex__ float float_type; float_type tmpf;
18666                     cacosf(tmpf);
18667                     casinf(tmpf);
18668                     catanf(tmpf);
18669                     cacoshf(tmpf);
18670                     casinhf(tmpf);
18671                     catanhf(tmpf);
18672                     typedef __complex__ double double_type; double_type tmpd;
18673                     cacos(tmpd);
18674                     casin(tmpd);
18675                     catan(tmpd);
18676                     cacosh(tmpd);
18677                     casinh(tmpd);
18678                     catanh(tmpd);
18679                     typedef __complex__ long double ld_type; ld_type tmpld;
18680                     cacosl(tmpld);
18681                     casinl(tmpld);
18682                     catanl(tmpld);
18683                     cacoshl(tmpld);
18684                     casinhl(tmpld);
18685                     catanhl(tmpld);
18686
18687   ;
18688   return 0;
18689 }
18690 _ACEOF
18691 if ac_fn_cxx_try_compile "$LINENO"; then :
18692   ac_c99_complex_tr1=yes
18693 else
18694   ac_c99_complex_tr1=no
18695 fi
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697   fi
18698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18699 $as_echo "$ac_c99_complex_tr1" >&6; }
18700   if test x"$ac_c99_complex_tr1" = x"yes"; then
18701
18702 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18703
18704   fi
18705
18706   # Check for the existence of <ctype.h> functions.
18707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18708 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18709   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18710   $as_echo_n "(cached) " >&6
18711 else
18712
18713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h.  */
18715 #include <ctype.h>
18716 int
18717 main ()
18718 {
18719 int ch;
18720                   int ret;
18721                   ret = isblank(ch);
18722
18723   ;
18724   return 0;
18725 }
18726 _ACEOF
18727 if ac_fn_cxx_try_compile "$LINENO"; then :
18728   glibcxx_cv_c99_ctype_tr1=yes
18729 else
18730   glibcxx_cv_c99_ctype_tr1=no
18731 fi
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733
18734 fi
18735
18736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18737 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18738   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18739
18740 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18741
18742   fi
18743
18744   # Check for the existence of <fenv.h> functions.
18745   for ac_header in fenv.h
18746 do :
18747   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18749   cat >>confdefs.h <<_ACEOF
18750 #define HAVE_FENV_H 1
18751 _ACEOF
18752  ac_has_fenv_h=yes
18753 else
18754   ac_has_fenv_h=no
18755 fi
18756
18757 done
18758
18759   ac_c99_fenv_tr1=no;
18760   if test x"$ac_has_fenv_h" = x"yes"; then
18761     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18763     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h.  */
18765 #include <fenv.h>
18766 int
18767 main ()
18768 {
18769 int except, mode;
18770                     fexcept_t* pflag;
18771                     fenv_t* penv;
18772                     int ret;
18773                     ret = feclearexcept(except);
18774                     ret = fegetexceptflag(pflag, except);
18775                     ret = feraiseexcept(except);
18776                     ret = fesetexceptflag(pflag, except);
18777                     ret = fetestexcept(except);
18778                     ret = fegetround();
18779                     ret = fesetround(mode);
18780                     ret = fegetenv(penv);
18781                     ret = feholdexcept(penv);
18782                     ret = fesetenv(penv);
18783                     ret = feupdateenv(penv);
18784
18785   ;
18786   return 0;
18787 }
18788 _ACEOF
18789 if ac_fn_cxx_try_compile "$LINENO"; then :
18790   ac_c99_fenv_tr1=yes
18791 else
18792   ac_c99_fenv_tr1=no
18793 fi
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795   fi
18796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18797 $as_echo "$ac_c99_fenv_tr1" >&6; }
18798   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18799
18800 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18801
18802   fi
18803
18804   # Check for the existence of <stdint.h> types.
18805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18806 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18807   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18808   $as_echo_n "(cached) " >&6
18809 else
18810
18811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h.  */
18813 #define __STDC_LIMIT_MACROS
18814                   #define __STDC_CONSTANT_MACROS
18815                   #include <stdint.h>
18816 int
18817 main ()
18818 {
18819 typedef int8_t          my_int8_t;
18820                   my_int8_t               i8 = INT8_MIN;
18821                   i8 = INT8_MAX;
18822                   typedef int16_t         my_int16_t;
18823                   my_int16_t              i16 = INT16_MIN;
18824                   i16 = INT16_MAX;
18825                   typedef int32_t         my_int32_t;
18826                   my_int32_t              i32 = INT32_MIN;
18827                   i32 = INT32_MAX;
18828                   typedef int64_t         my_int64_t;
18829                   my_int64_t              i64 = INT64_MIN;
18830                   i64 = INT64_MAX;
18831                   typedef int_fast8_t     my_int_fast8_t;
18832                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18833                   if8 = INT_FAST8_MAX;
18834                   typedef int_fast16_t    my_int_fast16_t;
18835                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18836                   if16 = INT_FAST16_MAX;
18837                   typedef int_fast32_t    my_int_fast32_t;
18838                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18839                   if32 = INT_FAST32_MAX;
18840                   typedef int_fast64_t    my_int_fast64_t;
18841                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18842                   if64 = INT_FAST64_MAX;
18843                   typedef int_least8_t    my_int_least8_t;
18844                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18845                   il8 = INT_LEAST8_MAX;
18846                   typedef int_least16_t   my_int_least16_t;
18847                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18848                   il16 = INT_LEAST16_MAX;
18849                   typedef int_least32_t   my_int_least32_t;
18850                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18851                   il32 = INT_LEAST32_MAX;
18852                   typedef int_least64_t   my_int_least64_t;
18853                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18854                   il64 = INT_LEAST64_MAX;
18855                   typedef intmax_t        my_intmax_t;
18856                   my_intmax_t             im = INTMAX_MAX;
18857                   im = INTMAX_MIN;
18858                   typedef intptr_t        my_intptr_t;
18859                   my_intptr_t             ip = INTPTR_MAX;
18860                   ip = INTPTR_MIN;
18861                   typedef uint8_t         my_uint8_t;
18862                   my_uint8_t              ui8 = UINT8_MAX;
18863                   ui8 = UINT8_MAX;
18864                   typedef uint16_t        my_uint16_t;
18865                   my_uint16_t             ui16 = UINT16_MAX;
18866                   ui16 = UINT16_MAX;
18867                   typedef uint32_t        my_uint32_t;
18868                   my_uint32_t             ui32 = UINT32_MAX;
18869                   ui32 = UINT32_MAX;
18870                   typedef uint64_t        my_uint64_t;
18871                   my_uint64_t             ui64 = UINT64_MAX;
18872                   ui64 = UINT64_MAX;
18873                   typedef uint_fast8_t    my_uint_fast8_t;
18874                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18875                   uif8 = UINT_FAST8_MAX;
18876                   typedef uint_fast16_t   my_uint_fast16_t;
18877                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18878                   uif16 = UINT_FAST16_MAX;
18879                   typedef uint_fast32_t   my_uint_fast32_t;
18880                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18881                   uif32 = UINT_FAST32_MAX;
18882                   typedef uint_fast64_t   my_uint_fast64_t;
18883                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18884                   uif64 = UINT_FAST64_MAX;
18885                   typedef uint_least8_t   my_uint_least8_t;
18886                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18887                   uil8 = UINT_LEAST8_MAX;
18888                   typedef uint_least16_t  my_uint_least16_t;
18889                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18890                   uil16 = UINT_LEAST16_MAX;
18891                   typedef uint_least32_t  my_uint_least32_t;
18892                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18893                   uil32 = UINT_LEAST32_MAX;
18894                   typedef uint_least64_t  my_uint_least64_t;
18895                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18896                   uil64 = UINT_LEAST64_MAX;
18897                   typedef uintmax_t       my_uintmax_t;
18898                   my_uintmax_t            uim = UINTMAX_MAX;
18899                   uim = UINTMAX_MAX;
18900                   typedef uintptr_t       my_uintptr_t;
18901                   my_uintptr_t            uip = UINTPTR_MAX;
18902                   uip = UINTPTR_MAX;
18903
18904   ;
18905   return 0;
18906 }
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909   glibcxx_cv_c99_stdint_tr1=yes
18910 else
18911   glibcxx_cv_c99_stdint_tr1=no
18912 fi
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914
18915 fi
18916
18917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18918 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18919   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18920
18921 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18922
18923   fi
18924
18925   # Check for the existence of <math.h> functions.
18926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18927 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18928   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18929   $as_echo_n "(cached) " >&6
18930 else
18931
18932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h.  */
18934 #include <math.h>
18935 int
18936 main ()
18937 {
18938 typedef double_t  my_double_t;
18939                   typedef float_t   my_float_t;
18940                   acosh(0.0);
18941                   acoshf(0.0f);
18942                   acoshl(0.0l);
18943                   asinh(0.0);
18944                   asinhf(0.0f);
18945                   asinhl(0.0l);
18946                   atanh(0.0);
18947                   atanhf(0.0f);
18948                   atanhl(0.0l);
18949                   cbrt(0.0);
18950                   cbrtf(0.0f);
18951                   cbrtl(0.0l);
18952                   copysign(0.0, 0.0);
18953                   copysignf(0.0f, 0.0f);
18954                   copysignl(0.0l, 0.0l);
18955                   erf(0.0);
18956                   erff(0.0f);
18957                   erfl(0.0l);
18958                   erfc(0.0);
18959                   erfcf(0.0f);
18960                   erfcl(0.0l);
18961                   exp2(0.0);
18962                   exp2f(0.0f);
18963                   exp2l(0.0l);
18964                   expm1(0.0);
18965                   expm1f(0.0f);
18966                   expm1l(0.0l);
18967                   fdim(0.0, 0.0);
18968                   fdimf(0.0f, 0.0f);
18969                   fdiml(0.0l, 0.0l);
18970                   fma(0.0, 0.0, 0.0);
18971                   fmaf(0.0f, 0.0f, 0.0f);
18972                   fmal(0.0l, 0.0l, 0.0l);
18973                   fmax(0.0, 0.0);
18974                   fmaxf(0.0f, 0.0f);
18975                   fmaxl(0.0l, 0.0l);
18976                   fmin(0.0, 0.0);
18977                   fminf(0.0f, 0.0f);
18978                   fminl(0.0l, 0.0l);
18979                   hypot(0.0, 0.0);
18980                   hypotf(0.0f, 0.0f);
18981                   hypotl(0.0l, 0.0l);
18982                   ilogb(0.0);
18983                   ilogbf(0.0f);
18984                   ilogbl(0.0l);
18985                   lgamma(0.0);
18986                   lgammaf(0.0f);
18987                   lgammal(0.0l);
18988                   llrint(0.0);
18989                   llrintf(0.0f);
18990                   llrintl(0.0l);
18991                   llround(0.0);
18992                   llroundf(0.0f);
18993                   llroundl(0.0l);
18994                   log1p(0.0);
18995                   log1pf(0.0f);
18996                   log1pl(0.0l);
18997                   log2(0.0);
18998                   log2f(0.0f);
18999                   log2l(0.0l);
19000                   logb(0.0);
19001                   logbf(0.0f);
19002                   logbl(0.0l);
19003                   lrint(0.0);
19004                   lrintf(0.0f);
19005                   lrintl(0.0l);
19006                   lround(0.0);
19007                   lroundf(0.0f);
19008                   lroundl(0.0l);
19009                   nan(0);
19010                   nanf(0);
19011                   nanl(0);
19012                   nearbyint(0.0);
19013                   nearbyintf(0.0f);
19014                   nearbyintl(0.0l);
19015                   nextafter(0.0, 0.0);
19016                   nextafterf(0.0f, 0.0f);
19017                   nextafterl(0.0l, 0.0l);
19018                   nexttoward(0.0, 0.0);
19019                   nexttowardf(0.0f, 0.0f);
19020                   nexttowardl(0.0l, 0.0l);
19021                   remainder(0.0, 0.0);
19022                   remainderf(0.0f, 0.0f);
19023                   remainderl(0.0l, 0.0l);
19024                   remquo(0.0, 0.0, 0);
19025                   remquof(0.0f, 0.0f, 0);
19026                   remquol(0.0l, 0.0l, 0);
19027                   rint(0.0);
19028                   rintf(0.0f);
19029                   rintl(0.0l);
19030                   round(0.0);
19031                   roundf(0.0f);
19032                   roundl(0.0l);
19033                   scalbln(0.0, 0l);
19034                   scalblnf(0.0f, 0l);
19035                   scalblnl(0.0l, 0l);
19036                   scalbn(0.0, 0);
19037                   scalbnf(0.0f, 0);
19038                   scalbnl(0.0l, 0);
19039                   tgamma(0.0);
19040                   tgammaf(0.0f);
19041                   tgammal(0.0l);
19042                   trunc(0.0);
19043                   truncf(0.0f);
19044                   truncl(0.0l);
19045
19046   ;
19047   return 0;
19048 }
19049 _ACEOF
19050 if ac_fn_cxx_try_compile "$LINENO"; then :
19051   glibcxx_cv_c99_math_tr1=yes
19052 else
19053   glibcxx_cv_c99_math_tr1=no
19054 fi
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056
19057 fi
19058
19059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19060 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19061   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19062
19063 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19064
19065   fi
19066
19067   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19068   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069   ac_c99_inttypes_tr1=no;
19070   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19072 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19073     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h.  */
19075 #include <inttypes.h>
19076 int
19077 main ()
19078 {
19079 intmax_t i, numer, denom, base;
19080                     const char* s;
19081                     char** endptr;
19082                     intmax_t ret = imaxabs(i);
19083                     imaxdiv_t dret = imaxdiv(numer, denom);
19084                     ret = strtoimax(s, endptr, base);
19085                     uintmax_t uret = strtoumax(s, endptr, base);
19086
19087   ;
19088   return 0;
19089 }
19090 _ACEOF
19091 if ac_fn_cxx_try_compile "$LINENO"; then :
19092   ac_c99_inttypes_tr1=yes
19093 else
19094   ac_c99_inttypes_tr1=no
19095 fi
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097   fi
19098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19099 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19100   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19101
19102 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19103
19104   fi
19105
19106   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19107   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19108   ac_c99_inttypes_wchar_t_tr1=no;
19109   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19111 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19112     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h.  */
19114 #include <inttypes.h>
19115 int
19116 main ()
19117 {
19118 intmax_t base;
19119                     const wchar_t* s;
19120                     wchar_t** endptr;
19121                     intmax_t ret = wcstoimax(s, endptr, base);
19122                     uintmax_t uret = wcstoumax(s, endptr, base);
19123
19124   ;
19125   return 0;
19126 }
19127 _ACEOF
19128 if ac_fn_cxx_try_compile "$LINENO"; then :
19129   ac_c99_inttypes_wchar_t_tr1=yes
19130 else
19131   ac_c99_inttypes_wchar_t_tr1=no
19132 fi
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134   fi
19135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19136 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19137   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19138
19139 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19140
19141   fi
19142
19143   # Check for the existence of the <stdbool.h> header.
19144   for ac_header in stdbool.h
19145 do :
19146   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19147 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19148   cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STDBOOL_H 1
19150 _ACEOF
19151
19152 fi
19153
19154 done
19155
19156
19157   # Check for the existence of the <stdalign.h> header.
19158   for ac_header in stdalign.h
19159 do :
19160   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19161 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19162   cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STDALIGN_H 1
19164 _ACEOF
19165
19166 fi
19167
19168 done
19169
19170
19171   CXXFLAGS="$ac_save_CXXFLAGS"
19172   ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19177
19178
19179
19180 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19181
19182
19183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19184 $as_echo_n "checking for the value of EOF... " >&6; }
19185 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19186   $as_echo_n "(cached) " >&6
19187 else
19188
19189   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19190
19191 else
19192   as_fn_error "computing EOF failed" "$LINENO" 5
19193 fi
19194
19195
19196 fi
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19198 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19199
19200 cat >>confdefs.h <<_ACEOF
19201 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19202 _ACEOF
19203
19204
19205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19206 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19207 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19208   $as_echo_n "(cached) " >&6
19209 else
19210
19211   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19212
19213 else
19214   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19215 fi
19216
19217
19218 fi
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19220 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19221
19222 cat >>confdefs.h <<_ACEOF
19223 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19224 _ACEOF
19225
19226
19227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19228 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19229 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19230   $as_echo_n "(cached) " >&6
19231 else
19232
19233   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19234
19235 else
19236   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19237 fi
19238
19239
19240 fi
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19242 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19243
19244 cat >>confdefs.h <<_ACEOF
19245 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19246 _ACEOF
19247
19248
19249
19250 # For gettimeofday support.
19251
19252
19253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19254 $as_echo_n "checking for gettimeofday... " >&6; }
19255
19256
19257   ac_ext=cpp
19258 ac_cpp='$CXXCPP $CPPFLAGS'
19259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19262
19263   ac_save_CXXFLAGS="$CXXFLAGS"
19264   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19265
19266   ac_has_gettimeofday=no;
19267   for ac_header in sys/time.h
19268 do :
19269   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19271   cat >>confdefs.h <<_ACEOF
19272 #define HAVE_SYS_TIME_H 1
19273 _ACEOF
19274  ac_has_sys_time_h=yes
19275 else
19276   ac_has_sys_time_h=no
19277 fi
19278
19279 done
19280
19281   if test x"$ac_has_sys_time_h" = x"yes"; then
19282     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19283 $as_echo_n "checking for gettimeofday... " >&6; }
19284     if test x$gcc_no_link = xyes; then
19285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h.  */
19287 #include <sys/time.h>
19288 int
19289 main ()
19290 {
19291 timeval tv; gettimeofday(&tv, 0);
19292   ;
19293   return 0;
19294 }
19295 _ACEOF
19296 if ac_fn_cxx_try_compile "$LINENO"; then :
19297   ac_has_gettimeofday=yes
19298 else
19299   ac_has_gettimeofday=no
19300 fi
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 else
19303   if test x$gcc_no_link = xyes; then
19304   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19305 fi
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h.  */
19308 #include <sys/time.h>
19309 int
19310 main ()
19311 {
19312 timeval tv; gettimeofday(&tv, 0);
19313   ;
19314   return 0;
19315 }
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318   ac_has_gettimeofday=yes
19319 else
19320   ac_has_gettimeofday=no
19321 fi
19322 rm -f core conftest.err conftest.$ac_objext \
19323     conftest$ac_exeext conftest.$ac_ext
19324 fi
19325
19326     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19327 $as_echo "$ac_has_gettimeofday" >&6; }
19328   fi
19329
19330   if test x"$ac_has_gettimeofday" = x"yes"; then
19331
19332 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19333
19334   fi
19335
19336   CXXFLAGS="$ac_save_CXXFLAGS"
19337   ac_ext=c
19338 ac_cpp='$CPP $CPPFLAGS'
19339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19342
19343
19344
19345 # For clock_gettime, nanosleep and sched_yield support.
19346 # NB: The default is [no], because otherwise it requires linking.
19347
19348
19349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19350 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19351    # Check whether --enable-libstdcxx-time was given.
19352 if test "${enable_libstdcxx_time+set}" = set; then :
19353   enableval=$enable_libstdcxx_time;
19354       case "$enableval" in
19355        yes|no|rt) ;;
19356        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19357                         esac
19358
19359 else
19360   enable_libstdcxx_time=no
19361 fi
19362
19363
19364
19365
19366   ac_ext=cpp
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19371
19372   ac_save_CXXFLAGS="$CXXFLAGS"
19373   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19374   ac_save_LIBS="$LIBS"
19375
19376   ac_has_clock_monotonic=no
19377   ac_has_clock_realtime=no
19378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19379 $as_echo "$enable_libstdcxx_time" >&6; }
19380
19381   if test x"$enable_libstdcxx_time" != x"no"; then
19382
19383     if test x"$enable_libstdcxx_time" = x"rt"; then
19384       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19385 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19386 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19387   $as_echo_n "(cached) " >&6
19388 else
19389   ac_func_search_save_LIBS=$LIBS
19390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391 /* end confdefs.h.  */
19392
19393 /* Override any GCC internal prototype to avoid an error.
19394    Use char because int might match the return type of a GCC
19395    builtin and then its argument prototype would still apply.  */
19396 #ifdef __cplusplus
19397 extern "C"
19398 #endif
19399 char clock_gettime ();
19400 int
19401 main ()
19402 {
19403 return clock_gettime ();
19404   ;
19405   return 0;
19406 }
19407 _ACEOF
19408 for ac_lib in '' rt posix4; do
19409   if test -z "$ac_lib"; then
19410     ac_res="none required"
19411   else
19412     ac_res=-l$ac_lib
19413     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19414   fi
19415   if test x$gcc_no_link = xyes; then
19416   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19417 fi
19418 if ac_fn_cxx_try_link "$LINENO"; then :
19419   ac_cv_search_clock_gettime=$ac_res
19420 fi
19421 rm -f core conftest.err conftest.$ac_objext \
19422     conftest$ac_exeext
19423   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19424   break
19425 fi
19426 done
19427 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19428
19429 else
19430   ac_cv_search_clock_gettime=no
19431 fi
19432 rm conftest.$ac_ext
19433 LIBS=$ac_func_search_save_LIBS
19434 fi
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19436 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19437 ac_res=$ac_cv_search_clock_gettime
19438 if test "$ac_res" != no; then :
19439   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19440
19441 fi
19442
19443       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19444 $as_echo_n "checking for library containing nanosleep... " >&6; }
19445 if test "${ac_cv_search_nanosleep+set}" = set; then :
19446   $as_echo_n "(cached) " >&6
19447 else
19448   ac_func_search_save_LIBS=$LIBS
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h.  */
19451
19452 /* Override any GCC internal prototype to avoid an error.
19453    Use char because int might match the return type of a GCC
19454    builtin and then its argument prototype would still apply.  */
19455 #ifdef __cplusplus
19456 extern "C"
19457 #endif
19458 char nanosleep ();
19459 int
19460 main ()
19461 {
19462 return nanosleep ();
19463   ;
19464   return 0;
19465 }
19466 _ACEOF
19467 for ac_lib in '' rt posix4; do
19468   if test -z "$ac_lib"; then
19469     ac_res="none required"
19470   else
19471     ac_res=-l$ac_lib
19472     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19473   fi
19474   if test x$gcc_no_link = xyes; then
19475   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19476 fi
19477 if ac_fn_cxx_try_link "$LINENO"; then :
19478   ac_cv_search_nanosleep=$ac_res
19479 fi
19480 rm -f core conftest.err conftest.$ac_objext \
19481     conftest$ac_exeext
19482   if test "${ac_cv_search_nanosleep+set}" = set; then :
19483   break
19484 fi
19485 done
19486 if test "${ac_cv_search_nanosleep+set}" = set; then :
19487
19488 else
19489   ac_cv_search_nanosleep=no
19490 fi
19491 rm conftest.$ac_ext
19492 LIBS=$ac_func_search_save_LIBS
19493 fi
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19495 $as_echo "$ac_cv_search_nanosleep" >&6; }
19496 ac_res=$ac_cv_search_nanosleep
19497 if test "$ac_res" != no; then :
19498   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19499
19500 fi
19501
19502     else
19503       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19504 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19505 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19506   $as_echo_n "(cached) " >&6
19507 else
19508   ac_func_search_save_LIBS=$LIBS
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h.  */
19511
19512 /* Override any GCC internal prototype to avoid an error.
19513    Use char because int might match the return type of a GCC
19514    builtin and then its argument prototype would still apply.  */
19515 #ifdef __cplusplus
19516 extern "C"
19517 #endif
19518 char clock_gettime ();
19519 int
19520 main ()
19521 {
19522 return clock_gettime ();
19523   ;
19524   return 0;
19525 }
19526 _ACEOF
19527 for ac_lib in '' posix4; do
19528   if test -z "$ac_lib"; then
19529     ac_res="none required"
19530   else
19531     ac_res=-l$ac_lib
19532     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19533   fi
19534   if test x$gcc_no_link = xyes; then
19535   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19536 fi
19537 if ac_fn_cxx_try_link "$LINENO"; then :
19538   ac_cv_search_clock_gettime=$ac_res
19539 fi
19540 rm -f core conftest.err conftest.$ac_objext \
19541     conftest$ac_exeext
19542   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19543   break
19544 fi
19545 done
19546 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19547
19548 else
19549   ac_cv_search_clock_gettime=no
19550 fi
19551 rm conftest.$ac_ext
19552 LIBS=$ac_func_search_save_LIBS
19553 fi
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19555 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19556 ac_res=$ac_cv_search_clock_gettime
19557 if test "$ac_res" != no; then :
19558   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19559
19560 fi
19561
19562       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19563 $as_echo_n "checking for library containing nanosleep... " >&6; }
19564 if test "${ac_cv_search_nanosleep+set}" = set; then :
19565   $as_echo_n "(cached) " >&6
19566 else
19567   ac_func_search_save_LIBS=$LIBS
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h.  */
19570
19571 /* Override any GCC internal prototype to avoid an error.
19572    Use char because int might match the return type of a GCC
19573    builtin and then its argument prototype would still apply.  */
19574 #ifdef __cplusplus
19575 extern "C"
19576 #endif
19577 char nanosleep ();
19578 int
19579 main ()
19580 {
19581 return nanosleep ();
19582   ;
19583   return 0;
19584 }
19585 _ACEOF
19586 for ac_lib in '' posix4; do
19587   if test -z "$ac_lib"; then
19588     ac_res="none required"
19589   else
19590     ac_res=-l$ac_lib
19591     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19592   fi
19593   if test x$gcc_no_link = xyes; then
19594   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19595 fi
19596 if ac_fn_cxx_try_link "$LINENO"; then :
19597   ac_cv_search_nanosleep=$ac_res
19598 fi
19599 rm -f core conftest.err conftest.$ac_objext \
19600     conftest$ac_exeext
19601   if test "${ac_cv_search_nanosleep+set}" = set; then :
19602   break
19603 fi
19604 done
19605 if test "${ac_cv_search_nanosleep+set}" = set; then :
19606
19607 else
19608   ac_cv_search_nanosleep=no
19609 fi
19610 rm conftest.$ac_ext
19611 LIBS=$ac_func_search_save_LIBS
19612 fi
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19614 $as_echo "$ac_cv_search_nanosleep" >&6; }
19615 ac_res=$ac_cv_search_nanosleep
19616 if test "$ac_res" != no; then :
19617   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19618
19619 fi
19620
19621     fi
19622
19623     case "$ac_cv_search_clock_gettime" in
19624       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19625       ;;
19626     esac
19627     case "$ac_cv_search_nanosleep" in
19628       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19629       ;;
19630     esac
19631
19632     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19633 $as_echo_n "checking for library containing sched_yield... " >&6; }
19634 if test "${ac_cv_search_sched_yield+set}" = set; then :
19635   $as_echo_n "(cached) " >&6
19636 else
19637   ac_func_search_save_LIBS=$LIBS
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h.  */
19640
19641 /* Override any GCC internal prototype to avoid an error.
19642    Use char because int might match the return type of a GCC
19643    builtin and then its argument prototype would still apply.  */
19644 #ifdef __cplusplus
19645 extern "C"
19646 #endif
19647 char sched_yield ();
19648 int
19649 main ()
19650 {
19651 return sched_yield ();
19652   ;
19653   return 0;
19654 }
19655 _ACEOF
19656 for ac_lib in '' rt posix4; do
19657   if test -z "$ac_lib"; then
19658     ac_res="none required"
19659   else
19660     ac_res=-l$ac_lib
19661     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19662   fi
19663   if test x$gcc_no_link = xyes; then
19664   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19665 fi
19666 if ac_fn_cxx_try_link "$LINENO"; then :
19667   ac_cv_search_sched_yield=$ac_res
19668 fi
19669 rm -f core conftest.err conftest.$ac_objext \
19670     conftest$ac_exeext
19671   if test "${ac_cv_search_sched_yield+set}" = set; then :
19672   break
19673 fi
19674 done
19675 if test "${ac_cv_search_sched_yield+set}" = set; then :
19676
19677 else
19678   ac_cv_search_sched_yield=no
19679 fi
19680 rm conftest.$ac_ext
19681 LIBS=$ac_func_search_save_LIBS
19682 fi
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19684 $as_echo "$ac_cv_search_sched_yield" >&6; }
19685 ac_res=$ac_cv_search_sched_yield
19686 if test "$ac_res" != no; then :
19687   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19688
19689 fi
19690
19691
19692     case "$ac_cv_search_sched_yield" in
19693       -lposix4*)
19694       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19695
19696 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19697
19698       ;;
19699       -lrt*)
19700       if test x"$enable_libstdcxx_time" = x"rt"; then
19701         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19702
19703 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19704
19705       fi
19706       ;;
19707       *)
19708
19709 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19710
19711       ;;
19712     esac
19713
19714     for ac_header in unistd.h
19715 do :
19716   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19717 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19718   cat >>confdefs.h <<_ACEOF
19719 #define HAVE_UNISTD_H 1
19720 _ACEOF
19721  ac_has_unistd_h=yes
19722 else
19723   ac_has_unistd_h=no
19724 fi
19725
19726 done
19727
19728
19729     if test x"$ac_has_unistd_h" = x"yes"; then
19730       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19731 $as_echo_n "checking for monotonic clock... " >&6; }
19732       if test x$gcc_no_link = xyes; then
19733   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19734 fi
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h.  */
19737 #include <unistd.h>
19738          #include <time.h>
19739
19740 int
19741 main ()
19742 {
19743 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19744           timespec tp;
19745          #endif
19746           clock_gettime(CLOCK_MONOTONIC, &tp);
19747
19748   ;
19749   return 0;
19750 }
19751 _ACEOF
19752 if ac_fn_cxx_try_link "$LINENO"; then :
19753   ac_has_clock_monotonic=yes
19754 else
19755   ac_has_clock_monotonic=no
19756 fi
19757 rm -f core conftest.err conftest.$ac_objext \
19758     conftest$ac_exeext conftest.$ac_ext
19759
19760       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19761 $as_echo "$ac_has_clock_monotonic" >&6; }
19762
19763       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19764 $as_echo_n "checking for realtime clock... " >&6; }
19765       if test x$gcc_no_link = xyes; then
19766   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19767 fi
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h.  */
19770 #include <unistd.h>
19771          #include <time.h>
19772
19773 int
19774 main ()
19775 {
19776 #if _POSIX_TIMERS > 0
19777           timespec tp;
19778          #endif
19779           clock_gettime(CLOCK_REALTIME, &tp);
19780
19781   ;
19782   return 0;
19783 }
19784 _ACEOF
19785 if ac_fn_cxx_try_link "$LINENO"; then :
19786   ac_has_clock_realtime=yes
19787 else
19788   ac_has_clock_realtime=no
19789 fi
19790 rm -f core conftest.err conftest.$ac_objext \
19791     conftest$ac_exeext conftest.$ac_ext
19792
19793       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19794 $as_echo "$ac_has_clock_realtime" >&6; }
19795
19796       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19797 $as_echo_n "checking for nanosleep... " >&6; }
19798       if test x$gcc_no_link = xyes; then
19799   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19800 fi
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h.  */
19803 #include <unistd.h>
19804          #include <time.h>
19805
19806 int
19807 main ()
19808 {
19809 #if _POSIX_TIMERS > 0
19810           timespec tp;
19811          #endif
19812           nanosleep(&tp, 0);
19813
19814   ;
19815   return 0;
19816 }
19817 _ACEOF
19818 if ac_fn_cxx_try_link "$LINENO"; then :
19819   ac_has_nanosleep=yes
19820 else
19821   ac_has_nanosleep=no
19822 fi
19823 rm -f core conftest.err conftest.$ac_objext \
19824     conftest$ac_exeext conftest.$ac_ext
19825
19826       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19827 $as_echo "$ac_has_nanosleep" >&6; }
19828     fi
19829   fi
19830
19831   if test x"$ac_has_clock_monotonic" = x"yes"; then
19832
19833 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19834
19835   fi
19836
19837   if test x"$ac_has_clock_realtime" = x"yes"; then
19838
19839 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19840
19841   fi
19842
19843   if test x"$ac_has_nanosleep" = x"yes"; then
19844
19845 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19846
19847   else
19848       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19849 $as_echo_n "checking for sleep... " >&6; }
19850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h.  */
19852 #include <unistd.h>
19853 int
19854 main ()
19855 {
19856 sleep(1)
19857   ;
19858   return 0;
19859 }
19860 _ACEOF
19861 if ac_fn_cxx_try_compile "$LINENO"; then :
19862   ac_has_sleep=yes
19863 else
19864   ac_has_sleep=no
19865 fi
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867       if test x"$ac_has_sleep" = x"yes"; then
19868
19869 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19870
19871       fi
19872       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19873 $as_echo "$ac_has_sleep" >&6; }
19874       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19875 $as_echo_n "checking for usleep... " >&6; }
19876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h.  */
19878 #include <unistd.h>
19879 int
19880 main ()
19881 {
19882 sleep(1);
19883                       usleep(100);
19884   ;
19885   return 0;
19886 }
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889   ac_has_usleep=yes
19890 else
19891   ac_has_usleep=no
19892 fi
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894       if test x"$ac_has_usleep" = x"yes"; then
19895
19896 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19897
19898       fi
19899       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19900 $as_echo "$ac_has_usleep" >&6; }
19901   fi
19902
19903
19904
19905   CXXFLAGS="$ac_save_CXXFLAGS"
19906   LIBS="$ac_save_LIBS"
19907   ac_ext=c
19908 ac_cpp='$CPP $CPPFLAGS'
19909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19912
19913
19914
19915
19916   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19917 if test "x$ac_cv_header_locale_h" = x""yes; then :
19918
19919     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19920 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19921 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19922   $as_echo_n "(cached) " >&6
19923 else
19924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h.  */
19926 #include <locale.h>
19927 int
19928 main ()
19929 {
19930 return LC_MESSAGES
19931   ;
19932   return 0;
19933 }
19934 _ACEOF
19935 if ac_fn_c_try_compile "$LINENO"; then :
19936   ac_cv_val_LC_MESSAGES=yes
19937 else
19938   ac_cv_val_LC_MESSAGES=no
19939 fi
19940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19941 fi
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19943 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19944     if test $ac_cv_val_LC_MESSAGES = yes; then
19945
19946 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19947
19948     fi
19949
19950 fi
19951
19952
19953
19954
19955 # For hardware_concurrency
19956 for ac_header in sys/sysinfo.h
19957 do :
19958   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19959 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19960   cat >>confdefs.h <<_ACEOF
19961 #define HAVE_SYS_SYSINFO_H 1
19962 _ACEOF
19963
19964 fi
19965
19966 done
19967
19968
19969
19970
19971   ac_ext=cpp
19972 ac_cpp='$CXXCPP $CPPFLAGS'
19973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19976
19977   ac_save_CXXFLAGS="$CXXFLAGS"
19978   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19979
19980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19981 $as_echo_n "checking for get_nprocs... " >&6; }
19982   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19983   $as_echo_n "(cached) " >&6
19984 else
19985
19986     if test x$gcc_no_link = xyes; then
19987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19988 /* end confdefs.h.  */
19989 #include <sys/sysinfo.h>
19990 int
19991 main ()
19992 {
19993 int n = get_nprocs();
19994   ;
19995   return 0;
19996 }
19997 _ACEOF
19998 if ac_fn_cxx_try_compile "$LINENO"; then :
19999   glibcxx_cv_GET_NPROCS=yes
20000 else
20001   glibcxx_cv_GET_NPROCS=no
20002 fi
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20004 else
20005   if test x$gcc_no_link = xyes; then
20006   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20007 fi
20008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h.  */
20010 #include <sys/sysinfo.h>
20011 int
20012 main ()
20013 {
20014 int n = get_nprocs();
20015   ;
20016   return 0;
20017 }
20018 _ACEOF
20019 if ac_fn_cxx_try_link "$LINENO"; then :
20020   glibcxx_cv_GET_NPROCS=yes
20021 else
20022   glibcxx_cv_GET_NPROCS=no
20023 fi
20024 rm -f core conftest.err conftest.$ac_objext \
20025     conftest$ac_exeext conftest.$ac_ext
20026 fi
20027
20028 fi
20029
20030   if test $glibcxx_cv_GET_NPROCS = yes; then
20031
20032 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20033
20034   fi
20035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20036 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20037
20038   CXXFLAGS="$ac_save_CXXFLAGS"
20039   ac_ext=c
20040 ac_cpp='$CPP $CPPFLAGS'
20041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20044
20045
20046 for ac_header in unistd.h
20047 do :
20048   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20049 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20050   cat >>confdefs.h <<_ACEOF
20051 #define HAVE_UNISTD_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 _SC_NPROCESSORS_ONLN" >&5
20071 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20072   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+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 <unistd.h>
20080 int
20081 main ()
20082 {
20083 int n = sysconf(_SC_NPROCESSORS_ONLN);
20084   ;
20085   return 0;
20086 }
20087 _ACEOF
20088 if ac_fn_cxx_try_compile "$LINENO"; then :
20089   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20090 else
20091   glibcxx_cv_SC_NPROCESSORS_ONLN=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 <unistd.h>
20101 int
20102 main ()
20103 {
20104 int n = sysconf(_SC_NPROCESSORS_ONLN);
20105   ;
20106   return 0;
20107 }
20108 _ACEOF
20109 if ac_fn_cxx_try_link "$LINENO"; then :
20110   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20111 else
20112   glibcxx_cv_SC_NPROCESSORS_ONLN=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_SC_NPROCESSORS_ONLN = yes; then
20121
20122 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20123
20124   fi
20125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20126 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&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
20137
20138
20139   ac_ext=cpp
20140 ac_cpp='$CXXCPP $CPPFLAGS'
20141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20144
20145   ac_save_CXXFLAGS="$CXXFLAGS"
20146   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20147
20148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20149 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20150   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20151   $as_echo_n "(cached) " >&6
20152 else
20153
20154     if test x$gcc_no_link = xyes; then
20155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20156 /* end confdefs.h.  */
20157 #include <unistd.h>
20158 int
20159 main ()
20160 {
20161 int n = sysconf(_SC_NPROC_ONLN);
20162   ;
20163   return 0;
20164 }
20165 _ACEOF
20166 if ac_fn_cxx_try_compile "$LINENO"; then :
20167   glibcxx_cv_SC_NPROC_ONLN=yes
20168 else
20169   glibcxx_cv_SC_NPROC_ONLN=no
20170 fi
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20172 else
20173   if test x$gcc_no_link = xyes; then
20174   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20175 fi
20176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20177 /* end confdefs.h.  */
20178 #include <unistd.h>
20179 int
20180 main ()
20181 {
20182 int n = sysconf(_SC_NPROC_ONLN);
20183   ;
20184   return 0;
20185 }
20186 _ACEOF
20187 if ac_fn_cxx_try_link "$LINENO"; then :
20188   glibcxx_cv_SC_NPROC_ONLN=yes
20189 else
20190   glibcxx_cv_SC_NPROC_ONLN=no
20191 fi
20192 rm -f core conftest.err conftest.$ac_objext \
20193     conftest$ac_exeext conftest.$ac_ext
20194 fi
20195
20196 fi
20197
20198   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20199
20200 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20201
20202   fi
20203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20204 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20205
20206   CXXFLAGS="$ac_save_CXXFLAGS"
20207   ac_ext=c
20208 ac_cpp='$CPP $CPPFLAGS'
20209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20212
20213
20214
20215
20216
20217   ac_ext=cpp
20218 ac_cpp='$CXXCPP $CPPFLAGS'
20219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20222
20223   ac_save_CXXFLAGS="$CXXFLAGS"
20224   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20225
20226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20227 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20228   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20229   $as_echo_n "(cached) " >&6
20230 else
20231
20232     if test x$gcc_no_link = xyes; then
20233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20234 /* end confdefs.h.  */
20235 #include <pthread.h>
20236 int
20237 main ()
20238 {
20239 int n = pthread_num_processors_np();
20240   ;
20241   return 0;
20242 }
20243 _ACEOF
20244 if ac_fn_cxx_try_compile "$LINENO"; then :
20245   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20246 else
20247   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20248 fi
20249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20250 else
20251   if test x$gcc_no_link = xyes; then
20252   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20253 fi
20254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20255 /* end confdefs.h.  */
20256 #include <pthread.h>
20257 int
20258 main ()
20259 {
20260 int n = pthread_num_processors_np();
20261   ;
20262   return 0;
20263 }
20264 _ACEOF
20265 if ac_fn_cxx_try_link "$LINENO"; then :
20266   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20267 else
20268   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20269 fi
20270 rm -f core conftest.err conftest.$ac_objext \
20271     conftest$ac_exeext conftest.$ac_ext
20272 fi
20273
20274 fi
20275
20276   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20277
20278 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20279
20280   fi
20281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20282 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20283
20284   CXXFLAGS="$ac_save_CXXFLAGS"
20285   ac_ext=c
20286 ac_cpp='$CPP $CPPFLAGS'
20287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20290
20291
20292
20293
20294
20295   ac_ext=cpp
20296 ac_cpp='$CXXCPP $CPPFLAGS'
20297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20300
20301   ac_save_CXXFLAGS="$CXXFLAGS"
20302   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20303
20304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20305 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20306   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20307   $as_echo_n "(cached) " >&6
20308 else
20309
20310     if test x$gcc_no_link = xyes; then
20311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h.  */
20313
20314        #include <stddef.h>
20315        #include <sys/sysctl.h>
20316
20317 int
20318 main ()
20319 {
20320
20321        int count;
20322        size_t size = sizeof(count);
20323        int mib[] = { CTL_HW, HW_NCPU };
20324        sysctl(mib, 2, &count, &size, NULL, 0);
20325
20326   ;
20327   return 0;
20328 }
20329 _ACEOF
20330 if ac_fn_cxx_try_compile "$LINENO"; then :
20331   glibcxx_cv_SYSCTL_HW_NCPU=yes
20332 else
20333   glibcxx_cv_SYSCTL_HW_NCPU=no
20334 fi
20335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20336 else
20337   if test x$gcc_no_link = xyes; then
20338   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20339 fi
20340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20341 /* end confdefs.h.  */
20342
20343        #include <stddef.h>
20344        #include <sys/sysctl.h>
20345
20346 int
20347 main ()
20348 {
20349
20350        int count;
20351        size_t size = sizeof(count);
20352        int mib[] = { CTL_HW, HW_NCPU };
20353        sysctl(mib, 2, &count, &size, NULL, 0);
20354
20355   ;
20356   return 0;
20357 }
20358 _ACEOF
20359 if ac_fn_cxx_try_link "$LINENO"; then :
20360   glibcxx_cv_SYSCTL_HW_NCPU=yes
20361 else
20362   glibcxx_cv_SYSCTL_HW_NCPU=no
20363 fi
20364 rm -f core conftest.err conftest.$ac_objext \
20365     conftest$ac_exeext conftest.$ac_ext
20366 fi
20367
20368 fi
20369
20370   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20371
20372 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20373
20374   fi
20375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20376 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20377
20378   CXXFLAGS="$ac_save_CXXFLAGS"
20379   ac_ext=c
20380 ac_cpp='$CPP $CPPFLAGS'
20381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20384
20385
20386
20387 # Check for available headers.
20388 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20389 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20390 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20391 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20392 wchar.h wctype.h
20393 do :
20394   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20395 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20396 eval as_val=\$$as_ac_Header
20397    if test "x$as_val" = x""yes; then :
20398   cat >>confdefs.h <<_ACEOF
20399 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20400 _ACEOF
20401
20402 fi
20403
20404 done
20405
20406
20407 # Only do link tests if native. Else, hardcode.
20408 if $GLIBCXX_IS_NATIVE; then
20409
20410   # We can do more elaborate tests that assume a working linker.
20411   CANADIAN=no
20412
20413
20414
20415 # Check whether --with-gnu-ld was given.
20416 if test "${with_gnu_ld+set}" = set; then :
20417   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20418 else
20419   with_gnu_ld=no
20420 fi
20421
20422 ac_prog=ld
20423 if test "$GCC" = yes; then
20424   # Check if gcc -print-prog-name=ld gives a path.
20425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20426 $as_echo_n "checking for ld used by $CC... " >&6; }
20427   case $host in
20428   *-*-mingw*)
20429     # gcc leaves a trailing carriage return which upsets mingw
20430     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20431   *)
20432     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20433   esac
20434   case $ac_prog in
20435     # Accept absolute paths.
20436     [\\/]* | ?:[\\/]*)
20437       re_direlt='/[^/][^/]*/\.\./'
20438       # Canonicalize the pathname of ld
20439       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20440       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20441         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20442       done
20443       test -z "$LD" && LD="$ac_prog"
20444       ;;
20445   "")
20446     # If it fails, then pretend we aren't using GCC.
20447     ac_prog=ld
20448     ;;
20449   *)
20450     # If it is relative, then search for the first ld in PATH.
20451     with_gnu_ld=unknown
20452     ;;
20453   esac
20454 elif test "$with_gnu_ld" = yes; then
20455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20456 $as_echo_n "checking for GNU ld... " >&6; }
20457 else
20458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20459 $as_echo_n "checking for non-GNU ld... " >&6; }
20460 fi
20461 if test "${lt_cv_path_LD+set}" = set; then :
20462   $as_echo_n "(cached) " >&6
20463 else
20464   if test -z "$LD"; then
20465   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20466   for ac_dir in $PATH; do
20467     IFS="$lt_save_ifs"
20468     test -z "$ac_dir" && ac_dir=.
20469     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20470       lt_cv_path_LD="$ac_dir/$ac_prog"
20471       # Check to see if the program is GNU ld.  I'd rather use --version,
20472       # but apparently some variants of GNU ld only accept -v.
20473       # Break only if it was the GNU/non-GNU ld that we prefer.
20474       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20475       *GNU* | *'with BFD'*)
20476         test "$with_gnu_ld" != no && break
20477         ;;
20478       *)
20479         test "$with_gnu_ld" != yes && break
20480         ;;
20481       esac
20482     fi
20483   done
20484   IFS="$lt_save_ifs"
20485 else
20486   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20487 fi
20488 fi
20489
20490 LD="$lt_cv_path_LD"
20491 if test -n "$LD"; then
20492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20493 $as_echo "$LD" >&6; }
20494 else
20495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20496 $as_echo "no" >&6; }
20497 fi
20498 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20500 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20501 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20502   $as_echo_n "(cached) " >&6
20503 else
20504   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20505 case `$LD -v 2>&1 </dev/null` in
20506 *GNU* | *'with BFD'*)
20507   lt_cv_prog_gnu_ld=yes
20508   ;;
20509 *)
20510   lt_cv_prog_gnu_ld=no
20511   ;;
20512 esac
20513 fi
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20515 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20516 with_gnu_ld=$lt_cv_prog_gnu_ld
20517
20518
20519
20520
20521
20522
20523
20524   # If we're not using GNU ld, then there's no point in even trying these
20525   # tests.  Check for that first.  We should have already tested for gld
20526   # by now (in libtool), but require it now just to be safe...
20527   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20528   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20529
20530
20531
20532   # The name set by libtool depends on the version of libtool.  Shame on us
20533   # for depending on an impl detail, but c'est la vie.  Older versions used
20534   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20535   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20536   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20537   # set (hence we're using an older libtool), then set it.
20538   if test x${with_gnu_ld+set} != xset; then
20539     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20540       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20541       with_gnu_ld=no
20542     else
20543       with_gnu_ld=$ac_cv_prog_gnu_ld
20544     fi
20545   fi
20546
20547   # Start by getting the version number.  I think the libtool test already
20548   # does some of this, but throws away the result.
20549   glibcxx_ld_is_gold=no
20550   if test x"$with_gnu_ld" = x"yes"; then
20551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20552 $as_echo_n "checking for ld version... " >&6; }
20553
20554     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20555       glibcxx_ld_is_gold=yes
20556     fi
20557     ldver=`$LD --version 2>/dev/null |
20558            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'`
20559
20560     glibcxx_gnu_ld_version=`echo $ldver | \
20561            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20562     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20563 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20564   fi
20565
20566   # Set --gc-sections.
20567   glibcxx_have_gc_sections=no
20568   if test "$glibcxx_ld_is_gold" = "yes"; then
20569     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20570       glibcxx_have_gc_sections=yes
20571     fi
20572   else
20573     glibcxx_gcsections_min_ld=21602
20574     if test x"$with_gnu_ld" = x"yes" &&
20575         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20576       glibcxx_have_gc_sections=yes
20577     fi
20578   fi
20579   if test "$glibcxx_have_gc_sections" = "yes"; then
20580     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20581     # NB: This flag only works reliably after 2.16.1. Configure tests
20582     # for this are difficult, so hard wire a value that should work.
20583
20584     ac_test_CFLAGS="${CFLAGS+set}"
20585     ac_save_CFLAGS="$CFLAGS"
20586     CFLAGS='-Wl,--gc-sections'
20587
20588     # Check for -Wl,--gc-sections
20589     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20590 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20591     if test x$gcc_no_link = xyes; then
20592   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20593 fi
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h.  */
20596  int one(void) { return 1; }
20597      int two(void) { return 2; }
20598
20599 int
20600 main ()
20601 {
20602  two();
20603   ;
20604   return 0;
20605 }
20606 _ACEOF
20607 if ac_fn_c_try_link "$LINENO"; then :
20608   ac_gcsections=yes
20609 else
20610   ac_gcsections=no
20611 fi
20612 rm -f core conftest.err conftest.$ac_objext \
20613     conftest$ac_exeext conftest.$ac_ext
20614     if test "$ac_gcsections" = "yes"; then
20615       rm -f conftest.c
20616       touch conftest.c
20617       if $CC -c conftest.c; then
20618         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20619            grep "Warning: gc-sections option ignored" > /dev/null; then
20620           ac_gcsections=no
20621         fi
20622       fi
20623       rm -f conftest.c conftest.o conftest
20624     fi
20625     if test "$ac_gcsections" = "yes"; then
20626       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20627     fi
20628     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20629 $as_echo "$ac_gcsections" >&6; }
20630
20631     if test "$ac_test_CFLAGS" = set; then
20632       CFLAGS="$ac_save_CFLAGS"
20633     else
20634       # this is the suspicious part
20635       CFLAGS=''
20636     fi
20637   fi
20638
20639   # Set -z,relro.
20640   # Note this is only for shared objects.
20641   ac_ld_relro=no
20642   if test x"$with_gnu_ld" = x"yes"; then
20643     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20644 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20645     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20646     if test -n "$cxx_z_relo"; then
20647       OPT_LDFLAGS="-Wl,-z,relro"
20648       ac_ld_relro=yes
20649     fi
20650     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20651 $as_echo "$ac_ld_relro" >&6; }
20652   fi
20653
20654   # Set linker optimization flags.
20655   if test x"$with_gnu_ld" = x"yes"; then
20656     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20657   fi
20658
20659
20660
20661
20662
20663   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20664   ac_save_CXXFLAGS="$CXXFLAGS"
20665   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20666
20667     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20668 $as_echo_n "checking for sin in -lm... " >&6; }
20669 if test "${ac_cv_lib_m_sin+set}" = set; then :
20670   $as_echo_n "(cached) " >&6
20671 else
20672   ac_check_lib_save_LIBS=$LIBS
20673 LIBS="-lm  $LIBS"
20674 if test x$gcc_no_link = xyes; then
20675   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20676 fi
20677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h.  */
20679
20680 /* Override any GCC internal prototype to avoid an error.
20681    Use char because int might match the return type of a GCC
20682    builtin and then its argument prototype would still apply.  */
20683 #ifdef __cplusplus
20684 extern "C"
20685 #endif
20686 char sin ();
20687 int
20688 main ()
20689 {
20690 return sin ();
20691   ;
20692   return 0;
20693 }
20694 _ACEOF
20695 if ac_fn_c_try_link "$LINENO"; then :
20696   ac_cv_lib_m_sin=yes
20697 else
20698   ac_cv_lib_m_sin=no
20699 fi
20700 rm -f core conftest.err conftest.$ac_objext \
20701     conftest$ac_exeext conftest.$ac_ext
20702 LIBS=$ac_check_lib_save_LIBS
20703 fi
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20705 $as_echo "$ac_cv_lib_m_sin" >&6; }
20706 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20707   libm="-lm"
20708 fi
20709
20710   ac_save_LIBS="$LIBS"
20711   LIBS="$LIBS $libm"
20712
20713
20714
20715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20716 $as_echo_n "checking for isinf declaration... " >&6; }
20717   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20718     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20719   $as_echo_n "(cached) " >&6
20720 else
20721
20722
20723       ac_ext=cpp
20724 ac_cpp='$CXXCPP $CPPFLAGS'
20725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20728
20729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20730 /* end confdefs.h.  */
20731 #include <math.h>
20732                       #ifdef HAVE_IEEEFP_H
20733                       #include <ieeefp.h>
20734                       #endif
20735
20736 int
20737 main ()
20738 {
20739  isinf(0);
20740   ;
20741   return 0;
20742 }
20743 _ACEOF
20744 if ac_fn_cxx_try_compile "$LINENO"; then :
20745   glibcxx_cv_func_isinf_use=yes
20746 else
20747   glibcxx_cv_func_isinf_use=no
20748 fi
20749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20750       ac_ext=c
20751 ac_cpp='$CPP $CPPFLAGS'
20752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20755
20756
20757 fi
20758
20759   fi
20760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20761 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20762
20763   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20764     for ac_func in isinf
20765 do :
20766   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20767 if test "x$ac_cv_func_isinf" = x""yes; then :
20768   cat >>confdefs.h <<_ACEOF
20769 #define HAVE_ISINF 1
20770 _ACEOF
20771
20772 fi
20773 done
20774
20775   else
20776
20777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20778 $as_echo_n "checking for _isinf declaration... " >&6; }
20779   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20780     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20781   $as_echo_n "(cached) " >&6
20782 else
20783
20784
20785       ac_ext=cpp
20786 ac_cpp='$CXXCPP $CPPFLAGS'
20787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20790
20791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20792 /* end confdefs.h.  */
20793 #include <math.h>
20794                       #ifdef HAVE_IEEEFP_H
20795                       #include <ieeefp.h>
20796                       #endif
20797
20798 int
20799 main ()
20800 {
20801  _isinf(0);
20802   ;
20803   return 0;
20804 }
20805 _ACEOF
20806 if ac_fn_cxx_try_compile "$LINENO"; then :
20807   glibcxx_cv_func__isinf_use=yes
20808 else
20809   glibcxx_cv_func__isinf_use=no
20810 fi
20811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20812       ac_ext=c
20813 ac_cpp='$CPP $CPPFLAGS'
20814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20817
20818
20819 fi
20820
20821   fi
20822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20823 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20824
20825     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20826       for ac_func in _isinf
20827 do :
20828   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20829 if test "x$ac_cv_func__isinf" = x""yes; then :
20830   cat >>confdefs.h <<_ACEOF
20831 #define HAVE__ISINF 1
20832 _ACEOF
20833
20834 fi
20835 done
20836
20837     fi
20838   fi
20839
20840
20841
20842
20843
20844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20845 $as_echo_n "checking for isnan declaration... " >&6; }
20846   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20847     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20848   $as_echo_n "(cached) " >&6
20849 else
20850
20851
20852       ac_ext=cpp
20853 ac_cpp='$CXXCPP $CPPFLAGS'
20854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20857
20858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h.  */
20860 #include <math.h>
20861                       #ifdef HAVE_IEEEFP_H
20862                       #include <ieeefp.h>
20863                       #endif
20864
20865 int
20866 main ()
20867 {
20868  isnan(0);
20869   ;
20870   return 0;
20871 }
20872 _ACEOF
20873 if ac_fn_cxx_try_compile "$LINENO"; then :
20874   glibcxx_cv_func_isnan_use=yes
20875 else
20876   glibcxx_cv_func_isnan_use=no
20877 fi
20878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20879       ac_ext=c
20880 ac_cpp='$CPP $CPPFLAGS'
20881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20884
20885
20886 fi
20887
20888   fi
20889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20890 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20891
20892   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20893     for ac_func in isnan
20894 do :
20895   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20896 if test "x$ac_cv_func_isnan" = x""yes; then :
20897   cat >>confdefs.h <<_ACEOF
20898 #define HAVE_ISNAN 1
20899 _ACEOF
20900
20901 fi
20902 done
20903
20904   else
20905
20906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20907 $as_echo_n "checking for _isnan declaration... " >&6; }
20908   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20909     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20910   $as_echo_n "(cached) " >&6
20911 else
20912
20913
20914       ac_ext=cpp
20915 ac_cpp='$CXXCPP $CPPFLAGS'
20916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20919
20920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20921 /* end confdefs.h.  */
20922 #include <math.h>
20923                       #ifdef HAVE_IEEEFP_H
20924                       #include <ieeefp.h>
20925                       #endif
20926
20927 int
20928 main ()
20929 {
20930  _isnan(0);
20931   ;
20932   return 0;
20933 }
20934 _ACEOF
20935 if ac_fn_cxx_try_compile "$LINENO"; then :
20936   glibcxx_cv_func__isnan_use=yes
20937 else
20938   glibcxx_cv_func__isnan_use=no
20939 fi
20940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20941       ac_ext=c
20942 ac_cpp='$CPP $CPPFLAGS'
20943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20946
20947
20948 fi
20949
20950   fi
20951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20952 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20953
20954     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20955       for ac_func in _isnan
20956 do :
20957   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20958 if test "x$ac_cv_func__isnan" = x""yes; then :
20959   cat >>confdefs.h <<_ACEOF
20960 #define HAVE__ISNAN 1
20961 _ACEOF
20962
20963 fi
20964 done
20965
20966     fi
20967   fi
20968
20969
20970
20971
20972
20973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20974 $as_echo_n "checking for finite declaration... " >&6; }
20975   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20976     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20977   $as_echo_n "(cached) " >&6
20978 else
20979
20980
20981       ac_ext=cpp
20982 ac_cpp='$CXXCPP $CPPFLAGS'
20983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20986
20987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h.  */
20989 #include <math.h>
20990                       #ifdef HAVE_IEEEFP_H
20991                       #include <ieeefp.h>
20992                       #endif
20993
20994 int
20995 main ()
20996 {
20997  finite(0);
20998   ;
20999   return 0;
21000 }
21001 _ACEOF
21002 if ac_fn_cxx_try_compile "$LINENO"; then :
21003   glibcxx_cv_func_finite_use=yes
21004 else
21005   glibcxx_cv_func_finite_use=no
21006 fi
21007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21008       ac_ext=c
21009 ac_cpp='$CPP $CPPFLAGS'
21010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21013
21014
21015 fi
21016
21017   fi
21018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21019 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21020
21021   if test x$glibcxx_cv_func_finite_use = x"yes"; then
21022     for ac_func in finite
21023 do :
21024   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21025 if test "x$ac_cv_func_finite" = x""yes; then :
21026   cat >>confdefs.h <<_ACEOF
21027 #define HAVE_FINITE 1
21028 _ACEOF
21029
21030 fi
21031 done
21032
21033   else
21034
21035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21036 $as_echo_n "checking for _finite declaration... " >&6; }
21037   if test x${glibcxx_cv_func__finite_use+set} != xset; then
21038     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21039   $as_echo_n "(cached) " >&6
21040 else
21041
21042
21043       ac_ext=cpp
21044 ac_cpp='$CXXCPP $CPPFLAGS'
21045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21048
21049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21050 /* end confdefs.h.  */
21051 #include <math.h>
21052                       #ifdef HAVE_IEEEFP_H
21053                       #include <ieeefp.h>
21054                       #endif
21055
21056 int
21057 main ()
21058 {
21059  _finite(0);
21060   ;
21061   return 0;
21062 }
21063 _ACEOF
21064 if ac_fn_cxx_try_compile "$LINENO"; then :
21065   glibcxx_cv_func__finite_use=yes
21066 else
21067   glibcxx_cv_func__finite_use=no
21068 fi
21069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070       ac_ext=c
21071 ac_cpp='$CPP $CPPFLAGS'
21072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21075
21076
21077 fi
21078
21079   fi
21080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21081 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21082
21083     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21084       for ac_func in _finite
21085 do :
21086   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21087 if test "x$ac_cv_func__finite" = x""yes; then :
21088   cat >>confdefs.h <<_ACEOF
21089 #define HAVE__FINITE 1
21090 _ACEOF
21091
21092 fi
21093 done
21094
21095     fi
21096   fi
21097
21098
21099
21100
21101
21102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21103 $as_echo_n "checking for sincos declaration... " >&6; }
21104   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21105     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21106   $as_echo_n "(cached) " >&6
21107 else
21108
21109
21110       ac_ext=cpp
21111 ac_cpp='$CXXCPP $CPPFLAGS'
21112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21115
21116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21117 /* end confdefs.h.  */
21118 #include <math.h>
21119 int
21120 main ()
21121 {
21122  sincos(0, 0, 0);
21123   ;
21124   return 0;
21125 }
21126 _ACEOF
21127 if ac_fn_cxx_try_compile "$LINENO"; then :
21128   glibcxx_cv_func_sincos_use=yes
21129 else
21130   glibcxx_cv_func_sincos_use=no
21131 fi
21132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21133       ac_ext=c
21134 ac_cpp='$CPP $CPPFLAGS'
21135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21138
21139
21140 fi
21141
21142   fi
21143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21144 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21145
21146   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21147     for ac_func in sincos
21148 do :
21149   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21150 if test "x$ac_cv_func_sincos" = x""yes; then :
21151   cat >>confdefs.h <<_ACEOF
21152 #define HAVE_SINCOS 1
21153 _ACEOF
21154
21155 fi
21156 done
21157
21158   else
21159
21160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21161 $as_echo_n "checking for _sincos declaration... " >&6; }
21162   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21163     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21164   $as_echo_n "(cached) " >&6
21165 else
21166
21167
21168       ac_ext=cpp
21169 ac_cpp='$CXXCPP $CPPFLAGS'
21170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21173
21174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h.  */
21176 #include <math.h>
21177 int
21178 main ()
21179 {
21180  _sincos(0, 0, 0);
21181   ;
21182   return 0;
21183 }
21184 _ACEOF
21185 if ac_fn_cxx_try_compile "$LINENO"; then :
21186   glibcxx_cv_func__sincos_use=yes
21187 else
21188   glibcxx_cv_func__sincos_use=no
21189 fi
21190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21191       ac_ext=c
21192 ac_cpp='$CPP $CPPFLAGS'
21193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21196
21197
21198 fi
21199
21200   fi
21201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21202 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21203
21204     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21205       for ac_func in _sincos
21206 do :
21207   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21208 if test "x$ac_cv_func__sincos" = x""yes; then :
21209   cat >>confdefs.h <<_ACEOF
21210 #define HAVE__SINCOS 1
21211 _ACEOF
21212
21213 fi
21214 done
21215
21216     fi
21217   fi
21218
21219
21220
21221
21222
21223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21224 $as_echo_n "checking for fpclass declaration... " >&6; }
21225   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21226     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21227   $as_echo_n "(cached) " >&6
21228 else
21229
21230
21231       ac_ext=cpp
21232 ac_cpp='$CXXCPP $CPPFLAGS'
21233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21236
21237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21238 /* end confdefs.h.  */
21239 #include <math.h>
21240                       #ifdef HAVE_IEEEFP_H
21241                       #include <ieeefp.h>
21242                       #endif
21243
21244 int
21245 main ()
21246 {
21247  fpclass(0);
21248   ;
21249   return 0;
21250 }
21251 _ACEOF
21252 if ac_fn_cxx_try_compile "$LINENO"; then :
21253   glibcxx_cv_func_fpclass_use=yes
21254 else
21255   glibcxx_cv_func_fpclass_use=no
21256 fi
21257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21258       ac_ext=c
21259 ac_cpp='$CPP $CPPFLAGS'
21260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21263
21264
21265 fi
21266
21267   fi
21268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21269 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21270
21271   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21272     for ac_func in fpclass
21273 do :
21274   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21275 if test "x$ac_cv_func_fpclass" = x""yes; then :
21276   cat >>confdefs.h <<_ACEOF
21277 #define HAVE_FPCLASS 1
21278 _ACEOF
21279
21280 fi
21281 done
21282
21283   else
21284
21285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21286 $as_echo_n "checking for _fpclass declaration... " >&6; }
21287   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21288     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21289   $as_echo_n "(cached) " >&6
21290 else
21291
21292
21293       ac_ext=cpp
21294 ac_cpp='$CXXCPP $CPPFLAGS'
21295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21298
21299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21300 /* end confdefs.h.  */
21301 #include <math.h>
21302                       #ifdef HAVE_IEEEFP_H
21303                       #include <ieeefp.h>
21304                       #endif
21305
21306 int
21307 main ()
21308 {
21309  _fpclass(0);
21310   ;
21311   return 0;
21312 }
21313 _ACEOF
21314 if ac_fn_cxx_try_compile "$LINENO"; then :
21315   glibcxx_cv_func__fpclass_use=yes
21316 else
21317   glibcxx_cv_func__fpclass_use=no
21318 fi
21319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21320       ac_ext=c
21321 ac_cpp='$CPP $CPPFLAGS'
21322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21325
21326
21327 fi
21328
21329   fi
21330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21331 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21332
21333     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21334       for ac_func in _fpclass
21335 do :
21336   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21337 if test "x$ac_cv_func__fpclass" = x""yes; then :
21338   cat >>confdefs.h <<_ACEOF
21339 #define HAVE__FPCLASS 1
21340 _ACEOF
21341
21342 fi
21343 done
21344
21345     fi
21346   fi
21347
21348
21349
21350
21351
21352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21353 $as_echo_n "checking for qfpclass declaration... " >&6; }
21354   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21355     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21356   $as_echo_n "(cached) " >&6
21357 else
21358
21359
21360       ac_ext=cpp
21361 ac_cpp='$CXXCPP $CPPFLAGS'
21362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21365
21366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21367 /* end confdefs.h.  */
21368 #include <math.h>
21369                       #ifdef HAVE_IEEEFP_H
21370                       #include <ieeefp.h>
21371                       #endif
21372
21373 int
21374 main ()
21375 {
21376  qfpclass(0);
21377   ;
21378   return 0;
21379 }
21380 _ACEOF
21381 if ac_fn_cxx_try_compile "$LINENO"; then :
21382   glibcxx_cv_func_qfpclass_use=yes
21383 else
21384   glibcxx_cv_func_qfpclass_use=no
21385 fi
21386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21387       ac_ext=c
21388 ac_cpp='$CPP $CPPFLAGS'
21389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21392
21393
21394 fi
21395
21396   fi
21397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21398 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21399
21400   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21401     for ac_func in qfpclass
21402 do :
21403   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21404 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21405   cat >>confdefs.h <<_ACEOF
21406 #define HAVE_QFPCLASS 1
21407 _ACEOF
21408
21409 fi
21410 done
21411
21412   else
21413
21414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21415 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21416   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21417     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21418   $as_echo_n "(cached) " >&6
21419 else
21420
21421
21422       ac_ext=cpp
21423 ac_cpp='$CXXCPP $CPPFLAGS'
21424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21427
21428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21429 /* end confdefs.h.  */
21430 #include <math.h>
21431                       #ifdef HAVE_IEEEFP_H
21432                       #include <ieeefp.h>
21433                       #endif
21434
21435 int
21436 main ()
21437 {
21438  _qfpclass(0);
21439   ;
21440   return 0;
21441 }
21442 _ACEOF
21443 if ac_fn_cxx_try_compile "$LINENO"; then :
21444   glibcxx_cv_func__qfpclass_use=yes
21445 else
21446   glibcxx_cv_func__qfpclass_use=no
21447 fi
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449       ac_ext=c
21450 ac_cpp='$CPP $CPPFLAGS'
21451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21454
21455
21456 fi
21457
21458   fi
21459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21460 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21461
21462     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21463       for ac_func in _qfpclass
21464 do :
21465   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21466 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21467   cat >>confdefs.h <<_ACEOF
21468 #define HAVE__QFPCLASS 1
21469 _ACEOF
21470
21471 fi
21472 done
21473
21474     fi
21475   fi
21476
21477
21478
21479
21480
21481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21482 $as_echo_n "checking for hypot declaration... " >&6; }
21483   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21484     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21485   $as_echo_n "(cached) " >&6
21486 else
21487
21488
21489       ac_ext=cpp
21490 ac_cpp='$CXXCPP $CPPFLAGS'
21491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21494
21495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21496 /* end confdefs.h.  */
21497 #include <math.h>
21498 int
21499 main ()
21500 {
21501  hypot(0, 0);
21502   ;
21503   return 0;
21504 }
21505 _ACEOF
21506 if ac_fn_cxx_try_compile "$LINENO"; then :
21507   glibcxx_cv_func_hypot_use=yes
21508 else
21509   glibcxx_cv_func_hypot_use=no
21510 fi
21511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21512       ac_ext=c
21513 ac_cpp='$CPP $CPPFLAGS'
21514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21517
21518
21519 fi
21520
21521   fi
21522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21523 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21524
21525   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21526     for ac_func in hypot
21527 do :
21528   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21529 if test "x$ac_cv_func_hypot" = x""yes; then :
21530   cat >>confdefs.h <<_ACEOF
21531 #define HAVE_HYPOT 1
21532 _ACEOF
21533
21534 fi
21535 done
21536
21537   else
21538
21539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21540 $as_echo_n "checking for _hypot declaration... " >&6; }
21541   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21542     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21543   $as_echo_n "(cached) " >&6
21544 else
21545
21546
21547       ac_ext=cpp
21548 ac_cpp='$CXXCPP $CPPFLAGS'
21549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21552
21553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h.  */
21555 #include <math.h>
21556 int
21557 main ()
21558 {
21559  _hypot(0, 0);
21560   ;
21561   return 0;
21562 }
21563 _ACEOF
21564 if ac_fn_cxx_try_compile "$LINENO"; then :
21565   glibcxx_cv_func__hypot_use=yes
21566 else
21567   glibcxx_cv_func__hypot_use=no
21568 fi
21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21570       ac_ext=c
21571 ac_cpp='$CPP $CPPFLAGS'
21572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21575
21576
21577 fi
21578
21579   fi
21580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21581 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21582
21583     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21584       for ac_func in _hypot
21585 do :
21586   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21587 if test "x$ac_cv_func__hypot" = x""yes; then :
21588   cat >>confdefs.h <<_ACEOF
21589 #define HAVE__HYPOT 1
21590 _ACEOF
21591
21592 fi
21593 done
21594
21595     fi
21596   fi
21597
21598
21599
21600
21601
21602     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21603 $as_echo_n "checking for float trig functions... " >&6; }
21604   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21605   $as_echo_n "(cached) " >&6
21606 else
21607
21608
21609     ac_ext=cpp
21610 ac_cpp='$CXXCPP $CPPFLAGS'
21611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21614
21615     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21616 /* end confdefs.h.  */
21617 #include <math.h>
21618 int
21619 main ()
21620 {
21621 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21622   ;
21623   return 0;
21624 }
21625 _ACEOF
21626 if ac_fn_cxx_try_compile "$LINENO"; then :
21627   glibcxx_cv_func_float_trig_use=yes
21628 else
21629   glibcxx_cv_func_float_trig_use=no
21630 fi
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632     ac_ext=c
21633 ac_cpp='$CPP $CPPFLAGS'
21634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21637
21638 fi
21639
21640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21641 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21642   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21643     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21644 do :
21645   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21646 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21647 eval as_val=\$$as_ac_var
21648    if test "x$as_val" = x""yes; then :
21649   cat >>confdefs.h <<_ACEOF
21650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21651 _ACEOF
21652
21653 fi
21654 done
21655
21656   else
21657     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21658 $as_echo_n "checking for _float trig functions... " >&6; }
21659     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21660   $as_echo_n "(cached) " >&6
21661 else
21662
21663
21664       ac_ext=cpp
21665 ac_cpp='$CXXCPP $CPPFLAGS'
21666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21669
21670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21671 /* end confdefs.h.  */
21672 #include <math.h>
21673 int
21674 main ()
21675 {
21676 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21677   ;
21678   return 0;
21679 }
21680 _ACEOF
21681 if ac_fn_cxx_try_compile "$LINENO"; then :
21682   glibcxx_cv_func__float_trig_use=yes
21683 else
21684   glibcxx_cv_func__float_trig_use=no
21685 fi
21686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687       ac_ext=c
21688 ac_cpp='$CPP $CPPFLAGS'
21689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21692
21693 fi
21694
21695     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21696 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21697     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21698       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21699 do :
21700   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21701 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21702 eval as_val=\$$as_ac_var
21703    if test "x$as_val" = x""yes; then :
21704   cat >>confdefs.h <<_ACEOF
21705 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21706 _ACEOF
21707
21708 fi
21709 done
21710
21711     fi
21712   fi
21713
21714
21715
21716
21717
21718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21719 $as_echo_n "checking for float round functions... " >&6; }
21720   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21721   $as_echo_n "(cached) " >&6
21722 else
21723
21724
21725     ac_ext=cpp
21726 ac_cpp='$CXXCPP $CPPFLAGS'
21727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21730
21731     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21732 /* end confdefs.h.  */
21733 #include <math.h>
21734 int
21735 main ()
21736 {
21737 ceilf (0); floorf (0);
21738   ;
21739   return 0;
21740 }
21741 _ACEOF
21742 if ac_fn_cxx_try_compile "$LINENO"; then :
21743   glibcxx_cv_func_float_round_use=yes
21744 else
21745   glibcxx_cv_func_float_round_use=no
21746 fi
21747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21748     ac_ext=c
21749 ac_cpp='$CPP $CPPFLAGS'
21750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21753
21754 fi
21755
21756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21757 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21758   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21759     for ac_func in ceilf floorf
21760 do :
21761   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21763 eval as_val=\$$as_ac_var
21764    if test "x$as_val" = x""yes; then :
21765   cat >>confdefs.h <<_ACEOF
21766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21767 _ACEOF
21768
21769 fi
21770 done
21771
21772   else
21773     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21774 $as_echo_n "checking for _float round functions... " >&6; }
21775     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21776   $as_echo_n "(cached) " >&6
21777 else
21778
21779
21780       ac_ext=cpp
21781 ac_cpp='$CXXCPP $CPPFLAGS'
21782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21785
21786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21787 /* end confdefs.h.  */
21788 #include <math.h>
21789 int
21790 main ()
21791 {
21792 _ceilf (0); _floorf (0);
21793   ;
21794   return 0;
21795 }
21796 _ACEOF
21797 if ac_fn_cxx_try_compile "$LINENO"; then :
21798   glibcxx_cv_func__float_round_use=yes
21799 else
21800   glibcxx_cv_func__float_round_use=no
21801 fi
21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803       ac_ext=c
21804 ac_cpp='$CPP $CPPFLAGS'
21805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21808
21809 fi
21810
21811     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21812 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21813     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21814       for ac_func in _ceilf _floorf
21815 do :
21816   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21818 eval as_val=\$$as_ac_var
21819    if test "x$as_val" = x""yes; then :
21820   cat >>confdefs.h <<_ACEOF
21821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21822 _ACEOF
21823
21824 fi
21825 done
21826
21827     fi
21828   fi
21829
21830
21831
21832
21833
21834
21835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21836 $as_echo_n "checking for expf declaration... " >&6; }
21837   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21838     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21839   $as_echo_n "(cached) " >&6
21840 else
21841
21842
21843       ac_ext=cpp
21844 ac_cpp='$CXXCPP $CPPFLAGS'
21845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21848
21849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21850 /* end confdefs.h.  */
21851 #include <math.h>
21852                       #ifdef HAVE_IEEEFP_H
21853                       #include <ieeefp.h>
21854                       #endif
21855
21856 int
21857 main ()
21858 {
21859  expf(0);
21860   ;
21861   return 0;
21862 }
21863 _ACEOF
21864 if ac_fn_cxx_try_compile "$LINENO"; then :
21865   glibcxx_cv_func_expf_use=yes
21866 else
21867   glibcxx_cv_func_expf_use=no
21868 fi
21869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21870       ac_ext=c
21871 ac_cpp='$CPP $CPPFLAGS'
21872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21875
21876
21877 fi
21878
21879   fi
21880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21881 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21882
21883   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21884     for ac_func in expf
21885 do :
21886   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21887 if test "x$ac_cv_func_expf" = x""yes; then :
21888   cat >>confdefs.h <<_ACEOF
21889 #define HAVE_EXPF 1
21890 _ACEOF
21891
21892 fi
21893 done
21894
21895   else
21896
21897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21898 $as_echo_n "checking for _expf declaration... " >&6; }
21899   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21900     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21901   $as_echo_n "(cached) " >&6
21902 else
21903
21904
21905       ac_ext=cpp
21906 ac_cpp='$CXXCPP $CPPFLAGS'
21907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21910
21911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21912 /* end confdefs.h.  */
21913 #include <math.h>
21914                       #ifdef HAVE_IEEEFP_H
21915                       #include <ieeefp.h>
21916                       #endif
21917
21918 int
21919 main ()
21920 {
21921  _expf(0);
21922   ;
21923   return 0;
21924 }
21925 _ACEOF
21926 if ac_fn_cxx_try_compile "$LINENO"; then :
21927   glibcxx_cv_func__expf_use=yes
21928 else
21929   glibcxx_cv_func__expf_use=no
21930 fi
21931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21932       ac_ext=c
21933 ac_cpp='$CPP $CPPFLAGS'
21934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21937
21938
21939 fi
21940
21941   fi
21942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21943 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21944
21945     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21946       for ac_func in _expf
21947 do :
21948   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21949 if test "x$ac_cv_func__expf" = x""yes; then :
21950   cat >>confdefs.h <<_ACEOF
21951 #define HAVE__EXPF 1
21952 _ACEOF
21953
21954 fi
21955 done
21956
21957     fi
21958   fi
21959
21960
21961
21962
21963
21964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21965 $as_echo_n "checking for isnanf declaration... " >&6; }
21966   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21967     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21968   $as_echo_n "(cached) " >&6
21969 else
21970
21971
21972       ac_ext=cpp
21973 ac_cpp='$CXXCPP $CPPFLAGS'
21974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21977
21978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21979 /* end confdefs.h.  */
21980 #include <math.h>
21981                       #ifdef HAVE_IEEEFP_H
21982                       #include <ieeefp.h>
21983                       #endif
21984
21985 int
21986 main ()
21987 {
21988  isnanf(0);
21989   ;
21990   return 0;
21991 }
21992 _ACEOF
21993 if ac_fn_cxx_try_compile "$LINENO"; then :
21994   glibcxx_cv_func_isnanf_use=yes
21995 else
21996   glibcxx_cv_func_isnanf_use=no
21997 fi
21998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21999       ac_ext=c
22000 ac_cpp='$CPP $CPPFLAGS'
22001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22004
22005
22006 fi
22007
22008   fi
22009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22010 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22011
22012   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22013     for ac_func in isnanf
22014 do :
22015   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22016 if test "x$ac_cv_func_isnanf" = x""yes; then :
22017   cat >>confdefs.h <<_ACEOF
22018 #define HAVE_ISNANF 1
22019 _ACEOF
22020
22021 fi
22022 done
22023
22024   else
22025
22026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22027 $as_echo_n "checking for _isnanf declaration... " >&6; }
22028   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22029     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22030   $as_echo_n "(cached) " >&6
22031 else
22032
22033
22034       ac_ext=cpp
22035 ac_cpp='$CXXCPP $CPPFLAGS'
22036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22039
22040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22041 /* end confdefs.h.  */
22042 #include <math.h>
22043                       #ifdef HAVE_IEEEFP_H
22044                       #include <ieeefp.h>
22045                       #endif
22046
22047 int
22048 main ()
22049 {
22050  _isnanf(0);
22051   ;
22052   return 0;
22053 }
22054 _ACEOF
22055 if ac_fn_cxx_try_compile "$LINENO"; then :
22056   glibcxx_cv_func__isnanf_use=yes
22057 else
22058   glibcxx_cv_func__isnanf_use=no
22059 fi
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061       ac_ext=c
22062 ac_cpp='$CPP $CPPFLAGS'
22063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22066
22067
22068 fi
22069
22070   fi
22071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22072 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22073
22074     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22075       for ac_func in _isnanf
22076 do :
22077   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22078 if test "x$ac_cv_func__isnanf" = x""yes; then :
22079   cat >>confdefs.h <<_ACEOF
22080 #define HAVE__ISNANF 1
22081 _ACEOF
22082
22083 fi
22084 done
22085
22086     fi
22087   fi
22088
22089
22090
22091
22092
22093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22094 $as_echo_n "checking for isinff declaration... " >&6; }
22095   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22096     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22097   $as_echo_n "(cached) " >&6
22098 else
22099
22100
22101       ac_ext=cpp
22102 ac_cpp='$CXXCPP $CPPFLAGS'
22103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22106
22107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22108 /* end confdefs.h.  */
22109 #include <math.h>
22110                       #ifdef HAVE_IEEEFP_H
22111                       #include <ieeefp.h>
22112                       #endif
22113
22114 int
22115 main ()
22116 {
22117  isinff(0);
22118   ;
22119   return 0;
22120 }
22121 _ACEOF
22122 if ac_fn_cxx_try_compile "$LINENO"; then :
22123   glibcxx_cv_func_isinff_use=yes
22124 else
22125   glibcxx_cv_func_isinff_use=no
22126 fi
22127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22128       ac_ext=c
22129 ac_cpp='$CPP $CPPFLAGS'
22130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22133
22134
22135 fi
22136
22137   fi
22138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22139 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22140
22141   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22142     for ac_func in isinff
22143 do :
22144   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22145 if test "x$ac_cv_func_isinff" = x""yes; then :
22146   cat >>confdefs.h <<_ACEOF
22147 #define HAVE_ISINFF 1
22148 _ACEOF
22149
22150 fi
22151 done
22152
22153   else
22154
22155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22156 $as_echo_n "checking for _isinff declaration... " >&6; }
22157   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22158     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22159   $as_echo_n "(cached) " >&6
22160 else
22161
22162
22163       ac_ext=cpp
22164 ac_cpp='$CXXCPP $CPPFLAGS'
22165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22168
22169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22170 /* end confdefs.h.  */
22171 #include <math.h>
22172                       #ifdef HAVE_IEEEFP_H
22173                       #include <ieeefp.h>
22174                       #endif
22175
22176 int
22177 main ()
22178 {
22179  _isinff(0);
22180   ;
22181   return 0;
22182 }
22183 _ACEOF
22184 if ac_fn_cxx_try_compile "$LINENO"; then :
22185   glibcxx_cv_func__isinff_use=yes
22186 else
22187   glibcxx_cv_func__isinff_use=no
22188 fi
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190       ac_ext=c
22191 ac_cpp='$CPP $CPPFLAGS'
22192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22195
22196
22197 fi
22198
22199   fi
22200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22201 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22202
22203     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22204       for ac_func in _isinff
22205 do :
22206   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22207 if test "x$ac_cv_func__isinff" = x""yes; then :
22208   cat >>confdefs.h <<_ACEOF
22209 #define HAVE__ISINFF 1
22210 _ACEOF
22211
22212 fi
22213 done
22214
22215     fi
22216   fi
22217
22218
22219
22220
22221
22222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22223 $as_echo_n "checking for atan2f declaration... " >&6; }
22224   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22225     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22226   $as_echo_n "(cached) " >&6
22227 else
22228
22229
22230       ac_ext=cpp
22231 ac_cpp='$CXXCPP $CPPFLAGS'
22232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22235
22236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22237 /* end confdefs.h.  */
22238 #include <math.h>
22239 int
22240 main ()
22241 {
22242  atan2f(0, 0);
22243   ;
22244   return 0;
22245 }
22246 _ACEOF
22247 if ac_fn_cxx_try_compile "$LINENO"; then :
22248   glibcxx_cv_func_atan2f_use=yes
22249 else
22250   glibcxx_cv_func_atan2f_use=no
22251 fi
22252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22253       ac_ext=c
22254 ac_cpp='$CPP $CPPFLAGS'
22255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22258
22259
22260 fi
22261
22262   fi
22263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22264 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22265
22266   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22267     for ac_func in atan2f
22268 do :
22269   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22270 if test "x$ac_cv_func_atan2f" = x""yes; then :
22271   cat >>confdefs.h <<_ACEOF
22272 #define HAVE_ATAN2F 1
22273 _ACEOF
22274
22275 fi
22276 done
22277
22278   else
22279
22280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22281 $as_echo_n "checking for _atan2f declaration... " >&6; }
22282   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22283     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22284   $as_echo_n "(cached) " >&6
22285 else
22286
22287
22288       ac_ext=cpp
22289 ac_cpp='$CXXCPP $CPPFLAGS'
22290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22293
22294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22295 /* end confdefs.h.  */
22296 #include <math.h>
22297 int
22298 main ()
22299 {
22300  _atan2f(0, 0);
22301   ;
22302   return 0;
22303 }
22304 _ACEOF
22305 if ac_fn_cxx_try_compile "$LINENO"; then :
22306   glibcxx_cv_func__atan2f_use=yes
22307 else
22308   glibcxx_cv_func__atan2f_use=no
22309 fi
22310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22311       ac_ext=c
22312 ac_cpp='$CPP $CPPFLAGS'
22313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22316
22317
22318 fi
22319
22320   fi
22321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22322 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22323
22324     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22325       for ac_func in _atan2f
22326 do :
22327   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22328 if test "x$ac_cv_func__atan2f" = x""yes; then :
22329   cat >>confdefs.h <<_ACEOF
22330 #define HAVE__ATAN2F 1
22331 _ACEOF
22332
22333 fi
22334 done
22335
22336     fi
22337   fi
22338
22339
22340
22341
22342
22343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22344 $as_echo_n "checking for fabsf declaration... " >&6; }
22345   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22346     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22347   $as_echo_n "(cached) " >&6
22348 else
22349
22350
22351       ac_ext=cpp
22352 ac_cpp='$CXXCPP $CPPFLAGS'
22353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22356
22357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h.  */
22359 #include <math.h>
22360                       #ifdef HAVE_IEEEFP_H
22361                       #include <ieeefp.h>
22362                       #endif
22363
22364 int
22365 main ()
22366 {
22367  fabsf(0);
22368   ;
22369   return 0;
22370 }
22371 _ACEOF
22372 if ac_fn_cxx_try_compile "$LINENO"; then :
22373   glibcxx_cv_func_fabsf_use=yes
22374 else
22375   glibcxx_cv_func_fabsf_use=no
22376 fi
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378       ac_ext=c
22379 ac_cpp='$CPP $CPPFLAGS'
22380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22383
22384
22385 fi
22386
22387   fi
22388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22389 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22390
22391   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22392     for ac_func in fabsf
22393 do :
22394   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22395 if test "x$ac_cv_func_fabsf" = x""yes; then :
22396   cat >>confdefs.h <<_ACEOF
22397 #define HAVE_FABSF 1
22398 _ACEOF
22399
22400 fi
22401 done
22402
22403   else
22404
22405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22406 $as_echo_n "checking for _fabsf declaration... " >&6; }
22407   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22408     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22409   $as_echo_n "(cached) " >&6
22410 else
22411
22412
22413       ac_ext=cpp
22414 ac_cpp='$CXXCPP $CPPFLAGS'
22415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22418
22419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420 /* end confdefs.h.  */
22421 #include <math.h>
22422                       #ifdef HAVE_IEEEFP_H
22423                       #include <ieeefp.h>
22424                       #endif
22425
22426 int
22427 main ()
22428 {
22429  _fabsf(0);
22430   ;
22431   return 0;
22432 }
22433 _ACEOF
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435   glibcxx_cv_func__fabsf_use=yes
22436 else
22437   glibcxx_cv_func__fabsf_use=no
22438 fi
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440       ac_ext=c
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22445
22446
22447 fi
22448
22449   fi
22450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22451 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22452
22453     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22454       for ac_func in _fabsf
22455 do :
22456   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22457 if test "x$ac_cv_func__fabsf" = x""yes; then :
22458   cat >>confdefs.h <<_ACEOF
22459 #define HAVE__FABSF 1
22460 _ACEOF
22461
22462 fi
22463 done
22464
22465     fi
22466   fi
22467
22468
22469
22470
22471
22472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22473 $as_echo_n "checking for fmodf declaration... " >&6; }
22474   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22475     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22476   $as_echo_n "(cached) " >&6
22477 else
22478
22479
22480       ac_ext=cpp
22481 ac_cpp='$CXXCPP $CPPFLAGS'
22482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22485
22486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h.  */
22488 #include <math.h>
22489 int
22490 main ()
22491 {
22492  fmodf(0, 0);
22493   ;
22494   return 0;
22495 }
22496 _ACEOF
22497 if ac_fn_cxx_try_compile "$LINENO"; then :
22498   glibcxx_cv_func_fmodf_use=yes
22499 else
22500   glibcxx_cv_func_fmodf_use=no
22501 fi
22502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22503       ac_ext=c
22504 ac_cpp='$CPP $CPPFLAGS'
22505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22508
22509
22510 fi
22511
22512   fi
22513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22514 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22515
22516   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22517     for ac_func in fmodf
22518 do :
22519   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22520 if test "x$ac_cv_func_fmodf" = x""yes; then :
22521   cat >>confdefs.h <<_ACEOF
22522 #define HAVE_FMODF 1
22523 _ACEOF
22524
22525 fi
22526 done
22527
22528   else
22529
22530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22531 $as_echo_n "checking for _fmodf declaration... " >&6; }
22532   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22533     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22534   $as_echo_n "(cached) " >&6
22535 else
22536
22537
22538       ac_ext=cpp
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22543
22544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h.  */
22546 #include <math.h>
22547 int
22548 main ()
22549 {
22550  _fmodf(0, 0);
22551   ;
22552   return 0;
22553 }
22554 _ACEOF
22555 if ac_fn_cxx_try_compile "$LINENO"; then :
22556   glibcxx_cv_func__fmodf_use=yes
22557 else
22558   glibcxx_cv_func__fmodf_use=no
22559 fi
22560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22561       ac_ext=c
22562 ac_cpp='$CPP $CPPFLAGS'
22563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22566
22567
22568 fi
22569
22570   fi
22571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22572 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22573
22574     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22575       for ac_func in _fmodf
22576 do :
22577   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22578 if test "x$ac_cv_func__fmodf" = x""yes; then :
22579   cat >>confdefs.h <<_ACEOF
22580 #define HAVE__FMODF 1
22581 _ACEOF
22582
22583 fi
22584 done
22585
22586     fi
22587   fi
22588
22589
22590
22591
22592
22593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22594 $as_echo_n "checking for frexpf declaration... " >&6; }
22595   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22596     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22597   $as_echo_n "(cached) " >&6
22598 else
22599
22600
22601       ac_ext=cpp
22602 ac_cpp='$CXXCPP $CPPFLAGS'
22603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22606
22607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22608 /* end confdefs.h.  */
22609 #include <math.h>
22610 int
22611 main ()
22612 {
22613  frexpf(0, 0);
22614   ;
22615   return 0;
22616 }
22617 _ACEOF
22618 if ac_fn_cxx_try_compile "$LINENO"; then :
22619   glibcxx_cv_func_frexpf_use=yes
22620 else
22621   glibcxx_cv_func_frexpf_use=no
22622 fi
22623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22624       ac_ext=c
22625 ac_cpp='$CPP $CPPFLAGS'
22626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22629
22630
22631 fi
22632
22633   fi
22634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22635 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22636
22637   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22638     for ac_func in frexpf
22639 do :
22640   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22641 if test "x$ac_cv_func_frexpf" = x""yes; then :
22642   cat >>confdefs.h <<_ACEOF
22643 #define HAVE_FREXPF 1
22644 _ACEOF
22645
22646 fi
22647 done
22648
22649   else
22650
22651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22652 $as_echo_n "checking for _frexpf declaration... " >&6; }
22653   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22654     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22655   $as_echo_n "(cached) " >&6
22656 else
22657
22658
22659       ac_ext=cpp
22660 ac_cpp='$CXXCPP $CPPFLAGS'
22661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22664
22665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22666 /* end confdefs.h.  */
22667 #include <math.h>
22668 int
22669 main ()
22670 {
22671  _frexpf(0, 0);
22672   ;
22673   return 0;
22674 }
22675 _ACEOF
22676 if ac_fn_cxx_try_compile "$LINENO"; then :
22677   glibcxx_cv_func__frexpf_use=yes
22678 else
22679   glibcxx_cv_func__frexpf_use=no
22680 fi
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682       ac_ext=c
22683 ac_cpp='$CPP $CPPFLAGS'
22684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22687
22688
22689 fi
22690
22691   fi
22692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22693 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22694
22695     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22696       for ac_func in _frexpf
22697 do :
22698   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22699 if test "x$ac_cv_func__frexpf" = x""yes; then :
22700   cat >>confdefs.h <<_ACEOF
22701 #define HAVE__FREXPF 1
22702 _ACEOF
22703
22704 fi
22705 done
22706
22707     fi
22708   fi
22709
22710
22711
22712
22713
22714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22715 $as_echo_n "checking for hypotf declaration... " >&6; }
22716   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22717     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22718   $as_echo_n "(cached) " >&6
22719 else
22720
22721
22722       ac_ext=cpp
22723 ac_cpp='$CXXCPP $CPPFLAGS'
22724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22727
22728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22729 /* end confdefs.h.  */
22730 #include <math.h>
22731 int
22732 main ()
22733 {
22734  hypotf(0, 0);
22735   ;
22736   return 0;
22737 }
22738 _ACEOF
22739 if ac_fn_cxx_try_compile "$LINENO"; then :
22740   glibcxx_cv_func_hypotf_use=yes
22741 else
22742   glibcxx_cv_func_hypotf_use=no
22743 fi
22744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22745       ac_ext=c
22746 ac_cpp='$CPP $CPPFLAGS'
22747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22750
22751
22752 fi
22753
22754   fi
22755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22756 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22757
22758   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22759     for ac_func in hypotf
22760 do :
22761   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22762 if test "x$ac_cv_func_hypotf" = x""yes; then :
22763   cat >>confdefs.h <<_ACEOF
22764 #define HAVE_HYPOTF 1
22765 _ACEOF
22766
22767 fi
22768 done
22769
22770   else
22771
22772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22773 $as_echo_n "checking for _hypotf declaration... " >&6; }
22774   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22775     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22776   $as_echo_n "(cached) " >&6
22777 else
22778
22779
22780       ac_ext=cpp
22781 ac_cpp='$CXXCPP $CPPFLAGS'
22782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22785
22786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22787 /* end confdefs.h.  */
22788 #include <math.h>
22789 int
22790 main ()
22791 {
22792  _hypotf(0, 0);
22793   ;
22794   return 0;
22795 }
22796 _ACEOF
22797 if ac_fn_cxx_try_compile "$LINENO"; then :
22798   glibcxx_cv_func__hypotf_use=yes
22799 else
22800   glibcxx_cv_func__hypotf_use=no
22801 fi
22802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22803       ac_ext=c
22804 ac_cpp='$CPP $CPPFLAGS'
22805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22808
22809
22810 fi
22811
22812   fi
22813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22814 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22815
22816     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22817       for ac_func in _hypotf
22818 do :
22819   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22820 if test "x$ac_cv_func__hypotf" = x""yes; then :
22821   cat >>confdefs.h <<_ACEOF
22822 #define HAVE__HYPOTF 1
22823 _ACEOF
22824
22825 fi
22826 done
22827
22828     fi
22829   fi
22830
22831
22832
22833
22834
22835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22836 $as_echo_n "checking for ldexpf declaration... " >&6; }
22837   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22838     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22839   $as_echo_n "(cached) " >&6
22840 else
22841
22842
22843       ac_ext=cpp
22844 ac_cpp='$CXXCPP $CPPFLAGS'
22845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22848
22849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22850 /* end confdefs.h.  */
22851 #include <math.h>
22852 int
22853 main ()
22854 {
22855  ldexpf(0, 0);
22856   ;
22857   return 0;
22858 }
22859 _ACEOF
22860 if ac_fn_cxx_try_compile "$LINENO"; then :
22861   glibcxx_cv_func_ldexpf_use=yes
22862 else
22863   glibcxx_cv_func_ldexpf_use=no
22864 fi
22865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22866       ac_ext=c
22867 ac_cpp='$CPP $CPPFLAGS'
22868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22871
22872
22873 fi
22874
22875   fi
22876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22877 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22878
22879   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22880     for ac_func in ldexpf
22881 do :
22882   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22883 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22884   cat >>confdefs.h <<_ACEOF
22885 #define HAVE_LDEXPF 1
22886 _ACEOF
22887
22888 fi
22889 done
22890
22891   else
22892
22893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22894 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22895   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22896     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22897   $as_echo_n "(cached) " >&6
22898 else
22899
22900
22901       ac_ext=cpp
22902 ac_cpp='$CXXCPP $CPPFLAGS'
22903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22906
22907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22908 /* end confdefs.h.  */
22909 #include <math.h>
22910 int
22911 main ()
22912 {
22913  _ldexpf(0, 0);
22914   ;
22915   return 0;
22916 }
22917 _ACEOF
22918 if ac_fn_cxx_try_compile "$LINENO"; then :
22919   glibcxx_cv_func__ldexpf_use=yes
22920 else
22921   glibcxx_cv_func__ldexpf_use=no
22922 fi
22923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22924       ac_ext=c
22925 ac_cpp='$CPP $CPPFLAGS'
22926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22929
22930
22931 fi
22932
22933   fi
22934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22935 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22936
22937     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22938       for ac_func in _ldexpf
22939 do :
22940   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22941 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22942   cat >>confdefs.h <<_ACEOF
22943 #define HAVE__LDEXPF 1
22944 _ACEOF
22945
22946 fi
22947 done
22948
22949     fi
22950   fi
22951
22952
22953
22954
22955
22956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22957 $as_echo_n "checking for logf declaration... " >&6; }
22958   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22959     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22960   $as_echo_n "(cached) " >&6
22961 else
22962
22963
22964       ac_ext=cpp
22965 ac_cpp='$CXXCPP $CPPFLAGS'
22966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22969
22970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22971 /* end confdefs.h.  */
22972 #include <math.h>
22973                       #ifdef HAVE_IEEEFP_H
22974                       #include <ieeefp.h>
22975                       #endif
22976
22977 int
22978 main ()
22979 {
22980  logf(0);
22981   ;
22982   return 0;
22983 }
22984 _ACEOF
22985 if ac_fn_cxx_try_compile "$LINENO"; then :
22986   glibcxx_cv_func_logf_use=yes
22987 else
22988   glibcxx_cv_func_logf_use=no
22989 fi
22990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22991       ac_ext=c
22992 ac_cpp='$CPP $CPPFLAGS'
22993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22996
22997
22998 fi
22999
23000   fi
23001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23002 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23003
23004   if test x$glibcxx_cv_func_logf_use = x"yes"; then
23005     for ac_func in logf
23006 do :
23007   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23008 if test "x$ac_cv_func_logf" = x""yes; then :
23009   cat >>confdefs.h <<_ACEOF
23010 #define HAVE_LOGF 1
23011 _ACEOF
23012
23013 fi
23014 done
23015
23016   else
23017
23018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23019 $as_echo_n "checking for _logf declaration... " >&6; }
23020   if test x${glibcxx_cv_func__logf_use+set} != xset; then
23021     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23022   $as_echo_n "(cached) " >&6
23023 else
23024
23025
23026       ac_ext=cpp
23027 ac_cpp='$CXXCPP $CPPFLAGS'
23028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23031
23032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23033 /* end confdefs.h.  */
23034 #include <math.h>
23035                       #ifdef HAVE_IEEEFP_H
23036                       #include <ieeefp.h>
23037                       #endif
23038
23039 int
23040 main ()
23041 {
23042  _logf(0);
23043   ;
23044   return 0;
23045 }
23046 _ACEOF
23047 if ac_fn_cxx_try_compile "$LINENO"; then :
23048   glibcxx_cv_func__logf_use=yes
23049 else
23050   glibcxx_cv_func__logf_use=no
23051 fi
23052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23053       ac_ext=c
23054 ac_cpp='$CPP $CPPFLAGS'
23055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23058
23059
23060 fi
23061
23062   fi
23063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23064 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23065
23066     if test x$glibcxx_cv_func__logf_use = x"yes"; then
23067       for ac_func in _logf
23068 do :
23069   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23070 if test "x$ac_cv_func__logf" = x""yes; then :
23071   cat >>confdefs.h <<_ACEOF
23072 #define HAVE__LOGF 1
23073 _ACEOF
23074
23075 fi
23076 done
23077
23078     fi
23079   fi
23080
23081
23082
23083
23084
23085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23086 $as_echo_n "checking for log10f declaration... " >&6; }
23087   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23088     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23089   $as_echo_n "(cached) " >&6
23090 else
23091
23092
23093       ac_ext=cpp
23094 ac_cpp='$CXXCPP $CPPFLAGS'
23095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23098
23099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23100 /* end confdefs.h.  */
23101 #include <math.h>
23102                       #ifdef HAVE_IEEEFP_H
23103                       #include <ieeefp.h>
23104                       #endif
23105
23106 int
23107 main ()
23108 {
23109  log10f(0);
23110   ;
23111   return 0;
23112 }
23113 _ACEOF
23114 if ac_fn_cxx_try_compile "$LINENO"; then :
23115   glibcxx_cv_func_log10f_use=yes
23116 else
23117   glibcxx_cv_func_log10f_use=no
23118 fi
23119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23120       ac_ext=c
23121 ac_cpp='$CPP $CPPFLAGS'
23122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23125
23126
23127 fi
23128
23129   fi
23130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23131 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23132
23133   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23134     for ac_func in log10f
23135 do :
23136   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23137 if test "x$ac_cv_func_log10f" = x""yes; then :
23138   cat >>confdefs.h <<_ACEOF
23139 #define HAVE_LOG10F 1
23140 _ACEOF
23141
23142 fi
23143 done
23144
23145   else
23146
23147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23148 $as_echo_n "checking for _log10f declaration... " >&6; }
23149   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23150     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23151   $as_echo_n "(cached) " >&6
23152 else
23153
23154
23155       ac_ext=cpp
23156 ac_cpp='$CXXCPP $CPPFLAGS'
23157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23160
23161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23162 /* end confdefs.h.  */
23163 #include <math.h>
23164                       #ifdef HAVE_IEEEFP_H
23165                       #include <ieeefp.h>
23166                       #endif
23167
23168 int
23169 main ()
23170 {
23171  _log10f(0);
23172   ;
23173   return 0;
23174 }
23175 _ACEOF
23176 if ac_fn_cxx_try_compile "$LINENO"; then :
23177   glibcxx_cv_func__log10f_use=yes
23178 else
23179   glibcxx_cv_func__log10f_use=no
23180 fi
23181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23182       ac_ext=c
23183 ac_cpp='$CPP $CPPFLAGS'
23184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23187
23188
23189 fi
23190
23191   fi
23192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23193 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23194
23195     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23196       for ac_func in _log10f
23197 do :
23198   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23199 if test "x$ac_cv_func__log10f" = x""yes; then :
23200   cat >>confdefs.h <<_ACEOF
23201 #define HAVE__LOG10F 1
23202 _ACEOF
23203
23204 fi
23205 done
23206
23207     fi
23208   fi
23209
23210
23211
23212
23213
23214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23215 $as_echo_n "checking for modff declaration... " >&6; }
23216   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23217     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23218   $as_echo_n "(cached) " >&6
23219 else
23220
23221
23222       ac_ext=cpp
23223 ac_cpp='$CXXCPP $CPPFLAGS'
23224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23227
23228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23229 /* end confdefs.h.  */
23230 #include <math.h>
23231 int
23232 main ()
23233 {
23234  modff(0, 0);
23235   ;
23236   return 0;
23237 }
23238 _ACEOF
23239 if ac_fn_cxx_try_compile "$LINENO"; then :
23240   glibcxx_cv_func_modff_use=yes
23241 else
23242   glibcxx_cv_func_modff_use=no
23243 fi
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245       ac_ext=c
23246 ac_cpp='$CPP $CPPFLAGS'
23247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23250
23251
23252 fi
23253
23254   fi
23255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23256 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23257
23258   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23259     for ac_func in modff
23260 do :
23261   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23262 if test "x$ac_cv_func_modff" = x""yes; then :
23263   cat >>confdefs.h <<_ACEOF
23264 #define HAVE_MODFF 1
23265 _ACEOF
23266
23267 fi
23268 done
23269
23270   else
23271
23272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23273 $as_echo_n "checking for _modff declaration... " >&6; }
23274   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23275     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23276   $as_echo_n "(cached) " >&6
23277 else
23278
23279
23280       ac_ext=cpp
23281 ac_cpp='$CXXCPP $CPPFLAGS'
23282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23285
23286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23287 /* end confdefs.h.  */
23288 #include <math.h>
23289 int
23290 main ()
23291 {
23292  _modff(0, 0);
23293   ;
23294   return 0;
23295 }
23296 _ACEOF
23297 if ac_fn_cxx_try_compile "$LINENO"; then :
23298   glibcxx_cv_func__modff_use=yes
23299 else
23300   glibcxx_cv_func__modff_use=no
23301 fi
23302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23303       ac_ext=c
23304 ac_cpp='$CPP $CPPFLAGS'
23305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23308
23309
23310 fi
23311
23312   fi
23313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23314 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23315
23316     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23317       for ac_func in _modff
23318 do :
23319   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23320 if test "x$ac_cv_func__modff" = x""yes; then :
23321   cat >>confdefs.h <<_ACEOF
23322 #define HAVE__MODFF 1
23323 _ACEOF
23324
23325 fi
23326 done
23327
23328     fi
23329   fi
23330
23331
23332
23333
23334
23335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23336 $as_echo_n "checking for modf declaration... " >&6; }
23337   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23338     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23339   $as_echo_n "(cached) " >&6
23340 else
23341
23342
23343       ac_ext=cpp
23344 ac_cpp='$CXXCPP $CPPFLAGS'
23345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23348
23349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23350 /* end confdefs.h.  */
23351 #include <math.h>
23352 int
23353 main ()
23354 {
23355  modf(0, 0);
23356   ;
23357   return 0;
23358 }
23359 _ACEOF
23360 if ac_fn_cxx_try_compile "$LINENO"; then :
23361   glibcxx_cv_func_modf_use=yes
23362 else
23363   glibcxx_cv_func_modf_use=no
23364 fi
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366       ac_ext=c
23367 ac_cpp='$CPP $CPPFLAGS'
23368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23371
23372
23373 fi
23374
23375   fi
23376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23377 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23378
23379   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23380     for ac_func in modf
23381 do :
23382   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23383 if test "x$ac_cv_func_modf" = x""yes; then :
23384   cat >>confdefs.h <<_ACEOF
23385 #define HAVE_MODF 1
23386 _ACEOF
23387
23388 fi
23389 done
23390
23391   else
23392
23393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23394 $as_echo_n "checking for _modf declaration... " >&6; }
23395   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23396     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23397   $as_echo_n "(cached) " >&6
23398 else
23399
23400
23401       ac_ext=cpp
23402 ac_cpp='$CXXCPP $CPPFLAGS'
23403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23406
23407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23408 /* end confdefs.h.  */
23409 #include <math.h>
23410 int
23411 main ()
23412 {
23413  _modf(0, 0);
23414   ;
23415   return 0;
23416 }
23417 _ACEOF
23418 if ac_fn_cxx_try_compile "$LINENO"; then :
23419   glibcxx_cv_func__modf_use=yes
23420 else
23421   glibcxx_cv_func__modf_use=no
23422 fi
23423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23424       ac_ext=c
23425 ac_cpp='$CPP $CPPFLAGS'
23426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23429
23430
23431 fi
23432
23433   fi
23434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23435 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23436
23437     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23438       for ac_func in _modf
23439 do :
23440   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23441 if test "x$ac_cv_func__modf" = x""yes; then :
23442   cat >>confdefs.h <<_ACEOF
23443 #define HAVE__MODF 1
23444 _ACEOF
23445
23446 fi
23447 done
23448
23449     fi
23450   fi
23451
23452
23453
23454
23455
23456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23457 $as_echo_n "checking for powf declaration... " >&6; }
23458   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23459     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23460   $as_echo_n "(cached) " >&6
23461 else
23462
23463
23464       ac_ext=cpp
23465 ac_cpp='$CXXCPP $CPPFLAGS'
23466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23469
23470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23471 /* end confdefs.h.  */
23472 #include <math.h>
23473 int
23474 main ()
23475 {
23476  powf(0, 0);
23477   ;
23478   return 0;
23479 }
23480 _ACEOF
23481 if ac_fn_cxx_try_compile "$LINENO"; then :
23482   glibcxx_cv_func_powf_use=yes
23483 else
23484   glibcxx_cv_func_powf_use=no
23485 fi
23486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23487       ac_ext=c
23488 ac_cpp='$CPP $CPPFLAGS'
23489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23492
23493
23494 fi
23495
23496   fi
23497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23498 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23499
23500   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23501     for ac_func in powf
23502 do :
23503   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23504 if test "x$ac_cv_func_powf" = x""yes; then :
23505   cat >>confdefs.h <<_ACEOF
23506 #define HAVE_POWF 1
23507 _ACEOF
23508
23509 fi
23510 done
23511
23512   else
23513
23514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23515 $as_echo_n "checking for _powf declaration... " >&6; }
23516   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23517     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23518   $as_echo_n "(cached) " >&6
23519 else
23520
23521
23522       ac_ext=cpp
23523 ac_cpp='$CXXCPP $CPPFLAGS'
23524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23527
23528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23529 /* end confdefs.h.  */
23530 #include <math.h>
23531 int
23532 main ()
23533 {
23534  _powf(0, 0);
23535   ;
23536   return 0;
23537 }
23538 _ACEOF
23539 if ac_fn_cxx_try_compile "$LINENO"; then :
23540   glibcxx_cv_func__powf_use=yes
23541 else
23542   glibcxx_cv_func__powf_use=no
23543 fi
23544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23545       ac_ext=c
23546 ac_cpp='$CPP $CPPFLAGS'
23547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23550
23551
23552 fi
23553
23554   fi
23555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23556 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23557
23558     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23559       for ac_func in _powf
23560 do :
23561   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23562 if test "x$ac_cv_func__powf" = x""yes; then :
23563   cat >>confdefs.h <<_ACEOF
23564 #define HAVE__POWF 1
23565 _ACEOF
23566
23567 fi
23568 done
23569
23570     fi
23571   fi
23572
23573
23574
23575
23576
23577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23578 $as_echo_n "checking for sqrtf declaration... " >&6; }
23579   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23580     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23581   $as_echo_n "(cached) " >&6
23582 else
23583
23584
23585       ac_ext=cpp
23586 ac_cpp='$CXXCPP $CPPFLAGS'
23587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23590
23591       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23592 /* end confdefs.h.  */
23593 #include <math.h>
23594                       #ifdef HAVE_IEEEFP_H
23595                       #include <ieeefp.h>
23596                       #endif
23597
23598 int
23599 main ()
23600 {
23601  sqrtf(0);
23602   ;
23603   return 0;
23604 }
23605 _ACEOF
23606 if ac_fn_cxx_try_compile "$LINENO"; then :
23607   glibcxx_cv_func_sqrtf_use=yes
23608 else
23609   glibcxx_cv_func_sqrtf_use=no
23610 fi
23611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23612       ac_ext=c
23613 ac_cpp='$CPP $CPPFLAGS'
23614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23617
23618
23619 fi
23620
23621   fi
23622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23623 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23624
23625   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23626     for ac_func in sqrtf
23627 do :
23628   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23629 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23630   cat >>confdefs.h <<_ACEOF
23631 #define HAVE_SQRTF 1
23632 _ACEOF
23633
23634 fi
23635 done
23636
23637   else
23638
23639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23640 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23641   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23642     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23643   $as_echo_n "(cached) " >&6
23644 else
23645
23646
23647       ac_ext=cpp
23648 ac_cpp='$CXXCPP $CPPFLAGS'
23649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23652
23653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h.  */
23655 #include <math.h>
23656                       #ifdef HAVE_IEEEFP_H
23657                       #include <ieeefp.h>
23658                       #endif
23659
23660 int
23661 main ()
23662 {
23663  _sqrtf(0);
23664   ;
23665   return 0;
23666 }
23667 _ACEOF
23668 if ac_fn_cxx_try_compile "$LINENO"; then :
23669   glibcxx_cv_func__sqrtf_use=yes
23670 else
23671   glibcxx_cv_func__sqrtf_use=no
23672 fi
23673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23674       ac_ext=c
23675 ac_cpp='$CPP $CPPFLAGS'
23676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23679
23680
23681 fi
23682
23683   fi
23684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23685 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23686
23687     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23688       for ac_func in _sqrtf
23689 do :
23690   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23691 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23692   cat >>confdefs.h <<_ACEOF
23693 #define HAVE__SQRTF 1
23694 _ACEOF
23695
23696 fi
23697 done
23698
23699     fi
23700   fi
23701
23702
23703
23704
23705
23706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23707 $as_echo_n "checking for sincosf declaration... " >&6; }
23708   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23709     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23710   $as_echo_n "(cached) " >&6
23711 else
23712
23713
23714       ac_ext=cpp
23715 ac_cpp='$CXXCPP $CPPFLAGS'
23716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23719
23720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23721 /* end confdefs.h.  */
23722 #include <math.h>
23723 int
23724 main ()
23725 {
23726  sincosf(0, 0, 0);
23727   ;
23728   return 0;
23729 }
23730 _ACEOF
23731 if ac_fn_cxx_try_compile "$LINENO"; then :
23732   glibcxx_cv_func_sincosf_use=yes
23733 else
23734   glibcxx_cv_func_sincosf_use=no
23735 fi
23736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23737       ac_ext=c
23738 ac_cpp='$CPP $CPPFLAGS'
23739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23742
23743
23744 fi
23745
23746   fi
23747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23748 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23749
23750   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23751     for ac_func in sincosf
23752 do :
23753   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23754 if test "x$ac_cv_func_sincosf" = x""yes; then :
23755   cat >>confdefs.h <<_ACEOF
23756 #define HAVE_SINCOSF 1
23757 _ACEOF
23758
23759 fi
23760 done
23761
23762   else
23763
23764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23765 $as_echo_n "checking for _sincosf declaration... " >&6; }
23766   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23767     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23768   $as_echo_n "(cached) " >&6
23769 else
23770
23771
23772       ac_ext=cpp
23773 ac_cpp='$CXXCPP $CPPFLAGS'
23774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23777
23778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23779 /* end confdefs.h.  */
23780 #include <math.h>
23781 int
23782 main ()
23783 {
23784  _sincosf(0, 0, 0);
23785   ;
23786   return 0;
23787 }
23788 _ACEOF
23789 if ac_fn_cxx_try_compile "$LINENO"; then :
23790   glibcxx_cv_func__sincosf_use=yes
23791 else
23792   glibcxx_cv_func__sincosf_use=no
23793 fi
23794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23795       ac_ext=c
23796 ac_cpp='$CPP $CPPFLAGS'
23797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23800
23801
23802 fi
23803
23804   fi
23805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23806 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23807
23808     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23809       for ac_func in _sincosf
23810 do :
23811   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23812 if test "x$ac_cv_func__sincosf" = x""yes; then :
23813   cat >>confdefs.h <<_ACEOF
23814 #define HAVE__SINCOSF 1
23815 _ACEOF
23816
23817 fi
23818 done
23819
23820     fi
23821   fi
23822
23823
23824
23825
23826
23827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23828 $as_echo_n "checking for finitef declaration... " >&6; }
23829   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23830     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23831   $as_echo_n "(cached) " >&6
23832 else
23833
23834
23835       ac_ext=cpp
23836 ac_cpp='$CXXCPP $CPPFLAGS'
23837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23840
23841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23842 /* end confdefs.h.  */
23843 #include <math.h>
23844                       #ifdef HAVE_IEEEFP_H
23845                       #include <ieeefp.h>
23846                       #endif
23847
23848 int
23849 main ()
23850 {
23851  finitef(0);
23852   ;
23853   return 0;
23854 }
23855 _ACEOF
23856 if ac_fn_cxx_try_compile "$LINENO"; then :
23857   glibcxx_cv_func_finitef_use=yes
23858 else
23859   glibcxx_cv_func_finitef_use=no
23860 fi
23861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23862       ac_ext=c
23863 ac_cpp='$CPP $CPPFLAGS'
23864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23867
23868
23869 fi
23870
23871   fi
23872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23873 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23874
23875   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23876     for ac_func in finitef
23877 do :
23878   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23879 if test "x$ac_cv_func_finitef" = x""yes; then :
23880   cat >>confdefs.h <<_ACEOF
23881 #define HAVE_FINITEF 1
23882 _ACEOF
23883
23884 fi
23885 done
23886
23887   else
23888
23889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23890 $as_echo_n "checking for _finitef declaration... " >&6; }
23891   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23892     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23893   $as_echo_n "(cached) " >&6
23894 else
23895
23896
23897       ac_ext=cpp
23898 ac_cpp='$CXXCPP $CPPFLAGS'
23899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23902
23903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23904 /* end confdefs.h.  */
23905 #include <math.h>
23906                       #ifdef HAVE_IEEEFP_H
23907                       #include <ieeefp.h>
23908                       #endif
23909
23910 int
23911 main ()
23912 {
23913  _finitef(0);
23914   ;
23915   return 0;
23916 }
23917 _ACEOF
23918 if ac_fn_cxx_try_compile "$LINENO"; then :
23919   glibcxx_cv_func__finitef_use=yes
23920 else
23921   glibcxx_cv_func__finitef_use=no
23922 fi
23923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23924       ac_ext=c
23925 ac_cpp='$CPP $CPPFLAGS'
23926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23929
23930
23931 fi
23932
23933   fi
23934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23935 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23936
23937     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23938       for ac_func in _finitef
23939 do :
23940   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23941 if test "x$ac_cv_func__finitef" = x""yes; then :
23942   cat >>confdefs.h <<_ACEOF
23943 #define HAVE__FINITEF 1
23944 _ACEOF
23945
23946 fi
23947 done
23948
23949     fi
23950   fi
23951
23952
23953
23954
23955
23956     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23957 $as_echo_n "checking for long double trig functions... " >&6; }
23958   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23959   $as_echo_n "(cached) " >&6
23960 else
23961
23962
23963     ac_ext=cpp
23964 ac_cpp='$CXXCPP $CPPFLAGS'
23965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23968
23969     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23970 /* end confdefs.h.  */
23971 #include <math.h>
23972 int
23973 main ()
23974 {
23975 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23976   ;
23977   return 0;
23978 }
23979 _ACEOF
23980 if ac_fn_cxx_try_compile "$LINENO"; then :
23981   glibcxx_cv_func_long_double_trig_use=yes
23982 else
23983   glibcxx_cv_func_long_double_trig_use=no
23984 fi
23985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986     ac_ext=c
23987 ac_cpp='$CPP $CPPFLAGS'
23988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23991
23992 fi
23993
23994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23995 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23996   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23997     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23998 do :
23999   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24001 eval as_val=\$$as_ac_var
24002    if test "x$as_val" = x""yes; then :
24003   cat >>confdefs.h <<_ACEOF
24004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24005 _ACEOF
24006
24007 fi
24008 done
24009
24010   else
24011     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24012 $as_echo_n "checking for _long double trig functions... " >&6; }
24013     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24014   $as_echo_n "(cached) " >&6
24015 else
24016
24017
24018       ac_ext=cpp
24019 ac_cpp='$CXXCPP $CPPFLAGS'
24020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24023
24024       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24025 /* end confdefs.h.  */
24026 #include <math.h>
24027 int
24028 main ()
24029 {
24030 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24031   ;
24032   return 0;
24033 }
24034 _ACEOF
24035 if ac_fn_cxx_try_compile "$LINENO"; then :
24036   glibcxx_cv_func__long_double_trig_use=yes
24037 else
24038   glibcxx_cv_func__long_double_trig_use=no
24039 fi
24040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24041       ac_ext=c
24042 ac_cpp='$CPP $CPPFLAGS'
24043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24046
24047 fi
24048
24049     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24050 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24051     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24052       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24053 do :
24054   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24056 eval as_val=\$$as_ac_var
24057    if test "x$as_val" = x""yes; then :
24058   cat >>confdefs.h <<_ACEOF
24059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24060 _ACEOF
24061
24062 fi
24063 done
24064
24065     fi
24066   fi
24067
24068
24069
24070
24071
24072     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24073 $as_echo_n "checking for long double round functions... " >&6; }
24074   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24075   $as_echo_n "(cached) " >&6
24076 else
24077
24078
24079     ac_ext=cpp
24080 ac_cpp='$CXXCPP $CPPFLAGS'
24081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24084
24085     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24086 /* end confdefs.h.  */
24087 #include <math.h>
24088 int
24089 main ()
24090 {
24091 ceill (0); floorl (0);
24092   ;
24093   return 0;
24094 }
24095 _ACEOF
24096 if ac_fn_cxx_try_compile "$LINENO"; then :
24097   glibcxx_cv_func_long_double_round_use=yes
24098 else
24099   glibcxx_cv_func_long_double_round_use=no
24100 fi
24101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24102     ac_ext=c
24103 ac_cpp='$CPP $CPPFLAGS'
24104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24107
24108 fi
24109
24110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24111 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24112   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24113     for ac_func in ceill floorl
24114 do :
24115   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24117 eval as_val=\$$as_ac_var
24118    if test "x$as_val" = x""yes; then :
24119   cat >>confdefs.h <<_ACEOF
24120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24121 _ACEOF
24122
24123 fi
24124 done
24125
24126   else
24127     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24128 $as_echo_n "checking for _long double round functions... " >&6; }
24129     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24130   $as_echo_n "(cached) " >&6
24131 else
24132
24133
24134       ac_ext=cpp
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24139
24140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24141 /* end confdefs.h.  */
24142 #include <math.h>
24143 int
24144 main ()
24145 {
24146 _ceill (0); _floorl (0);
24147   ;
24148   return 0;
24149 }
24150 _ACEOF
24151 if ac_fn_cxx_try_compile "$LINENO"; then :
24152   glibcxx_cv_func__long_double_round_use=yes
24153 else
24154   glibcxx_cv_func__long_double_round_use=no
24155 fi
24156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157       ac_ext=c
24158 ac_cpp='$CPP $CPPFLAGS'
24159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24162
24163 fi
24164
24165     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24166 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24167     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24168       for ac_func in _ceill _floorl
24169 do :
24170   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24172 eval as_val=\$$as_ac_var
24173    if test "x$as_val" = x""yes; then :
24174   cat >>confdefs.h <<_ACEOF
24175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24176 _ACEOF
24177
24178 fi
24179 done
24180
24181     fi
24182   fi
24183
24184
24185
24186
24187
24188
24189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24190 $as_echo_n "checking for isnanl declaration... " >&6; }
24191   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24192     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24193   $as_echo_n "(cached) " >&6
24194 else
24195
24196
24197       ac_ext=cpp
24198 ac_cpp='$CXXCPP $CPPFLAGS'
24199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24202
24203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24204 /* end confdefs.h.  */
24205 #include <math.h>
24206                       #ifdef HAVE_IEEEFP_H
24207                       #include <ieeefp.h>
24208                       #endif
24209
24210 int
24211 main ()
24212 {
24213  isnanl(0);
24214   ;
24215   return 0;
24216 }
24217 _ACEOF
24218 if ac_fn_cxx_try_compile "$LINENO"; then :
24219   glibcxx_cv_func_isnanl_use=yes
24220 else
24221   glibcxx_cv_func_isnanl_use=no
24222 fi
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224       ac_ext=c
24225 ac_cpp='$CPP $CPPFLAGS'
24226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24229
24230
24231 fi
24232
24233   fi
24234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24235 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24236
24237   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24238     for ac_func in isnanl
24239 do :
24240   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24241 if test "x$ac_cv_func_isnanl" = x""yes; then :
24242   cat >>confdefs.h <<_ACEOF
24243 #define HAVE_ISNANL 1
24244 _ACEOF
24245
24246 fi
24247 done
24248
24249   else
24250
24251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24252 $as_echo_n "checking for _isnanl declaration... " >&6; }
24253   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24254     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24255   $as_echo_n "(cached) " >&6
24256 else
24257
24258
24259       ac_ext=cpp
24260 ac_cpp='$CXXCPP $CPPFLAGS'
24261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24264
24265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24266 /* end confdefs.h.  */
24267 #include <math.h>
24268                       #ifdef HAVE_IEEEFP_H
24269                       #include <ieeefp.h>
24270                       #endif
24271
24272 int
24273 main ()
24274 {
24275  _isnanl(0);
24276   ;
24277   return 0;
24278 }
24279 _ACEOF
24280 if ac_fn_cxx_try_compile "$LINENO"; then :
24281   glibcxx_cv_func__isnanl_use=yes
24282 else
24283   glibcxx_cv_func__isnanl_use=no
24284 fi
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286       ac_ext=c
24287 ac_cpp='$CPP $CPPFLAGS'
24288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24291
24292
24293 fi
24294
24295   fi
24296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24297 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24298
24299     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24300       for ac_func in _isnanl
24301 do :
24302   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24303 if test "x$ac_cv_func__isnanl" = x""yes; then :
24304   cat >>confdefs.h <<_ACEOF
24305 #define HAVE__ISNANL 1
24306 _ACEOF
24307
24308 fi
24309 done
24310
24311     fi
24312   fi
24313
24314
24315
24316
24317
24318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24319 $as_echo_n "checking for isinfl declaration... " >&6; }
24320   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24321     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24322   $as_echo_n "(cached) " >&6
24323 else
24324
24325
24326       ac_ext=cpp
24327 ac_cpp='$CXXCPP $CPPFLAGS'
24328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24331
24332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24333 /* end confdefs.h.  */
24334 #include <math.h>
24335                       #ifdef HAVE_IEEEFP_H
24336                       #include <ieeefp.h>
24337                       #endif
24338
24339 int
24340 main ()
24341 {
24342  isinfl(0);
24343   ;
24344   return 0;
24345 }
24346 _ACEOF
24347 if ac_fn_cxx_try_compile "$LINENO"; then :
24348   glibcxx_cv_func_isinfl_use=yes
24349 else
24350   glibcxx_cv_func_isinfl_use=no
24351 fi
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353       ac_ext=c
24354 ac_cpp='$CPP $CPPFLAGS'
24355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24358
24359
24360 fi
24361
24362   fi
24363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24364 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24365
24366   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24367     for ac_func in isinfl
24368 do :
24369   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24370 if test "x$ac_cv_func_isinfl" = x""yes; then :
24371   cat >>confdefs.h <<_ACEOF
24372 #define HAVE_ISINFL 1
24373 _ACEOF
24374
24375 fi
24376 done
24377
24378   else
24379
24380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24381 $as_echo_n "checking for _isinfl declaration... " >&6; }
24382   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24383     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24384   $as_echo_n "(cached) " >&6
24385 else
24386
24387
24388       ac_ext=cpp
24389 ac_cpp='$CXXCPP $CPPFLAGS'
24390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24393
24394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24395 /* end confdefs.h.  */
24396 #include <math.h>
24397                       #ifdef HAVE_IEEEFP_H
24398                       #include <ieeefp.h>
24399                       #endif
24400
24401 int
24402 main ()
24403 {
24404  _isinfl(0);
24405   ;
24406   return 0;
24407 }
24408 _ACEOF
24409 if ac_fn_cxx_try_compile "$LINENO"; then :
24410   glibcxx_cv_func__isinfl_use=yes
24411 else
24412   glibcxx_cv_func__isinfl_use=no
24413 fi
24414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24415       ac_ext=c
24416 ac_cpp='$CPP $CPPFLAGS'
24417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24420
24421
24422 fi
24423
24424   fi
24425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24426 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24427
24428     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24429       for ac_func in _isinfl
24430 do :
24431   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24432 if test "x$ac_cv_func__isinfl" = x""yes; then :
24433   cat >>confdefs.h <<_ACEOF
24434 #define HAVE__ISINFL 1
24435 _ACEOF
24436
24437 fi
24438 done
24439
24440     fi
24441   fi
24442
24443
24444
24445
24446
24447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24448 $as_echo_n "checking for atan2l declaration... " >&6; }
24449   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24450     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24451   $as_echo_n "(cached) " >&6
24452 else
24453
24454
24455       ac_ext=cpp
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24460
24461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h.  */
24463 #include <math.h>
24464 int
24465 main ()
24466 {
24467  atan2l(0, 0);
24468   ;
24469   return 0;
24470 }
24471 _ACEOF
24472 if ac_fn_cxx_try_compile "$LINENO"; then :
24473   glibcxx_cv_func_atan2l_use=yes
24474 else
24475   glibcxx_cv_func_atan2l_use=no
24476 fi
24477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24478       ac_ext=c
24479 ac_cpp='$CPP $CPPFLAGS'
24480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24483
24484
24485 fi
24486
24487   fi
24488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24489 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24490
24491   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24492     for ac_func in atan2l
24493 do :
24494   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24495 if test "x$ac_cv_func_atan2l" = x""yes; then :
24496   cat >>confdefs.h <<_ACEOF
24497 #define HAVE_ATAN2L 1
24498 _ACEOF
24499
24500 fi
24501 done
24502
24503   else
24504
24505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24506 $as_echo_n "checking for _atan2l declaration... " >&6; }
24507   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24508     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24509   $as_echo_n "(cached) " >&6
24510 else
24511
24512
24513       ac_ext=cpp
24514 ac_cpp='$CXXCPP $CPPFLAGS'
24515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24518
24519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24520 /* end confdefs.h.  */
24521 #include <math.h>
24522 int
24523 main ()
24524 {
24525  _atan2l(0, 0);
24526   ;
24527   return 0;
24528 }
24529 _ACEOF
24530 if ac_fn_cxx_try_compile "$LINENO"; then :
24531   glibcxx_cv_func__atan2l_use=yes
24532 else
24533   glibcxx_cv_func__atan2l_use=no
24534 fi
24535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24536       ac_ext=c
24537 ac_cpp='$CPP $CPPFLAGS'
24538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24541
24542
24543 fi
24544
24545   fi
24546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24547 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24548
24549     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24550       for ac_func in _atan2l
24551 do :
24552   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24553 if test "x$ac_cv_func__atan2l" = x""yes; then :
24554   cat >>confdefs.h <<_ACEOF
24555 #define HAVE__ATAN2L 1
24556 _ACEOF
24557
24558 fi
24559 done
24560
24561     fi
24562   fi
24563
24564
24565
24566
24567
24568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24569 $as_echo_n "checking for expl declaration... " >&6; }
24570   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24571     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24572   $as_echo_n "(cached) " >&6
24573 else
24574
24575
24576       ac_ext=cpp
24577 ac_cpp='$CXXCPP $CPPFLAGS'
24578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24581
24582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24583 /* end confdefs.h.  */
24584 #include <math.h>
24585                       #ifdef HAVE_IEEEFP_H
24586                       #include <ieeefp.h>
24587                       #endif
24588
24589 int
24590 main ()
24591 {
24592  expl(0);
24593   ;
24594   return 0;
24595 }
24596 _ACEOF
24597 if ac_fn_cxx_try_compile "$LINENO"; then :
24598   glibcxx_cv_func_expl_use=yes
24599 else
24600   glibcxx_cv_func_expl_use=no
24601 fi
24602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24603       ac_ext=c
24604 ac_cpp='$CPP $CPPFLAGS'
24605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24608
24609
24610 fi
24611
24612   fi
24613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24614 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24615
24616   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24617     for ac_func in expl
24618 do :
24619   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24620 if test "x$ac_cv_func_expl" = x""yes; then :
24621   cat >>confdefs.h <<_ACEOF
24622 #define HAVE_EXPL 1
24623 _ACEOF
24624
24625 fi
24626 done
24627
24628   else
24629
24630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24631 $as_echo_n "checking for _expl declaration... " >&6; }
24632   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24633     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24634   $as_echo_n "(cached) " >&6
24635 else
24636
24637
24638       ac_ext=cpp
24639 ac_cpp='$CXXCPP $CPPFLAGS'
24640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24643
24644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24645 /* end confdefs.h.  */
24646 #include <math.h>
24647                       #ifdef HAVE_IEEEFP_H
24648                       #include <ieeefp.h>
24649                       #endif
24650
24651 int
24652 main ()
24653 {
24654  _expl(0);
24655   ;
24656   return 0;
24657 }
24658 _ACEOF
24659 if ac_fn_cxx_try_compile "$LINENO"; then :
24660   glibcxx_cv_func__expl_use=yes
24661 else
24662   glibcxx_cv_func__expl_use=no
24663 fi
24664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665       ac_ext=c
24666 ac_cpp='$CPP $CPPFLAGS'
24667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24670
24671
24672 fi
24673
24674   fi
24675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24676 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24677
24678     if test x$glibcxx_cv_func__expl_use = x"yes"; then
24679       for ac_func in _expl
24680 do :
24681   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24682 if test "x$ac_cv_func__expl" = x""yes; then :
24683   cat >>confdefs.h <<_ACEOF
24684 #define HAVE__EXPL 1
24685 _ACEOF
24686
24687 fi
24688 done
24689
24690     fi
24691   fi
24692
24693
24694
24695
24696
24697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24698 $as_echo_n "checking for fabsl declaration... " >&6; }
24699   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24700     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24701   $as_echo_n "(cached) " >&6
24702 else
24703
24704
24705       ac_ext=cpp
24706 ac_cpp='$CXXCPP $CPPFLAGS'
24707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24710
24711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h.  */
24713 #include <math.h>
24714                       #ifdef HAVE_IEEEFP_H
24715                       #include <ieeefp.h>
24716                       #endif
24717
24718 int
24719 main ()
24720 {
24721  fabsl(0);
24722   ;
24723   return 0;
24724 }
24725 _ACEOF
24726 if ac_fn_cxx_try_compile "$LINENO"; then :
24727   glibcxx_cv_func_fabsl_use=yes
24728 else
24729   glibcxx_cv_func_fabsl_use=no
24730 fi
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732       ac_ext=c
24733 ac_cpp='$CPP $CPPFLAGS'
24734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24737
24738
24739 fi
24740
24741   fi
24742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24743 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24744
24745   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24746     for ac_func in fabsl
24747 do :
24748   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24749 if test "x$ac_cv_func_fabsl" = x""yes; then :
24750   cat >>confdefs.h <<_ACEOF
24751 #define HAVE_FABSL 1
24752 _ACEOF
24753
24754 fi
24755 done
24756
24757   else
24758
24759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24760 $as_echo_n "checking for _fabsl declaration... " >&6; }
24761   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24762     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24763   $as_echo_n "(cached) " >&6
24764 else
24765
24766
24767       ac_ext=cpp
24768 ac_cpp='$CXXCPP $CPPFLAGS'
24769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24772
24773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24774 /* end confdefs.h.  */
24775 #include <math.h>
24776                       #ifdef HAVE_IEEEFP_H
24777                       #include <ieeefp.h>
24778                       #endif
24779
24780 int
24781 main ()
24782 {
24783  _fabsl(0);
24784   ;
24785   return 0;
24786 }
24787 _ACEOF
24788 if ac_fn_cxx_try_compile "$LINENO"; then :
24789   glibcxx_cv_func__fabsl_use=yes
24790 else
24791   glibcxx_cv_func__fabsl_use=no
24792 fi
24793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24794       ac_ext=c
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24799
24800
24801 fi
24802
24803   fi
24804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24805 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24806
24807     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24808       for ac_func in _fabsl
24809 do :
24810   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24811 if test "x$ac_cv_func__fabsl" = x""yes; then :
24812   cat >>confdefs.h <<_ACEOF
24813 #define HAVE__FABSL 1
24814 _ACEOF
24815
24816 fi
24817 done
24818
24819     fi
24820   fi
24821
24822
24823
24824
24825
24826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24827 $as_echo_n "checking for fmodl declaration... " >&6; }
24828   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24829     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24830   $as_echo_n "(cached) " >&6
24831 else
24832
24833
24834       ac_ext=cpp
24835 ac_cpp='$CXXCPP $CPPFLAGS'
24836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24839
24840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24841 /* end confdefs.h.  */
24842 #include <math.h>
24843 int
24844 main ()
24845 {
24846  fmodl(0, 0);
24847   ;
24848   return 0;
24849 }
24850 _ACEOF
24851 if ac_fn_cxx_try_compile "$LINENO"; then :
24852   glibcxx_cv_func_fmodl_use=yes
24853 else
24854   glibcxx_cv_func_fmodl_use=no
24855 fi
24856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24857       ac_ext=c
24858 ac_cpp='$CPP $CPPFLAGS'
24859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24862
24863
24864 fi
24865
24866   fi
24867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24868 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24869
24870   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24871     for ac_func in fmodl
24872 do :
24873   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24874 if test "x$ac_cv_func_fmodl" = x""yes; then :
24875   cat >>confdefs.h <<_ACEOF
24876 #define HAVE_FMODL 1
24877 _ACEOF
24878
24879 fi
24880 done
24881
24882   else
24883
24884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24885 $as_echo_n "checking for _fmodl declaration... " >&6; }
24886   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24887     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24888   $as_echo_n "(cached) " >&6
24889 else
24890
24891
24892       ac_ext=cpp
24893 ac_cpp='$CXXCPP $CPPFLAGS'
24894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24897
24898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24899 /* end confdefs.h.  */
24900 #include <math.h>
24901 int
24902 main ()
24903 {
24904  _fmodl(0, 0);
24905   ;
24906   return 0;
24907 }
24908 _ACEOF
24909 if ac_fn_cxx_try_compile "$LINENO"; then :
24910   glibcxx_cv_func__fmodl_use=yes
24911 else
24912   glibcxx_cv_func__fmodl_use=no
24913 fi
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915       ac_ext=c
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24920
24921
24922 fi
24923
24924   fi
24925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24926 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24927
24928     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24929       for ac_func in _fmodl
24930 do :
24931   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24932 if test "x$ac_cv_func__fmodl" = x""yes; then :
24933   cat >>confdefs.h <<_ACEOF
24934 #define HAVE__FMODL 1
24935 _ACEOF
24936
24937 fi
24938 done
24939
24940     fi
24941   fi
24942
24943
24944
24945
24946
24947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24948 $as_echo_n "checking for frexpl declaration... " >&6; }
24949   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24950     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24951   $as_echo_n "(cached) " >&6
24952 else
24953
24954
24955       ac_ext=cpp
24956 ac_cpp='$CXXCPP $CPPFLAGS'
24957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24960
24961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24962 /* end confdefs.h.  */
24963 #include <math.h>
24964 int
24965 main ()
24966 {
24967  frexpl(0, 0);
24968   ;
24969   return 0;
24970 }
24971 _ACEOF
24972 if ac_fn_cxx_try_compile "$LINENO"; then :
24973   glibcxx_cv_func_frexpl_use=yes
24974 else
24975   glibcxx_cv_func_frexpl_use=no
24976 fi
24977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24978       ac_ext=c
24979 ac_cpp='$CPP $CPPFLAGS'
24980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24983
24984
24985 fi
24986
24987   fi
24988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24989 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24990
24991   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24992     for ac_func in frexpl
24993 do :
24994   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24995 if test "x$ac_cv_func_frexpl" = x""yes; then :
24996   cat >>confdefs.h <<_ACEOF
24997 #define HAVE_FREXPL 1
24998 _ACEOF
24999
25000 fi
25001 done
25002
25003   else
25004
25005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25006 $as_echo_n "checking for _frexpl declaration... " >&6; }
25007   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25008     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25009   $as_echo_n "(cached) " >&6
25010 else
25011
25012
25013       ac_ext=cpp
25014 ac_cpp='$CXXCPP $CPPFLAGS'
25015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25018
25019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25020 /* end confdefs.h.  */
25021 #include <math.h>
25022 int
25023 main ()
25024 {
25025  _frexpl(0, 0);
25026   ;
25027   return 0;
25028 }
25029 _ACEOF
25030 if ac_fn_cxx_try_compile "$LINENO"; then :
25031   glibcxx_cv_func__frexpl_use=yes
25032 else
25033   glibcxx_cv_func__frexpl_use=no
25034 fi
25035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25036       ac_ext=c
25037 ac_cpp='$CPP $CPPFLAGS'
25038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25041
25042
25043 fi
25044
25045   fi
25046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25047 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25048
25049     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25050       for ac_func in _frexpl
25051 do :
25052   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25053 if test "x$ac_cv_func__frexpl" = x""yes; then :
25054   cat >>confdefs.h <<_ACEOF
25055 #define HAVE__FREXPL 1
25056 _ACEOF
25057
25058 fi
25059 done
25060
25061     fi
25062   fi
25063
25064
25065
25066
25067
25068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25069 $as_echo_n "checking for hypotl declaration... " >&6; }
25070   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25071     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25072   $as_echo_n "(cached) " >&6
25073 else
25074
25075
25076       ac_ext=cpp
25077 ac_cpp='$CXXCPP $CPPFLAGS'
25078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081
25082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25083 /* end confdefs.h.  */
25084 #include <math.h>
25085 int
25086 main ()
25087 {
25088  hypotl(0, 0);
25089   ;
25090   return 0;
25091 }
25092 _ACEOF
25093 if ac_fn_cxx_try_compile "$LINENO"; then :
25094   glibcxx_cv_func_hypotl_use=yes
25095 else
25096   glibcxx_cv_func_hypotl_use=no
25097 fi
25098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25099       ac_ext=c
25100 ac_cpp='$CPP $CPPFLAGS'
25101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25104
25105
25106 fi
25107
25108   fi
25109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25110 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25111
25112   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25113     for ac_func in hypotl
25114 do :
25115   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25116 if test "x$ac_cv_func_hypotl" = x""yes; then :
25117   cat >>confdefs.h <<_ACEOF
25118 #define HAVE_HYPOTL 1
25119 _ACEOF
25120
25121 fi
25122 done
25123
25124   else
25125
25126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25127 $as_echo_n "checking for _hypotl declaration... " >&6; }
25128   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25129     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25130   $as_echo_n "(cached) " >&6
25131 else
25132
25133
25134       ac_ext=cpp
25135 ac_cpp='$CXXCPP $CPPFLAGS'
25136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25139
25140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h.  */
25142 #include <math.h>
25143 int
25144 main ()
25145 {
25146  _hypotl(0, 0);
25147   ;
25148   return 0;
25149 }
25150 _ACEOF
25151 if ac_fn_cxx_try_compile "$LINENO"; then :
25152   glibcxx_cv_func__hypotl_use=yes
25153 else
25154   glibcxx_cv_func__hypotl_use=no
25155 fi
25156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25157       ac_ext=c
25158 ac_cpp='$CPP $CPPFLAGS'
25159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25162
25163
25164 fi
25165
25166   fi
25167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25168 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25169
25170     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25171       for ac_func in _hypotl
25172 do :
25173   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25174 if test "x$ac_cv_func__hypotl" = x""yes; then :
25175   cat >>confdefs.h <<_ACEOF
25176 #define HAVE__HYPOTL 1
25177 _ACEOF
25178
25179 fi
25180 done
25181
25182     fi
25183   fi
25184
25185
25186
25187
25188
25189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25190 $as_echo_n "checking for ldexpl declaration... " >&6; }
25191   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25192     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25193   $as_echo_n "(cached) " >&6
25194 else
25195
25196
25197       ac_ext=cpp
25198 ac_cpp='$CXXCPP $CPPFLAGS'
25199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25202
25203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25204 /* end confdefs.h.  */
25205 #include <math.h>
25206 int
25207 main ()
25208 {
25209  ldexpl(0, 0);
25210   ;
25211   return 0;
25212 }
25213 _ACEOF
25214 if ac_fn_cxx_try_compile "$LINENO"; then :
25215   glibcxx_cv_func_ldexpl_use=yes
25216 else
25217   glibcxx_cv_func_ldexpl_use=no
25218 fi
25219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25220       ac_ext=c
25221 ac_cpp='$CPP $CPPFLAGS'
25222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25225
25226
25227 fi
25228
25229   fi
25230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25231 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25232
25233   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25234     for ac_func in ldexpl
25235 do :
25236   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25237 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25238   cat >>confdefs.h <<_ACEOF
25239 #define HAVE_LDEXPL 1
25240 _ACEOF
25241
25242 fi
25243 done
25244
25245   else
25246
25247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25248 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25249   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25250     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25251   $as_echo_n "(cached) " >&6
25252 else
25253
25254
25255       ac_ext=cpp
25256 ac_cpp='$CXXCPP $CPPFLAGS'
25257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25260
25261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25262 /* end confdefs.h.  */
25263 #include <math.h>
25264 int
25265 main ()
25266 {
25267  _ldexpl(0, 0);
25268   ;
25269   return 0;
25270 }
25271 _ACEOF
25272 if ac_fn_cxx_try_compile "$LINENO"; then :
25273   glibcxx_cv_func__ldexpl_use=yes
25274 else
25275   glibcxx_cv_func__ldexpl_use=no
25276 fi
25277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25278       ac_ext=c
25279 ac_cpp='$CPP $CPPFLAGS'
25280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25283
25284
25285 fi
25286
25287   fi
25288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25289 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25290
25291     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25292       for ac_func in _ldexpl
25293 do :
25294   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25295 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25296   cat >>confdefs.h <<_ACEOF
25297 #define HAVE__LDEXPL 1
25298 _ACEOF
25299
25300 fi
25301 done
25302
25303     fi
25304   fi
25305
25306
25307
25308
25309
25310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25311 $as_echo_n "checking for logl declaration... " >&6; }
25312   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25313     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25314   $as_echo_n "(cached) " >&6
25315 else
25316
25317
25318       ac_ext=cpp
25319 ac_cpp='$CXXCPP $CPPFLAGS'
25320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25323
25324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25325 /* end confdefs.h.  */
25326 #include <math.h>
25327                       #ifdef HAVE_IEEEFP_H
25328                       #include <ieeefp.h>
25329                       #endif
25330
25331 int
25332 main ()
25333 {
25334  logl(0);
25335   ;
25336   return 0;
25337 }
25338 _ACEOF
25339 if ac_fn_cxx_try_compile "$LINENO"; then :
25340   glibcxx_cv_func_logl_use=yes
25341 else
25342   glibcxx_cv_func_logl_use=no
25343 fi
25344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25345       ac_ext=c
25346 ac_cpp='$CPP $CPPFLAGS'
25347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25350
25351
25352 fi
25353
25354   fi
25355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25356 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25357
25358   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25359     for ac_func in logl
25360 do :
25361   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25362 if test "x$ac_cv_func_logl" = x""yes; then :
25363   cat >>confdefs.h <<_ACEOF
25364 #define HAVE_LOGL 1
25365 _ACEOF
25366
25367 fi
25368 done
25369
25370   else
25371
25372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25373 $as_echo_n "checking for _logl declaration... " >&6; }
25374   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25375     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25376   $as_echo_n "(cached) " >&6
25377 else
25378
25379
25380       ac_ext=cpp
25381 ac_cpp='$CXXCPP $CPPFLAGS'
25382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25385
25386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25387 /* end confdefs.h.  */
25388 #include <math.h>
25389                       #ifdef HAVE_IEEEFP_H
25390                       #include <ieeefp.h>
25391                       #endif
25392
25393 int
25394 main ()
25395 {
25396  _logl(0);
25397   ;
25398   return 0;
25399 }
25400 _ACEOF
25401 if ac_fn_cxx_try_compile "$LINENO"; then :
25402   glibcxx_cv_func__logl_use=yes
25403 else
25404   glibcxx_cv_func__logl_use=no
25405 fi
25406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25407       ac_ext=c
25408 ac_cpp='$CPP $CPPFLAGS'
25409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25412
25413
25414 fi
25415
25416   fi
25417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25418 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25419
25420     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25421       for ac_func in _logl
25422 do :
25423   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25424 if test "x$ac_cv_func__logl" = x""yes; then :
25425   cat >>confdefs.h <<_ACEOF
25426 #define HAVE__LOGL 1
25427 _ACEOF
25428
25429 fi
25430 done
25431
25432     fi
25433   fi
25434
25435
25436
25437
25438
25439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25440 $as_echo_n "checking for log10l declaration... " >&6; }
25441   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25442     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25443   $as_echo_n "(cached) " >&6
25444 else
25445
25446
25447       ac_ext=cpp
25448 ac_cpp='$CXXCPP $CPPFLAGS'
25449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25452
25453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25454 /* end confdefs.h.  */
25455 #include <math.h>
25456                       #ifdef HAVE_IEEEFP_H
25457                       #include <ieeefp.h>
25458                       #endif
25459
25460 int
25461 main ()
25462 {
25463  log10l(0);
25464   ;
25465   return 0;
25466 }
25467 _ACEOF
25468 if ac_fn_cxx_try_compile "$LINENO"; then :
25469   glibcxx_cv_func_log10l_use=yes
25470 else
25471   glibcxx_cv_func_log10l_use=no
25472 fi
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474       ac_ext=c
25475 ac_cpp='$CPP $CPPFLAGS'
25476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25479
25480
25481 fi
25482
25483   fi
25484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25485 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25486
25487   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25488     for ac_func in log10l
25489 do :
25490   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25491 if test "x$ac_cv_func_log10l" = x""yes; then :
25492   cat >>confdefs.h <<_ACEOF
25493 #define HAVE_LOG10L 1
25494 _ACEOF
25495
25496 fi
25497 done
25498
25499   else
25500
25501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25502 $as_echo_n "checking for _log10l declaration... " >&6; }
25503   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25504     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25505   $as_echo_n "(cached) " >&6
25506 else
25507
25508
25509       ac_ext=cpp
25510 ac_cpp='$CXXCPP $CPPFLAGS'
25511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25514
25515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25516 /* end confdefs.h.  */
25517 #include <math.h>
25518                       #ifdef HAVE_IEEEFP_H
25519                       #include <ieeefp.h>
25520                       #endif
25521
25522 int
25523 main ()
25524 {
25525  _log10l(0);
25526   ;
25527   return 0;
25528 }
25529 _ACEOF
25530 if ac_fn_cxx_try_compile "$LINENO"; then :
25531   glibcxx_cv_func__log10l_use=yes
25532 else
25533   glibcxx_cv_func__log10l_use=no
25534 fi
25535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25536       ac_ext=c
25537 ac_cpp='$CPP $CPPFLAGS'
25538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25541
25542
25543 fi
25544
25545   fi
25546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25547 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25548
25549     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25550       for ac_func in _log10l
25551 do :
25552   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25553 if test "x$ac_cv_func__log10l" = x""yes; then :
25554   cat >>confdefs.h <<_ACEOF
25555 #define HAVE__LOG10L 1
25556 _ACEOF
25557
25558 fi
25559 done
25560
25561     fi
25562   fi
25563
25564
25565
25566
25567
25568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25569 $as_echo_n "checking for modfl declaration... " >&6; }
25570   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25571     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25572   $as_echo_n "(cached) " >&6
25573 else
25574
25575
25576       ac_ext=cpp
25577 ac_cpp='$CXXCPP $CPPFLAGS'
25578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25581
25582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25583 /* end confdefs.h.  */
25584 #include <math.h>
25585 int
25586 main ()
25587 {
25588  modfl(0, 0);
25589   ;
25590   return 0;
25591 }
25592 _ACEOF
25593 if ac_fn_cxx_try_compile "$LINENO"; then :
25594   glibcxx_cv_func_modfl_use=yes
25595 else
25596   glibcxx_cv_func_modfl_use=no
25597 fi
25598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25599       ac_ext=c
25600 ac_cpp='$CPP $CPPFLAGS'
25601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25604
25605
25606 fi
25607
25608   fi
25609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25610 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25611
25612   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25613     for ac_func in modfl
25614 do :
25615   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25616 if test "x$ac_cv_func_modfl" = x""yes; then :
25617   cat >>confdefs.h <<_ACEOF
25618 #define HAVE_MODFL 1
25619 _ACEOF
25620
25621 fi
25622 done
25623
25624   else
25625
25626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25627 $as_echo_n "checking for _modfl declaration... " >&6; }
25628   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25629     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25630   $as_echo_n "(cached) " >&6
25631 else
25632
25633
25634       ac_ext=cpp
25635 ac_cpp='$CXXCPP $CPPFLAGS'
25636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25639
25640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25641 /* end confdefs.h.  */
25642 #include <math.h>
25643 int
25644 main ()
25645 {
25646  _modfl(0, 0);
25647   ;
25648   return 0;
25649 }
25650 _ACEOF
25651 if ac_fn_cxx_try_compile "$LINENO"; then :
25652   glibcxx_cv_func__modfl_use=yes
25653 else
25654   glibcxx_cv_func__modfl_use=no
25655 fi
25656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25657       ac_ext=c
25658 ac_cpp='$CPP $CPPFLAGS'
25659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25662
25663
25664 fi
25665
25666   fi
25667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25668 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25669
25670     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25671       for ac_func in _modfl
25672 do :
25673   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25674 if test "x$ac_cv_func__modfl" = x""yes; then :
25675   cat >>confdefs.h <<_ACEOF
25676 #define HAVE__MODFL 1
25677 _ACEOF
25678
25679 fi
25680 done
25681
25682     fi
25683   fi
25684
25685
25686
25687
25688
25689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25690 $as_echo_n "checking for powl declaration... " >&6; }
25691   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25692     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25693   $as_echo_n "(cached) " >&6
25694 else
25695
25696
25697       ac_ext=cpp
25698 ac_cpp='$CXXCPP $CPPFLAGS'
25699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25702
25703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25704 /* end confdefs.h.  */
25705 #include <math.h>
25706 int
25707 main ()
25708 {
25709  powl(0, 0);
25710   ;
25711   return 0;
25712 }
25713 _ACEOF
25714 if ac_fn_cxx_try_compile "$LINENO"; then :
25715   glibcxx_cv_func_powl_use=yes
25716 else
25717   glibcxx_cv_func_powl_use=no
25718 fi
25719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25720       ac_ext=c
25721 ac_cpp='$CPP $CPPFLAGS'
25722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25725
25726
25727 fi
25728
25729   fi
25730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25731 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25732
25733   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25734     for ac_func in powl
25735 do :
25736   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25737 if test "x$ac_cv_func_powl" = x""yes; then :
25738   cat >>confdefs.h <<_ACEOF
25739 #define HAVE_POWL 1
25740 _ACEOF
25741
25742 fi
25743 done
25744
25745   else
25746
25747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25748 $as_echo_n "checking for _powl declaration... " >&6; }
25749   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25750     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25751   $as_echo_n "(cached) " >&6
25752 else
25753
25754
25755       ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760
25761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h.  */
25763 #include <math.h>
25764 int
25765 main ()
25766 {
25767  _powl(0, 0);
25768   ;
25769   return 0;
25770 }
25771 _ACEOF
25772 if ac_fn_cxx_try_compile "$LINENO"; then :
25773   glibcxx_cv_func__powl_use=yes
25774 else
25775   glibcxx_cv_func__powl_use=no
25776 fi
25777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25778       ac_ext=c
25779 ac_cpp='$CPP $CPPFLAGS'
25780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25783
25784
25785 fi
25786
25787   fi
25788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25789 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25790
25791     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25792       for ac_func in _powl
25793 do :
25794   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25795 if test "x$ac_cv_func__powl" = x""yes; then :
25796   cat >>confdefs.h <<_ACEOF
25797 #define HAVE__POWL 1
25798 _ACEOF
25799
25800 fi
25801 done
25802
25803     fi
25804   fi
25805
25806
25807
25808
25809
25810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25811 $as_echo_n "checking for sqrtl declaration... " >&6; }
25812   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25813     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25814   $as_echo_n "(cached) " >&6
25815 else
25816
25817
25818       ac_ext=cpp
25819 ac_cpp='$CXXCPP $CPPFLAGS'
25820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25823
25824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25825 /* end confdefs.h.  */
25826 #include <math.h>
25827                       #ifdef HAVE_IEEEFP_H
25828                       #include <ieeefp.h>
25829                       #endif
25830
25831 int
25832 main ()
25833 {
25834  sqrtl(0);
25835   ;
25836   return 0;
25837 }
25838 _ACEOF
25839 if ac_fn_cxx_try_compile "$LINENO"; then :
25840   glibcxx_cv_func_sqrtl_use=yes
25841 else
25842   glibcxx_cv_func_sqrtl_use=no
25843 fi
25844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25845       ac_ext=c
25846 ac_cpp='$CPP $CPPFLAGS'
25847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25850
25851
25852 fi
25853
25854   fi
25855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25856 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25857
25858   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25859     for ac_func in sqrtl
25860 do :
25861   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25862 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25863   cat >>confdefs.h <<_ACEOF
25864 #define HAVE_SQRTL 1
25865 _ACEOF
25866
25867 fi
25868 done
25869
25870   else
25871
25872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25873 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25874   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25875     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25876   $as_echo_n "(cached) " >&6
25877 else
25878
25879
25880       ac_ext=cpp
25881 ac_cpp='$CXXCPP $CPPFLAGS'
25882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25885
25886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25887 /* end confdefs.h.  */
25888 #include <math.h>
25889                       #ifdef HAVE_IEEEFP_H
25890                       #include <ieeefp.h>
25891                       #endif
25892
25893 int
25894 main ()
25895 {
25896  _sqrtl(0);
25897   ;
25898   return 0;
25899 }
25900 _ACEOF
25901 if ac_fn_cxx_try_compile "$LINENO"; then :
25902   glibcxx_cv_func__sqrtl_use=yes
25903 else
25904   glibcxx_cv_func__sqrtl_use=no
25905 fi
25906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25907       ac_ext=c
25908 ac_cpp='$CPP $CPPFLAGS'
25909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25912
25913
25914 fi
25915
25916   fi
25917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25918 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25919
25920     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25921       for ac_func in _sqrtl
25922 do :
25923   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25924 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25925   cat >>confdefs.h <<_ACEOF
25926 #define HAVE__SQRTL 1
25927 _ACEOF
25928
25929 fi
25930 done
25931
25932     fi
25933   fi
25934
25935
25936
25937
25938
25939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25940 $as_echo_n "checking for sincosl declaration... " >&6; }
25941   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25942     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25943   $as_echo_n "(cached) " >&6
25944 else
25945
25946
25947       ac_ext=cpp
25948 ac_cpp='$CXXCPP $CPPFLAGS'
25949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25952
25953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25954 /* end confdefs.h.  */
25955 #include <math.h>
25956 int
25957 main ()
25958 {
25959  sincosl(0, 0, 0);
25960   ;
25961   return 0;
25962 }
25963 _ACEOF
25964 if ac_fn_cxx_try_compile "$LINENO"; then :
25965   glibcxx_cv_func_sincosl_use=yes
25966 else
25967   glibcxx_cv_func_sincosl_use=no
25968 fi
25969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25970       ac_ext=c
25971 ac_cpp='$CPP $CPPFLAGS'
25972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25975
25976
25977 fi
25978
25979   fi
25980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25981 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25982
25983   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25984     for ac_func in sincosl
25985 do :
25986   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25987 if test "x$ac_cv_func_sincosl" = x""yes; then :
25988   cat >>confdefs.h <<_ACEOF
25989 #define HAVE_SINCOSL 1
25990 _ACEOF
25991
25992 fi
25993 done
25994
25995   else
25996
25997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25998 $as_echo_n "checking for _sincosl declaration... " >&6; }
25999   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26000     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26001   $as_echo_n "(cached) " >&6
26002 else
26003
26004
26005       ac_ext=cpp
26006 ac_cpp='$CXXCPP $CPPFLAGS'
26007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26010
26011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26012 /* end confdefs.h.  */
26013 #include <math.h>
26014 int
26015 main ()
26016 {
26017  _sincosl(0, 0, 0);
26018   ;
26019   return 0;
26020 }
26021 _ACEOF
26022 if ac_fn_cxx_try_compile "$LINENO"; then :
26023   glibcxx_cv_func__sincosl_use=yes
26024 else
26025   glibcxx_cv_func__sincosl_use=no
26026 fi
26027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26028       ac_ext=c
26029 ac_cpp='$CPP $CPPFLAGS'
26030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26033
26034
26035 fi
26036
26037   fi
26038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26039 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26040
26041     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26042       for ac_func in _sincosl
26043 do :
26044   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26045 if test "x$ac_cv_func__sincosl" = x""yes; then :
26046   cat >>confdefs.h <<_ACEOF
26047 #define HAVE__SINCOSL 1
26048 _ACEOF
26049
26050 fi
26051 done
26052
26053     fi
26054   fi
26055
26056
26057
26058
26059
26060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26061 $as_echo_n "checking for finitel declaration... " >&6; }
26062   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26063     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26064   $as_echo_n "(cached) " >&6
26065 else
26066
26067
26068       ac_ext=cpp
26069 ac_cpp='$CXXCPP $CPPFLAGS'
26070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26073
26074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26075 /* end confdefs.h.  */
26076 #include <math.h>
26077                       #ifdef HAVE_IEEEFP_H
26078                       #include <ieeefp.h>
26079                       #endif
26080
26081 int
26082 main ()
26083 {
26084  finitel(0);
26085   ;
26086   return 0;
26087 }
26088 _ACEOF
26089 if ac_fn_cxx_try_compile "$LINENO"; then :
26090   glibcxx_cv_func_finitel_use=yes
26091 else
26092   glibcxx_cv_func_finitel_use=no
26093 fi
26094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26095       ac_ext=c
26096 ac_cpp='$CPP $CPPFLAGS'
26097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26100
26101
26102 fi
26103
26104   fi
26105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26106 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26107
26108   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26109     for ac_func in finitel
26110 do :
26111   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26112 if test "x$ac_cv_func_finitel" = x""yes; then :
26113   cat >>confdefs.h <<_ACEOF
26114 #define HAVE_FINITEL 1
26115 _ACEOF
26116
26117 fi
26118 done
26119
26120   else
26121
26122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26123 $as_echo_n "checking for _finitel declaration... " >&6; }
26124   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26125     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26126   $as_echo_n "(cached) " >&6
26127 else
26128
26129
26130       ac_ext=cpp
26131 ac_cpp='$CXXCPP $CPPFLAGS'
26132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26135
26136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26137 /* end confdefs.h.  */
26138 #include <math.h>
26139                       #ifdef HAVE_IEEEFP_H
26140                       #include <ieeefp.h>
26141                       #endif
26142
26143 int
26144 main ()
26145 {
26146  _finitel(0);
26147   ;
26148   return 0;
26149 }
26150 _ACEOF
26151 if ac_fn_cxx_try_compile "$LINENO"; then :
26152   glibcxx_cv_func__finitel_use=yes
26153 else
26154   glibcxx_cv_func__finitel_use=no
26155 fi
26156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26157       ac_ext=c
26158 ac_cpp='$CPP $CPPFLAGS'
26159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26162
26163
26164 fi
26165
26166   fi
26167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26168 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26169
26170     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26171       for ac_func in _finitel
26172 do :
26173   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26174 if test "x$ac_cv_func__finitel" = x""yes; then :
26175   cat >>confdefs.h <<_ACEOF
26176 #define HAVE__FINITEL 1
26177 _ACEOF
26178
26179 fi
26180 done
26181
26182     fi
26183   fi
26184
26185
26186
26187
26188   LIBS="$ac_save_LIBS"
26189   CXXFLAGS="$ac_save_CXXFLAGS"
26190
26191
26192   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26193   ac_save_CXXFLAGS="$CXXFLAGS"
26194   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26195
26196
26197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26198 $as_echo_n "checking for strtold declaration... " >&6; }
26199   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26200     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26201   $as_echo_n "(cached) " >&6
26202 else
26203
26204
26205       ac_ext=cpp
26206 ac_cpp='$CXXCPP $CPPFLAGS'
26207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26210
26211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26212 /* end confdefs.h.  */
26213 #include <stdlib.h>
26214 int
26215 main ()
26216 {
26217  strtold(0, 0);
26218   ;
26219   return 0;
26220 }
26221 _ACEOF
26222 if ac_fn_cxx_try_compile "$LINENO"; then :
26223   glibcxx_cv_func_strtold_use=yes
26224 else
26225   glibcxx_cv_func_strtold_use=no
26226 fi
26227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26228       ac_ext=c
26229 ac_cpp='$CPP $CPPFLAGS'
26230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26233
26234
26235 fi
26236
26237   fi
26238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26239 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26240   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26241     for ac_func in strtold
26242 do :
26243   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26244 if test "x$ac_cv_func_strtold" = x""yes; then :
26245   cat >>confdefs.h <<_ACEOF
26246 #define HAVE_STRTOLD 1
26247 _ACEOF
26248
26249 fi
26250 done
26251
26252   fi
26253
26254
26255
26256
26257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26258 $as_echo_n "checking for strtof declaration... " >&6; }
26259   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26260     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26261   $as_echo_n "(cached) " >&6
26262 else
26263
26264
26265       ac_ext=cpp
26266 ac_cpp='$CXXCPP $CPPFLAGS'
26267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26270
26271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26272 /* end confdefs.h.  */
26273 #include <stdlib.h>
26274 int
26275 main ()
26276 {
26277  strtof(0, 0);
26278   ;
26279   return 0;
26280 }
26281 _ACEOF
26282 if ac_fn_cxx_try_compile "$LINENO"; then :
26283   glibcxx_cv_func_strtof_use=yes
26284 else
26285   glibcxx_cv_func_strtof_use=no
26286 fi
26287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26288       ac_ext=c
26289 ac_cpp='$CPP $CPPFLAGS'
26290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26293
26294
26295 fi
26296
26297   fi
26298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26299 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26300   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26301     for ac_func in strtof
26302 do :
26303   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26304 if test "x$ac_cv_func_strtof" = x""yes; then :
26305   cat >>confdefs.h <<_ACEOF
26306 #define HAVE_STRTOF 1
26307 _ACEOF
26308
26309 fi
26310 done
26311
26312   fi
26313
26314
26315
26316
26317   CXXFLAGS="$ac_save_CXXFLAGS"
26318
26319
26320   # For /dev/random and /dev/urandom for TR1.
26321
26322
26323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26324 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26325   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26326   $as_echo_n "(cached) " >&6
26327 else
26328
26329     if test -r /dev/random && test -r /dev/urandom; then
26330       glibcxx_cv_random_tr1=yes;
26331     else
26332       glibcxx_cv_random_tr1=no;
26333     fi
26334
26335 fi
26336
26337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26338 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26339
26340   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26341
26342 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26343
26344   fi
26345
26346
26347
26348   # For TLS support.
26349
26350
26351    # Check whether --enable-tls was given.
26352 if test "${enable_tls+set}" = set; then :
26353   enableval=$enable_tls;
26354       case "$enableval" in
26355        yes|no) ;;
26356        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26357       esac
26358
26359 else
26360   enable_tls=yes
26361 fi
26362
26363
26364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26365 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26366 if test "${gcc_cv_have_tls+set}" = set; then :
26367   $as_echo_n "(cached) " >&6
26368 else
26369
26370     if test "$cross_compiling" = yes; then :
26371                 if test x$gcc_no_link = xyes; then
26372   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26373 fi
26374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26375 /* end confdefs.h.  */
26376 __thread int a; int b; int main() { return a = b; }
26377 _ACEOF
26378 if ac_fn_c_try_link "$LINENO"; then :
26379   chktls_save_LDFLAGS="$LDFLAGS"
26380                           case $host in
26381             *-*-linux*)
26382               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26383               ;;
26384           esac
26385           chktls_save_CFLAGS="$CFLAGS"
26386           CFLAGS="-fPIC $CFLAGS"
26387                   if test x$gcc_no_link = xyes; then
26388   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26389 fi
26390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26391 /* end confdefs.h.  */
26392 int f() { return 0; }
26393 _ACEOF
26394 if ac_fn_c_try_link "$LINENO"; then :
26395   if test x$gcc_no_link = xyes; then
26396   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26397 fi
26398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26399 /* end confdefs.h.  */
26400 __thread int a; int b; int f() { return a = b; }
26401 _ACEOF
26402 if ac_fn_c_try_link "$LINENO"; then :
26403   gcc_cv_have_tls=yes
26404 else
26405   gcc_cv_have_tls=no
26406 fi
26407 rm -f core conftest.err conftest.$ac_objext \
26408     conftest$ac_exeext conftest.$ac_ext
26409 else
26410   gcc_cv_have_tls=yes
26411 fi
26412 rm -f core conftest.err conftest.$ac_objext \
26413     conftest$ac_exeext conftest.$ac_ext
26414           CFLAGS="$chktls_save_CFLAGS"
26415           LDFLAGS="$chktls_save_LDFLAGS"
26416 else
26417   gcc_cv_have_tls=no
26418 fi
26419 rm -f core conftest.err conftest.$ac_objext \
26420     conftest$ac_exeext conftest.$ac_ext
26421
26422
26423 else
26424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26425 /* end confdefs.h.  */
26426 __thread int a; int b; int main() { return a = b; }
26427 _ACEOF
26428 if ac_fn_c_try_run "$LINENO"; then :
26429                       chktls_save_LDFLAGS="$LDFLAGS"
26430       LDFLAGS="-static $LDFLAGS"
26431       if test x$gcc_no_link = xyes; then
26432   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26433 fi
26434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26435 /* end confdefs.h.  */
26436 int main() { return 0; }
26437 _ACEOF
26438 if ac_fn_c_try_link "$LINENO"; then :
26439   if test "$cross_compiling" = yes; then :
26440   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26442 as_fn_error "cannot run test program while cross compiling
26443 See \`config.log' for more details." "$LINENO" 5; }
26444 else
26445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26446 /* end confdefs.h.  */
26447 __thread int a; int b; int main() { return a = b; }
26448 _ACEOF
26449 if ac_fn_c_try_run "$LINENO"; then :
26450   gcc_cv_have_tls=yes
26451 else
26452   gcc_cv_have_tls=no
26453 fi
26454 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26455   conftest.$ac_objext conftest.beam conftest.$ac_ext
26456 fi
26457
26458 else
26459   gcc_cv_have_tls=yes
26460 fi
26461 rm -f core conftest.err conftest.$ac_objext \
26462     conftest$ac_exeext conftest.$ac_ext
26463       LDFLAGS="$chktls_save_LDFLAGS"
26464       if test $gcc_cv_have_tls = yes; then
26465                                                 chktls_save_CFLAGS="$CFLAGS"
26466         thread_CFLAGS=failed
26467         for flag in '' '-pthread' '-lpthread'; do
26468           CFLAGS="$flag $chktls_save_CFLAGS"
26469           if test x$gcc_no_link = xyes; then
26470   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26471 fi
26472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26473 /* end confdefs.h.  */
26474 #include <pthread.h>
26475                 void *g(void *d) { return NULL; }
26476 int
26477 main ()
26478 {
26479 pthread_t t; pthread_create(&t,NULL,g,NULL);
26480   ;
26481   return 0;
26482 }
26483 _ACEOF
26484 if ac_fn_c_try_link "$LINENO"; then :
26485   thread_CFLAGS="$flag"
26486 fi
26487 rm -f core conftest.err conftest.$ac_objext \
26488     conftest$ac_exeext conftest.$ac_ext
26489           if test "X$thread_CFLAGS" != Xfailed; then
26490             break
26491           fi
26492         done
26493         CFLAGS="$chktls_save_CFLAGS"
26494         if test "X$thread_CFLAGS" != Xfailed; then
26495           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26496                                                   if test "$cross_compiling" = yes; then :
26497   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26499 as_fn_error "cannot run test program while cross compiling
26500 See \`config.log' for more details." "$LINENO" 5; }
26501 else
26502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26503 /* end confdefs.h.  */
26504 #include <pthread.h>
26505                 __thread int a;
26506                 static int *volatile a_in_other_thread;
26507                 static void *
26508                 thread_func (void *arg)
26509                 {
26510                   a_in_other_thread = &a;
26511                   return (void *)0;
26512                 }
26513 int
26514 main ()
26515 {
26516 pthread_t thread;
26517                 void *thread_retval;
26518                 int *volatile a_in_main_thread;
26519                 a_in_main_thread = &a;
26520                 if (pthread_create (&thread, (pthread_attr_t *)0,
26521                                     thread_func, (void *)0))
26522                   return 0;
26523                 if (pthread_join (thread, &thread_retval))
26524                   return 0;
26525                 return (a_in_other_thread == a_in_main_thread);
26526   ;
26527   return 0;
26528 }
26529 _ACEOF
26530 if ac_fn_c_try_run "$LINENO"; then :
26531   gcc_cv_have_tls=yes
26532 else
26533   gcc_cv_have_tls=no
26534 fi
26535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26536   conftest.$ac_objext conftest.beam conftest.$ac_ext
26537 fi
26538
26539           CFLAGS="$chktls_save_CFLAGS"
26540         fi
26541       fi
26542 else
26543   gcc_cv_have_tls=no
26544 fi
26545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26546   conftest.$ac_objext conftest.beam conftest.$ac_ext
26547 fi
26548
26549 fi
26550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26551 $as_echo "$gcc_cv_have_tls" >&6; }
26552   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26553
26554 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26555
26556   fi
26557
26558   # For iconv support.
26559
26560       if test "X$prefix" = "XNONE"; then
26561     acl_final_prefix="$ac_default_prefix"
26562   else
26563     acl_final_prefix="$prefix"
26564   fi
26565   if test "X$exec_prefix" = "XNONE"; then
26566     acl_final_exec_prefix='${prefix}'
26567   else
26568     acl_final_exec_prefix="$exec_prefix"
26569   fi
26570   acl_save_prefix="$prefix"
26571   prefix="$acl_final_prefix"
26572   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26573   prefix="$acl_save_prefix"
26574
26575
26576 # Check whether --with-gnu-ld was given.
26577 if test "${with_gnu_ld+set}" = set; then :
26578   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26579 else
26580   with_gnu_ld=no
26581 fi
26582
26583 # Prepare PATH_SEPARATOR.
26584 # The user is always right.
26585 if test "${PATH_SEPARATOR+set}" != set; then
26586   echo "#! /bin/sh" >conf$$.sh
26587   echo  "exit 0"   >>conf$$.sh
26588   chmod +x conf$$.sh
26589   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26590     PATH_SEPARATOR=';'
26591   else
26592     PATH_SEPARATOR=:
26593   fi
26594   rm -f conf$$.sh
26595 fi
26596 ac_prog=ld
26597 if test "$GCC" = yes; then
26598   # Check if gcc -print-prog-name=ld gives a path.
26599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26600 $as_echo_n "checking for ld used by GCC... " >&6; }
26601   case $host in
26602   *-*-mingw*)
26603     # gcc leaves a trailing carriage return which upsets mingw
26604     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26605   *)
26606     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26607   esac
26608   case $ac_prog in
26609     # Accept absolute paths.
26610     [\\/]* | [A-Za-z]:[\\/]*)
26611       re_direlt='/[^/][^/]*/\.\./'
26612       # Canonicalize the path of ld
26613       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26614       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26615         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26616       done
26617       test -z "$LD" && LD="$ac_prog"
26618       ;;
26619   "")
26620     # If it fails, then pretend we aren't using GCC.
26621     ac_prog=ld
26622     ;;
26623   *)
26624     # If it is relative, then search for the first ld in PATH.
26625     with_gnu_ld=unknown
26626     ;;
26627   esac
26628 elif test "$with_gnu_ld" = yes; then
26629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26630 $as_echo_n "checking for GNU ld... " >&6; }
26631 else
26632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26633 $as_echo_n "checking for non-GNU ld... " >&6; }
26634 fi
26635 if test "${acl_cv_path_LD+set}" = set; then :
26636   $as_echo_n "(cached) " >&6
26637 else
26638   if test -z "$LD"; then
26639   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26640   for ac_dir in $PATH; do
26641     test -z "$ac_dir" && ac_dir=.
26642     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26643       acl_cv_path_LD="$ac_dir/$ac_prog"
26644       # Check to see if the program is GNU ld.  I'd rather use --version,
26645       # but apparently some GNU ld's only accept -v.
26646       # Break only if it was the GNU/non-GNU ld that we prefer.
26647       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26648         test "$with_gnu_ld" != no && break
26649       else
26650         test "$with_gnu_ld" != yes && break
26651       fi
26652     fi
26653   done
26654   IFS="$ac_save_ifs"
26655 else
26656   acl_cv_path_LD="$LD" # Let the user override the test with a path.
26657 fi
26658 fi
26659
26660 LD="$acl_cv_path_LD"
26661 if test -n "$LD"; then
26662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26663 $as_echo "$LD" >&6; }
26664 else
26665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26666 $as_echo "no" >&6; }
26667 fi
26668 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26670 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26671 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26672   $as_echo_n "(cached) " >&6
26673 else
26674   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26675 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26676   acl_cv_prog_gnu_ld=yes
26677 else
26678   acl_cv_prog_gnu_ld=no
26679 fi
26680 fi
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26682 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26683 with_gnu_ld=$acl_cv_prog_gnu_ld
26684
26685
26686
26687                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26688 $as_echo_n "checking for shared library run path origin... " >&6; }
26689 if test "${acl_cv_rpath+set}" = set; then :
26690   $as_echo_n "(cached) " >&6
26691 else
26692
26693     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26694     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26695     . ./conftest.sh
26696     rm -f ./conftest.sh
26697     acl_cv_rpath=done
26698
26699 fi
26700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26701 $as_echo "$acl_cv_rpath" >&6; }
26702   wl="$acl_cv_wl"
26703   libext="$acl_cv_libext"
26704   shlibext="$acl_cv_shlibext"
26705   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26706   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26707   hardcode_direct="$acl_cv_hardcode_direct"
26708   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26709     # Check whether --enable-rpath was given.
26710 if test "${enable_rpath+set}" = set; then :
26711   enableval=$enable_rpath; :
26712 else
26713   enable_rpath=yes
26714 fi
26715
26716
26717
26718
26719
26720
26721
26722
26723     use_additional=yes
26724
26725   acl_save_prefix="$prefix"
26726   prefix="$acl_final_prefix"
26727   acl_save_exec_prefix="$exec_prefix"
26728   exec_prefix="$acl_final_exec_prefix"
26729
26730     eval additional_includedir=\"$includedir\"
26731     eval additional_libdir=\"$libdir\"
26732
26733   exec_prefix="$acl_save_exec_prefix"
26734   prefix="$acl_save_prefix"
26735
26736
26737 # Check whether --with-libiconv-prefix was given.
26738 if test "${with_libiconv_prefix+set}" = set; then :
26739   withval=$with_libiconv_prefix;
26740     if test "X$withval" = "Xno"; then
26741       use_additional=no
26742     else
26743       if test "X$withval" = "X"; then
26744
26745   acl_save_prefix="$prefix"
26746   prefix="$acl_final_prefix"
26747   acl_save_exec_prefix="$exec_prefix"
26748   exec_prefix="$acl_final_exec_prefix"
26749
26750           eval additional_includedir=\"$includedir\"
26751           eval additional_libdir=\"$libdir\"
26752
26753   exec_prefix="$acl_save_exec_prefix"
26754   prefix="$acl_save_prefix"
26755
26756       else
26757         additional_includedir="$withval/include"
26758         additional_libdir="$withval/lib"
26759       fi
26760     fi
26761
26762 fi
26763
26764       LIBICONV=
26765   LTLIBICONV=
26766   INCICONV=
26767   rpathdirs=
26768   ltrpathdirs=
26769   names_already_handled=
26770   names_next_round='iconv '
26771   while test -n "$names_next_round"; do
26772     names_this_round="$names_next_round"
26773     names_next_round=
26774     for name in $names_this_round; do
26775       already_handled=
26776       for n in $names_already_handled; do
26777         if test "$n" = "$name"; then
26778           already_handled=yes
26779           break
26780         fi
26781       done
26782       if test -z "$already_handled"; then
26783         names_already_handled="$names_already_handled $name"
26784                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26785         eval value=\"\$HAVE_LIB$uppername\"
26786         if test -n "$value"; then
26787           if test "$value" = yes; then
26788             eval value=\"\$LIB$uppername\"
26789             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26790             eval value=\"\$LTLIB$uppername\"
26791             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26792           else
26793                                     :
26794           fi
26795         else
26796                               found_dir=
26797           found_la=
26798           found_so=
26799           found_a=
26800           if test $use_additional = yes; then
26801             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26802               found_dir="$additional_libdir"
26803               found_so="$additional_libdir/lib$name.$shlibext"
26804               if test -f "$additional_libdir/lib$name.la"; then
26805                 found_la="$additional_libdir/lib$name.la"
26806               fi
26807             else
26808               if test -f "$additional_libdir/lib$name.$libext"; then
26809                 found_dir="$additional_libdir"
26810                 found_a="$additional_libdir/lib$name.$libext"
26811                 if test -f "$additional_libdir/lib$name.la"; then
26812                   found_la="$additional_libdir/lib$name.la"
26813                 fi
26814               fi
26815             fi
26816           fi
26817           if test "X$found_dir" = "X"; then
26818             for x in $LDFLAGS $LTLIBICONV; do
26819
26820   acl_save_prefix="$prefix"
26821   prefix="$acl_final_prefix"
26822   acl_save_exec_prefix="$exec_prefix"
26823   exec_prefix="$acl_final_exec_prefix"
26824   eval x=\"$x\"
26825   exec_prefix="$acl_save_exec_prefix"
26826   prefix="$acl_save_prefix"
26827
26828               case "$x" in
26829                 -L*)
26830                   dir=`echo "X$x" | sed -e 's/^X-L//'`
26831                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26832                     found_dir="$dir"
26833                     found_so="$dir/lib$name.$shlibext"
26834                     if test -f "$dir/lib$name.la"; then
26835                       found_la="$dir/lib$name.la"
26836                     fi
26837                   else
26838                     if test -f "$dir/lib$name.$libext"; then
26839                       found_dir="$dir"
26840                       found_a="$dir/lib$name.$libext"
26841                       if test -f "$dir/lib$name.la"; then
26842                         found_la="$dir/lib$name.la"
26843                       fi
26844                     fi
26845                   fi
26846                   ;;
26847               esac
26848               if test "X$found_dir" != "X"; then
26849                 break
26850               fi
26851             done
26852           fi
26853           if test "X$found_dir" != "X"; then
26854                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26855             if test "X$found_so" != "X"; then
26856                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26857                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26858               else
26859                                                                                 haveit=
26860                 for x in $ltrpathdirs; do
26861                   if test "X$x" = "X$found_dir"; then
26862                     haveit=yes
26863                     break
26864                   fi
26865                 done
26866                 if test -z "$haveit"; then
26867                   ltrpathdirs="$ltrpathdirs $found_dir"
26868                 fi
26869                                 if test "$hardcode_direct" = yes; then
26870                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26871                 else
26872                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26873                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26874                                                             haveit=
26875                     for x in $rpathdirs; do
26876                       if test "X$x" = "X$found_dir"; then
26877                         haveit=yes
26878                         break
26879                       fi
26880                     done
26881                     if test -z "$haveit"; then
26882                       rpathdirs="$rpathdirs $found_dir"
26883                     fi
26884                   else
26885                                                                                 haveit=
26886                     for x in $LDFLAGS $LIBICONV; do
26887
26888   acl_save_prefix="$prefix"
26889   prefix="$acl_final_prefix"
26890   acl_save_exec_prefix="$exec_prefix"
26891   exec_prefix="$acl_final_exec_prefix"
26892   eval x=\"$x\"
26893   exec_prefix="$acl_save_exec_prefix"
26894   prefix="$acl_save_prefix"
26895
26896                       if test "X$x" = "X-L$found_dir"; then
26897                         haveit=yes
26898                         break
26899                       fi
26900                     done
26901                     if test -z "$haveit"; then
26902                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26903                     fi
26904                     if test "$hardcode_minus_L" != no; then
26905                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26906                     else
26907                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26908                     fi
26909                   fi
26910                 fi
26911               fi
26912             else
26913               if test "X$found_a" != "X"; then
26914                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26915               else
26916                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26917               fi
26918             fi
26919                         additional_includedir=
26920             case "$found_dir" in
26921               */lib | */lib/)
26922                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26923                 additional_includedir="$basedir/include"
26924                 ;;
26925             esac
26926             if test "X$additional_includedir" != "X"; then
26927                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26928                 haveit=
26929                 if test "X$additional_includedir" = "X/usr/local/include"; then
26930                   if test -n "$GCC"; then
26931                     case $host_os in
26932                       linux*) haveit=yes;;
26933                     esac
26934                   fi
26935                 fi
26936                 if test -z "$haveit"; then
26937                   for x in $CPPFLAGS $INCICONV; do
26938
26939   acl_save_prefix="$prefix"
26940   prefix="$acl_final_prefix"
26941   acl_save_exec_prefix="$exec_prefix"
26942   exec_prefix="$acl_final_exec_prefix"
26943   eval x=\"$x\"
26944   exec_prefix="$acl_save_exec_prefix"
26945   prefix="$acl_save_prefix"
26946
26947                     if test "X$x" = "X-I$additional_includedir"; then
26948                       haveit=yes
26949                       break
26950                     fi
26951                   done
26952                   if test -z "$haveit"; then
26953                     if test -d "$additional_includedir"; then
26954                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26955                     fi
26956                   fi
26957                 fi
26958               fi
26959             fi
26960                         if test -n "$found_la"; then
26961                                                         save_libdir="$libdir"
26962               case "$found_la" in
26963                 */* | *\\*) . "$found_la" ;;
26964                 *) . "./$found_la" ;;
26965               esac
26966               libdir="$save_libdir"
26967                             for dep in $dependency_libs; do
26968                 case "$dep" in
26969                   -L*)
26970                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26971                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26972                       haveit=
26973                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26974                         if test -n "$GCC"; then
26975                           case $host_os in
26976                             linux*) haveit=yes;;
26977                           esac
26978                         fi
26979                       fi
26980                       if test -z "$haveit"; then
26981                         haveit=
26982                         for x in $LDFLAGS $LIBICONV; do
26983
26984   acl_save_prefix="$prefix"
26985   prefix="$acl_final_prefix"
26986   acl_save_exec_prefix="$exec_prefix"
26987   exec_prefix="$acl_final_exec_prefix"
26988   eval x=\"$x\"
26989   exec_prefix="$acl_save_exec_prefix"
26990   prefix="$acl_save_prefix"
26991
26992                           if test "X$x" = "X-L$additional_libdir"; then
26993                             haveit=yes
26994                             break
26995                           fi
26996                         done
26997                         if test -z "$haveit"; then
26998                           if test -d "$additional_libdir"; then
26999                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27000                           fi
27001                         fi
27002                         haveit=
27003                         for x in $LDFLAGS $LTLIBICONV; do
27004
27005   acl_save_prefix="$prefix"
27006   prefix="$acl_final_prefix"
27007   acl_save_exec_prefix="$exec_prefix"
27008   exec_prefix="$acl_final_exec_prefix"
27009   eval x=\"$x\"
27010   exec_prefix="$acl_save_exec_prefix"
27011   prefix="$acl_save_prefix"
27012
27013                           if test "X$x" = "X-L$additional_libdir"; then
27014                             haveit=yes
27015                             break
27016                           fi
27017                         done
27018                         if test -z "$haveit"; then
27019                           if test -d "$additional_libdir"; then
27020                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27021                           fi
27022                         fi
27023                       fi
27024                     fi
27025                     ;;
27026                   -R*)
27027                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
27028                     if test "$enable_rpath" != no; then
27029                                                                   haveit=
27030                       for x in $rpathdirs; do
27031                         if test "X$x" = "X$dir"; then
27032                           haveit=yes
27033                           break
27034                         fi
27035                       done
27036                       if test -z "$haveit"; then
27037                         rpathdirs="$rpathdirs $dir"
27038                       fi
27039                                                                   haveit=
27040                       for x in $ltrpathdirs; do
27041                         if test "X$x" = "X$dir"; then
27042                           haveit=yes
27043                           break
27044                         fi
27045                       done
27046                       if test -z "$haveit"; then
27047                         ltrpathdirs="$ltrpathdirs $dir"
27048                       fi
27049                     fi
27050                     ;;
27051                   -l*)
27052                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27053                     ;;
27054                   *.la)
27055                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27056                     ;;
27057                   *)
27058                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27059                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27060                     ;;
27061                 esac
27062               done
27063             fi
27064           else
27065                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27066             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27067           fi
27068         fi
27069       fi
27070     done
27071   done
27072   if test "X$rpathdirs" != "X"; then
27073     if test -n "$hardcode_libdir_separator"; then
27074                         alldirs=
27075       for found_dir in $rpathdirs; do
27076         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27077       done
27078             acl_save_libdir="$libdir"
27079       libdir="$alldirs"
27080       eval flag=\"$hardcode_libdir_flag_spec\"
27081       libdir="$acl_save_libdir"
27082       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27083     else
27084             for found_dir in $rpathdirs; do
27085         acl_save_libdir="$libdir"
27086         libdir="$found_dir"
27087         eval flag=\"$hardcode_libdir_flag_spec\"
27088         libdir="$acl_save_libdir"
27089         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27090       done
27091     fi
27092   fi
27093   if test "X$ltrpathdirs" != "X"; then
27094             for found_dir in $ltrpathdirs; do
27095       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27096     done
27097   fi
27098
27099
27100
27101
27102
27103
27104
27105           am_save_CPPFLAGS="$CPPFLAGS"
27106
27107   for element in $INCICONV; do
27108     haveit=
27109     for x in $CPPFLAGS; do
27110
27111   acl_save_prefix="$prefix"
27112   prefix="$acl_final_prefix"
27113   acl_save_exec_prefix="$exec_prefix"
27114   exec_prefix="$acl_final_exec_prefix"
27115   eval x=\"$x\"
27116   exec_prefix="$acl_save_exec_prefix"
27117   prefix="$acl_save_prefix"
27118
27119       if test "X$x" = "X$element"; then
27120         haveit=yes
27121         break
27122       fi
27123     done
27124     if test -z "$haveit"; then
27125       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27126     fi
27127   done
27128
27129
27130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27131 $as_echo_n "checking for iconv... " >&6; }
27132 if test "${am_cv_func_iconv+set}" = set; then :
27133   $as_echo_n "(cached) " >&6
27134 else
27135
27136     am_cv_func_iconv="no, consider installing GNU libiconv"
27137     am_cv_lib_iconv=no
27138     if test x$gcc_no_link = xyes; then
27139   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27140 fi
27141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27142 /* end confdefs.h.  */
27143 #include <stdlib.h>
27144 #include <iconv.h>
27145 int
27146 main ()
27147 {
27148 iconv_t cd = iconv_open("","");
27149        iconv(cd,NULL,NULL,NULL,NULL);
27150        iconv_close(cd);
27151   ;
27152   return 0;
27153 }
27154 _ACEOF
27155 if ac_fn_c_try_link "$LINENO"; then :
27156   am_cv_func_iconv=yes
27157 fi
27158 rm -f core conftest.err conftest.$ac_objext \
27159     conftest$ac_exeext conftest.$ac_ext
27160     if test "$am_cv_func_iconv" != yes; then
27161       am_save_LIBS="$LIBS"
27162       LIBS="$LIBS $LIBICONV"
27163       if test x$gcc_no_link = xyes; then
27164   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27165 fi
27166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27167 /* end confdefs.h.  */
27168 #include <stdlib.h>
27169 #include <iconv.h>
27170 int
27171 main ()
27172 {
27173 iconv_t cd = iconv_open("","");
27174          iconv(cd,NULL,NULL,NULL,NULL);
27175          iconv_close(cd);
27176   ;
27177   return 0;
27178 }
27179 _ACEOF
27180 if ac_fn_c_try_link "$LINENO"; then :
27181   am_cv_lib_iconv=yes
27182         am_cv_func_iconv=yes
27183 fi
27184 rm -f core conftest.err conftest.$ac_objext \
27185     conftest$ac_exeext conftest.$ac_ext
27186       LIBS="$am_save_LIBS"
27187     fi
27188
27189 fi
27190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27191 $as_echo "$am_cv_func_iconv" >&6; }
27192   if test "$am_cv_func_iconv" = yes; then
27193
27194 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27195
27196   fi
27197   if test "$am_cv_lib_iconv" = yes; then
27198     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27199 $as_echo_n "checking how to link with libiconv... " >&6; }
27200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27201 $as_echo "$LIBICONV" >&6; }
27202   else
27203             CPPFLAGS="$am_save_CPPFLAGS"
27204     LIBICONV=
27205     LTLIBICONV=
27206   fi
27207
27208
27209
27210   if test "$am_cv_func_iconv" = yes; then
27211     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27212 $as_echo_n "checking for iconv declaration... " >&6; }
27213     if test "${am_cv_proto_iconv+set}" = set; then :
27214   $as_echo_n "(cached) " >&6
27215 else
27216
27217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27218 /* end confdefs.h.  */
27219
27220 #include <stdlib.h>
27221 #include <iconv.h>
27222 extern
27223 #ifdef __cplusplus
27224 "C"
27225 #endif
27226 #if defined(__STDC__) || defined(__cplusplus)
27227 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27228 #else
27229 size_t iconv();
27230 #endif
27231
27232 int
27233 main ()
27234 {
27235
27236   ;
27237   return 0;
27238 }
27239 _ACEOF
27240 if ac_fn_c_try_compile "$LINENO"; then :
27241   am_cv_proto_iconv_arg1=""
27242 else
27243   am_cv_proto_iconv_arg1="const"
27244 fi
27245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27246       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);"
27247 fi
27248
27249     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27250     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27251          }$am_cv_proto_iconv" >&5
27252 $as_echo "${ac_t:-
27253          }$am_cv_proto_iconv" >&6; }
27254
27255 cat >>confdefs.h <<_ACEOF
27256 #define ICONV_CONST $am_cv_proto_iconv_arg1
27257 _ACEOF
27258
27259   fi
27260
27261
27262 else
27263
27264   # This lets us hard-code the functionality we know we'll have in the cross
27265   # target environment.  "Let" is a sugar-coated word placed on an especially
27266   # dull and tedious hack, actually.
27267   #
27268   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27269   # that involve linking, can't be used:
27270   #    "cannot open sim-crt0.o"
27271   #    "cannot open crt0.o"
27272   # etc.  All this is because there currently exists no unified, consistent
27273   # way for top level CC information to be passed down to target directories:
27274   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27275   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27276   # crosses can be removed.
27277
27278   # If Canadian cross, then don't pick up tools from the build directory.
27279   # Used only in GLIBCXX_EXPORT_INCLUDES.
27280   if test -n "$with_cross_host" &&
27281      test x"$build_alias" != x"$with_cross_host" &&
27282      test x"$build" != x"$target";
27283   then
27284     CANADIAN=yes
27285   else
27286     CANADIAN=no
27287   fi
27288
27289   # Construct crosses by hand, eliminating bits that need ld...
27290   # GLIBCXX_CHECK_MATH_SUPPORT
27291
27292   # First, test for "known" system libraries.  We may be using newlib even
27293   # on a hosted environment.
27294   if test "x${with_newlib}" = "xyes"; then
27295     os_include_dir="os/newlib"
27296     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27297
27298
27299     # GLIBCXX_CHECK_STDLIB_SUPPORT
27300     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27301
27302
27303     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27304
27305     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27306
27307     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27308
27309     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27310
27311     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27312
27313     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27314
27315     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27316
27317     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27318
27319     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27320
27321     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27322
27323     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27324
27325     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27326
27327     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27328
27329     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27330
27331     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27332
27333     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27334
27335     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27336
27337     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27338
27339     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27340
27341     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27342
27343     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27344
27345     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27346
27347
27348     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27349
27350   else
27351
27352 # Base decisions on target environment.
27353 case "${host}" in
27354   arm*-*-symbianelf*)
27355     # This is a freestanding configuration; there is nothing to do here.
27356     ;;
27357
27358   mips*-sde-elf*)
27359     # These definitions are for the SDE C library rather than newlib.
27360     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27361
27362
27363   # All these tests are for C++; save the language and the compiler flags.
27364   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27365   # found in GLIBCXX_CONFIGURE.
27366
27367   ac_ext=cpp
27368 ac_cpp='$CXXCPP $CPPFLAGS'
27369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27372
27373   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27374   ac_save_CXXFLAGS="$CXXFLAGS"
27375
27376   # Check for maintainer-mode bits.
27377   if test x"$USE_MAINTAINER_MODE" = xno; then
27378     WERROR=''
27379   else
27380     WERROR='-Werror'
27381   fi
27382
27383   # Check for -ffunction-sections -fdata-sections
27384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27385 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27386   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27388 /* end confdefs.h.  */
27389 int foo; void bar() { };
27390 int
27391 main ()
27392 {
27393
27394   ;
27395   return 0;
27396 }
27397 _ACEOF
27398 if ac_fn_cxx_try_compile "$LINENO"; then :
27399   ac_fdsections=yes
27400 else
27401   ac_fdsections=no
27402 fi
27403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27404   if test "$ac_test_CXXFLAGS" = set; then
27405     CXXFLAGS="$ac_save_CXXFLAGS"
27406   else
27407     # this is the suspicious part
27408     CXXFLAGS=''
27409   fi
27410   if test x"$ac_fdsections" = x"yes"; then
27411     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27412   fi
27413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27414 $as_echo "$ac_fdsections" >&6; }
27415
27416   ac_ext=c
27417 ac_cpp='$CPP $CPPFLAGS'
27418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27421
27422
27423
27424
27425
27426   # If we're not using GNU ld, then there's no point in even trying these
27427   # tests.  Check for that first.  We should have already tested for gld
27428   # by now (in libtool), but require it now just to be safe...
27429   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27430   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27431
27432
27433
27434   # The name set by libtool depends on the version of libtool.  Shame on us
27435   # for depending on an impl detail, but c'est la vie.  Older versions used
27436   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27437   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27438   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27439   # set (hence we're using an older libtool), then set it.
27440   if test x${with_gnu_ld+set} != xset; then
27441     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27442       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27443       with_gnu_ld=no
27444     else
27445       with_gnu_ld=$ac_cv_prog_gnu_ld
27446     fi
27447   fi
27448
27449   # Start by getting the version number.  I think the libtool test already
27450   # does some of this, but throws away the result.
27451   glibcxx_ld_is_gold=no
27452   if test x"$with_gnu_ld" = x"yes"; then
27453     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27454 $as_echo_n "checking for ld version... " >&6; }
27455
27456     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27457       glibcxx_ld_is_gold=yes
27458     fi
27459     ldver=`$LD --version 2>/dev/null |
27460            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'`
27461
27462     glibcxx_gnu_ld_version=`echo $ldver | \
27463            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27464     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27465 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27466   fi
27467
27468   # Set --gc-sections.
27469   glibcxx_have_gc_sections=no
27470   if test "$glibcxx_ld_is_gold" = "yes"; then
27471     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27472       glibcxx_have_gc_sections=yes
27473     fi
27474   else
27475     glibcxx_gcsections_min_ld=21602
27476     if test x"$with_gnu_ld" = x"yes" &&
27477         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27478       glibcxx_have_gc_sections=yes
27479     fi
27480   fi
27481   if test "$glibcxx_have_gc_sections" = "yes"; then
27482     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27483     # NB: This flag only works reliably after 2.16.1. Configure tests
27484     # for this are difficult, so hard wire a value that should work.
27485
27486     ac_test_CFLAGS="${CFLAGS+set}"
27487     ac_save_CFLAGS="$CFLAGS"
27488     CFLAGS='-Wl,--gc-sections'
27489
27490     # Check for -Wl,--gc-sections
27491     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27492 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27493     if test x$gcc_no_link = xyes; then
27494   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27495 fi
27496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27497 /* end confdefs.h.  */
27498  int one(void) { return 1; }
27499      int two(void) { return 2; }
27500
27501 int
27502 main ()
27503 {
27504  two();
27505   ;
27506   return 0;
27507 }
27508 _ACEOF
27509 if ac_fn_c_try_link "$LINENO"; then :
27510   ac_gcsections=yes
27511 else
27512   ac_gcsections=no
27513 fi
27514 rm -f core conftest.err conftest.$ac_objext \
27515     conftest$ac_exeext conftest.$ac_ext
27516     if test "$ac_gcsections" = "yes"; then
27517       rm -f conftest.c
27518       touch conftest.c
27519       if $CC -c conftest.c; then
27520         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27521            grep "Warning: gc-sections option ignored" > /dev/null; then
27522           ac_gcsections=no
27523         fi
27524       fi
27525       rm -f conftest.c conftest.o conftest
27526     fi
27527     if test "$ac_gcsections" = "yes"; then
27528       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27529     fi
27530     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27531 $as_echo "$ac_gcsections" >&6; }
27532
27533     if test "$ac_test_CFLAGS" = set; then
27534       CFLAGS="$ac_save_CFLAGS"
27535     else
27536       # this is the suspicious part
27537       CFLAGS=''
27538     fi
27539   fi
27540
27541   # Set -z,relro.
27542   # Note this is only for shared objects.
27543   ac_ld_relro=no
27544   if test x"$with_gnu_ld" = x"yes"; then
27545     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27546 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27547     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27548     if test -n "$cxx_z_relo"; then
27549       OPT_LDFLAGS="-Wl,-z,relro"
27550       ac_ld_relro=yes
27551     fi
27552     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27553 $as_echo "$ac_ld_relro" >&6; }
27554   fi
27555
27556   # Set linker optimization flags.
27557   if test x"$with_gnu_ld" = x"yes"; then
27558     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27559   fi
27560
27561
27562
27563
27564
27565   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27566   ac_save_CXXFLAGS="$CXXFLAGS"
27567   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27568
27569     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27570 $as_echo_n "checking for sin in -lm... " >&6; }
27571 if test "${ac_cv_lib_m_sin+set}" = set; then :
27572   $as_echo_n "(cached) " >&6
27573 else
27574   ac_check_lib_save_LIBS=$LIBS
27575 LIBS="-lm  $LIBS"
27576 if test x$gcc_no_link = xyes; then
27577   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27578 fi
27579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27580 /* end confdefs.h.  */
27581
27582 /* Override any GCC internal prototype to avoid an error.
27583    Use char because int might match the return type of a GCC
27584    builtin and then its argument prototype would still apply.  */
27585 #ifdef __cplusplus
27586 extern "C"
27587 #endif
27588 char sin ();
27589 int
27590 main ()
27591 {
27592 return sin ();
27593   ;
27594   return 0;
27595 }
27596 _ACEOF
27597 if ac_fn_c_try_link "$LINENO"; then :
27598   ac_cv_lib_m_sin=yes
27599 else
27600   ac_cv_lib_m_sin=no
27601 fi
27602 rm -f core conftest.err conftest.$ac_objext \
27603     conftest$ac_exeext conftest.$ac_ext
27604 LIBS=$ac_check_lib_save_LIBS
27605 fi
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27607 $as_echo "$ac_cv_lib_m_sin" >&6; }
27608 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27609   libm="-lm"
27610 fi
27611
27612   ac_save_LIBS="$LIBS"
27613   LIBS="$LIBS $libm"
27614
27615
27616
27617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27618 $as_echo_n "checking for isinf declaration... " >&6; }
27619   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27620     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27621   $as_echo_n "(cached) " >&6
27622 else
27623
27624
27625       ac_ext=cpp
27626 ac_cpp='$CXXCPP $CPPFLAGS'
27627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27630
27631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27632 /* end confdefs.h.  */
27633 #include <math.h>
27634                       #ifdef HAVE_IEEEFP_H
27635                       #include <ieeefp.h>
27636                       #endif
27637
27638 int
27639 main ()
27640 {
27641  isinf(0);
27642   ;
27643   return 0;
27644 }
27645 _ACEOF
27646 if ac_fn_cxx_try_compile "$LINENO"; then :
27647   glibcxx_cv_func_isinf_use=yes
27648 else
27649   glibcxx_cv_func_isinf_use=no
27650 fi
27651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27652       ac_ext=c
27653 ac_cpp='$CPP $CPPFLAGS'
27654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27657
27658
27659 fi
27660
27661   fi
27662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27663 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27664
27665   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27666     for ac_func in isinf
27667 do :
27668   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27669 if test "x$ac_cv_func_isinf" = x""yes; then :
27670   cat >>confdefs.h <<_ACEOF
27671 #define HAVE_ISINF 1
27672 _ACEOF
27673
27674 fi
27675 done
27676
27677   else
27678
27679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27680 $as_echo_n "checking for _isinf declaration... " >&6; }
27681   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27682     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27683   $as_echo_n "(cached) " >&6
27684 else
27685
27686
27687       ac_ext=cpp
27688 ac_cpp='$CXXCPP $CPPFLAGS'
27689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27692
27693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27694 /* end confdefs.h.  */
27695 #include <math.h>
27696                       #ifdef HAVE_IEEEFP_H
27697                       #include <ieeefp.h>
27698                       #endif
27699
27700 int
27701 main ()
27702 {
27703  _isinf(0);
27704   ;
27705   return 0;
27706 }
27707 _ACEOF
27708 if ac_fn_cxx_try_compile "$LINENO"; then :
27709   glibcxx_cv_func__isinf_use=yes
27710 else
27711   glibcxx_cv_func__isinf_use=no
27712 fi
27713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27714       ac_ext=c
27715 ac_cpp='$CPP $CPPFLAGS'
27716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27719
27720
27721 fi
27722
27723   fi
27724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27725 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27726
27727     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27728       for ac_func in _isinf
27729 do :
27730   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27731 if test "x$ac_cv_func__isinf" = x""yes; then :
27732   cat >>confdefs.h <<_ACEOF
27733 #define HAVE__ISINF 1
27734 _ACEOF
27735
27736 fi
27737 done
27738
27739     fi
27740   fi
27741
27742
27743
27744
27745
27746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27747 $as_echo_n "checking for isnan declaration... " >&6; }
27748   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27749     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27750   $as_echo_n "(cached) " >&6
27751 else
27752
27753
27754       ac_ext=cpp
27755 ac_cpp='$CXXCPP $CPPFLAGS'
27756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27759
27760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27761 /* end confdefs.h.  */
27762 #include <math.h>
27763                       #ifdef HAVE_IEEEFP_H
27764                       #include <ieeefp.h>
27765                       #endif
27766
27767 int
27768 main ()
27769 {
27770  isnan(0);
27771   ;
27772   return 0;
27773 }
27774 _ACEOF
27775 if ac_fn_cxx_try_compile "$LINENO"; then :
27776   glibcxx_cv_func_isnan_use=yes
27777 else
27778   glibcxx_cv_func_isnan_use=no
27779 fi
27780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27781       ac_ext=c
27782 ac_cpp='$CPP $CPPFLAGS'
27783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27786
27787
27788 fi
27789
27790   fi
27791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27792 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27793
27794   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27795     for ac_func in isnan
27796 do :
27797   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27798 if test "x$ac_cv_func_isnan" = x""yes; then :
27799   cat >>confdefs.h <<_ACEOF
27800 #define HAVE_ISNAN 1
27801 _ACEOF
27802
27803 fi
27804 done
27805
27806   else
27807
27808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27809 $as_echo_n "checking for _isnan declaration... " >&6; }
27810   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27811     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27812   $as_echo_n "(cached) " >&6
27813 else
27814
27815
27816       ac_ext=cpp
27817 ac_cpp='$CXXCPP $CPPFLAGS'
27818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27821
27822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27823 /* end confdefs.h.  */
27824 #include <math.h>
27825                       #ifdef HAVE_IEEEFP_H
27826                       #include <ieeefp.h>
27827                       #endif
27828
27829 int
27830 main ()
27831 {
27832  _isnan(0);
27833   ;
27834   return 0;
27835 }
27836 _ACEOF
27837 if ac_fn_cxx_try_compile "$LINENO"; then :
27838   glibcxx_cv_func__isnan_use=yes
27839 else
27840   glibcxx_cv_func__isnan_use=no
27841 fi
27842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27843       ac_ext=c
27844 ac_cpp='$CPP $CPPFLAGS'
27845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27848
27849
27850 fi
27851
27852   fi
27853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27854 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27855
27856     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27857       for ac_func in _isnan
27858 do :
27859   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27860 if test "x$ac_cv_func__isnan" = x""yes; then :
27861   cat >>confdefs.h <<_ACEOF
27862 #define HAVE__ISNAN 1
27863 _ACEOF
27864
27865 fi
27866 done
27867
27868     fi
27869   fi
27870
27871
27872
27873
27874
27875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27876 $as_echo_n "checking for finite declaration... " >&6; }
27877   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27878     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27879   $as_echo_n "(cached) " >&6
27880 else
27881
27882
27883       ac_ext=cpp
27884 ac_cpp='$CXXCPP $CPPFLAGS'
27885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27888
27889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27890 /* end confdefs.h.  */
27891 #include <math.h>
27892                       #ifdef HAVE_IEEEFP_H
27893                       #include <ieeefp.h>
27894                       #endif
27895
27896 int
27897 main ()
27898 {
27899  finite(0);
27900   ;
27901   return 0;
27902 }
27903 _ACEOF
27904 if ac_fn_cxx_try_compile "$LINENO"; then :
27905   glibcxx_cv_func_finite_use=yes
27906 else
27907   glibcxx_cv_func_finite_use=no
27908 fi
27909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27910       ac_ext=c
27911 ac_cpp='$CPP $CPPFLAGS'
27912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27915
27916
27917 fi
27918
27919   fi
27920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27921 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27922
27923   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27924     for ac_func in finite
27925 do :
27926   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27927 if test "x$ac_cv_func_finite" = x""yes; then :
27928   cat >>confdefs.h <<_ACEOF
27929 #define HAVE_FINITE 1
27930 _ACEOF
27931
27932 fi
27933 done
27934
27935   else
27936
27937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27938 $as_echo_n "checking for _finite declaration... " >&6; }
27939   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27940     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27941   $as_echo_n "(cached) " >&6
27942 else
27943
27944
27945       ac_ext=cpp
27946 ac_cpp='$CXXCPP $CPPFLAGS'
27947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950
27951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27952 /* end confdefs.h.  */
27953 #include <math.h>
27954                       #ifdef HAVE_IEEEFP_H
27955                       #include <ieeefp.h>
27956                       #endif
27957
27958 int
27959 main ()
27960 {
27961  _finite(0);
27962   ;
27963   return 0;
27964 }
27965 _ACEOF
27966 if ac_fn_cxx_try_compile "$LINENO"; then :
27967   glibcxx_cv_func__finite_use=yes
27968 else
27969   glibcxx_cv_func__finite_use=no
27970 fi
27971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27972       ac_ext=c
27973 ac_cpp='$CPP $CPPFLAGS'
27974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27977
27978
27979 fi
27980
27981   fi
27982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27983 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27984
27985     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27986       for ac_func in _finite
27987 do :
27988   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27989 if test "x$ac_cv_func__finite" = x""yes; then :
27990   cat >>confdefs.h <<_ACEOF
27991 #define HAVE__FINITE 1
27992 _ACEOF
27993
27994 fi
27995 done
27996
27997     fi
27998   fi
27999
28000
28001
28002
28003
28004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28005 $as_echo_n "checking for sincos declaration... " >&6; }
28006   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28007     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28008   $as_echo_n "(cached) " >&6
28009 else
28010
28011
28012       ac_ext=cpp
28013 ac_cpp='$CXXCPP $CPPFLAGS'
28014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28017
28018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28019 /* end confdefs.h.  */
28020 #include <math.h>
28021 int
28022 main ()
28023 {
28024  sincos(0, 0, 0);
28025   ;
28026   return 0;
28027 }
28028 _ACEOF
28029 if ac_fn_cxx_try_compile "$LINENO"; then :
28030   glibcxx_cv_func_sincos_use=yes
28031 else
28032   glibcxx_cv_func_sincos_use=no
28033 fi
28034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28035       ac_ext=c
28036 ac_cpp='$CPP $CPPFLAGS'
28037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28040
28041
28042 fi
28043
28044   fi
28045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28046 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28047
28048   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28049     for ac_func in sincos
28050 do :
28051   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28052 if test "x$ac_cv_func_sincos" = x""yes; then :
28053   cat >>confdefs.h <<_ACEOF
28054 #define HAVE_SINCOS 1
28055 _ACEOF
28056
28057 fi
28058 done
28059
28060   else
28061
28062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28063 $as_echo_n "checking for _sincos declaration... " >&6; }
28064   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28065     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28066   $as_echo_n "(cached) " >&6
28067 else
28068
28069
28070       ac_ext=cpp
28071 ac_cpp='$CXXCPP $CPPFLAGS'
28072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28075
28076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28077 /* end confdefs.h.  */
28078 #include <math.h>
28079 int
28080 main ()
28081 {
28082  _sincos(0, 0, 0);
28083   ;
28084   return 0;
28085 }
28086 _ACEOF
28087 if ac_fn_cxx_try_compile "$LINENO"; then :
28088   glibcxx_cv_func__sincos_use=yes
28089 else
28090   glibcxx_cv_func__sincos_use=no
28091 fi
28092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28093       ac_ext=c
28094 ac_cpp='$CPP $CPPFLAGS'
28095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28098
28099
28100 fi
28101
28102   fi
28103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28104 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28105
28106     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28107       for ac_func in _sincos
28108 do :
28109   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28110 if test "x$ac_cv_func__sincos" = x""yes; then :
28111   cat >>confdefs.h <<_ACEOF
28112 #define HAVE__SINCOS 1
28113 _ACEOF
28114
28115 fi
28116 done
28117
28118     fi
28119   fi
28120
28121
28122
28123
28124
28125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28126 $as_echo_n "checking for fpclass declaration... " >&6; }
28127   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28128     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28129   $as_echo_n "(cached) " >&6
28130 else
28131
28132
28133       ac_ext=cpp
28134 ac_cpp='$CXXCPP $CPPFLAGS'
28135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28138
28139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28140 /* end confdefs.h.  */
28141 #include <math.h>
28142                       #ifdef HAVE_IEEEFP_H
28143                       #include <ieeefp.h>
28144                       #endif
28145
28146 int
28147 main ()
28148 {
28149  fpclass(0);
28150   ;
28151   return 0;
28152 }
28153 _ACEOF
28154 if ac_fn_cxx_try_compile "$LINENO"; then :
28155   glibcxx_cv_func_fpclass_use=yes
28156 else
28157   glibcxx_cv_func_fpclass_use=no
28158 fi
28159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28160       ac_ext=c
28161 ac_cpp='$CPP $CPPFLAGS'
28162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28165
28166
28167 fi
28168
28169   fi
28170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28171 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28172
28173   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28174     for ac_func in fpclass
28175 do :
28176   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28177 if test "x$ac_cv_func_fpclass" = x""yes; then :
28178   cat >>confdefs.h <<_ACEOF
28179 #define HAVE_FPCLASS 1
28180 _ACEOF
28181
28182 fi
28183 done
28184
28185   else
28186
28187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28188 $as_echo_n "checking for _fpclass declaration... " >&6; }
28189   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28190     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28191   $as_echo_n "(cached) " >&6
28192 else
28193
28194
28195       ac_ext=cpp
28196 ac_cpp='$CXXCPP $CPPFLAGS'
28197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28200
28201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28202 /* end confdefs.h.  */
28203 #include <math.h>
28204                       #ifdef HAVE_IEEEFP_H
28205                       #include <ieeefp.h>
28206                       #endif
28207
28208 int
28209 main ()
28210 {
28211  _fpclass(0);
28212   ;
28213   return 0;
28214 }
28215 _ACEOF
28216 if ac_fn_cxx_try_compile "$LINENO"; then :
28217   glibcxx_cv_func__fpclass_use=yes
28218 else
28219   glibcxx_cv_func__fpclass_use=no
28220 fi
28221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28222       ac_ext=c
28223 ac_cpp='$CPP $CPPFLAGS'
28224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28227
28228
28229 fi
28230
28231   fi
28232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28233 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28234
28235     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28236       for ac_func in _fpclass
28237 do :
28238   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28239 if test "x$ac_cv_func__fpclass" = x""yes; then :
28240   cat >>confdefs.h <<_ACEOF
28241 #define HAVE__FPCLASS 1
28242 _ACEOF
28243
28244 fi
28245 done
28246
28247     fi
28248   fi
28249
28250
28251
28252
28253
28254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28255 $as_echo_n "checking for qfpclass declaration... " >&6; }
28256   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28257     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28258   $as_echo_n "(cached) " >&6
28259 else
28260
28261
28262       ac_ext=cpp
28263 ac_cpp='$CXXCPP $CPPFLAGS'
28264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28267
28268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28269 /* end confdefs.h.  */
28270 #include <math.h>
28271                       #ifdef HAVE_IEEEFP_H
28272                       #include <ieeefp.h>
28273                       #endif
28274
28275 int
28276 main ()
28277 {
28278  qfpclass(0);
28279   ;
28280   return 0;
28281 }
28282 _ACEOF
28283 if ac_fn_cxx_try_compile "$LINENO"; then :
28284   glibcxx_cv_func_qfpclass_use=yes
28285 else
28286   glibcxx_cv_func_qfpclass_use=no
28287 fi
28288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28289       ac_ext=c
28290 ac_cpp='$CPP $CPPFLAGS'
28291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28294
28295
28296 fi
28297
28298   fi
28299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28300 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28301
28302   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28303     for ac_func in qfpclass
28304 do :
28305   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28306 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28307   cat >>confdefs.h <<_ACEOF
28308 #define HAVE_QFPCLASS 1
28309 _ACEOF
28310
28311 fi
28312 done
28313
28314   else
28315
28316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28317 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28318   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28319     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28320   $as_echo_n "(cached) " >&6
28321 else
28322
28323
28324       ac_ext=cpp
28325 ac_cpp='$CXXCPP $CPPFLAGS'
28326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28329
28330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28331 /* end confdefs.h.  */
28332 #include <math.h>
28333                       #ifdef HAVE_IEEEFP_H
28334                       #include <ieeefp.h>
28335                       #endif
28336
28337 int
28338 main ()
28339 {
28340  _qfpclass(0);
28341   ;
28342   return 0;
28343 }
28344 _ACEOF
28345 if ac_fn_cxx_try_compile "$LINENO"; then :
28346   glibcxx_cv_func__qfpclass_use=yes
28347 else
28348   glibcxx_cv_func__qfpclass_use=no
28349 fi
28350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28351       ac_ext=c
28352 ac_cpp='$CPP $CPPFLAGS'
28353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28356
28357
28358 fi
28359
28360   fi
28361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28362 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28363
28364     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28365       for ac_func in _qfpclass
28366 do :
28367   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28368 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28369   cat >>confdefs.h <<_ACEOF
28370 #define HAVE__QFPCLASS 1
28371 _ACEOF
28372
28373 fi
28374 done
28375
28376     fi
28377   fi
28378
28379
28380
28381
28382
28383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28384 $as_echo_n "checking for hypot declaration... " >&6; }
28385   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28386     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28387   $as_echo_n "(cached) " >&6
28388 else
28389
28390
28391       ac_ext=cpp
28392 ac_cpp='$CXXCPP $CPPFLAGS'
28393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28396
28397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28398 /* end confdefs.h.  */
28399 #include <math.h>
28400 int
28401 main ()
28402 {
28403  hypot(0, 0);
28404   ;
28405   return 0;
28406 }
28407 _ACEOF
28408 if ac_fn_cxx_try_compile "$LINENO"; then :
28409   glibcxx_cv_func_hypot_use=yes
28410 else
28411   glibcxx_cv_func_hypot_use=no
28412 fi
28413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28414       ac_ext=c
28415 ac_cpp='$CPP $CPPFLAGS'
28416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28419
28420
28421 fi
28422
28423   fi
28424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28425 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28426
28427   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28428     for ac_func in hypot
28429 do :
28430   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28431 if test "x$ac_cv_func_hypot" = x""yes; then :
28432   cat >>confdefs.h <<_ACEOF
28433 #define HAVE_HYPOT 1
28434 _ACEOF
28435
28436 fi
28437 done
28438
28439   else
28440
28441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28442 $as_echo_n "checking for _hypot declaration... " >&6; }
28443   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28444     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28445   $as_echo_n "(cached) " >&6
28446 else
28447
28448
28449       ac_ext=cpp
28450 ac_cpp='$CXXCPP $CPPFLAGS'
28451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28454
28455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28456 /* end confdefs.h.  */
28457 #include <math.h>
28458 int
28459 main ()
28460 {
28461  _hypot(0, 0);
28462   ;
28463   return 0;
28464 }
28465 _ACEOF
28466 if ac_fn_cxx_try_compile "$LINENO"; then :
28467   glibcxx_cv_func__hypot_use=yes
28468 else
28469   glibcxx_cv_func__hypot_use=no
28470 fi
28471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28472       ac_ext=c
28473 ac_cpp='$CPP $CPPFLAGS'
28474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28477
28478
28479 fi
28480
28481   fi
28482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28483 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28484
28485     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28486       for ac_func in _hypot
28487 do :
28488   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28489 if test "x$ac_cv_func__hypot" = x""yes; then :
28490   cat >>confdefs.h <<_ACEOF
28491 #define HAVE__HYPOT 1
28492 _ACEOF
28493
28494 fi
28495 done
28496
28497     fi
28498   fi
28499
28500
28501
28502
28503
28504     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28505 $as_echo_n "checking for float trig functions... " >&6; }
28506   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28507   $as_echo_n "(cached) " >&6
28508 else
28509
28510
28511     ac_ext=cpp
28512 ac_cpp='$CXXCPP $CPPFLAGS'
28513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28516
28517     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28518 /* end confdefs.h.  */
28519 #include <math.h>
28520 int
28521 main ()
28522 {
28523 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28524   ;
28525   return 0;
28526 }
28527 _ACEOF
28528 if ac_fn_cxx_try_compile "$LINENO"; then :
28529   glibcxx_cv_func_float_trig_use=yes
28530 else
28531   glibcxx_cv_func_float_trig_use=no
28532 fi
28533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28534     ac_ext=c
28535 ac_cpp='$CPP $CPPFLAGS'
28536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28539
28540 fi
28541
28542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28543 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28544   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28545     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28546 do :
28547   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28549 eval as_val=\$$as_ac_var
28550    if test "x$as_val" = x""yes; then :
28551   cat >>confdefs.h <<_ACEOF
28552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28553 _ACEOF
28554
28555 fi
28556 done
28557
28558   else
28559     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28560 $as_echo_n "checking for _float trig functions... " >&6; }
28561     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28562   $as_echo_n "(cached) " >&6
28563 else
28564
28565
28566       ac_ext=cpp
28567 ac_cpp='$CXXCPP $CPPFLAGS'
28568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28571
28572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28573 /* end confdefs.h.  */
28574 #include <math.h>
28575 int
28576 main ()
28577 {
28578 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28579   ;
28580   return 0;
28581 }
28582 _ACEOF
28583 if ac_fn_cxx_try_compile "$LINENO"; then :
28584   glibcxx_cv_func__float_trig_use=yes
28585 else
28586   glibcxx_cv_func__float_trig_use=no
28587 fi
28588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28589       ac_ext=c
28590 ac_cpp='$CPP $CPPFLAGS'
28591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28594
28595 fi
28596
28597     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28598 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28599     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28600       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28601 do :
28602   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28604 eval as_val=\$$as_ac_var
28605    if test "x$as_val" = x""yes; then :
28606   cat >>confdefs.h <<_ACEOF
28607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28608 _ACEOF
28609
28610 fi
28611 done
28612
28613     fi
28614   fi
28615
28616
28617
28618
28619
28620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28621 $as_echo_n "checking for float round functions... " >&6; }
28622   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28623   $as_echo_n "(cached) " >&6
28624 else
28625
28626
28627     ac_ext=cpp
28628 ac_cpp='$CXXCPP $CPPFLAGS'
28629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28632
28633     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28634 /* end confdefs.h.  */
28635 #include <math.h>
28636 int
28637 main ()
28638 {
28639 ceilf (0); floorf (0);
28640   ;
28641   return 0;
28642 }
28643 _ACEOF
28644 if ac_fn_cxx_try_compile "$LINENO"; then :
28645   glibcxx_cv_func_float_round_use=yes
28646 else
28647   glibcxx_cv_func_float_round_use=no
28648 fi
28649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28650     ac_ext=c
28651 ac_cpp='$CPP $CPPFLAGS'
28652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28655
28656 fi
28657
28658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28659 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28660   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28661     for ac_func in ceilf floorf
28662 do :
28663   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28665 eval as_val=\$$as_ac_var
28666    if test "x$as_val" = x""yes; then :
28667   cat >>confdefs.h <<_ACEOF
28668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28669 _ACEOF
28670
28671 fi
28672 done
28673
28674   else
28675     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28676 $as_echo_n "checking for _float round functions... " >&6; }
28677     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28678   $as_echo_n "(cached) " >&6
28679 else
28680
28681
28682       ac_ext=cpp
28683 ac_cpp='$CXXCPP $CPPFLAGS'
28684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28687
28688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28689 /* end confdefs.h.  */
28690 #include <math.h>
28691 int
28692 main ()
28693 {
28694 _ceilf (0); _floorf (0);
28695   ;
28696   return 0;
28697 }
28698 _ACEOF
28699 if ac_fn_cxx_try_compile "$LINENO"; then :
28700   glibcxx_cv_func__float_round_use=yes
28701 else
28702   glibcxx_cv_func__float_round_use=no
28703 fi
28704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28705       ac_ext=c
28706 ac_cpp='$CPP $CPPFLAGS'
28707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28710
28711 fi
28712
28713     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28714 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28715     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28716       for ac_func in _ceilf _floorf
28717 do :
28718   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28719 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28720 eval as_val=\$$as_ac_var
28721    if test "x$as_val" = x""yes; then :
28722   cat >>confdefs.h <<_ACEOF
28723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28724 _ACEOF
28725
28726 fi
28727 done
28728
28729     fi
28730   fi
28731
28732
28733
28734
28735
28736
28737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28738 $as_echo_n "checking for expf declaration... " >&6; }
28739   if test x${glibcxx_cv_func_expf_use+set} != xset; then
28740     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28741   $as_echo_n "(cached) " >&6
28742 else
28743
28744
28745       ac_ext=cpp
28746 ac_cpp='$CXXCPP $CPPFLAGS'
28747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28750
28751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28752 /* end confdefs.h.  */
28753 #include <math.h>
28754                       #ifdef HAVE_IEEEFP_H
28755                       #include <ieeefp.h>
28756                       #endif
28757
28758 int
28759 main ()
28760 {
28761  expf(0);
28762   ;
28763   return 0;
28764 }
28765 _ACEOF
28766 if ac_fn_cxx_try_compile "$LINENO"; then :
28767   glibcxx_cv_func_expf_use=yes
28768 else
28769   glibcxx_cv_func_expf_use=no
28770 fi
28771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28772       ac_ext=c
28773 ac_cpp='$CPP $CPPFLAGS'
28774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28777
28778
28779 fi
28780
28781   fi
28782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28783 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28784
28785   if test x$glibcxx_cv_func_expf_use = x"yes"; then
28786     for ac_func in expf
28787 do :
28788   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28789 if test "x$ac_cv_func_expf" = x""yes; then :
28790   cat >>confdefs.h <<_ACEOF
28791 #define HAVE_EXPF 1
28792 _ACEOF
28793
28794 fi
28795 done
28796
28797   else
28798
28799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28800 $as_echo_n "checking for _expf declaration... " >&6; }
28801   if test x${glibcxx_cv_func__expf_use+set} != xset; then
28802     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28803   $as_echo_n "(cached) " >&6
28804 else
28805
28806
28807       ac_ext=cpp
28808 ac_cpp='$CXXCPP $CPPFLAGS'
28809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28812
28813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28814 /* end confdefs.h.  */
28815 #include <math.h>
28816                       #ifdef HAVE_IEEEFP_H
28817                       #include <ieeefp.h>
28818                       #endif
28819
28820 int
28821 main ()
28822 {
28823  _expf(0);
28824   ;
28825   return 0;
28826 }
28827 _ACEOF
28828 if ac_fn_cxx_try_compile "$LINENO"; then :
28829   glibcxx_cv_func__expf_use=yes
28830 else
28831   glibcxx_cv_func__expf_use=no
28832 fi
28833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28834       ac_ext=c
28835 ac_cpp='$CPP $CPPFLAGS'
28836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28839
28840
28841 fi
28842
28843   fi
28844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28845 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28846
28847     if test x$glibcxx_cv_func__expf_use = x"yes"; then
28848       for ac_func in _expf
28849 do :
28850   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28851 if test "x$ac_cv_func__expf" = x""yes; then :
28852   cat >>confdefs.h <<_ACEOF
28853 #define HAVE__EXPF 1
28854 _ACEOF
28855
28856 fi
28857 done
28858
28859     fi
28860   fi
28861
28862
28863
28864
28865
28866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28867 $as_echo_n "checking for isnanf declaration... " >&6; }
28868   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28869     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28870   $as_echo_n "(cached) " >&6
28871 else
28872
28873
28874       ac_ext=cpp
28875 ac_cpp='$CXXCPP $CPPFLAGS'
28876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28879
28880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28881 /* end confdefs.h.  */
28882 #include <math.h>
28883                       #ifdef HAVE_IEEEFP_H
28884                       #include <ieeefp.h>
28885                       #endif
28886
28887 int
28888 main ()
28889 {
28890  isnanf(0);
28891   ;
28892   return 0;
28893 }
28894 _ACEOF
28895 if ac_fn_cxx_try_compile "$LINENO"; then :
28896   glibcxx_cv_func_isnanf_use=yes
28897 else
28898   glibcxx_cv_func_isnanf_use=no
28899 fi
28900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28901       ac_ext=c
28902 ac_cpp='$CPP $CPPFLAGS'
28903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28906
28907
28908 fi
28909
28910   fi
28911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28912 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28913
28914   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28915     for ac_func in isnanf
28916 do :
28917   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28918 if test "x$ac_cv_func_isnanf" = x""yes; then :
28919   cat >>confdefs.h <<_ACEOF
28920 #define HAVE_ISNANF 1
28921 _ACEOF
28922
28923 fi
28924 done
28925
28926   else
28927
28928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28929 $as_echo_n "checking for _isnanf declaration... " >&6; }
28930   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28931     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28932   $as_echo_n "(cached) " >&6
28933 else
28934
28935
28936       ac_ext=cpp
28937 ac_cpp='$CXXCPP $CPPFLAGS'
28938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28941
28942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28943 /* end confdefs.h.  */
28944 #include <math.h>
28945                       #ifdef HAVE_IEEEFP_H
28946                       #include <ieeefp.h>
28947                       #endif
28948
28949 int
28950 main ()
28951 {
28952  _isnanf(0);
28953   ;
28954   return 0;
28955 }
28956 _ACEOF
28957 if ac_fn_cxx_try_compile "$LINENO"; then :
28958   glibcxx_cv_func__isnanf_use=yes
28959 else
28960   glibcxx_cv_func__isnanf_use=no
28961 fi
28962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28963       ac_ext=c
28964 ac_cpp='$CPP $CPPFLAGS'
28965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28968
28969
28970 fi
28971
28972   fi
28973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28974 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28975
28976     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28977       for ac_func in _isnanf
28978 do :
28979   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28980 if test "x$ac_cv_func__isnanf" = x""yes; then :
28981   cat >>confdefs.h <<_ACEOF
28982 #define HAVE__ISNANF 1
28983 _ACEOF
28984
28985 fi
28986 done
28987
28988     fi
28989   fi
28990
28991
28992
28993
28994
28995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28996 $as_echo_n "checking for isinff declaration... " >&6; }
28997   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28998     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28999   $as_echo_n "(cached) " >&6
29000 else
29001
29002
29003       ac_ext=cpp
29004 ac_cpp='$CXXCPP $CPPFLAGS'
29005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29008
29009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29010 /* end confdefs.h.  */
29011 #include <math.h>
29012                       #ifdef HAVE_IEEEFP_H
29013                       #include <ieeefp.h>
29014                       #endif
29015
29016 int
29017 main ()
29018 {
29019  isinff(0);
29020   ;
29021   return 0;
29022 }
29023 _ACEOF
29024 if ac_fn_cxx_try_compile "$LINENO"; then :
29025   glibcxx_cv_func_isinff_use=yes
29026 else
29027   glibcxx_cv_func_isinff_use=no
29028 fi
29029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29030       ac_ext=c
29031 ac_cpp='$CPP $CPPFLAGS'
29032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29035
29036
29037 fi
29038
29039   fi
29040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29041 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29042
29043   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29044     for ac_func in isinff
29045 do :
29046   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29047 if test "x$ac_cv_func_isinff" = x""yes; then :
29048   cat >>confdefs.h <<_ACEOF
29049 #define HAVE_ISINFF 1
29050 _ACEOF
29051
29052 fi
29053 done
29054
29055   else
29056
29057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29058 $as_echo_n "checking for _isinff declaration... " >&6; }
29059   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29060     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29061   $as_echo_n "(cached) " >&6
29062 else
29063
29064
29065       ac_ext=cpp
29066 ac_cpp='$CXXCPP $CPPFLAGS'
29067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29070
29071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29072 /* end confdefs.h.  */
29073 #include <math.h>
29074                       #ifdef HAVE_IEEEFP_H
29075                       #include <ieeefp.h>
29076                       #endif
29077
29078 int
29079 main ()
29080 {
29081  _isinff(0);
29082   ;
29083   return 0;
29084 }
29085 _ACEOF
29086 if ac_fn_cxx_try_compile "$LINENO"; then :
29087   glibcxx_cv_func__isinff_use=yes
29088 else
29089   glibcxx_cv_func__isinff_use=no
29090 fi
29091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29092       ac_ext=c
29093 ac_cpp='$CPP $CPPFLAGS'
29094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29097
29098
29099 fi
29100
29101   fi
29102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29103 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29104
29105     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29106       for ac_func in _isinff
29107 do :
29108   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29109 if test "x$ac_cv_func__isinff" = x""yes; then :
29110   cat >>confdefs.h <<_ACEOF
29111 #define HAVE__ISINFF 1
29112 _ACEOF
29113
29114 fi
29115 done
29116
29117     fi
29118   fi
29119
29120
29121
29122
29123
29124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29125 $as_echo_n "checking for atan2f declaration... " >&6; }
29126   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29127     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29128   $as_echo_n "(cached) " >&6
29129 else
29130
29131
29132       ac_ext=cpp
29133 ac_cpp='$CXXCPP $CPPFLAGS'
29134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29137
29138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29139 /* end confdefs.h.  */
29140 #include <math.h>
29141 int
29142 main ()
29143 {
29144  atan2f(0, 0);
29145   ;
29146   return 0;
29147 }
29148 _ACEOF
29149 if ac_fn_cxx_try_compile "$LINENO"; then :
29150   glibcxx_cv_func_atan2f_use=yes
29151 else
29152   glibcxx_cv_func_atan2f_use=no
29153 fi
29154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29155       ac_ext=c
29156 ac_cpp='$CPP $CPPFLAGS'
29157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29160
29161
29162 fi
29163
29164   fi
29165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29166 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29167
29168   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29169     for ac_func in atan2f
29170 do :
29171   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29172 if test "x$ac_cv_func_atan2f" = x""yes; then :
29173   cat >>confdefs.h <<_ACEOF
29174 #define HAVE_ATAN2F 1
29175 _ACEOF
29176
29177 fi
29178 done
29179
29180   else
29181
29182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29183 $as_echo_n "checking for _atan2f declaration... " >&6; }
29184   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29185     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29186   $as_echo_n "(cached) " >&6
29187 else
29188
29189
29190       ac_ext=cpp
29191 ac_cpp='$CXXCPP $CPPFLAGS'
29192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29195
29196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29197 /* end confdefs.h.  */
29198 #include <math.h>
29199 int
29200 main ()
29201 {
29202  _atan2f(0, 0);
29203   ;
29204   return 0;
29205 }
29206 _ACEOF
29207 if ac_fn_cxx_try_compile "$LINENO"; then :
29208   glibcxx_cv_func__atan2f_use=yes
29209 else
29210   glibcxx_cv_func__atan2f_use=no
29211 fi
29212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29213       ac_ext=c
29214 ac_cpp='$CPP $CPPFLAGS'
29215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29218
29219
29220 fi
29221
29222   fi
29223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29224 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29225
29226     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29227       for ac_func in _atan2f
29228 do :
29229   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29230 if test "x$ac_cv_func__atan2f" = x""yes; then :
29231   cat >>confdefs.h <<_ACEOF
29232 #define HAVE__ATAN2F 1
29233 _ACEOF
29234
29235 fi
29236 done
29237
29238     fi
29239   fi
29240
29241
29242
29243
29244
29245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29246 $as_echo_n "checking for fabsf declaration... " >&6; }
29247   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29248     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29249   $as_echo_n "(cached) " >&6
29250 else
29251
29252
29253       ac_ext=cpp
29254 ac_cpp='$CXXCPP $CPPFLAGS'
29255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29258
29259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29260 /* end confdefs.h.  */
29261 #include <math.h>
29262                       #ifdef HAVE_IEEEFP_H
29263                       #include <ieeefp.h>
29264                       #endif
29265
29266 int
29267 main ()
29268 {
29269  fabsf(0);
29270   ;
29271   return 0;
29272 }
29273 _ACEOF
29274 if ac_fn_cxx_try_compile "$LINENO"; then :
29275   glibcxx_cv_func_fabsf_use=yes
29276 else
29277   glibcxx_cv_func_fabsf_use=no
29278 fi
29279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29280       ac_ext=c
29281 ac_cpp='$CPP $CPPFLAGS'
29282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29285
29286
29287 fi
29288
29289   fi
29290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29291 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29292
29293   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29294     for ac_func in fabsf
29295 do :
29296   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29297 if test "x$ac_cv_func_fabsf" = x""yes; then :
29298   cat >>confdefs.h <<_ACEOF
29299 #define HAVE_FABSF 1
29300 _ACEOF
29301
29302 fi
29303 done
29304
29305   else
29306
29307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29308 $as_echo_n "checking for _fabsf declaration... " >&6; }
29309   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29310     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29311   $as_echo_n "(cached) " >&6
29312 else
29313
29314
29315       ac_ext=cpp
29316 ac_cpp='$CXXCPP $CPPFLAGS'
29317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29320
29321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29322 /* end confdefs.h.  */
29323 #include <math.h>
29324                       #ifdef HAVE_IEEEFP_H
29325                       #include <ieeefp.h>
29326                       #endif
29327
29328 int
29329 main ()
29330 {
29331  _fabsf(0);
29332   ;
29333   return 0;
29334 }
29335 _ACEOF
29336 if ac_fn_cxx_try_compile "$LINENO"; then :
29337   glibcxx_cv_func__fabsf_use=yes
29338 else
29339   glibcxx_cv_func__fabsf_use=no
29340 fi
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29342       ac_ext=c
29343 ac_cpp='$CPP $CPPFLAGS'
29344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29347
29348
29349 fi
29350
29351   fi
29352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29353 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29354
29355     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29356       for ac_func in _fabsf
29357 do :
29358   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29359 if test "x$ac_cv_func__fabsf" = x""yes; then :
29360   cat >>confdefs.h <<_ACEOF
29361 #define HAVE__FABSF 1
29362 _ACEOF
29363
29364 fi
29365 done
29366
29367     fi
29368   fi
29369
29370
29371
29372
29373
29374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29375 $as_echo_n "checking for fmodf declaration... " >&6; }
29376   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29377     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29378   $as_echo_n "(cached) " >&6
29379 else
29380
29381
29382       ac_ext=cpp
29383 ac_cpp='$CXXCPP $CPPFLAGS'
29384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29387
29388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29389 /* end confdefs.h.  */
29390 #include <math.h>
29391 int
29392 main ()
29393 {
29394  fmodf(0, 0);
29395   ;
29396   return 0;
29397 }
29398 _ACEOF
29399 if ac_fn_cxx_try_compile "$LINENO"; then :
29400   glibcxx_cv_func_fmodf_use=yes
29401 else
29402   glibcxx_cv_func_fmodf_use=no
29403 fi
29404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29405       ac_ext=c
29406 ac_cpp='$CPP $CPPFLAGS'
29407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29410
29411
29412 fi
29413
29414   fi
29415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29416 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29417
29418   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29419     for ac_func in fmodf
29420 do :
29421   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29422 if test "x$ac_cv_func_fmodf" = x""yes; then :
29423   cat >>confdefs.h <<_ACEOF
29424 #define HAVE_FMODF 1
29425 _ACEOF
29426
29427 fi
29428 done
29429
29430   else
29431
29432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29433 $as_echo_n "checking for _fmodf declaration... " >&6; }
29434   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29435     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29436   $as_echo_n "(cached) " >&6
29437 else
29438
29439
29440       ac_ext=cpp
29441 ac_cpp='$CXXCPP $CPPFLAGS'
29442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29445
29446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29447 /* end confdefs.h.  */
29448 #include <math.h>
29449 int
29450 main ()
29451 {
29452  _fmodf(0, 0);
29453   ;
29454   return 0;
29455 }
29456 _ACEOF
29457 if ac_fn_cxx_try_compile "$LINENO"; then :
29458   glibcxx_cv_func__fmodf_use=yes
29459 else
29460   glibcxx_cv_func__fmodf_use=no
29461 fi
29462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29463       ac_ext=c
29464 ac_cpp='$CPP $CPPFLAGS'
29465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29468
29469
29470 fi
29471
29472   fi
29473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29474 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29475
29476     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29477       for ac_func in _fmodf
29478 do :
29479   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29480 if test "x$ac_cv_func__fmodf" = x""yes; then :
29481   cat >>confdefs.h <<_ACEOF
29482 #define HAVE__FMODF 1
29483 _ACEOF
29484
29485 fi
29486 done
29487
29488     fi
29489   fi
29490
29491
29492
29493
29494
29495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29496 $as_echo_n "checking for frexpf declaration... " >&6; }
29497   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29498     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29499   $as_echo_n "(cached) " >&6
29500 else
29501
29502
29503       ac_ext=cpp
29504 ac_cpp='$CXXCPP $CPPFLAGS'
29505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29508
29509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29510 /* end confdefs.h.  */
29511 #include <math.h>
29512 int
29513 main ()
29514 {
29515  frexpf(0, 0);
29516   ;
29517   return 0;
29518 }
29519 _ACEOF
29520 if ac_fn_cxx_try_compile "$LINENO"; then :
29521   glibcxx_cv_func_frexpf_use=yes
29522 else
29523   glibcxx_cv_func_frexpf_use=no
29524 fi
29525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29526       ac_ext=c
29527 ac_cpp='$CPP $CPPFLAGS'
29528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29531
29532
29533 fi
29534
29535   fi
29536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29537 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29538
29539   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29540     for ac_func in frexpf
29541 do :
29542   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29543 if test "x$ac_cv_func_frexpf" = x""yes; then :
29544   cat >>confdefs.h <<_ACEOF
29545 #define HAVE_FREXPF 1
29546 _ACEOF
29547
29548 fi
29549 done
29550
29551   else
29552
29553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29554 $as_echo_n "checking for _frexpf declaration... " >&6; }
29555   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29556     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29557   $as_echo_n "(cached) " >&6
29558 else
29559
29560
29561       ac_ext=cpp
29562 ac_cpp='$CXXCPP $CPPFLAGS'
29563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29566
29567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29568 /* end confdefs.h.  */
29569 #include <math.h>
29570 int
29571 main ()
29572 {
29573  _frexpf(0, 0);
29574   ;
29575   return 0;
29576 }
29577 _ACEOF
29578 if ac_fn_cxx_try_compile "$LINENO"; then :
29579   glibcxx_cv_func__frexpf_use=yes
29580 else
29581   glibcxx_cv_func__frexpf_use=no
29582 fi
29583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29584       ac_ext=c
29585 ac_cpp='$CPP $CPPFLAGS'
29586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29589
29590
29591 fi
29592
29593   fi
29594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29595 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29596
29597     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29598       for ac_func in _frexpf
29599 do :
29600   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29601 if test "x$ac_cv_func__frexpf" = x""yes; then :
29602   cat >>confdefs.h <<_ACEOF
29603 #define HAVE__FREXPF 1
29604 _ACEOF
29605
29606 fi
29607 done
29608
29609     fi
29610   fi
29611
29612
29613
29614
29615
29616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29617 $as_echo_n "checking for hypotf declaration... " >&6; }
29618   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29619     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29620   $as_echo_n "(cached) " >&6
29621 else
29622
29623
29624       ac_ext=cpp
29625 ac_cpp='$CXXCPP $CPPFLAGS'
29626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29629
29630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29631 /* end confdefs.h.  */
29632 #include <math.h>
29633 int
29634 main ()
29635 {
29636  hypotf(0, 0);
29637   ;
29638   return 0;
29639 }
29640 _ACEOF
29641 if ac_fn_cxx_try_compile "$LINENO"; then :
29642   glibcxx_cv_func_hypotf_use=yes
29643 else
29644   glibcxx_cv_func_hypotf_use=no
29645 fi
29646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29647       ac_ext=c
29648 ac_cpp='$CPP $CPPFLAGS'
29649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29652
29653
29654 fi
29655
29656   fi
29657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29658 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29659
29660   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29661     for ac_func in hypotf
29662 do :
29663   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29664 if test "x$ac_cv_func_hypotf" = x""yes; then :
29665   cat >>confdefs.h <<_ACEOF
29666 #define HAVE_HYPOTF 1
29667 _ACEOF
29668
29669 fi
29670 done
29671
29672   else
29673
29674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29675 $as_echo_n "checking for _hypotf declaration... " >&6; }
29676   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29677     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29678   $as_echo_n "(cached) " >&6
29679 else
29680
29681
29682       ac_ext=cpp
29683 ac_cpp='$CXXCPP $CPPFLAGS'
29684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29687
29688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29689 /* end confdefs.h.  */
29690 #include <math.h>
29691 int
29692 main ()
29693 {
29694  _hypotf(0, 0);
29695   ;
29696   return 0;
29697 }
29698 _ACEOF
29699 if ac_fn_cxx_try_compile "$LINENO"; then :
29700   glibcxx_cv_func__hypotf_use=yes
29701 else
29702   glibcxx_cv_func__hypotf_use=no
29703 fi
29704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29705       ac_ext=c
29706 ac_cpp='$CPP $CPPFLAGS'
29707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29710
29711
29712 fi
29713
29714   fi
29715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29716 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29717
29718     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29719       for ac_func in _hypotf
29720 do :
29721   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29722 if test "x$ac_cv_func__hypotf" = x""yes; then :
29723   cat >>confdefs.h <<_ACEOF
29724 #define HAVE__HYPOTF 1
29725 _ACEOF
29726
29727 fi
29728 done
29729
29730     fi
29731   fi
29732
29733
29734
29735
29736
29737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29738 $as_echo_n "checking for ldexpf declaration... " >&6; }
29739   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29740     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29741   $as_echo_n "(cached) " >&6
29742 else
29743
29744
29745       ac_ext=cpp
29746 ac_cpp='$CXXCPP $CPPFLAGS'
29747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29750
29751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29752 /* end confdefs.h.  */
29753 #include <math.h>
29754 int
29755 main ()
29756 {
29757  ldexpf(0, 0);
29758   ;
29759   return 0;
29760 }
29761 _ACEOF
29762 if ac_fn_cxx_try_compile "$LINENO"; then :
29763   glibcxx_cv_func_ldexpf_use=yes
29764 else
29765   glibcxx_cv_func_ldexpf_use=no
29766 fi
29767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29768       ac_ext=c
29769 ac_cpp='$CPP $CPPFLAGS'
29770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29773
29774
29775 fi
29776
29777   fi
29778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29779 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29780
29781   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29782     for ac_func in ldexpf
29783 do :
29784   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29785 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29786   cat >>confdefs.h <<_ACEOF
29787 #define HAVE_LDEXPF 1
29788 _ACEOF
29789
29790 fi
29791 done
29792
29793   else
29794
29795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29796 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29797   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29798     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29799   $as_echo_n "(cached) " >&6
29800 else
29801
29802
29803       ac_ext=cpp
29804 ac_cpp='$CXXCPP $CPPFLAGS'
29805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29808
29809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29810 /* end confdefs.h.  */
29811 #include <math.h>
29812 int
29813 main ()
29814 {
29815  _ldexpf(0, 0);
29816   ;
29817   return 0;
29818 }
29819 _ACEOF
29820 if ac_fn_cxx_try_compile "$LINENO"; then :
29821   glibcxx_cv_func__ldexpf_use=yes
29822 else
29823   glibcxx_cv_func__ldexpf_use=no
29824 fi
29825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29826       ac_ext=c
29827 ac_cpp='$CPP $CPPFLAGS'
29828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29831
29832
29833 fi
29834
29835   fi
29836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29837 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29838
29839     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29840       for ac_func in _ldexpf
29841 do :
29842   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29843 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29844   cat >>confdefs.h <<_ACEOF
29845 #define HAVE__LDEXPF 1
29846 _ACEOF
29847
29848 fi
29849 done
29850
29851     fi
29852   fi
29853
29854
29855
29856
29857
29858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29859 $as_echo_n "checking for logf declaration... " >&6; }
29860   if test x${glibcxx_cv_func_logf_use+set} != xset; then
29861     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29862   $as_echo_n "(cached) " >&6
29863 else
29864
29865
29866       ac_ext=cpp
29867 ac_cpp='$CXXCPP $CPPFLAGS'
29868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29871
29872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29873 /* end confdefs.h.  */
29874 #include <math.h>
29875                       #ifdef HAVE_IEEEFP_H
29876                       #include <ieeefp.h>
29877                       #endif
29878
29879 int
29880 main ()
29881 {
29882  logf(0);
29883   ;
29884   return 0;
29885 }
29886 _ACEOF
29887 if ac_fn_cxx_try_compile "$LINENO"; then :
29888   glibcxx_cv_func_logf_use=yes
29889 else
29890   glibcxx_cv_func_logf_use=no
29891 fi
29892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29893       ac_ext=c
29894 ac_cpp='$CPP $CPPFLAGS'
29895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29898
29899
29900 fi
29901
29902   fi
29903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29904 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29905
29906   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29907     for ac_func in logf
29908 do :
29909   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29910 if test "x$ac_cv_func_logf" = x""yes; then :
29911   cat >>confdefs.h <<_ACEOF
29912 #define HAVE_LOGF 1
29913 _ACEOF
29914
29915 fi
29916 done
29917
29918   else
29919
29920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29921 $as_echo_n "checking for _logf declaration... " >&6; }
29922   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29923     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29924   $as_echo_n "(cached) " >&6
29925 else
29926
29927
29928       ac_ext=cpp
29929 ac_cpp='$CXXCPP $CPPFLAGS'
29930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29933
29934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29935 /* end confdefs.h.  */
29936 #include <math.h>
29937                       #ifdef HAVE_IEEEFP_H
29938                       #include <ieeefp.h>
29939                       #endif
29940
29941 int
29942 main ()
29943 {
29944  _logf(0);
29945   ;
29946   return 0;
29947 }
29948 _ACEOF
29949 if ac_fn_cxx_try_compile "$LINENO"; then :
29950   glibcxx_cv_func__logf_use=yes
29951 else
29952   glibcxx_cv_func__logf_use=no
29953 fi
29954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29955       ac_ext=c
29956 ac_cpp='$CPP $CPPFLAGS'
29957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29960
29961
29962 fi
29963
29964   fi
29965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29966 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29967
29968     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29969       for ac_func in _logf
29970 do :
29971   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29972 if test "x$ac_cv_func__logf" = x""yes; then :
29973   cat >>confdefs.h <<_ACEOF
29974 #define HAVE__LOGF 1
29975 _ACEOF
29976
29977 fi
29978 done
29979
29980     fi
29981   fi
29982
29983
29984
29985
29986
29987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29988 $as_echo_n "checking for log10f declaration... " >&6; }
29989   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29990     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29991   $as_echo_n "(cached) " >&6
29992 else
29993
29994
29995       ac_ext=cpp
29996 ac_cpp='$CXXCPP $CPPFLAGS'
29997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30000
30001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30002 /* end confdefs.h.  */
30003 #include <math.h>
30004                       #ifdef HAVE_IEEEFP_H
30005                       #include <ieeefp.h>
30006                       #endif
30007
30008 int
30009 main ()
30010 {
30011  log10f(0);
30012   ;
30013   return 0;
30014 }
30015 _ACEOF
30016 if ac_fn_cxx_try_compile "$LINENO"; then :
30017   glibcxx_cv_func_log10f_use=yes
30018 else
30019   glibcxx_cv_func_log10f_use=no
30020 fi
30021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30022       ac_ext=c
30023 ac_cpp='$CPP $CPPFLAGS'
30024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30027
30028
30029 fi
30030
30031   fi
30032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30033 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30034
30035   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30036     for ac_func in log10f
30037 do :
30038   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30039 if test "x$ac_cv_func_log10f" = x""yes; then :
30040   cat >>confdefs.h <<_ACEOF
30041 #define HAVE_LOG10F 1
30042 _ACEOF
30043
30044 fi
30045 done
30046
30047   else
30048
30049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30050 $as_echo_n "checking for _log10f declaration... " >&6; }
30051   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30052     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30053   $as_echo_n "(cached) " >&6
30054 else
30055
30056
30057       ac_ext=cpp
30058 ac_cpp='$CXXCPP $CPPFLAGS'
30059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30062
30063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30064 /* end confdefs.h.  */
30065 #include <math.h>
30066                       #ifdef HAVE_IEEEFP_H
30067                       #include <ieeefp.h>
30068                       #endif
30069
30070 int
30071 main ()
30072 {
30073  _log10f(0);
30074   ;
30075   return 0;
30076 }
30077 _ACEOF
30078 if ac_fn_cxx_try_compile "$LINENO"; then :
30079   glibcxx_cv_func__log10f_use=yes
30080 else
30081   glibcxx_cv_func__log10f_use=no
30082 fi
30083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30084       ac_ext=c
30085 ac_cpp='$CPP $CPPFLAGS'
30086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30089
30090
30091 fi
30092
30093   fi
30094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30095 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30096
30097     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30098       for ac_func in _log10f
30099 do :
30100   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30101 if test "x$ac_cv_func__log10f" = x""yes; then :
30102   cat >>confdefs.h <<_ACEOF
30103 #define HAVE__LOG10F 1
30104 _ACEOF
30105
30106 fi
30107 done
30108
30109     fi
30110   fi
30111
30112
30113
30114
30115
30116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30117 $as_echo_n "checking for modff declaration... " >&6; }
30118   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30119     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30120   $as_echo_n "(cached) " >&6
30121 else
30122
30123
30124       ac_ext=cpp
30125 ac_cpp='$CXXCPP $CPPFLAGS'
30126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30129
30130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30131 /* end confdefs.h.  */
30132 #include <math.h>
30133 int
30134 main ()
30135 {
30136  modff(0, 0);
30137   ;
30138   return 0;
30139 }
30140 _ACEOF
30141 if ac_fn_cxx_try_compile "$LINENO"; then :
30142   glibcxx_cv_func_modff_use=yes
30143 else
30144   glibcxx_cv_func_modff_use=no
30145 fi
30146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30147       ac_ext=c
30148 ac_cpp='$CPP $CPPFLAGS'
30149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30152
30153
30154 fi
30155
30156   fi
30157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30158 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30159
30160   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30161     for ac_func in modff
30162 do :
30163   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30164 if test "x$ac_cv_func_modff" = x""yes; then :
30165   cat >>confdefs.h <<_ACEOF
30166 #define HAVE_MODFF 1
30167 _ACEOF
30168
30169 fi
30170 done
30171
30172   else
30173
30174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30175 $as_echo_n "checking for _modff declaration... " >&6; }
30176   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30177     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30178   $as_echo_n "(cached) " >&6
30179 else
30180
30181
30182       ac_ext=cpp
30183 ac_cpp='$CXXCPP $CPPFLAGS'
30184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30187
30188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30189 /* end confdefs.h.  */
30190 #include <math.h>
30191 int
30192 main ()
30193 {
30194  _modff(0, 0);
30195   ;
30196   return 0;
30197 }
30198 _ACEOF
30199 if ac_fn_cxx_try_compile "$LINENO"; then :
30200   glibcxx_cv_func__modff_use=yes
30201 else
30202   glibcxx_cv_func__modff_use=no
30203 fi
30204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30205       ac_ext=c
30206 ac_cpp='$CPP $CPPFLAGS'
30207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30210
30211
30212 fi
30213
30214   fi
30215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30216 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30217
30218     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30219       for ac_func in _modff
30220 do :
30221   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30222 if test "x$ac_cv_func__modff" = x""yes; then :
30223   cat >>confdefs.h <<_ACEOF
30224 #define HAVE__MODFF 1
30225 _ACEOF
30226
30227 fi
30228 done
30229
30230     fi
30231   fi
30232
30233
30234
30235
30236
30237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30238 $as_echo_n "checking for modf declaration... " >&6; }
30239   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30240     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30241   $as_echo_n "(cached) " >&6
30242 else
30243
30244
30245       ac_ext=cpp
30246 ac_cpp='$CXXCPP $CPPFLAGS'
30247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30250
30251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30252 /* end confdefs.h.  */
30253 #include <math.h>
30254 int
30255 main ()
30256 {
30257  modf(0, 0);
30258   ;
30259   return 0;
30260 }
30261 _ACEOF
30262 if ac_fn_cxx_try_compile "$LINENO"; then :
30263   glibcxx_cv_func_modf_use=yes
30264 else
30265   glibcxx_cv_func_modf_use=no
30266 fi
30267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30268       ac_ext=c
30269 ac_cpp='$CPP $CPPFLAGS'
30270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30273
30274
30275 fi
30276
30277   fi
30278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30279 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30280
30281   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30282     for ac_func in modf
30283 do :
30284   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30285 if test "x$ac_cv_func_modf" = x""yes; then :
30286   cat >>confdefs.h <<_ACEOF
30287 #define HAVE_MODF 1
30288 _ACEOF
30289
30290 fi
30291 done
30292
30293   else
30294
30295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30296 $as_echo_n "checking for _modf declaration... " >&6; }
30297   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30298     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30299   $as_echo_n "(cached) " >&6
30300 else
30301
30302
30303       ac_ext=cpp
30304 ac_cpp='$CXXCPP $CPPFLAGS'
30305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30308
30309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30310 /* end confdefs.h.  */
30311 #include <math.h>
30312 int
30313 main ()
30314 {
30315  _modf(0, 0);
30316   ;
30317   return 0;
30318 }
30319 _ACEOF
30320 if ac_fn_cxx_try_compile "$LINENO"; then :
30321   glibcxx_cv_func__modf_use=yes
30322 else
30323   glibcxx_cv_func__modf_use=no
30324 fi
30325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30326       ac_ext=c
30327 ac_cpp='$CPP $CPPFLAGS'
30328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30331
30332
30333 fi
30334
30335   fi
30336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30337 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30338
30339     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30340       for ac_func in _modf
30341 do :
30342   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30343 if test "x$ac_cv_func__modf" = x""yes; then :
30344   cat >>confdefs.h <<_ACEOF
30345 #define HAVE__MODF 1
30346 _ACEOF
30347
30348 fi
30349 done
30350
30351     fi
30352   fi
30353
30354
30355
30356
30357
30358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30359 $as_echo_n "checking for powf declaration... " >&6; }
30360   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30361     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30362   $as_echo_n "(cached) " >&6
30363 else
30364
30365
30366       ac_ext=cpp
30367 ac_cpp='$CXXCPP $CPPFLAGS'
30368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30371
30372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30373 /* end confdefs.h.  */
30374 #include <math.h>
30375 int
30376 main ()
30377 {
30378  powf(0, 0);
30379   ;
30380   return 0;
30381 }
30382 _ACEOF
30383 if ac_fn_cxx_try_compile "$LINENO"; then :
30384   glibcxx_cv_func_powf_use=yes
30385 else
30386   glibcxx_cv_func_powf_use=no
30387 fi
30388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30389       ac_ext=c
30390 ac_cpp='$CPP $CPPFLAGS'
30391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30394
30395
30396 fi
30397
30398   fi
30399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30400 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30401
30402   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30403     for ac_func in powf
30404 do :
30405   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30406 if test "x$ac_cv_func_powf" = x""yes; then :
30407   cat >>confdefs.h <<_ACEOF
30408 #define HAVE_POWF 1
30409 _ACEOF
30410
30411 fi
30412 done
30413
30414   else
30415
30416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30417 $as_echo_n "checking for _powf declaration... " >&6; }
30418   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30419     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30420   $as_echo_n "(cached) " >&6
30421 else
30422
30423
30424       ac_ext=cpp
30425 ac_cpp='$CXXCPP $CPPFLAGS'
30426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30429
30430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30431 /* end confdefs.h.  */
30432 #include <math.h>
30433 int
30434 main ()
30435 {
30436  _powf(0, 0);
30437   ;
30438   return 0;
30439 }
30440 _ACEOF
30441 if ac_fn_cxx_try_compile "$LINENO"; then :
30442   glibcxx_cv_func__powf_use=yes
30443 else
30444   glibcxx_cv_func__powf_use=no
30445 fi
30446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30447       ac_ext=c
30448 ac_cpp='$CPP $CPPFLAGS'
30449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30452
30453
30454 fi
30455
30456   fi
30457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30458 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30459
30460     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30461       for ac_func in _powf
30462 do :
30463   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30464 if test "x$ac_cv_func__powf" = x""yes; then :
30465   cat >>confdefs.h <<_ACEOF
30466 #define HAVE__POWF 1
30467 _ACEOF
30468
30469 fi
30470 done
30471
30472     fi
30473   fi
30474
30475
30476
30477
30478
30479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30480 $as_echo_n "checking for sqrtf declaration... " >&6; }
30481   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30482     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30483   $as_echo_n "(cached) " >&6
30484 else
30485
30486
30487       ac_ext=cpp
30488 ac_cpp='$CXXCPP $CPPFLAGS'
30489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30492
30493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30494 /* end confdefs.h.  */
30495 #include <math.h>
30496                       #ifdef HAVE_IEEEFP_H
30497                       #include <ieeefp.h>
30498                       #endif
30499
30500 int
30501 main ()
30502 {
30503  sqrtf(0);
30504   ;
30505   return 0;
30506 }
30507 _ACEOF
30508 if ac_fn_cxx_try_compile "$LINENO"; then :
30509   glibcxx_cv_func_sqrtf_use=yes
30510 else
30511   glibcxx_cv_func_sqrtf_use=no
30512 fi
30513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30514       ac_ext=c
30515 ac_cpp='$CPP $CPPFLAGS'
30516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30519
30520
30521 fi
30522
30523   fi
30524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30525 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30526
30527   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30528     for ac_func in sqrtf
30529 do :
30530   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30531 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30532   cat >>confdefs.h <<_ACEOF
30533 #define HAVE_SQRTF 1
30534 _ACEOF
30535
30536 fi
30537 done
30538
30539   else
30540
30541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30542 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30543   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30544     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30545   $as_echo_n "(cached) " >&6
30546 else
30547
30548
30549       ac_ext=cpp
30550 ac_cpp='$CXXCPP $CPPFLAGS'
30551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30554
30555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30556 /* end confdefs.h.  */
30557 #include <math.h>
30558                       #ifdef HAVE_IEEEFP_H
30559                       #include <ieeefp.h>
30560                       #endif
30561
30562 int
30563 main ()
30564 {
30565  _sqrtf(0);
30566   ;
30567   return 0;
30568 }
30569 _ACEOF
30570 if ac_fn_cxx_try_compile "$LINENO"; then :
30571   glibcxx_cv_func__sqrtf_use=yes
30572 else
30573   glibcxx_cv_func__sqrtf_use=no
30574 fi
30575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30576       ac_ext=c
30577 ac_cpp='$CPP $CPPFLAGS'
30578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30581
30582
30583 fi
30584
30585   fi
30586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30587 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30588
30589     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30590       for ac_func in _sqrtf
30591 do :
30592   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30593 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30594   cat >>confdefs.h <<_ACEOF
30595 #define HAVE__SQRTF 1
30596 _ACEOF
30597
30598 fi
30599 done
30600
30601     fi
30602   fi
30603
30604
30605
30606
30607
30608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30609 $as_echo_n "checking for sincosf declaration... " >&6; }
30610   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30611     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30612   $as_echo_n "(cached) " >&6
30613 else
30614
30615
30616       ac_ext=cpp
30617 ac_cpp='$CXXCPP $CPPFLAGS'
30618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30621
30622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30623 /* end confdefs.h.  */
30624 #include <math.h>
30625 int
30626 main ()
30627 {
30628  sincosf(0, 0, 0);
30629   ;
30630   return 0;
30631 }
30632 _ACEOF
30633 if ac_fn_cxx_try_compile "$LINENO"; then :
30634   glibcxx_cv_func_sincosf_use=yes
30635 else
30636   glibcxx_cv_func_sincosf_use=no
30637 fi
30638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30639       ac_ext=c
30640 ac_cpp='$CPP $CPPFLAGS'
30641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30644
30645
30646 fi
30647
30648   fi
30649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30650 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30651
30652   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30653     for ac_func in sincosf
30654 do :
30655   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30656 if test "x$ac_cv_func_sincosf" = x""yes; then :
30657   cat >>confdefs.h <<_ACEOF
30658 #define HAVE_SINCOSF 1
30659 _ACEOF
30660
30661 fi
30662 done
30663
30664   else
30665
30666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30667 $as_echo_n "checking for _sincosf declaration... " >&6; }
30668   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30669     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30670   $as_echo_n "(cached) " >&6
30671 else
30672
30673
30674       ac_ext=cpp
30675 ac_cpp='$CXXCPP $CPPFLAGS'
30676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30679
30680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30681 /* end confdefs.h.  */
30682 #include <math.h>
30683 int
30684 main ()
30685 {
30686  _sincosf(0, 0, 0);
30687   ;
30688   return 0;
30689 }
30690 _ACEOF
30691 if ac_fn_cxx_try_compile "$LINENO"; then :
30692   glibcxx_cv_func__sincosf_use=yes
30693 else
30694   glibcxx_cv_func__sincosf_use=no
30695 fi
30696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30697       ac_ext=c
30698 ac_cpp='$CPP $CPPFLAGS'
30699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30702
30703
30704 fi
30705
30706   fi
30707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30708 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30709
30710     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30711       for ac_func in _sincosf
30712 do :
30713   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30714 if test "x$ac_cv_func__sincosf" = x""yes; then :
30715   cat >>confdefs.h <<_ACEOF
30716 #define HAVE__SINCOSF 1
30717 _ACEOF
30718
30719 fi
30720 done
30721
30722     fi
30723   fi
30724
30725
30726
30727
30728
30729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30730 $as_echo_n "checking for finitef declaration... " >&6; }
30731   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30732     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30733   $as_echo_n "(cached) " >&6
30734 else
30735
30736
30737       ac_ext=cpp
30738 ac_cpp='$CXXCPP $CPPFLAGS'
30739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30742
30743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30744 /* end confdefs.h.  */
30745 #include <math.h>
30746                       #ifdef HAVE_IEEEFP_H
30747                       #include <ieeefp.h>
30748                       #endif
30749
30750 int
30751 main ()
30752 {
30753  finitef(0);
30754   ;
30755   return 0;
30756 }
30757 _ACEOF
30758 if ac_fn_cxx_try_compile "$LINENO"; then :
30759   glibcxx_cv_func_finitef_use=yes
30760 else
30761   glibcxx_cv_func_finitef_use=no
30762 fi
30763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30764       ac_ext=c
30765 ac_cpp='$CPP $CPPFLAGS'
30766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30769
30770
30771 fi
30772
30773   fi
30774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30775 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30776
30777   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30778     for ac_func in finitef
30779 do :
30780   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30781 if test "x$ac_cv_func_finitef" = x""yes; then :
30782   cat >>confdefs.h <<_ACEOF
30783 #define HAVE_FINITEF 1
30784 _ACEOF
30785
30786 fi
30787 done
30788
30789   else
30790
30791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30792 $as_echo_n "checking for _finitef declaration... " >&6; }
30793   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30794     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30795   $as_echo_n "(cached) " >&6
30796 else
30797
30798
30799       ac_ext=cpp
30800 ac_cpp='$CXXCPP $CPPFLAGS'
30801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30804
30805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30806 /* end confdefs.h.  */
30807 #include <math.h>
30808                       #ifdef HAVE_IEEEFP_H
30809                       #include <ieeefp.h>
30810                       #endif
30811
30812 int
30813 main ()
30814 {
30815  _finitef(0);
30816   ;
30817   return 0;
30818 }
30819 _ACEOF
30820 if ac_fn_cxx_try_compile "$LINENO"; then :
30821   glibcxx_cv_func__finitef_use=yes
30822 else
30823   glibcxx_cv_func__finitef_use=no
30824 fi
30825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30826       ac_ext=c
30827 ac_cpp='$CPP $CPPFLAGS'
30828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30831
30832
30833 fi
30834
30835   fi
30836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30837 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30838
30839     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30840       for ac_func in _finitef
30841 do :
30842   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30843 if test "x$ac_cv_func__finitef" = x""yes; then :
30844   cat >>confdefs.h <<_ACEOF
30845 #define HAVE__FINITEF 1
30846 _ACEOF
30847
30848 fi
30849 done
30850
30851     fi
30852   fi
30853
30854
30855
30856
30857
30858     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30859 $as_echo_n "checking for long double trig functions... " >&6; }
30860   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30861   $as_echo_n "(cached) " >&6
30862 else
30863
30864
30865     ac_ext=cpp
30866 ac_cpp='$CXXCPP $CPPFLAGS'
30867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30870
30871     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30872 /* end confdefs.h.  */
30873 #include <math.h>
30874 int
30875 main ()
30876 {
30877 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30878   ;
30879   return 0;
30880 }
30881 _ACEOF
30882 if ac_fn_cxx_try_compile "$LINENO"; then :
30883   glibcxx_cv_func_long_double_trig_use=yes
30884 else
30885   glibcxx_cv_func_long_double_trig_use=no
30886 fi
30887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30888     ac_ext=c
30889 ac_cpp='$CPP $CPPFLAGS'
30890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30893
30894 fi
30895
30896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30897 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30898   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30899     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30900 do :
30901   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30903 eval as_val=\$$as_ac_var
30904    if test "x$as_val" = x""yes; then :
30905   cat >>confdefs.h <<_ACEOF
30906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30907 _ACEOF
30908
30909 fi
30910 done
30911
30912   else
30913     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30914 $as_echo_n "checking for _long double trig functions... " >&6; }
30915     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30916   $as_echo_n "(cached) " >&6
30917 else
30918
30919
30920       ac_ext=cpp
30921 ac_cpp='$CXXCPP $CPPFLAGS'
30922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30925
30926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30927 /* end confdefs.h.  */
30928 #include <math.h>
30929 int
30930 main ()
30931 {
30932 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30933   ;
30934   return 0;
30935 }
30936 _ACEOF
30937 if ac_fn_cxx_try_compile "$LINENO"; then :
30938   glibcxx_cv_func__long_double_trig_use=yes
30939 else
30940   glibcxx_cv_func__long_double_trig_use=no
30941 fi
30942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30943       ac_ext=c
30944 ac_cpp='$CPP $CPPFLAGS'
30945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30948
30949 fi
30950
30951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30952 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30953     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30954       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30955 do :
30956   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30958 eval as_val=\$$as_ac_var
30959    if test "x$as_val" = x""yes; then :
30960   cat >>confdefs.h <<_ACEOF
30961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30962 _ACEOF
30963
30964 fi
30965 done
30966
30967     fi
30968   fi
30969
30970
30971
30972
30973
30974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30975 $as_echo_n "checking for long double round functions... " >&6; }
30976   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30977   $as_echo_n "(cached) " >&6
30978 else
30979
30980
30981     ac_ext=cpp
30982 ac_cpp='$CXXCPP $CPPFLAGS'
30983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30986
30987     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30988 /* end confdefs.h.  */
30989 #include <math.h>
30990 int
30991 main ()
30992 {
30993 ceill (0); floorl (0);
30994   ;
30995   return 0;
30996 }
30997 _ACEOF
30998 if ac_fn_cxx_try_compile "$LINENO"; then :
30999   glibcxx_cv_func_long_double_round_use=yes
31000 else
31001   glibcxx_cv_func_long_double_round_use=no
31002 fi
31003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31004     ac_ext=c
31005 ac_cpp='$CPP $CPPFLAGS'
31006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31009
31010 fi
31011
31012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31013 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31014   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31015     for ac_func in ceill floorl
31016 do :
31017   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31019 eval as_val=\$$as_ac_var
31020    if test "x$as_val" = x""yes; then :
31021   cat >>confdefs.h <<_ACEOF
31022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31023 _ACEOF
31024
31025 fi
31026 done
31027
31028   else
31029     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31030 $as_echo_n "checking for _long double round functions... " >&6; }
31031     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31032   $as_echo_n "(cached) " >&6
31033 else
31034
31035
31036       ac_ext=cpp
31037 ac_cpp='$CXXCPP $CPPFLAGS'
31038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31041
31042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31043 /* end confdefs.h.  */
31044 #include <math.h>
31045 int
31046 main ()
31047 {
31048 _ceill (0); _floorl (0);
31049   ;
31050   return 0;
31051 }
31052 _ACEOF
31053 if ac_fn_cxx_try_compile "$LINENO"; then :
31054   glibcxx_cv_func__long_double_round_use=yes
31055 else
31056   glibcxx_cv_func__long_double_round_use=no
31057 fi
31058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31059       ac_ext=c
31060 ac_cpp='$CPP $CPPFLAGS'
31061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31064
31065 fi
31066
31067     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31068 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31069     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31070       for ac_func in _ceill _floorl
31071 do :
31072   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31074 eval as_val=\$$as_ac_var
31075    if test "x$as_val" = x""yes; then :
31076   cat >>confdefs.h <<_ACEOF
31077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31078 _ACEOF
31079
31080 fi
31081 done
31082
31083     fi
31084   fi
31085
31086
31087
31088
31089
31090
31091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31092 $as_echo_n "checking for isnanl declaration... " >&6; }
31093   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31094     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31095   $as_echo_n "(cached) " >&6
31096 else
31097
31098
31099       ac_ext=cpp
31100 ac_cpp='$CXXCPP $CPPFLAGS'
31101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31104
31105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31106 /* end confdefs.h.  */
31107 #include <math.h>
31108                       #ifdef HAVE_IEEEFP_H
31109                       #include <ieeefp.h>
31110                       #endif
31111
31112 int
31113 main ()
31114 {
31115  isnanl(0);
31116   ;
31117   return 0;
31118 }
31119 _ACEOF
31120 if ac_fn_cxx_try_compile "$LINENO"; then :
31121   glibcxx_cv_func_isnanl_use=yes
31122 else
31123   glibcxx_cv_func_isnanl_use=no
31124 fi
31125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31126       ac_ext=c
31127 ac_cpp='$CPP $CPPFLAGS'
31128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31131
31132
31133 fi
31134
31135   fi
31136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31137 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31138
31139   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31140     for ac_func in isnanl
31141 do :
31142   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31143 if test "x$ac_cv_func_isnanl" = x""yes; then :
31144   cat >>confdefs.h <<_ACEOF
31145 #define HAVE_ISNANL 1
31146 _ACEOF
31147
31148 fi
31149 done
31150
31151   else
31152
31153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31154 $as_echo_n "checking for _isnanl declaration... " >&6; }
31155   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31156     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31157   $as_echo_n "(cached) " >&6
31158 else
31159
31160
31161       ac_ext=cpp
31162 ac_cpp='$CXXCPP $CPPFLAGS'
31163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31166
31167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31168 /* end confdefs.h.  */
31169 #include <math.h>
31170                       #ifdef HAVE_IEEEFP_H
31171                       #include <ieeefp.h>
31172                       #endif
31173
31174 int
31175 main ()
31176 {
31177  _isnanl(0);
31178   ;
31179   return 0;
31180 }
31181 _ACEOF
31182 if ac_fn_cxx_try_compile "$LINENO"; then :
31183   glibcxx_cv_func__isnanl_use=yes
31184 else
31185   glibcxx_cv_func__isnanl_use=no
31186 fi
31187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31188       ac_ext=c
31189 ac_cpp='$CPP $CPPFLAGS'
31190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31193
31194
31195 fi
31196
31197   fi
31198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31199 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31200
31201     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31202       for ac_func in _isnanl
31203 do :
31204   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31205 if test "x$ac_cv_func__isnanl" = x""yes; then :
31206   cat >>confdefs.h <<_ACEOF
31207 #define HAVE__ISNANL 1
31208 _ACEOF
31209
31210 fi
31211 done
31212
31213     fi
31214   fi
31215
31216
31217
31218
31219
31220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31221 $as_echo_n "checking for isinfl declaration... " >&6; }
31222   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31223     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31224   $as_echo_n "(cached) " >&6
31225 else
31226
31227
31228       ac_ext=cpp
31229 ac_cpp='$CXXCPP $CPPFLAGS'
31230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31233
31234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31235 /* end confdefs.h.  */
31236 #include <math.h>
31237                       #ifdef HAVE_IEEEFP_H
31238                       #include <ieeefp.h>
31239                       #endif
31240
31241 int
31242 main ()
31243 {
31244  isinfl(0);
31245   ;
31246   return 0;
31247 }
31248 _ACEOF
31249 if ac_fn_cxx_try_compile "$LINENO"; then :
31250   glibcxx_cv_func_isinfl_use=yes
31251 else
31252   glibcxx_cv_func_isinfl_use=no
31253 fi
31254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31255       ac_ext=c
31256 ac_cpp='$CPP $CPPFLAGS'
31257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31260
31261
31262 fi
31263
31264   fi
31265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31266 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31267
31268   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31269     for ac_func in isinfl
31270 do :
31271   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31272 if test "x$ac_cv_func_isinfl" = x""yes; then :
31273   cat >>confdefs.h <<_ACEOF
31274 #define HAVE_ISINFL 1
31275 _ACEOF
31276
31277 fi
31278 done
31279
31280   else
31281
31282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31283 $as_echo_n "checking for _isinfl declaration... " >&6; }
31284   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31285     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31286   $as_echo_n "(cached) " >&6
31287 else
31288
31289
31290       ac_ext=cpp
31291 ac_cpp='$CXXCPP $CPPFLAGS'
31292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31295
31296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31297 /* end confdefs.h.  */
31298 #include <math.h>
31299                       #ifdef HAVE_IEEEFP_H
31300                       #include <ieeefp.h>
31301                       #endif
31302
31303 int
31304 main ()
31305 {
31306  _isinfl(0);
31307   ;
31308   return 0;
31309 }
31310 _ACEOF
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312   glibcxx_cv_func__isinfl_use=yes
31313 else
31314   glibcxx_cv_func__isinfl_use=no
31315 fi
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317       ac_ext=c
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31322
31323
31324 fi
31325
31326   fi
31327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31328 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31329
31330     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31331       for ac_func in _isinfl
31332 do :
31333   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31334 if test "x$ac_cv_func__isinfl" = x""yes; then :
31335   cat >>confdefs.h <<_ACEOF
31336 #define HAVE__ISINFL 1
31337 _ACEOF
31338
31339 fi
31340 done
31341
31342     fi
31343   fi
31344
31345
31346
31347
31348
31349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31350 $as_echo_n "checking for atan2l declaration... " >&6; }
31351   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31352     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31353   $as_echo_n "(cached) " >&6
31354 else
31355
31356
31357       ac_ext=cpp
31358 ac_cpp='$CXXCPP $CPPFLAGS'
31359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31362
31363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31364 /* end confdefs.h.  */
31365 #include <math.h>
31366 int
31367 main ()
31368 {
31369  atan2l(0, 0);
31370   ;
31371   return 0;
31372 }
31373 _ACEOF
31374 if ac_fn_cxx_try_compile "$LINENO"; then :
31375   glibcxx_cv_func_atan2l_use=yes
31376 else
31377   glibcxx_cv_func_atan2l_use=no
31378 fi
31379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31380       ac_ext=c
31381 ac_cpp='$CPP $CPPFLAGS'
31382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31385
31386
31387 fi
31388
31389   fi
31390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31391 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31392
31393   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31394     for ac_func in atan2l
31395 do :
31396   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31397 if test "x$ac_cv_func_atan2l" = x""yes; then :
31398   cat >>confdefs.h <<_ACEOF
31399 #define HAVE_ATAN2L 1
31400 _ACEOF
31401
31402 fi
31403 done
31404
31405   else
31406
31407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31408 $as_echo_n "checking for _atan2l declaration... " >&6; }
31409   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31410     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31411   $as_echo_n "(cached) " >&6
31412 else
31413
31414
31415       ac_ext=cpp
31416 ac_cpp='$CXXCPP $CPPFLAGS'
31417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31420
31421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31422 /* end confdefs.h.  */
31423 #include <math.h>
31424 int
31425 main ()
31426 {
31427  _atan2l(0, 0);
31428   ;
31429   return 0;
31430 }
31431 _ACEOF
31432 if ac_fn_cxx_try_compile "$LINENO"; then :
31433   glibcxx_cv_func__atan2l_use=yes
31434 else
31435   glibcxx_cv_func__atan2l_use=no
31436 fi
31437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31438       ac_ext=c
31439 ac_cpp='$CPP $CPPFLAGS'
31440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31443
31444
31445 fi
31446
31447   fi
31448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31449 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31450
31451     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31452       for ac_func in _atan2l
31453 do :
31454   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31455 if test "x$ac_cv_func__atan2l" = x""yes; then :
31456   cat >>confdefs.h <<_ACEOF
31457 #define HAVE__ATAN2L 1
31458 _ACEOF
31459
31460 fi
31461 done
31462
31463     fi
31464   fi
31465
31466
31467
31468
31469
31470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31471 $as_echo_n "checking for expl declaration... " >&6; }
31472   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31473     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31474   $as_echo_n "(cached) " >&6
31475 else
31476
31477
31478       ac_ext=cpp
31479 ac_cpp='$CXXCPP $CPPFLAGS'
31480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31483
31484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31485 /* end confdefs.h.  */
31486 #include <math.h>
31487                       #ifdef HAVE_IEEEFP_H
31488                       #include <ieeefp.h>
31489                       #endif
31490
31491 int
31492 main ()
31493 {
31494  expl(0);
31495   ;
31496   return 0;
31497 }
31498 _ACEOF
31499 if ac_fn_cxx_try_compile "$LINENO"; then :
31500   glibcxx_cv_func_expl_use=yes
31501 else
31502   glibcxx_cv_func_expl_use=no
31503 fi
31504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31505       ac_ext=c
31506 ac_cpp='$CPP $CPPFLAGS'
31507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31510
31511
31512 fi
31513
31514   fi
31515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31516 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31517
31518   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31519     for ac_func in expl
31520 do :
31521   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31522 if test "x$ac_cv_func_expl" = x""yes; then :
31523   cat >>confdefs.h <<_ACEOF
31524 #define HAVE_EXPL 1
31525 _ACEOF
31526
31527 fi
31528 done
31529
31530   else
31531
31532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31533 $as_echo_n "checking for _expl declaration... " >&6; }
31534   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31535     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31536   $as_echo_n "(cached) " >&6
31537 else
31538
31539
31540       ac_ext=cpp
31541 ac_cpp='$CXXCPP $CPPFLAGS'
31542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31545
31546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31547 /* end confdefs.h.  */
31548 #include <math.h>
31549                       #ifdef HAVE_IEEEFP_H
31550                       #include <ieeefp.h>
31551                       #endif
31552
31553 int
31554 main ()
31555 {
31556  _expl(0);
31557   ;
31558   return 0;
31559 }
31560 _ACEOF
31561 if ac_fn_cxx_try_compile "$LINENO"; then :
31562   glibcxx_cv_func__expl_use=yes
31563 else
31564   glibcxx_cv_func__expl_use=no
31565 fi
31566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31567       ac_ext=c
31568 ac_cpp='$CPP $CPPFLAGS'
31569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31572
31573
31574 fi
31575
31576   fi
31577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31578 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31579
31580     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31581       for ac_func in _expl
31582 do :
31583   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31584 if test "x$ac_cv_func__expl" = x""yes; then :
31585   cat >>confdefs.h <<_ACEOF
31586 #define HAVE__EXPL 1
31587 _ACEOF
31588
31589 fi
31590 done
31591
31592     fi
31593   fi
31594
31595
31596
31597
31598
31599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31600 $as_echo_n "checking for fabsl declaration... " >&6; }
31601   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31602     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31603   $as_echo_n "(cached) " >&6
31604 else
31605
31606
31607       ac_ext=cpp
31608 ac_cpp='$CXXCPP $CPPFLAGS'
31609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31612
31613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31614 /* end confdefs.h.  */
31615 #include <math.h>
31616                       #ifdef HAVE_IEEEFP_H
31617                       #include <ieeefp.h>
31618                       #endif
31619
31620 int
31621 main ()
31622 {
31623  fabsl(0);
31624   ;
31625   return 0;
31626 }
31627 _ACEOF
31628 if ac_fn_cxx_try_compile "$LINENO"; then :
31629   glibcxx_cv_func_fabsl_use=yes
31630 else
31631   glibcxx_cv_func_fabsl_use=no
31632 fi
31633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31634       ac_ext=c
31635 ac_cpp='$CPP $CPPFLAGS'
31636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31639
31640
31641 fi
31642
31643   fi
31644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31645 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31646
31647   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31648     for ac_func in fabsl
31649 do :
31650   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31651 if test "x$ac_cv_func_fabsl" = x""yes; then :
31652   cat >>confdefs.h <<_ACEOF
31653 #define HAVE_FABSL 1
31654 _ACEOF
31655
31656 fi
31657 done
31658
31659   else
31660
31661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31662 $as_echo_n "checking for _fabsl declaration... " >&6; }
31663   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31664     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31665   $as_echo_n "(cached) " >&6
31666 else
31667
31668
31669       ac_ext=cpp
31670 ac_cpp='$CXXCPP $CPPFLAGS'
31671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31674
31675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31676 /* end confdefs.h.  */
31677 #include <math.h>
31678                       #ifdef HAVE_IEEEFP_H
31679                       #include <ieeefp.h>
31680                       #endif
31681
31682 int
31683 main ()
31684 {
31685  _fabsl(0);
31686   ;
31687   return 0;
31688 }
31689 _ACEOF
31690 if ac_fn_cxx_try_compile "$LINENO"; then :
31691   glibcxx_cv_func__fabsl_use=yes
31692 else
31693   glibcxx_cv_func__fabsl_use=no
31694 fi
31695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31696       ac_ext=c
31697 ac_cpp='$CPP $CPPFLAGS'
31698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31701
31702
31703 fi
31704
31705   fi
31706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31707 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31708
31709     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31710       for ac_func in _fabsl
31711 do :
31712   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31713 if test "x$ac_cv_func__fabsl" = x""yes; then :
31714   cat >>confdefs.h <<_ACEOF
31715 #define HAVE__FABSL 1
31716 _ACEOF
31717
31718 fi
31719 done
31720
31721     fi
31722   fi
31723
31724
31725
31726
31727
31728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31729 $as_echo_n "checking for fmodl declaration... " >&6; }
31730   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31731     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31732   $as_echo_n "(cached) " >&6
31733 else
31734
31735
31736       ac_ext=cpp
31737 ac_cpp='$CXXCPP $CPPFLAGS'
31738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31741
31742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31743 /* end confdefs.h.  */
31744 #include <math.h>
31745 int
31746 main ()
31747 {
31748  fmodl(0, 0);
31749   ;
31750   return 0;
31751 }
31752 _ACEOF
31753 if ac_fn_cxx_try_compile "$LINENO"; then :
31754   glibcxx_cv_func_fmodl_use=yes
31755 else
31756   glibcxx_cv_func_fmodl_use=no
31757 fi
31758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31759       ac_ext=c
31760 ac_cpp='$CPP $CPPFLAGS'
31761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31764
31765
31766 fi
31767
31768   fi
31769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31770 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31771
31772   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31773     for ac_func in fmodl
31774 do :
31775   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31776 if test "x$ac_cv_func_fmodl" = x""yes; then :
31777   cat >>confdefs.h <<_ACEOF
31778 #define HAVE_FMODL 1
31779 _ACEOF
31780
31781 fi
31782 done
31783
31784   else
31785
31786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31787 $as_echo_n "checking for _fmodl declaration... " >&6; }
31788   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31789     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31790   $as_echo_n "(cached) " >&6
31791 else
31792
31793
31794       ac_ext=cpp
31795 ac_cpp='$CXXCPP $CPPFLAGS'
31796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31799
31800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31801 /* end confdefs.h.  */
31802 #include <math.h>
31803 int
31804 main ()
31805 {
31806  _fmodl(0, 0);
31807   ;
31808   return 0;
31809 }
31810 _ACEOF
31811 if ac_fn_cxx_try_compile "$LINENO"; then :
31812   glibcxx_cv_func__fmodl_use=yes
31813 else
31814   glibcxx_cv_func__fmodl_use=no
31815 fi
31816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31817       ac_ext=c
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31822
31823
31824 fi
31825
31826   fi
31827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31828 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31829
31830     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31831       for ac_func in _fmodl
31832 do :
31833   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31834 if test "x$ac_cv_func__fmodl" = x""yes; then :
31835   cat >>confdefs.h <<_ACEOF
31836 #define HAVE__FMODL 1
31837 _ACEOF
31838
31839 fi
31840 done
31841
31842     fi
31843   fi
31844
31845
31846
31847
31848
31849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31850 $as_echo_n "checking for frexpl declaration... " >&6; }
31851   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31852     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31853   $as_echo_n "(cached) " >&6
31854 else
31855
31856
31857       ac_ext=cpp
31858 ac_cpp='$CXXCPP $CPPFLAGS'
31859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31862
31863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31864 /* end confdefs.h.  */
31865 #include <math.h>
31866 int
31867 main ()
31868 {
31869  frexpl(0, 0);
31870   ;
31871   return 0;
31872 }
31873 _ACEOF
31874 if ac_fn_cxx_try_compile "$LINENO"; then :
31875   glibcxx_cv_func_frexpl_use=yes
31876 else
31877   glibcxx_cv_func_frexpl_use=no
31878 fi
31879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31880       ac_ext=c
31881 ac_cpp='$CPP $CPPFLAGS'
31882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31885
31886
31887 fi
31888
31889   fi
31890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31891 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31892
31893   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31894     for ac_func in frexpl
31895 do :
31896   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31897 if test "x$ac_cv_func_frexpl" = x""yes; then :
31898   cat >>confdefs.h <<_ACEOF
31899 #define HAVE_FREXPL 1
31900 _ACEOF
31901
31902 fi
31903 done
31904
31905   else
31906
31907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31908 $as_echo_n "checking for _frexpl declaration... " >&6; }
31909   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31910     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31911   $as_echo_n "(cached) " >&6
31912 else
31913
31914
31915       ac_ext=cpp
31916 ac_cpp='$CXXCPP $CPPFLAGS'
31917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31920
31921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31922 /* end confdefs.h.  */
31923 #include <math.h>
31924 int
31925 main ()
31926 {
31927  _frexpl(0, 0);
31928   ;
31929   return 0;
31930 }
31931 _ACEOF
31932 if ac_fn_cxx_try_compile "$LINENO"; then :
31933   glibcxx_cv_func__frexpl_use=yes
31934 else
31935   glibcxx_cv_func__frexpl_use=no
31936 fi
31937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31938       ac_ext=c
31939 ac_cpp='$CPP $CPPFLAGS'
31940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31943
31944
31945 fi
31946
31947   fi
31948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31949 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31950
31951     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31952       for ac_func in _frexpl
31953 do :
31954   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31955 if test "x$ac_cv_func__frexpl" = x""yes; then :
31956   cat >>confdefs.h <<_ACEOF
31957 #define HAVE__FREXPL 1
31958 _ACEOF
31959
31960 fi
31961 done
31962
31963     fi
31964   fi
31965
31966
31967
31968
31969
31970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31971 $as_echo_n "checking for hypotl declaration... " >&6; }
31972   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31973     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31974   $as_echo_n "(cached) " >&6
31975 else
31976
31977
31978       ac_ext=cpp
31979 ac_cpp='$CXXCPP $CPPFLAGS'
31980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31983
31984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31985 /* end confdefs.h.  */
31986 #include <math.h>
31987 int
31988 main ()
31989 {
31990  hypotl(0, 0);
31991   ;
31992   return 0;
31993 }
31994 _ACEOF
31995 if ac_fn_cxx_try_compile "$LINENO"; then :
31996   glibcxx_cv_func_hypotl_use=yes
31997 else
31998   glibcxx_cv_func_hypotl_use=no
31999 fi
32000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32001       ac_ext=c
32002 ac_cpp='$CPP $CPPFLAGS'
32003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32006
32007
32008 fi
32009
32010   fi
32011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32012 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32013
32014   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32015     for ac_func in hypotl
32016 do :
32017   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32018 if test "x$ac_cv_func_hypotl" = x""yes; then :
32019   cat >>confdefs.h <<_ACEOF
32020 #define HAVE_HYPOTL 1
32021 _ACEOF
32022
32023 fi
32024 done
32025
32026   else
32027
32028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32029 $as_echo_n "checking for _hypotl declaration... " >&6; }
32030   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32031     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32032   $as_echo_n "(cached) " >&6
32033 else
32034
32035
32036       ac_ext=cpp
32037 ac_cpp='$CXXCPP $CPPFLAGS'
32038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32041
32042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32043 /* end confdefs.h.  */
32044 #include <math.h>
32045 int
32046 main ()
32047 {
32048  _hypotl(0, 0);
32049   ;
32050   return 0;
32051 }
32052 _ACEOF
32053 if ac_fn_cxx_try_compile "$LINENO"; then :
32054   glibcxx_cv_func__hypotl_use=yes
32055 else
32056   glibcxx_cv_func__hypotl_use=no
32057 fi
32058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32059       ac_ext=c
32060 ac_cpp='$CPP $CPPFLAGS'
32061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32064
32065
32066 fi
32067
32068   fi
32069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32070 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32071
32072     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32073       for ac_func in _hypotl
32074 do :
32075   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32076 if test "x$ac_cv_func__hypotl" = x""yes; then :
32077   cat >>confdefs.h <<_ACEOF
32078 #define HAVE__HYPOTL 1
32079 _ACEOF
32080
32081 fi
32082 done
32083
32084     fi
32085   fi
32086
32087
32088
32089
32090
32091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32092 $as_echo_n "checking for ldexpl declaration... " >&6; }
32093   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32094     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32095   $as_echo_n "(cached) " >&6
32096 else
32097
32098
32099       ac_ext=cpp
32100 ac_cpp='$CXXCPP $CPPFLAGS'
32101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32104
32105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32106 /* end confdefs.h.  */
32107 #include <math.h>
32108 int
32109 main ()
32110 {
32111  ldexpl(0, 0);
32112   ;
32113   return 0;
32114 }
32115 _ACEOF
32116 if ac_fn_cxx_try_compile "$LINENO"; then :
32117   glibcxx_cv_func_ldexpl_use=yes
32118 else
32119   glibcxx_cv_func_ldexpl_use=no
32120 fi
32121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32122       ac_ext=c
32123 ac_cpp='$CPP $CPPFLAGS'
32124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32127
32128
32129 fi
32130
32131   fi
32132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32133 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32134
32135   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32136     for ac_func in ldexpl
32137 do :
32138   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32139 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32140   cat >>confdefs.h <<_ACEOF
32141 #define HAVE_LDEXPL 1
32142 _ACEOF
32143
32144 fi
32145 done
32146
32147   else
32148
32149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32150 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32151   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32152     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32153   $as_echo_n "(cached) " >&6
32154 else
32155
32156
32157       ac_ext=cpp
32158 ac_cpp='$CXXCPP $CPPFLAGS'
32159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32162
32163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32164 /* end confdefs.h.  */
32165 #include <math.h>
32166 int
32167 main ()
32168 {
32169  _ldexpl(0, 0);
32170   ;
32171   return 0;
32172 }
32173 _ACEOF
32174 if ac_fn_cxx_try_compile "$LINENO"; then :
32175   glibcxx_cv_func__ldexpl_use=yes
32176 else
32177   glibcxx_cv_func__ldexpl_use=no
32178 fi
32179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32180       ac_ext=c
32181 ac_cpp='$CPP $CPPFLAGS'
32182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32185
32186
32187 fi
32188
32189   fi
32190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32191 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32192
32193     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32194       for ac_func in _ldexpl
32195 do :
32196   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32197 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32198   cat >>confdefs.h <<_ACEOF
32199 #define HAVE__LDEXPL 1
32200 _ACEOF
32201
32202 fi
32203 done
32204
32205     fi
32206   fi
32207
32208
32209
32210
32211
32212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32213 $as_echo_n "checking for logl declaration... " >&6; }
32214   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32215     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32216   $as_echo_n "(cached) " >&6
32217 else
32218
32219
32220       ac_ext=cpp
32221 ac_cpp='$CXXCPP $CPPFLAGS'
32222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32225
32226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32227 /* end confdefs.h.  */
32228 #include <math.h>
32229                       #ifdef HAVE_IEEEFP_H
32230                       #include <ieeefp.h>
32231                       #endif
32232
32233 int
32234 main ()
32235 {
32236  logl(0);
32237   ;
32238   return 0;
32239 }
32240 _ACEOF
32241 if ac_fn_cxx_try_compile "$LINENO"; then :
32242   glibcxx_cv_func_logl_use=yes
32243 else
32244   glibcxx_cv_func_logl_use=no
32245 fi
32246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32247       ac_ext=c
32248 ac_cpp='$CPP $CPPFLAGS'
32249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32252
32253
32254 fi
32255
32256   fi
32257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32258 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32259
32260   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32261     for ac_func in logl
32262 do :
32263   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32264 if test "x$ac_cv_func_logl" = x""yes; then :
32265   cat >>confdefs.h <<_ACEOF
32266 #define HAVE_LOGL 1
32267 _ACEOF
32268
32269 fi
32270 done
32271
32272   else
32273
32274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32275 $as_echo_n "checking for _logl declaration... " >&6; }
32276   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32277     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32278   $as_echo_n "(cached) " >&6
32279 else
32280
32281
32282       ac_ext=cpp
32283 ac_cpp='$CXXCPP $CPPFLAGS'
32284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32287
32288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32289 /* end confdefs.h.  */
32290 #include <math.h>
32291                       #ifdef HAVE_IEEEFP_H
32292                       #include <ieeefp.h>
32293                       #endif
32294
32295 int
32296 main ()
32297 {
32298  _logl(0);
32299   ;
32300   return 0;
32301 }
32302 _ACEOF
32303 if ac_fn_cxx_try_compile "$LINENO"; then :
32304   glibcxx_cv_func__logl_use=yes
32305 else
32306   glibcxx_cv_func__logl_use=no
32307 fi
32308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32309       ac_ext=c
32310 ac_cpp='$CPP $CPPFLAGS'
32311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32314
32315
32316 fi
32317
32318   fi
32319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32320 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32321
32322     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32323       for ac_func in _logl
32324 do :
32325   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32326 if test "x$ac_cv_func__logl" = x""yes; then :
32327   cat >>confdefs.h <<_ACEOF
32328 #define HAVE__LOGL 1
32329 _ACEOF
32330
32331 fi
32332 done
32333
32334     fi
32335   fi
32336
32337
32338
32339
32340
32341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32342 $as_echo_n "checking for log10l declaration... " >&6; }
32343   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32344     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32345   $as_echo_n "(cached) " >&6
32346 else
32347
32348
32349       ac_ext=cpp
32350 ac_cpp='$CXXCPP $CPPFLAGS'
32351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32354
32355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32356 /* end confdefs.h.  */
32357 #include <math.h>
32358                       #ifdef HAVE_IEEEFP_H
32359                       #include <ieeefp.h>
32360                       #endif
32361
32362 int
32363 main ()
32364 {
32365  log10l(0);
32366   ;
32367   return 0;
32368 }
32369 _ACEOF
32370 if ac_fn_cxx_try_compile "$LINENO"; then :
32371   glibcxx_cv_func_log10l_use=yes
32372 else
32373   glibcxx_cv_func_log10l_use=no
32374 fi
32375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32376       ac_ext=c
32377 ac_cpp='$CPP $CPPFLAGS'
32378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32381
32382
32383 fi
32384
32385   fi
32386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32387 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32388
32389   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32390     for ac_func in log10l
32391 do :
32392   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32393 if test "x$ac_cv_func_log10l" = x""yes; then :
32394   cat >>confdefs.h <<_ACEOF
32395 #define HAVE_LOG10L 1
32396 _ACEOF
32397
32398 fi
32399 done
32400
32401   else
32402
32403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32404 $as_echo_n "checking for _log10l declaration... " >&6; }
32405   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32406     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32407   $as_echo_n "(cached) " >&6
32408 else
32409
32410
32411       ac_ext=cpp
32412 ac_cpp='$CXXCPP $CPPFLAGS'
32413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32416
32417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32418 /* end confdefs.h.  */
32419 #include <math.h>
32420                       #ifdef HAVE_IEEEFP_H
32421                       #include <ieeefp.h>
32422                       #endif
32423
32424 int
32425 main ()
32426 {
32427  _log10l(0);
32428   ;
32429   return 0;
32430 }
32431 _ACEOF
32432 if ac_fn_cxx_try_compile "$LINENO"; then :
32433   glibcxx_cv_func__log10l_use=yes
32434 else
32435   glibcxx_cv_func__log10l_use=no
32436 fi
32437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32438       ac_ext=c
32439 ac_cpp='$CPP $CPPFLAGS'
32440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32443
32444
32445 fi
32446
32447   fi
32448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32449 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32450
32451     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32452       for ac_func in _log10l
32453 do :
32454   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32455 if test "x$ac_cv_func__log10l" = x""yes; then :
32456   cat >>confdefs.h <<_ACEOF
32457 #define HAVE__LOG10L 1
32458 _ACEOF
32459
32460 fi
32461 done
32462
32463     fi
32464   fi
32465
32466
32467
32468
32469
32470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32471 $as_echo_n "checking for modfl declaration... " >&6; }
32472   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32473     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32474   $as_echo_n "(cached) " >&6
32475 else
32476
32477
32478       ac_ext=cpp
32479 ac_cpp='$CXXCPP $CPPFLAGS'
32480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32483
32484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32485 /* end confdefs.h.  */
32486 #include <math.h>
32487 int
32488 main ()
32489 {
32490  modfl(0, 0);
32491   ;
32492   return 0;
32493 }
32494 _ACEOF
32495 if ac_fn_cxx_try_compile "$LINENO"; then :
32496   glibcxx_cv_func_modfl_use=yes
32497 else
32498   glibcxx_cv_func_modfl_use=no
32499 fi
32500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32501       ac_ext=c
32502 ac_cpp='$CPP $CPPFLAGS'
32503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32506
32507
32508 fi
32509
32510   fi
32511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32512 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32513
32514   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32515     for ac_func in modfl
32516 do :
32517   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32518 if test "x$ac_cv_func_modfl" = x""yes; then :
32519   cat >>confdefs.h <<_ACEOF
32520 #define HAVE_MODFL 1
32521 _ACEOF
32522
32523 fi
32524 done
32525
32526   else
32527
32528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32529 $as_echo_n "checking for _modfl declaration... " >&6; }
32530   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32531     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32532   $as_echo_n "(cached) " >&6
32533 else
32534
32535
32536       ac_ext=cpp
32537 ac_cpp='$CXXCPP $CPPFLAGS'
32538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32541
32542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32543 /* end confdefs.h.  */
32544 #include <math.h>
32545 int
32546 main ()
32547 {
32548  _modfl(0, 0);
32549   ;
32550   return 0;
32551 }
32552 _ACEOF
32553 if ac_fn_cxx_try_compile "$LINENO"; then :
32554   glibcxx_cv_func__modfl_use=yes
32555 else
32556   glibcxx_cv_func__modfl_use=no
32557 fi
32558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32559       ac_ext=c
32560 ac_cpp='$CPP $CPPFLAGS'
32561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32564
32565
32566 fi
32567
32568   fi
32569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32570 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32571
32572     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32573       for ac_func in _modfl
32574 do :
32575   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32576 if test "x$ac_cv_func__modfl" = x""yes; then :
32577   cat >>confdefs.h <<_ACEOF
32578 #define HAVE__MODFL 1
32579 _ACEOF
32580
32581 fi
32582 done
32583
32584     fi
32585   fi
32586
32587
32588
32589
32590
32591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32592 $as_echo_n "checking for powl declaration... " >&6; }
32593   if test x${glibcxx_cv_func_powl_use+set} != xset; then
32594     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32595   $as_echo_n "(cached) " >&6
32596 else
32597
32598
32599       ac_ext=cpp
32600 ac_cpp='$CXXCPP $CPPFLAGS'
32601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32604
32605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32606 /* end confdefs.h.  */
32607 #include <math.h>
32608 int
32609 main ()
32610 {
32611  powl(0, 0);
32612   ;
32613   return 0;
32614 }
32615 _ACEOF
32616 if ac_fn_cxx_try_compile "$LINENO"; then :
32617   glibcxx_cv_func_powl_use=yes
32618 else
32619   glibcxx_cv_func_powl_use=no
32620 fi
32621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32622       ac_ext=c
32623 ac_cpp='$CPP $CPPFLAGS'
32624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32627
32628
32629 fi
32630
32631   fi
32632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32633 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32634
32635   if test x$glibcxx_cv_func_powl_use = x"yes"; then
32636     for ac_func in powl
32637 do :
32638   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32639 if test "x$ac_cv_func_powl" = x""yes; then :
32640   cat >>confdefs.h <<_ACEOF
32641 #define HAVE_POWL 1
32642 _ACEOF
32643
32644 fi
32645 done
32646
32647   else
32648
32649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32650 $as_echo_n "checking for _powl declaration... " >&6; }
32651   if test x${glibcxx_cv_func__powl_use+set} != xset; then
32652     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32653   $as_echo_n "(cached) " >&6
32654 else
32655
32656
32657       ac_ext=cpp
32658 ac_cpp='$CXXCPP $CPPFLAGS'
32659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32662
32663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32664 /* end confdefs.h.  */
32665 #include <math.h>
32666 int
32667 main ()
32668 {
32669  _powl(0, 0);
32670   ;
32671   return 0;
32672 }
32673 _ACEOF
32674 if ac_fn_cxx_try_compile "$LINENO"; then :
32675   glibcxx_cv_func__powl_use=yes
32676 else
32677   glibcxx_cv_func__powl_use=no
32678 fi
32679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32680       ac_ext=c
32681 ac_cpp='$CPP $CPPFLAGS'
32682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32685
32686
32687 fi
32688
32689   fi
32690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32691 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32692
32693     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32694       for ac_func in _powl
32695 do :
32696   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32697 if test "x$ac_cv_func__powl" = x""yes; then :
32698   cat >>confdefs.h <<_ACEOF
32699 #define HAVE__POWL 1
32700 _ACEOF
32701
32702 fi
32703 done
32704
32705     fi
32706   fi
32707
32708
32709
32710
32711
32712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32713 $as_echo_n "checking for sqrtl declaration... " >&6; }
32714   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32715     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32716   $as_echo_n "(cached) " >&6
32717 else
32718
32719
32720       ac_ext=cpp
32721 ac_cpp='$CXXCPP $CPPFLAGS'
32722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32725
32726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32727 /* end confdefs.h.  */
32728 #include <math.h>
32729                       #ifdef HAVE_IEEEFP_H
32730                       #include <ieeefp.h>
32731                       #endif
32732
32733 int
32734 main ()
32735 {
32736  sqrtl(0);
32737   ;
32738   return 0;
32739 }
32740 _ACEOF
32741 if ac_fn_cxx_try_compile "$LINENO"; then :
32742   glibcxx_cv_func_sqrtl_use=yes
32743 else
32744   glibcxx_cv_func_sqrtl_use=no
32745 fi
32746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32747       ac_ext=c
32748 ac_cpp='$CPP $CPPFLAGS'
32749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32752
32753
32754 fi
32755
32756   fi
32757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32758 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32759
32760   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32761     for ac_func in sqrtl
32762 do :
32763   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32764 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32765   cat >>confdefs.h <<_ACEOF
32766 #define HAVE_SQRTL 1
32767 _ACEOF
32768
32769 fi
32770 done
32771
32772   else
32773
32774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32775 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32776   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32777     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32778   $as_echo_n "(cached) " >&6
32779 else
32780
32781
32782       ac_ext=cpp
32783 ac_cpp='$CXXCPP $CPPFLAGS'
32784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32787
32788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32789 /* end confdefs.h.  */
32790 #include <math.h>
32791                       #ifdef HAVE_IEEEFP_H
32792                       #include <ieeefp.h>
32793                       #endif
32794
32795 int
32796 main ()
32797 {
32798  _sqrtl(0);
32799   ;
32800   return 0;
32801 }
32802 _ACEOF
32803 if ac_fn_cxx_try_compile "$LINENO"; then :
32804   glibcxx_cv_func__sqrtl_use=yes
32805 else
32806   glibcxx_cv_func__sqrtl_use=no
32807 fi
32808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32809       ac_ext=c
32810 ac_cpp='$CPP $CPPFLAGS'
32811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32814
32815
32816 fi
32817
32818   fi
32819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32820 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32821
32822     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32823       for ac_func in _sqrtl
32824 do :
32825   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32826 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32827   cat >>confdefs.h <<_ACEOF
32828 #define HAVE__SQRTL 1
32829 _ACEOF
32830
32831 fi
32832 done
32833
32834     fi
32835   fi
32836
32837
32838
32839
32840
32841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32842 $as_echo_n "checking for sincosl declaration... " >&6; }
32843   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32844     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32845   $as_echo_n "(cached) " >&6
32846 else
32847
32848
32849       ac_ext=cpp
32850 ac_cpp='$CXXCPP $CPPFLAGS'
32851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32854
32855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32856 /* end confdefs.h.  */
32857 #include <math.h>
32858 int
32859 main ()
32860 {
32861  sincosl(0, 0, 0);
32862   ;
32863   return 0;
32864 }
32865 _ACEOF
32866 if ac_fn_cxx_try_compile "$LINENO"; then :
32867   glibcxx_cv_func_sincosl_use=yes
32868 else
32869   glibcxx_cv_func_sincosl_use=no
32870 fi
32871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32872       ac_ext=c
32873 ac_cpp='$CPP $CPPFLAGS'
32874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32877
32878
32879 fi
32880
32881   fi
32882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32883 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32884
32885   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32886     for ac_func in sincosl
32887 do :
32888   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32889 if test "x$ac_cv_func_sincosl" = x""yes; then :
32890   cat >>confdefs.h <<_ACEOF
32891 #define HAVE_SINCOSL 1
32892 _ACEOF
32893
32894 fi
32895 done
32896
32897   else
32898
32899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32900 $as_echo_n "checking for _sincosl declaration... " >&6; }
32901   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32902     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32903   $as_echo_n "(cached) " >&6
32904 else
32905
32906
32907       ac_ext=cpp
32908 ac_cpp='$CXXCPP $CPPFLAGS'
32909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32912
32913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32914 /* end confdefs.h.  */
32915 #include <math.h>
32916 int
32917 main ()
32918 {
32919  _sincosl(0, 0, 0);
32920   ;
32921   return 0;
32922 }
32923 _ACEOF
32924 if ac_fn_cxx_try_compile "$LINENO"; then :
32925   glibcxx_cv_func__sincosl_use=yes
32926 else
32927   glibcxx_cv_func__sincosl_use=no
32928 fi
32929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32930       ac_ext=c
32931 ac_cpp='$CPP $CPPFLAGS'
32932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32935
32936
32937 fi
32938
32939   fi
32940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32941 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32942
32943     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32944       for ac_func in _sincosl
32945 do :
32946   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32947 if test "x$ac_cv_func__sincosl" = x""yes; then :
32948   cat >>confdefs.h <<_ACEOF
32949 #define HAVE__SINCOSL 1
32950 _ACEOF
32951
32952 fi
32953 done
32954
32955     fi
32956   fi
32957
32958
32959
32960
32961
32962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32963 $as_echo_n "checking for finitel declaration... " >&6; }
32964   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32965     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32966   $as_echo_n "(cached) " >&6
32967 else
32968
32969
32970       ac_ext=cpp
32971 ac_cpp='$CXXCPP $CPPFLAGS'
32972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32975
32976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32977 /* end confdefs.h.  */
32978 #include <math.h>
32979                       #ifdef HAVE_IEEEFP_H
32980                       #include <ieeefp.h>
32981                       #endif
32982
32983 int
32984 main ()
32985 {
32986  finitel(0);
32987   ;
32988   return 0;
32989 }
32990 _ACEOF
32991 if ac_fn_cxx_try_compile "$LINENO"; then :
32992   glibcxx_cv_func_finitel_use=yes
32993 else
32994   glibcxx_cv_func_finitel_use=no
32995 fi
32996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32997       ac_ext=c
32998 ac_cpp='$CPP $CPPFLAGS'
32999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33002
33003
33004 fi
33005
33006   fi
33007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33008 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33009
33010   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33011     for ac_func in finitel
33012 do :
33013   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33014 if test "x$ac_cv_func_finitel" = x""yes; then :
33015   cat >>confdefs.h <<_ACEOF
33016 #define HAVE_FINITEL 1
33017 _ACEOF
33018
33019 fi
33020 done
33021
33022   else
33023
33024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33025 $as_echo_n "checking for _finitel declaration... " >&6; }
33026   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33027     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33028   $as_echo_n "(cached) " >&6
33029 else
33030
33031
33032       ac_ext=cpp
33033 ac_cpp='$CXXCPP $CPPFLAGS'
33034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33037
33038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33039 /* end confdefs.h.  */
33040 #include <math.h>
33041                       #ifdef HAVE_IEEEFP_H
33042                       #include <ieeefp.h>
33043                       #endif
33044
33045 int
33046 main ()
33047 {
33048  _finitel(0);
33049   ;
33050   return 0;
33051 }
33052 _ACEOF
33053 if ac_fn_cxx_try_compile "$LINENO"; then :
33054   glibcxx_cv_func__finitel_use=yes
33055 else
33056   glibcxx_cv_func__finitel_use=no
33057 fi
33058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33059       ac_ext=c
33060 ac_cpp='$CPP $CPPFLAGS'
33061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33064
33065
33066 fi
33067
33068   fi
33069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33070 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33071
33072     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33073       for ac_func in _finitel
33074 do :
33075   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33076 if test "x$ac_cv_func__finitel" = x""yes; then :
33077   cat >>confdefs.h <<_ACEOF
33078 #define HAVE__FINITEL 1
33079 _ACEOF
33080
33081 fi
33082 done
33083
33084     fi
33085   fi
33086
33087
33088
33089
33090   LIBS="$ac_save_LIBS"
33091   CXXFLAGS="$ac_save_CXXFLAGS"
33092
33093
33094   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33095   ac_save_CXXFLAGS="$CXXFLAGS"
33096   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33097
33098
33099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33100 $as_echo_n "checking for strtold declaration... " >&6; }
33101   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33102     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33103   $as_echo_n "(cached) " >&6
33104 else
33105
33106
33107       ac_ext=cpp
33108 ac_cpp='$CXXCPP $CPPFLAGS'
33109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33112
33113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33114 /* end confdefs.h.  */
33115 #include <stdlib.h>
33116 int
33117 main ()
33118 {
33119  strtold(0, 0);
33120   ;
33121   return 0;
33122 }
33123 _ACEOF
33124 if ac_fn_cxx_try_compile "$LINENO"; then :
33125   glibcxx_cv_func_strtold_use=yes
33126 else
33127   glibcxx_cv_func_strtold_use=no
33128 fi
33129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33130       ac_ext=c
33131 ac_cpp='$CPP $CPPFLAGS'
33132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33135
33136
33137 fi
33138
33139   fi
33140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33141 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33142   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33143     for ac_func in strtold
33144 do :
33145   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33146 if test "x$ac_cv_func_strtold" = x""yes; then :
33147   cat >>confdefs.h <<_ACEOF
33148 #define HAVE_STRTOLD 1
33149 _ACEOF
33150
33151 fi
33152 done
33153
33154   fi
33155
33156
33157
33158
33159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33160 $as_echo_n "checking for strtof declaration... " >&6; }
33161   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33162     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33163   $as_echo_n "(cached) " >&6
33164 else
33165
33166
33167       ac_ext=cpp
33168 ac_cpp='$CXXCPP $CPPFLAGS'
33169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33172
33173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33174 /* end confdefs.h.  */
33175 #include <stdlib.h>
33176 int
33177 main ()
33178 {
33179  strtof(0, 0);
33180   ;
33181   return 0;
33182 }
33183 _ACEOF
33184 if ac_fn_cxx_try_compile "$LINENO"; then :
33185   glibcxx_cv_func_strtof_use=yes
33186 else
33187   glibcxx_cv_func_strtof_use=no
33188 fi
33189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33190       ac_ext=c
33191 ac_cpp='$CPP $CPPFLAGS'
33192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33195
33196
33197 fi
33198
33199   fi
33200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33201 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33202   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33203     for ac_func in strtof
33204 do :
33205   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33206 if test "x$ac_cv_func_strtof" = x""yes; then :
33207   cat >>confdefs.h <<_ACEOF
33208 #define HAVE_STRTOF 1
33209 _ACEOF
33210
33211 fi
33212 done
33213
33214   fi
33215
33216
33217
33218
33219   CXXFLAGS="$ac_save_CXXFLAGS"
33220
33221
33222     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33223
33224     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33225
33226     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33227
33228     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33229
33230
33231     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33232
33233     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33234
33235     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33236
33237     ;;
33238
33239   *-aix*)
33240
33241   # If we're not using GNU ld, then there's no point in even trying these
33242   # tests.  Check for that first.  We should have already tested for gld
33243   # by now (in libtool), but require it now just to be safe...
33244   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33245   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33246
33247
33248
33249   # The name set by libtool depends on the version of libtool.  Shame on us
33250   # for depending on an impl detail, but c'est la vie.  Older versions used
33251   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33252   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33253   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33254   # set (hence we're using an older libtool), then set it.
33255   if test x${with_gnu_ld+set} != xset; then
33256     if test x${ac_cv_prog_gnu_ld+set} != xset; then
33257       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33258       with_gnu_ld=no
33259     else
33260       with_gnu_ld=$ac_cv_prog_gnu_ld
33261     fi
33262   fi
33263
33264   # Start by getting the version number.  I think the libtool test already
33265   # does some of this, but throws away the result.
33266   glibcxx_ld_is_gold=no
33267   if test x"$with_gnu_ld" = x"yes"; then
33268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33269 $as_echo_n "checking for ld version... " >&6; }
33270
33271     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33272       glibcxx_ld_is_gold=yes
33273     fi
33274     ldver=`$LD --version 2>/dev/null |
33275            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'`
33276
33277     glibcxx_gnu_ld_version=`echo $ldver | \
33278            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33279     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33280 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33281   fi
33282
33283   # Set --gc-sections.
33284   glibcxx_have_gc_sections=no
33285   if test "$glibcxx_ld_is_gold" = "yes"; then
33286     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33287       glibcxx_have_gc_sections=yes
33288     fi
33289   else
33290     glibcxx_gcsections_min_ld=21602
33291     if test x"$with_gnu_ld" = x"yes" &&
33292         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33293       glibcxx_have_gc_sections=yes
33294     fi
33295   fi
33296   if test "$glibcxx_have_gc_sections" = "yes"; then
33297     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33298     # NB: This flag only works reliably after 2.16.1. Configure tests
33299     # for this are difficult, so hard wire a value that should work.
33300
33301     ac_test_CFLAGS="${CFLAGS+set}"
33302     ac_save_CFLAGS="$CFLAGS"
33303     CFLAGS='-Wl,--gc-sections'
33304
33305     # Check for -Wl,--gc-sections
33306     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33307 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33308     if test x$gcc_no_link = xyes; then
33309   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33310 fi
33311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33312 /* end confdefs.h.  */
33313  int one(void) { return 1; }
33314      int two(void) { return 2; }
33315
33316 int
33317 main ()
33318 {
33319  two();
33320   ;
33321   return 0;
33322 }
33323 _ACEOF
33324 if ac_fn_c_try_link "$LINENO"; then :
33325   ac_gcsections=yes
33326 else
33327   ac_gcsections=no
33328 fi
33329 rm -f core conftest.err conftest.$ac_objext \
33330     conftest$ac_exeext conftest.$ac_ext
33331     if test "$ac_gcsections" = "yes"; then
33332       rm -f conftest.c
33333       touch conftest.c
33334       if $CC -c conftest.c; then
33335         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33336            grep "Warning: gc-sections option ignored" > /dev/null; then
33337           ac_gcsections=no
33338         fi
33339       fi
33340       rm -f conftest.c conftest.o conftest
33341     fi
33342     if test "$ac_gcsections" = "yes"; then
33343       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33344     fi
33345     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33346 $as_echo "$ac_gcsections" >&6; }
33347
33348     if test "$ac_test_CFLAGS" = set; then
33349       CFLAGS="$ac_save_CFLAGS"
33350     else
33351       # this is the suspicious part
33352       CFLAGS=''
33353     fi
33354   fi
33355
33356   # Set -z,relro.
33357   # Note this is only for shared objects.
33358   ac_ld_relro=no
33359   if test x"$with_gnu_ld" = x"yes"; then
33360     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33361 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33362     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33363     if test -n "$cxx_z_relo"; then
33364       OPT_LDFLAGS="-Wl,-z,relro"
33365       ac_ld_relro=yes
33366     fi
33367     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33368 $as_echo "$ac_ld_relro" >&6; }
33369   fi
33370
33371   # Set linker optimization flags.
33372   if test x"$with_gnu_ld" = x"yes"; then
33373     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33374   fi
33375
33376
33377
33378
33379
33380   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33381   ac_save_CXXFLAGS="$CXXFLAGS"
33382   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33383
33384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33385 $as_echo_n "checking for sin in -lm... " >&6; }
33386 if test "${ac_cv_lib_m_sin+set}" = set; then :
33387   $as_echo_n "(cached) " >&6
33388 else
33389   ac_check_lib_save_LIBS=$LIBS
33390 LIBS="-lm  $LIBS"
33391 if test x$gcc_no_link = xyes; then
33392   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33393 fi
33394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33395 /* end confdefs.h.  */
33396
33397 /* Override any GCC internal prototype to avoid an error.
33398    Use char because int might match the return type of a GCC
33399    builtin and then its argument prototype would still apply.  */
33400 #ifdef __cplusplus
33401 extern "C"
33402 #endif
33403 char sin ();
33404 int
33405 main ()
33406 {
33407 return sin ();
33408   ;
33409   return 0;
33410 }
33411 _ACEOF
33412 if ac_fn_c_try_link "$LINENO"; then :
33413   ac_cv_lib_m_sin=yes
33414 else
33415   ac_cv_lib_m_sin=no
33416 fi
33417 rm -f core conftest.err conftest.$ac_objext \
33418     conftest$ac_exeext conftest.$ac_ext
33419 LIBS=$ac_check_lib_save_LIBS
33420 fi
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33422 $as_echo "$ac_cv_lib_m_sin" >&6; }
33423 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33424   libm="-lm"
33425 fi
33426
33427   ac_save_LIBS="$LIBS"
33428   LIBS="$LIBS $libm"
33429
33430
33431
33432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33433 $as_echo_n "checking for isinf declaration... " >&6; }
33434   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33435     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33436   $as_echo_n "(cached) " >&6
33437 else
33438
33439
33440       ac_ext=cpp
33441 ac_cpp='$CXXCPP $CPPFLAGS'
33442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33445
33446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33447 /* end confdefs.h.  */
33448 #include <math.h>
33449                       #ifdef HAVE_IEEEFP_H
33450                       #include <ieeefp.h>
33451                       #endif
33452
33453 int
33454 main ()
33455 {
33456  isinf(0);
33457   ;
33458   return 0;
33459 }
33460 _ACEOF
33461 if ac_fn_cxx_try_compile "$LINENO"; then :
33462   glibcxx_cv_func_isinf_use=yes
33463 else
33464   glibcxx_cv_func_isinf_use=no
33465 fi
33466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33467       ac_ext=c
33468 ac_cpp='$CPP $CPPFLAGS'
33469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33472
33473
33474 fi
33475
33476   fi
33477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33478 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33479
33480   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33481     for ac_func in isinf
33482 do :
33483   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33484 if test "x$ac_cv_func_isinf" = x""yes; then :
33485   cat >>confdefs.h <<_ACEOF
33486 #define HAVE_ISINF 1
33487 _ACEOF
33488
33489 fi
33490 done
33491
33492   else
33493
33494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33495 $as_echo_n "checking for _isinf declaration... " >&6; }
33496   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33497     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33498   $as_echo_n "(cached) " >&6
33499 else
33500
33501
33502       ac_ext=cpp
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33507
33508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33509 /* end confdefs.h.  */
33510 #include <math.h>
33511                       #ifdef HAVE_IEEEFP_H
33512                       #include <ieeefp.h>
33513                       #endif
33514
33515 int
33516 main ()
33517 {
33518  _isinf(0);
33519   ;
33520   return 0;
33521 }
33522 _ACEOF
33523 if ac_fn_cxx_try_compile "$LINENO"; then :
33524   glibcxx_cv_func__isinf_use=yes
33525 else
33526   glibcxx_cv_func__isinf_use=no
33527 fi
33528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33529       ac_ext=c
33530 ac_cpp='$CPP $CPPFLAGS'
33531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33534
33535
33536 fi
33537
33538   fi
33539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33540 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33541
33542     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33543       for ac_func in _isinf
33544 do :
33545   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33546 if test "x$ac_cv_func__isinf" = x""yes; then :
33547   cat >>confdefs.h <<_ACEOF
33548 #define HAVE__ISINF 1
33549 _ACEOF
33550
33551 fi
33552 done
33553
33554     fi
33555   fi
33556
33557
33558
33559
33560
33561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33562 $as_echo_n "checking for isnan declaration... " >&6; }
33563   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33564     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33565   $as_echo_n "(cached) " >&6
33566 else
33567
33568
33569       ac_ext=cpp
33570 ac_cpp='$CXXCPP $CPPFLAGS'
33571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33574
33575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33576 /* end confdefs.h.  */
33577 #include <math.h>
33578                       #ifdef HAVE_IEEEFP_H
33579                       #include <ieeefp.h>
33580                       #endif
33581
33582 int
33583 main ()
33584 {
33585  isnan(0);
33586   ;
33587   return 0;
33588 }
33589 _ACEOF
33590 if ac_fn_cxx_try_compile "$LINENO"; then :
33591   glibcxx_cv_func_isnan_use=yes
33592 else
33593   glibcxx_cv_func_isnan_use=no
33594 fi
33595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33596       ac_ext=c
33597 ac_cpp='$CPP $CPPFLAGS'
33598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33601
33602
33603 fi
33604
33605   fi
33606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33607 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33608
33609   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33610     for ac_func in isnan
33611 do :
33612   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33613 if test "x$ac_cv_func_isnan" = x""yes; then :
33614   cat >>confdefs.h <<_ACEOF
33615 #define HAVE_ISNAN 1
33616 _ACEOF
33617
33618 fi
33619 done
33620
33621   else
33622
33623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33624 $as_echo_n "checking for _isnan declaration... " >&6; }
33625   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33626     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33627   $as_echo_n "(cached) " >&6
33628 else
33629
33630
33631       ac_ext=cpp
33632 ac_cpp='$CXXCPP $CPPFLAGS'
33633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33636
33637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33638 /* end confdefs.h.  */
33639 #include <math.h>
33640                       #ifdef HAVE_IEEEFP_H
33641                       #include <ieeefp.h>
33642                       #endif
33643
33644 int
33645 main ()
33646 {
33647  _isnan(0);
33648   ;
33649   return 0;
33650 }
33651 _ACEOF
33652 if ac_fn_cxx_try_compile "$LINENO"; then :
33653   glibcxx_cv_func__isnan_use=yes
33654 else
33655   glibcxx_cv_func__isnan_use=no
33656 fi
33657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658       ac_ext=c
33659 ac_cpp='$CPP $CPPFLAGS'
33660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33663
33664
33665 fi
33666
33667   fi
33668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33669 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33670
33671     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33672       for ac_func in _isnan
33673 do :
33674   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33675 if test "x$ac_cv_func__isnan" = x""yes; then :
33676   cat >>confdefs.h <<_ACEOF
33677 #define HAVE__ISNAN 1
33678 _ACEOF
33679
33680 fi
33681 done
33682
33683     fi
33684   fi
33685
33686
33687
33688
33689
33690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33691 $as_echo_n "checking for finite declaration... " >&6; }
33692   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33693     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33694   $as_echo_n "(cached) " >&6
33695 else
33696
33697
33698       ac_ext=cpp
33699 ac_cpp='$CXXCPP $CPPFLAGS'
33700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33703
33704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33705 /* end confdefs.h.  */
33706 #include <math.h>
33707                       #ifdef HAVE_IEEEFP_H
33708                       #include <ieeefp.h>
33709                       #endif
33710
33711 int
33712 main ()
33713 {
33714  finite(0);
33715   ;
33716   return 0;
33717 }
33718 _ACEOF
33719 if ac_fn_cxx_try_compile "$LINENO"; then :
33720   glibcxx_cv_func_finite_use=yes
33721 else
33722   glibcxx_cv_func_finite_use=no
33723 fi
33724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33725       ac_ext=c
33726 ac_cpp='$CPP $CPPFLAGS'
33727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33730
33731
33732 fi
33733
33734   fi
33735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33736 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33737
33738   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33739     for ac_func in finite
33740 do :
33741   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33742 if test "x$ac_cv_func_finite" = x""yes; then :
33743   cat >>confdefs.h <<_ACEOF
33744 #define HAVE_FINITE 1
33745 _ACEOF
33746
33747 fi
33748 done
33749
33750   else
33751
33752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33753 $as_echo_n "checking for _finite declaration... " >&6; }
33754   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33755     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33756   $as_echo_n "(cached) " >&6
33757 else
33758
33759
33760       ac_ext=cpp
33761 ac_cpp='$CXXCPP $CPPFLAGS'
33762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33765
33766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33767 /* end confdefs.h.  */
33768 #include <math.h>
33769                       #ifdef HAVE_IEEEFP_H
33770                       #include <ieeefp.h>
33771                       #endif
33772
33773 int
33774 main ()
33775 {
33776  _finite(0);
33777   ;
33778   return 0;
33779 }
33780 _ACEOF
33781 if ac_fn_cxx_try_compile "$LINENO"; then :
33782   glibcxx_cv_func__finite_use=yes
33783 else
33784   glibcxx_cv_func__finite_use=no
33785 fi
33786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33787       ac_ext=c
33788 ac_cpp='$CPP $CPPFLAGS'
33789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33792
33793
33794 fi
33795
33796   fi
33797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33798 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33799
33800     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33801       for ac_func in _finite
33802 do :
33803   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33804 if test "x$ac_cv_func__finite" = x""yes; then :
33805   cat >>confdefs.h <<_ACEOF
33806 #define HAVE__FINITE 1
33807 _ACEOF
33808
33809 fi
33810 done
33811
33812     fi
33813   fi
33814
33815
33816
33817
33818
33819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33820 $as_echo_n "checking for sincos declaration... " >&6; }
33821   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33822     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33823   $as_echo_n "(cached) " >&6
33824 else
33825
33826
33827       ac_ext=cpp
33828 ac_cpp='$CXXCPP $CPPFLAGS'
33829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33832
33833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33834 /* end confdefs.h.  */
33835 #include <math.h>
33836 int
33837 main ()
33838 {
33839  sincos(0, 0, 0);
33840   ;
33841   return 0;
33842 }
33843 _ACEOF
33844 if ac_fn_cxx_try_compile "$LINENO"; then :
33845   glibcxx_cv_func_sincos_use=yes
33846 else
33847   glibcxx_cv_func_sincos_use=no
33848 fi
33849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33850       ac_ext=c
33851 ac_cpp='$CPP $CPPFLAGS'
33852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33855
33856
33857 fi
33858
33859   fi
33860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33861 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33862
33863   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33864     for ac_func in sincos
33865 do :
33866   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33867 if test "x$ac_cv_func_sincos" = x""yes; then :
33868   cat >>confdefs.h <<_ACEOF
33869 #define HAVE_SINCOS 1
33870 _ACEOF
33871
33872 fi
33873 done
33874
33875   else
33876
33877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33878 $as_echo_n "checking for _sincos declaration... " >&6; }
33879   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33880     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33881   $as_echo_n "(cached) " >&6
33882 else
33883
33884
33885       ac_ext=cpp
33886 ac_cpp='$CXXCPP $CPPFLAGS'
33887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33890
33891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33892 /* end confdefs.h.  */
33893 #include <math.h>
33894 int
33895 main ()
33896 {
33897  _sincos(0, 0, 0);
33898   ;
33899   return 0;
33900 }
33901 _ACEOF
33902 if ac_fn_cxx_try_compile "$LINENO"; then :
33903   glibcxx_cv_func__sincos_use=yes
33904 else
33905   glibcxx_cv_func__sincos_use=no
33906 fi
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33908       ac_ext=c
33909 ac_cpp='$CPP $CPPFLAGS'
33910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33913
33914
33915 fi
33916
33917   fi
33918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33919 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33920
33921     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33922       for ac_func in _sincos
33923 do :
33924   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33925 if test "x$ac_cv_func__sincos" = x""yes; then :
33926   cat >>confdefs.h <<_ACEOF
33927 #define HAVE__SINCOS 1
33928 _ACEOF
33929
33930 fi
33931 done
33932
33933     fi
33934   fi
33935
33936
33937
33938
33939
33940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33941 $as_echo_n "checking for fpclass declaration... " >&6; }
33942   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33943     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33944   $as_echo_n "(cached) " >&6
33945 else
33946
33947
33948       ac_ext=cpp
33949 ac_cpp='$CXXCPP $CPPFLAGS'
33950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33953
33954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33955 /* end confdefs.h.  */
33956 #include <math.h>
33957                       #ifdef HAVE_IEEEFP_H
33958                       #include <ieeefp.h>
33959                       #endif
33960
33961 int
33962 main ()
33963 {
33964  fpclass(0);
33965   ;
33966   return 0;
33967 }
33968 _ACEOF
33969 if ac_fn_cxx_try_compile "$LINENO"; then :
33970   glibcxx_cv_func_fpclass_use=yes
33971 else
33972   glibcxx_cv_func_fpclass_use=no
33973 fi
33974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33975       ac_ext=c
33976 ac_cpp='$CPP $CPPFLAGS'
33977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33980
33981
33982 fi
33983
33984   fi
33985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33986 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33987
33988   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33989     for ac_func in fpclass
33990 do :
33991   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33992 if test "x$ac_cv_func_fpclass" = x""yes; then :
33993   cat >>confdefs.h <<_ACEOF
33994 #define HAVE_FPCLASS 1
33995 _ACEOF
33996
33997 fi
33998 done
33999
34000   else
34001
34002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34003 $as_echo_n "checking for _fpclass declaration... " >&6; }
34004   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34005     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34006   $as_echo_n "(cached) " >&6
34007 else
34008
34009
34010       ac_ext=cpp
34011 ac_cpp='$CXXCPP $CPPFLAGS'
34012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34015
34016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34017 /* end confdefs.h.  */
34018 #include <math.h>
34019                       #ifdef HAVE_IEEEFP_H
34020                       #include <ieeefp.h>
34021                       #endif
34022
34023 int
34024 main ()
34025 {
34026  _fpclass(0);
34027   ;
34028   return 0;
34029 }
34030 _ACEOF
34031 if ac_fn_cxx_try_compile "$LINENO"; then :
34032   glibcxx_cv_func__fpclass_use=yes
34033 else
34034   glibcxx_cv_func__fpclass_use=no
34035 fi
34036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34037       ac_ext=c
34038 ac_cpp='$CPP $CPPFLAGS'
34039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34042
34043
34044 fi
34045
34046   fi
34047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34048 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34049
34050     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34051       for ac_func in _fpclass
34052 do :
34053   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34054 if test "x$ac_cv_func__fpclass" = x""yes; then :
34055   cat >>confdefs.h <<_ACEOF
34056 #define HAVE__FPCLASS 1
34057 _ACEOF
34058
34059 fi
34060 done
34061
34062     fi
34063   fi
34064
34065
34066
34067
34068
34069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34070 $as_echo_n "checking for qfpclass declaration... " >&6; }
34071   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34072     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34073   $as_echo_n "(cached) " >&6
34074 else
34075
34076
34077       ac_ext=cpp
34078 ac_cpp='$CXXCPP $CPPFLAGS'
34079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34082
34083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34084 /* end confdefs.h.  */
34085 #include <math.h>
34086                       #ifdef HAVE_IEEEFP_H
34087                       #include <ieeefp.h>
34088                       #endif
34089
34090 int
34091 main ()
34092 {
34093  qfpclass(0);
34094   ;
34095   return 0;
34096 }
34097 _ACEOF
34098 if ac_fn_cxx_try_compile "$LINENO"; then :
34099   glibcxx_cv_func_qfpclass_use=yes
34100 else
34101   glibcxx_cv_func_qfpclass_use=no
34102 fi
34103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34104       ac_ext=c
34105 ac_cpp='$CPP $CPPFLAGS'
34106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34109
34110
34111 fi
34112
34113   fi
34114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34115 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34116
34117   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34118     for ac_func in qfpclass
34119 do :
34120   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34121 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34122   cat >>confdefs.h <<_ACEOF
34123 #define HAVE_QFPCLASS 1
34124 _ACEOF
34125
34126 fi
34127 done
34128
34129   else
34130
34131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34132 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34133   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34134     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34135   $as_echo_n "(cached) " >&6
34136 else
34137
34138
34139       ac_ext=cpp
34140 ac_cpp='$CXXCPP $CPPFLAGS'
34141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34144
34145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34146 /* end confdefs.h.  */
34147 #include <math.h>
34148                       #ifdef HAVE_IEEEFP_H
34149                       #include <ieeefp.h>
34150                       #endif
34151
34152 int
34153 main ()
34154 {
34155  _qfpclass(0);
34156   ;
34157   return 0;
34158 }
34159 _ACEOF
34160 if ac_fn_cxx_try_compile "$LINENO"; then :
34161   glibcxx_cv_func__qfpclass_use=yes
34162 else
34163   glibcxx_cv_func__qfpclass_use=no
34164 fi
34165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34166       ac_ext=c
34167 ac_cpp='$CPP $CPPFLAGS'
34168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34171
34172
34173 fi
34174
34175   fi
34176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34177 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34178
34179     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34180       for ac_func in _qfpclass
34181 do :
34182   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34183 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34184   cat >>confdefs.h <<_ACEOF
34185 #define HAVE__QFPCLASS 1
34186 _ACEOF
34187
34188 fi
34189 done
34190
34191     fi
34192   fi
34193
34194
34195
34196
34197
34198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34199 $as_echo_n "checking for hypot declaration... " >&6; }
34200   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34201     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34202   $as_echo_n "(cached) " >&6
34203 else
34204
34205
34206       ac_ext=cpp
34207 ac_cpp='$CXXCPP $CPPFLAGS'
34208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34211
34212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34213 /* end confdefs.h.  */
34214 #include <math.h>
34215 int
34216 main ()
34217 {
34218  hypot(0, 0);
34219   ;
34220   return 0;
34221 }
34222 _ACEOF
34223 if ac_fn_cxx_try_compile "$LINENO"; then :
34224   glibcxx_cv_func_hypot_use=yes
34225 else
34226   glibcxx_cv_func_hypot_use=no
34227 fi
34228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34229       ac_ext=c
34230 ac_cpp='$CPP $CPPFLAGS'
34231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34234
34235
34236 fi
34237
34238   fi
34239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34240 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34241
34242   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34243     for ac_func in hypot
34244 do :
34245   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34246 if test "x$ac_cv_func_hypot" = x""yes; then :
34247   cat >>confdefs.h <<_ACEOF
34248 #define HAVE_HYPOT 1
34249 _ACEOF
34250
34251 fi
34252 done
34253
34254   else
34255
34256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34257 $as_echo_n "checking for _hypot declaration... " >&6; }
34258   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34259     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34260   $as_echo_n "(cached) " >&6
34261 else
34262
34263
34264       ac_ext=cpp
34265 ac_cpp='$CXXCPP $CPPFLAGS'
34266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34269
34270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34271 /* end confdefs.h.  */
34272 #include <math.h>
34273 int
34274 main ()
34275 {
34276  _hypot(0, 0);
34277   ;
34278   return 0;
34279 }
34280 _ACEOF
34281 if ac_fn_cxx_try_compile "$LINENO"; then :
34282   glibcxx_cv_func__hypot_use=yes
34283 else
34284   glibcxx_cv_func__hypot_use=no
34285 fi
34286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287       ac_ext=c
34288 ac_cpp='$CPP $CPPFLAGS'
34289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34292
34293
34294 fi
34295
34296   fi
34297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34298 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34299
34300     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34301       for ac_func in _hypot
34302 do :
34303   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34304 if test "x$ac_cv_func__hypot" = x""yes; then :
34305   cat >>confdefs.h <<_ACEOF
34306 #define HAVE__HYPOT 1
34307 _ACEOF
34308
34309 fi
34310 done
34311
34312     fi
34313   fi
34314
34315
34316
34317
34318
34319     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34320 $as_echo_n "checking for float trig functions... " >&6; }
34321   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34322   $as_echo_n "(cached) " >&6
34323 else
34324
34325
34326     ac_ext=cpp
34327 ac_cpp='$CXXCPP $CPPFLAGS'
34328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34331
34332     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34333 /* end confdefs.h.  */
34334 #include <math.h>
34335 int
34336 main ()
34337 {
34338 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34339   ;
34340   return 0;
34341 }
34342 _ACEOF
34343 if ac_fn_cxx_try_compile "$LINENO"; then :
34344   glibcxx_cv_func_float_trig_use=yes
34345 else
34346   glibcxx_cv_func_float_trig_use=no
34347 fi
34348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34349     ac_ext=c
34350 ac_cpp='$CPP $CPPFLAGS'
34351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34354
34355 fi
34356
34357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34358 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34359   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34360     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34361 do :
34362   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34364 eval as_val=\$$as_ac_var
34365    if test "x$as_val" = x""yes; then :
34366   cat >>confdefs.h <<_ACEOF
34367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34368 _ACEOF
34369
34370 fi
34371 done
34372
34373   else
34374     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34375 $as_echo_n "checking for _float trig functions... " >&6; }
34376     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34377   $as_echo_n "(cached) " >&6
34378 else
34379
34380
34381       ac_ext=cpp
34382 ac_cpp='$CXXCPP $CPPFLAGS'
34383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34386
34387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34388 /* end confdefs.h.  */
34389 #include <math.h>
34390 int
34391 main ()
34392 {
34393 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34394   ;
34395   return 0;
34396 }
34397 _ACEOF
34398 if ac_fn_cxx_try_compile "$LINENO"; then :
34399   glibcxx_cv_func__float_trig_use=yes
34400 else
34401   glibcxx_cv_func__float_trig_use=no
34402 fi
34403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34404       ac_ext=c
34405 ac_cpp='$CPP $CPPFLAGS'
34406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34409
34410 fi
34411
34412     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34413 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34414     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34415       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34416 do :
34417   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34419 eval as_val=\$$as_ac_var
34420    if test "x$as_val" = x""yes; then :
34421   cat >>confdefs.h <<_ACEOF
34422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34423 _ACEOF
34424
34425 fi
34426 done
34427
34428     fi
34429   fi
34430
34431
34432
34433
34434
34435     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34436 $as_echo_n "checking for float round functions... " >&6; }
34437   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34438   $as_echo_n "(cached) " >&6
34439 else
34440
34441
34442     ac_ext=cpp
34443 ac_cpp='$CXXCPP $CPPFLAGS'
34444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34447
34448     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34449 /* end confdefs.h.  */
34450 #include <math.h>
34451 int
34452 main ()
34453 {
34454 ceilf (0); floorf (0);
34455   ;
34456   return 0;
34457 }
34458 _ACEOF
34459 if ac_fn_cxx_try_compile "$LINENO"; then :
34460   glibcxx_cv_func_float_round_use=yes
34461 else
34462   glibcxx_cv_func_float_round_use=no
34463 fi
34464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34465     ac_ext=c
34466 ac_cpp='$CPP $CPPFLAGS'
34467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34470
34471 fi
34472
34473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34474 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34475   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34476     for ac_func in ceilf floorf
34477 do :
34478   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34480 eval as_val=\$$as_ac_var
34481    if test "x$as_val" = x""yes; then :
34482   cat >>confdefs.h <<_ACEOF
34483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34484 _ACEOF
34485
34486 fi
34487 done
34488
34489   else
34490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34491 $as_echo_n "checking for _float round functions... " >&6; }
34492     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34493   $as_echo_n "(cached) " >&6
34494 else
34495
34496
34497       ac_ext=cpp
34498 ac_cpp='$CXXCPP $CPPFLAGS'
34499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34502
34503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34504 /* end confdefs.h.  */
34505 #include <math.h>
34506 int
34507 main ()
34508 {
34509 _ceilf (0); _floorf (0);
34510   ;
34511   return 0;
34512 }
34513 _ACEOF
34514 if ac_fn_cxx_try_compile "$LINENO"; then :
34515   glibcxx_cv_func__float_round_use=yes
34516 else
34517   glibcxx_cv_func__float_round_use=no
34518 fi
34519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34520       ac_ext=c
34521 ac_cpp='$CPP $CPPFLAGS'
34522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34525
34526 fi
34527
34528     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34529 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34530     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34531       for ac_func in _ceilf _floorf
34532 do :
34533   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34535 eval as_val=\$$as_ac_var
34536    if test "x$as_val" = x""yes; then :
34537   cat >>confdefs.h <<_ACEOF
34538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34539 _ACEOF
34540
34541 fi
34542 done
34543
34544     fi
34545   fi
34546
34547
34548
34549
34550
34551
34552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34553 $as_echo_n "checking for expf declaration... " >&6; }
34554   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34555     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34556   $as_echo_n "(cached) " >&6
34557 else
34558
34559
34560       ac_ext=cpp
34561 ac_cpp='$CXXCPP $CPPFLAGS'
34562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34565
34566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34567 /* end confdefs.h.  */
34568 #include <math.h>
34569                       #ifdef HAVE_IEEEFP_H
34570                       #include <ieeefp.h>
34571                       #endif
34572
34573 int
34574 main ()
34575 {
34576  expf(0);
34577   ;
34578   return 0;
34579 }
34580 _ACEOF
34581 if ac_fn_cxx_try_compile "$LINENO"; then :
34582   glibcxx_cv_func_expf_use=yes
34583 else
34584   glibcxx_cv_func_expf_use=no
34585 fi
34586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34587       ac_ext=c
34588 ac_cpp='$CPP $CPPFLAGS'
34589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34592
34593
34594 fi
34595
34596   fi
34597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34598 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34599
34600   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34601     for ac_func in expf
34602 do :
34603   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34604 if test "x$ac_cv_func_expf" = x""yes; then :
34605   cat >>confdefs.h <<_ACEOF
34606 #define HAVE_EXPF 1
34607 _ACEOF
34608
34609 fi
34610 done
34611
34612   else
34613
34614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34615 $as_echo_n "checking for _expf declaration... " >&6; }
34616   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34617     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34618   $as_echo_n "(cached) " >&6
34619 else
34620
34621
34622       ac_ext=cpp
34623 ac_cpp='$CXXCPP $CPPFLAGS'
34624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34627
34628       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34629 /* end confdefs.h.  */
34630 #include <math.h>
34631                       #ifdef HAVE_IEEEFP_H
34632                       #include <ieeefp.h>
34633                       #endif
34634
34635 int
34636 main ()
34637 {
34638  _expf(0);
34639   ;
34640   return 0;
34641 }
34642 _ACEOF
34643 if ac_fn_cxx_try_compile "$LINENO"; then :
34644   glibcxx_cv_func__expf_use=yes
34645 else
34646   glibcxx_cv_func__expf_use=no
34647 fi
34648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34649       ac_ext=c
34650 ac_cpp='$CPP $CPPFLAGS'
34651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34654
34655
34656 fi
34657
34658   fi
34659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34660 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34661
34662     if test x$glibcxx_cv_func__expf_use = x"yes"; then
34663       for ac_func in _expf
34664 do :
34665   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34666 if test "x$ac_cv_func__expf" = x""yes; then :
34667   cat >>confdefs.h <<_ACEOF
34668 #define HAVE__EXPF 1
34669 _ACEOF
34670
34671 fi
34672 done
34673
34674     fi
34675   fi
34676
34677
34678
34679
34680
34681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34682 $as_echo_n "checking for isnanf declaration... " >&6; }
34683   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34684     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34685   $as_echo_n "(cached) " >&6
34686 else
34687
34688
34689       ac_ext=cpp
34690 ac_cpp='$CXXCPP $CPPFLAGS'
34691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34694
34695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34696 /* end confdefs.h.  */
34697 #include <math.h>
34698                       #ifdef HAVE_IEEEFP_H
34699                       #include <ieeefp.h>
34700                       #endif
34701
34702 int
34703 main ()
34704 {
34705  isnanf(0);
34706   ;
34707   return 0;
34708 }
34709 _ACEOF
34710 if ac_fn_cxx_try_compile "$LINENO"; then :
34711   glibcxx_cv_func_isnanf_use=yes
34712 else
34713   glibcxx_cv_func_isnanf_use=no
34714 fi
34715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34716       ac_ext=c
34717 ac_cpp='$CPP $CPPFLAGS'
34718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34721
34722
34723 fi
34724
34725   fi
34726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34727 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34728
34729   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34730     for ac_func in isnanf
34731 do :
34732   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34733 if test "x$ac_cv_func_isnanf" = x""yes; then :
34734   cat >>confdefs.h <<_ACEOF
34735 #define HAVE_ISNANF 1
34736 _ACEOF
34737
34738 fi
34739 done
34740
34741   else
34742
34743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34744 $as_echo_n "checking for _isnanf declaration... " >&6; }
34745   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34746     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34747   $as_echo_n "(cached) " >&6
34748 else
34749
34750
34751       ac_ext=cpp
34752 ac_cpp='$CXXCPP $CPPFLAGS'
34753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34756
34757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34758 /* end confdefs.h.  */
34759 #include <math.h>
34760                       #ifdef HAVE_IEEEFP_H
34761                       #include <ieeefp.h>
34762                       #endif
34763
34764 int
34765 main ()
34766 {
34767  _isnanf(0);
34768   ;
34769   return 0;
34770 }
34771 _ACEOF
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773   glibcxx_cv_func__isnanf_use=yes
34774 else
34775   glibcxx_cv_func__isnanf_use=no
34776 fi
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34778       ac_ext=c
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34783
34784
34785 fi
34786
34787   fi
34788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34789 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34790
34791     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34792       for ac_func in _isnanf
34793 do :
34794   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34795 if test "x$ac_cv_func__isnanf" = x""yes; then :
34796   cat >>confdefs.h <<_ACEOF
34797 #define HAVE__ISNANF 1
34798 _ACEOF
34799
34800 fi
34801 done
34802
34803     fi
34804   fi
34805
34806
34807
34808
34809
34810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34811 $as_echo_n "checking for isinff declaration... " >&6; }
34812   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34813     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34814   $as_echo_n "(cached) " >&6
34815 else
34816
34817
34818       ac_ext=cpp
34819 ac_cpp='$CXXCPP $CPPFLAGS'
34820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34823
34824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34825 /* end confdefs.h.  */
34826 #include <math.h>
34827                       #ifdef HAVE_IEEEFP_H
34828                       #include <ieeefp.h>
34829                       #endif
34830
34831 int
34832 main ()
34833 {
34834  isinff(0);
34835   ;
34836   return 0;
34837 }
34838 _ACEOF
34839 if ac_fn_cxx_try_compile "$LINENO"; then :
34840   glibcxx_cv_func_isinff_use=yes
34841 else
34842   glibcxx_cv_func_isinff_use=no
34843 fi
34844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34845       ac_ext=c
34846 ac_cpp='$CPP $CPPFLAGS'
34847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34850
34851
34852 fi
34853
34854   fi
34855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34856 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34857
34858   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34859     for ac_func in isinff
34860 do :
34861   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34862 if test "x$ac_cv_func_isinff" = x""yes; then :
34863   cat >>confdefs.h <<_ACEOF
34864 #define HAVE_ISINFF 1
34865 _ACEOF
34866
34867 fi
34868 done
34869
34870   else
34871
34872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34873 $as_echo_n "checking for _isinff declaration... " >&6; }
34874   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34875     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34876   $as_echo_n "(cached) " >&6
34877 else
34878
34879
34880       ac_ext=cpp
34881 ac_cpp='$CXXCPP $CPPFLAGS'
34882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34885
34886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34887 /* end confdefs.h.  */
34888 #include <math.h>
34889                       #ifdef HAVE_IEEEFP_H
34890                       #include <ieeefp.h>
34891                       #endif
34892
34893 int
34894 main ()
34895 {
34896  _isinff(0);
34897   ;
34898   return 0;
34899 }
34900 _ACEOF
34901 if ac_fn_cxx_try_compile "$LINENO"; then :
34902   glibcxx_cv_func__isinff_use=yes
34903 else
34904   glibcxx_cv_func__isinff_use=no
34905 fi
34906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34907       ac_ext=c
34908 ac_cpp='$CPP $CPPFLAGS'
34909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34912
34913
34914 fi
34915
34916   fi
34917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34918 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34919
34920     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34921       for ac_func in _isinff
34922 do :
34923   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34924 if test "x$ac_cv_func__isinff" = x""yes; then :
34925   cat >>confdefs.h <<_ACEOF
34926 #define HAVE__ISINFF 1
34927 _ACEOF
34928
34929 fi
34930 done
34931
34932     fi
34933   fi
34934
34935
34936
34937
34938
34939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34940 $as_echo_n "checking for atan2f declaration... " >&6; }
34941   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34942     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34943   $as_echo_n "(cached) " >&6
34944 else
34945
34946
34947       ac_ext=cpp
34948 ac_cpp='$CXXCPP $CPPFLAGS'
34949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34952
34953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34954 /* end confdefs.h.  */
34955 #include <math.h>
34956 int
34957 main ()
34958 {
34959  atan2f(0, 0);
34960   ;
34961   return 0;
34962 }
34963 _ACEOF
34964 if ac_fn_cxx_try_compile "$LINENO"; then :
34965   glibcxx_cv_func_atan2f_use=yes
34966 else
34967   glibcxx_cv_func_atan2f_use=no
34968 fi
34969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34970       ac_ext=c
34971 ac_cpp='$CPP $CPPFLAGS'
34972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34975
34976
34977 fi
34978
34979   fi
34980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34981 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34982
34983   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34984     for ac_func in atan2f
34985 do :
34986   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34987 if test "x$ac_cv_func_atan2f" = x""yes; then :
34988   cat >>confdefs.h <<_ACEOF
34989 #define HAVE_ATAN2F 1
34990 _ACEOF
34991
34992 fi
34993 done
34994
34995   else
34996
34997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34998 $as_echo_n "checking for _atan2f declaration... " >&6; }
34999   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35000     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35001   $as_echo_n "(cached) " >&6
35002 else
35003
35004
35005       ac_ext=cpp
35006 ac_cpp='$CXXCPP $CPPFLAGS'
35007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35010
35011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35012 /* end confdefs.h.  */
35013 #include <math.h>
35014 int
35015 main ()
35016 {
35017  _atan2f(0, 0);
35018   ;
35019   return 0;
35020 }
35021 _ACEOF
35022 if ac_fn_cxx_try_compile "$LINENO"; then :
35023   glibcxx_cv_func__atan2f_use=yes
35024 else
35025   glibcxx_cv_func__atan2f_use=no
35026 fi
35027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35028       ac_ext=c
35029 ac_cpp='$CPP $CPPFLAGS'
35030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35033
35034
35035 fi
35036
35037   fi
35038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35039 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35040
35041     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35042       for ac_func in _atan2f
35043 do :
35044   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35045 if test "x$ac_cv_func__atan2f" = x""yes; then :
35046   cat >>confdefs.h <<_ACEOF
35047 #define HAVE__ATAN2F 1
35048 _ACEOF
35049
35050 fi
35051 done
35052
35053     fi
35054   fi
35055
35056
35057
35058
35059
35060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35061 $as_echo_n "checking for fabsf declaration... " >&6; }
35062   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35063     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35064   $as_echo_n "(cached) " >&6
35065 else
35066
35067
35068       ac_ext=cpp
35069 ac_cpp='$CXXCPP $CPPFLAGS'
35070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35073
35074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35075 /* end confdefs.h.  */
35076 #include <math.h>
35077                       #ifdef HAVE_IEEEFP_H
35078                       #include <ieeefp.h>
35079                       #endif
35080
35081 int
35082 main ()
35083 {
35084  fabsf(0);
35085   ;
35086   return 0;
35087 }
35088 _ACEOF
35089 if ac_fn_cxx_try_compile "$LINENO"; then :
35090   glibcxx_cv_func_fabsf_use=yes
35091 else
35092   glibcxx_cv_func_fabsf_use=no
35093 fi
35094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35095       ac_ext=c
35096 ac_cpp='$CPP $CPPFLAGS'
35097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35100
35101
35102 fi
35103
35104   fi
35105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35106 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35107
35108   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35109     for ac_func in fabsf
35110 do :
35111   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35112 if test "x$ac_cv_func_fabsf" = x""yes; then :
35113   cat >>confdefs.h <<_ACEOF
35114 #define HAVE_FABSF 1
35115 _ACEOF
35116
35117 fi
35118 done
35119
35120   else
35121
35122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35123 $as_echo_n "checking for _fabsf declaration... " >&6; }
35124   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35125     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35126   $as_echo_n "(cached) " >&6
35127 else
35128
35129
35130       ac_ext=cpp
35131 ac_cpp='$CXXCPP $CPPFLAGS'
35132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35135
35136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35137 /* end confdefs.h.  */
35138 #include <math.h>
35139                       #ifdef HAVE_IEEEFP_H
35140                       #include <ieeefp.h>
35141                       #endif
35142
35143 int
35144 main ()
35145 {
35146  _fabsf(0);
35147   ;
35148   return 0;
35149 }
35150 _ACEOF
35151 if ac_fn_cxx_try_compile "$LINENO"; then :
35152   glibcxx_cv_func__fabsf_use=yes
35153 else
35154   glibcxx_cv_func__fabsf_use=no
35155 fi
35156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35157       ac_ext=c
35158 ac_cpp='$CPP $CPPFLAGS'
35159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35162
35163
35164 fi
35165
35166   fi
35167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35168 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35169
35170     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35171       for ac_func in _fabsf
35172 do :
35173   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35174 if test "x$ac_cv_func__fabsf" = x""yes; then :
35175   cat >>confdefs.h <<_ACEOF
35176 #define HAVE__FABSF 1
35177 _ACEOF
35178
35179 fi
35180 done
35181
35182     fi
35183   fi
35184
35185
35186
35187
35188
35189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35190 $as_echo_n "checking for fmodf declaration... " >&6; }
35191   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35192     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35193   $as_echo_n "(cached) " >&6
35194 else
35195
35196
35197       ac_ext=cpp
35198 ac_cpp='$CXXCPP $CPPFLAGS'
35199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35202
35203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35204 /* end confdefs.h.  */
35205 #include <math.h>
35206 int
35207 main ()
35208 {
35209  fmodf(0, 0);
35210   ;
35211   return 0;
35212 }
35213 _ACEOF
35214 if ac_fn_cxx_try_compile "$LINENO"; then :
35215   glibcxx_cv_func_fmodf_use=yes
35216 else
35217   glibcxx_cv_func_fmodf_use=no
35218 fi
35219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35220       ac_ext=c
35221 ac_cpp='$CPP $CPPFLAGS'
35222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35225
35226
35227 fi
35228
35229   fi
35230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35231 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35232
35233   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35234     for ac_func in fmodf
35235 do :
35236   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35237 if test "x$ac_cv_func_fmodf" = x""yes; then :
35238   cat >>confdefs.h <<_ACEOF
35239 #define HAVE_FMODF 1
35240 _ACEOF
35241
35242 fi
35243 done
35244
35245   else
35246
35247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35248 $as_echo_n "checking for _fmodf declaration... " >&6; }
35249   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35250     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35251   $as_echo_n "(cached) " >&6
35252 else
35253
35254
35255       ac_ext=cpp
35256 ac_cpp='$CXXCPP $CPPFLAGS'
35257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35260
35261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35262 /* end confdefs.h.  */
35263 #include <math.h>
35264 int
35265 main ()
35266 {
35267  _fmodf(0, 0);
35268   ;
35269   return 0;
35270 }
35271 _ACEOF
35272 if ac_fn_cxx_try_compile "$LINENO"; then :
35273   glibcxx_cv_func__fmodf_use=yes
35274 else
35275   glibcxx_cv_func__fmodf_use=no
35276 fi
35277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35278       ac_ext=c
35279 ac_cpp='$CPP $CPPFLAGS'
35280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35283
35284
35285 fi
35286
35287   fi
35288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35289 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35290
35291     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35292       for ac_func in _fmodf
35293 do :
35294   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35295 if test "x$ac_cv_func__fmodf" = x""yes; then :
35296   cat >>confdefs.h <<_ACEOF
35297 #define HAVE__FMODF 1
35298 _ACEOF
35299
35300 fi
35301 done
35302
35303     fi
35304   fi
35305
35306
35307
35308
35309
35310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35311 $as_echo_n "checking for frexpf declaration... " >&6; }
35312   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35313     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35314   $as_echo_n "(cached) " >&6
35315 else
35316
35317
35318       ac_ext=cpp
35319 ac_cpp='$CXXCPP $CPPFLAGS'
35320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35323
35324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35325 /* end confdefs.h.  */
35326 #include <math.h>
35327 int
35328 main ()
35329 {
35330  frexpf(0, 0);
35331   ;
35332   return 0;
35333 }
35334 _ACEOF
35335 if ac_fn_cxx_try_compile "$LINENO"; then :
35336   glibcxx_cv_func_frexpf_use=yes
35337 else
35338   glibcxx_cv_func_frexpf_use=no
35339 fi
35340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35341       ac_ext=c
35342 ac_cpp='$CPP $CPPFLAGS'
35343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35346
35347
35348 fi
35349
35350   fi
35351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35352 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35353
35354   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35355     for ac_func in frexpf
35356 do :
35357   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35358 if test "x$ac_cv_func_frexpf" = x""yes; then :
35359   cat >>confdefs.h <<_ACEOF
35360 #define HAVE_FREXPF 1
35361 _ACEOF
35362
35363 fi
35364 done
35365
35366   else
35367
35368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35369 $as_echo_n "checking for _frexpf declaration... " >&6; }
35370   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35371     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35372   $as_echo_n "(cached) " >&6
35373 else
35374
35375
35376       ac_ext=cpp
35377 ac_cpp='$CXXCPP $CPPFLAGS'
35378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35381
35382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35383 /* end confdefs.h.  */
35384 #include <math.h>
35385 int
35386 main ()
35387 {
35388  _frexpf(0, 0);
35389   ;
35390   return 0;
35391 }
35392 _ACEOF
35393 if ac_fn_cxx_try_compile "$LINENO"; then :
35394   glibcxx_cv_func__frexpf_use=yes
35395 else
35396   glibcxx_cv_func__frexpf_use=no
35397 fi
35398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35399       ac_ext=c
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35404
35405
35406 fi
35407
35408   fi
35409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35410 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35411
35412     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35413       for ac_func in _frexpf
35414 do :
35415   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35416 if test "x$ac_cv_func__frexpf" = x""yes; then :
35417   cat >>confdefs.h <<_ACEOF
35418 #define HAVE__FREXPF 1
35419 _ACEOF
35420
35421 fi
35422 done
35423
35424     fi
35425   fi
35426
35427
35428
35429
35430
35431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35432 $as_echo_n "checking for hypotf declaration... " >&6; }
35433   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35434     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35435   $as_echo_n "(cached) " >&6
35436 else
35437
35438
35439       ac_ext=cpp
35440 ac_cpp='$CXXCPP $CPPFLAGS'
35441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35444
35445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35446 /* end confdefs.h.  */
35447 #include <math.h>
35448 int
35449 main ()
35450 {
35451  hypotf(0, 0);
35452   ;
35453   return 0;
35454 }
35455 _ACEOF
35456 if ac_fn_cxx_try_compile "$LINENO"; then :
35457   glibcxx_cv_func_hypotf_use=yes
35458 else
35459   glibcxx_cv_func_hypotf_use=no
35460 fi
35461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35462       ac_ext=c
35463 ac_cpp='$CPP $CPPFLAGS'
35464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35467
35468
35469 fi
35470
35471   fi
35472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35473 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35474
35475   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35476     for ac_func in hypotf
35477 do :
35478   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35479 if test "x$ac_cv_func_hypotf" = x""yes; then :
35480   cat >>confdefs.h <<_ACEOF
35481 #define HAVE_HYPOTF 1
35482 _ACEOF
35483
35484 fi
35485 done
35486
35487   else
35488
35489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35490 $as_echo_n "checking for _hypotf declaration... " >&6; }
35491   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35492     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35493   $as_echo_n "(cached) " >&6
35494 else
35495
35496
35497       ac_ext=cpp
35498 ac_cpp='$CXXCPP $CPPFLAGS'
35499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35502
35503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35504 /* end confdefs.h.  */
35505 #include <math.h>
35506 int
35507 main ()
35508 {
35509  _hypotf(0, 0);
35510   ;
35511   return 0;
35512 }
35513 _ACEOF
35514 if ac_fn_cxx_try_compile "$LINENO"; then :
35515   glibcxx_cv_func__hypotf_use=yes
35516 else
35517   glibcxx_cv_func__hypotf_use=no
35518 fi
35519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35520       ac_ext=c
35521 ac_cpp='$CPP $CPPFLAGS'
35522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35525
35526
35527 fi
35528
35529   fi
35530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35531 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35532
35533     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35534       for ac_func in _hypotf
35535 do :
35536   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35537 if test "x$ac_cv_func__hypotf" = x""yes; then :
35538   cat >>confdefs.h <<_ACEOF
35539 #define HAVE__HYPOTF 1
35540 _ACEOF
35541
35542 fi
35543 done
35544
35545     fi
35546   fi
35547
35548
35549
35550
35551
35552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35553 $as_echo_n "checking for ldexpf declaration... " >&6; }
35554   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35555     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35556   $as_echo_n "(cached) " >&6
35557 else
35558
35559
35560       ac_ext=cpp
35561 ac_cpp='$CXXCPP $CPPFLAGS'
35562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35565
35566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35567 /* end confdefs.h.  */
35568 #include <math.h>
35569 int
35570 main ()
35571 {
35572  ldexpf(0, 0);
35573   ;
35574   return 0;
35575 }
35576 _ACEOF
35577 if ac_fn_cxx_try_compile "$LINENO"; then :
35578   glibcxx_cv_func_ldexpf_use=yes
35579 else
35580   glibcxx_cv_func_ldexpf_use=no
35581 fi
35582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35583       ac_ext=c
35584 ac_cpp='$CPP $CPPFLAGS'
35585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35588
35589
35590 fi
35591
35592   fi
35593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35594 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35595
35596   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35597     for ac_func in ldexpf
35598 do :
35599   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35600 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35601   cat >>confdefs.h <<_ACEOF
35602 #define HAVE_LDEXPF 1
35603 _ACEOF
35604
35605 fi
35606 done
35607
35608   else
35609
35610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35611 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35612   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35613     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35614   $as_echo_n "(cached) " >&6
35615 else
35616
35617
35618       ac_ext=cpp
35619 ac_cpp='$CXXCPP $CPPFLAGS'
35620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35623
35624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35625 /* end confdefs.h.  */
35626 #include <math.h>
35627 int
35628 main ()
35629 {
35630  _ldexpf(0, 0);
35631   ;
35632   return 0;
35633 }
35634 _ACEOF
35635 if ac_fn_cxx_try_compile "$LINENO"; then :
35636   glibcxx_cv_func__ldexpf_use=yes
35637 else
35638   glibcxx_cv_func__ldexpf_use=no
35639 fi
35640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35641       ac_ext=c
35642 ac_cpp='$CPP $CPPFLAGS'
35643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35646
35647
35648 fi
35649
35650   fi
35651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35652 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35653
35654     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35655       for ac_func in _ldexpf
35656 do :
35657   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35658 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35659   cat >>confdefs.h <<_ACEOF
35660 #define HAVE__LDEXPF 1
35661 _ACEOF
35662
35663 fi
35664 done
35665
35666     fi
35667   fi
35668
35669
35670
35671
35672
35673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35674 $as_echo_n "checking for logf declaration... " >&6; }
35675   if test x${glibcxx_cv_func_logf_use+set} != xset; then
35676     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35677   $as_echo_n "(cached) " >&6
35678 else
35679
35680
35681       ac_ext=cpp
35682 ac_cpp='$CXXCPP $CPPFLAGS'
35683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35686
35687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35688 /* end confdefs.h.  */
35689 #include <math.h>
35690                       #ifdef HAVE_IEEEFP_H
35691                       #include <ieeefp.h>
35692                       #endif
35693
35694 int
35695 main ()
35696 {
35697  logf(0);
35698   ;
35699   return 0;
35700 }
35701 _ACEOF
35702 if ac_fn_cxx_try_compile "$LINENO"; then :
35703   glibcxx_cv_func_logf_use=yes
35704 else
35705   glibcxx_cv_func_logf_use=no
35706 fi
35707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35708       ac_ext=c
35709 ac_cpp='$CPP $CPPFLAGS'
35710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35713
35714
35715 fi
35716
35717   fi
35718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35719 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35720
35721   if test x$glibcxx_cv_func_logf_use = x"yes"; then
35722     for ac_func in logf
35723 do :
35724   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35725 if test "x$ac_cv_func_logf" = x""yes; then :
35726   cat >>confdefs.h <<_ACEOF
35727 #define HAVE_LOGF 1
35728 _ACEOF
35729
35730 fi
35731 done
35732
35733   else
35734
35735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35736 $as_echo_n "checking for _logf declaration... " >&6; }
35737   if test x${glibcxx_cv_func__logf_use+set} != xset; then
35738     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35739   $as_echo_n "(cached) " >&6
35740 else
35741
35742
35743       ac_ext=cpp
35744 ac_cpp='$CXXCPP $CPPFLAGS'
35745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35748
35749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35750 /* end confdefs.h.  */
35751 #include <math.h>
35752                       #ifdef HAVE_IEEEFP_H
35753                       #include <ieeefp.h>
35754                       #endif
35755
35756 int
35757 main ()
35758 {
35759  _logf(0);
35760   ;
35761   return 0;
35762 }
35763 _ACEOF
35764 if ac_fn_cxx_try_compile "$LINENO"; then :
35765   glibcxx_cv_func__logf_use=yes
35766 else
35767   glibcxx_cv_func__logf_use=no
35768 fi
35769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35770       ac_ext=c
35771 ac_cpp='$CPP $CPPFLAGS'
35772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35775
35776
35777 fi
35778
35779   fi
35780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35781 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35782
35783     if test x$glibcxx_cv_func__logf_use = x"yes"; then
35784       for ac_func in _logf
35785 do :
35786   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35787 if test "x$ac_cv_func__logf" = x""yes; then :
35788   cat >>confdefs.h <<_ACEOF
35789 #define HAVE__LOGF 1
35790 _ACEOF
35791
35792 fi
35793 done
35794
35795     fi
35796   fi
35797
35798
35799
35800
35801
35802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35803 $as_echo_n "checking for log10f declaration... " >&6; }
35804   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35805     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35806   $as_echo_n "(cached) " >&6
35807 else
35808
35809
35810       ac_ext=cpp
35811 ac_cpp='$CXXCPP $CPPFLAGS'
35812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35815
35816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35817 /* end confdefs.h.  */
35818 #include <math.h>
35819                       #ifdef HAVE_IEEEFP_H
35820                       #include <ieeefp.h>
35821                       #endif
35822
35823 int
35824 main ()
35825 {
35826  log10f(0);
35827   ;
35828   return 0;
35829 }
35830 _ACEOF
35831 if ac_fn_cxx_try_compile "$LINENO"; then :
35832   glibcxx_cv_func_log10f_use=yes
35833 else
35834   glibcxx_cv_func_log10f_use=no
35835 fi
35836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35837       ac_ext=c
35838 ac_cpp='$CPP $CPPFLAGS'
35839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35842
35843
35844 fi
35845
35846   fi
35847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35848 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35849
35850   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35851     for ac_func in log10f
35852 do :
35853   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35854 if test "x$ac_cv_func_log10f" = x""yes; then :
35855   cat >>confdefs.h <<_ACEOF
35856 #define HAVE_LOG10F 1
35857 _ACEOF
35858
35859 fi
35860 done
35861
35862   else
35863
35864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35865 $as_echo_n "checking for _log10f declaration... " >&6; }
35866   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35867     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35868   $as_echo_n "(cached) " >&6
35869 else
35870
35871
35872       ac_ext=cpp
35873 ac_cpp='$CXXCPP $CPPFLAGS'
35874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35877
35878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35879 /* end confdefs.h.  */
35880 #include <math.h>
35881                       #ifdef HAVE_IEEEFP_H
35882                       #include <ieeefp.h>
35883                       #endif
35884
35885 int
35886 main ()
35887 {
35888  _log10f(0);
35889   ;
35890   return 0;
35891 }
35892 _ACEOF
35893 if ac_fn_cxx_try_compile "$LINENO"; then :
35894   glibcxx_cv_func__log10f_use=yes
35895 else
35896   glibcxx_cv_func__log10f_use=no
35897 fi
35898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35899       ac_ext=c
35900 ac_cpp='$CPP $CPPFLAGS'
35901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35904
35905
35906 fi
35907
35908   fi
35909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35910 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35911
35912     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35913       for ac_func in _log10f
35914 do :
35915   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35916 if test "x$ac_cv_func__log10f" = x""yes; then :
35917   cat >>confdefs.h <<_ACEOF
35918 #define HAVE__LOG10F 1
35919 _ACEOF
35920
35921 fi
35922 done
35923
35924     fi
35925   fi
35926
35927
35928
35929
35930
35931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35932 $as_echo_n "checking for modff declaration... " >&6; }
35933   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35934     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35935   $as_echo_n "(cached) " >&6
35936 else
35937
35938
35939       ac_ext=cpp
35940 ac_cpp='$CXXCPP $CPPFLAGS'
35941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35944
35945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35946 /* end confdefs.h.  */
35947 #include <math.h>
35948 int
35949 main ()
35950 {
35951  modff(0, 0);
35952   ;
35953   return 0;
35954 }
35955 _ACEOF
35956 if ac_fn_cxx_try_compile "$LINENO"; then :
35957   glibcxx_cv_func_modff_use=yes
35958 else
35959   glibcxx_cv_func_modff_use=no
35960 fi
35961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35962       ac_ext=c
35963 ac_cpp='$CPP $CPPFLAGS'
35964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35967
35968
35969 fi
35970
35971   fi
35972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35973 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35974
35975   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35976     for ac_func in modff
35977 do :
35978   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35979 if test "x$ac_cv_func_modff" = x""yes; then :
35980   cat >>confdefs.h <<_ACEOF
35981 #define HAVE_MODFF 1
35982 _ACEOF
35983
35984 fi
35985 done
35986
35987   else
35988
35989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35990 $as_echo_n "checking for _modff declaration... " >&6; }
35991   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35992     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35993   $as_echo_n "(cached) " >&6
35994 else
35995
35996
35997       ac_ext=cpp
35998 ac_cpp='$CXXCPP $CPPFLAGS'
35999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36002
36003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36004 /* end confdefs.h.  */
36005 #include <math.h>
36006 int
36007 main ()
36008 {
36009  _modff(0, 0);
36010   ;
36011   return 0;
36012 }
36013 _ACEOF
36014 if ac_fn_cxx_try_compile "$LINENO"; then :
36015   glibcxx_cv_func__modff_use=yes
36016 else
36017   glibcxx_cv_func__modff_use=no
36018 fi
36019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36020       ac_ext=c
36021 ac_cpp='$CPP $CPPFLAGS'
36022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36025
36026
36027 fi
36028
36029   fi
36030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36031 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36032
36033     if test x$glibcxx_cv_func__modff_use = x"yes"; then
36034       for ac_func in _modff
36035 do :
36036   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36037 if test "x$ac_cv_func__modff" = x""yes; then :
36038   cat >>confdefs.h <<_ACEOF
36039 #define HAVE__MODFF 1
36040 _ACEOF
36041
36042 fi
36043 done
36044
36045     fi
36046   fi
36047
36048
36049
36050
36051
36052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36053 $as_echo_n "checking for modf declaration... " >&6; }
36054   if test x${glibcxx_cv_func_modf_use+set} != xset; then
36055     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36056   $as_echo_n "(cached) " >&6
36057 else
36058
36059
36060       ac_ext=cpp
36061 ac_cpp='$CXXCPP $CPPFLAGS'
36062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36065
36066       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36067 /* end confdefs.h.  */
36068 #include <math.h>
36069 int
36070 main ()
36071 {
36072  modf(0, 0);
36073   ;
36074   return 0;
36075 }
36076 _ACEOF
36077 if ac_fn_cxx_try_compile "$LINENO"; then :
36078   glibcxx_cv_func_modf_use=yes
36079 else
36080   glibcxx_cv_func_modf_use=no
36081 fi
36082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36083       ac_ext=c
36084 ac_cpp='$CPP $CPPFLAGS'
36085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36088
36089
36090 fi
36091
36092   fi
36093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36094 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36095
36096   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36097     for ac_func in modf
36098 do :
36099   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36100 if test "x$ac_cv_func_modf" = x""yes; then :
36101   cat >>confdefs.h <<_ACEOF
36102 #define HAVE_MODF 1
36103 _ACEOF
36104
36105 fi
36106 done
36107
36108   else
36109
36110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36111 $as_echo_n "checking for _modf declaration... " >&6; }
36112   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36113     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36114   $as_echo_n "(cached) " >&6
36115 else
36116
36117
36118       ac_ext=cpp
36119 ac_cpp='$CXXCPP $CPPFLAGS'
36120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36123
36124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36125 /* end confdefs.h.  */
36126 #include <math.h>
36127 int
36128 main ()
36129 {
36130  _modf(0, 0);
36131   ;
36132   return 0;
36133 }
36134 _ACEOF
36135 if ac_fn_cxx_try_compile "$LINENO"; then :
36136   glibcxx_cv_func__modf_use=yes
36137 else
36138   glibcxx_cv_func__modf_use=no
36139 fi
36140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36141       ac_ext=c
36142 ac_cpp='$CPP $CPPFLAGS'
36143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36146
36147
36148 fi
36149
36150   fi
36151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36152 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36153
36154     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36155       for ac_func in _modf
36156 do :
36157   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36158 if test "x$ac_cv_func__modf" = x""yes; then :
36159   cat >>confdefs.h <<_ACEOF
36160 #define HAVE__MODF 1
36161 _ACEOF
36162
36163 fi
36164 done
36165
36166     fi
36167   fi
36168
36169
36170
36171
36172
36173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36174 $as_echo_n "checking for powf declaration... " >&6; }
36175   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36176     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36177   $as_echo_n "(cached) " >&6
36178 else
36179
36180
36181       ac_ext=cpp
36182 ac_cpp='$CXXCPP $CPPFLAGS'
36183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36186
36187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36188 /* end confdefs.h.  */
36189 #include <math.h>
36190 int
36191 main ()
36192 {
36193  powf(0, 0);
36194   ;
36195   return 0;
36196 }
36197 _ACEOF
36198 if ac_fn_cxx_try_compile "$LINENO"; then :
36199   glibcxx_cv_func_powf_use=yes
36200 else
36201   glibcxx_cv_func_powf_use=no
36202 fi
36203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36204       ac_ext=c
36205 ac_cpp='$CPP $CPPFLAGS'
36206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36209
36210
36211 fi
36212
36213   fi
36214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36215 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36216
36217   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36218     for ac_func in powf
36219 do :
36220   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36221 if test "x$ac_cv_func_powf" = x""yes; then :
36222   cat >>confdefs.h <<_ACEOF
36223 #define HAVE_POWF 1
36224 _ACEOF
36225
36226 fi
36227 done
36228
36229   else
36230
36231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36232 $as_echo_n "checking for _powf declaration... " >&6; }
36233   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36234     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36235   $as_echo_n "(cached) " >&6
36236 else
36237
36238
36239       ac_ext=cpp
36240 ac_cpp='$CXXCPP $CPPFLAGS'
36241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36244
36245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36246 /* end confdefs.h.  */
36247 #include <math.h>
36248 int
36249 main ()
36250 {
36251  _powf(0, 0);
36252   ;
36253   return 0;
36254 }
36255 _ACEOF
36256 if ac_fn_cxx_try_compile "$LINENO"; then :
36257   glibcxx_cv_func__powf_use=yes
36258 else
36259   glibcxx_cv_func__powf_use=no
36260 fi
36261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36262       ac_ext=c
36263 ac_cpp='$CPP $CPPFLAGS'
36264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36267
36268
36269 fi
36270
36271   fi
36272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36273 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36274
36275     if test x$glibcxx_cv_func__powf_use = x"yes"; then
36276       for ac_func in _powf
36277 do :
36278   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36279 if test "x$ac_cv_func__powf" = x""yes; then :
36280   cat >>confdefs.h <<_ACEOF
36281 #define HAVE__POWF 1
36282 _ACEOF
36283
36284 fi
36285 done
36286
36287     fi
36288   fi
36289
36290
36291
36292
36293
36294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36295 $as_echo_n "checking for sqrtf declaration... " >&6; }
36296   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36297     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36298   $as_echo_n "(cached) " >&6
36299 else
36300
36301
36302       ac_ext=cpp
36303 ac_cpp='$CXXCPP $CPPFLAGS'
36304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36307
36308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36309 /* end confdefs.h.  */
36310 #include <math.h>
36311                       #ifdef HAVE_IEEEFP_H
36312                       #include <ieeefp.h>
36313                       #endif
36314
36315 int
36316 main ()
36317 {
36318  sqrtf(0);
36319   ;
36320   return 0;
36321 }
36322 _ACEOF
36323 if ac_fn_cxx_try_compile "$LINENO"; then :
36324   glibcxx_cv_func_sqrtf_use=yes
36325 else
36326   glibcxx_cv_func_sqrtf_use=no
36327 fi
36328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36329       ac_ext=c
36330 ac_cpp='$CPP $CPPFLAGS'
36331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36334
36335
36336 fi
36337
36338   fi
36339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36340 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36341
36342   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36343     for ac_func in sqrtf
36344 do :
36345   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36346 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36347   cat >>confdefs.h <<_ACEOF
36348 #define HAVE_SQRTF 1
36349 _ACEOF
36350
36351 fi
36352 done
36353
36354   else
36355
36356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36357 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36358   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36359     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36360   $as_echo_n "(cached) " >&6
36361 else
36362
36363
36364       ac_ext=cpp
36365 ac_cpp='$CXXCPP $CPPFLAGS'
36366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36369
36370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36371 /* end confdefs.h.  */
36372 #include <math.h>
36373                       #ifdef HAVE_IEEEFP_H
36374                       #include <ieeefp.h>
36375                       #endif
36376
36377 int
36378 main ()
36379 {
36380  _sqrtf(0);
36381   ;
36382   return 0;
36383 }
36384 _ACEOF
36385 if ac_fn_cxx_try_compile "$LINENO"; then :
36386   glibcxx_cv_func__sqrtf_use=yes
36387 else
36388   glibcxx_cv_func__sqrtf_use=no
36389 fi
36390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36391       ac_ext=c
36392 ac_cpp='$CPP $CPPFLAGS'
36393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36396
36397
36398 fi
36399
36400   fi
36401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36402 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36403
36404     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36405       for ac_func in _sqrtf
36406 do :
36407   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36408 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36409   cat >>confdefs.h <<_ACEOF
36410 #define HAVE__SQRTF 1
36411 _ACEOF
36412
36413 fi
36414 done
36415
36416     fi
36417   fi
36418
36419
36420
36421
36422
36423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36424 $as_echo_n "checking for sincosf declaration... " >&6; }
36425   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36426     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36427   $as_echo_n "(cached) " >&6
36428 else
36429
36430
36431       ac_ext=cpp
36432 ac_cpp='$CXXCPP $CPPFLAGS'
36433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36436
36437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36438 /* end confdefs.h.  */
36439 #include <math.h>
36440 int
36441 main ()
36442 {
36443  sincosf(0, 0, 0);
36444   ;
36445   return 0;
36446 }
36447 _ACEOF
36448 if ac_fn_cxx_try_compile "$LINENO"; then :
36449   glibcxx_cv_func_sincosf_use=yes
36450 else
36451   glibcxx_cv_func_sincosf_use=no
36452 fi
36453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36454       ac_ext=c
36455 ac_cpp='$CPP $CPPFLAGS'
36456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36459
36460
36461 fi
36462
36463   fi
36464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36465 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36466
36467   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36468     for ac_func in sincosf
36469 do :
36470   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36471 if test "x$ac_cv_func_sincosf" = x""yes; then :
36472   cat >>confdefs.h <<_ACEOF
36473 #define HAVE_SINCOSF 1
36474 _ACEOF
36475
36476 fi
36477 done
36478
36479   else
36480
36481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36482 $as_echo_n "checking for _sincosf declaration... " >&6; }
36483   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36484     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36485   $as_echo_n "(cached) " >&6
36486 else
36487
36488
36489       ac_ext=cpp
36490 ac_cpp='$CXXCPP $CPPFLAGS'
36491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36494
36495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36496 /* end confdefs.h.  */
36497 #include <math.h>
36498 int
36499 main ()
36500 {
36501  _sincosf(0, 0, 0);
36502   ;
36503   return 0;
36504 }
36505 _ACEOF
36506 if ac_fn_cxx_try_compile "$LINENO"; then :
36507   glibcxx_cv_func__sincosf_use=yes
36508 else
36509   glibcxx_cv_func__sincosf_use=no
36510 fi
36511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36512       ac_ext=c
36513 ac_cpp='$CPP $CPPFLAGS'
36514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36517
36518
36519 fi
36520
36521   fi
36522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36523 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36524
36525     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36526       for ac_func in _sincosf
36527 do :
36528   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36529 if test "x$ac_cv_func__sincosf" = x""yes; then :
36530   cat >>confdefs.h <<_ACEOF
36531 #define HAVE__SINCOSF 1
36532 _ACEOF
36533
36534 fi
36535 done
36536
36537     fi
36538   fi
36539
36540
36541
36542
36543
36544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36545 $as_echo_n "checking for finitef declaration... " >&6; }
36546   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36547     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36548   $as_echo_n "(cached) " >&6
36549 else
36550
36551
36552       ac_ext=cpp
36553 ac_cpp='$CXXCPP $CPPFLAGS'
36554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36557
36558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36559 /* end confdefs.h.  */
36560 #include <math.h>
36561                       #ifdef HAVE_IEEEFP_H
36562                       #include <ieeefp.h>
36563                       #endif
36564
36565 int
36566 main ()
36567 {
36568  finitef(0);
36569   ;
36570   return 0;
36571 }
36572 _ACEOF
36573 if ac_fn_cxx_try_compile "$LINENO"; then :
36574   glibcxx_cv_func_finitef_use=yes
36575 else
36576   glibcxx_cv_func_finitef_use=no
36577 fi
36578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36579       ac_ext=c
36580 ac_cpp='$CPP $CPPFLAGS'
36581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36584
36585
36586 fi
36587
36588   fi
36589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36590 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36591
36592   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36593     for ac_func in finitef
36594 do :
36595   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36596 if test "x$ac_cv_func_finitef" = x""yes; then :
36597   cat >>confdefs.h <<_ACEOF
36598 #define HAVE_FINITEF 1
36599 _ACEOF
36600
36601 fi
36602 done
36603
36604   else
36605
36606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36607 $as_echo_n "checking for _finitef declaration... " >&6; }
36608   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36609     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36610   $as_echo_n "(cached) " >&6
36611 else
36612
36613
36614       ac_ext=cpp
36615 ac_cpp='$CXXCPP $CPPFLAGS'
36616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36619
36620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36621 /* end confdefs.h.  */
36622 #include <math.h>
36623                       #ifdef HAVE_IEEEFP_H
36624                       #include <ieeefp.h>
36625                       #endif
36626
36627 int
36628 main ()
36629 {
36630  _finitef(0);
36631   ;
36632   return 0;
36633 }
36634 _ACEOF
36635 if ac_fn_cxx_try_compile "$LINENO"; then :
36636   glibcxx_cv_func__finitef_use=yes
36637 else
36638   glibcxx_cv_func__finitef_use=no
36639 fi
36640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36641       ac_ext=c
36642 ac_cpp='$CPP $CPPFLAGS'
36643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36646
36647
36648 fi
36649
36650   fi
36651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36652 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36653
36654     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36655       for ac_func in _finitef
36656 do :
36657   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36658 if test "x$ac_cv_func__finitef" = x""yes; then :
36659   cat >>confdefs.h <<_ACEOF
36660 #define HAVE__FINITEF 1
36661 _ACEOF
36662
36663 fi
36664 done
36665
36666     fi
36667   fi
36668
36669
36670
36671
36672
36673     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36674 $as_echo_n "checking for long double trig functions... " >&6; }
36675   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36676   $as_echo_n "(cached) " >&6
36677 else
36678
36679
36680     ac_ext=cpp
36681 ac_cpp='$CXXCPP $CPPFLAGS'
36682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36685
36686     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36687 /* end confdefs.h.  */
36688 #include <math.h>
36689 int
36690 main ()
36691 {
36692 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36693   ;
36694   return 0;
36695 }
36696 _ACEOF
36697 if ac_fn_cxx_try_compile "$LINENO"; then :
36698   glibcxx_cv_func_long_double_trig_use=yes
36699 else
36700   glibcxx_cv_func_long_double_trig_use=no
36701 fi
36702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36703     ac_ext=c
36704 ac_cpp='$CPP $CPPFLAGS'
36705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36708
36709 fi
36710
36711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36712 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36713   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36714     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36715 do :
36716   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36717 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36718 eval as_val=\$$as_ac_var
36719    if test "x$as_val" = x""yes; then :
36720   cat >>confdefs.h <<_ACEOF
36721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36722 _ACEOF
36723
36724 fi
36725 done
36726
36727   else
36728     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36729 $as_echo_n "checking for _long double trig functions... " >&6; }
36730     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36731   $as_echo_n "(cached) " >&6
36732 else
36733
36734
36735       ac_ext=cpp
36736 ac_cpp='$CXXCPP $CPPFLAGS'
36737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36740
36741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36742 /* end confdefs.h.  */
36743 #include <math.h>
36744 int
36745 main ()
36746 {
36747 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36748   ;
36749   return 0;
36750 }
36751 _ACEOF
36752 if ac_fn_cxx_try_compile "$LINENO"; then :
36753   glibcxx_cv_func__long_double_trig_use=yes
36754 else
36755   glibcxx_cv_func__long_double_trig_use=no
36756 fi
36757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36758       ac_ext=c
36759 ac_cpp='$CPP $CPPFLAGS'
36760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36763
36764 fi
36765
36766     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36767 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36768     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36769       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36770 do :
36771   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36773 eval as_val=\$$as_ac_var
36774    if test "x$as_val" = x""yes; then :
36775   cat >>confdefs.h <<_ACEOF
36776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36777 _ACEOF
36778
36779 fi
36780 done
36781
36782     fi
36783   fi
36784
36785
36786
36787
36788
36789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36790 $as_echo_n "checking for long double round functions... " >&6; }
36791   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36792   $as_echo_n "(cached) " >&6
36793 else
36794
36795
36796     ac_ext=cpp
36797 ac_cpp='$CXXCPP $CPPFLAGS'
36798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36801
36802     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36803 /* end confdefs.h.  */
36804 #include <math.h>
36805 int
36806 main ()
36807 {
36808 ceill (0); floorl (0);
36809   ;
36810   return 0;
36811 }
36812 _ACEOF
36813 if ac_fn_cxx_try_compile "$LINENO"; then :
36814   glibcxx_cv_func_long_double_round_use=yes
36815 else
36816   glibcxx_cv_func_long_double_round_use=no
36817 fi
36818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36819     ac_ext=c
36820 ac_cpp='$CPP $CPPFLAGS'
36821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36824
36825 fi
36826
36827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36828 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36829   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36830     for ac_func in ceill floorl
36831 do :
36832   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36833 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36834 eval as_val=\$$as_ac_var
36835    if test "x$as_val" = x""yes; then :
36836   cat >>confdefs.h <<_ACEOF
36837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36838 _ACEOF
36839
36840 fi
36841 done
36842
36843   else
36844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36845 $as_echo_n "checking for _long double round functions... " >&6; }
36846     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36847   $as_echo_n "(cached) " >&6
36848 else
36849
36850
36851       ac_ext=cpp
36852 ac_cpp='$CXXCPP $CPPFLAGS'
36853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36856
36857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36858 /* end confdefs.h.  */
36859 #include <math.h>
36860 int
36861 main ()
36862 {
36863 _ceill (0); _floorl (0);
36864   ;
36865   return 0;
36866 }
36867 _ACEOF
36868 if ac_fn_cxx_try_compile "$LINENO"; then :
36869   glibcxx_cv_func__long_double_round_use=yes
36870 else
36871   glibcxx_cv_func__long_double_round_use=no
36872 fi
36873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36874       ac_ext=c
36875 ac_cpp='$CPP $CPPFLAGS'
36876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36879
36880 fi
36881
36882     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36883 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36884     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36885       for ac_func in _ceill _floorl
36886 do :
36887   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36889 eval as_val=\$$as_ac_var
36890    if test "x$as_val" = x""yes; then :
36891   cat >>confdefs.h <<_ACEOF
36892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36893 _ACEOF
36894
36895 fi
36896 done
36897
36898     fi
36899   fi
36900
36901
36902
36903
36904
36905
36906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36907 $as_echo_n "checking for isnanl declaration... " >&6; }
36908   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36909     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36910   $as_echo_n "(cached) " >&6
36911 else
36912
36913
36914       ac_ext=cpp
36915 ac_cpp='$CXXCPP $CPPFLAGS'
36916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36919
36920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36921 /* end confdefs.h.  */
36922 #include <math.h>
36923                       #ifdef HAVE_IEEEFP_H
36924                       #include <ieeefp.h>
36925                       #endif
36926
36927 int
36928 main ()
36929 {
36930  isnanl(0);
36931   ;
36932   return 0;
36933 }
36934 _ACEOF
36935 if ac_fn_cxx_try_compile "$LINENO"; then :
36936   glibcxx_cv_func_isnanl_use=yes
36937 else
36938   glibcxx_cv_func_isnanl_use=no
36939 fi
36940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36941       ac_ext=c
36942 ac_cpp='$CPP $CPPFLAGS'
36943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36946
36947
36948 fi
36949
36950   fi
36951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36952 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36953
36954   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36955     for ac_func in isnanl
36956 do :
36957   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36958 if test "x$ac_cv_func_isnanl" = x""yes; then :
36959   cat >>confdefs.h <<_ACEOF
36960 #define HAVE_ISNANL 1
36961 _ACEOF
36962
36963 fi
36964 done
36965
36966   else
36967
36968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36969 $as_echo_n "checking for _isnanl declaration... " >&6; }
36970   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36971     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36972   $as_echo_n "(cached) " >&6
36973 else
36974
36975
36976       ac_ext=cpp
36977 ac_cpp='$CXXCPP $CPPFLAGS'
36978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36981
36982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36983 /* end confdefs.h.  */
36984 #include <math.h>
36985                       #ifdef HAVE_IEEEFP_H
36986                       #include <ieeefp.h>
36987                       #endif
36988
36989 int
36990 main ()
36991 {
36992  _isnanl(0);
36993   ;
36994   return 0;
36995 }
36996 _ACEOF
36997 if ac_fn_cxx_try_compile "$LINENO"; then :
36998   glibcxx_cv_func__isnanl_use=yes
36999 else
37000   glibcxx_cv_func__isnanl_use=no
37001 fi
37002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37003       ac_ext=c
37004 ac_cpp='$CPP $CPPFLAGS'
37005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37008
37009
37010 fi
37011
37012   fi
37013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37014 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37015
37016     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37017       for ac_func in _isnanl
37018 do :
37019   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37020 if test "x$ac_cv_func__isnanl" = x""yes; then :
37021   cat >>confdefs.h <<_ACEOF
37022 #define HAVE__ISNANL 1
37023 _ACEOF
37024
37025 fi
37026 done
37027
37028     fi
37029   fi
37030
37031
37032
37033
37034
37035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37036 $as_echo_n "checking for isinfl declaration... " >&6; }
37037   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37038     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37039   $as_echo_n "(cached) " >&6
37040 else
37041
37042
37043       ac_ext=cpp
37044 ac_cpp='$CXXCPP $CPPFLAGS'
37045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37048
37049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37050 /* end confdefs.h.  */
37051 #include <math.h>
37052                       #ifdef HAVE_IEEEFP_H
37053                       #include <ieeefp.h>
37054                       #endif
37055
37056 int
37057 main ()
37058 {
37059  isinfl(0);
37060   ;
37061   return 0;
37062 }
37063 _ACEOF
37064 if ac_fn_cxx_try_compile "$LINENO"; then :
37065   glibcxx_cv_func_isinfl_use=yes
37066 else
37067   glibcxx_cv_func_isinfl_use=no
37068 fi
37069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37070       ac_ext=c
37071 ac_cpp='$CPP $CPPFLAGS'
37072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37075
37076
37077 fi
37078
37079   fi
37080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37081 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37082
37083   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37084     for ac_func in isinfl
37085 do :
37086   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37087 if test "x$ac_cv_func_isinfl" = x""yes; then :
37088   cat >>confdefs.h <<_ACEOF
37089 #define HAVE_ISINFL 1
37090 _ACEOF
37091
37092 fi
37093 done
37094
37095   else
37096
37097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37098 $as_echo_n "checking for _isinfl declaration... " >&6; }
37099   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37100     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37101   $as_echo_n "(cached) " >&6
37102 else
37103
37104
37105       ac_ext=cpp
37106 ac_cpp='$CXXCPP $CPPFLAGS'
37107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37110
37111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37112 /* end confdefs.h.  */
37113 #include <math.h>
37114                       #ifdef HAVE_IEEEFP_H
37115                       #include <ieeefp.h>
37116                       #endif
37117
37118 int
37119 main ()
37120 {
37121  _isinfl(0);
37122   ;
37123   return 0;
37124 }
37125 _ACEOF
37126 if ac_fn_cxx_try_compile "$LINENO"; then :
37127   glibcxx_cv_func__isinfl_use=yes
37128 else
37129   glibcxx_cv_func__isinfl_use=no
37130 fi
37131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37132       ac_ext=c
37133 ac_cpp='$CPP $CPPFLAGS'
37134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37137
37138
37139 fi
37140
37141   fi
37142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37143 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37144
37145     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37146       for ac_func in _isinfl
37147 do :
37148   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37149 if test "x$ac_cv_func__isinfl" = x""yes; then :
37150   cat >>confdefs.h <<_ACEOF
37151 #define HAVE__ISINFL 1
37152 _ACEOF
37153
37154 fi
37155 done
37156
37157     fi
37158   fi
37159
37160
37161
37162
37163
37164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37165 $as_echo_n "checking for atan2l declaration... " >&6; }
37166   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37167     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37168   $as_echo_n "(cached) " >&6
37169 else
37170
37171
37172       ac_ext=cpp
37173 ac_cpp='$CXXCPP $CPPFLAGS'
37174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37177
37178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37179 /* end confdefs.h.  */
37180 #include <math.h>
37181 int
37182 main ()
37183 {
37184  atan2l(0, 0);
37185   ;
37186   return 0;
37187 }
37188 _ACEOF
37189 if ac_fn_cxx_try_compile "$LINENO"; then :
37190   glibcxx_cv_func_atan2l_use=yes
37191 else
37192   glibcxx_cv_func_atan2l_use=no
37193 fi
37194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37195       ac_ext=c
37196 ac_cpp='$CPP $CPPFLAGS'
37197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37200
37201
37202 fi
37203
37204   fi
37205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37206 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37207
37208   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37209     for ac_func in atan2l
37210 do :
37211   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37212 if test "x$ac_cv_func_atan2l" = x""yes; then :
37213   cat >>confdefs.h <<_ACEOF
37214 #define HAVE_ATAN2L 1
37215 _ACEOF
37216
37217 fi
37218 done
37219
37220   else
37221
37222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37223 $as_echo_n "checking for _atan2l declaration... " >&6; }
37224   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37225     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37226   $as_echo_n "(cached) " >&6
37227 else
37228
37229
37230       ac_ext=cpp
37231 ac_cpp='$CXXCPP $CPPFLAGS'
37232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37235
37236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37237 /* end confdefs.h.  */
37238 #include <math.h>
37239 int
37240 main ()
37241 {
37242  _atan2l(0, 0);
37243   ;
37244   return 0;
37245 }
37246 _ACEOF
37247 if ac_fn_cxx_try_compile "$LINENO"; then :
37248   glibcxx_cv_func__atan2l_use=yes
37249 else
37250   glibcxx_cv_func__atan2l_use=no
37251 fi
37252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37253       ac_ext=c
37254 ac_cpp='$CPP $CPPFLAGS'
37255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37258
37259
37260 fi
37261
37262   fi
37263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37264 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37265
37266     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37267       for ac_func in _atan2l
37268 do :
37269   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37270 if test "x$ac_cv_func__atan2l" = x""yes; then :
37271   cat >>confdefs.h <<_ACEOF
37272 #define HAVE__ATAN2L 1
37273 _ACEOF
37274
37275 fi
37276 done
37277
37278     fi
37279   fi
37280
37281
37282
37283
37284
37285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37286 $as_echo_n "checking for expl declaration... " >&6; }
37287   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37288     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37289   $as_echo_n "(cached) " >&6
37290 else
37291
37292
37293       ac_ext=cpp
37294 ac_cpp='$CXXCPP $CPPFLAGS'
37295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37298
37299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37300 /* end confdefs.h.  */
37301 #include <math.h>
37302                       #ifdef HAVE_IEEEFP_H
37303                       #include <ieeefp.h>
37304                       #endif
37305
37306 int
37307 main ()
37308 {
37309  expl(0);
37310   ;
37311   return 0;
37312 }
37313 _ACEOF
37314 if ac_fn_cxx_try_compile "$LINENO"; then :
37315   glibcxx_cv_func_expl_use=yes
37316 else
37317   glibcxx_cv_func_expl_use=no
37318 fi
37319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37320       ac_ext=c
37321 ac_cpp='$CPP $CPPFLAGS'
37322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37325
37326
37327 fi
37328
37329   fi
37330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37331 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37332
37333   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37334     for ac_func in expl
37335 do :
37336   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37337 if test "x$ac_cv_func_expl" = x""yes; then :
37338   cat >>confdefs.h <<_ACEOF
37339 #define HAVE_EXPL 1
37340 _ACEOF
37341
37342 fi
37343 done
37344
37345   else
37346
37347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37348 $as_echo_n "checking for _expl declaration... " >&6; }
37349   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37350     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37351   $as_echo_n "(cached) " >&6
37352 else
37353
37354
37355       ac_ext=cpp
37356 ac_cpp='$CXXCPP $CPPFLAGS'
37357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37360
37361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37362 /* end confdefs.h.  */
37363 #include <math.h>
37364                       #ifdef HAVE_IEEEFP_H
37365                       #include <ieeefp.h>
37366                       #endif
37367
37368 int
37369 main ()
37370 {
37371  _expl(0);
37372   ;
37373   return 0;
37374 }
37375 _ACEOF
37376 if ac_fn_cxx_try_compile "$LINENO"; then :
37377   glibcxx_cv_func__expl_use=yes
37378 else
37379   glibcxx_cv_func__expl_use=no
37380 fi
37381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37382       ac_ext=c
37383 ac_cpp='$CPP $CPPFLAGS'
37384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37387
37388
37389 fi
37390
37391   fi
37392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37393 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37394
37395     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37396       for ac_func in _expl
37397 do :
37398   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37399 if test "x$ac_cv_func__expl" = x""yes; then :
37400   cat >>confdefs.h <<_ACEOF
37401 #define HAVE__EXPL 1
37402 _ACEOF
37403
37404 fi
37405 done
37406
37407     fi
37408   fi
37409
37410
37411
37412
37413
37414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37415 $as_echo_n "checking for fabsl declaration... " >&6; }
37416   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37417     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37418   $as_echo_n "(cached) " >&6
37419 else
37420
37421
37422       ac_ext=cpp
37423 ac_cpp='$CXXCPP $CPPFLAGS'
37424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37427
37428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37429 /* end confdefs.h.  */
37430 #include <math.h>
37431                       #ifdef HAVE_IEEEFP_H
37432                       #include <ieeefp.h>
37433                       #endif
37434
37435 int
37436 main ()
37437 {
37438  fabsl(0);
37439   ;
37440   return 0;
37441 }
37442 _ACEOF
37443 if ac_fn_cxx_try_compile "$LINENO"; then :
37444   glibcxx_cv_func_fabsl_use=yes
37445 else
37446   glibcxx_cv_func_fabsl_use=no
37447 fi
37448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37449       ac_ext=c
37450 ac_cpp='$CPP $CPPFLAGS'
37451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37454
37455
37456 fi
37457
37458   fi
37459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37460 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37461
37462   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37463     for ac_func in fabsl
37464 do :
37465   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37466 if test "x$ac_cv_func_fabsl" = x""yes; then :
37467   cat >>confdefs.h <<_ACEOF
37468 #define HAVE_FABSL 1
37469 _ACEOF
37470
37471 fi
37472 done
37473
37474   else
37475
37476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37477 $as_echo_n "checking for _fabsl declaration... " >&6; }
37478   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37479     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37480   $as_echo_n "(cached) " >&6
37481 else
37482
37483
37484       ac_ext=cpp
37485 ac_cpp='$CXXCPP $CPPFLAGS'
37486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37489
37490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37491 /* end confdefs.h.  */
37492 #include <math.h>
37493                       #ifdef HAVE_IEEEFP_H
37494                       #include <ieeefp.h>
37495                       #endif
37496
37497 int
37498 main ()
37499 {
37500  _fabsl(0);
37501   ;
37502   return 0;
37503 }
37504 _ACEOF
37505 if ac_fn_cxx_try_compile "$LINENO"; then :
37506   glibcxx_cv_func__fabsl_use=yes
37507 else
37508   glibcxx_cv_func__fabsl_use=no
37509 fi
37510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37511       ac_ext=c
37512 ac_cpp='$CPP $CPPFLAGS'
37513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37516
37517
37518 fi
37519
37520   fi
37521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37522 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37523
37524     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37525       for ac_func in _fabsl
37526 do :
37527   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37528 if test "x$ac_cv_func__fabsl" = x""yes; then :
37529   cat >>confdefs.h <<_ACEOF
37530 #define HAVE__FABSL 1
37531 _ACEOF
37532
37533 fi
37534 done
37535
37536     fi
37537   fi
37538
37539
37540
37541
37542
37543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37544 $as_echo_n "checking for fmodl declaration... " >&6; }
37545   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37546     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37547   $as_echo_n "(cached) " >&6
37548 else
37549
37550
37551       ac_ext=cpp
37552 ac_cpp='$CXXCPP $CPPFLAGS'
37553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37556
37557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37558 /* end confdefs.h.  */
37559 #include <math.h>
37560 int
37561 main ()
37562 {
37563  fmodl(0, 0);
37564   ;
37565   return 0;
37566 }
37567 _ACEOF
37568 if ac_fn_cxx_try_compile "$LINENO"; then :
37569   glibcxx_cv_func_fmodl_use=yes
37570 else
37571   glibcxx_cv_func_fmodl_use=no
37572 fi
37573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37574       ac_ext=c
37575 ac_cpp='$CPP $CPPFLAGS'
37576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37579
37580
37581 fi
37582
37583   fi
37584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37585 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37586
37587   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37588     for ac_func in fmodl
37589 do :
37590   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37591 if test "x$ac_cv_func_fmodl" = x""yes; then :
37592   cat >>confdefs.h <<_ACEOF
37593 #define HAVE_FMODL 1
37594 _ACEOF
37595
37596 fi
37597 done
37598
37599   else
37600
37601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37602 $as_echo_n "checking for _fmodl declaration... " >&6; }
37603   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37604     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37605   $as_echo_n "(cached) " >&6
37606 else
37607
37608
37609       ac_ext=cpp
37610 ac_cpp='$CXXCPP $CPPFLAGS'
37611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37614
37615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37616 /* end confdefs.h.  */
37617 #include <math.h>
37618 int
37619 main ()
37620 {
37621  _fmodl(0, 0);
37622   ;
37623   return 0;
37624 }
37625 _ACEOF
37626 if ac_fn_cxx_try_compile "$LINENO"; then :
37627   glibcxx_cv_func__fmodl_use=yes
37628 else
37629   glibcxx_cv_func__fmodl_use=no
37630 fi
37631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37632       ac_ext=c
37633 ac_cpp='$CPP $CPPFLAGS'
37634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37637
37638
37639 fi
37640
37641   fi
37642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37643 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37644
37645     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37646       for ac_func in _fmodl
37647 do :
37648   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37649 if test "x$ac_cv_func__fmodl" = x""yes; then :
37650   cat >>confdefs.h <<_ACEOF
37651 #define HAVE__FMODL 1
37652 _ACEOF
37653
37654 fi
37655 done
37656
37657     fi
37658   fi
37659
37660
37661
37662
37663
37664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37665 $as_echo_n "checking for frexpl declaration... " >&6; }
37666   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37667     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37668   $as_echo_n "(cached) " >&6
37669 else
37670
37671
37672       ac_ext=cpp
37673 ac_cpp='$CXXCPP $CPPFLAGS'
37674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37677
37678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37679 /* end confdefs.h.  */
37680 #include <math.h>
37681 int
37682 main ()
37683 {
37684  frexpl(0, 0);
37685   ;
37686   return 0;
37687 }
37688 _ACEOF
37689 if ac_fn_cxx_try_compile "$LINENO"; then :
37690   glibcxx_cv_func_frexpl_use=yes
37691 else
37692   glibcxx_cv_func_frexpl_use=no
37693 fi
37694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37695       ac_ext=c
37696 ac_cpp='$CPP $CPPFLAGS'
37697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37700
37701
37702 fi
37703
37704   fi
37705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37706 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37707
37708   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37709     for ac_func in frexpl
37710 do :
37711   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37712 if test "x$ac_cv_func_frexpl" = x""yes; then :
37713   cat >>confdefs.h <<_ACEOF
37714 #define HAVE_FREXPL 1
37715 _ACEOF
37716
37717 fi
37718 done
37719
37720   else
37721
37722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37723 $as_echo_n "checking for _frexpl declaration... " >&6; }
37724   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37725     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37726   $as_echo_n "(cached) " >&6
37727 else
37728
37729
37730       ac_ext=cpp
37731 ac_cpp='$CXXCPP $CPPFLAGS'
37732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37735
37736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37737 /* end confdefs.h.  */
37738 #include <math.h>
37739 int
37740 main ()
37741 {
37742  _frexpl(0, 0);
37743   ;
37744   return 0;
37745 }
37746 _ACEOF
37747 if ac_fn_cxx_try_compile "$LINENO"; then :
37748   glibcxx_cv_func__frexpl_use=yes
37749 else
37750   glibcxx_cv_func__frexpl_use=no
37751 fi
37752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37753       ac_ext=c
37754 ac_cpp='$CPP $CPPFLAGS'
37755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37758
37759
37760 fi
37761
37762   fi
37763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37764 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37765
37766     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37767       for ac_func in _frexpl
37768 do :
37769   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37770 if test "x$ac_cv_func__frexpl" = x""yes; then :
37771   cat >>confdefs.h <<_ACEOF
37772 #define HAVE__FREXPL 1
37773 _ACEOF
37774
37775 fi
37776 done
37777
37778     fi
37779   fi
37780
37781
37782
37783
37784
37785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37786 $as_echo_n "checking for hypotl declaration... " >&6; }
37787   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37788     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37789   $as_echo_n "(cached) " >&6
37790 else
37791
37792
37793       ac_ext=cpp
37794 ac_cpp='$CXXCPP $CPPFLAGS'
37795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37798
37799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37800 /* end confdefs.h.  */
37801 #include <math.h>
37802 int
37803 main ()
37804 {
37805  hypotl(0, 0);
37806   ;
37807   return 0;
37808 }
37809 _ACEOF
37810 if ac_fn_cxx_try_compile "$LINENO"; then :
37811   glibcxx_cv_func_hypotl_use=yes
37812 else
37813   glibcxx_cv_func_hypotl_use=no
37814 fi
37815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37816       ac_ext=c
37817 ac_cpp='$CPP $CPPFLAGS'
37818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37821
37822
37823 fi
37824
37825   fi
37826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37827 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37828
37829   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37830     for ac_func in hypotl
37831 do :
37832   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37833 if test "x$ac_cv_func_hypotl" = x""yes; then :
37834   cat >>confdefs.h <<_ACEOF
37835 #define HAVE_HYPOTL 1
37836 _ACEOF
37837
37838 fi
37839 done
37840
37841   else
37842
37843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37844 $as_echo_n "checking for _hypotl declaration... " >&6; }
37845   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37846     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37847   $as_echo_n "(cached) " >&6
37848 else
37849
37850
37851       ac_ext=cpp
37852 ac_cpp='$CXXCPP $CPPFLAGS'
37853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37856
37857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37858 /* end confdefs.h.  */
37859 #include <math.h>
37860 int
37861 main ()
37862 {
37863  _hypotl(0, 0);
37864   ;
37865   return 0;
37866 }
37867 _ACEOF
37868 if ac_fn_cxx_try_compile "$LINENO"; then :
37869   glibcxx_cv_func__hypotl_use=yes
37870 else
37871   glibcxx_cv_func__hypotl_use=no
37872 fi
37873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37874       ac_ext=c
37875 ac_cpp='$CPP $CPPFLAGS'
37876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37879
37880
37881 fi
37882
37883   fi
37884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37885 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37886
37887     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37888       for ac_func in _hypotl
37889 do :
37890   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37891 if test "x$ac_cv_func__hypotl" = x""yes; then :
37892   cat >>confdefs.h <<_ACEOF
37893 #define HAVE__HYPOTL 1
37894 _ACEOF
37895
37896 fi
37897 done
37898
37899     fi
37900   fi
37901
37902
37903
37904
37905
37906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37907 $as_echo_n "checking for ldexpl declaration... " >&6; }
37908   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37909     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37910   $as_echo_n "(cached) " >&6
37911 else
37912
37913
37914       ac_ext=cpp
37915 ac_cpp='$CXXCPP $CPPFLAGS'
37916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37919
37920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37921 /* end confdefs.h.  */
37922 #include <math.h>
37923 int
37924 main ()
37925 {
37926  ldexpl(0, 0);
37927   ;
37928   return 0;
37929 }
37930 _ACEOF
37931 if ac_fn_cxx_try_compile "$LINENO"; then :
37932   glibcxx_cv_func_ldexpl_use=yes
37933 else
37934   glibcxx_cv_func_ldexpl_use=no
37935 fi
37936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37937       ac_ext=c
37938 ac_cpp='$CPP $CPPFLAGS'
37939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37942
37943
37944 fi
37945
37946   fi
37947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37948 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37949
37950   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37951     for ac_func in ldexpl
37952 do :
37953   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37954 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37955   cat >>confdefs.h <<_ACEOF
37956 #define HAVE_LDEXPL 1
37957 _ACEOF
37958
37959 fi
37960 done
37961
37962   else
37963
37964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37965 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37966   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37967     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37968   $as_echo_n "(cached) " >&6
37969 else
37970
37971
37972       ac_ext=cpp
37973 ac_cpp='$CXXCPP $CPPFLAGS'
37974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37977
37978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37979 /* end confdefs.h.  */
37980 #include <math.h>
37981 int
37982 main ()
37983 {
37984  _ldexpl(0, 0);
37985   ;
37986   return 0;
37987 }
37988 _ACEOF
37989 if ac_fn_cxx_try_compile "$LINENO"; then :
37990   glibcxx_cv_func__ldexpl_use=yes
37991 else
37992   glibcxx_cv_func__ldexpl_use=no
37993 fi
37994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37995       ac_ext=c
37996 ac_cpp='$CPP $CPPFLAGS'
37997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38000
38001
38002 fi
38003
38004   fi
38005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38006 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38007
38008     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38009       for ac_func in _ldexpl
38010 do :
38011   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38012 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38013   cat >>confdefs.h <<_ACEOF
38014 #define HAVE__LDEXPL 1
38015 _ACEOF
38016
38017 fi
38018 done
38019
38020     fi
38021   fi
38022
38023
38024
38025
38026
38027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38028 $as_echo_n "checking for logl declaration... " >&6; }
38029   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38030     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38031   $as_echo_n "(cached) " >&6
38032 else
38033
38034
38035       ac_ext=cpp
38036 ac_cpp='$CXXCPP $CPPFLAGS'
38037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38040
38041       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38042 /* end confdefs.h.  */
38043 #include <math.h>
38044                       #ifdef HAVE_IEEEFP_H
38045                       #include <ieeefp.h>
38046                       #endif
38047
38048 int
38049 main ()
38050 {
38051  logl(0);
38052   ;
38053   return 0;
38054 }
38055 _ACEOF
38056 if ac_fn_cxx_try_compile "$LINENO"; then :
38057   glibcxx_cv_func_logl_use=yes
38058 else
38059   glibcxx_cv_func_logl_use=no
38060 fi
38061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38062       ac_ext=c
38063 ac_cpp='$CPP $CPPFLAGS'
38064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38067
38068
38069 fi
38070
38071   fi
38072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38073 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38074
38075   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38076     for ac_func in logl
38077 do :
38078   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38079 if test "x$ac_cv_func_logl" = x""yes; then :
38080   cat >>confdefs.h <<_ACEOF
38081 #define HAVE_LOGL 1
38082 _ACEOF
38083
38084 fi
38085 done
38086
38087   else
38088
38089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38090 $as_echo_n "checking for _logl declaration... " >&6; }
38091   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38092     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38093   $as_echo_n "(cached) " >&6
38094 else
38095
38096
38097       ac_ext=cpp
38098 ac_cpp='$CXXCPP $CPPFLAGS'
38099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38102
38103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38104 /* end confdefs.h.  */
38105 #include <math.h>
38106                       #ifdef HAVE_IEEEFP_H
38107                       #include <ieeefp.h>
38108                       #endif
38109
38110 int
38111 main ()
38112 {
38113  _logl(0);
38114   ;
38115   return 0;
38116 }
38117 _ACEOF
38118 if ac_fn_cxx_try_compile "$LINENO"; then :
38119   glibcxx_cv_func__logl_use=yes
38120 else
38121   glibcxx_cv_func__logl_use=no
38122 fi
38123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38124       ac_ext=c
38125 ac_cpp='$CPP $CPPFLAGS'
38126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38129
38130
38131 fi
38132
38133   fi
38134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38135 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38136
38137     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38138       for ac_func in _logl
38139 do :
38140   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38141 if test "x$ac_cv_func__logl" = x""yes; then :
38142   cat >>confdefs.h <<_ACEOF
38143 #define HAVE__LOGL 1
38144 _ACEOF
38145
38146 fi
38147 done
38148
38149     fi
38150   fi
38151
38152
38153
38154
38155
38156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38157 $as_echo_n "checking for log10l declaration... " >&6; }
38158   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38159     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38160   $as_echo_n "(cached) " >&6
38161 else
38162
38163
38164       ac_ext=cpp
38165 ac_cpp='$CXXCPP $CPPFLAGS'
38166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38169
38170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38171 /* end confdefs.h.  */
38172 #include <math.h>
38173                       #ifdef HAVE_IEEEFP_H
38174                       #include <ieeefp.h>
38175                       #endif
38176
38177 int
38178 main ()
38179 {
38180  log10l(0);
38181   ;
38182   return 0;
38183 }
38184 _ACEOF
38185 if ac_fn_cxx_try_compile "$LINENO"; then :
38186   glibcxx_cv_func_log10l_use=yes
38187 else
38188   glibcxx_cv_func_log10l_use=no
38189 fi
38190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38191       ac_ext=c
38192 ac_cpp='$CPP $CPPFLAGS'
38193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38196
38197
38198 fi
38199
38200   fi
38201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38202 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38203
38204   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38205     for ac_func in log10l
38206 do :
38207   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38208 if test "x$ac_cv_func_log10l" = x""yes; then :
38209   cat >>confdefs.h <<_ACEOF
38210 #define HAVE_LOG10L 1
38211 _ACEOF
38212
38213 fi
38214 done
38215
38216   else
38217
38218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38219 $as_echo_n "checking for _log10l declaration... " >&6; }
38220   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38221     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38222   $as_echo_n "(cached) " >&6
38223 else
38224
38225
38226       ac_ext=cpp
38227 ac_cpp='$CXXCPP $CPPFLAGS'
38228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38231
38232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38233 /* end confdefs.h.  */
38234 #include <math.h>
38235                       #ifdef HAVE_IEEEFP_H
38236                       #include <ieeefp.h>
38237                       #endif
38238
38239 int
38240 main ()
38241 {
38242  _log10l(0);
38243   ;
38244   return 0;
38245 }
38246 _ACEOF
38247 if ac_fn_cxx_try_compile "$LINENO"; then :
38248   glibcxx_cv_func__log10l_use=yes
38249 else
38250   glibcxx_cv_func__log10l_use=no
38251 fi
38252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38253       ac_ext=c
38254 ac_cpp='$CPP $CPPFLAGS'
38255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38258
38259
38260 fi
38261
38262   fi
38263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38264 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38265
38266     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38267       for ac_func in _log10l
38268 do :
38269   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38270 if test "x$ac_cv_func__log10l" = x""yes; then :
38271   cat >>confdefs.h <<_ACEOF
38272 #define HAVE__LOG10L 1
38273 _ACEOF
38274
38275 fi
38276 done
38277
38278     fi
38279   fi
38280
38281
38282
38283
38284
38285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38286 $as_echo_n "checking for modfl declaration... " >&6; }
38287   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38288     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38289   $as_echo_n "(cached) " >&6
38290 else
38291
38292
38293       ac_ext=cpp
38294 ac_cpp='$CXXCPP $CPPFLAGS'
38295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38298
38299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38300 /* end confdefs.h.  */
38301 #include <math.h>
38302 int
38303 main ()
38304 {
38305  modfl(0, 0);
38306   ;
38307   return 0;
38308 }
38309 _ACEOF
38310 if ac_fn_cxx_try_compile "$LINENO"; then :
38311   glibcxx_cv_func_modfl_use=yes
38312 else
38313   glibcxx_cv_func_modfl_use=no
38314 fi
38315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38316       ac_ext=c
38317 ac_cpp='$CPP $CPPFLAGS'
38318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38321
38322
38323 fi
38324
38325   fi
38326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38327 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38328
38329   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38330     for ac_func in modfl
38331 do :
38332   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38333 if test "x$ac_cv_func_modfl" = x""yes; then :
38334   cat >>confdefs.h <<_ACEOF
38335 #define HAVE_MODFL 1
38336 _ACEOF
38337
38338 fi
38339 done
38340
38341   else
38342
38343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38344 $as_echo_n "checking for _modfl declaration... " >&6; }
38345   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38346     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38347   $as_echo_n "(cached) " >&6
38348 else
38349
38350
38351       ac_ext=cpp
38352 ac_cpp='$CXXCPP $CPPFLAGS'
38353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38356
38357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38358 /* end confdefs.h.  */
38359 #include <math.h>
38360 int
38361 main ()
38362 {
38363  _modfl(0, 0);
38364   ;
38365   return 0;
38366 }
38367 _ACEOF
38368 if ac_fn_cxx_try_compile "$LINENO"; then :
38369   glibcxx_cv_func__modfl_use=yes
38370 else
38371   glibcxx_cv_func__modfl_use=no
38372 fi
38373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38374       ac_ext=c
38375 ac_cpp='$CPP $CPPFLAGS'
38376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38379
38380
38381 fi
38382
38383   fi
38384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38385 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38386
38387     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38388       for ac_func in _modfl
38389 do :
38390   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38391 if test "x$ac_cv_func__modfl" = x""yes; then :
38392   cat >>confdefs.h <<_ACEOF
38393 #define HAVE__MODFL 1
38394 _ACEOF
38395
38396 fi
38397 done
38398
38399     fi
38400   fi
38401
38402
38403
38404
38405
38406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38407 $as_echo_n "checking for powl declaration... " >&6; }
38408   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38409     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38410   $as_echo_n "(cached) " >&6
38411 else
38412
38413
38414       ac_ext=cpp
38415 ac_cpp='$CXXCPP $CPPFLAGS'
38416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38419
38420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38421 /* end confdefs.h.  */
38422 #include <math.h>
38423 int
38424 main ()
38425 {
38426  powl(0, 0);
38427   ;
38428   return 0;
38429 }
38430 _ACEOF
38431 if ac_fn_cxx_try_compile "$LINENO"; then :
38432   glibcxx_cv_func_powl_use=yes
38433 else
38434   glibcxx_cv_func_powl_use=no
38435 fi
38436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38437       ac_ext=c
38438 ac_cpp='$CPP $CPPFLAGS'
38439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38442
38443
38444 fi
38445
38446   fi
38447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38448 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38449
38450   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38451     for ac_func in powl
38452 do :
38453   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38454 if test "x$ac_cv_func_powl" = x""yes; then :
38455   cat >>confdefs.h <<_ACEOF
38456 #define HAVE_POWL 1
38457 _ACEOF
38458
38459 fi
38460 done
38461
38462   else
38463
38464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38465 $as_echo_n "checking for _powl declaration... " >&6; }
38466   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38467     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38468   $as_echo_n "(cached) " >&6
38469 else
38470
38471
38472       ac_ext=cpp
38473 ac_cpp='$CXXCPP $CPPFLAGS'
38474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38477
38478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38479 /* end confdefs.h.  */
38480 #include <math.h>
38481 int
38482 main ()
38483 {
38484  _powl(0, 0);
38485   ;
38486   return 0;
38487 }
38488 _ACEOF
38489 if ac_fn_cxx_try_compile "$LINENO"; then :
38490   glibcxx_cv_func__powl_use=yes
38491 else
38492   glibcxx_cv_func__powl_use=no
38493 fi
38494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38495       ac_ext=c
38496 ac_cpp='$CPP $CPPFLAGS'
38497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38500
38501
38502 fi
38503
38504   fi
38505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38506 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38507
38508     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38509       for ac_func in _powl
38510 do :
38511   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38512 if test "x$ac_cv_func__powl" = x""yes; then :
38513   cat >>confdefs.h <<_ACEOF
38514 #define HAVE__POWL 1
38515 _ACEOF
38516
38517 fi
38518 done
38519
38520     fi
38521   fi
38522
38523
38524
38525
38526
38527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38528 $as_echo_n "checking for sqrtl declaration... " >&6; }
38529   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38530     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38531   $as_echo_n "(cached) " >&6
38532 else
38533
38534
38535       ac_ext=cpp
38536 ac_cpp='$CXXCPP $CPPFLAGS'
38537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38540
38541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38542 /* end confdefs.h.  */
38543 #include <math.h>
38544                       #ifdef HAVE_IEEEFP_H
38545                       #include <ieeefp.h>
38546                       #endif
38547
38548 int
38549 main ()
38550 {
38551  sqrtl(0);
38552   ;
38553   return 0;
38554 }
38555 _ACEOF
38556 if ac_fn_cxx_try_compile "$LINENO"; then :
38557   glibcxx_cv_func_sqrtl_use=yes
38558 else
38559   glibcxx_cv_func_sqrtl_use=no
38560 fi
38561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38562       ac_ext=c
38563 ac_cpp='$CPP $CPPFLAGS'
38564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38567
38568
38569 fi
38570
38571   fi
38572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38573 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38574
38575   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38576     for ac_func in sqrtl
38577 do :
38578   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38579 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38580   cat >>confdefs.h <<_ACEOF
38581 #define HAVE_SQRTL 1
38582 _ACEOF
38583
38584 fi
38585 done
38586
38587   else
38588
38589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38590 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38591   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38592     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38593   $as_echo_n "(cached) " >&6
38594 else
38595
38596
38597       ac_ext=cpp
38598 ac_cpp='$CXXCPP $CPPFLAGS'
38599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38602
38603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38604 /* end confdefs.h.  */
38605 #include <math.h>
38606                       #ifdef HAVE_IEEEFP_H
38607                       #include <ieeefp.h>
38608                       #endif
38609
38610 int
38611 main ()
38612 {
38613  _sqrtl(0);
38614   ;
38615   return 0;
38616 }
38617 _ACEOF
38618 if ac_fn_cxx_try_compile "$LINENO"; then :
38619   glibcxx_cv_func__sqrtl_use=yes
38620 else
38621   glibcxx_cv_func__sqrtl_use=no
38622 fi
38623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38624       ac_ext=c
38625 ac_cpp='$CPP $CPPFLAGS'
38626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38629
38630
38631 fi
38632
38633   fi
38634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38635 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38636
38637     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38638       for ac_func in _sqrtl
38639 do :
38640   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38641 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38642   cat >>confdefs.h <<_ACEOF
38643 #define HAVE__SQRTL 1
38644 _ACEOF
38645
38646 fi
38647 done
38648
38649     fi
38650   fi
38651
38652
38653
38654
38655
38656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38657 $as_echo_n "checking for sincosl declaration... " >&6; }
38658   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38659     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38660   $as_echo_n "(cached) " >&6
38661 else
38662
38663
38664       ac_ext=cpp
38665 ac_cpp='$CXXCPP $CPPFLAGS'
38666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38669
38670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38671 /* end confdefs.h.  */
38672 #include <math.h>
38673 int
38674 main ()
38675 {
38676  sincosl(0, 0, 0);
38677   ;
38678   return 0;
38679 }
38680 _ACEOF
38681 if ac_fn_cxx_try_compile "$LINENO"; then :
38682   glibcxx_cv_func_sincosl_use=yes
38683 else
38684   glibcxx_cv_func_sincosl_use=no
38685 fi
38686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38687       ac_ext=c
38688 ac_cpp='$CPP $CPPFLAGS'
38689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38692
38693
38694 fi
38695
38696   fi
38697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38698 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38699
38700   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38701     for ac_func in sincosl
38702 do :
38703   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38704 if test "x$ac_cv_func_sincosl" = x""yes; then :
38705   cat >>confdefs.h <<_ACEOF
38706 #define HAVE_SINCOSL 1
38707 _ACEOF
38708
38709 fi
38710 done
38711
38712   else
38713
38714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38715 $as_echo_n "checking for _sincosl declaration... " >&6; }
38716   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38717     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38718   $as_echo_n "(cached) " >&6
38719 else
38720
38721
38722       ac_ext=cpp
38723 ac_cpp='$CXXCPP $CPPFLAGS'
38724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38727
38728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38729 /* end confdefs.h.  */
38730 #include <math.h>
38731 int
38732 main ()
38733 {
38734  _sincosl(0, 0, 0);
38735   ;
38736   return 0;
38737 }
38738 _ACEOF
38739 if ac_fn_cxx_try_compile "$LINENO"; then :
38740   glibcxx_cv_func__sincosl_use=yes
38741 else
38742   glibcxx_cv_func__sincosl_use=no
38743 fi
38744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38745       ac_ext=c
38746 ac_cpp='$CPP $CPPFLAGS'
38747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38750
38751
38752 fi
38753
38754   fi
38755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38756 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38757
38758     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38759       for ac_func in _sincosl
38760 do :
38761   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38762 if test "x$ac_cv_func__sincosl" = x""yes; then :
38763   cat >>confdefs.h <<_ACEOF
38764 #define HAVE__SINCOSL 1
38765 _ACEOF
38766
38767 fi
38768 done
38769
38770     fi
38771   fi
38772
38773
38774
38775
38776
38777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38778 $as_echo_n "checking for finitel declaration... " >&6; }
38779   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38780     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38781   $as_echo_n "(cached) " >&6
38782 else
38783
38784
38785       ac_ext=cpp
38786 ac_cpp='$CXXCPP $CPPFLAGS'
38787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38790
38791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38792 /* end confdefs.h.  */
38793 #include <math.h>
38794                       #ifdef HAVE_IEEEFP_H
38795                       #include <ieeefp.h>
38796                       #endif
38797
38798 int
38799 main ()
38800 {
38801  finitel(0);
38802   ;
38803   return 0;
38804 }
38805 _ACEOF
38806 if ac_fn_cxx_try_compile "$LINENO"; then :
38807   glibcxx_cv_func_finitel_use=yes
38808 else
38809   glibcxx_cv_func_finitel_use=no
38810 fi
38811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38812       ac_ext=c
38813 ac_cpp='$CPP $CPPFLAGS'
38814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38817
38818
38819 fi
38820
38821   fi
38822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38823 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38824
38825   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38826     for ac_func in finitel
38827 do :
38828   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38829 if test "x$ac_cv_func_finitel" = x""yes; then :
38830   cat >>confdefs.h <<_ACEOF
38831 #define HAVE_FINITEL 1
38832 _ACEOF
38833
38834 fi
38835 done
38836
38837   else
38838
38839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38840 $as_echo_n "checking for _finitel declaration... " >&6; }
38841   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38842     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38843   $as_echo_n "(cached) " >&6
38844 else
38845
38846
38847       ac_ext=cpp
38848 ac_cpp='$CXXCPP $CPPFLAGS'
38849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38852
38853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38854 /* end confdefs.h.  */
38855 #include <math.h>
38856                       #ifdef HAVE_IEEEFP_H
38857                       #include <ieeefp.h>
38858                       #endif
38859
38860 int
38861 main ()
38862 {
38863  _finitel(0);
38864   ;
38865   return 0;
38866 }
38867 _ACEOF
38868 if ac_fn_cxx_try_compile "$LINENO"; then :
38869   glibcxx_cv_func__finitel_use=yes
38870 else
38871   glibcxx_cv_func__finitel_use=no
38872 fi
38873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38874       ac_ext=c
38875 ac_cpp='$CPP $CPPFLAGS'
38876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38879
38880
38881 fi
38882
38883   fi
38884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38885 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38886
38887     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38888       for ac_func in _finitel
38889 do :
38890   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38891 if test "x$ac_cv_func__finitel" = x""yes; then :
38892   cat >>confdefs.h <<_ACEOF
38893 #define HAVE__FINITEL 1
38894 _ACEOF
38895
38896 fi
38897 done
38898
38899     fi
38900   fi
38901
38902
38903
38904
38905   LIBS="$ac_save_LIBS"
38906   CXXFLAGS="$ac_save_CXXFLAGS"
38907
38908
38909   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38910   ac_save_CXXFLAGS="$CXXFLAGS"
38911   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38912
38913
38914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38915 $as_echo_n "checking for strtold declaration... " >&6; }
38916   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38917     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38918   $as_echo_n "(cached) " >&6
38919 else
38920
38921
38922       ac_ext=cpp
38923 ac_cpp='$CXXCPP $CPPFLAGS'
38924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38927
38928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38929 /* end confdefs.h.  */
38930 #include <stdlib.h>
38931 int
38932 main ()
38933 {
38934  strtold(0, 0);
38935   ;
38936   return 0;
38937 }
38938 _ACEOF
38939 if ac_fn_cxx_try_compile "$LINENO"; then :
38940   glibcxx_cv_func_strtold_use=yes
38941 else
38942   glibcxx_cv_func_strtold_use=no
38943 fi
38944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38945       ac_ext=c
38946 ac_cpp='$CPP $CPPFLAGS'
38947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38950
38951
38952 fi
38953
38954   fi
38955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38956 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38957   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38958     for ac_func in strtold
38959 do :
38960   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38961 if test "x$ac_cv_func_strtold" = x""yes; then :
38962   cat >>confdefs.h <<_ACEOF
38963 #define HAVE_STRTOLD 1
38964 _ACEOF
38965
38966 fi
38967 done
38968
38969   fi
38970
38971
38972
38973
38974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38975 $as_echo_n "checking for strtof declaration... " >&6; }
38976   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38977     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38978   $as_echo_n "(cached) " >&6
38979 else
38980
38981
38982       ac_ext=cpp
38983 ac_cpp='$CXXCPP $CPPFLAGS'
38984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38987
38988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38989 /* end confdefs.h.  */
38990 #include <stdlib.h>
38991 int
38992 main ()
38993 {
38994  strtof(0, 0);
38995   ;
38996   return 0;
38997 }
38998 _ACEOF
38999 if ac_fn_cxx_try_compile "$LINENO"; then :
39000   glibcxx_cv_func_strtof_use=yes
39001 else
39002   glibcxx_cv_func_strtof_use=no
39003 fi
39004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39005       ac_ext=c
39006 ac_cpp='$CPP $CPPFLAGS'
39007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39010
39011
39012 fi
39013
39014   fi
39015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39016 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39017   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39018     for ac_func in strtof
39019 do :
39020   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39021 if test "x$ac_cv_func_strtof" = x""yes; then :
39022   cat >>confdefs.h <<_ACEOF
39023 #define HAVE_STRTOF 1
39024 _ACEOF
39025
39026 fi
39027 done
39028
39029   fi
39030
39031
39032
39033
39034   CXXFLAGS="$ac_save_CXXFLAGS"
39035
39036     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39037
39038     # We don't yet support AIX's TLS ABI.
39039     #GCC_CHECK_TLS
39040
39041
39042
39043
39044
39045           am_save_CPPFLAGS="$CPPFLAGS"
39046
39047   for element in $INCICONV; do
39048     haveit=
39049     for x in $CPPFLAGS; do
39050
39051   acl_save_prefix="$prefix"
39052   prefix="$acl_final_prefix"
39053   acl_save_exec_prefix="$exec_prefix"
39054   exec_prefix="$acl_final_exec_prefix"
39055   eval x=\"$x\"
39056   exec_prefix="$acl_save_exec_prefix"
39057   prefix="$acl_save_prefix"
39058
39059       if test "X$x" = "X$element"; then
39060         haveit=yes
39061         break
39062       fi
39063     done
39064     if test -z "$haveit"; then
39065       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39066     fi
39067   done
39068
39069
39070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39071 $as_echo_n "checking for iconv... " >&6; }
39072 if test "${am_cv_func_iconv+set}" = set; then :
39073   $as_echo_n "(cached) " >&6
39074 else
39075
39076     am_cv_func_iconv="no, consider installing GNU libiconv"
39077     am_cv_lib_iconv=no
39078     if test x$gcc_no_link = xyes; then
39079   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39080 fi
39081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39082 /* end confdefs.h.  */
39083 #include <stdlib.h>
39084 #include <iconv.h>
39085 int
39086 main ()
39087 {
39088 iconv_t cd = iconv_open("","");
39089        iconv(cd,NULL,NULL,NULL,NULL);
39090        iconv_close(cd);
39091   ;
39092   return 0;
39093 }
39094 _ACEOF
39095 if ac_fn_c_try_link "$LINENO"; then :
39096   am_cv_func_iconv=yes
39097 fi
39098 rm -f core conftest.err conftest.$ac_objext \
39099     conftest$ac_exeext conftest.$ac_ext
39100     if test "$am_cv_func_iconv" != yes; then
39101       am_save_LIBS="$LIBS"
39102       LIBS="$LIBS $LIBICONV"
39103       if test x$gcc_no_link = xyes; then
39104   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39105 fi
39106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39107 /* end confdefs.h.  */
39108 #include <stdlib.h>
39109 #include <iconv.h>
39110 int
39111 main ()
39112 {
39113 iconv_t cd = iconv_open("","");
39114          iconv(cd,NULL,NULL,NULL,NULL);
39115          iconv_close(cd);
39116   ;
39117   return 0;
39118 }
39119 _ACEOF
39120 if ac_fn_c_try_link "$LINENO"; then :
39121   am_cv_lib_iconv=yes
39122         am_cv_func_iconv=yes
39123 fi
39124 rm -f core conftest.err conftest.$ac_objext \
39125     conftest$ac_exeext conftest.$ac_ext
39126       LIBS="$am_save_LIBS"
39127     fi
39128
39129 fi
39130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39131 $as_echo "$am_cv_func_iconv" >&6; }
39132   if test "$am_cv_func_iconv" = yes; then
39133
39134 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39135
39136   fi
39137   if test "$am_cv_lib_iconv" = yes; then
39138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39139 $as_echo_n "checking how to link with libiconv... " >&6; }
39140     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39141 $as_echo "$LIBICONV" >&6; }
39142   else
39143             CPPFLAGS="$am_save_CPPFLAGS"
39144     LIBICONV=
39145     LTLIBICONV=
39146   fi
39147
39148
39149
39150   if test "$am_cv_func_iconv" = yes; then
39151     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39152 $as_echo_n "checking for iconv declaration... " >&6; }
39153     if test "${am_cv_proto_iconv+set}" = set; then :
39154   $as_echo_n "(cached) " >&6
39155 else
39156
39157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39158 /* end confdefs.h.  */
39159
39160 #include <stdlib.h>
39161 #include <iconv.h>
39162 extern
39163 #ifdef __cplusplus
39164 "C"
39165 #endif
39166 #if defined(__STDC__) || defined(__cplusplus)
39167 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39168 #else
39169 size_t iconv();
39170 #endif
39171
39172 int
39173 main ()
39174 {
39175
39176   ;
39177   return 0;
39178 }
39179 _ACEOF
39180 if ac_fn_c_try_compile "$LINENO"; then :
39181   am_cv_proto_iconv_arg1=""
39182 else
39183   am_cv_proto_iconv_arg1="const"
39184 fi
39185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39186       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);"
39187 fi
39188
39189     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39190     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39191          }$am_cv_proto_iconv" >&5
39192 $as_echo "${ac_t:-
39193          }$am_cv_proto_iconv" >&6; }
39194
39195 cat >>confdefs.h <<_ACEOF
39196 #define ICONV_CONST $am_cv_proto_iconv_arg1
39197 _ACEOF
39198
39199   fi
39200
39201     ;;
39202
39203   *-darwin*)
39204     # Darwin versions vary, but the linker should work in a cross environment,
39205     # so we just check for all the features here.
39206     # Check for available headers.
39207
39208     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39209
39210   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39211   ac_save_CXXFLAGS="$CXXFLAGS"
39212   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39213
39214     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39215 $as_echo_n "checking for sin in -lm... " >&6; }
39216 if test "${ac_cv_lib_m_sin+set}" = set; then :
39217   $as_echo_n "(cached) " >&6
39218 else
39219   ac_check_lib_save_LIBS=$LIBS
39220 LIBS="-lm  $LIBS"
39221 if test x$gcc_no_link = xyes; then
39222   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39223 fi
39224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39225 /* end confdefs.h.  */
39226
39227 /* Override any GCC internal prototype to avoid an error.
39228    Use char because int might match the return type of a GCC
39229    builtin and then its argument prototype would still apply.  */
39230 #ifdef __cplusplus
39231 extern "C"
39232 #endif
39233 char sin ();
39234 int
39235 main ()
39236 {
39237 return sin ();
39238   ;
39239   return 0;
39240 }
39241 _ACEOF
39242 if ac_fn_c_try_link "$LINENO"; then :
39243   ac_cv_lib_m_sin=yes
39244 else
39245   ac_cv_lib_m_sin=no
39246 fi
39247 rm -f core conftest.err conftest.$ac_objext \
39248     conftest$ac_exeext conftest.$ac_ext
39249 LIBS=$ac_check_lib_save_LIBS
39250 fi
39251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39252 $as_echo "$ac_cv_lib_m_sin" >&6; }
39253 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39254   libm="-lm"
39255 fi
39256
39257   ac_save_LIBS="$LIBS"
39258   LIBS="$LIBS $libm"
39259
39260
39261
39262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39263 $as_echo_n "checking for isinf declaration... " >&6; }
39264   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39265     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39266   $as_echo_n "(cached) " >&6
39267 else
39268
39269
39270       ac_ext=cpp
39271 ac_cpp='$CXXCPP $CPPFLAGS'
39272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39275
39276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39277 /* end confdefs.h.  */
39278 #include <math.h>
39279                       #ifdef HAVE_IEEEFP_H
39280                       #include <ieeefp.h>
39281                       #endif
39282
39283 int
39284 main ()
39285 {
39286  isinf(0);
39287   ;
39288   return 0;
39289 }
39290 _ACEOF
39291 if ac_fn_cxx_try_compile "$LINENO"; then :
39292   glibcxx_cv_func_isinf_use=yes
39293 else
39294   glibcxx_cv_func_isinf_use=no
39295 fi
39296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39297       ac_ext=c
39298 ac_cpp='$CPP $CPPFLAGS'
39299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39302
39303
39304 fi
39305
39306   fi
39307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39308 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39309
39310   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39311     for ac_func in isinf
39312 do :
39313   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39314 if test "x$ac_cv_func_isinf" = x""yes; then :
39315   cat >>confdefs.h <<_ACEOF
39316 #define HAVE_ISINF 1
39317 _ACEOF
39318
39319 fi
39320 done
39321
39322   else
39323
39324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39325 $as_echo_n "checking for _isinf declaration... " >&6; }
39326   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39327     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39328   $as_echo_n "(cached) " >&6
39329 else
39330
39331
39332       ac_ext=cpp
39333 ac_cpp='$CXXCPP $CPPFLAGS'
39334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39337
39338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39339 /* end confdefs.h.  */
39340 #include <math.h>
39341                       #ifdef HAVE_IEEEFP_H
39342                       #include <ieeefp.h>
39343                       #endif
39344
39345 int
39346 main ()
39347 {
39348  _isinf(0);
39349   ;
39350   return 0;
39351 }
39352 _ACEOF
39353 if ac_fn_cxx_try_compile "$LINENO"; then :
39354   glibcxx_cv_func__isinf_use=yes
39355 else
39356   glibcxx_cv_func__isinf_use=no
39357 fi
39358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39359       ac_ext=c
39360 ac_cpp='$CPP $CPPFLAGS'
39361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39364
39365
39366 fi
39367
39368   fi
39369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39370 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39371
39372     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39373       for ac_func in _isinf
39374 do :
39375   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39376 if test "x$ac_cv_func__isinf" = x""yes; then :
39377   cat >>confdefs.h <<_ACEOF
39378 #define HAVE__ISINF 1
39379 _ACEOF
39380
39381 fi
39382 done
39383
39384     fi
39385   fi
39386
39387
39388
39389
39390
39391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39392 $as_echo_n "checking for isnan declaration... " >&6; }
39393   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39394     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39395   $as_echo_n "(cached) " >&6
39396 else
39397
39398
39399       ac_ext=cpp
39400 ac_cpp='$CXXCPP $CPPFLAGS'
39401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39404
39405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39406 /* end confdefs.h.  */
39407 #include <math.h>
39408                       #ifdef HAVE_IEEEFP_H
39409                       #include <ieeefp.h>
39410                       #endif
39411
39412 int
39413 main ()
39414 {
39415  isnan(0);
39416   ;
39417   return 0;
39418 }
39419 _ACEOF
39420 if ac_fn_cxx_try_compile "$LINENO"; then :
39421   glibcxx_cv_func_isnan_use=yes
39422 else
39423   glibcxx_cv_func_isnan_use=no
39424 fi
39425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39426       ac_ext=c
39427 ac_cpp='$CPP $CPPFLAGS'
39428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39431
39432
39433 fi
39434
39435   fi
39436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39437 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39438
39439   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39440     for ac_func in isnan
39441 do :
39442   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39443 if test "x$ac_cv_func_isnan" = x""yes; then :
39444   cat >>confdefs.h <<_ACEOF
39445 #define HAVE_ISNAN 1
39446 _ACEOF
39447
39448 fi
39449 done
39450
39451   else
39452
39453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39454 $as_echo_n "checking for _isnan declaration... " >&6; }
39455   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39456     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39457   $as_echo_n "(cached) " >&6
39458 else
39459
39460
39461       ac_ext=cpp
39462 ac_cpp='$CXXCPP $CPPFLAGS'
39463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39466
39467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39468 /* end confdefs.h.  */
39469 #include <math.h>
39470                       #ifdef HAVE_IEEEFP_H
39471                       #include <ieeefp.h>
39472                       #endif
39473
39474 int
39475 main ()
39476 {
39477  _isnan(0);
39478   ;
39479   return 0;
39480 }
39481 _ACEOF
39482 if ac_fn_cxx_try_compile "$LINENO"; then :
39483   glibcxx_cv_func__isnan_use=yes
39484 else
39485   glibcxx_cv_func__isnan_use=no
39486 fi
39487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39488       ac_ext=c
39489 ac_cpp='$CPP $CPPFLAGS'
39490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39493
39494
39495 fi
39496
39497   fi
39498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39499 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39500
39501     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39502       for ac_func in _isnan
39503 do :
39504   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39505 if test "x$ac_cv_func__isnan" = x""yes; then :
39506   cat >>confdefs.h <<_ACEOF
39507 #define HAVE__ISNAN 1
39508 _ACEOF
39509
39510 fi
39511 done
39512
39513     fi
39514   fi
39515
39516
39517
39518
39519
39520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39521 $as_echo_n "checking for finite declaration... " >&6; }
39522   if test x${glibcxx_cv_func_finite_use+set} != xset; then
39523     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39524   $as_echo_n "(cached) " >&6
39525 else
39526
39527
39528       ac_ext=cpp
39529 ac_cpp='$CXXCPP $CPPFLAGS'
39530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39533
39534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39535 /* end confdefs.h.  */
39536 #include <math.h>
39537                       #ifdef HAVE_IEEEFP_H
39538                       #include <ieeefp.h>
39539                       #endif
39540
39541 int
39542 main ()
39543 {
39544  finite(0);
39545   ;
39546   return 0;
39547 }
39548 _ACEOF
39549 if ac_fn_cxx_try_compile "$LINENO"; then :
39550   glibcxx_cv_func_finite_use=yes
39551 else
39552   glibcxx_cv_func_finite_use=no
39553 fi
39554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39555       ac_ext=c
39556 ac_cpp='$CPP $CPPFLAGS'
39557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39560
39561
39562 fi
39563
39564   fi
39565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39566 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39567
39568   if test x$glibcxx_cv_func_finite_use = x"yes"; then
39569     for ac_func in finite
39570 do :
39571   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39572 if test "x$ac_cv_func_finite" = x""yes; then :
39573   cat >>confdefs.h <<_ACEOF
39574 #define HAVE_FINITE 1
39575 _ACEOF
39576
39577 fi
39578 done
39579
39580   else
39581
39582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39583 $as_echo_n "checking for _finite declaration... " >&6; }
39584   if test x${glibcxx_cv_func__finite_use+set} != xset; then
39585     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39586   $as_echo_n "(cached) " >&6
39587 else
39588
39589
39590       ac_ext=cpp
39591 ac_cpp='$CXXCPP $CPPFLAGS'
39592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39595
39596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39597 /* end confdefs.h.  */
39598 #include <math.h>
39599                       #ifdef HAVE_IEEEFP_H
39600                       #include <ieeefp.h>
39601                       #endif
39602
39603 int
39604 main ()
39605 {
39606  _finite(0);
39607   ;
39608   return 0;
39609 }
39610 _ACEOF
39611 if ac_fn_cxx_try_compile "$LINENO"; then :
39612   glibcxx_cv_func__finite_use=yes
39613 else
39614   glibcxx_cv_func__finite_use=no
39615 fi
39616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39617       ac_ext=c
39618 ac_cpp='$CPP $CPPFLAGS'
39619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39622
39623
39624 fi
39625
39626   fi
39627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39628 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39629
39630     if test x$glibcxx_cv_func__finite_use = x"yes"; then
39631       for ac_func in _finite
39632 do :
39633   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39634 if test "x$ac_cv_func__finite" = x""yes; then :
39635   cat >>confdefs.h <<_ACEOF
39636 #define HAVE__FINITE 1
39637 _ACEOF
39638
39639 fi
39640 done
39641
39642     fi
39643   fi
39644
39645
39646
39647
39648
39649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39650 $as_echo_n "checking for sincos declaration... " >&6; }
39651   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39652     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39653   $as_echo_n "(cached) " >&6
39654 else
39655
39656
39657       ac_ext=cpp
39658 ac_cpp='$CXXCPP $CPPFLAGS'
39659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39662
39663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39664 /* end confdefs.h.  */
39665 #include <math.h>
39666 int
39667 main ()
39668 {
39669  sincos(0, 0, 0);
39670   ;
39671   return 0;
39672 }
39673 _ACEOF
39674 if ac_fn_cxx_try_compile "$LINENO"; then :
39675   glibcxx_cv_func_sincos_use=yes
39676 else
39677   glibcxx_cv_func_sincos_use=no
39678 fi
39679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39680       ac_ext=c
39681 ac_cpp='$CPP $CPPFLAGS'
39682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39685
39686
39687 fi
39688
39689   fi
39690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39691 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39692
39693   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39694     for ac_func in sincos
39695 do :
39696   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39697 if test "x$ac_cv_func_sincos" = x""yes; then :
39698   cat >>confdefs.h <<_ACEOF
39699 #define HAVE_SINCOS 1
39700 _ACEOF
39701
39702 fi
39703 done
39704
39705   else
39706
39707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39708 $as_echo_n "checking for _sincos declaration... " >&6; }
39709   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39710     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39711   $as_echo_n "(cached) " >&6
39712 else
39713
39714
39715       ac_ext=cpp
39716 ac_cpp='$CXXCPP $CPPFLAGS'
39717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39720
39721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39722 /* end confdefs.h.  */
39723 #include <math.h>
39724 int
39725 main ()
39726 {
39727  _sincos(0, 0, 0);
39728   ;
39729   return 0;
39730 }
39731 _ACEOF
39732 if ac_fn_cxx_try_compile "$LINENO"; then :
39733   glibcxx_cv_func__sincos_use=yes
39734 else
39735   glibcxx_cv_func__sincos_use=no
39736 fi
39737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39738       ac_ext=c
39739 ac_cpp='$CPP $CPPFLAGS'
39740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39743
39744
39745 fi
39746
39747   fi
39748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39749 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39750
39751     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39752       for ac_func in _sincos
39753 do :
39754   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39755 if test "x$ac_cv_func__sincos" = x""yes; then :
39756   cat >>confdefs.h <<_ACEOF
39757 #define HAVE__SINCOS 1
39758 _ACEOF
39759
39760 fi
39761 done
39762
39763     fi
39764   fi
39765
39766
39767
39768
39769
39770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39771 $as_echo_n "checking for fpclass declaration... " >&6; }
39772   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39773     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39774   $as_echo_n "(cached) " >&6
39775 else
39776
39777
39778       ac_ext=cpp
39779 ac_cpp='$CXXCPP $CPPFLAGS'
39780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39783
39784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39785 /* end confdefs.h.  */
39786 #include <math.h>
39787                       #ifdef HAVE_IEEEFP_H
39788                       #include <ieeefp.h>
39789                       #endif
39790
39791 int
39792 main ()
39793 {
39794  fpclass(0);
39795   ;
39796   return 0;
39797 }
39798 _ACEOF
39799 if ac_fn_cxx_try_compile "$LINENO"; then :
39800   glibcxx_cv_func_fpclass_use=yes
39801 else
39802   glibcxx_cv_func_fpclass_use=no
39803 fi
39804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39805       ac_ext=c
39806 ac_cpp='$CPP $CPPFLAGS'
39807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39810
39811
39812 fi
39813
39814   fi
39815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39816 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39817
39818   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39819     for ac_func in fpclass
39820 do :
39821   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39822 if test "x$ac_cv_func_fpclass" = x""yes; then :
39823   cat >>confdefs.h <<_ACEOF
39824 #define HAVE_FPCLASS 1
39825 _ACEOF
39826
39827 fi
39828 done
39829
39830   else
39831
39832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39833 $as_echo_n "checking for _fpclass declaration... " >&6; }
39834   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39835     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39836   $as_echo_n "(cached) " >&6
39837 else
39838
39839
39840       ac_ext=cpp
39841 ac_cpp='$CXXCPP $CPPFLAGS'
39842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39845
39846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39847 /* end confdefs.h.  */
39848 #include <math.h>
39849                       #ifdef HAVE_IEEEFP_H
39850                       #include <ieeefp.h>
39851                       #endif
39852
39853 int
39854 main ()
39855 {
39856  _fpclass(0);
39857   ;
39858   return 0;
39859 }
39860 _ACEOF
39861 if ac_fn_cxx_try_compile "$LINENO"; then :
39862   glibcxx_cv_func__fpclass_use=yes
39863 else
39864   glibcxx_cv_func__fpclass_use=no
39865 fi
39866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39867       ac_ext=c
39868 ac_cpp='$CPP $CPPFLAGS'
39869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39872
39873
39874 fi
39875
39876   fi
39877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39878 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39879
39880     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39881       for ac_func in _fpclass
39882 do :
39883   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39884 if test "x$ac_cv_func__fpclass" = x""yes; then :
39885   cat >>confdefs.h <<_ACEOF
39886 #define HAVE__FPCLASS 1
39887 _ACEOF
39888
39889 fi
39890 done
39891
39892     fi
39893   fi
39894
39895
39896
39897
39898
39899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39900 $as_echo_n "checking for qfpclass declaration... " >&6; }
39901   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39902     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39903   $as_echo_n "(cached) " >&6
39904 else
39905
39906
39907       ac_ext=cpp
39908 ac_cpp='$CXXCPP $CPPFLAGS'
39909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39912
39913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39914 /* end confdefs.h.  */
39915 #include <math.h>
39916                       #ifdef HAVE_IEEEFP_H
39917                       #include <ieeefp.h>
39918                       #endif
39919
39920 int
39921 main ()
39922 {
39923  qfpclass(0);
39924   ;
39925   return 0;
39926 }
39927 _ACEOF
39928 if ac_fn_cxx_try_compile "$LINENO"; then :
39929   glibcxx_cv_func_qfpclass_use=yes
39930 else
39931   glibcxx_cv_func_qfpclass_use=no
39932 fi
39933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39934       ac_ext=c
39935 ac_cpp='$CPP $CPPFLAGS'
39936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39939
39940
39941 fi
39942
39943   fi
39944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39945 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39946
39947   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39948     for ac_func in qfpclass
39949 do :
39950   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39951 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39952   cat >>confdefs.h <<_ACEOF
39953 #define HAVE_QFPCLASS 1
39954 _ACEOF
39955
39956 fi
39957 done
39958
39959   else
39960
39961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39962 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39963   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39964     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39965   $as_echo_n "(cached) " >&6
39966 else
39967
39968
39969       ac_ext=cpp
39970 ac_cpp='$CXXCPP $CPPFLAGS'
39971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39974
39975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39976 /* end confdefs.h.  */
39977 #include <math.h>
39978                       #ifdef HAVE_IEEEFP_H
39979                       #include <ieeefp.h>
39980                       #endif
39981
39982 int
39983 main ()
39984 {
39985  _qfpclass(0);
39986   ;
39987   return 0;
39988 }
39989 _ACEOF
39990 if ac_fn_cxx_try_compile "$LINENO"; then :
39991   glibcxx_cv_func__qfpclass_use=yes
39992 else
39993   glibcxx_cv_func__qfpclass_use=no
39994 fi
39995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39996       ac_ext=c
39997 ac_cpp='$CPP $CPPFLAGS'
39998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40001
40002
40003 fi
40004
40005   fi
40006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40007 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40008
40009     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40010       for ac_func in _qfpclass
40011 do :
40012   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40013 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40014   cat >>confdefs.h <<_ACEOF
40015 #define HAVE__QFPCLASS 1
40016 _ACEOF
40017
40018 fi
40019 done
40020
40021     fi
40022   fi
40023
40024
40025
40026
40027
40028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40029 $as_echo_n "checking for hypot declaration... " >&6; }
40030   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40031     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40032   $as_echo_n "(cached) " >&6
40033 else
40034
40035
40036       ac_ext=cpp
40037 ac_cpp='$CXXCPP $CPPFLAGS'
40038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40041
40042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40043 /* end confdefs.h.  */
40044 #include <math.h>
40045 int
40046 main ()
40047 {
40048  hypot(0, 0);
40049   ;
40050   return 0;
40051 }
40052 _ACEOF
40053 if ac_fn_cxx_try_compile "$LINENO"; then :
40054   glibcxx_cv_func_hypot_use=yes
40055 else
40056   glibcxx_cv_func_hypot_use=no
40057 fi
40058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40059       ac_ext=c
40060 ac_cpp='$CPP $CPPFLAGS'
40061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40064
40065
40066 fi
40067
40068   fi
40069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40070 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40071
40072   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40073     for ac_func in hypot
40074 do :
40075   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40076 if test "x$ac_cv_func_hypot" = x""yes; then :
40077   cat >>confdefs.h <<_ACEOF
40078 #define HAVE_HYPOT 1
40079 _ACEOF
40080
40081 fi
40082 done
40083
40084   else
40085
40086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40087 $as_echo_n "checking for _hypot declaration... " >&6; }
40088   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40089     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40090   $as_echo_n "(cached) " >&6
40091 else
40092
40093
40094       ac_ext=cpp
40095 ac_cpp='$CXXCPP $CPPFLAGS'
40096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40099
40100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40101 /* end confdefs.h.  */
40102 #include <math.h>
40103 int
40104 main ()
40105 {
40106  _hypot(0, 0);
40107   ;
40108   return 0;
40109 }
40110 _ACEOF
40111 if ac_fn_cxx_try_compile "$LINENO"; then :
40112   glibcxx_cv_func__hypot_use=yes
40113 else
40114   glibcxx_cv_func__hypot_use=no
40115 fi
40116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40117       ac_ext=c
40118 ac_cpp='$CPP $CPPFLAGS'
40119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40122
40123
40124 fi
40125
40126   fi
40127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40128 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40129
40130     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40131       for ac_func in _hypot
40132 do :
40133   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40134 if test "x$ac_cv_func__hypot" = x""yes; then :
40135   cat >>confdefs.h <<_ACEOF
40136 #define HAVE__HYPOT 1
40137 _ACEOF
40138
40139 fi
40140 done
40141
40142     fi
40143   fi
40144
40145
40146
40147
40148
40149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40150 $as_echo_n "checking for float trig functions... " >&6; }
40151   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40152   $as_echo_n "(cached) " >&6
40153 else
40154
40155
40156     ac_ext=cpp
40157 ac_cpp='$CXXCPP $CPPFLAGS'
40158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40161
40162     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40163 /* end confdefs.h.  */
40164 #include <math.h>
40165 int
40166 main ()
40167 {
40168 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40169   ;
40170   return 0;
40171 }
40172 _ACEOF
40173 if ac_fn_cxx_try_compile "$LINENO"; then :
40174   glibcxx_cv_func_float_trig_use=yes
40175 else
40176   glibcxx_cv_func_float_trig_use=no
40177 fi
40178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40179     ac_ext=c
40180 ac_cpp='$CPP $CPPFLAGS'
40181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40184
40185 fi
40186
40187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40188 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40189   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40190     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40191 do :
40192   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40194 eval as_val=\$$as_ac_var
40195    if test "x$as_val" = x""yes; then :
40196   cat >>confdefs.h <<_ACEOF
40197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40198 _ACEOF
40199
40200 fi
40201 done
40202
40203   else
40204     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40205 $as_echo_n "checking for _float trig functions... " >&6; }
40206     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40207   $as_echo_n "(cached) " >&6
40208 else
40209
40210
40211       ac_ext=cpp
40212 ac_cpp='$CXXCPP $CPPFLAGS'
40213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40216
40217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40218 /* end confdefs.h.  */
40219 #include <math.h>
40220 int
40221 main ()
40222 {
40223 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40224   ;
40225   return 0;
40226 }
40227 _ACEOF
40228 if ac_fn_cxx_try_compile "$LINENO"; then :
40229   glibcxx_cv_func__float_trig_use=yes
40230 else
40231   glibcxx_cv_func__float_trig_use=no
40232 fi
40233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40234       ac_ext=c
40235 ac_cpp='$CPP $CPPFLAGS'
40236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40239
40240 fi
40241
40242     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40243 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40244     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40245       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40246 do :
40247   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40249 eval as_val=\$$as_ac_var
40250    if test "x$as_val" = x""yes; then :
40251   cat >>confdefs.h <<_ACEOF
40252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40253 _ACEOF
40254
40255 fi
40256 done
40257
40258     fi
40259   fi
40260
40261
40262
40263
40264
40265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40266 $as_echo_n "checking for float round functions... " >&6; }
40267   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40268   $as_echo_n "(cached) " >&6
40269 else
40270
40271
40272     ac_ext=cpp
40273 ac_cpp='$CXXCPP $CPPFLAGS'
40274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40277
40278     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40279 /* end confdefs.h.  */
40280 #include <math.h>
40281 int
40282 main ()
40283 {
40284 ceilf (0); floorf (0);
40285   ;
40286   return 0;
40287 }
40288 _ACEOF
40289 if ac_fn_cxx_try_compile "$LINENO"; then :
40290   glibcxx_cv_func_float_round_use=yes
40291 else
40292   glibcxx_cv_func_float_round_use=no
40293 fi
40294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40295     ac_ext=c
40296 ac_cpp='$CPP $CPPFLAGS'
40297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40300
40301 fi
40302
40303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40304 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40305   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40306     for ac_func in ceilf floorf
40307 do :
40308   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40310 eval as_val=\$$as_ac_var
40311    if test "x$as_val" = x""yes; then :
40312   cat >>confdefs.h <<_ACEOF
40313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40314 _ACEOF
40315
40316 fi
40317 done
40318
40319   else
40320     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40321 $as_echo_n "checking for _float round functions... " >&6; }
40322     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40323   $as_echo_n "(cached) " >&6
40324 else
40325
40326
40327       ac_ext=cpp
40328 ac_cpp='$CXXCPP $CPPFLAGS'
40329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40332
40333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40334 /* end confdefs.h.  */
40335 #include <math.h>
40336 int
40337 main ()
40338 {
40339 _ceilf (0); _floorf (0);
40340   ;
40341   return 0;
40342 }
40343 _ACEOF
40344 if ac_fn_cxx_try_compile "$LINENO"; then :
40345   glibcxx_cv_func__float_round_use=yes
40346 else
40347   glibcxx_cv_func__float_round_use=no
40348 fi
40349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40350       ac_ext=c
40351 ac_cpp='$CPP $CPPFLAGS'
40352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40355
40356 fi
40357
40358     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40359 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40360     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40361       for ac_func in _ceilf _floorf
40362 do :
40363   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40365 eval as_val=\$$as_ac_var
40366    if test "x$as_val" = x""yes; then :
40367   cat >>confdefs.h <<_ACEOF
40368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40369 _ACEOF
40370
40371 fi
40372 done
40373
40374     fi
40375   fi
40376
40377
40378
40379
40380
40381
40382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40383 $as_echo_n "checking for expf declaration... " >&6; }
40384   if test x${glibcxx_cv_func_expf_use+set} != xset; then
40385     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40386   $as_echo_n "(cached) " >&6
40387 else
40388
40389
40390       ac_ext=cpp
40391 ac_cpp='$CXXCPP $CPPFLAGS'
40392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40395
40396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40397 /* end confdefs.h.  */
40398 #include <math.h>
40399                       #ifdef HAVE_IEEEFP_H
40400                       #include <ieeefp.h>
40401                       #endif
40402
40403 int
40404 main ()
40405 {
40406  expf(0);
40407   ;
40408   return 0;
40409 }
40410 _ACEOF
40411 if ac_fn_cxx_try_compile "$LINENO"; then :
40412   glibcxx_cv_func_expf_use=yes
40413 else
40414   glibcxx_cv_func_expf_use=no
40415 fi
40416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40417       ac_ext=c
40418 ac_cpp='$CPP $CPPFLAGS'
40419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40422
40423
40424 fi
40425
40426   fi
40427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40428 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40429
40430   if test x$glibcxx_cv_func_expf_use = x"yes"; then
40431     for ac_func in expf
40432 do :
40433   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40434 if test "x$ac_cv_func_expf" = x""yes; then :
40435   cat >>confdefs.h <<_ACEOF
40436 #define HAVE_EXPF 1
40437 _ACEOF
40438
40439 fi
40440 done
40441
40442   else
40443
40444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40445 $as_echo_n "checking for _expf declaration... " >&6; }
40446   if test x${glibcxx_cv_func__expf_use+set} != xset; then
40447     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40448   $as_echo_n "(cached) " >&6
40449 else
40450
40451
40452       ac_ext=cpp
40453 ac_cpp='$CXXCPP $CPPFLAGS'
40454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40457
40458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40459 /* end confdefs.h.  */
40460 #include <math.h>
40461                       #ifdef HAVE_IEEEFP_H
40462                       #include <ieeefp.h>
40463                       #endif
40464
40465 int
40466 main ()
40467 {
40468  _expf(0);
40469   ;
40470   return 0;
40471 }
40472 _ACEOF
40473 if ac_fn_cxx_try_compile "$LINENO"; then :
40474   glibcxx_cv_func__expf_use=yes
40475 else
40476   glibcxx_cv_func__expf_use=no
40477 fi
40478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40479       ac_ext=c
40480 ac_cpp='$CPP $CPPFLAGS'
40481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40484
40485
40486 fi
40487
40488   fi
40489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40490 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40491
40492     if test x$glibcxx_cv_func__expf_use = x"yes"; then
40493       for ac_func in _expf
40494 do :
40495   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40496 if test "x$ac_cv_func__expf" = x""yes; then :
40497   cat >>confdefs.h <<_ACEOF
40498 #define HAVE__EXPF 1
40499 _ACEOF
40500
40501 fi
40502 done
40503
40504     fi
40505   fi
40506
40507
40508
40509
40510
40511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40512 $as_echo_n "checking for isnanf declaration... " >&6; }
40513   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40514     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40515   $as_echo_n "(cached) " >&6
40516 else
40517
40518
40519       ac_ext=cpp
40520 ac_cpp='$CXXCPP $CPPFLAGS'
40521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40524
40525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40526 /* end confdefs.h.  */
40527 #include <math.h>
40528                       #ifdef HAVE_IEEEFP_H
40529                       #include <ieeefp.h>
40530                       #endif
40531
40532 int
40533 main ()
40534 {
40535  isnanf(0);
40536   ;
40537   return 0;
40538 }
40539 _ACEOF
40540 if ac_fn_cxx_try_compile "$LINENO"; then :
40541   glibcxx_cv_func_isnanf_use=yes
40542 else
40543   glibcxx_cv_func_isnanf_use=no
40544 fi
40545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40546       ac_ext=c
40547 ac_cpp='$CPP $CPPFLAGS'
40548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40551
40552
40553 fi
40554
40555   fi
40556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40557 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40558
40559   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40560     for ac_func in isnanf
40561 do :
40562   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40563 if test "x$ac_cv_func_isnanf" = x""yes; then :
40564   cat >>confdefs.h <<_ACEOF
40565 #define HAVE_ISNANF 1
40566 _ACEOF
40567
40568 fi
40569 done
40570
40571   else
40572
40573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40574 $as_echo_n "checking for _isnanf declaration... " >&6; }
40575   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40576     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40577   $as_echo_n "(cached) " >&6
40578 else
40579
40580
40581       ac_ext=cpp
40582 ac_cpp='$CXXCPP $CPPFLAGS'
40583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40586
40587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40588 /* end confdefs.h.  */
40589 #include <math.h>
40590                       #ifdef HAVE_IEEEFP_H
40591                       #include <ieeefp.h>
40592                       #endif
40593
40594 int
40595 main ()
40596 {
40597  _isnanf(0);
40598   ;
40599   return 0;
40600 }
40601 _ACEOF
40602 if ac_fn_cxx_try_compile "$LINENO"; then :
40603   glibcxx_cv_func__isnanf_use=yes
40604 else
40605   glibcxx_cv_func__isnanf_use=no
40606 fi
40607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40608       ac_ext=c
40609 ac_cpp='$CPP $CPPFLAGS'
40610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40613
40614
40615 fi
40616
40617   fi
40618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40619 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40620
40621     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40622       for ac_func in _isnanf
40623 do :
40624   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40625 if test "x$ac_cv_func__isnanf" = x""yes; then :
40626   cat >>confdefs.h <<_ACEOF
40627 #define HAVE__ISNANF 1
40628 _ACEOF
40629
40630 fi
40631 done
40632
40633     fi
40634   fi
40635
40636
40637
40638
40639
40640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40641 $as_echo_n "checking for isinff declaration... " >&6; }
40642   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40643     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40644   $as_echo_n "(cached) " >&6
40645 else
40646
40647
40648       ac_ext=cpp
40649 ac_cpp='$CXXCPP $CPPFLAGS'
40650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40653
40654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40655 /* end confdefs.h.  */
40656 #include <math.h>
40657                       #ifdef HAVE_IEEEFP_H
40658                       #include <ieeefp.h>
40659                       #endif
40660
40661 int
40662 main ()
40663 {
40664  isinff(0);
40665   ;
40666   return 0;
40667 }
40668 _ACEOF
40669 if ac_fn_cxx_try_compile "$LINENO"; then :
40670   glibcxx_cv_func_isinff_use=yes
40671 else
40672   glibcxx_cv_func_isinff_use=no
40673 fi
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40675       ac_ext=c
40676 ac_cpp='$CPP $CPPFLAGS'
40677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40680
40681
40682 fi
40683
40684   fi
40685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40686 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40687
40688   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40689     for ac_func in isinff
40690 do :
40691   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40692 if test "x$ac_cv_func_isinff" = x""yes; then :
40693   cat >>confdefs.h <<_ACEOF
40694 #define HAVE_ISINFF 1
40695 _ACEOF
40696
40697 fi
40698 done
40699
40700   else
40701
40702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40703 $as_echo_n "checking for _isinff declaration... " >&6; }
40704   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40705     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40706   $as_echo_n "(cached) " >&6
40707 else
40708
40709
40710       ac_ext=cpp
40711 ac_cpp='$CXXCPP $CPPFLAGS'
40712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40715
40716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40717 /* end confdefs.h.  */
40718 #include <math.h>
40719                       #ifdef HAVE_IEEEFP_H
40720                       #include <ieeefp.h>
40721                       #endif
40722
40723 int
40724 main ()
40725 {
40726  _isinff(0);
40727   ;
40728   return 0;
40729 }
40730 _ACEOF
40731 if ac_fn_cxx_try_compile "$LINENO"; then :
40732   glibcxx_cv_func__isinff_use=yes
40733 else
40734   glibcxx_cv_func__isinff_use=no
40735 fi
40736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40737       ac_ext=c
40738 ac_cpp='$CPP $CPPFLAGS'
40739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40742
40743
40744 fi
40745
40746   fi
40747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40748 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40749
40750     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40751       for ac_func in _isinff
40752 do :
40753   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40754 if test "x$ac_cv_func__isinff" = x""yes; then :
40755   cat >>confdefs.h <<_ACEOF
40756 #define HAVE__ISINFF 1
40757 _ACEOF
40758
40759 fi
40760 done
40761
40762     fi
40763   fi
40764
40765
40766
40767
40768
40769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40770 $as_echo_n "checking for atan2f declaration... " >&6; }
40771   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40772     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40773   $as_echo_n "(cached) " >&6
40774 else
40775
40776
40777       ac_ext=cpp
40778 ac_cpp='$CXXCPP $CPPFLAGS'
40779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40782
40783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40784 /* end confdefs.h.  */
40785 #include <math.h>
40786 int
40787 main ()
40788 {
40789  atan2f(0, 0);
40790   ;
40791   return 0;
40792 }
40793 _ACEOF
40794 if ac_fn_cxx_try_compile "$LINENO"; then :
40795   glibcxx_cv_func_atan2f_use=yes
40796 else
40797   glibcxx_cv_func_atan2f_use=no
40798 fi
40799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40800       ac_ext=c
40801 ac_cpp='$CPP $CPPFLAGS'
40802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40805
40806
40807 fi
40808
40809   fi
40810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40811 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40812
40813   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40814     for ac_func in atan2f
40815 do :
40816   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40817 if test "x$ac_cv_func_atan2f" = x""yes; then :
40818   cat >>confdefs.h <<_ACEOF
40819 #define HAVE_ATAN2F 1
40820 _ACEOF
40821
40822 fi
40823 done
40824
40825   else
40826
40827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40828 $as_echo_n "checking for _atan2f declaration... " >&6; }
40829   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40830     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40831   $as_echo_n "(cached) " >&6
40832 else
40833
40834
40835       ac_ext=cpp
40836 ac_cpp='$CXXCPP $CPPFLAGS'
40837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40840
40841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40842 /* end confdefs.h.  */
40843 #include <math.h>
40844 int
40845 main ()
40846 {
40847  _atan2f(0, 0);
40848   ;
40849   return 0;
40850 }
40851 _ACEOF
40852 if ac_fn_cxx_try_compile "$LINENO"; then :
40853   glibcxx_cv_func__atan2f_use=yes
40854 else
40855   glibcxx_cv_func__atan2f_use=no
40856 fi
40857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40858       ac_ext=c
40859 ac_cpp='$CPP $CPPFLAGS'
40860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40863
40864
40865 fi
40866
40867   fi
40868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40869 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40870
40871     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40872       for ac_func in _atan2f
40873 do :
40874   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40875 if test "x$ac_cv_func__atan2f" = x""yes; then :
40876   cat >>confdefs.h <<_ACEOF
40877 #define HAVE__ATAN2F 1
40878 _ACEOF
40879
40880 fi
40881 done
40882
40883     fi
40884   fi
40885
40886
40887
40888
40889
40890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40891 $as_echo_n "checking for fabsf declaration... " >&6; }
40892   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40893     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40894   $as_echo_n "(cached) " >&6
40895 else
40896
40897
40898       ac_ext=cpp
40899 ac_cpp='$CXXCPP $CPPFLAGS'
40900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40903
40904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40905 /* end confdefs.h.  */
40906 #include <math.h>
40907                       #ifdef HAVE_IEEEFP_H
40908                       #include <ieeefp.h>
40909                       #endif
40910
40911 int
40912 main ()
40913 {
40914  fabsf(0);
40915   ;
40916   return 0;
40917 }
40918 _ACEOF
40919 if ac_fn_cxx_try_compile "$LINENO"; then :
40920   glibcxx_cv_func_fabsf_use=yes
40921 else
40922   glibcxx_cv_func_fabsf_use=no
40923 fi
40924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40925       ac_ext=c
40926 ac_cpp='$CPP $CPPFLAGS'
40927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40930
40931
40932 fi
40933
40934   fi
40935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40936 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40937
40938   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40939     for ac_func in fabsf
40940 do :
40941   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40942 if test "x$ac_cv_func_fabsf" = x""yes; then :
40943   cat >>confdefs.h <<_ACEOF
40944 #define HAVE_FABSF 1
40945 _ACEOF
40946
40947 fi
40948 done
40949
40950   else
40951
40952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40953 $as_echo_n "checking for _fabsf declaration... " >&6; }
40954   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40955     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40956   $as_echo_n "(cached) " >&6
40957 else
40958
40959
40960       ac_ext=cpp
40961 ac_cpp='$CXXCPP $CPPFLAGS'
40962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40965
40966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40967 /* end confdefs.h.  */
40968 #include <math.h>
40969                       #ifdef HAVE_IEEEFP_H
40970                       #include <ieeefp.h>
40971                       #endif
40972
40973 int
40974 main ()
40975 {
40976  _fabsf(0);
40977   ;
40978   return 0;
40979 }
40980 _ACEOF
40981 if ac_fn_cxx_try_compile "$LINENO"; then :
40982   glibcxx_cv_func__fabsf_use=yes
40983 else
40984   glibcxx_cv_func__fabsf_use=no
40985 fi
40986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40987       ac_ext=c
40988 ac_cpp='$CPP $CPPFLAGS'
40989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40992
40993
40994 fi
40995
40996   fi
40997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40998 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40999
41000     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41001       for ac_func in _fabsf
41002 do :
41003   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41004 if test "x$ac_cv_func__fabsf" = x""yes; then :
41005   cat >>confdefs.h <<_ACEOF
41006 #define HAVE__FABSF 1
41007 _ACEOF
41008
41009 fi
41010 done
41011
41012     fi
41013   fi
41014
41015
41016
41017
41018
41019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41020 $as_echo_n "checking for fmodf declaration... " >&6; }
41021   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41022     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41023   $as_echo_n "(cached) " >&6
41024 else
41025
41026
41027       ac_ext=cpp
41028 ac_cpp='$CXXCPP $CPPFLAGS'
41029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41032
41033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41034 /* end confdefs.h.  */
41035 #include <math.h>
41036 int
41037 main ()
41038 {
41039  fmodf(0, 0);
41040   ;
41041   return 0;
41042 }
41043 _ACEOF
41044 if ac_fn_cxx_try_compile "$LINENO"; then :
41045   glibcxx_cv_func_fmodf_use=yes
41046 else
41047   glibcxx_cv_func_fmodf_use=no
41048 fi
41049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41050       ac_ext=c
41051 ac_cpp='$CPP $CPPFLAGS'
41052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41055
41056
41057 fi
41058
41059   fi
41060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41061 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41062
41063   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41064     for ac_func in fmodf
41065 do :
41066   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41067 if test "x$ac_cv_func_fmodf" = x""yes; then :
41068   cat >>confdefs.h <<_ACEOF
41069 #define HAVE_FMODF 1
41070 _ACEOF
41071
41072 fi
41073 done
41074
41075   else
41076
41077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41078 $as_echo_n "checking for _fmodf declaration... " >&6; }
41079   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41080     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41081   $as_echo_n "(cached) " >&6
41082 else
41083
41084
41085       ac_ext=cpp
41086 ac_cpp='$CXXCPP $CPPFLAGS'
41087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41090
41091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41092 /* end confdefs.h.  */
41093 #include <math.h>
41094 int
41095 main ()
41096 {
41097  _fmodf(0, 0);
41098   ;
41099   return 0;
41100 }
41101 _ACEOF
41102 if ac_fn_cxx_try_compile "$LINENO"; then :
41103   glibcxx_cv_func__fmodf_use=yes
41104 else
41105   glibcxx_cv_func__fmodf_use=no
41106 fi
41107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41108       ac_ext=c
41109 ac_cpp='$CPP $CPPFLAGS'
41110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41113
41114
41115 fi
41116
41117   fi
41118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41119 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41120
41121     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41122       for ac_func in _fmodf
41123 do :
41124   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41125 if test "x$ac_cv_func__fmodf" = x""yes; then :
41126   cat >>confdefs.h <<_ACEOF
41127 #define HAVE__FMODF 1
41128 _ACEOF
41129
41130 fi
41131 done
41132
41133     fi
41134   fi
41135
41136
41137
41138
41139
41140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41141 $as_echo_n "checking for frexpf declaration... " >&6; }
41142   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41143     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41144   $as_echo_n "(cached) " >&6
41145 else
41146
41147
41148       ac_ext=cpp
41149 ac_cpp='$CXXCPP $CPPFLAGS'
41150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41153
41154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41155 /* end confdefs.h.  */
41156 #include <math.h>
41157 int
41158 main ()
41159 {
41160  frexpf(0, 0);
41161   ;
41162   return 0;
41163 }
41164 _ACEOF
41165 if ac_fn_cxx_try_compile "$LINENO"; then :
41166   glibcxx_cv_func_frexpf_use=yes
41167 else
41168   glibcxx_cv_func_frexpf_use=no
41169 fi
41170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41171       ac_ext=c
41172 ac_cpp='$CPP $CPPFLAGS'
41173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41176
41177
41178 fi
41179
41180   fi
41181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41182 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41183
41184   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41185     for ac_func in frexpf
41186 do :
41187   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41188 if test "x$ac_cv_func_frexpf" = x""yes; then :
41189   cat >>confdefs.h <<_ACEOF
41190 #define HAVE_FREXPF 1
41191 _ACEOF
41192
41193 fi
41194 done
41195
41196   else
41197
41198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41199 $as_echo_n "checking for _frexpf declaration... " >&6; }
41200   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41201     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41202   $as_echo_n "(cached) " >&6
41203 else
41204
41205
41206       ac_ext=cpp
41207 ac_cpp='$CXXCPP $CPPFLAGS'
41208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41211
41212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41213 /* end confdefs.h.  */
41214 #include <math.h>
41215 int
41216 main ()
41217 {
41218  _frexpf(0, 0);
41219   ;
41220   return 0;
41221 }
41222 _ACEOF
41223 if ac_fn_cxx_try_compile "$LINENO"; then :
41224   glibcxx_cv_func__frexpf_use=yes
41225 else
41226   glibcxx_cv_func__frexpf_use=no
41227 fi
41228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41229       ac_ext=c
41230 ac_cpp='$CPP $CPPFLAGS'
41231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41234
41235
41236 fi
41237
41238   fi
41239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41240 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41241
41242     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41243       for ac_func in _frexpf
41244 do :
41245   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41246 if test "x$ac_cv_func__frexpf" = x""yes; then :
41247   cat >>confdefs.h <<_ACEOF
41248 #define HAVE__FREXPF 1
41249 _ACEOF
41250
41251 fi
41252 done
41253
41254     fi
41255   fi
41256
41257
41258
41259
41260
41261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41262 $as_echo_n "checking for hypotf declaration... " >&6; }
41263   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41264     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41265   $as_echo_n "(cached) " >&6
41266 else
41267
41268
41269       ac_ext=cpp
41270 ac_cpp='$CXXCPP $CPPFLAGS'
41271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41274
41275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41276 /* end confdefs.h.  */
41277 #include <math.h>
41278 int
41279 main ()
41280 {
41281  hypotf(0, 0);
41282   ;
41283   return 0;
41284 }
41285 _ACEOF
41286 if ac_fn_cxx_try_compile "$LINENO"; then :
41287   glibcxx_cv_func_hypotf_use=yes
41288 else
41289   glibcxx_cv_func_hypotf_use=no
41290 fi
41291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41292       ac_ext=c
41293 ac_cpp='$CPP $CPPFLAGS'
41294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41297
41298
41299 fi
41300
41301   fi
41302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41303 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41304
41305   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41306     for ac_func in hypotf
41307 do :
41308   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41309 if test "x$ac_cv_func_hypotf" = x""yes; then :
41310   cat >>confdefs.h <<_ACEOF
41311 #define HAVE_HYPOTF 1
41312 _ACEOF
41313
41314 fi
41315 done
41316
41317   else
41318
41319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41320 $as_echo_n "checking for _hypotf declaration... " >&6; }
41321   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41322     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41323   $as_echo_n "(cached) " >&6
41324 else
41325
41326
41327       ac_ext=cpp
41328 ac_cpp='$CXXCPP $CPPFLAGS'
41329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41332
41333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41334 /* end confdefs.h.  */
41335 #include <math.h>
41336 int
41337 main ()
41338 {
41339  _hypotf(0, 0);
41340   ;
41341   return 0;
41342 }
41343 _ACEOF
41344 if ac_fn_cxx_try_compile "$LINENO"; then :
41345   glibcxx_cv_func__hypotf_use=yes
41346 else
41347   glibcxx_cv_func__hypotf_use=no
41348 fi
41349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41350       ac_ext=c
41351 ac_cpp='$CPP $CPPFLAGS'
41352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41355
41356
41357 fi
41358
41359   fi
41360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41361 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41362
41363     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41364       for ac_func in _hypotf
41365 do :
41366   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41367 if test "x$ac_cv_func__hypotf" = x""yes; then :
41368   cat >>confdefs.h <<_ACEOF
41369 #define HAVE__HYPOTF 1
41370 _ACEOF
41371
41372 fi
41373 done
41374
41375     fi
41376   fi
41377
41378
41379
41380
41381
41382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41383 $as_echo_n "checking for ldexpf declaration... " >&6; }
41384   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41385     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41386   $as_echo_n "(cached) " >&6
41387 else
41388
41389
41390       ac_ext=cpp
41391 ac_cpp='$CXXCPP $CPPFLAGS'
41392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41395
41396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41397 /* end confdefs.h.  */
41398 #include <math.h>
41399 int
41400 main ()
41401 {
41402  ldexpf(0, 0);
41403   ;
41404   return 0;
41405 }
41406 _ACEOF
41407 if ac_fn_cxx_try_compile "$LINENO"; then :
41408   glibcxx_cv_func_ldexpf_use=yes
41409 else
41410   glibcxx_cv_func_ldexpf_use=no
41411 fi
41412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41413       ac_ext=c
41414 ac_cpp='$CPP $CPPFLAGS'
41415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41418
41419
41420 fi
41421
41422   fi
41423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41424 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41425
41426   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41427     for ac_func in ldexpf
41428 do :
41429   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41430 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41431   cat >>confdefs.h <<_ACEOF
41432 #define HAVE_LDEXPF 1
41433 _ACEOF
41434
41435 fi
41436 done
41437
41438   else
41439
41440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41441 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41442   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41443     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41444   $as_echo_n "(cached) " >&6
41445 else
41446
41447
41448       ac_ext=cpp
41449 ac_cpp='$CXXCPP $CPPFLAGS'
41450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41453
41454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41455 /* end confdefs.h.  */
41456 #include <math.h>
41457 int
41458 main ()
41459 {
41460  _ldexpf(0, 0);
41461   ;
41462   return 0;
41463 }
41464 _ACEOF
41465 if ac_fn_cxx_try_compile "$LINENO"; then :
41466   glibcxx_cv_func__ldexpf_use=yes
41467 else
41468   glibcxx_cv_func__ldexpf_use=no
41469 fi
41470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41471       ac_ext=c
41472 ac_cpp='$CPP $CPPFLAGS'
41473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41476
41477
41478 fi
41479
41480   fi
41481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41482 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41483
41484     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41485       for ac_func in _ldexpf
41486 do :
41487   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41488 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41489   cat >>confdefs.h <<_ACEOF
41490 #define HAVE__LDEXPF 1
41491 _ACEOF
41492
41493 fi
41494 done
41495
41496     fi
41497   fi
41498
41499
41500
41501
41502
41503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41504 $as_echo_n "checking for logf declaration... " >&6; }
41505   if test x${glibcxx_cv_func_logf_use+set} != xset; then
41506     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41507   $as_echo_n "(cached) " >&6
41508 else
41509
41510
41511       ac_ext=cpp
41512 ac_cpp='$CXXCPP $CPPFLAGS'
41513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41516
41517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41518 /* end confdefs.h.  */
41519 #include <math.h>
41520                       #ifdef HAVE_IEEEFP_H
41521                       #include <ieeefp.h>
41522                       #endif
41523
41524 int
41525 main ()
41526 {
41527  logf(0);
41528   ;
41529   return 0;
41530 }
41531 _ACEOF
41532 if ac_fn_cxx_try_compile "$LINENO"; then :
41533   glibcxx_cv_func_logf_use=yes
41534 else
41535   glibcxx_cv_func_logf_use=no
41536 fi
41537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41538       ac_ext=c
41539 ac_cpp='$CPP $CPPFLAGS'
41540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41543
41544
41545 fi
41546
41547   fi
41548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41549 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41550
41551   if test x$glibcxx_cv_func_logf_use = x"yes"; then
41552     for ac_func in logf
41553 do :
41554   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41555 if test "x$ac_cv_func_logf" = x""yes; then :
41556   cat >>confdefs.h <<_ACEOF
41557 #define HAVE_LOGF 1
41558 _ACEOF
41559
41560 fi
41561 done
41562
41563   else
41564
41565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41566 $as_echo_n "checking for _logf declaration... " >&6; }
41567   if test x${glibcxx_cv_func__logf_use+set} != xset; then
41568     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41569   $as_echo_n "(cached) " >&6
41570 else
41571
41572
41573       ac_ext=cpp
41574 ac_cpp='$CXXCPP $CPPFLAGS'
41575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41578
41579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41580 /* end confdefs.h.  */
41581 #include <math.h>
41582                       #ifdef HAVE_IEEEFP_H
41583                       #include <ieeefp.h>
41584                       #endif
41585
41586 int
41587 main ()
41588 {
41589  _logf(0);
41590   ;
41591   return 0;
41592 }
41593 _ACEOF
41594 if ac_fn_cxx_try_compile "$LINENO"; then :
41595   glibcxx_cv_func__logf_use=yes
41596 else
41597   glibcxx_cv_func__logf_use=no
41598 fi
41599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41600       ac_ext=c
41601 ac_cpp='$CPP $CPPFLAGS'
41602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41605
41606
41607 fi
41608
41609   fi
41610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41611 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41612
41613     if test x$glibcxx_cv_func__logf_use = x"yes"; then
41614       for ac_func in _logf
41615 do :
41616   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41617 if test "x$ac_cv_func__logf" = x""yes; then :
41618   cat >>confdefs.h <<_ACEOF
41619 #define HAVE__LOGF 1
41620 _ACEOF
41621
41622 fi
41623 done
41624
41625     fi
41626   fi
41627
41628
41629
41630
41631
41632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41633 $as_echo_n "checking for log10f declaration... " >&6; }
41634   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41635     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41636   $as_echo_n "(cached) " >&6
41637 else
41638
41639
41640       ac_ext=cpp
41641 ac_cpp='$CXXCPP $CPPFLAGS'
41642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41645
41646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41647 /* end confdefs.h.  */
41648 #include <math.h>
41649                       #ifdef HAVE_IEEEFP_H
41650                       #include <ieeefp.h>
41651                       #endif
41652
41653 int
41654 main ()
41655 {
41656  log10f(0);
41657   ;
41658   return 0;
41659 }
41660 _ACEOF
41661 if ac_fn_cxx_try_compile "$LINENO"; then :
41662   glibcxx_cv_func_log10f_use=yes
41663 else
41664   glibcxx_cv_func_log10f_use=no
41665 fi
41666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41667       ac_ext=c
41668 ac_cpp='$CPP $CPPFLAGS'
41669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41672
41673
41674 fi
41675
41676   fi
41677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41678 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41679
41680   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41681     for ac_func in log10f
41682 do :
41683   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41684 if test "x$ac_cv_func_log10f" = x""yes; then :
41685   cat >>confdefs.h <<_ACEOF
41686 #define HAVE_LOG10F 1
41687 _ACEOF
41688
41689 fi
41690 done
41691
41692   else
41693
41694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41695 $as_echo_n "checking for _log10f declaration... " >&6; }
41696   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41697     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41698   $as_echo_n "(cached) " >&6
41699 else
41700
41701
41702       ac_ext=cpp
41703 ac_cpp='$CXXCPP $CPPFLAGS'
41704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41707
41708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41709 /* end confdefs.h.  */
41710 #include <math.h>
41711                       #ifdef HAVE_IEEEFP_H
41712                       #include <ieeefp.h>
41713                       #endif
41714
41715 int
41716 main ()
41717 {
41718  _log10f(0);
41719   ;
41720   return 0;
41721 }
41722 _ACEOF
41723 if ac_fn_cxx_try_compile "$LINENO"; then :
41724   glibcxx_cv_func__log10f_use=yes
41725 else
41726   glibcxx_cv_func__log10f_use=no
41727 fi
41728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41729       ac_ext=c
41730 ac_cpp='$CPP $CPPFLAGS'
41731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41734
41735
41736 fi
41737
41738   fi
41739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41740 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41741
41742     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41743       for ac_func in _log10f
41744 do :
41745   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41746 if test "x$ac_cv_func__log10f" = x""yes; then :
41747   cat >>confdefs.h <<_ACEOF
41748 #define HAVE__LOG10F 1
41749 _ACEOF
41750
41751 fi
41752 done
41753
41754     fi
41755   fi
41756
41757
41758
41759
41760
41761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41762 $as_echo_n "checking for modff declaration... " >&6; }
41763   if test x${glibcxx_cv_func_modff_use+set} != xset; then
41764     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41765   $as_echo_n "(cached) " >&6
41766 else
41767
41768
41769       ac_ext=cpp
41770 ac_cpp='$CXXCPP $CPPFLAGS'
41771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41774
41775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41776 /* end confdefs.h.  */
41777 #include <math.h>
41778 int
41779 main ()
41780 {
41781  modff(0, 0);
41782   ;
41783   return 0;
41784 }
41785 _ACEOF
41786 if ac_fn_cxx_try_compile "$LINENO"; then :
41787   glibcxx_cv_func_modff_use=yes
41788 else
41789   glibcxx_cv_func_modff_use=no
41790 fi
41791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41792       ac_ext=c
41793 ac_cpp='$CPP $CPPFLAGS'
41794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41797
41798
41799 fi
41800
41801   fi
41802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41803 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41804
41805   if test x$glibcxx_cv_func_modff_use = x"yes"; then
41806     for ac_func in modff
41807 do :
41808   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41809 if test "x$ac_cv_func_modff" = x""yes; then :
41810   cat >>confdefs.h <<_ACEOF
41811 #define HAVE_MODFF 1
41812 _ACEOF
41813
41814 fi
41815 done
41816
41817   else
41818
41819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41820 $as_echo_n "checking for _modff declaration... " >&6; }
41821   if test x${glibcxx_cv_func__modff_use+set} != xset; then
41822     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41823   $as_echo_n "(cached) " >&6
41824 else
41825
41826
41827       ac_ext=cpp
41828 ac_cpp='$CXXCPP $CPPFLAGS'
41829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41832
41833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41834 /* end confdefs.h.  */
41835 #include <math.h>
41836 int
41837 main ()
41838 {
41839  _modff(0, 0);
41840   ;
41841   return 0;
41842 }
41843 _ACEOF
41844 if ac_fn_cxx_try_compile "$LINENO"; then :
41845   glibcxx_cv_func__modff_use=yes
41846 else
41847   glibcxx_cv_func__modff_use=no
41848 fi
41849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41850       ac_ext=c
41851 ac_cpp='$CPP $CPPFLAGS'
41852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41855
41856
41857 fi
41858
41859   fi
41860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41861 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41862
41863     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41864       for ac_func in _modff
41865 do :
41866   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41867 if test "x$ac_cv_func__modff" = x""yes; then :
41868   cat >>confdefs.h <<_ACEOF
41869 #define HAVE__MODFF 1
41870 _ACEOF
41871
41872 fi
41873 done
41874
41875     fi
41876   fi
41877
41878
41879
41880
41881
41882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41883 $as_echo_n "checking for modf declaration... " >&6; }
41884   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41885     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41886   $as_echo_n "(cached) " >&6
41887 else
41888
41889
41890       ac_ext=cpp
41891 ac_cpp='$CXXCPP $CPPFLAGS'
41892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41895
41896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41897 /* end confdefs.h.  */
41898 #include <math.h>
41899 int
41900 main ()
41901 {
41902  modf(0, 0);
41903   ;
41904   return 0;
41905 }
41906 _ACEOF
41907 if ac_fn_cxx_try_compile "$LINENO"; then :
41908   glibcxx_cv_func_modf_use=yes
41909 else
41910   glibcxx_cv_func_modf_use=no
41911 fi
41912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41913       ac_ext=c
41914 ac_cpp='$CPP $CPPFLAGS'
41915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41918
41919
41920 fi
41921
41922   fi
41923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41924 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41925
41926   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41927     for ac_func in modf
41928 do :
41929   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41930 if test "x$ac_cv_func_modf" = x""yes; then :
41931   cat >>confdefs.h <<_ACEOF
41932 #define HAVE_MODF 1
41933 _ACEOF
41934
41935 fi
41936 done
41937
41938   else
41939
41940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41941 $as_echo_n "checking for _modf declaration... " >&6; }
41942   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41943     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41944   $as_echo_n "(cached) " >&6
41945 else
41946
41947
41948       ac_ext=cpp
41949 ac_cpp='$CXXCPP $CPPFLAGS'
41950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41953
41954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41955 /* end confdefs.h.  */
41956 #include <math.h>
41957 int
41958 main ()
41959 {
41960  _modf(0, 0);
41961   ;
41962   return 0;
41963 }
41964 _ACEOF
41965 if ac_fn_cxx_try_compile "$LINENO"; then :
41966   glibcxx_cv_func__modf_use=yes
41967 else
41968   glibcxx_cv_func__modf_use=no
41969 fi
41970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41971       ac_ext=c
41972 ac_cpp='$CPP $CPPFLAGS'
41973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41976
41977
41978 fi
41979
41980   fi
41981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41982 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41983
41984     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41985       for ac_func in _modf
41986 do :
41987   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41988 if test "x$ac_cv_func__modf" = x""yes; then :
41989   cat >>confdefs.h <<_ACEOF
41990 #define HAVE__MODF 1
41991 _ACEOF
41992
41993 fi
41994 done
41995
41996     fi
41997   fi
41998
41999
42000
42001
42002
42003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42004 $as_echo_n "checking for powf declaration... " >&6; }
42005   if test x${glibcxx_cv_func_powf_use+set} != xset; then
42006     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42007   $as_echo_n "(cached) " >&6
42008 else
42009
42010
42011       ac_ext=cpp
42012 ac_cpp='$CXXCPP $CPPFLAGS'
42013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42016
42017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42018 /* end confdefs.h.  */
42019 #include <math.h>
42020 int
42021 main ()
42022 {
42023  powf(0, 0);
42024   ;
42025   return 0;
42026 }
42027 _ACEOF
42028 if ac_fn_cxx_try_compile "$LINENO"; then :
42029   glibcxx_cv_func_powf_use=yes
42030 else
42031   glibcxx_cv_func_powf_use=no
42032 fi
42033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42034       ac_ext=c
42035 ac_cpp='$CPP $CPPFLAGS'
42036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42039
42040
42041 fi
42042
42043   fi
42044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42045 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42046
42047   if test x$glibcxx_cv_func_powf_use = x"yes"; then
42048     for ac_func in powf
42049 do :
42050   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42051 if test "x$ac_cv_func_powf" = x""yes; then :
42052   cat >>confdefs.h <<_ACEOF
42053 #define HAVE_POWF 1
42054 _ACEOF
42055
42056 fi
42057 done
42058
42059   else
42060
42061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42062 $as_echo_n "checking for _powf declaration... " >&6; }
42063   if test x${glibcxx_cv_func__powf_use+set} != xset; then
42064     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42065   $as_echo_n "(cached) " >&6
42066 else
42067
42068
42069       ac_ext=cpp
42070 ac_cpp='$CXXCPP $CPPFLAGS'
42071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42074
42075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42076 /* end confdefs.h.  */
42077 #include <math.h>
42078 int
42079 main ()
42080 {
42081  _powf(0, 0);
42082   ;
42083   return 0;
42084 }
42085 _ACEOF
42086 if ac_fn_cxx_try_compile "$LINENO"; then :
42087   glibcxx_cv_func__powf_use=yes
42088 else
42089   glibcxx_cv_func__powf_use=no
42090 fi
42091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42092       ac_ext=c
42093 ac_cpp='$CPP $CPPFLAGS'
42094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42097
42098
42099 fi
42100
42101   fi
42102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42103 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42104
42105     if test x$glibcxx_cv_func__powf_use = x"yes"; then
42106       for ac_func in _powf
42107 do :
42108   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42109 if test "x$ac_cv_func__powf" = x""yes; then :
42110   cat >>confdefs.h <<_ACEOF
42111 #define HAVE__POWF 1
42112 _ACEOF
42113
42114 fi
42115 done
42116
42117     fi
42118   fi
42119
42120
42121
42122
42123
42124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42125 $as_echo_n "checking for sqrtf declaration... " >&6; }
42126   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42127     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42128   $as_echo_n "(cached) " >&6
42129 else
42130
42131
42132       ac_ext=cpp
42133 ac_cpp='$CXXCPP $CPPFLAGS'
42134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42137
42138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42139 /* end confdefs.h.  */
42140 #include <math.h>
42141                       #ifdef HAVE_IEEEFP_H
42142                       #include <ieeefp.h>
42143                       #endif
42144
42145 int
42146 main ()
42147 {
42148  sqrtf(0);
42149   ;
42150   return 0;
42151 }
42152 _ACEOF
42153 if ac_fn_cxx_try_compile "$LINENO"; then :
42154   glibcxx_cv_func_sqrtf_use=yes
42155 else
42156   glibcxx_cv_func_sqrtf_use=no
42157 fi
42158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42159       ac_ext=c
42160 ac_cpp='$CPP $CPPFLAGS'
42161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42164
42165
42166 fi
42167
42168   fi
42169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42170 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42171
42172   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42173     for ac_func in sqrtf
42174 do :
42175   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42176 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42177   cat >>confdefs.h <<_ACEOF
42178 #define HAVE_SQRTF 1
42179 _ACEOF
42180
42181 fi
42182 done
42183
42184   else
42185
42186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42187 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42188   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42189     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42190   $as_echo_n "(cached) " >&6
42191 else
42192
42193
42194       ac_ext=cpp
42195 ac_cpp='$CXXCPP $CPPFLAGS'
42196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42199
42200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42201 /* end confdefs.h.  */
42202 #include <math.h>
42203                       #ifdef HAVE_IEEEFP_H
42204                       #include <ieeefp.h>
42205                       #endif
42206
42207 int
42208 main ()
42209 {
42210  _sqrtf(0);
42211   ;
42212   return 0;
42213 }
42214 _ACEOF
42215 if ac_fn_cxx_try_compile "$LINENO"; then :
42216   glibcxx_cv_func__sqrtf_use=yes
42217 else
42218   glibcxx_cv_func__sqrtf_use=no
42219 fi
42220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42221       ac_ext=c
42222 ac_cpp='$CPP $CPPFLAGS'
42223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42226
42227
42228 fi
42229
42230   fi
42231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42232 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42233
42234     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42235       for ac_func in _sqrtf
42236 do :
42237   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42238 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42239   cat >>confdefs.h <<_ACEOF
42240 #define HAVE__SQRTF 1
42241 _ACEOF
42242
42243 fi
42244 done
42245
42246     fi
42247   fi
42248
42249
42250
42251
42252
42253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42254 $as_echo_n "checking for sincosf declaration... " >&6; }
42255   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42256     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42257   $as_echo_n "(cached) " >&6
42258 else
42259
42260
42261       ac_ext=cpp
42262 ac_cpp='$CXXCPP $CPPFLAGS'
42263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42266
42267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42268 /* end confdefs.h.  */
42269 #include <math.h>
42270 int
42271 main ()
42272 {
42273  sincosf(0, 0, 0);
42274   ;
42275   return 0;
42276 }
42277 _ACEOF
42278 if ac_fn_cxx_try_compile "$LINENO"; then :
42279   glibcxx_cv_func_sincosf_use=yes
42280 else
42281   glibcxx_cv_func_sincosf_use=no
42282 fi
42283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42284       ac_ext=c
42285 ac_cpp='$CPP $CPPFLAGS'
42286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42289
42290
42291 fi
42292
42293   fi
42294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42295 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42296
42297   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42298     for ac_func in sincosf
42299 do :
42300   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42301 if test "x$ac_cv_func_sincosf" = x""yes; then :
42302   cat >>confdefs.h <<_ACEOF
42303 #define HAVE_SINCOSF 1
42304 _ACEOF
42305
42306 fi
42307 done
42308
42309   else
42310
42311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42312 $as_echo_n "checking for _sincosf declaration... " >&6; }
42313   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42314     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42315   $as_echo_n "(cached) " >&6
42316 else
42317
42318
42319       ac_ext=cpp
42320 ac_cpp='$CXXCPP $CPPFLAGS'
42321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42324
42325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42326 /* end confdefs.h.  */
42327 #include <math.h>
42328 int
42329 main ()
42330 {
42331  _sincosf(0, 0, 0);
42332   ;
42333   return 0;
42334 }
42335 _ACEOF
42336 if ac_fn_cxx_try_compile "$LINENO"; then :
42337   glibcxx_cv_func__sincosf_use=yes
42338 else
42339   glibcxx_cv_func__sincosf_use=no
42340 fi
42341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42342       ac_ext=c
42343 ac_cpp='$CPP $CPPFLAGS'
42344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42347
42348
42349 fi
42350
42351   fi
42352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42353 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42354
42355     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42356       for ac_func in _sincosf
42357 do :
42358   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42359 if test "x$ac_cv_func__sincosf" = x""yes; then :
42360   cat >>confdefs.h <<_ACEOF
42361 #define HAVE__SINCOSF 1
42362 _ACEOF
42363
42364 fi
42365 done
42366
42367     fi
42368   fi
42369
42370
42371
42372
42373
42374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42375 $as_echo_n "checking for finitef declaration... " >&6; }
42376   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42377     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42378   $as_echo_n "(cached) " >&6
42379 else
42380
42381
42382       ac_ext=cpp
42383 ac_cpp='$CXXCPP $CPPFLAGS'
42384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42387
42388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42389 /* end confdefs.h.  */
42390 #include <math.h>
42391                       #ifdef HAVE_IEEEFP_H
42392                       #include <ieeefp.h>
42393                       #endif
42394
42395 int
42396 main ()
42397 {
42398  finitef(0);
42399   ;
42400   return 0;
42401 }
42402 _ACEOF
42403 if ac_fn_cxx_try_compile "$LINENO"; then :
42404   glibcxx_cv_func_finitef_use=yes
42405 else
42406   glibcxx_cv_func_finitef_use=no
42407 fi
42408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42409       ac_ext=c
42410 ac_cpp='$CPP $CPPFLAGS'
42411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42414
42415
42416 fi
42417
42418   fi
42419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42420 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42421
42422   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42423     for ac_func in finitef
42424 do :
42425   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42426 if test "x$ac_cv_func_finitef" = x""yes; then :
42427   cat >>confdefs.h <<_ACEOF
42428 #define HAVE_FINITEF 1
42429 _ACEOF
42430
42431 fi
42432 done
42433
42434   else
42435
42436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42437 $as_echo_n "checking for _finitef declaration... " >&6; }
42438   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42439     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42440   $as_echo_n "(cached) " >&6
42441 else
42442
42443
42444       ac_ext=cpp
42445 ac_cpp='$CXXCPP $CPPFLAGS'
42446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42449
42450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42451 /* end confdefs.h.  */
42452 #include <math.h>
42453                       #ifdef HAVE_IEEEFP_H
42454                       #include <ieeefp.h>
42455                       #endif
42456
42457 int
42458 main ()
42459 {
42460  _finitef(0);
42461   ;
42462   return 0;
42463 }
42464 _ACEOF
42465 if ac_fn_cxx_try_compile "$LINENO"; then :
42466   glibcxx_cv_func__finitef_use=yes
42467 else
42468   glibcxx_cv_func__finitef_use=no
42469 fi
42470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42471       ac_ext=c
42472 ac_cpp='$CPP $CPPFLAGS'
42473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42476
42477
42478 fi
42479
42480   fi
42481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42482 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42483
42484     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42485       for ac_func in _finitef
42486 do :
42487   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42488 if test "x$ac_cv_func__finitef" = x""yes; then :
42489   cat >>confdefs.h <<_ACEOF
42490 #define HAVE__FINITEF 1
42491 _ACEOF
42492
42493 fi
42494 done
42495
42496     fi
42497   fi
42498
42499
42500
42501
42502
42503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42504 $as_echo_n "checking for long double trig functions... " >&6; }
42505   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42506   $as_echo_n "(cached) " >&6
42507 else
42508
42509
42510     ac_ext=cpp
42511 ac_cpp='$CXXCPP $CPPFLAGS'
42512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42515
42516     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42517 /* end confdefs.h.  */
42518 #include <math.h>
42519 int
42520 main ()
42521 {
42522 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42523   ;
42524   return 0;
42525 }
42526 _ACEOF
42527 if ac_fn_cxx_try_compile "$LINENO"; then :
42528   glibcxx_cv_func_long_double_trig_use=yes
42529 else
42530   glibcxx_cv_func_long_double_trig_use=no
42531 fi
42532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42533     ac_ext=c
42534 ac_cpp='$CPP $CPPFLAGS'
42535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42538
42539 fi
42540
42541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42542 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42543   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42544     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42545 do :
42546   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42548 eval as_val=\$$as_ac_var
42549    if test "x$as_val" = x""yes; then :
42550   cat >>confdefs.h <<_ACEOF
42551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42552 _ACEOF
42553
42554 fi
42555 done
42556
42557   else
42558     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42559 $as_echo_n "checking for _long double trig functions... " >&6; }
42560     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42561   $as_echo_n "(cached) " >&6
42562 else
42563
42564
42565       ac_ext=cpp
42566 ac_cpp='$CXXCPP $CPPFLAGS'
42567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42570
42571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42572 /* end confdefs.h.  */
42573 #include <math.h>
42574 int
42575 main ()
42576 {
42577 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42578   ;
42579   return 0;
42580 }
42581 _ACEOF
42582 if ac_fn_cxx_try_compile "$LINENO"; then :
42583   glibcxx_cv_func__long_double_trig_use=yes
42584 else
42585   glibcxx_cv_func__long_double_trig_use=no
42586 fi
42587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42588       ac_ext=c
42589 ac_cpp='$CPP $CPPFLAGS'
42590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42593
42594 fi
42595
42596     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42597 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42598     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42599       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42600 do :
42601   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42603 eval as_val=\$$as_ac_var
42604    if test "x$as_val" = x""yes; then :
42605   cat >>confdefs.h <<_ACEOF
42606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42607 _ACEOF
42608
42609 fi
42610 done
42611
42612     fi
42613   fi
42614
42615
42616
42617
42618
42619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42620 $as_echo_n "checking for long double round functions... " >&6; }
42621   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42622   $as_echo_n "(cached) " >&6
42623 else
42624
42625
42626     ac_ext=cpp
42627 ac_cpp='$CXXCPP $CPPFLAGS'
42628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42631
42632     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42633 /* end confdefs.h.  */
42634 #include <math.h>
42635 int
42636 main ()
42637 {
42638 ceill (0); floorl (0);
42639   ;
42640   return 0;
42641 }
42642 _ACEOF
42643 if ac_fn_cxx_try_compile "$LINENO"; then :
42644   glibcxx_cv_func_long_double_round_use=yes
42645 else
42646   glibcxx_cv_func_long_double_round_use=no
42647 fi
42648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42649     ac_ext=c
42650 ac_cpp='$CPP $CPPFLAGS'
42651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42654
42655 fi
42656
42657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42658 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42659   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42660     for ac_func in ceill floorl
42661 do :
42662   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42664 eval as_val=\$$as_ac_var
42665    if test "x$as_val" = x""yes; then :
42666   cat >>confdefs.h <<_ACEOF
42667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42668 _ACEOF
42669
42670 fi
42671 done
42672
42673   else
42674     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42675 $as_echo_n "checking for _long double round functions... " >&6; }
42676     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42677   $as_echo_n "(cached) " >&6
42678 else
42679
42680
42681       ac_ext=cpp
42682 ac_cpp='$CXXCPP $CPPFLAGS'
42683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42686
42687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42688 /* end confdefs.h.  */
42689 #include <math.h>
42690 int
42691 main ()
42692 {
42693 _ceill (0); _floorl (0);
42694   ;
42695   return 0;
42696 }
42697 _ACEOF
42698 if ac_fn_cxx_try_compile "$LINENO"; then :
42699   glibcxx_cv_func__long_double_round_use=yes
42700 else
42701   glibcxx_cv_func__long_double_round_use=no
42702 fi
42703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42704       ac_ext=c
42705 ac_cpp='$CPP $CPPFLAGS'
42706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42709
42710 fi
42711
42712     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42713 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42714     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42715       for ac_func in _ceill _floorl
42716 do :
42717   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42719 eval as_val=\$$as_ac_var
42720    if test "x$as_val" = x""yes; then :
42721   cat >>confdefs.h <<_ACEOF
42722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42723 _ACEOF
42724
42725 fi
42726 done
42727
42728     fi
42729   fi
42730
42731
42732
42733
42734
42735
42736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42737 $as_echo_n "checking for isnanl declaration... " >&6; }
42738   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42739     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42740   $as_echo_n "(cached) " >&6
42741 else
42742
42743
42744       ac_ext=cpp
42745 ac_cpp='$CXXCPP $CPPFLAGS'
42746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42749
42750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42751 /* end confdefs.h.  */
42752 #include <math.h>
42753                       #ifdef HAVE_IEEEFP_H
42754                       #include <ieeefp.h>
42755                       #endif
42756
42757 int
42758 main ()
42759 {
42760  isnanl(0);
42761   ;
42762   return 0;
42763 }
42764 _ACEOF
42765 if ac_fn_cxx_try_compile "$LINENO"; then :
42766   glibcxx_cv_func_isnanl_use=yes
42767 else
42768   glibcxx_cv_func_isnanl_use=no
42769 fi
42770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42771       ac_ext=c
42772 ac_cpp='$CPP $CPPFLAGS'
42773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42776
42777
42778 fi
42779
42780   fi
42781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42782 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42783
42784   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42785     for ac_func in isnanl
42786 do :
42787   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42788 if test "x$ac_cv_func_isnanl" = x""yes; then :
42789   cat >>confdefs.h <<_ACEOF
42790 #define HAVE_ISNANL 1
42791 _ACEOF
42792
42793 fi
42794 done
42795
42796   else
42797
42798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42799 $as_echo_n "checking for _isnanl declaration... " >&6; }
42800   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42801     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42802   $as_echo_n "(cached) " >&6
42803 else
42804
42805
42806       ac_ext=cpp
42807 ac_cpp='$CXXCPP $CPPFLAGS'
42808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42811
42812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42813 /* end confdefs.h.  */
42814 #include <math.h>
42815                       #ifdef HAVE_IEEEFP_H
42816                       #include <ieeefp.h>
42817                       #endif
42818
42819 int
42820 main ()
42821 {
42822  _isnanl(0);
42823   ;
42824   return 0;
42825 }
42826 _ACEOF
42827 if ac_fn_cxx_try_compile "$LINENO"; then :
42828   glibcxx_cv_func__isnanl_use=yes
42829 else
42830   glibcxx_cv_func__isnanl_use=no
42831 fi
42832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42833       ac_ext=c
42834 ac_cpp='$CPP $CPPFLAGS'
42835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42838
42839
42840 fi
42841
42842   fi
42843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42844 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42845
42846     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42847       for ac_func in _isnanl
42848 do :
42849   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42850 if test "x$ac_cv_func__isnanl" = x""yes; then :
42851   cat >>confdefs.h <<_ACEOF
42852 #define HAVE__ISNANL 1
42853 _ACEOF
42854
42855 fi
42856 done
42857
42858     fi
42859   fi
42860
42861
42862
42863
42864
42865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42866 $as_echo_n "checking for isinfl declaration... " >&6; }
42867   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42868     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42869   $as_echo_n "(cached) " >&6
42870 else
42871
42872
42873       ac_ext=cpp
42874 ac_cpp='$CXXCPP $CPPFLAGS'
42875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42878
42879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42880 /* end confdefs.h.  */
42881 #include <math.h>
42882                       #ifdef HAVE_IEEEFP_H
42883                       #include <ieeefp.h>
42884                       #endif
42885
42886 int
42887 main ()
42888 {
42889  isinfl(0);
42890   ;
42891   return 0;
42892 }
42893 _ACEOF
42894 if ac_fn_cxx_try_compile "$LINENO"; then :
42895   glibcxx_cv_func_isinfl_use=yes
42896 else
42897   glibcxx_cv_func_isinfl_use=no
42898 fi
42899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42900       ac_ext=c
42901 ac_cpp='$CPP $CPPFLAGS'
42902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42905
42906
42907 fi
42908
42909   fi
42910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42911 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42912
42913   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42914     for ac_func in isinfl
42915 do :
42916   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42917 if test "x$ac_cv_func_isinfl" = x""yes; then :
42918   cat >>confdefs.h <<_ACEOF
42919 #define HAVE_ISINFL 1
42920 _ACEOF
42921
42922 fi
42923 done
42924
42925   else
42926
42927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42928 $as_echo_n "checking for _isinfl declaration... " >&6; }
42929   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42930     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42931   $as_echo_n "(cached) " >&6
42932 else
42933
42934
42935       ac_ext=cpp
42936 ac_cpp='$CXXCPP $CPPFLAGS'
42937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42940
42941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42942 /* end confdefs.h.  */
42943 #include <math.h>
42944                       #ifdef HAVE_IEEEFP_H
42945                       #include <ieeefp.h>
42946                       #endif
42947
42948 int
42949 main ()
42950 {
42951  _isinfl(0);
42952   ;
42953   return 0;
42954 }
42955 _ACEOF
42956 if ac_fn_cxx_try_compile "$LINENO"; then :
42957   glibcxx_cv_func__isinfl_use=yes
42958 else
42959   glibcxx_cv_func__isinfl_use=no
42960 fi
42961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42962       ac_ext=c
42963 ac_cpp='$CPP $CPPFLAGS'
42964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42967
42968
42969 fi
42970
42971   fi
42972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42973 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42974
42975     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42976       for ac_func in _isinfl
42977 do :
42978   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42979 if test "x$ac_cv_func__isinfl" = x""yes; then :
42980   cat >>confdefs.h <<_ACEOF
42981 #define HAVE__ISINFL 1
42982 _ACEOF
42983
42984 fi
42985 done
42986
42987     fi
42988   fi
42989
42990
42991
42992
42993
42994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42995 $as_echo_n "checking for atan2l declaration... " >&6; }
42996   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42997     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42998   $as_echo_n "(cached) " >&6
42999 else
43000
43001
43002       ac_ext=cpp
43003 ac_cpp='$CXXCPP $CPPFLAGS'
43004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43007
43008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43009 /* end confdefs.h.  */
43010 #include <math.h>
43011 int
43012 main ()
43013 {
43014  atan2l(0, 0);
43015   ;
43016   return 0;
43017 }
43018 _ACEOF
43019 if ac_fn_cxx_try_compile "$LINENO"; then :
43020   glibcxx_cv_func_atan2l_use=yes
43021 else
43022   glibcxx_cv_func_atan2l_use=no
43023 fi
43024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43025       ac_ext=c
43026 ac_cpp='$CPP $CPPFLAGS'
43027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43030
43031
43032 fi
43033
43034   fi
43035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43036 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43037
43038   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43039     for ac_func in atan2l
43040 do :
43041   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43042 if test "x$ac_cv_func_atan2l" = x""yes; then :
43043   cat >>confdefs.h <<_ACEOF
43044 #define HAVE_ATAN2L 1
43045 _ACEOF
43046
43047 fi
43048 done
43049
43050   else
43051
43052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43053 $as_echo_n "checking for _atan2l declaration... " >&6; }
43054   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43055     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43056   $as_echo_n "(cached) " >&6
43057 else
43058
43059
43060       ac_ext=cpp
43061 ac_cpp='$CXXCPP $CPPFLAGS'
43062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43065
43066       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43067 /* end confdefs.h.  */
43068 #include <math.h>
43069 int
43070 main ()
43071 {
43072  _atan2l(0, 0);
43073   ;
43074   return 0;
43075 }
43076 _ACEOF
43077 if ac_fn_cxx_try_compile "$LINENO"; then :
43078   glibcxx_cv_func__atan2l_use=yes
43079 else
43080   glibcxx_cv_func__atan2l_use=no
43081 fi
43082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43083       ac_ext=c
43084 ac_cpp='$CPP $CPPFLAGS'
43085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43088
43089
43090 fi
43091
43092   fi
43093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43094 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43095
43096     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43097       for ac_func in _atan2l
43098 do :
43099   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43100 if test "x$ac_cv_func__atan2l" = x""yes; then :
43101   cat >>confdefs.h <<_ACEOF
43102 #define HAVE__ATAN2L 1
43103 _ACEOF
43104
43105 fi
43106 done
43107
43108     fi
43109   fi
43110
43111
43112
43113
43114
43115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43116 $as_echo_n "checking for expl declaration... " >&6; }
43117   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43118     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43119   $as_echo_n "(cached) " >&6
43120 else
43121
43122
43123       ac_ext=cpp
43124 ac_cpp='$CXXCPP $CPPFLAGS'
43125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43128
43129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43130 /* end confdefs.h.  */
43131 #include <math.h>
43132                       #ifdef HAVE_IEEEFP_H
43133                       #include <ieeefp.h>
43134                       #endif
43135
43136 int
43137 main ()
43138 {
43139  expl(0);
43140   ;
43141   return 0;
43142 }
43143 _ACEOF
43144 if ac_fn_cxx_try_compile "$LINENO"; then :
43145   glibcxx_cv_func_expl_use=yes
43146 else
43147   glibcxx_cv_func_expl_use=no
43148 fi
43149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43150       ac_ext=c
43151 ac_cpp='$CPP $CPPFLAGS'
43152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43155
43156
43157 fi
43158
43159   fi
43160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43161 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43162
43163   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43164     for ac_func in expl
43165 do :
43166   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43167 if test "x$ac_cv_func_expl" = x""yes; then :
43168   cat >>confdefs.h <<_ACEOF
43169 #define HAVE_EXPL 1
43170 _ACEOF
43171
43172 fi
43173 done
43174
43175   else
43176
43177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43178 $as_echo_n "checking for _expl declaration... " >&6; }
43179   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43180     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43181   $as_echo_n "(cached) " >&6
43182 else
43183
43184
43185       ac_ext=cpp
43186 ac_cpp='$CXXCPP $CPPFLAGS'
43187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43190
43191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43192 /* end confdefs.h.  */
43193 #include <math.h>
43194                       #ifdef HAVE_IEEEFP_H
43195                       #include <ieeefp.h>
43196                       #endif
43197
43198 int
43199 main ()
43200 {
43201  _expl(0);
43202   ;
43203   return 0;
43204 }
43205 _ACEOF
43206 if ac_fn_cxx_try_compile "$LINENO"; then :
43207   glibcxx_cv_func__expl_use=yes
43208 else
43209   glibcxx_cv_func__expl_use=no
43210 fi
43211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43212       ac_ext=c
43213 ac_cpp='$CPP $CPPFLAGS'
43214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43217
43218
43219 fi
43220
43221   fi
43222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43223 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43224
43225     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43226       for ac_func in _expl
43227 do :
43228   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43229 if test "x$ac_cv_func__expl" = x""yes; then :
43230   cat >>confdefs.h <<_ACEOF
43231 #define HAVE__EXPL 1
43232 _ACEOF
43233
43234 fi
43235 done
43236
43237     fi
43238   fi
43239
43240
43241
43242
43243
43244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43245 $as_echo_n "checking for fabsl declaration... " >&6; }
43246   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43247     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43248   $as_echo_n "(cached) " >&6
43249 else
43250
43251
43252       ac_ext=cpp
43253 ac_cpp='$CXXCPP $CPPFLAGS'
43254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43257
43258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43259 /* end confdefs.h.  */
43260 #include <math.h>
43261                       #ifdef HAVE_IEEEFP_H
43262                       #include <ieeefp.h>
43263                       #endif
43264
43265 int
43266 main ()
43267 {
43268  fabsl(0);
43269   ;
43270   return 0;
43271 }
43272 _ACEOF
43273 if ac_fn_cxx_try_compile "$LINENO"; then :
43274   glibcxx_cv_func_fabsl_use=yes
43275 else
43276   glibcxx_cv_func_fabsl_use=no
43277 fi
43278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43279       ac_ext=c
43280 ac_cpp='$CPP $CPPFLAGS'
43281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43284
43285
43286 fi
43287
43288   fi
43289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43290 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43291
43292   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43293     for ac_func in fabsl
43294 do :
43295   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43296 if test "x$ac_cv_func_fabsl" = x""yes; then :
43297   cat >>confdefs.h <<_ACEOF
43298 #define HAVE_FABSL 1
43299 _ACEOF
43300
43301 fi
43302 done
43303
43304   else
43305
43306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43307 $as_echo_n "checking for _fabsl declaration... " >&6; }
43308   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43309     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43310   $as_echo_n "(cached) " >&6
43311 else
43312
43313
43314       ac_ext=cpp
43315 ac_cpp='$CXXCPP $CPPFLAGS'
43316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43319
43320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43321 /* end confdefs.h.  */
43322 #include <math.h>
43323                       #ifdef HAVE_IEEEFP_H
43324                       #include <ieeefp.h>
43325                       #endif
43326
43327 int
43328 main ()
43329 {
43330  _fabsl(0);
43331   ;
43332   return 0;
43333 }
43334 _ACEOF
43335 if ac_fn_cxx_try_compile "$LINENO"; then :
43336   glibcxx_cv_func__fabsl_use=yes
43337 else
43338   glibcxx_cv_func__fabsl_use=no
43339 fi
43340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43341       ac_ext=c
43342 ac_cpp='$CPP $CPPFLAGS'
43343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43346
43347
43348 fi
43349
43350   fi
43351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43352 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43353
43354     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43355       for ac_func in _fabsl
43356 do :
43357   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43358 if test "x$ac_cv_func__fabsl" = x""yes; then :
43359   cat >>confdefs.h <<_ACEOF
43360 #define HAVE__FABSL 1
43361 _ACEOF
43362
43363 fi
43364 done
43365
43366     fi
43367   fi
43368
43369
43370
43371
43372
43373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43374 $as_echo_n "checking for fmodl declaration... " >&6; }
43375   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43376     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43377   $as_echo_n "(cached) " >&6
43378 else
43379
43380
43381       ac_ext=cpp
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43386
43387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43388 /* end confdefs.h.  */
43389 #include <math.h>
43390 int
43391 main ()
43392 {
43393  fmodl(0, 0);
43394   ;
43395   return 0;
43396 }
43397 _ACEOF
43398 if ac_fn_cxx_try_compile "$LINENO"; then :
43399   glibcxx_cv_func_fmodl_use=yes
43400 else
43401   glibcxx_cv_func_fmodl_use=no
43402 fi
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43404       ac_ext=c
43405 ac_cpp='$CPP $CPPFLAGS'
43406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43409
43410
43411 fi
43412
43413   fi
43414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43415 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43416
43417   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43418     for ac_func in fmodl
43419 do :
43420   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43421 if test "x$ac_cv_func_fmodl" = x""yes; then :
43422   cat >>confdefs.h <<_ACEOF
43423 #define HAVE_FMODL 1
43424 _ACEOF
43425
43426 fi
43427 done
43428
43429   else
43430
43431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43432 $as_echo_n "checking for _fmodl declaration... " >&6; }
43433   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43434     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43435   $as_echo_n "(cached) " >&6
43436 else
43437
43438
43439       ac_ext=cpp
43440 ac_cpp='$CXXCPP $CPPFLAGS'
43441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43444
43445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43446 /* end confdefs.h.  */
43447 #include <math.h>
43448 int
43449 main ()
43450 {
43451  _fmodl(0, 0);
43452   ;
43453   return 0;
43454 }
43455 _ACEOF
43456 if ac_fn_cxx_try_compile "$LINENO"; then :
43457   glibcxx_cv_func__fmodl_use=yes
43458 else
43459   glibcxx_cv_func__fmodl_use=no
43460 fi
43461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43462       ac_ext=c
43463 ac_cpp='$CPP $CPPFLAGS'
43464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43467
43468
43469 fi
43470
43471   fi
43472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43473 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43474
43475     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43476       for ac_func in _fmodl
43477 do :
43478   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43479 if test "x$ac_cv_func__fmodl" = x""yes; then :
43480   cat >>confdefs.h <<_ACEOF
43481 #define HAVE__FMODL 1
43482 _ACEOF
43483
43484 fi
43485 done
43486
43487     fi
43488   fi
43489
43490
43491
43492
43493
43494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43495 $as_echo_n "checking for frexpl declaration... " >&6; }
43496   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43497     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43498   $as_echo_n "(cached) " >&6
43499 else
43500
43501
43502       ac_ext=cpp
43503 ac_cpp='$CXXCPP $CPPFLAGS'
43504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43507
43508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43509 /* end confdefs.h.  */
43510 #include <math.h>
43511 int
43512 main ()
43513 {
43514  frexpl(0, 0);
43515   ;
43516   return 0;
43517 }
43518 _ACEOF
43519 if ac_fn_cxx_try_compile "$LINENO"; then :
43520   glibcxx_cv_func_frexpl_use=yes
43521 else
43522   glibcxx_cv_func_frexpl_use=no
43523 fi
43524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43525       ac_ext=c
43526 ac_cpp='$CPP $CPPFLAGS'
43527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43530
43531
43532 fi
43533
43534   fi
43535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43536 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43537
43538   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43539     for ac_func in frexpl
43540 do :
43541   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43542 if test "x$ac_cv_func_frexpl" = x""yes; then :
43543   cat >>confdefs.h <<_ACEOF
43544 #define HAVE_FREXPL 1
43545 _ACEOF
43546
43547 fi
43548 done
43549
43550   else
43551
43552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43553 $as_echo_n "checking for _frexpl declaration... " >&6; }
43554   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43555     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43556   $as_echo_n "(cached) " >&6
43557 else
43558
43559
43560       ac_ext=cpp
43561 ac_cpp='$CXXCPP $CPPFLAGS'
43562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43565
43566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43567 /* end confdefs.h.  */
43568 #include <math.h>
43569 int
43570 main ()
43571 {
43572  _frexpl(0, 0);
43573   ;
43574   return 0;
43575 }
43576 _ACEOF
43577 if ac_fn_cxx_try_compile "$LINENO"; then :
43578   glibcxx_cv_func__frexpl_use=yes
43579 else
43580   glibcxx_cv_func__frexpl_use=no
43581 fi
43582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43583       ac_ext=c
43584 ac_cpp='$CPP $CPPFLAGS'
43585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43588
43589
43590 fi
43591
43592   fi
43593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43594 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43595
43596     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43597       for ac_func in _frexpl
43598 do :
43599   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43600 if test "x$ac_cv_func__frexpl" = x""yes; then :
43601   cat >>confdefs.h <<_ACEOF
43602 #define HAVE__FREXPL 1
43603 _ACEOF
43604
43605 fi
43606 done
43607
43608     fi
43609   fi
43610
43611
43612
43613
43614
43615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43616 $as_echo_n "checking for hypotl declaration... " >&6; }
43617   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43618     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43619   $as_echo_n "(cached) " >&6
43620 else
43621
43622
43623       ac_ext=cpp
43624 ac_cpp='$CXXCPP $CPPFLAGS'
43625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43628
43629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43630 /* end confdefs.h.  */
43631 #include <math.h>
43632 int
43633 main ()
43634 {
43635  hypotl(0, 0);
43636   ;
43637   return 0;
43638 }
43639 _ACEOF
43640 if ac_fn_cxx_try_compile "$LINENO"; then :
43641   glibcxx_cv_func_hypotl_use=yes
43642 else
43643   glibcxx_cv_func_hypotl_use=no
43644 fi
43645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43646       ac_ext=c
43647 ac_cpp='$CPP $CPPFLAGS'
43648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43651
43652
43653 fi
43654
43655   fi
43656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43657 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43658
43659   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43660     for ac_func in hypotl
43661 do :
43662   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43663 if test "x$ac_cv_func_hypotl" = x""yes; then :
43664   cat >>confdefs.h <<_ACEOF
43665 #define HAVE_HYPOTL 1
43666 _ACEOF
43667
43668 fi
43669 done
43670
43671   else
43672
43673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43674 $as_echo_n "checking for _hypotl declaration... " >&6; }
43675   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43676     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43677   $as_echo_n "(cached) " >&6
43678 else
43679
43680
43681       ac_ext=cpp
43682 ac_cpp='$CXXCPP $CPPFLAGS'
43683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43686
43687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43688 /* end confdefs.h.  */
43689 #include <math.h>
43690 int
43691 main ()
43692 {
43693  _hypotl(0, 0);
43694   ;
43695   return 0;
43696 }
43697 _ACEOF
43698 if ac_fn_cxx_try_compile "$LINENO"; then :
43699   glibcxx_cv_func__hypotl_use=yes
43700 else
43701   glibcxx_cv_func__hypotl_use=no
43702 fi
43703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43704       ac_ext=c
43705 ac_cpp='$CPP $CPPFLAGS'
43706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43709
43710
43711 fi
43712
43713   fi
43714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43715 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43716
43717     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43718       for ac_func in _hypotl
43719 do :
43720   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43721 if test "x$ac_cv_func__hypotl" = x""yes; then :
43722   cat >>confdefs.h <<_ACEOF
43723 #define HAVE__HYPOTL 1
43724 _ACEOF
43725
43726 fi
43727 done
43728
43729     fi
43730   fi
43731
43732
43733
43734
43735
43736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43737 $as_echo_n "checking for ldexpl declaration... " >&6; }
43738   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43739     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43740   $as_echo_n "(cached) " >&6
43741 else
43742
43743
43744       ac_ext=cpp
43745 ac_cpp='$CXXCPP $CPPFLAGS'
43746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43749
43750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43751 /* end confdefs.h.  */
43752 #include <math.h>
43753 int
43754 main ()
43755 {
43756  ldexpl(0, 0);
43757   ;
43758   return 0;
43759 }
43760 _ACEOF
43761 if ac_fn_cxx_try_compile "$LINENO"; then :
43762   glibcxx_cv_func_ldexpl_use=yes
43763 else
43764   glibcxx_cv_func_ldexpl_use=no
43765 fi
43766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43767       ac_ext=c
43768 ac_cpp='$CPP $CPPFLAGS'
43769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43772
43773
43774 fi
43775
43776   fi
43777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43778 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43779
43780   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43781     for ac_func in ldexpl
43782 do :
43783   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43784 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43785   cat >>confdefs.h <<_ACEOF
43786 #define HAVE_LDEXPL 1
43787 _ACEOF
43788
43789 fi
43790 done
43791
43792   else
43793
43794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43795 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43796   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43797     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43798   $as_echo_n "(cached) " >&6
43799 else
43800
43801
43802       ac_ext=cpp
43803 ac_cpp='$CXXCPP $CPPFLAGS'
43804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43807
43808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43809 /* end confdefs.h.  */
43810 #include <math.h>
43811 int
43812 main ()
43813 {
43814  _ldexpl(0, 0);
43815   ;
43816   return 0;
43817 }
43818 _ACEOF
43819 if ac_fn_cxx_try_compile "$LINENO"; then :
43820   glibcxx_cv_func__ldexpl_use=yes
43821 else
43822   glibcxx_cv_func__ldexpl_use=no
43823 fi
43824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43825       ac_ext=c
43826 ac_cpp='$CPP $CPPFLAGS'
43827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43830
43831
43832 fi
43833
43834   fi
43835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43836 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43837
43838     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43839       for ac_func in _ldexpl
43840 do :
43841   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43842 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43843   cat >>confdefs.h <<_ACEOF
43844 #define HAVE__LDEXPL 1
43845 _ACEOF
43846
43847 fi
43848 done
43849
43850     fi
43851   fi
43852
43853
43854
43855
43856
43857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43858 $as_echo_n "checking for logl declaration... " >&6; }
43859   if test x${glibcxx_cv_func_logl_use+set} != xset; then
43860     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43861   $as_echo_n "(cached) " >&6
43862 else
43863
43864
43865       ac_ext=cpp
43866 ac_cpp='$CXXCPP $CPPFLAGS'
43867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43870
43871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43872 /* end confdefs.h.  */
43873 #include <math.h>
43874                       #ifdef HAVE_IEEEFP_H
43875                       #include <ieeefp.h>
43876                       #endif
43877
43878 int
43879 main ()
43880 {
43881  logl(0);
43882   ;
43883   return 0;
43884 }
43885 _ACEOF
43886 if ac_fn_cxx_try_compile "$LINENO"; then :
43887   glibcxx_cv_func_logl_use=yes
43888 else
43889   glibcxx_cv_func_logl_use=no
43890 fi
43891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43892       ac_ext=c
43893 ac_cpp='$CPP $CPPFLAGS'
43894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43897
43898
43899 fi
43900
43901   fi
43902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43903 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43904
43905   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43906     for ac_func in logl
43907 do :
43908   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43909 if test "x$ac_cv_func_logl" = x""yes; then :
43910   cat >>confdefs.h <<_ACEOF
43911 #define HAVE_LOGL 1
43912 _ACEOF
43913
43914 fi
43915 done
43916
43917   else
43918
43919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43920 $as_echo_n "checking for _logl declaration... " >&6; }
43921   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43922     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43923   $as_echo_n "(cached) " >&6
43924 else
43925
43926
43927       ac_ext=cpp
43928 ac_cpp='$CXXCPP $CPPFLAGS'
43929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43932
43933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43934 /* end confdefs.h.  */
43935 #include <math.h>
43936                       #ifdef HAVE_IEEEFP_H
43937                       #include <ieeefp.h>
43938                       #endif
43939
43940 int
43941 main ()
43942 {
43943  _logl(0);
43944   ;
43945   return 0;
43946 }
43947 _ACEOF
43948 if ac_fn_cxx_try_compile "$LINENO"; then :
43949   glibcxx_cv_func__logl_use=yes
43950 else
43951   glibcxx_cv_func__logl_use=no
43952 fi
43953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43954       ac_ext=c
43955 ac_cpp='$CPP $CPPFLAGS'
43956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43959
43960
43961 fi
43962
43963   fi
43964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43965 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43966
43967     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43968       for ac_func in _logl
43969 do :
43970   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43971 if test "x$ac_cv_func__logl" = x""yes; then :
43972   cat >>confdefs.h <<_ACEOF
43973 #define HAVE__LOGL 1
43974 _ACEOF
43975
43976 fi
43977 done
43978
43979     fi
43980   fi
43981
43982
43983
43984
43985
43986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43987 $as_echo_n "checking for log10l declaration... " >&6; }
43988   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43989     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43990   $as_echo_n "(cached) " >&6
43991 else
43992
43993
43994       ac_ext=cpp
43995 ac_cpp='$CXXCPP $CPPFLAGS'
43996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43999
44000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44001 /* end confdefs.h.  */
44002 #include <math.h>
44003                       #ifdef HAVE_IEEEFP_H
44004                       #include <ieeefp.h>
44005                       #endif
44006
44007 int
44008 main ()
44009 {
44010  log10l(0);
44011   ;
44012   return 0;
44013 }
44014 _ACEOF
44015 if ac_fn_cxx_try_compile "$LINENO"; then :
44016   glibcxx_cv_func_log10l_use=yes
44017 else
44018   glibcxx_cv_func_log10l_use=no
44019 fi
44020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44021       ac_ext=c
44022 ac_cpp='$CPP $CPPFLAGS'
44023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44026
44027
44028 fi
44029
44030   fi
44031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44032 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44033
44034   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44035     for ac_func in log10l
44036 do :
44037   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44038 if test "x$ac_cv_func_log10l" = x""yes; then :
44039   cat >>confdefs.h <<_ACEOF
44040 #define HAVE_LOG10L 1
44041 _ACEOF
44042
44043 fi
44044 done
44045
44046   else
44047
44048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44049 $as_echo_n "checking for _log10l declaration... " >&6; }
44050   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44051     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44052   $as_echo_n "(cached) " >&6
44053 else
44054
44055
44056       ac_ext=cpp
44057 ac_cpp='$CXXCPP $CPPFLAGS'
44058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44061
44062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44063 /* end confdefs.h.  */
44064 #include <math.h>
44065                       #ifdef HAVE_IEEEFP_H
44066                       #include <ieeefp.h>
44067                       #endif
44068
44069 int
44070 main ()
44071 {
44072  _log10l(0);
44073   ;
44074   return 0;
44075 }
44076 _ACEOF
44077 if ac_fn_cxx_try_compile "$LINENO"; then :
44078   glibcxx_cv_func__log10l_use=yes
44079 else
44080   glibcxx_cv_func__log10l_use=no
44081 fi
44082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44083       ac_ext=c
44084 ac_cpp='$CPP $CPPFLAGS'
44085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44088
44089
44090 fi
44091
44092   fi
44093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44094 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44095
44096     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44097       for ac_func in _log10l
44098 do :
44099   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44100 if test "x$ac_cv_func__log10l" = x""yes; then :
44101   cat >>confdefs.h <<_ACEOF
44102 #define HAVE__LOG10L 1
44103 _ACEOF
44104
44105 fi
44106 done
44107
44108     fi
44109   fi
44110
44111
44112
44113
44114
44115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44116 $as_echo_n "checking for modfl declaration... " >&6; }
44117   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44118     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44119   $as_echo_n "(cached) " >&6
44120 else
44121
44122
44123       ac_ext=cpp
44124 ac_cpp='$CXXCPP $CPPFLAGS'
44125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44128
44129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44130 /* end confdefs.h.  */
44131 #include <math.h>
44132 int
44133 main ()
44134 {
44135  modfl(0, 0);
44136   ;
44137   return 0;
44138 }
44139 _ACEOF
44140 if ac_fn_cxx_try_compile "$LINENO"; then :
44141   glibcxx_cv_func_modfl_use=yes
44142 else
44143   glibcxx_cv_func_modfl_use=no
44144 fi
44145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44146       ac_ext=c
44147 ac_cpp='$CPP $CPPFLAGS'
44148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44151
44152
44153 fi
44154
44155   fi
44156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44157 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44158
44159   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44160     for ac_func in modfl
44161 do :
44162   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44163 if test "x$ac_cv_func_modfl" = x""yes; then :
44164   cat >>confdefs.h <<_ACEOF
44165 #define HAVE_MODFL 1
44166 _ACEOF
44167
44168 fi
44169 done
44170
44171   else
44172
44173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44174 $as_echo_n "checking for _modfl declaration... " >&6; }
44175   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44176     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44177   $as_echo_n "(cached) " >&6
44178 else
44179
44180
44181       ac_ext=cpp
44182 ac_cpp='$CXXCPP $CPPFLAGS'
44183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44186
44187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44188 /* end confdefs.h.  */
44189 #include <math.h>
44190 int
44191 main ()
44192 {
44193  _modfl(0, 0);
44194   ;
44195   return 0;
44196 }
44197 _ACEOF
44198 if ac_fn_cxx_try_compile "$LINENO"; then :
44199   glibcxx_cv_func__modfl_use=yes
44200 else
44201   glibcxx_cv_func__modfl_use=no
44202 fi
44203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44204       ac_ext=c
44205 ac_cpp='$CPP $CPPFLAGS'
44206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44209
44210
44211 fi
44212
44213   fi
44214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44215 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44216
44217     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44218       for ac_func in _modfl
44219 do :
44220   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44221 if test "x$ac_cv_func__modfl" = x""yes; then :
44222   cat >>confdefs.h <<_ACEOF
44223 #define HAVE__MODFL 1
44224 _ACEOF
44225
44226 fi
44227 done
44228
44229     fi
44230   fi
44231
44232
44233
44234
44235
44236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44237 $as_echo_n "checking for powl declaration... " >&6; }
44238   if test x${glibcxx_cv_func_powl_use+set} != xset; then
44239     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44240   $as_echo_n "(cached) " >&6
44241 else
44242
44243
44244       ac_ext=cpp
44245 ac_cpp='$CXXCPP $CPPFLAGS'
44246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44249
44250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44251 /* end confdefs.h.  */
44252 #include <math.h>
44253 int
44254 main ()
44255 {
44256  powl(0, 0);
44257   ;
44258   return 0;
44259 }
44260 _ACEOF
44261 if ac_fn_cxx_try_compile "$LINENO"; then :
44262   glibcxx_cv_func_powl_use=yes
44263 else
44264   glibcxx_cv_func_powl_use=no
44265 fi
44266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44267       ac_ext=c
44268 ac_cpp='$CPP $CPPFLAGS'
44269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44272
44273
44274 fi
44275
44276   fi
44277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44278 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44279
44280   if test x$glibcxx_cv_func_powl_use = x"yes"; then
44281     for ac_func in powl
44282 do :
44283   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44284 if test "x$ac_cv_func_powl" = x""yes; then :
44285   cat >>confdefs.h <<_ACEOF
44286 #define HAVE_POWL 1
44287 _ACEOF
44288
44289 fi
44290 done
44291
44292   else
44293
44294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44295 $as_echo_n "checking for _powl declaration... " >&6; }
44296   if test x${glibcxx_cv_func__powl_use+set} != xset; then
44297     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44298   $as_echo_n "(cached) " >&6
44299 else
44300
44301
44302       ac_ext=cpp
44303 ac_cpp='$CXXCPP $CPPFLAGS'
44304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44307
44308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44309 /* end confdefs.h.  */
44310 #include <math.h>
44311 int
44312 main ()
44313 {
44314  _powl(0, 0);
44315   ;
44316   return 0;
44317 }
44318 _ACEOF
44319 if ac_fn_cxx_try_compile "$LINENO"; then :
44320   glibcxx_cv_func__powl_use=yes
44321 else
44322   glibcxx_cv_func__powl_use=no
44323 fi
44324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44325       ac_ext=c
44326 ac_cpp='$CPP $CPPFLAGS'
44327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44330
44331
44332 fi
44333
44334   fi
44335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44336 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44337
44338     if test x$glibcxx_cv_func__powl_use = x"yes"; then
44339       for ac_func in _powl
44340 do :
44341   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44342 if test "x$ac_cv_func__powl" = x""yes; then :
44343   cat >>confdefs.h <<_ACEOF
44344 #define HAVE__POWL 1
44345 _ACEOF
44346
44347 fi
44348 done
44349
44350     fi
44351   fi
44352
44353
44354
44355
44356
44357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44358 $as_echo_n "checking for sqrtl declaration... " >&6; }
44359   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44360     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44361   $as_echo_n "(cached) " >&6
44362 else
44363
44364
44365       ac_ext=cpp
44366 ac_cpp='$CXXCPP $CPPFLAGS'
44367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44370
44371       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44372 /* end confdefs.h.  */
44373 #include <math.h>
44374                       #ifdef HAVE_IEEEFP_H
44375                       #include <ieeefp.h>
44376                       #endif
44377
44378 int
44379 main ()
44380 {
44381  sqrtl(0);
44382   ;
44383   return 0;
44384 }
44385 _ACEOF
44386 if ac_fn_cxx_try_compile "$LINENO"; then :
44387   glibcxx_cv_func_sqrtl_use=yes
44388 else
44389   glibcxx_cv_func_sqrtl_use=no
44390 fi
44391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44392       ac_ext=c
44393 ac_cpp='$CPP $CPPFLAGS'
44394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44397
44398
44399 fi
44400
44401   fi
44402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44403 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44404
44405   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44406     for ac_func in sqrtl
44407 do :
44408   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44409 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44410   cat >>confdefs.h <<_ACEOF
44411 #define HAVE_SQRTL 1
44412 _ACEOF
44413
44414 fi
44415 done
44416
44417   else
44418
44419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44420 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44421   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44422     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44423   $as_echo_n "(cached) " >&6
44424 else
44425
44426
44427       ac_ext=cpp
44428 ac_cpp='$CXXCPP $CPPFLAGS'
44429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44432
44433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44434 /* end confdefs.h.  */
44435 #include <math.h>
44436                       #ifdef HAVE_IEEEFP_H
44437                       #include <ieeefp.h>
44438                       #endif
44439
44440 int
44441 main ()
44442 {
44443  _sqrtl(0);
44444   ;
44445   return 0;
44446 }
44447 _ACEOF
44448 if ac_fn_cxx_try_compile "$LINENO"; then :
44449   glibcxx_cv_func__sqrtl_use=yes
44450 else
44451   glibcxx_cv_func__sqrtl_use=no
44452 fi
44453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44454       ac_ext=c
44455 ac_cpp='$CPP $CPPFLAGS'
44456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44459
44460
44461 fi
44462
44463   fi
44464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44465 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44466
44467     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44468       for ac_func in _sqrtl
44469 do :
44470   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44471 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44472   cat >>confdefs.h <<_ACEOF
44473 #define HAVE__SQRTL 1
44474 _ACEOF
44475
44476 fi
44477 done
44478
44479     fi
44480   fi
44481
44482
44483
44484
44485
44486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44487 $as_echo_n "checking for sincosl declaration... " >&6; }
44488   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44489     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44490   $as_echo_n "(cached) " >&6
44491 else
44492
44493
44494       ac_ext=cpp
44495 ac_cpp='$CXXCPP $CPPFLAGS'
44496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44499
44500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44501 /* end confdefs.h.  */
44502 #include <math.h>
44503 int
44504 main ()
44505 {
44506  sincosl(0, 0, 0);
44507   ;
44508   return 0;
44509 }
44510 _ACEOF
44511 if ac_fn_cxx_try_compile "$LINENO"; then :
44512   glibcxx_cv_func_sincosl_use=yes
44513 else
44514   glibcxx_cv_func_sincosl_use=no
44515 fi
44516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44517       ac_ext=c
44518 ac_cpp='$CPP $CPPFLAGS'
44519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44522
44523
44524 fi
44525
44526   fi
44527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44528 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44529
44530   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44531     for ac_func in sincosl
44532 do :
44533   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44534 if test "x$ac_cv_func_sincosl" = x""yes; then :
44535   cat >>confdefs.h <<_ACEOF
44536 #define HAVE_SINCOSL 1
44537 _ACEOF
44538
44539 fi
44540 done
44541
44542   else
44543
44544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44545 $as_echo_n "checking for _sincosl declaration... " >&6; }
44546   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44547     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44548   $as_echo_n "(cached) " >&6
44549 else
44550
44551
44552       ac_ext=cpp
44553 ac_cpp='$CXXCPP $CPPFLAGS'
44554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44557
44558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44559 /* end confdefs.h.  */
44560 #include <math.h>
44561 int
44562 main ()
44563 {
44564  _sincosl(0, 0, 0);
44565   ;
44566   return 0;
44567 }
44568 _ACEOF
44569 if ac_fn_cxx_try_compile "$LINENO"; then :
44570   glibcxx_cv_func__sincosl_use=yes
44571 else
44572   glibcxx_cv_func__sincosl_use=no
44573 fi
44574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44575       ac_ext=c
44576 ac_cpp='$CPP $CPPFLAGS'
44577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44580
44581
44582 fi
44583
44584   fi
44585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44586 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44587
44588     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44589       for ac_func in _sincosl
44590 do :
44591   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44592 if test "x$ac_cv_func__sincosl" = x""yes; then :
44593   cat >>confdefs.h <<_ACEOF
44594 #define HAVE__SINCOSL 1
44595 _ACEOF
44596
44597 fi
44598 done
44599
44600     fi
44601   fi
44602
44603
44604
44605
44606
44607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44608 $as_echo_n "checking for finitel declaration... " >&6; }
44609   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44610     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44611   $as_echo_n "(cached) " >&6
44612 else
44613
44614
44615       ac_ext=cpp
44616 ac_cpp='$CXXCPP $CPPFLAGS'
44617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44620
44621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44622 /* end confdefs.h.  */
44623 #include <math.h>
44624                       #ifdef HAVE_IEEEFP_H
44625                       #include <ieeefp.h>
44626                       #endif
44627
44628 int
44629 main ()
44630 {
44631  finitel(0);
44632   ;
44633   return 0;
44634 }
44635 _ACEOF
44636 if ac_fn_cxx_try_compile "$LINENO"; then :
44637   glibcxx_cv_func_finitel_use=yes
44638 else
44639   glibcxx_cv_func_finitel_use=no
44640 fi
44641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44642       ac_ext=c
44643 ac_cpp='$CPP $CPPFLAGS'
44644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44647
44648
44649 fi
44650
44651   fi
44652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44653 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44654
44655   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44656     for ac_func in finitel
44657 do :
44658   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44659 if test "x$ac_cv_func_finitel" = x""yes; then :
44660   cat >>confdefs.h <<_ACEOF
44661 #define HAVE_FINITEL 1
44662 _ACEOF
44663
44664 fi
44665 done
44666
44667   else
44668
44669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44670 $as_echo_n "checking for _finitel declaration... " >&6; }
44671   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44672     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44673   $as_echo_n "(cached) " >&6
44674 else
44675
44676
44677       ac_ext=cpp
44678 ac_cpp='$CXXCPP $CPPFLAGS'
44679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44682
44683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44684 /* end confdefs.h.  */
44685 #include <math.h>
44686                       #ifdef HAVE_IEEEFP_H
44687                       #include <ieeefp.h>
44688                       #endif
44689
44690 int
44691 main ()
44692 {
44693  _finitel(0);
44694   ;
44695   return 0;
44696 }
44697 _ACEOF
44698 if ac_fn_cxx_try_compile "$LINENO"; then :
44699   glibcxx_cv_func__finitel_use=yes
44700 else
44701   glibcxx_cv_func__finitel_use=no
44702 fi
44703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44704       ac_ext=c
44705 ac_cpp='$CPP $CPPFLAGS'
44706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44709
44710
44711 fi
44712
44713   fi
44714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44715 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44716
44717     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44718       for ac_func in _finitel
44719 do :
44720   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44721 if test "x$ac_cv_func__finitel" = x""yes; then :
44722   cat >>confdefs.h <<_ACEOF
44723 #define HAVE__FINITEL 1
44724 _ACEOF
44725
44726 fi
44727 done
44728
44729     fi
44730   fi
44731
44732
44733
44734
44735   LIBS="$ac_save_LIBS"
44736   CXXFLAGS="$ac_save_CXXFLAGS"
44737
44738
44739   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44740   ac_save_CXXFLAGS="$CXXFLAGS"
44741   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44742
44743
44744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44745 $as_echo_n "checking for strtold declaration... " >&6; }
44746   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44747     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44748   $as_echo_n "(cached) " >&6
44749 else
44750
44751
44752       ac_ext=cpp
44753 ac_cpp='$CXXCPP $CPPFLAGS'
44754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44757
44758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44759 /* end confdefs.h.  */
44760 #include <stdlib.h>
44761 int
44762 main ()
44763 {
44764  strtold(0, 0);
44765   ;
44766   return 0;
44767 }
44768 _ACEOF
44769 if ac_fn_cxx_try_compile "$LINENO"; then :
44770   glibcxx_cv_func_strtold_use=yes
44771 else
44772   glibcxx_cv_func_strtold_use=no
44773 fi
44774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44775       ac_ext=c
44776 ac_cpp='$CPP $CPPFLAGS'
44777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44780
44781
44782 fi
44783
44784   fi
44785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44786 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44787   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44788     for ac_func in strtold
44789 do :
44790   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44791 if test "x$ac_cv_func_strtold" = x""yes; then :
44792   cat >>confdefs.h <<_ACEOF
44793 #define HAVE_STRTOLD 1
44794 _ACEOF
44795
44796 fi
44797 done
44798
44799   fi
44800
44801
44802
44803
44804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44805 $as_echo_n "checking for strtof declaration... " >&6; }
44806   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44807     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44808   $as_echo_n "(cached) " >&6
44809 else
44810
44811
44812       ac_ext=cpp
44813 ac_cpp='$CXXCPP $CPPFLAGS'
44814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44817
44818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44819 /* end confdefs.h.  */
44820 #include <stdlib.h>
44821 int
44822 main ()
44823 {
44824  strtof(0, 0);
44825   ;
44826   return 0;
44827 }
44828 _ACEOF
44829 if ac_fn_cxx_try_compile "$LINENO"; then :
44830   glibcxx_cv_func_strtof_use=yes
44831 else
44832   glibcxx_cv_func_strtof_use=no
44833 fi
44834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44835       ac_ext=c
44836 ac_cpp='$CPP $CPPFLAGS'
44837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44840
44841
44842 fi
44843
44844   fi
44845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44846 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44847   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44848     for ac_func in strtof
44849 do :
44850   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44851 if test "x$ac_cv_func_strtof" = x""yes; then :
44852   cat >>confdefs.h <<_ACEOF
44853 #define HAVE_STRTOF 1
44854 _ACEOF
44855
44856 fi
44857 done
44858
44859   fi
44860
44861
44862
44863
44864   CXXFLAGS="$ac_save_CXXFLAGS"
44865
44866     ;;
44867
44868   *djgpp)
44869     # GLIBCXX_CHECK_MATH_SUPPORT
44870     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44871
44872     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44873
44874     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44875
44876     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44877
44878     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44879
44880     ;;
44881
44882   *-freebsd*)
44883     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44884
44885
44886   # If we're not using GNU ld, then there's no point in even trying these
44887   # tests.  Check for that first.  We should have already tested for gld
44888   # by now (in libtool), but require it now just to be safe...
44889   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44890   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44891
44892
44893
44894   # The name set by libtool depends on the version of libtool.  Shame on us
44895   # for depending on an impl detail, but c'est la vie.  Older versions used
44896   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44897   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44898   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44899   # set (hence we're using an older libtool), then set it.
44900   if test x${with_gnu_ld+set} != xset; then
44901     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44902       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44903       with_gnu_ld=no
44904     else
44905       with_gnu_ld=$ac_cv_prog_gnu_ld
44906     fi
44907   fi
44908
44909   # Start by getting the version number.  I think the libtool test already
44910   # does some of this, but throws away the result.
44911   glibcxx_ld_is_gold=no
44912   if test x"$with_gnu_ld" = x"yes"; then
44913     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44914 $as_echo_n "checking for ld version... " >&6; }
44915
44916     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44917       glibcxx_ld_is_gold=yes
44918     fi
44919     ldver=`$LD --version 2>/dev/null |
44920            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'`
44921
44922     glibcxx_gnu_ld_version=`echo $ldver | \
44923            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44924     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44925 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44926   fi
44927
44928   # Set --gc-sections.
44929   glibcxx_have_gc_sections=no
44930   if test "$glibcxx_ld_is_gold" = "yes"; then
44931     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44932       glibcxx_have_gc_sections=yes
44933     fi
44934   else
44935     glibcxx_gcsections_min_ld=21602
44936     if test x"$with_gnu_ld" = x"yes" &&
44937         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44938       glibcxx_have_gc_sections=yes
44939     fi
44940   fi
44941   if test "$glibcxx_have_gc_sections" = "yes"; then
44942     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44943     # NB: This flag only works reliably after 2.16.1. Configure tests
44944     # for this are difficult, so hard wire a value that should work.
44945
44946     ac_test_CFLAGS="${CFLAGS+set}"
44947     ac_save_CFLAGS="$CFLAGS"
44948     CFLAGS='-Wl,--gc-sections'
44949
44950     # Check for -Wl,--gc-sections
44951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44952 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44953     if test x$gcc_no_link = xyes; then
44954   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44955 fi
44956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44957 /* end confdefs.h.  */
44958  int one(void) { return 1; }
44959      int two(void) { return 2; }
44960
44961 int
44962 main ()
44963 {
44964  two();
44965   ;
44966   return 0;
44967 }
44968 _ACEOF
44969 if ac_fn_c_try_link "$LINENO"; then :
44970   ac_gcsections=yes
44971 else
44972   ac_gcsections=no
44973 fi
44974 rm -f core conftest.err conftest.$ac_objext \
44975     conftest$ac_exeext conftest.$ac_ext
44976     if test "$ac_gcsections" = "yes"; then
44977       rm -f conftest.c
44978       touch conftest.c
44979       if $CC -c conftest.c; then
44980         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44981            grep "Warning: gc-sections option ignored" > /dev/null; then
44982           ac_gcsections=no
44983         fi
44984       fi
44985       rm -f conftest.c conftest.o conftest
44986     fi
44987     if test "$ac_gcsections" = "yes"; then
44988       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44989     fi
44990     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44991 $as_echo "$ac_gcsections" >&6; }
44992
44993     if test "$ac_test_CFLAGS" = set; then
44994       CFLAGS="$ac_save_CFLAGS"
44995     else
44996       # this is the suspicious part
44997       CFLAGS=''
44998     fi
44999   fi
45000
45001   # Set -z,relro.
45002   # Note this is only for shared objects.
45003   ac_ld_relro=no
45004   if test x"$with_gnu_ld" = x"yes"; then
45005     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45006 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45007     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45008     if test -n "$cxx_z_relo"; then
45009       OPT_LDFLAGS="-Wl,-z,relro"
45010       ac_ld_relro=yes
45011     fi
45012     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45013 $as_echo "$ac_ld_relro" >&6; }
45014   fi
45015
45016   # Set linker optimization flags.
45017   if test x"$with_gnu_ld" = x"yes"; then
45018     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45019   fi
45020
45021
45022
45023
45024     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45025
45026     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45027
45028     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45029
45030     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45031
45032     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45033
45034     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45035
45036     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45037
45038     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45039
45040     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45041
45042
45043     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45044
45045     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45046
45047     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45048
45049     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45050
45051     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45052
45053     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45054
45055     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45056
45057     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45058
45059     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45060
45061     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45062
45063     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45064
45065     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45066
45067     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45068
45069     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45070
45071     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45072
45073     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45074
45075     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45076
45077     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45078
45079     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45080
45081     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45082
45083     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45084
45085     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45086
45087     if test x"long_double_math_on_this_cpu" = x"yes"; then
45088       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45089
45090       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45091
45092       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45093
45094     fi
45095     ;;
45096   *-hpux*)
45097     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45098
45099
45100   # If we're not using GNU ld, then there's no point in even trying these
45101   # tests.  Check for that first.  We should have already tested for gld
45102   # by now (in libtool), but require it now just to be safe...
45103   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45104   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45105
45106
45107
45108   # The name set by libtool depends on the version of libtool.  Shame on us
45109   # for depending on an impl detail, but c'est la vie.  Older versions used
45110   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45111   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45112   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45113   # set (hence we're using an older libtool), then set it.
45114   if test x${with_gnu_ld+set} != xset; then
45115     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45116       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45117       with_gnu_ld=no
45118     else
45119       with_gnu_ld=$ac_cv_prog_gnu_ld
45120     fi
45121   fi
45122
45123   # Start by getting the version number.  I think the libtool test already
45124   # does some of this, but throws away the result.
45125   glibcxx_ld_is_gold=no
45126   if test x"$with_gnu_ld" = x"yes"; then
45127     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45128 $as_echo_n "checking for ld version... " >&6; }
45129
45130     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45131       glibcxx_ld_is_gold=yes
45132     fi
45133     ldver=`$LD --version 2>/dev/null |
45134            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'`
45135
45136     glibcxx_gnu_ld_version=`echo $ldver | \
45137            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45138     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45139 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45140   fi
45141
45142   # Set --gc-sections.
45143   glibcxx_have_gc_sections=no
45144   if test "$glibcxx_ld_is_gold" = "yes"; then
45145     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45146       glibcxx_have_gc_sections=yes
45147     fi
45148   else
45149     glibcxx_gcsections_min_ld=21602
45150     if test x"$with_gnu_ld" = x"yes" &&
45151         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45152       glibcxx_have_gc_sections=yes
45153     fi
45154   fi
45155   if test "$glibcxx_have_gc_sections" = "yes"; then
45156     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45157     # NB: This flag only works reliably after 2.16.1. Configure tests
45158     # for this are difficult, so hard wire a value that should work.
45159
45160     ac_test_CFLAGS="${CFLAGS+set}"
45161     ac_save_CFLAGS="$CFLAGS"
45162     CFLAGS='-Wl,--gc-sections'
45163
45164     # Check for -Wl,--gc-sections
45165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45166 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45167     if test x$gcc_no_link = xyes; then
45168   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45169 fi
45170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45171 /* end confdefs.h.  */
45172  int one(void) { return 1; }
45173      int two(void) { return 2; }
45174
45175 int
45176 main ()
45177 {
45178  two();
45179   ;
45180   return 0;
45181 }
45182 _ACEOF
45183 if ac_fn_c_try_link "$LINENO"; then :
45184   ac_gcsections=yes
45185 else
45186   ac_gcsections=no
45187 fi
45188 rm -f core conftest.err conftest.$ac_objext \
45189     conftest$ac_exeext conftest.$ac_ext
45190     if test "$ac_gcsections" = "yes"; then
45191       rm -f conftest.c
45192       touch conftest.c
45193       if $CC -c conftest.c; then
45194         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45195            grep "Warning: gc-sections option ignored" > /dev/null; then
45196           ac_gcsections=no
45197         fi
45198       fi
45199       rm -f conftest.c conftest.o conftest
45200     fi
45201     if test "$ac_gcsections" = "yes"; then
45202       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45203     fi
45204     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45205 $as_echo "$ac_gcsections" >&6; }
45206
45207     if test "$ac_test_CFLAGS" = set; then
45208       CFLAGS="$ac_save_CFLAGS"
45209     else
45210       # this is the suspicious part
45211       CFLAGS=''
45212     fi
45213   fi
45214
45215   # Set -z,relro.
45216   # Note this is only for shared objects.
45217   ac_ld_relro=no
45218   if test x"$with_gnu_ld" = x"yes"; then
45219     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45220 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45221     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45222     if test -n "$cxx_z_relo"; then
45223       OPT_LDFLAGS="-Wl,-z,relro"
45224       ac_ld_relro=yes
45225     fi
45226     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45227 $as_echo "$ac_ld_relro" >&6; }
45228   fi
45229
45230   # Set linker optimization flags.
45231   if test x"$with_gnu_ld" = x"yes"; then
45232     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45233   fi
45234
45235
45236
45237
45238
45239     # GLIBCXX_CHECK_MATH_SUPPORT
45240     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45241
45242     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45243
45244     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45245
45246     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45247
45248     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45249
45250     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45251
45252     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45253
45254     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45255
45256     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45257
45258     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45259
45260     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45261
45262     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45263
45264     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45265
45266     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45267
45268     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45269
45270     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45271
45272     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45273
45274     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45275
45276     $as_echo "#define HAVE_MODF 1" >>confdefs.h
45277
45278     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45279
45280     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45281
45282
45283     # GLIBCXX_CHECK_STDLIB_SUPPORT
45284     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45285
45286
45287
45288
45289    # Check whether --enable-tls was given.
45290 if test "${enable_tls+set}" = set; then :
45291   enableval=$enable_tls;
45292       case "$enableval" in
45293        yes|no) ;;
45294        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45295       esac
45296
45297 else
45298   enable_tls=yes
45299 fi
45300
45301
45302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45303 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45304 if test "${gcc_cv_have_tls+set}" = set; then :
45305   $as_echo_n "(cached) " >&6
45306 else
45307
45308     if test "$cross_compiling" = yes; then :
45309                 if test x$gcc_no_link = xyes; then
45310   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45311 fi
45312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45313 /* end confdefs.h.  */
45314 __thread int a; int b; int main() { return a = b; }
45315 _ACEOF
45316 if ac_fn_c_try_link "$LINENO"; then :
45317   chktls_save_LDFLAGS="$LDFLAGS"
45318                           case $host in
45319             *-*-linux*)
45320               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45321               ;;
45322           esac
45323           chktls_save_CFLAGS="$CFLAGS"
45324           CFLAGS="-fPIC $CFLAGS"
45325                   if test x$gcc_no_link = xyes; then
45326   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45327 fi
45328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45329 /* end confdefs.h.  */
45330 int f() { return 0; }
45331 _ACEOF
45332 if ac_fn_c_try_link "$LINENO"; then :
45333   if test x$gcc_no_link = xyes; then
45334   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45335 fi
45336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45337 /* end confdefs.h.  */
45338 __thread int a; int b; int f() { return a = b; }
45339 _ACEOF
45340 if ac_fn_c_try_link "$LINENO"; then :
45341   gcc_cv_have_tls=yes
45342 else
45343   gcc_cv_have_tls=no
45344 fi
45345 rm -f core conftest.err conftest.$ac_objext \
45346     conftest$ac_exeext conftest.$ac_ext
45347 else
45348   gcc_cv_have_tls=yes
45349 fi
45350 rm -f core conftest.err conftest.$ac_objext \
45351     conftest$ac_exeext conftest.$ac_ext
45352           CFLAGS="$chktls_save_CFLAGS"
45353           LDFLAGS="$chktls_save_LDFLAGS"
45354 else
45355   gcc_cv_have_tls=no
45356 fi
45357 rm -f core conftest.err conftest.$ac_objext \
45358     conftest$ac_exeext conftest.$ac_ext
45359
45360
45361 else
45362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45363 /* end confdefs.h.  */
45364 __thread int a; int b; int main() { return a = b; }
45365 _ACEOF
45366 if ac_fn_c_try_run "$LINENO"; then :
45367                       chktls_save_LDFLAGS="$LDFLAGS"
45368       LDFLAGS="-static $LDFLAGS"
45369       if test x$gcc_no_link = xyes; then
45370   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45371 fi
45372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45373 /* end confdefs.h.  */
45374 int main() { return 0; }
45375 _ACEOF
45376 if ac_fn_c_try_link "$LINENO"; then :
45377   if test "$cross_compiling" = yes; then :
45378   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45380 as_fn_error "cannot run test program while cross compiling
45381 See \`config.log' for more details." "$LINENO" 5; }
45382 else
45383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45384 /* end confdefs.h.  */
45385 __thread int a; int b; int main() { return a = b; }
45386 _ACEOF
45387 if ac_fn_c_try_run "$LINENO"; then :
45388   gcc_cv_have_tls=yes
45389 else
45390   gcc_cv_have_tls=no
45391 fi
45392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45393   conftest.$ac_objext conftest.beam conftest.$ac_ext
45394 fi
45395
45396 else
45397   gcc_cv_have_tls=yes
45398 fi
45399 rm -f core conftest.err conftest.$ac_objext \
45400     conftest$ac_exeext conftest.$ac_ext
45401       LDFLAGS="$chktls_save_LDFLAGS"
45402       if test $gcc_cv_have_tls = yes; then
45403                                                 chktls_save_CFLAGS="$CFLAGS"
45404         thread_CFLAGS=failed
45405         for flag in '' '-pthread' '-lpthread'; do
45406           CFLAGS="$flag $chktls_save_CFLAGS"
45407           if test x$gcc_no_link = xyes; then
45408   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45409 fi
45410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45411 /* end confdefs.h.  */
45412 #include <pthread.h>
45413                 void *g(void *d) { return NULL; }
45414 int
45415 main ()
45416 {
45417 pthread_t t; pthread_create(&t,NULL,g,NULL);
45418   ;
45419   return 0;
45420 }
45421 _ACEOF
45422 if ac_fn_c_try_link "$LINENO"; then :
45423   thread_CFLAGS="$flag"
45424 fi
45425 rm -f core conftest.err conftest.$ac_objext \
45426     conftest$ac_exeext conftest.$ac_ext
45427           if test "X$thread_CFLAGS" != Xfailed; then
45428             break
45429           fi
45430         done
45431         CFLAGS="$chktls_save_CFLAGS"
45432         if test "X$thread_CFLAGS" != Xfailed; then
45433           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45434                                                   if test "$cross_compiling" = yes; then :
45435   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45437 as_fn_error "cannot run test program while cross compiling
45438 See \`config.log' for more details." "$LINENO" 5; }
45439 else
45440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45441 /* end confdefs.h.  */
45442 #include <pthread.h>
45443                 __thread int a;
45444                 static int *volatile a_in_other_thread;
45445                 static void *
45446                 thread_func (void *arg)
45447                 {
45448                   a_in_other_thread = &a;
45449                   return (void *)0;
45450                 }
45451 int
45452 main ()
45453 {
45454 pthread_t thread;
45455                 void *thread_retval;
45456                 int *volatile a_in_main_thread;
45457                 a_in_main_thread = &a;
45458                 if (pthread_create (&thread, (pthread_attr_t *)0,
45459                                     thread_func, (void *)0))
45460                   return 0;
45461                 if (pthread_join (thread, &thread_retval))
45462                   return 0;
45463                 return (a_in_other_thread == a_in_main_thread);
45464   ;
45465   return 0;
45466 }
45467 _ACEOF
45468 if ac_fn_c_try_run "$LINENO"; then :
45469   gcc_cv_have_tls=yes
45470 else
45471   gcc_cv_have_tls=no
45472 fi
45473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45474   conftest.$ac_objext conftest.beam conftest.$ac_ext
45475 fi
45476
45477           CFLAGS="$chktls_save_CFLAGS"
45478         fi
45479       fi
45480 else
45481   gcc_cv_have_tls=no
45482 fi
45483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45484   conftest.$ac_objext conftest.beam conftest.$ac_ext
45485 fi
45486
45487 fi
45488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45489 $as_echo "$gcc_cv_have_tls" >&6; }
45490   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45491
45492 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45493
45494   fi
45495     case "$target" in
45496       *-hpux10*)
45497         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45498
45499         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45500
45501         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45502
45503         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45504
45505         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45506
45507         ;;
45508     esac
45509     ;;
45510   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45511
45512   # All these tests are for C++; save the language and the compiler flags.
45513   # The CXXFLAGS thing is suspicious, but based on similar bits previously
45514   # found in GLIBCXX_CONFIGURE.
45515
45516   ac_ext=cpp
45517 ac_cpp='$CXXCPP $CPPFLAGS'
45518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45521
45522   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45523   ac_save_CXXFLAGS="$CXXFLAGS"
45524
45525   # Check for maintainer-mode bits.
45526   if test x"$USE_MAINTAINER_MODE" = xno; then
45527     WERROR=''
45528   else
45529     WERROR='-Werror'
45530   fi
45531
45532   # Check for -ffunction-sections -fdata-sections
45533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45534 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45535   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45537 /* end confdefs.h.  */
45538 int foo; void bar() { };
45539 int
45540 main ()
45541 {
45542
45543   ;
45544   return 0;
45545 }
45546 _ACEOF
45547 if ac_fn_cxx_try_compile "$LINENO"; then :
45548   ac_fdsections=yes
45549 else
45550   ac_fdsections=no
45551 fi
45552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45553   if test "$ac_test_CXXFLAGS" = set; then
45554     CXXFLAGS="$ac_save_CXXFLAGS"
45555   else
45556     # this is the suspicious part
45557     CXXFLAGS=''
45558   fi
45559   if test x"$ac_fdsections" = x"yes"; then
45560     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45561   fi
45562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45563 $as_echo "$ac_fdsections" >&6; }
45564
45565   ac_ext=c
45566 ac_cpp='$CPP $CPPFLAGS'
45567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45570
45571
45572
45573
45574
45575   # If we're not using GNU ld, then there's no point in even trying these
45576   # tests.  Check for that first.  We should have already tested for gld
45577   # by now (in libtool), but require it now just to be safe...
45578   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45579   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45580
45581
45582
45583   # The name set by libtool depends on the version of libtool.  Shame on us
45584   # for depending on an impl detail, but c'est la vie.  Older versions used
45585   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45586   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45587   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45588   # set (hence we're using an older libtool), then set it.
45589   if test x${with_gnu_ld+set} != xset; then
45590     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45591       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45592       with_gnu_ld=no
45593     else
45594       with_gnu_ld=$ac_cv_prog_gnu_ld
45595     fi
45596   fi
45597
45598   # Start by getting the version number.  I think the libtool test already
45599   # does some of this, but throws away the result.
45600   glibcxx_ld_is_gold=no
45601   if test x"$with_gnu_ld" = x"yes"; then
45602     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45603 $as_echo_n "checking for ld version... " >&6; }
45604
45605     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45606       glibcxx_ld_is_gold=yes
45607     fi
45608     ldver=`$LD --version 2>/dev/null |
45609            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'`
45610
45611     glibcxx_gnu_ld_version=`echo $ldver | \
45612            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45613     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45614 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45615   fi
45616
45617   # Set --gc-sections.
45618   glibcxx_have_gc_sections=no
45619   if test "$glibcxx_ld_is_gold" = "yes"; then
45620     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45621       glibcxx_have_gc_sections=yes
45622     fi
45623   else
45624     glibcxx_gcsections_min_ld=21602
45625     if test x"$with_gnu_ld" = x"yes" &&
45626         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45627       glibcxx_have_gc_sections=yes
45628     fi
45629   fi
45630   if test "$glibcxx_have_gc_sections" = "yes"; then
45631     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45632     # NB: This flag only works reliably after 2.16.1. Configure tests
45633     # for this are difficult, so hard wire a value that should work.
45634
45635     ac_test_CFLAGS="${CFLAGS+set}"
45636     ac_save_CFLAGS="$CFLAGS"
45637     CFLAGS='-Wl,--gc-sections'
45638
45639     # Check for -Wl,--gc-sections
45640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45641 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45642     if test x$gcc_no_link = xyes; then
45643   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45644 fi
45645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45646 /* end confdefs.h.  */
45647  int one(void) { return 1; }
45648      int two(void) { return 2; }
45649
45650 int
45651 main ()
45652 {
45653  two();
45654   ;
45655   return 0;
45656 }
45657 _ACEOF
45658 if ac_fn_c_try_link "$LINENO"; then :
45659   ac_gcsections=yes
45660 else
45661   ac_gcsections=no
45662 fi
45663 rm -f core conftest.err conftest.$ac_objext \
45664     conftest$ac_exeext conftest.$ac_ext
45665     if test "$ac_gcsections" = "yes"; then
45666       rm -f conftest.c
45667       touch conftest.c
45668       if $CC -c conftest.c; then
45669         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45670            grep "Warning: gc-sections option ignored" > /dev/null; then
45671           ac_gcsections=no
45672         fi
45673       fi
45674       rm -f conftest.c conftest.o conftest
45675     fi
45676     if test "$ac_gcsections" = "yes"; then
45677       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45678     fi
45679     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45680 $as_echo "$ac_gcsections" >&6; }
45681
45682     if test "$ac_test_CFLAGS" = set; then
45683       CFLAGS="$ac_save_CFLAGS"
45684     else
45685       # this is the suspicious part
45686       CFLAGS=''
45687     fi
45688   fi
45689
45690   # Set -z,relro.
45691   # Note this is only for shared objects.
45692   ac_ld_relro=no
45693   if test x"$with_gnu_ld" = x"yes"; then
45694     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45695 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45696     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45697     if test -n "$cxx_z_relo"; then
45698       OPT_LDFLAGS="-Wl,-z,relro"
45699       ac_ld_relro=yes
45700     fi
45701     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45702 $as_echo "$ac_ld_relro" >&6; }
45703   fi
45704
45705   # Set linker optimization flags.
45706   if test x"$with_gnu_ld" = x"yes"; then
45707     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45708   fi
45709
45710
45711
45712
45713
45714   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45715   ac_save_CXXFLAGS="$CXXFLAGS"
45716   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45717
45718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45719 $as_echo_n "checking for sin in -lm... " >&6; }
45720 if test "${ac_cv_lib_m_sin+set}" = set; then :
45721   $as_echo_n "(cached) " >&6
45722 else
45723   ac_check_lib_save_LIBS=$LIBS
45724 LIBS="-lm  $LIBS"
45725 if test x$gcc_no_link = xyes; then
45726   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45727 fi
45728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45729 /* end confdefs.h.  */
45730
45731 /* Override any GCC internal prototype to avoid an error.
45732    Use char because int might match the return type of a GCC
45733    builtin and then its argument prototype would still apply.  */
45734 #ifdef __cplusplus
45735 extern "C"
45736 #endif
45737 char sin ();
45738 int
45739 main ()
45740 {
45741 return sin ();
45742   ;
45743   return 0;
45744 }
45745 _ACEOF
45746 if ac_fn_c_try_link "$LINENO"; then :
45747   ac_cv_lib_m_sin=yes
45748 else
45749   ac_cv_lib_m_sin=no
45750 fi
45751 rm -f core conftest.err conftest.$ac_objext \
45752     conftest$ac_exeext conftest.$ac_ext
45753 LIBS=$ac_check_lib_save_LIBS
45754 fi
45755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45756 $as_echo "$ac_cv_lib_m_sin" >&6; }
45757 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45758   libm="-lm"
45759 fi
45760
45761   ac_save_LIBS="$LIBS"
45762   LIBS="$LIBS $libm"
45763
45764
45765
45766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45767 $as_echo_n "checking for isinf declaration... " >&6; }
45768   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45769     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45770   $as_echo_n "(cached) " >&6
45771 else
45772
45773
45774       ac_ext=cpp
45775 ac_cpp='$CXXCPP $CPPFLAGS'
45776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45779
45780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45781 /* end confdefs.h.  */
45782 #include <math.h>
45783                       #ifdef HAVE_IEEEFP_H
45784                       #include <ieeefp.h>
45785                       #endif
45786
45787 int
45788 main ()
45789 {
45790  isinf(0);
45791   ;
45792   return 0;
45793 }
45794 _ACEOF
45795 if ac_fn_cxx_try_compile "$LINENO"; then :
45796   glibcxx_cv_func_isinf_use=yes
45797 else
45798   glibcxx_cv_func_isinf_use=no
45799 fi
45800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45801       ac_ext=c
45802 ac_cpp='$CPP $CPPFLAGS'
45803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45806
45807
45808 fi
45809
45810   fi
45811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45812 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45813
45814   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45815     for ac_func in isinf
45816 do :
45817   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45818 if test "x$ac_cv_func_isinf" = x""yes; then :
45819   cat >>confdefs.h <<_ACEOF
45820 #define HAVE_ISINF 1
45821 _ACEOF
45822
45823 fi
45824 done
45825
45826   else
45827
45828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45829 $as_echo_n "checking for _isinf declaration... " >&6; }
45830   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45831     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45832   $as_echo_n "(cached) " >&6
45833 else
45834
45835
45836       ac_ext=cpp
45837 ac_cpp='$CXXCPP $CPPFLAGS'
45838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45841
45842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45843 /* end confdefs.h.  */
45844 #include <math.h>
45845                       #ifdef HAVE_IEEEFP_H
45846                       #include <ieeefp.h>
45847                       #endif
45848
45849 int
45850 main ()
45851 {
45852  _isinf(0);
45853   ;
45854   return 0;
45855 }
45856 _ACEOF
45857 if ac_fn_cxx_try_compile "$LINENO"; then :
45858   glibcxx_cv_func__isinf_use=yes
45859 else
45860   glibcxx_cv_func__isinf_use=no
45861 fi
45862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45863       ac_ext=c
45864 ac_cpp='$CPP $CPPFLAGS'
45865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45868
45869
45870 fi
45871
45872   fi
45873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45874 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45875
45876     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45877       for ac_func in _isinf
45878 do :
45879   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45880 if test "x$ac_cv_func__isinf" = x""yes; then :
45881   cat >>confdefs.h <<_ACEOF
45882 #define HAVE__ISINF 1
45883 _ACEOF
45884
45885 fi
45886 done
45887
45888     fi
45889   fi
45890
45891
45892
45893
45894
45895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45896 $as_echo_n "checking for isnan declaration... " >&6; }
45897   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45898     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45899   $as_echo_n "(cached) " >&6
45900 else
45901
45902
45903       ac_ext=cpp
45904 ac_cpp='$CXXCPP $CPPFLAGS'
45905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45908
45909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45910 /* end confdefs.h.  */
45911 #include <math.h>
45912                       #ifdef HAVE_IEEEFP_H
45913                       #include <ieeefp.h>
45914                       #endif
45915
45916 int
45917 main ()
45918 {
45919  isnan(0);
45920   ;
45921   return 0;
45922 }
45923 _ACEOF
45924 if ac_fn_cxx_try_compile "$LINENO"; then :
45925   glibcxx_cv_func_isnan_use=yes
45926 else
45927   glibcxx_cv_func_isnan_use=no
45928 fi
45929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45930       ac_ext=c
45931 ac_cpp='$CPP $CPPFLAGS'
45932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45935
45936
45937 fi
45938
45939   fi
45940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45941 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45942
45943   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45944     for ac_func in isnan
45945 do :
45946   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45947 if test "x$ac_cv_func_isnan" = x""yes; then :
45948   cat >>confdefs.h <<_ACEOF
45949 #define HAVE_ISNAN 1
45950 _ACEOF
45951
45952 fi
45953 done
45954
45955   else
45956
45957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45958 $as_echo_n "checking for _isnan declaration... " >&6; }
45959   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45960     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45961   $as_echo_n "(cached) " >&6
45962 else
45963
45964
45965       ac_ext=cpp
45966 ac_cpp='$CXXCPP $CPPFLAGS'
45967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45970
45971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45972 /* end confdefs.h.  */
45973 #include <math.h>
45974                       #ifdef HAVE_IEEEFP_H
45975                       #include <ieeefp.h>
45976                       #endif
45977
45978 int
45979 main ()
45980 {
45981  _isnan(0);
45982   ;
45983   return 0;
45984 }
45985 _ACEOF
45986 if ac_fn_cxx_try_compile "$LINENO"; then :
45987   glibcxx_cv_func__isnan_use=yes
45988 else
45989   glibcxx_cv_func__isnan_use=no
45990 fi
45991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45992       ac_ext=c
45993 ac_cpp='$CPP $CPPFLAGS'
45994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45997
45998
45999 fi
46000
46001   fi
46002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46003 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46004
46005     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46006       for ac_func in _isnan
46007 do :
46008   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46009 if test "x$ac_cv_func__isnan" = x""yes; then :
46010   cat >>confdefs.h <<_ACEOF
46011 #define HAVE__ISNAN 1
46012 _ACEOF
46013
46014 fi
46015 done
46016
46017     fi
46018   fi
46019
46020
46021
46022
46023
46024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46025 $as_echo_n "checking for finite declaration... " >&6; }
46026   if test x${glibcxx_cv_func_finite_use+set} != xset; then
46027     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46028   $as_echo_n "(cached) " >&6
46029 else
46030
46031
46032       ac_ext=cpp
46033 ac_cpp='$CXXCPP $CPPFLAGS'
46034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46037
46038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46039 /* end confdefs.h.  */
46040 #include <math.h>
46041                       #ifdef HAVE_IEEEFP_H
46042                       #include <ieeefp.h>
46043                       #endif
46044
46045 int
46046 main ()
46047 {
46048  finite(0);
46049   ;
46050   return 0;
46051 }
46052 _ACEOF
46053 if ac_fn_cxx_try_compile "$LINENO"; then :
46054   glibcxx_cv_func_finite_use=yes
46055 else
46056   glibcxx_cv_func_finite_use=no
46057 fi
46058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46059       ac_ext=c
46060 ac_cpp='$CPP $CPPFLAGS'
46061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46064
46065
46066 fi
46067
46068   fi
46069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46070 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46071
46072   if test x$glibcxx_cv_func_finite_use = x"yes"; then
46073     for ac_func in finite
46074 do :
46075   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46076 if test "x$ac_cv_func_finite" = x""yes; then :
46077   cat >>confdefs.h <<_ACEOF
46078 #define HAVE_FINITE 1
46079 _ACEOF
46080
46081 fi
46082 done
46083
46084   else
46085
46086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46087 $as_echo_n "checking for _finite declaration... " >&6; }
46088   if test x${glibcxx_cv_func__finite_use+set} != xset; then
46089     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46090   $as_echo_n "(cached) " >&6
46091 else
46092
46093
46094       ac_ext=cpp
46095 ac_cpp='$CXXCPP $CPPFLAGS'
46096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46099
46100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46101 /* end confdefs.h.  */
46102 #include <math.h>
46103                       #ifdef HAVE_IEEEFP_H
46104                       #include <ieeefp.h>
46105                       #endif
46106
46107 int
46108 main ()
46109 {
46110  _finite(0);
46111   ;
46112   return 0;
46113 }
46114 _ACEOF
46115 if ac_fn_cxx_try_compile "$LINENO"; then :
46116   glibcxx_cv_func__finite_use=yes
46117 else
46118   glibcxx_cv_func__finite_use=no
46119 fi
46120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46121       ac_ext=c
46122 ac_cpp='$CPP $CPPFLAGS'
46123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46126
46127
46128 fi
46129
46130   fi
46131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46132 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46133
46134     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46135       for ac_func in _finite
46136 do :
46137   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46138 if test "x$ac_cv_func__finite" = x""yes; then :
46139   cat >>confdefs.h <<_ACEOF
46140 #define HAVE__FINITE 1
46141 _ACEOF
46142
46143 fi
46144 done
46145
46146     fi
46147   fi
46148
46149
46150
46151
46152
46153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46154 $as_echo_n "checking for sincos declaration... " >&6; }
46155   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46156     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46157   $as_echo_n "(cached) " >&6
46158 else
46159
46160
46161       ac_ext=cpp
46162 ac_cpp='$CXXCPP $CPPFLAGS'
46163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46166
46167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46168 /* end confdefs.h.  */
46169 #include <math.h>
46170 int
46171 main ()
46172 {
46173  sincos(0, 0, 0);
46174   ;
46175   return 0;
46176 }
46177 _ACEOF
46178 if ac_fn_cxx_try_compile "$LINENO"; then :
46179   glibcxx_cv_func_sincos_use=yes
46180 else
46181   glibcxx_cv_func_sincos_use=no
46182 fi
46183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46184       ac_ext=c
46185 ac_cpp='$CPP $CPPFLAGS'
46186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46189
46190
46191 fi
46192
46193   fi
46194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46195 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46196
46197   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46198     for ac_func in sincos
46199 do :
46200   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46201 if test "x$ac_cv_func_sincos" = x""yes; then :
46202   cat >>confdefs.h <<_ACEOF
46203 #define HAVE_SINCOS 1
46204 _ACEOF
46205
46206 fi
46207 done
46208
46209   else
46210
46211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46212 $as_echo_n "checking for _sincos declaration... " >&6; }
46213   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46214     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46215   $as_echo_n "(cached) " >&6
46216 else
46217
46218
46219       ac_ext=cpp
46220 ac_cpp='$CXXCPP $CPPFLAGS'
46221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46224
46225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46226 /* end confdefs.h.  */
46227 #include <math.h>
46228 int
46229 main ()
46230 {
46231  _sincos(0, 0, 0);
46232   ;
46233   return 0;
46234 }
46235 _ACEOF
46236 if ac_fn_cxx_try_compile "$LINENO"; then :
46237   glibcxx_cv_func__sincos_use=yes
46238 else
46239   glibcxx_cv_func__sincos_use=no
46240 fi
46241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46242       ac_ext=c
46243 ac_cpp='$CPP $CPPFLAGS'
46244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46247
46248
46249 fi
46250
46251   fi
46252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46253 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46254
46255     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46256       for ac_func in _sincos
46257 do :
46258   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46259 if test "x$ac_cv_func__sincos" = x""yes; then :
46260   cat >>confdefs.h <<_ACEOF
46261 #define HAVE__SINCOS 1
46262 _ACEOF
46263
46264 fi
46265 done
46266
46267     fi
46268   fi
46269
46270
46271
46272
46273
46274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46275 $as_echo_n "checking for fpclass declaration... " >&6; }
46276   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46277     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46278   $as_echo_n "(cached) " >&6
46279 else
46280
46281
46282       ac_ext=cpp
46283 ac_cpp='$CXXCPP $CPPFLAGS'
46284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46287
46288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46289 /* end confdefs.h.  */
46290 #include <math.h>
46291                       #ifdef HAVE_IEEEFP_H
46292                       #include <ieeefp.h>
46293                       #endif
46294
46295 int
46296 main ()
46297 {
46298  fpclass(0);
46299   ;
46300   return 0;
46301 }
46302 _ACEOF
46303 if ac_fn_cxx_try_compile "$LINENO"; then :
46304   glibcxx_cv_func_fpclass_use=yes
46305 else
46306   glibcxx_cv_func_fpclass_use=no
46307 fi
46308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46309       ac_ext=c
46310 ac_cpp='$CPP $CPPFLAGS'
46311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46314
46315
46316 fi
46317
46318   fi
46319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46320 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46321
46322   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46323     for ac_func in fpclass
46324 do :
46325   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46326 if test "x$ac_cv_func_fpclass" = x""yes; then :
46327   cat >>confdefs.h <<_ACEOF
46328 #define HAVE_FPCLASS 1
46329 _ACEOF
46330
46331 fi
46332 done
46333
46334   else
46335
46336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46337 $as_echo_n "checking for _fpclass declaration... " >&6; }
46338   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46339     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46340   $as_echo_n "(cached) " >&6
46341 else
46342
46343
46344       ac_ext=cpp
46345 ac_cpp='$CXXCPP $CPPFLAGS'
46346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46349
46350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46351 /* end confdefs.h.  */
46352 #include <math.h>
46353                       #ifdef HAVE_IEEEFP_H
46354                       #include <ieeefp.h>
46355                       #endif
46356
46357 int
46358 main ()
46359 {
46360  _fpclass(0);
46361   ;
46362   return 0;
46363 }
46364 _ACEOF
46365 if ac_fn_cxx_try_compile "$LINENO"; then :
46366   glibcxx_cv_func__fpclass_use=yes
46367 else
46368   glibcxx_cv_func__fpclass_use=no
46369 fi
46370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46371       ac_ext=c
46372 ac_cpp='$CPP $CPPFLAGS'
46373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46376
46377
46378 fi
46379
46380   fi
46381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46382 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46383
46384     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46385       for ac_func in _fpclass
46386 do :
46387   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46388 if test "x$ac_cv_func__fpclass" = x""yes; then :
46389   cat >>confdefs.h <<_ACEOF
46390 #define HAVE__FPCLASS 1
46391 _ACEOF
46392
46393 fi
46394 done
46395
46396     fi
46397   fi
46398
46399
46400
46401
46402
46403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46404 $as_echo_n "checking for qfpclass declaration... " >&6; }
46405   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46406     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46407   $as_echo_n "(cached) " >&6
46408 else
46409
46410
46411       ac_ext=cpp
46412 ac_cpp='$CXXCPP $CPPFLAGS'
46413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46416
46417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46418 /* end confdefs.h.  */
46419 #include <math.h>
46420                       #ifdef HAVE_IEEEFP_H
46421                       #include <ieeefp.h>
46422                       #endif
46423
46424 int
46425 main ()
46426 {
46427  qfpclass(0);
46428   ;
46429   return 0;
46430 }
46431 _ACEOF
46432 if ac_fn_cxx_try_compile "$LINENO"; then :
46433   glibcxx_cv_func_qfpclass_use=yes
46434 else
46435   glibcxx_cv_func_qfpclass_use=no
46436 fi
46437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46438       ac_ext=c
46439 ac_cpp='$CPP $CPPFLAGS'
46440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46443
46444
46445 fi
46446
46447   fi
46448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46449 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46450
46451   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46452     for ac_func in qfpclass
46453 do :
46454   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46455 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46456   cat >>confdefs.h <<_ACEOF
46457 #define HAVE_QFPCLASS 1
46458 _ACEOF
46459
46460 fi
46461 done
46462
46463   else
46464
46465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46466 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46467   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46468     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46469   $as_echo_n "(cached) " >&6
46470 else
46471
46472
46473       ac_ext=cpp
46474 ac_cpp='$CXXCPP $CPPFLAGS'
46475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46478
46479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46480 /* end confdefs.h.  */
46481 #include <math.h>
46482                       #ifdef HAVE_IEEEFP_H
46483                       #include <ieeefp.h>
46484                       #endif
46485
46486 int
46487 main ()
46488 {
46489  _qfpclass(0);
46490   ;
46491   return 0;
46492 }
46493 _ACEOF
46494 if ac_fn_cxx_try_compile "$LINENO"; then :
46495   glibcxx_cv_func__qfpclass_use=yes
46496 else
46497   glibcxx_cv_func__qfpclass_use=no
46498 fi
46499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46500       ac_ext=c
46501 ac_cpp='$CPP $CPPFLAGS'
46502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46505
46506
46507 fi
46508
46509   fi
46510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46511 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46512
46513     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46514       for ac_func in _qfpclass
46515 do :
46516   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46517 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46518   cat >>confdefs.h <<_ACEOF
46519 #define HAVE__QFPCLASS 1
46520 _ACEOF
46521
46522 fi
46523 done
46524
46525     fi
46526   fi
46527
46528
46529
46530
46531
46532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46533 $as_echo_n "checking for hypot declaration... " >&6; }
46534   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46535     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46536   $as_echo_n "(cached) " >&6
46537 else
46538
46539
46540       ac_ext=cpp
46541 ac_cpp='$CXXCPP $CPPFLAGS'
46542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46545
46546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46547 /* end confdefs.h.  */
46548 #include <math.h>
46549 int
46550 main ()
46551 {
46552  hypot(0, 0);
46553   ;
46554   return 0;
46555 }
46556 _ACEOF
46557 if ac_fn_cxx_try_compile "$LINENO"; then :
46558   glibcxx_cv_func_hypot_use=yes
46559 else
46560   glibcxx_cv_func_hypot_use=no
46561 fi
46562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46563       ac_ext=c
46564 ac_cpp='$CPP $CPPFLAGS'
46565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46568
46569
46570 fi
46571
46572   fi
46573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46574 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46575
46576   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46577     for ac_func in hypot
46578 do :
46579   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46580 if test "x$ac_cv_func_hypot" = x""yes; then :
46581   cat >>confdefs.h <<_ACEOF
46582 #define HAVE_HYPOT 1
46583 _ACEOF
46584
46585 fi
46586 done
46587
46588   else
46589
46590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46591 $as_echo_n "checking for _hypot declaration... " >&6; }
46592   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46593     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46594   $as_echo_n "(cached) " >&6
46595 else
46596
46597
46598       ac_ext=cpp
46599 ac_cpp='$CXXCPP $CPPFLAGS'
46600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46603
46604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46605 /* end confdefs.h.  */
46606 #include <math.h>
46607 int
46608 main ()
46609 {
46610  _hypot(0, 0);
46611   ;
46612   return 0;
46613 }
46614 _ACEOF
46615 if ac_fn_cxx_try_compile "$LINENO"; then :
46616   glibcxx_cv_func__hypot_use=yes
46617 else
46618   glibcxx_cv_func__hypot_use=no
46619 fi
46620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46621       ac_ext=c
46622 ac_cpp='$CPP $CPPFLAGS'
46623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46626
46627
46628 fi
46629
46630   fi
46631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46632 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46633
46634     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46635       for ac_func in _hypot
46636 do :
46637   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46638 if test "x$ac_cv_func__hypot" = x""yes; then :
46639   cat >>confdefs.h <<_ACEOF
46640 #define HAVE__HYPOT 1
46641 _ACEOF
46642
46643 fi
46644 done
46645
46646     fi
46647   fi
46648
46649
46650
46651
46652
46653     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46654 $as_echo_n "checking for float trig functions... " >&6; }
46655   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46656   $as_echo_n "(cached) " >&6
46657 else
46658
46659
46660     ac_ext=cpp
46661 ac_cpp='$CXXCPP $CPPFLAGS'
46662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46665
46666     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46667 /* end confdefs.h.  */
46668 #include <math.h>
46669 int
46670 main ()
46671 {
46672 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46673   ;
46674   return 0;
46675 }
46676 _ACEOF
46677 if ac_fn_cxx_try_compile "$LINENO"; then :
46678   glibcxx_cv_func_float_trig_use=yes
46679 else
46680   glibcxx_cv_func_float_trig_use=no
46681 fi
46682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46683     ac_ext=c
46684 ac_cpp='$CPP $CPPFLAGS'
46685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46688
46689 fi
46690
46691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46692 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46693   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46694     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46695 do :
46696   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46697 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46698 eval as_val=\$$as_ac_var
46699    if test "x$as_val" = x""yes; then :
46700   cat >>confdefs.h <<_ACEOF
46701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46702 _ACEOF
46703
46704 fi
46705 done
46706
46707   else
46708     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46709 $as_echo_n "checking for _float trig functions... " >&6; }
46710     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46711   $as_echo_n "(cached) " >&6
46712 else
46713
46714
46715       ac_ext=cpp
46716 ac_cpp='$CXXCPP $CPPFLAGS'
46717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46720
46721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46722 /* end confdefs.h.  */
46723 #include <math.h>
46724 int
46725 main ()
46726 {
46727 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46728   ;
46729   return 0;
46730 }
46731 _ACEOF
46732 if ac_fn_cxx_try_compile "$LINENO"; then :
46733   glibcxx_cv_func__float_trig_use=yes
46734 else
46735   glibcxx_cv_func__float_trig_use=no
46736 fi
46737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46738       ac_ext=c
46739 ac_cpp='$CPP $CPPFLAGS'
46740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46743
46744 fi
46745
46746     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46747 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46748     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46749       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46750 do :
46751   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46753 eval as_val=\$$as_ac_var
46754    if test "x$as_val" = x""yes; then :
46755   cat >>confdefs.h <<_ACEOF
46756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46757 _ACEOF
46758
46759 fi
46760 done
46761
46762     fi
46763   fi
46764
46765
46766
46767
46768
46769     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46770 $as_echo_n "checking for float round functions... " >&6; }
46771   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46772   $as_echo_n "(cached) " >&6
46773 else
46774
46775
46776     ac_ext=cpp
46777 ac_cpp='$CXXCPP $CPPFLAGS'
46778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46781
46782     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46783 /* end confdefs.h.  */
46784 #include <math.h>
46785 int
46786 main ()
46787 {
46788 ceilf (0); floorf (0);
46789   ;
46790   return 0;
46791 }
46792 _ACEOF
46793 if ac_fn_cxx_try_compile "$LINENO"; then :
46794   glibcxx_cv_func_float_round_use=yes
46795 else
46796   glibcxx_cv_func_float_round_use=no
46797 fi
46798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46799     ac_ext=c
46800 ac_cpp='$CPP $CPPFLAGS'
46801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46804
46805 fi
46806
46807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46808 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46809   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46810     for ac_func in ceilf floorf
46811 do :
46812   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46814 eval as_val=\$$as_ac_var
46815    if test "x$as_val" = x""yes; then :
46816   cat >>confdefs.h <<_ACEOF
46817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46818 _ACEOF
46819
46820 fi
46821 done
46822
46823   else
46824     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46825 $as_echo_n "checking for _float round functions... " >&6; }
46826     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46827   $as_echo_n "(cached) " >&6
46828 else
46829
46830
46831       ac_ext=cpp
46832 ac_cpp='$CXXCPP $CPPFLAGS'
46833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46836
46837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46838 /* end confdefs.h.  */
46839 #include <math.h>
46840 int
46841 main ()
46842 {
46843 _ceilf (0); _floorf (0);
46844   ;
46845   return 0;
46846 }
46847 _ACEOF
46848 if ac_fn_cxx_try_compile "$LINENO"; then :
46849   glibcxx_cv_func__float_round_use=yes
46850 else
46851   glibcxx_cv_func__float_round_use=no
46852 fi
46853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46854       ac_ext=c
46855 ac_cpp='$CPP $CPPFLAGS'
46856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46859
46860 fi
46861
46862     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46863 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46864     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46865       for ac_func in _ceilf _floorf
46866 do :
46867   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46868 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46869 eval as_val=\$$as_ac_var
46870    if test "x$as_val" = x""yes; then :
46871   cat >>confdefs.h <<_ACEOF
46872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46873 _ACEOF
46874
46875 fi
46876 done
46877
46878     fi
46879   fi
46880
46881
46882
46883
46884
46885
46886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46887 $as_echo_n "checking for expf declaration... " >&6; }
46888   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46889     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46890   $as_echo_n "(cached) " >&6
46891 else
46892
46893
46894       ac_ext=cpp
46895 ac_cpp='$CXXCPP $CPPFLAGS'
46896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46899
46900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46901 /* end confdefs.h.  */
46902 #include <math.h>
46903                       #ifdef HAVE_IEEEFP_H
46904                       #include <ieeefp.h>
46905                       #endif
46906
46907 int
46908 main ()
46909 {
46910  expf(0);
46911   ;
46912   return 0;
46913 }
46914 _ACEOF
46915 if ac_fn_cxx_try_compile "$LINENO"; then :
46916   glibcxx_cv_func_expf_use=yes
46917 else
46918   glibcxx_cv_func_expf_use=no
46919 fi
46920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46921       ac_ext=c
46922 ac_cpp='$CPP $CPPFLAGS'
46923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46926
46927
46928 fi
46929
46930   fi
46931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46932 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46933
46934   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46935     for ac_func in expf
46936 do :
46937   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46938 if test "x$ac_cv_func_expf" = x""yes; then :
46939   cat >>confdefs.h <<_ACEOF
46940 #define HAVE_EXPF 1
46941 _ACEOF
46942
46943 fi
46944 done
46945
46946   else
46947
46948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46949 $as_echo_n "checking for _expf declaration... " >&6; }
46950   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46951     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46952   $as_echo_n "(cached) " >&6
46953 else
46954
46955
46956       ac_ext=cpp
46957 ac_cpp='$CXXCPP $CPPFLAGS'
46958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46961
46962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46963 /* end confdefs.h.  */
46964 #include <math.h>
46965                       #ifdef HAVE_IEEEFP_H
46966                       #include <ieeefp.h>
46967                       #endif
46968
46969 int
46970 main ()
46971 {
46972  _expf(0);
46973   ;
46974   return 0;
46975 }
46976 _ACEOF
46977 if ac_fn_cxx_try_compile "$LINENO"; then :
46978   glibcxx_cv_func__expf_use=yes
46979 else
46980   glibcxx_cv_func__expf_use=no
46981 fi
46982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46983       ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46988
46989
46990 fi
46991
46992   fi
46993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46994 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46995
46996     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46997       for ac_func in _expf
46998 do :
46999   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47000 if test "x$ac_cv_func__expf" = x""yes; then :
47001   cat >>confdefs.h <<_ACEOF
47002 #define HAVE__EXPF 1
47003 _ACEOF
47004
47005 fi
47006 done
47007
47008     fi
47009   fi
47010
47011
47012
47013
47014
47015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47016 $as_echo_n "checking for isnanf declaration... " >&6; }
47017   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47018     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47019   $as_echo_n "(cached) " >&6
47020 else
47021
47022
47023       ac_ext=cpp
47024 ac_cpp='$CXXCPP $CPPFLAGS'
47025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47028
47029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47030 /* end confdefs.h.  */
47031 #include <math.h>
47032                       #ifdef HAVE_IEEEFP_H
47033                       #include <ieeefp.h>
47034                       #endif
47035
47036 int
47037 main ()
47038 {
47039  isnanf(0);
47040   ;
47041   return 0;
47042 }
47043 _ACEOF
47044 if ac_fn_cxx_try_compile "$LINENO"; then :
47045   glibcxx_cv_func_isnanf_use=yes
47046 else
47047   glibcxx_cv_func_isnanf_use=no
47048 fi
47049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47050       ac_ext=c
47051 ac_cpp='$CPP $CPPFLAGS'
47052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47055
47056
47057 fi
47058
47059   fi
47060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47061 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47062
47063   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47064     for ac_func in isnanf
47065 do :
47066   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47067 if test "x$ac_cv_func_isnanf" = x""yes; then :
47068   cat >>confdefs.h <<_ACEOF
47069 #define HAVE_ISNANF 1
47070 _ACEOF
47071
47072 fi
47073 done
47074
47075   else
47076
47077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47078 $as_echo_n "checking for _isnanf declaration... " >&6; }
47079   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47080     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47081   $as_echo_n "(cached) " >&6
47082 else
47083
47084
47085       ac_ext=cpp
47086 ac_cpp='$CXXCPP $CPPFLAGS'
47087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47090
47091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47092 /* end confdefs.h.  */
47093 #include <math.h>
47094                       #ifdef HAVE_IEEEFP_H
47095                       #include <ieeefp.h>
47096                       #endif
47097
47098 int
47099 main ()
47100 {
47101  _isnanf(0);
47102   ;
47103   return 0;
47104 }
47105 _ACEOF
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107   glibcxx_cv_func__isnanf_use=yes
47108 else
47109   glibcxx_cv_func__isnanf_use=no
47110 fi
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47112       ac_ext=c
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47117
47118
47119 fi
47120
47121   fi
47122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47123 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47124
47125     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47126       for ac_func in _isnanf
47127 do :
47128   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47129 if test "x$ac_cv_func__isnanf" = x""yes; then :
47130   cat >>confdefs.h <<_ACEOF
47131 #define HAVE__ISNANF 1
47132 _ACEOF
47133
47134 fi
47135 done
47136
47137     fi
47138   fi
47139
47140
47141
47142
47143
47144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47145 $as_echo_n "checking for isinff declaration... " >&6; }
47146   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47147     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47148   $as_echo_n "(cached) " >&6
47149 else
47150
47151
47152       ac_ext=cpp
47153 ac_cpp='$CXXCPP $CPPFLAGS'
47154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47157
47158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47159 /* end confdefs.h.  */
47160 #include <math.h>
47161                       #ifdef HAVE_IEEEFP_H
47162                       #include <ieeefp.h>
47163                       #endif
47164
47165 int
47166 main ()
47167 {
47168  isinff(0);
47169   ;
47170   return 0;
47171 }
47172 _ACEOF
47173 if ac_fn_cxx_try_compile "$LINENO"; then :
47174   glibcxx_cv_func_isinff_use=yes
47175 else
47176   glibcxx_cv_func_isinff_use=no
47177 fi
47178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47179       ac_ext=c
47180 ac_cpp='$CPP $CPPFLAGS'
47181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47184
47185
47186 fi
47187
47188   fi
47189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47190 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47191
47192   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47193     for ac_func in isinff
47194 do :
47195   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47196 if test "x$ac_cv_func_isinff" = x""yes; then :
47197   cat >>confdefs.h <<_ACEOF
47198 #define HAVE_ISINFF 1
47199 _ACEOF
47200
47201 fi
47202 done
47203
47204   else
47205
47206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47207 $as_echo_n "checking for _isinff declaration... " >&6; }
47208   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47209     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47210   $as_echo_n "(cached) " >&6
47211 else
47212
47213
47214       ac_ext=cpp
47215 ac_cpp='$CXXCPP $CPPFLAGS'
47216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47219
47220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47221 /* end confdefs.h.  */
47222 #include <math.h>
47223                       #ifdef HAVE_IEEEFP_H
47224                       #include <ieeefp.h>
47225                       #endif
47226
47227 int
47228 main ()
47229 {
47230  _isinff(0);
47231   ;
47232   return 0;
47233 }
47234 _ACEOF
47235 if ac_fn_cxx_try_compile "$LINENO"; then :
47236   glibcxx_cv_func__isinff_use=yes
47237 else
47238   glibcxx_cv_func__isinff_use=no
47239 fi
47240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47241       ac_ext=c
47242 ac_cpp='$CPP $CPPFLAGS'
47243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47246
47247
47248 fi
47249
47250   fi
47251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47252 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47253
47254     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47255       for ac_func in _isinff
47256 do :
47257   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47258 if test "x$ac_cv_func__isinff" = x""yes; then :
47259   cat >>confdefs.h <<_ACEOF
47260 #define HAVE__ISINFF 1
47261 _ACEOF
47262
47263 fi
47264 done
47265
47266     fi
47267   fi
47268
47269
47270
47271
47272
47273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47274 $as_echo_n "checking for atan2f declaration... " >&6; }
47275   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47276     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47277   $as_echo_n "(cached) " >&6
47278 else
47279
47280
47281       ac_ext=cpp
47282 ac_cpp='$CXXCPP $CPPFLAGS'
47283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47286
47287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47288 /* end confdefs.h.  */
47289 #include <math.h>
47290 int
47291 main ()
47292 {
47293  atan2f(0, 0);
47294   ;
47295   return 0;
47296 }
47297 _ACEOF
47298 if ac_fn_cxx_try_compile "$LINENO"; then :
47299   glibcxx_cv_func_atan2f_use=yes
47300 else
47301   glibcxx_cv_func_atan2f_use=no
47302 fi
47303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47304       ac_ext=c
47305 ac_cpp='$CPP $CPPFLAGS'
47306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47309
47310
47311 fi
47312
47313   fi
47314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47315 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47316
47317   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47318     for ac_func in atan2f
47319 do :
47320   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47321 if test "x$ac_cv_func_atan2f" = x""yes; then :
47322   cat >>confdefs.h <<_ACEOF
47323 #define HAVE_ATAN2F 1
47324 _ACEOF
47325
47326 fi
47327 done
47328
47329   else
47330
47331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47332 $as_echo_n "checking for _atan2f declaration... " >&6; }
47333   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47334     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47335   $as_echo_n "(cached) " >&6
47336 else
47337
47338
47339       ac_ext=cpp
47340 ac_cpp='$CXXCPP $CPPFLAGS'
47341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47344
47345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47346 /* end confdefs.h.  */
47347 #include <math.h>
47348 int
47349 main ()
47350 {
47351  _atan2f(0, 0);
47352   ;
47353   return 0;
47354 }
47355 _ACEOF
47356 if ac_fn_cxx_try_compile "$LINENO"; then :
47357   glibcxx_cv_func__atan2f_use=yes
47358 else
47359   glibcxx_cv_func__atan2f_use=no
47360 fi
47361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47362       ac_ext=c
47363 ac_cpp='$CPP $CPPFLAGS'
47364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47367
47368
47369 fi
47370
47371   fi
47372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47373 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47374
47375     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47376       for ac_func in _atan2f
47377 do :
47378   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47379 if test "x$ac_cv_func__atan2f" = x""yes; then :
47380   cat >>confdefs.h <<_ACEOF
47381 #define HAVE__ATAN2F 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 fabsf declaration" >&5
47395 $as_echo_n "checking for fabsf declaration... " >&6; }
47396   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47397     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47398   $as_echo_n "(cached) " >&6
47399 else
47400
47401
47402       ac_ext=cpp
47403 ac_cpp='$CXXCPP $CPPFLAGS'
47404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47407
47408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47409 /* end confdefs.h.  */
47410 #include <math.h>
47411                       #ifdef HAVE_IEEEFP_H
47412                       #include <ieeefp.h>
47413                       #endif
47414
47415 int
47416 main ()
47417 {
47418  fabsf(0);
47419   ;
47420   return 0;
47421 }
47422 _ACEOF
47423 if ac_fn_cxx_try_compile "$LINENO"; then :
47424   glibcxx_cv_func_fabsf_use=yes
47425 else
47426   glibcxx_cv_func_fabsf_use=no
47427 fi
47428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47429       ac_ext=c
47430 ac_cpp='$CPP $CPPFLAGS'
47431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47434
47435
47436 fi
47437
47438   fi
47439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47440 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47441
47442   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47443     for ac_func in fabsf
47444 do :
47445   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47446 if test "x$ac_cv_func_fabsf" = x""yes; then :
47447   cat >>confdefs.h <<_ACEOF
47448 #define HAVE_FABSF 1
47449 _ACEOF
47450
47451 fi
47452 done
47453
47454   else
47455
47456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47457 $as_echo_n "checking for _fabsf declaration... " >&6; }
47458   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47459     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47460   $as_echo_n "(cached) " >&6
47461 else
47462
47463
47464       ac_ext=cpp
47465 ac_cpp='$CXXCPP $CPPFLAGS'
47466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47469
47470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47471 /* end confdefs.h.  */
47472 #include <math.h>
47473                       #ifdef HAVE_IEEEFP_H
47474                       #include <ieeefp.h>
47475                       #endif
47476
47477 int
47478 main ()
47479 {
47480  _fabsf(0);
47481   ;
47482   return 0;
47483 }
47484 _ACEOF
47485 if ac_fn_cxx_try_compile "$LINENO"; then :
47486   glibcxx_cv_func__fabsf_use=yes
47487 else
47488   glibcxx_cv_func__fabsf_use=no
47489 fi
47490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47491       ac_ext=c
47492 ac_cpp='$CPP $CPPFLAGS'
47493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47496
47497
47498 fi
47499
47500   fi
47501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47502 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47503
47504     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47505       for ac_func in _fabsf
47506 do :
47507   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47508 if test "x$ac_cv_func__fabsf" = x""yes; then :
47509   cat >>confdefs.h <<_ACEOF
47510 #define HAVE__FABSF 1
47511 _ACEOF
47512
47513 fi
47514 done
47515
47516     fi
47517   fi
47518
47519
47520
47521
47522
47523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47524 $as_echo_n "checking for fmodf declaration... " >&6; }
47525   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47526     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47527   $as_echo_n "(cached) " >&6
47528 else
47529
47530
47531       ac_ext=cpp
47532 ac_cpp='$CXXCPP $CPPFLAGS'
47533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47536
47537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47538 /* end confdefs.h.  */
47539 #include <math.h>
47540 int
47541 main ()
47542 {
47543  fmodf(0, 0);
47544   ;
47545   return 0;
47546 }
47547 _ACEOF
47548 if ac_fn_cxx_try_compile "$LINENO"; then :
47549   glibcxx_cv_func_fmodf_use=yes
47550 else
47551   glibcxx_cv_func_fmodf_use=no
47552 fi
47553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47554       ac_ext=c
47555 ac_cpp='$CPP $CPPFLAGS'
47556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47559
47560
47561 fi
47562
47563   fi
47564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47565 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47566
47567   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47568     for ac_func in fmodf
47569 do :
47570   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47571 if test "x$ac_cv_func_fmodf" = x""yes; then :
47572   cat >>confdefs.h <<_ACEOF
47573 #define HAVE_FMODF 1
47574 _ACEOF
47575
47576 fi
47577 done
47578
47579   else
47580
47581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47582 $as_echo_n "checking for _fmodf declaration... " >&6; }
47583   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47584     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47585   $as_echo_n "(cached) " >&6
47586 else
47587
47588
47589       ac_ext=cpp
47590 ac_cpp='$CXXCPP $CPPFLAGS'
47591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47594
47595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47596 /* end confdefs.h.  */
47597 #include <math.h>
47598 int
47599 main ()
47600 {
47601  _fmodf(0, 0);
47602   ;
47603   return 0;
47604 }
47605 _ACEOF
47606 if ac_fn_cxx_try_compile "$LINENO"; then :
47607   glibcxx_cv_func__fmodf_use=yes
47608 else
47609   glibcxx_cv_func__fmodf_use=no
47610 fi
47611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47612       ac_ext=c
47613 ac_cpp='$CPP $CPPFLAGS'
47614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47617
47618
47619 fi
47620
47621   fi
47622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47623 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47624
47625     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47626       for ac_func in _fmodf
47627 do :
47628   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47629 if test "x$ac_cv_func__fmodf" = x""yes; then :
47630   cat >>confdefs.h <<_ACEOF
47631 #define HAVE__FMODF 1
47632 _ACEOF
47633
47634 fi
47635 done
47636
47637     fi
47638   fi
47639
47640
47641
47642
47643
47644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47645 $as_echo_n "checking for frexpf declaration... " >&6; }
47646   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47647     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47648   $as_echo_n "(cached) " >&6
47649 else
47650
47651
47652       ac_ext=cpp
47653 ac_cpp='$CXXCPP $CPPFLAGS'
47654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47657
47658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47659 /* end confdefs.h.  */
47660 #include <math.h>
47661 int
47662 main ()
47663 {
47664  frexpf(0, 0);
47665   ;
47666   return 0;
47667 }
47668 _ACEOF
47669 if ac_fn_cxx_try_compile "$LINENO"; then :
47670   glibcxx_cv_func_frexpf_use=yes
47671 else
47672   glibcxx_cv_func_frexpf_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_frexpf_use" >&5
47686 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47687
47688   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47689     for ac_func in frexpf
47690 do :
47691   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47692 if test "x$ac_cv_func_frexpf" = x""yes; then :
47693   cat >>confdefs.h <<_ACEOF
47694 #define HAVE_FREXPF 1
47695 _ACEOF
47696
47697 fi
47698 done
47699
47700   else
47701
47702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47703 $as_echo_n "checking for _frexpf declaration... " >&6; }
47704   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47705     if test "${glibcxx_cv_func__frexpf_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 int
47720 main ()
47721 {
47722  _frexpf(0, 0);
47723   ;
47724   return 0;
47725 }
47726 _ACEOF
47727 if ac_fn_cxx_try_compile "$LINENO"; then :
47728   glibcxx_cv_func__frexpf_use=yes
47729 else
47730   glibcxx_cv_func__frexpf_use=no
47731 fi
47732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47733       ac_ext=c
47734 ac_cpp='$CPP $CPPFLAGS'
47735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47738
47739
47740 fi
47741
47742   fi
47743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47744 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47745
47746     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47747       for ac_func in _frexpf
47748 do :
47749   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47750 if test "x$ac_cv_func__frexpf" = x""yes; then :
47751   cat >>confdefs.h <<_ACEOF
47752 #define HAVE__FREXPF 1
47753 _ACEOF
47754
47755 fi
47756 done
47757
47758     fi
47759   fi
47760
47761
47762
47763
47764
47765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47766 $as_echo_n "checking for hypotf declaration... " >&6; }
47767   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47768     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47769   $as_echo_n "(cached) " >&6
47770 else
47771
47772
47773       ac_ext=cpp
47774 ac_cpp='$CXXCPP $CPPFLAGS'
47775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47778
47779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47780 /* end confdefs.h.  */
47781 #include <math.h>
47782 int
47783 main ()
47784 {
47785  hypotf(0, 0);
47786   ;
47787   return 0;
47788 }
47789 _ACEOF
47790 if ac_fn_cxx_try_compile "$LINENO"; then :
47791   glibcxx_cv_func_hypotf_use=yes
47792 else
47793   glibcxx_cv_func_hypotf_use=no
47794 fi
47795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47796       ac_ext=c
47797 ac_cpp='$CPP $CPPFLAGS'
47798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47801
47802
47803 fi
47804
47805   fi
47806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47807 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47808
47809   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47810     for ac_func in hypotf
47811 do :
47812   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47813 if test "x$ac_cv_func_hypotf" = x""yes; then :
47814   cat >>confdefs.h <<_ACEOF
47815 #define HAVE_HYPOTF 1
47816 _ACEOF
47817
47818 fi
47819 done
47820
47821   else
47822
47823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47824 $as_echo_n "checking for _hypotf declaration... " >&6; }
47825   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47826     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47827   $as_echo_n "(cached) " >&6
47828 else
47829
47830
47831       ac_ext=cpp
47832 ac_cpp='$CXXCPP $CPPFLAGS'
47833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47836
47837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47838 /* end confdefs.h.  */
47839 #include <math.h>
47840 int
47841 main ()
47842 {
47843  _hypotf(0, 0);
47844   ;
47845   return 0;
47846 }
47847 _ACEOF
47848 if ac_fn_cxx_try_compile "$LINENO"; then :
47849   glibcxx_cv_func__hypotf_use=yes
47850 else
47851   glibcxx_cv_func__hypotf_use=no
47852 fi
47853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47854       ac_ext=c
47855 ac_cpp='$CPP $CPPFLAGS'
47856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47859
47860
47861 fi
47862
47863   fi
47864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47865 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47866
47867     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47868       for ac_func in _hypotf
47869 do :
47870   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47871 if test "x$ac_cv_func__hypotf" = x""yes; then :
47872   cat >>confdefs.h <<_ACEOF
47873 #define HAVE__HYPOTF 1
47874 _ACEOF
47875
47876 fi
47877 done
47878
47879     fi
47880   fi
47881
47882
47883
47884
47885
47886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47887 $as_echo_n "checking for ldexpf declaration... " >&6; }
47888   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47889     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47890   $as_echo_n "(cached) " >&6
47891 else
47892
47893
47894       ac_ext=cpp
47895 ac_cpp='$CXXCPP $CPPFLAGS'
47896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47899
47900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47901 /* end confdefs.h.  */
47902 #include <math.h>
47903 int
47904 main ()
47905 {
47906  ldexpf(0, 0);
47907   ;
47908   return 0;
47909 }
47910 _ACEOF
47911 if ac_fn_cxx_try_compile "$LINENO"; then :
47912   glibcxx_cv_func_ldexpf_use=yes
47913 else
47914   glibcxx_cv_func_ldexpf_use=no
47915 fi
47916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47917       ac_ext=c
47918 ac_cpp='$CPP $CPPFLAGS'
47919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47922
47923
47924 fi
47925
47926   fi
47927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47928 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47929
47930   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47931     for ac_func in ldexpf
47932 do :
47933   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47934 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47935   cat >>confdefs.h <<_ACEOF
47936 #define HAVE_LDEXPF 1
47937 _ACEOF
47938
47939 fi
47940 done
47941
47942   else
47943
47944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47945 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47946   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47947     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47948   $as_echo_n "(cached) " >&6
47949 else
47950
47951
47952       ac_ext=cpp
47953 ac_cpp='$CXXCPP $CPPFLAGS'
47954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47957
47958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47959 /* end confdefs.h.  */
47960 #include <math.h>
47961 int
47962 main ()
47963 {
47964  _ldexpf(0, 0);
47965   ;
47966   return 0;
47967 }
47968 _ACEOF
47969 if ac_fn_cxx_try_compile "$LINENO"; then :
47970   glibcxx_cv_func__ldexpf_use=yes
47971 else
47972   glibcxx_cv_func__ldexpf_use=no
47973 fi
47974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47975       ac_ext=c
47976 ac_cpp='$CPP $CPPFLAGS'
47977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47980
47981
47982 fi
47983
47984   fi
47985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47986 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47987
47988     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47989       for ac_func in _ldexpf
47990 do :
47991   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47992 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47993   cat >>confdefs.h <<_ACEOF
47994 #define HAVE__LDEXPF 1
47995 _ACEOF
47996
47997 fi
47998 done
47999
48000     fi
48001   fi
48002
48003
48004
48005
48006
48007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48008 $as_echo_n "checking for logf declaration... " >&6; }
48009   if test x${glibcxx_cv_func_logf_use+set} != xset; then
48010     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48011   $as_echo_n "(cached) " >&6
48012 else
48013
48014
48015       ac_ext=cpp
48016 ac_cpp='$CXXCPP $CPPFLAGS'
48017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48020
48021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48022 /* end confdefs.h.  */
48023 #include <math.h>
48024                       #ifdef HAVE_IEEEFP_H
48025                       #include <ieeefp.h>
48026                       #endif
48027
48028 int
48029 main ()
48030 {
48031  logf(0);
48032   ;
48033   return 0;
48034 }
48035 _ACEOF
48036 if ac_fn_cxx_try_compile "$LINENO"; then :
48037   glibcxx_cv_func_logf_use=yes
48038 else
48039   glibcxx_cv_func_logf_use=no
48040 fi
48041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48042       ac_ext=c
48043 ac_cpp='$CPP $CPPFLAGS'
48044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48047
48048
48049 fi
48050
48051   fi
48052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48053 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48054
48055   if test x$glibcxx_cv_func_logf_use = x"yes"; then
48056     for ac_func in logf
48057 do :
48058   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48059 if test "x$ac_cv_func_logf" = x""yes; then :
48060   cat >>confdefs.h <<_ACEOF
48061 #define HAVE_LOGF 1
48062 _ACEOF
48063
48064 fi
48065 done
48066
48067   else
48068
48069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48070 $as_echo_n "checking for _logf declaration... " >&6; }
48071   if test x${glibcxx_cv_func__logf_use+set} != xset; then
48072     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48073   $as_echo_n "(cached) " >&6
48074 else
48075
48076
48077       ac_ext=cpp
48078 ac_cpp='$CXXCPP $CPPFLAGS'
48079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48082
48083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48084 /* end confdefs.h.  */
48085 #include <math.h>
48086                       #ifdef HAVE_IEEEFP_H
48087                       #include <ieeefp.h>
48088                       #endif
48089
48090 int
48091 main ()
48092 {
48093  _logf(0);
48094   ;
48095   return 0;
48096 }
48097 _ACEOF
48098 if ac_fn_cxx_try_compile "$LINENO"; then :
48099   glibcxx_cv_func__logf_use=yes
48100 else
48101   glibcxx_cv_func__logf_use=no
48102 fi
48103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48104       ac_ext=c
48105 ac_cpp='$CPP $CPPFLAGS'
48106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48109
48110
48111 fi
48112
48113   fi
48114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48115 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48116
48117     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48118       for ac_func in _logf
48119 do :
48120   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48121 if test "x$ac_cv_func__logf" = x""yes; then :
48122   cat >>confdefs.h <<_ACEOF
48123 #define HAVE__LOGF 1
48124 _ACEOF
48125
48126 fi
48127 done
48128
48129     fi
48130   fi
48131
48132
48133
48134
48135
48136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48137 $as_echo_n "checking for log10f declaration... " >&6; }
48138   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48139     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48140   $as_echo_n "(cached) " >&6
48141 else
48142
48143
48144       ac_ext=cpp
48145 ac_cpp='$CXXCPP $CPPFLAGS'
48146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48149
48150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48151 /* end confdefs.h.  */
48152 #include <math.h>
48153                       #ifdef HAVE_IEEEFP_H
48154                       #include <ieeefp.h>
48155                       #endif
48156
48157 int
48158 main ()
48159 {
48160  log10f(0);
48161   ;
48162   return 0;
48163 }
48164 _ACEOF
48165 if ac_fn_cxx_try_compile "$LINENO"; then :
48166   glibcxx_cv_func_log10f_use=yes
48167 else
48168   glibcxx_cv_func_log10f_use=no
48169 fi
48170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48171       ac_ext=c
48172 ac_cpp='$CPP $CPPFLAGS'
48173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48176
48177
48178 fi
48179
48180   fi
48181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48182 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48183
48184   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48185     for ac_func in log10f
48186 do :
48187   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48188 if test "x$ac_cv_func_log10f" = x""yes; then :
48189   cat >>confdefs.h <<_ACEOF
48190 #define HAVE_LOG10F 1
48191 _ACEOF
48192
48193 fi
48194 done
48195
48196   else
48197
48198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48199 $as_echo_n "checking for _log10f declaration... " >&6; }
48200   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48201     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48202   $as_echo_n "(cached) " >&6
48203 else
48204
48205
48206       ac_ext=cpp
48207 ac_cpp='$CXXCPP $CPPFLAGS'
48208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48211
48212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48213 /* end confdefs.h.  */
48214 #include <math.h>
48215                       #ifdef HAVE_IEEEFP_H
48216                       #include <ieeefp.h>
48217                       #endif
48218
48219 int
48220 main ()
48221 {
48222  _log10f(0);
48223   ;
48224   return 0;
48225 }
48226 _ACEOF
48227 if ac_fn_cxx_try_compile "$LINENO"; then :
48228   glibcxx_cv_func__log10f_use=yes
48229 else
48230   glibcxx_cv_func__log10f_use=no
48231 fi
48232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48233       ac_ext=c
48234 ac_cpp='$CPP $CPPFLAGS'
48235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48238
48239
48240 fi
48241
48242   fi
48243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48244 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48245
48246     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48247       for ac_func in _log10f
48248 do :
48249   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48250 if test "x$ac_cv_func__log10f" = x""yes; then :
48251   cat >>confdefs.h <<_ACEOF
48252 #define HAVE__LOG10F 1
48253 _ACEOF
48254
48255 fi
48256 done
48257
48258     fi
48259   fi
48260
48261
48262
48263
48264
48265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48266 $as_echo_n "checking for modff declaration... " >&6; }
48267   if test x${glibcxx_cv_func_modff_use+set} != xset; then
48268     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48269   $as_echo_n "(cached) " >&6
48270 else
48271
48272
48273       ac_ext=cpp
48274 ac_cpp='$CXXCPP $CPPFLAGS'
48275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48278
48279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48280 /* end confdefs.h.  */
48281 #include <math.h>
48282 int
48283 main ()
48284 {
48285  modff(0, 0);
48286   ;
48287   return 0;
48288 }
48289 _ACEOF
48290 if ac_fn_cxx_try_compile "$LINENO"; then :
48291   glibcxx_cv_func_modff_use=yes
48292 else
48293   glibcxx_cv_func_modff_use=no
48294 fi
48295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48296       ac_ext=c
48297 ac_cpp='$CPP $CPPFLAGS'
48298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48301
48302
48303 fi
48304
48305   fi
48306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48307 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48308
48309   if test x$glibcxx_cv_func_modff_use = x"yes"; then
48310     for ac_func in modff
48311 do :
48312   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48313 if test "x$ac_cv_func_modff" = x""yes; then :
48314   cat >>confdefs.h <<_ACEOF
48315 #define HAVE_MODFF 1
48316 _ACEOF
48317
48318 fi
48319 done
48320
48321   else
48322
48323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48324 $as_echo_n "checking for _modff declaration... " >&6; }
48325   if test x${glibcxx_cv_func__modff_use+set} != xset; then
48326     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48327   $as_echo_n "(cached) " >&6
48328 else
48329
48330
48331       ac_ext=cpp
48332 ac_cpp='$CXXCPP $CPPFLAGS'
48333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48336
48337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48338 /* end confdefs.h.  */
48339 #include <math.h>
48340 int
48341 main ()
48342 {
48343  _modff(0, 0);
48344   ;
48345   return 0;
48346 }
48347 _ACEOF
48348 if ac_fn_cxx_try_compile "$LINENO"; then :
48349   glibcxx_cv_func__modff_use=yes
48350 else
48351   glibcxx_cv_func__modff_use=no
48352 fi
48353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48354       ac_ext=c
48355 ac_cpp='$CPP $CPPFLAGS'
48356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48359
48360
48361 fi
48362
48363   fi
48364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48365 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48366
48367     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48368       for ac_func in _modff
48369 do :
48370   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48371 if test "x$ac_cv_func__modff" = x""yes; then :
48372   cat >>confdefs.h <<_ACEOF
48373 #define HAVE__MODFF 1
48374 _ACEOF
48375
48376 fi
48377 done
48378
48379     fi
48380   fi
48381
48382
48383
48384
48385
48386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48387 $as_echo_n "checking for modf declaration... " >&6; }
48388   if test x${glibcxx_cv_func_modf_use+set} != xset; then
48389     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48390   $as_echo_n "(cached) " >&6
48391 else
48392
48393
48394       ac_ext=cpp
48395 ac_cpp='$CXXCPP $CPPFLAGS'
48396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48399
48400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48401 /* end confdefs.h.  */
48402 #include <math.h>
48403 int
48404 main ()
48405 {
48406  modf(0, 0);
48407   ;
48408   return 0;
48409 }
48410 _ACEOF
48411 if ac_fn_cxx_try_compile "$LINENO"; then :
48412   glibcxx_cv_func_modf_use=yes
48413 else
48414   glibcxx_cv_func_modf_use=no
48415 fi
48416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48417       ac_ext=c
48418 ac_cpp='$CPP $CPPFLAGS'
48419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48422
48423
48424 fi
48425
48426   fi
48427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48428 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48429
48430   if test x$glibcxx_cv_func_modf_use = x"yes"; then
48431     for ac_func in modf
48432 do :
48433   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48434 if test "x$ac_cv_func_modf" = x""yes; then :
48435   cat >>confdefs.h <<_ACEOF
48436 #define HAVE_MODF 1
48437 _ACEOF
48438
48439 fi
48440 done
48441
48442   else
48443
48444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48445 $as_echo_n "checking for _modf declaration... " >&6; }
48446   if test x${glibcxx_cv_func__modf_use+set} != xset; then
48447     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48448   $as_echo_n "(cached) " >&6
48449 else
48450
48451
48452       ac_ext=cpp
48453 ac_cpp='$CXXCPP $CPPFLAGS'
48454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48457
48458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48459 /* end confdefs.h.  */
48460 #include <math.h>
48461 int
48462 main ()
48463 {
48464  _modf(0, 0);
48465   ;
48466   return 0;
48467 }
48468 _ACEOF
48469 if ac_fn_cxx_try_compile "$LINENO"; then :
48470   glibcxx_cv_func__modf_use=yes
48471 else
48472   glibcxx_cv_func__modf_use=no
48473 fi
48474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48475       ac_ext=c
48476 ac_cpp='$CPP $CPPFLAGS'
48477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48480
48481
48482 fi
48483
48484   fi
48485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48486 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48487
48488     if test x$glibcxx_cv_func__modf_use = x"yes"; then
48489       for ac_func in _modf
48490 do :
48491   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48492 if test "x$ac_cv_func__modf" = x""yes; then :
48493   cat >>confdefs.h <<_ACEOF
48494 #define HAVE__MODF 1
48495 _ACEOF
48496
48497 fi
48498 done
48499
48500     fi
48501   fi
48502
48503
48504
48505
48506
48507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48508 $as_echo_n "checking for powf declaration... " >&6; }
48509   if test x${glibcxx_cv_func_powf_use+set} != xset; then
48510     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48511   $as_echo_n "(cached) " >&6
48512 else
48513
48514
48515       ac_ext=cpp
48516 ac_cpp='$CXXCPP $CPPFLAGS'
48517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48520
48521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48522 /* end confdefs.h.  */
48523 #include <math.h>
48524 int
48525 main ()
48526 {
48527  powf(0, 0);
48528   ;
48529   return 0;
48530 }
48531 _ACEOF
48532 if ac_fn_cxx_try_compile "$LINENO"; then :
48533   glibcxx_cv_func_powf_use=yes
48534 else
48535   glibcxx_cv_func_powf_use=no
48536 fi
48537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48538       ac_ext=c
48539 ac_cpp='$CPP $CPPFLAGS'
48540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48543
48544
48545 fi
48546
48547   fi
48548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48549 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48550
48551   if test x$glibcxx_cv_func_powf_use = x"yes"; then
48552     for ac_func in powf
48553 do :
48554   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48555 if test "x$ac_cv_func_powf" = x""yes; then :
48556   cat >>confdefs.h <<_ACEOF
48557 #define HAVE_POWF 1
48558 _ACEOF
48559
48560 fi
48561 done
48562
48563   else
48564
48565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48566 $as_echo_n "checking for _powf declaration... " >&6; }
48567   if test x${glibcxx_cv_func__powf_use+set} != xset; then
48568     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48569   $as_echo_n "(cached) " >&6
48570 else
48571
48572
48573       ac_ext=cpp
48574 ac_cpp='$CXXCPP $CPPFLAGS'
48575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48578
48579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48580 /* end confdefs.h.  */
48581 #include <math.h>
48582 int
48583 main ()
48584 {
48585  _powf(0, 0);
48586   ;
48587   return 0;
48588 }
48589 _ACEOF
48590 if ac_fn_cxx_try_compile "$LINENO"; then :
48591   glibcxx_cv_func__powf_use=yes
48592 else
48593   glibcxx_cv_func__powf_use=no
48594 fi
48595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48596       ac_ext=c
48597 ac_cpp='$CPP $CPPFLAGS'
48598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48601
48602
48603 fi
48604
48605   fi
48606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48607 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48608
48609     if test x$glibcxx_cv_func__powf_use = x"yes"; then
48610       for ac_func in _powf
48611 do :
48612   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48613 if test "x$ac_cv_func__powf" = x""yes; then :
48614   cat >>confdefs.h <<_ACEOF
48615 #define HAVE__POWF 1
48616 _ACEOF
48617
48618 fi
48619 done
48620
48621     fi
48622   fi
48623
48624
48625
48626
48627
48628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48629 $as_echo_n "checking for sqrtf declaration... " >&6; }
48630   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48631     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48632   $as_echo_n "(cached) " >&6
48633 else
48634
48635
48636       ac_ext=cpp
48637 ac_cpp='$CXXCPP $CPPFLAGS'
48638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48641
48642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48643 /* end confdefs.h.  */
48644 #include <math.h>
48645                       #ifdef HAVE_IEEEFP_H
48646                       #include <ieeefp.h>
48647                       #endif
48648
48649 int
48650 main ()
48651 {
48652  sqrtf(0);
48653   ;
48654   return 0;
48655 }
48656 _ACEOF
48657 if ac_fn_cxx_try_compile "$LINENO"; then :
48658   glibcxx_cv_func_sqrtf_use=yes
48659 else
48660   glibcxx_cv_func_sqrtf_use=no
48661 fi
48662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48663       ac_ext=c
48664 ac_cpp='$CPP $CPPFLAGS'
48665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48668
48669
48670 fi
48671
48672   fi
48673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48674 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48675
48676   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48677     for ac_func in sqrtf
48678 do :
48679   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48680 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48681   cat >>confdefs.h <<_ACEOF
48682 #define HAVE_SQRTF 1
48683 _ACEOF
48684
48685 fi
48686 done
48687
48688   else
48689
48690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48691 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48692   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48693     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48694   $as_echo_n "(cached) " >&6
48695 else
48696
48697
48698       ac_ext=cpp
48699 ac_cpp='$CXXCPP $CPPFLAGS'
48700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48703
48704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48705 /* end confdefs.h.  */
48706 #include <math.h>
48707                       #ifdef HAVE_IEEEFP_H
48708                       #include <ieeefp.h>
48709                       #endif
48710
48711 int
48712 main ()
48713 {
48714  _sqrtf(0);
48715   ;
48716   return 0;
48717 }
48718 _ACEOF
48719 if ac_fn_cxx_try_compile "$LINENO"; then :
48720   glibcxx_cv_func__sqrtf_use=yes
48721 else
48722   glibcxx_cv_func__sqrtf_use=no
48723 fi
48724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48725       ac_ext=c
48726 ac_cpp='$CPP $CPPFLAGS'
48727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48730
48731
48732 fi
48733
48734   fi
48735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48736 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48737
48738     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48739       for ac_func in _sqrtf
48740 do :
48741   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48742 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48743   cat >>confdefs.h <<_ACEOF
48744 #define HAVE__SQRTF 1
48745 _ACEOF
48746
48747 fi
48748 done
48749
48750     fi
48751   fi
48752
48753
48754
48755
48756
48757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48758 $as_echo_n "checking for sincosf declaration... " >&6; }
48759   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48760     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48761   $as_echo_n "(cached) " >&6
48762 else
48763
48764
48765       ac_ext=cpp
48766 ac_cpp='$CXXCPP $CPPFLAGS'
48767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48770
48771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48772 /* end confdefs.h.  */
48773 #include <math.h>
48774 int
48775 main ()
48776 {
48777  sincosf(0, 0, 0);
48778   ;
48779   return 0;
48780 }
48781 _ACEOF
48782 if ac_fn_cxx_try_compile "$LINENO"; then :
48783   glibcxx_cv_func_sincosf_use=yes
48784 else
48785   glibcxx_cv_func_sincosf_use=no
48786 fi
48787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48788       ac_ext=c
48789 ac_cpp='$CPP $CPPFLAGS'
48790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48793
48794
48795 fi
48796
48797   fi
48798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48799 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48800
48801   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48802     for ac_func in sincosf
48803 do :
48804   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48805 if test "x$ac_cv_func_sincosf" = x""yes; then :
48806   cat >>confdefs.h <<_ACEOF
48807 #define HAVE_SINCOSF 1
48808 _ACEOF
48809
48810 fi
48811 done
48812
48813   else
48814
48815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48816 $as_echo_n "checking for _sincosf declaration... " >&6; }
48817   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48818     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48819   $as_echo_n "(cached) " >&6
48820 else
48821
48822
48823       ac_ext=cpp
48824 ac_cpp='$CXXCPP $CPPFLAGS'
48825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48828
48829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48830 /* end confdefs.h.  */
48831 #include <math.h>
48832 int
48833 main ()
48834 {
48835  _sincosf(0, 0, 0);
48836   ;
48837   return 0;
48838 }
48839 _ACEOF
48840 if ac_fn_cxx_try_compile "$LINENO"; then :
48841   glibcxx_cv_func__sincosf_use=yes
48842 else
48843   glibcxx_cv_func__sincosf_use=no
48844 fi
48845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48846       ac_ext=c
48847 ac_cpp='$CPP $CPPFLAGS'
48848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48851
48852
48853 fi
48854
48855   fi
48856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48857 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48858
48859     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48860       for ac_func in _sincosf
48861 do :
48862   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48863 if test "x$ac_cv_func__sincosf" = x""yes; then :
48864   cat >>confdefs.h <<_ACEOF
48865 #define HAVE__SINCOSF 1
48866 _ACEOF
48867
48868 fi
48869 done
48870
48871     fi
48872   fi
48873
48874
48875
48876
48877
48878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48879 $as_echo_n "checking for finitef declaration... " >&6; }
48880   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48881     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48882   $as_echo_n "(cached) " >&6
48883 else
48884
48885
48886       ac_ext=cpp
48887 ac_cpp='$CXXCPP $CPPFLAGS'
48888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48891
48892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48893 /* end confdefs.h.  */
48894 #include <math.h>
48895                       #ifdef HAVE_IEEEFP_H
48896                       #include <ieeefp.h>
48897                       #endif
48898
48899 int
48900 main ()
48901 {
48902  finitef(0);
48903   ;
48904   return 0;
48905 }
48906 _ACEOF
48907 if ac_fn_cxx_try_compile "$LINENO"; then :
48908   glibcxx_cv_func_finitef_use=yes
48909 else
48910   glibcxx_cv_func_finitef_use=no
48911 fi
48912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48913       ac_ext=c
48914 ac_cpp='$CPP $CPPFLAGS'
48915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48918
48919
48920 fi
48921
48922   fi
48923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48924 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48925
48926   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48927     for ac_func in finitef
48928 do :
48929   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48930 if test "x$ac_cv_func_finitef" = x""yes; then :
48931   cat >>confdefs.h <<_ACEOF
48932 #define HAVE_FINITEF 1
48933 _ACEOF
48934
48935 fi
48936 done
48937
48938   else
48939
48940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48941 $as_echo_n "checking for _finitef declaration... " >&6; }
48942   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48943     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48944   $as_echo_n "(cached) " >&6
48945 else
48946
48947
48948       ac_ext=cpp
48949 ac_cpp='$CXXCPP $CPPFLAGS'
48950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48953
48954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48955 /* end confdefs.h.  */
48956 #include <math.h>
48957                       #ifdef HAVE_IEEEFP_H
48958                       #include <ieeefp.h>
48959                       #endif
48960
48961 int
48962 main ()
48963 {
48964  _finitef(0);
48965   ;
48966   return 0;
48967 }
48968 _ACEOF
48969 if ac_fn_cxx_try_compile "$LINENO"; then :
48970   glibcxx_cv_func__finitef_use=yes
48971 else
48972   glibcxx_cv_func__finitef_use=no
48973 fi
48974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48975       ac_ext=c
48976 ac_cpp='$CPP $CPPFLAGS'
48977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48980
48981
48982 fi
48983
48984   fi
48985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48986 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48987
48988     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48989       for ac_func in _finitef
48990 do :
48991   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48992 if test "x$ac_cv_func__finitef" = x""yes; then :
48993   cat >>confdefs.h <<_ACEOF
48994 #define HAVE__FINITEF 1
48995 _ACEOF
48996
48997 fi
48998 done
48999
49000     fi
49001   fi
49002
49003
49004
49005
49006
49007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49008 $as_echo_n "checking for long double trig functions... " >&6; }
49009   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49010   $as_echo_n "(cached) " >&6
49011 else
49012
49013
49014     ac_ext=cpp
49015 ac_cpp='$CXXCPP $CPPFLAGS'
49016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49019
49020     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49021 /* end confdefs.h.  */
49022 #include <math.h>
49023 int
49024 main ()
49025 {
49026 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49027   ;
49028   return 0;
49029 }
49030 _ACEOF
49031 if ac_fn_cxx_try_compile "$LINENO"; then :
49032   glibcxx_cv_func_long_double_trig_use=yes
49033 else
49034   glibcxx_cv_func_long_double_trig_use=no
49035 fi
49036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49037     ac_ext=c
49038 ac_cpp='$CPP $CPPFLAGS'
49039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49042
49043 fi
49044
49045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49046 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49047   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49048     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49049 do :
49050   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49052 eval as_val=\$$as_ac_var
49053    if test "x$as_val" = x""yes; then :
49054   cat >>confdefs.h <<_ACEOF
49055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49056 _ACEOF
49057
49058 fi
49059 done
49060
49061   else
49062     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49063 $as_echo_n "checking for _long double trig functions... " >&6; }
49064     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49065   $as_echo_n "(cached) " >&6
49066 else
49067
49068
49069       ac_ext=cpp
49070 ac_cpp='$CXXCPP $CPPFLAGS'
49071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49074
49075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49076 /* end confdefs.h.  */
49077 #include <math.h>
49078 int
49079 main ()
49080 {
49081 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49082   ;
49083   return 0;
49084 }
49085 _ACEOF
49086 if ac_fn_cxx_try_compile "$LINENO"; then :
49087   glibcxx_cv_func__long_double_trig_use=yes
49088 else
49089   glibcxx_cv_func__long_double_trig_use=no
49090 fi
49091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49092       ac_ext=c
49093 ac_cpp='$CPP $CPPFLAGS'
49094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49097
49098 fi
49099
49100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49101 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49102     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49103       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49104 do :
49105   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49107 eval as_val=\$$as_ac_var
49108    if test "x$as_val" = x""yes; then :
49109   cat >>confdefs.h <<_ACEOF
49110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49111 _ACEOF
49112
49113 fi
49114 done
49115
49116     fi
49117   fi
49118
49119
49120
49121
49122
49123     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49124 $as_echo_n "checking for long double round functions... " >&6; }
49125   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49126   $as_echo_n "(cached) " >&6
49127 else
49128
49129
49130     ac_ext=cpp
49131 ac_cpp='$CXXCPP $CPPFLAGS'
49132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49135
49136     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49137 /* end confdefs.h.  */
49138 #include <math.h>
49139 int
49140 main ()
49141 {
49142 ceill (0); floorl (0);
49143   ;
49144   return 0;
49145 }
49146 _ACEOF
49147 if ac_fn_cxx_try_compile "$LINENO"; then :
49148   glibcxx_cv_func_long_double_round_use=yes
49149 else
49150   glibcxx_cv_func_long_double_round_use=no
49151 fi
49152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49153     ac_ext=c
49154 ac_cpp='$CPP $CPPFLAGS'
49155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49158
49159 fi
49160
49161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49162 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49163   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49164     for ac_func in ceill floorl
49165 do :
49166   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49168 eval as_val=\$$as_ac_var
49169    if test "x$as_val" = x""yes; then :
49170   cat >>confdefs.h <<_ACEOF
49171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49172 _ACEOF
49173
49174 fi
49175 done
49176
49177   else
49178     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49179 $as_echo_n "checking for _long double round functions... " >&6; }
49180     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49181   $as_echo_n "(cached) " >&6
49182 else
49183
49184
49185       ac_ext=cpp
49186 ac_cpp='$CXXCPP $CPPFLAGS'
49187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49190
49191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49192 /* end confdefs.h.  */
49193 #include <math.h>
49194 int
49195 main ()
49196 {
49197 _ceill (0); _floorl (0);
49198   ;
49199   return 0;
49200 }
49201 _ACEOF
49202 if ac_fn_cxx_try_compile "$LINENO"; then :
49203   glibcxx_cv_func__long_double_round_use=yes
49204 else
49205   glibcxx_cv_func__long_double_round_use=no
49206 fi
49207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49208       ac_ext=c
49209 ac_cpp='$CPP $CPPFLAGS'
49210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49213
49214 fi
49215
49216     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49217 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49218     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49219       for ac_func in _ceill _floorl
49220 do :
49221   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49223 eval as_val=\$$as_ac_var
49224    if test "x$as_val" = x""yes; then :
49225   cat >>confdefs.h <<_ACEOF
49226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49227 _ACEOF
49228
49229 fi
49230 done
49231
49232     fi
49233   fi
49234
49235
49236
49237
49238
49239
49240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49241 $as_echo_n "checking for isnanl declaration... " >&6; }
49242   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49243     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49244   $as_echo_n "(cached) " >&6
49245 else
49246
49247
49248       ac_ext=cpp
49249 ac_cpp='$CXXCPP $CPPFLAGS'
49250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49253
49254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49255 /* end confdefs.h.  */
49256 #include <math.h>
49257                       #ifdef HAVE_IEEEFP_H
49258                       #include <ieeefp.h>
49259                       #endif
49260
49261 int
49262 main ()
49263 {
49264  isnanl(0);
49265   ;
49266   return 0;
49267 }
49268 _ACEOF
49269 if ac_fn_cxx_try_compile "$LINENO"; then :
49270   glibcxx_cv_func_isnanl_use=yes
49271 else
49272   glibcxx_cv_func_isnanl_use=no
49273 fi
49274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49275       ac_ext=c
49276 ac_cpp='$CPP $CPPFLAGS'
49277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49280
49281
49282 fi
49283
49284   fi
49285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49286 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49287
49288   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49289     for ac_func in isnanl
49290 do :
49291   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49292 if test "x$ac_cv_func_isnanl" = x""yes; then :
49293   cat >>confdefs.h <<_ACEOF
49294 #define HAVE_ISNANL 1
49295 _ACEOF
49296
49297 fi
49298 done
49299
49300   else
49301
49302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49303 $as_echo_n "checking for _isnanl declaration... " >&6; }
49304   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49305     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49306   $as_echo_n "(cached) " >&6
49307 else
49308
49309
49310       ac_ext=cpp
49311 ac_cpp='$CXXCPP $CPPFLAGS'
49312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49315
49316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49317 /* end confdefs.h.  */
49318 #include <math.h>
49319                       #ifdef HAVE_IEEEFP_H
49320                       #include <ieeefp.h>
49321                       #endif
49322
49323 int
49324 main ()
49325 {
49326  _isnanl(0);
49327   ;
49328   return 0;
49329 }
49330 _ACEOF
49331 if ac_fn_cxx_try_compile "$LINENO"; then :
49332   glibcxx_cv_func__isnanl_use=yes
49333 else
49334   glibcxx_cv_func__isnanl_use=no
49335 fi
49336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49337       ac_ext=c
49338 ac_cpp='$CPP $CPPFLAGS'
49339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49342
49343
49344 fi
49345
49346   fi
49347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49348 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49349
49350     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49351       for ac_func in _isnanl
49352 do :
49353   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49354 if test "x$ac_cv_func__isnanl" = x""yes; then :
49355   cat >>confdefs.h <<_ACEOF
49356 #define HAVE__ISNANL 1
49357 _ACEOF
49358
49359 fi
49360 done
49361
49362     fi
49363   fi
49364
49365
49366
49367
49368
49369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49370 $as_echo_n "checking for isinfl declaration... " >&6; }
49371   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49372     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49373   $as_echo_n "(cached) " >&6
49374 else
49375
49376
49377       ac_ext=cpp
49378 ac_cpp='$CXXCPP $CPPFLAGS'
49379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49382
49383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49384 /* end confdefs.h.  */
49385 #include <math.h>
49386                       #ifdef HAVE_IEEEFP_H
49387                       #include <ieeefp.h>
49388                       #endif
49389
49390 int
49391 main ()
49392 {
49393  isinfl(0);
49394   ;
49395   return 0;
49396 }
49397 _ACEOF
49398 if ac_fn_cxx_try_compile "$LINENO"; then :
49399   glibcxx_cv_func_isinfl_use=yes
49400 else
49401   glibcxx_cv_func_isinfl_use=no
49402 fi
49403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49404       ac_ext=c
49405 ac_cpp='$CPP $CPPFLAGS'
49406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49409
49410
49411 fi
49412
49413   fi
49414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49415 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49416
49417   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49418     for ac_func in isinfl
49419 do :
49420   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49421 if test "x$ac_cv_func_isinfl" = x""yes; then :
49422   cat >>confdefs.h <<_ACEOF
49423 #define HAVE_ISINFL 1
49424 _ACEOF
49425
49426 fi
49427 done
49428
49429   else
49430
49431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49432 $as_echo_n "checking for _isinfl declaration... " >&6; }
49433   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49434     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49435   $as_echo_n "(cached) " >&6
49436 else
49437
49438
49439       ac_ext=cpp
49440 ac_cpp='$CXXCPP $CPPFLAGS'
49441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49444
49445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49446 /* end confdefs.h.  */
49447 #include <math.h>
49448                       #ifdef HAVE_IEEEFP_H
49449                       #include <ieeefp.h>
49450                       #endif
49451
49452 int
49453 main ()
49454 {
49455  _isinfl(0);
49456   ;
49457   return 0;
49458 }
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461   glibcxx_cv_func__isinfl_use=yes
49462 else
49463   glibcxx_cv_func__isinfl_use=no
49464 fi
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466       ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49471
49472
49473 fi
49474
49475   fi
49476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49477 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49478
49479     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49480       for ac_func in _isinfl
49481 do :
49482   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49483 if test "x$ac_cv_func__isinfl" = x""yes; then :
49484   cat >>confdefs.h <<_ACEOF
49485 #define HAVE__ISINFL 1
49486 _ACEOF
49487
49488 fi
49489 done
49490
49491     fi
49492   fi
49493
49494
49495
49496
49497
49498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49499 $as_echo_n "checking for atan2l declaration... " >&6; }
49500   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49501     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49502   $as_echo_n "(cached) " >&6
49503 else
49504
49505
49506       ac_ext=cpp
49507 ac_cpp='$CXXCPP $CPPFLAGS'
49508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49511
49512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49513 /* end confdefs.h.  */
49514 #include <math.h>
49515 int
49516 main ()
49517 {
49518  atan2l(0, 0);
49519   ;
49520   return 0;
49521 }
49522 _ACEOF
49523 if ac_fn_cxx_try_compile "$LINENO"; then :
49524   glibcxx_cv_func_atan2l_use=yes
49525 else
49526   glibcxx_cv_func_atan2l_use=no
49527 fi
49528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49529       ac_ext=c
49530 ac_cpp='$CPP $CPPFLAGS'
49531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49534
49535
49536 fi
49537
49538   fi
49539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49540 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49541
49542   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49543     for ac_func in atan2l
49544 do :
49545   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49546 if test "x$ac_cv_func_atan2l" = x""yes; then :
49547   cat >>confdefs.h <<_ACEOF
49548 #define HAVE_ATAN2L 1
49549 _ACEOF
49550
49551 fi
49552 done
49553
49554   else
49555
49556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49557 $as_echo_n "checking for _atan2l declaration... " >&6; }
49558   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49559     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49560   $as_echo_n "(cached) " >&6
49561 else
49562
49563
49564       ac_ext=cpp
49565 ac_cpp='$CXXCPP $CPPFLAGS'
49566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49569
49570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49571 /* end confdefs.h.  */
49572 #include <math.h>
49573 int
49574 main ()
49575 {
49576  _atan2l(0, 0);
49577   ;
49578   return 0;
49579 }
49580 _ACEOF
49581 if ac_fn_cxx_try_compile "$LINENO"; then :
49582   glibcxx_cv_func__atan2l_use=yes
49583 else
49584   glibcxx_cv_func__atan2l_use=no
49585 fi
49586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49587       ac_ext=c
49588 ac_cpp='$CPP $CPPFLAGS'
49589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49592
49593
49594 fi
49595
49596   fi
49597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49598 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49599
49600     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49601       for ac_func in _atan2l
49602 do :
49603   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49604 if test "x$ac_cv_func__atan2l" = x""yes; then :
49605   cat >>confdefs.h <<_ACEOF
49606 #define HAVE__ATAN2L 1
49607 _ACEOF
49608
49609 fi
49610 done
49611
49612     fi
49613   fi
49614
49615
49616
49617
49618
49619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49620 $as_echo_n "checking for expl declaration... " >&6; }
49621   if test x${glibcxx_cv_func_expl_use+set} != xset; then
49622     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49623   $as_echo_n "(cached) " >&6
49624 else
49625
49626
49627       ac_ext=cpp
49628 ac_cpp='$CXXCPP $CPPFLAGS'
49629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49632
49633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49634 /* end confdefs.h.  */
49635 #include <math.h>
49636                       #ifdef HAVE_IEEEFP_H
49637                       #include <ieeefp.h>
49638                       #endif
49639
49640 int
49641 main ()
49642 {
49643  expl(0);
49644   ;
49645   return 0;
49646 }
49647 _ACEOF
49648 if ac_fn_cxx_try_compile "$LINENO"; then :
49649   glibcxx_cv_func_expl_use=yes
49650 else
49651   glibcxx_cv_func_expl_use=no
49652 fi
49653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49654       ac_ext=c
49655 ac_cpp='$CPP $CPPFLAGS'
49656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49659
49660
49661 fi
49662
49663   fi
49664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49665 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49666
49667   if test x$glibcxx_cv_func_expl_use = x"yes"; then
49668     for ac_func in expl
49669 do :
49670   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49671 if test "x$ac_cv_func_expl" = x""yes; then :
49672   cat >>confdefs.h <<_ACEOF
49673 #define HAVE_EXPL 1
49674 _ACEOF
49675
49676 fi
49677 done
49678
49679   else
49680
49681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49682 $as_echo_n "checking for _expl declaration... " >&6; }
49683   if test x${glibcxx_cv_func__expl_use+set} != xset; then
49684     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49685   $as_echo_n "(cached) " >&6
49686 else
49687
49688
49689       ac_ext=cpp
49690 ac_cpp='$CXXCPP $CPPFLAGS'
49691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49694
49695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49696 /* end confdefs.h.  */
49697 #include <math.h>
49698                       #ifdef HAVE_IEEEFP_H
49699                       #include <ieeefp.h>
49700                       #endif
49701
49702 int
49703 main ()
49704 {
49705  _expl(0);
49706   ;
49707   return 0;
49708 }
49709 _ACEOF
49710 if ac_fn_cxx_try_compile "$LINENO"; then :
49711   glibcxx_cv_func__expl_use=yes
49712 else
49713   glibcxx_cv_func__expl_use=no
49714 fi
49715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49716       ac_ext=c
49717 ac_cpp='$CPP $CPPFLAGS'
49718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49721
49722
49723 fi
49724
49725   fi
49726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49727 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49728
49729     if test x$glibcxx_cv_func__expl_use = x"yes"; then
49730       for ac_func in _expl
49731 do :
49732   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49733 if test "x$ac_cv_func__expl" = x""yes; then :
49734   cat >>confdefs.h <<_ACEOF
49735 #define HAVE__EXPL 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 fabsl declaration" >&5
49749 $as_echo_n "checking for fabsl declaration... " >&6; }
49750   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49751     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49752   $as_echo_n "(cached) " >&6
49753 else
49754
49755
49756       ac_ext=cpp
49757 ac_cpp='$CXXCPP $CPPFLAGS'
49758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49761
49762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49763 /* end confdefs.h.  */
49764 #include <math.h>
49765                       #ifdef HAVE_IEEEFP_H
49766                       #include <ieeefp.h>
49767                       #endif
49768
49769 int
49770 main ()
49771 {
49772  fabsl(0);
49773   ;
49774   return 0;
49775 }
49776 _ACEOF
49777 if ac_fn_cxx_try_compile "$LINENO"; then :
49778   glibcxx_cv_func_fabsl_use=yes
49779 else
49780   glibcxx_cv_func_fabsl_use=no
49781 fi
49782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49783       ac_ext=c
49784 ac_cpp='$CPP $CPPFLAGS'
49785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49788
49789
49790 fi
49791
49792   fi
49793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49794 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49795
49796   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49797     for ac_func in fabsl
49798 do :
49799   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49800 if test "x$ac_cv_func_fabsl" = x""yes; then :
49801   cat >>confdefs.h <<_ACEOF
49802 #define HAVE_FABSL 1
49803 _ACEOF
49804
49805 fi
49806 done
49807
49808   else
49809
49810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49811 $as_echo_n "checking for _fabsl declaration... " >&6; }
49812   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49813     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49814   $as_echo_n "(cached) " >&6
49815 else
49816
49817
49818       ac_ext=cpp
49819 ac_cpp='$CXXCPP $CPPFLAGS'
49820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49823
49824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49825 /* end confdefs.h.  */
49826 #include <math.h>
49827                       #ifdef HAVE_IEEEFP_H
49828                       #include <ieeefp.h>
49829                       #endif
49830
49831 int
49832 main ()
49833 {
49834  _fabsl(0);
49835   ;
49836   return 0;
49837 }
49838 _ACEOF
49839 if ac_fn_cxx_try_compile "$LINENO"; then :
49840   glibcxx_cv_func__fabsl_use=yes
49841 else
49842   glibcxx_cv_func__fabsl_use=no
49843 fi
49844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49845       ac_ext=c
49846 ac_cpp='$CPP $CPPFLAGS'
49847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49850
49851
49852 fi
49853
49854   fi
49855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49856 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49857
49858     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49859       for ac_func in _fabsl
49860 do :
49861   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49862 if test "x$ac_cv_func__fabsl" = x""yes; then :
49863   cat >>confdefs.h <<_ACEOF
49864 #define HAVE__FABSL 1
49865 _ACEOF
49866
49867 fi
49868 done
49869
49870     fi
49871   fi
49872
49873
49874
49875
49876
49877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49878 $as_echo_n "checking for fmodl declaration... " >&6; }
49879   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49880     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49881   $as_echo_n "(cached) " >&6
49882 else
49883
49884
49885       ac_ext=cpp
49886 ac_cpp='$CXXCPP $CPPFLAGS'
49887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49890
49891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49892 /* end confdefs.h.  */
49893 #include <math.h>
49894 int
49895 main ()
49896 {
49897  fmodl(0, 0);
49898   ;
49899   return 0;
49900 }
49901 _ACEOF
49902 if ac_fn_cxx_try_compile "$LINENO"; then :
49903   glibcxx_cv_func_fmodl_use=yes
49904 else
49905   glibcxx_cv_func_fmodl_use=no
49906 fi
49907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49908       ac_ext=c
49909 ac_cpp='$CPP $CPPFLAGS'
49910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49913
49914
49915 fi
49916
49917   fi
49918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49919 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49920
49921   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49922     for ac_func in fmodl
49923 do :
49924   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49925 if test "x$ac_cv_func_fmodl" = x""yes; then :
49926   cat >>confdefs.h <<_ACEOF
49927 #define HAVE_FMODL 1
49928 _ACEOF
49929
49930 fi
49931 done
49932
49933   else
49934
49935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49936 $as_echo_n "checking for _fmodl declaration... " >&6; }
49937   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49938     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49939   $as_echo_n "(cached) " >&6
49940 else
49941
49942
49943       ac_ext=cpp
49944 ac_cpp='$CXXCPP $CPPFLAGS'
49945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49948
49949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49950 /* end confdefs.h.  */
49951 #include <math.h>
49952 int
49953 main ()
49954 {
49955  _fmodl(0, 0);
49956   ;
49957   return 0;
49958 }
49959 _ACEOF
49960 if ac_fn_cxx_try_compile "$LINENO"; then :
49961   glibcxx_cv_func__fmodl_use=yes
49962 else
49963   glibcxx_cv_func__fmodl_use=no
49964 fi
49965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49966       ac_ext=c
49967 ac_cpp='$CPP $CPPFLAGS'
49968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49971
49972
49973 fi
49974
49975   fi
49976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49977 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49978
49979     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49980       for ac_func in _fmodl
49981 do :
49982   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49983 if test "x$ac_cv_func__fmodl" = x""yes; then :
49984   cat >>confdefs.h <<_ACEOF
49985 #define HAVE__FMODL 1
49986 _ACEOF
49987
49988 fi
49989 done
49990
49991     fi
49992   fi
49993
49994
49995
49996
49997
49998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49999 $as_echo_n "checking for frexpl declaration... " >&6; }
50000   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50001     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50002   $as_echo_n "(cached) " >&6
50003 else
50004
50005
50006       ac_ext=cpp
50007 ac_cpp='$CXXCPP $CPPFLAGS'
50008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50011
50012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50013 /* end confdefs.h.  */
50014 #include <math.h>
50015 int
50016 main ()
50017 {
50018  frexpl(0, 0);
50019   ;
50020   return 0;
50021 }
50022 _ACEOF
50023 if ac_fn_cxx_try_compile "$LINENO"; then :
50024   glibcxx_cv_func_frexpl_use=yes
50025 else
50026   glibcxx_cv_func_frexpl_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_frexpl_use" >&5
50040 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50041
50042   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50043     for ac_func in frexpl
50044 do :
50045   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50046 if test "x$ac_cv_func_frexpl" = x""yes; then :
50047   cat >>confdefs.h <<_ACEOF
50048 #define HAVE_FREXPL 1
50049 _ACEOF
50050
50051 fi
50052 done
50053
50054   else
50055
50056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50057 $as_echo_n "checking for _frexpl declaration... " >&6; }
50058   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50059     if test "${glibcxx_cv_func__frexpl_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 int
50074 main ()
50075 {
50076  _frexpl(0, 0);
50077   ;
50078   return 0;
50079 }
50080 _ACEOF
50081 if ac_fn_cxx_try_compile "$LINENO"; then :
50082   glibcxx_cv_func__frexpl_use=yes
50083 else
50084   glibcxx_cv_func__frexpl_use=no
50085 fi
50086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50087       ac_ext=c
50088 ac_cpp='$CPP $CPPFLAGS'
50089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50092
50093
50094 fi
50095
50096   fi
50097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50098 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50099
50100     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50101       for ac_func in _frexpl
50102 do :
50103   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50104 if test "x$ac_cv_func__frexpl" = x""yes; then :
50105   cat >>confdefs.h <<_ACEOF
50106 #define HAVE__FREXPL 1
50107 _ACEOF
50108
50109 fi
50110 done
50111
50112     fi
50113   fi
50114
50115
50116
50117
50118
50119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50120 $as_echo_n "checking for hypotl declaration... " >&6; }
50121   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50122     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50123   $as_echo_n "(cached) " >&6
50124 else
50125
50126
50127       ac_ext=cpp
50128 ac_cpp='$CXXCPP $CPPFLAGS'
50129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50132
50133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50134 /* end confdefs.h.  */
50135 #include <math.h>
50136 int
50137 main ()
50138 {
50139  hypotl(0, 0);
50140   ;
50141   return 0;
50142 }
50143 _ACEOF
50144 if ac_fn_cxx_try_compile "$LINENO"; then :
50145   glibcxx_cv_func_hypotl_use=yes
50146 else
50147   glibcxx_cv_func_hypotl_use=no
50148 fi
50149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50150       ac_ext=c
50151 ac_cpp='$CPP $CPPFLAGS'
50152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50155
50156
50157 fi
50158
50159   fi
50160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50161 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50162
50163   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50164     for ac_func in hypotl
50165 do :
50166   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50167 if test "x$ac_cv_func_hypotl" = x""yes; then :
50168   cat >>confdefs.h <<_ACEOF
50169 #define HAVE_HYPOTL 1
50170 _ACEOF
50171
50172 fi
50173 done
50174
50175   else
50176
50177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50178 $as_echo_n "checking for _hypotl declaration... " >&6; }
50179   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50180     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50181   $as_echo_n "(cached) " >&6
50182 else
50183
50184
50185       ac_ext=cpp
50186 ac_cpp='$CXXCPP $CPPFLAGS'
50187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50190
50191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50192 /* end confdefs.h.  */
50193 #include <math.h>
50194 int
50195 main ()
50196 {
50197  _hypotl(0, 0);
50198   ;
50199   return 0;
50200 }
50201 _ACEOF
50202 if ac_fn_cxx_try_compile "$LINENO"; then :
50203   glibcxx_cv_func__hypotl_use=yes
50204 else
50205   glibcxx_cv_func__hypotl_use=no
50206 fi
50207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50208       ac_ext=c
50209 ac_cpp='$CPP $CPPFLAGS'
50210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50213
50214
50215 fi
50216
50217   fi
50218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50219 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50220
50221     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50222       for ac_func in _hypotl
50223 do :
50224   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50225 if test "x$ac_cv_func__hypotl" = x""yes; then :
50226   cat >>confdefs.h <<_ACEOF
50227 #define HAVE__HYPOTL 1
50228 _ACEOF
50229
50230 fi
50231 done
50232
50233     fi
50234   fi
50235
50236
50237
50238
50239
50240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50241 $as_echo_n "checking for ldexpl declaration... " >&6; }
50242   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50243     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50244   $as_echo_n "(cached) " >&6
50245 else
50246
50247
50248       ac_ext=cpp
50249 ac_cpp='$CXXCPP $CPPFLAGS'
50250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50253
50254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50255 /* end confdefs.h.  */
50256 #include <math.h>
50257 int
50258 main ()
50259 {
50260  ldexpl(0, 0);
50261   ;
50262   return 0;
50263 }
50264 _ACEOF
50265 if ac_fn_cxx_try_compile "$LINENO"; then :
50266   glibcxx_cv_func_ldexpl_use=yes
50267 else
50268   glibcxx_cv_func_ldexpl_use=no
50269 fi
50270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50271       ac_ext=c
50272 ac_cpp='$CPP $CPPFLAGS'
50273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50276
50277
50278 fi
50279
50280   fi
50281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50282 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50283
50284   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50285     for ac_func in ldexpl
50286 do :
50287   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50288 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50289   cat >>confdefs.h <<_ACEOF
50290 #define HAVE_LDEXPL 1
50291 _ACEOF
50292
50293 fi
50294 done
50295
50296   else
50297
50298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50299 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50300   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50301     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50302   $as_echo_n "(cached) " >&6
50303 else
50304
50305
50306       ac_ext=cpp
50307 ac_cpp='$CXXCPP $CPPFLAGS'
50308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50311
50312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50313 /* end confdefs.h.  */
50314 #include <math.h>
50315 int
50316 main ()
50317 {
50318  _ldexpl(0, 0);
50319   ;
50320   return 0;
50321 }
50322 _ACEOF
50323 if ac_fn_cxx_try_compile "$LINENO"; then :
50324   glibcxx_cv_func__ldexpl_use=yes
50325 else
50326   glibcxx_cv_func__ldexpl_use=no
50327 fi
50328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50329       ac_ext=c
50330 ac_cpp='$CPP $CPPFLAGS'
50331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50334
50335
50336 fi
50337
50338   fi
50339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50340 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50341
50342     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50343       for ac_func in _ldexpl
50344 do :
50345   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50346 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50347   cat >>confdefs.h <<_ACEOF
50348 #define HAVE__LDEXPL 1
50349 _ACEOF
50350
50351 fi
50352 done
50353
50354     fi
50355   fi
50356
50357
50358
50359
50360
50361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50362 $as_echo_n "checking for logl declaration... " >&6; }
50363   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50364     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50365   $as_echo_n "(cached) " >&6
50366 else
50367
50368
50369       ac_ext=cpp
50370 ac_cpp='$CXXCPP $CPPFLAGS'
50371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50374
50375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50376 /* end confdefs.h.  */
50377 #include <math.h>
50378                       #ifdef HAVE_IEEEFP_H
50379                       #include <ieeefp.h>
50380                       #endif
50381
50382 int
50383 main ()
50384 {
50385  logl(0);
50386   ;
50387   return 0;
50388 }
50389 _ACEOF
50390 if ac_fn_cxx_try_compile "$LINENO"; then :
50391   glibcxx_cv_func_logl_use=yes
50392 else
50393   glibcxx_cv_func_logl_use=no
50394 fi
50395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50396       ac_ext=c
50397 ac_cpp='$CPP $CPPFLAGS'
50398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50401
50402
50403 fi
50404
50405   fi
50406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50407 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50408
50409   if test x$glibcxx_cv_func_logl_use = x"yes"; then
50410     for ac_func in logl
50411 do :
50412   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50413 if test "x$ac_cv_func_logl" = x""yes; then :
50414   cat >>confdefs.h <<_ACEOF
50415 #define HAVE_LOGL 1
50416 _ACEOF
50417
50418 fi
50419 done
50420
50421   else
50422
50423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50424 $as_echo_n "checking for _logl declaration... " >&6; }
50425   if test x${glibcxx_cv_func__logl_use+set} != xset; then
50426     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50427   $as_echo_n "(cached) " >&6
50428 else
50429
50430
50431       ac_ext=cpp
50432 ac_cpp='$CXXCPP $CPPFLAGS'
50433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50436
50437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50438 /* end confdefs.h.  */
50439 #include <math.h>
50440                       #ifdef HAVE_IEEEFP_H
50441                       #include <ieeefp.h>
50442                       #endif
50443
50444 int
50445 main ()
50446 {
50447  _logl(0);
50448   ;
50449   return 0;
50450 }
50451 _ACEOF
50452 if ac_fn_cxx_try_compile "$LINENO"; then :
50453   glibcxx_cv_func__logl_use=yes
50454 else
50455   glibcxx_cv_func__logl_use=no
50456 fi
50457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50458       ac_ext=c
50459 ac_cpp='$CPP $CPPFLAGS'
50460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50463
50464
50465 fi
50466
50467   fi
50468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50469 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50470
50471     if test x$glibcxx_cv_func__logl_use = x"yes"; then
50472       for ac_func in _logl
50473 do :
50474   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50475 if test "x$ac_cv_func__logl" = x""yes; then :
50476   cat >>confdefs.h <<_ACEOF
50477 #define HAVE__LOGL 1
50478 _ACEOF
50479
50480 fi
50481 done
50482
50483     fi
50484   fi
50485
50486
50487
50488
50489
50490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50491 $as_echo_n "checking for log10l declaration... " >&6; }
50492   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50493     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50494   $as_echo_n "(cached) " >&6
50495 else
50496
50497
50498       ac_ext=cpp
50499 ac_cpp='$CXXCPP $CPPFLAGS'
50500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50503
50504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50505 /* end confdefs.h.  */
50506 #include <math.h>
50507                       #ifdef HAVE_IEEEFP_H
50508                       #include <ieeefp.h>
50509                       #endif
50510
50511 int
50512 main ()
50513 {
50514  log10l(0);
50515   ;
50516   return 0;
50517 }
50518 _ACEOF
50519 if ac_fn_cxx_try_compile "$LINENO"; then :
50520   glibcxx_cv_func_log10l_use=yes
50521 else
50522   glibcxx_cv_func_log10l_use=no
50523 fi
50524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50525       ac_ext=c
50526 ac_cpp='$CPP $CPPFLAGS'
50527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50530
50531
50532 fi
50533
50534   fi
50535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50536 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50537
50538   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50539     for ac_func in log10l
50540 do :
50541   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50542 if test "x$ac_cv_func_log10l" = x""yes; then :
50543   cat >>confdefs.h <<_ACEOF
50544 #define HAVE_LOG10L 1
50545 _ACEOF
50546
50547 fi
50548 done
50549
50550   else
50551
50552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50553 $as_echo_n "checking for _log10l declaration... " >&6; }
50554   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50555     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50556   $as_echo_n "(cached) " >&6
50557 else
50558
50559
50560       ac_ext=cpp
50561 ac_cpp='$CXXCPP $CPPFLAGS'
50562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50565
50566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50567 /* end confdefs.h.  */
50568 #include <math.h>
50569                       #ifdef HAVE_IEEEFP_H
50570                       #include <ieeefp.h>
50571                       #endif
50572
50573 int
50574 main ()
50575 {
50576  _log10l(0);
50577   ;
50578   return 0;
50579 }
50580 _ACEOF
50581 if ac_fn_cxx_try_compile "$LINENO"; then :
50582   glibcxx_cv_func__log10l_use=yes
50583 else
50584   glibcxx_cv_func__log10l_use=no
50585 fi
50586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50587       ac_ext=c
50588 ac_cpp='$CPP $CPPFLAGS'
50589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50592
50593
50594 fi
50595
50596   fi
50597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50598 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50599
50600     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50601       for ac_func in _log10l
50602 do :
50603   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50604 if test "x$ac_cv_func__log10l" = x""yes; then :
50605   cat >>confdefs.h <<_ACEOF
50606 #define HAVE__LOG10L 1
50607 _ACEOF
50608
50609 fi
50610 done
50611
50612     fi
50613   fi
50614
50615
50616
50617
50618
50619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50620 $as_echo_n "checking for modfl declaration... " >&6; }
50621   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50622     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50623   $as_echo_n "(cached) " >&6
50624 else
50625
50626
50627       ac_ext=cpp
50628 ac_cpp='$CXXCPP $CPPFLAGS'
50629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50632
50633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50634 /* end confdefs.h.  */
50635 #include <math.h>
50636 int
50637 main ()
50638 {
50639  modfl(0, 0);
50640   ;
50641   return 0;
50642 }
50643 _ACEOF
50644 if ac_fn_cxx_try_compile "$LINENO"; then :
50645   glibcxx_cv_func_modfl_use=yes
50646 else
50647   glibcxx_cv_func_modfl_use=no
50648 fi
50649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50650       ac_ext=c
50651 ac_cpp='$CPP $CPPFLAGS'
50652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50655
50656
50657 fi
50658
50659   fi
50660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50661 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50662
50663   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50664     for ac_func in modfl
50665 do :
50666   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50667 if test "x$ac_cv_func_modfl" = x""yes; then :
50668   cat >>confdefs.h <<_ACEOF
50669 #define HAVE_MODFL 1
50670 _ACEOF
50671
50672 fi
50673 done
50674
50675   else
50676
50677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50678 $as_echo_n "checking for _modfl declaration... " >&6; }
50679   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50680     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50681   $as_echo_n "(cached) " >&6
50682 else
50683
50684
50685       ac_ext=cpp
50686 ac_cpp='$CXXCPP $CPPFLAGS'
50687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50690
50691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50692 /* end confdefs.h.  */
50693 #include <math.h>
50694 int
50695 main ()
50696 {
50697  _modfl(0, 0);
50698   ;
50699   return 0;
50700 }
50701 _ACEOF
50702 if ac_fn_cxx_try_compile "$LINENO"; then :
50703   glibcxx_cv_func__modfl_use=yes
50704 else
50705   glibcxx_cv_func__modfl_use=no
50706 fi
50707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50708       ac_ext=c
50709 ac_cpp='$CPP $CPPFLAGS'
50710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50713
50714
50715 fi
50716
50717   fi
50718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50719 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50720
50721     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50722       for ac_func in _modfl
50723 do :
50724   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50725 if test "x$ac_cv_func__modfl" = x""yes; then :
50726   cat >>confdefs.h <<_ACEOF
50727 #define HAVE__MODFL 1
50728 _ACEOF
50729
50730 fi
50731 done
50732
50733     fi
50734   fi
50735
50736
50737
50738
50739
50740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50741 $as_echo_n "checking for powl declaration... " >&6; }
50742   if test x${glibcxx_cv_func_powl_use+set} != xset; then
50743     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50744   $as_echo_n "(cached) " >&6
50745 else
50746
50747
50748       ac_ext=cpp
50749 ac_cpp='$CXXCPP $CPPFLAGS'
50750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50753
50754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50755 /* end confdefs.h.  */
50756 #include <math.h>
50757 int
50758 main ()
50759 {
50760  powl(0, 0);
50761   ;
50762   return 0;
50763 }
50764 _ACEOF
50765 if ac_fn_cxx_try_compile "$LINENO"; then :
50766   glibcxx_cv_func_powl_use=yes
50767 else
50768   glibcxx_cv_func_powl_use=no
50769 fi
50770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50771       ac_ext=c
50772 ac_cpp='$CPP $CPPFLAGS'
50773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50776
50777
50778 fi
50779
50780   fi
50781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50782 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50783
50784   if test x$glibcxx_cv_func_powl_use = x"yes"; then
50785     for ac_func in powl
50786 do :
50787   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50788 if test "x$ac_cv_func_powl" = x""yes; then :
50789   cat >>confdefs.h <<_ACEOF
50790 #define HAVE_POWL 1
50791 _ACEOF
50792
50793 fi
50794 done
50795
50796   else
50797
50798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50799 $as_echo_n "checking for _powl declaration... " >&6; }
50800   if test x${glibcxx_cv_func__powl_use+set} != xset; then
50801     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50802   $as_echo_n "(cached) " >&6
50803 else
50804
50805
50806       ac_ext=cpp
50807 ac_cpp='$CXXCPP $CPPFLAGS'
50808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50811
50812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50813 /* end confdefs.h.  */
50814 #include <math.h>
50815 int
50816 main ()
50817 {
50818  _powl(0, 0);
50819   ;
50820   return 0;
50821 }
50822 _ACEOF
50823 if ac_fn_cxx_try_compile "$LINENO"; then :
50824   glibcxx_cv_func__powl_use=yes
50825 else
50826   glibcxx_cv_func__powl_use=no
50827 fi
50828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50829       ac_ext=c
50830 ac_cpp='$CPP $CPPFLAGS'
50831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50834
50835
50836 fi
50837
50838   fi
50839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50840 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50841
50842     if test x$glibcxx_cv_func__powl_use = x"yes"; then
50843       for ac_func in _powl
50844 do :
50845   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50846 if test "x$ac_cv_func__powl" = x""yes; then :
50847   cat >>confdefs.h <<_ACEOF
50848 #define HAVE__POWL 1
50849 _ACEOF
50850
50851 fi
50852 done
50853
50854     fi
50855   fi
50856
50857
50858
50859
50860
50861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50862 $as_echo_n "checking for sqrtl declaration... " >&6; }
50863   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50864     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50865   $as_echo_n "(cached) " >&6
50866 else
50867
50868
50869       ac_ext=cpp
50870 ac_cpp='$CXXCPP $CPPFLAGS'
50871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50874
50875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50876 /* end confdefs.h.  */
50877 #include <math.h>
50878                       #ifdef HAVE_IEEEFP_H
50879                       #include <ieeefp.h>
50880                       #endif
50881
50882 int
50883 main ()
50884 {
50885  sqrtl(0);
50886   ;
50887   return 0;
50888 }
50889 _ACEOF
50890 if ac_fn_cxx_try_compile "$LINENO"; then :
50891   glibcxx_cv_func_sqrtl_use=yes
50892 else
50893   glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
50907 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50908
50909   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50910     for ac_func in sqrtl
50911 do :
50912   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50913 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50914   cat >>confdefs.h <<_ACEOF
50915 #define HAVE_SQRTL 1
50916 _ACEOF
50917
50918 fi
50919 done
50920
50921   else
50922
50923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50924 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50925   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50926     if test "${glibcxx_cv_func__sqrtl_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                       #ifdef HAVE_IEEEFP_H
50941                       #include <ieeefp.h>
50942                       #endif
50943
50944 int
50945 main ()
50946 {
50947  _sqrtl(0);
50948   ;
50949   return 0;
50950 }
50951 _ACEOF
50952 if ac_fn_cxx_try_compile "$LINENO"; then :
50953   glibcxx_cv_func__sqrtl_use=yes
50954 else
50955   glibcxx_cv_func__sqrtl_use=no
50956 fi
50957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50958       ac_ext=c
50959 ac_cpp='$CPP $CPPFLAGS'
50960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50963
50964
50965 fi
50966
50967   fi
50968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50969 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50970
50971     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50972       for ac_func in _sqrtl
50973 do :
50974   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50975 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50976   cat >>confdefs.h <<_ACEOF
50977 #define HAVE__SQRTL 1
50978 _ACEOF
50979
50980 fi
50981 done
50982
50983     fi
50984   fi
50985
50986
50987
50988
50989
50990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50991 $as_echo_n "checking for sincosl declaration... " >&6; }
50992   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50993     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50994   $as_echo_n "(cached) " >&6
50995 else
50996
50997
50998       ac_ext=cpp
50999 ac_cpp='$CXXCPP $CPPFLAGS'
51000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51003
51004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51005 /* end confdefs.h.  */
51006 #include <math.h>
51007 int
51008 main ()
51009 {
51010  sincosl(0, 0, 0);
51011   ;
51012   return 0;
51013 }
51014 _ACEOF
51015 if ac_fn_cxx_try_compile "$LINENO"; then :
51016   glibcxx_cv_func_sincosl_use=yes
51017 else
51018   glibcxx_cv_func_sincosl_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_sincosl_use" >&5
51032 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51033
51034   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51035     for ac_func in sincosl
51036 do :
51037   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51038 if test "x$ac_cv_func_sincosl" = x""yes; then :
51039   cat >>confdefs.h <<_ACEOF
51040 #define HAVE_SINCOSL 1
51041 _ACEOF
51042
51043 fi
51044 done
51045
51046   else
51047
51048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51049 $as_echo_n "checking for _sincosl declaration... " >&6; }
51050   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51051     if test "${glibcxx_cv_func__sincosl_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 int
51066 main ()
51067 {
51068  _sincosl(0, 0, 0);
51069   ;
51070   return 0;
51071 }
51072 _ACEOF
51073 if ac_fn_cxx_try_compile "$LINENO"; then :
51074   glibcxx_cv_func__sincosl_use=yes
51075 else
51076   glibcxx_cv_func__sincosl_use=no
51077 fi
51078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51079       ac_ext=c
51080 ac_cpp='$CPP $CPPFLAGS'
51081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51084
51085
51086 fi
51087
51088   fi
51089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51090 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51091
51092     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51093       for ac_func in _sincosl
51094 do :
51095   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51096 if test "x$ac_cv_func__sincosl" = x""yes; then :
51097   cat >>confdefs.h <<_ACEOF
51098 #define HAVE__SINCOSL 1
51099 _ACEOF
51100
51101 fi
51102 done
51103
51104     fi
51105   fi
51106
51107
51108
51109
51110
51111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51112 $as_echo_n "checking for finitel declaration... " >&6; }
51113   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51114     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51115   $as_echo_n "(cached) " >&6
51116 else
51117
51118
51119       ac_ext=cpp
51120 ac_cpp='$CXXCPP $CPPFLAGS'
51121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51124
51125       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51126 /* end confdefs.h.  */
51127 #include <math.h>
51128                       #ifdef HAVE_IEEEFP_H
51129                       #include <ieeefp.h>
51130                       #endif
51131
51132 int
51133 main ()
51134 {
51135  finitel(0);
51136   ;
51137   return 0;
51138 }
51139 _ACEOF
51140 if ac_fn_cxx_try_compile "$LINENO"; then :
51141   glibcxx_cv_func_finitel_use=yes
51142 else
51143   glibcxx_cv_func_finitel_use=no
51144 fi
51145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51146       ac_ext=c
51147 ac_cpp='$CPP $CPPFLAGS'
51148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51151
51152
51153 fi
51154
51155   fi
51156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51157 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51158
51159   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51160     for ac_func in finitel
51161 do :
51162   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51163 if test "x$ac_cv_func_finitel" = x""yes; then :
51164   cat >>confdefs.h <<_ACEOF
51165 #define HAVE_FINITEL 1
51166 _ACEOF
51167
51168 fi
51169 done
51170
51171   else
51172
51173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51174 $as_echo_n "checking for _finitel declaration... " >&6; }
51175   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51176     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51177   $as_echo_n "(cached) " >&6
51178 else
51179
51180
51181       ac_ext=cpp
51182 ac_cpp='$CXXCPP $CPPFLAGS'
51183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51186
51187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51188 /* end confdefs.h.  */
51189 #include <math.h>
51190                       #ifdef HAVE_IEEEFP_H
51191                       #include <ieeefp.h>
51192                       #endif
51193
51194 int
51195 main ()
51196 {
51197  _finitel(0);
51198   ;
51199   return 0;
51200 }
51201 _ACEOF
51202 if ac_fn_cxx_try_compile "$LINENO"; then :
51203   glibcxx_cv_func__finitel_use=yes
51204 else
51205   glibcxx_cv_func__finitel_use=no
51206 fi
51207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51208       ac_ext=c
51209 ac_cpp='$CPP $CPPFLAGS'
51210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51213
51214
51215 fi
51216
51217   fi
51218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51219 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51220
51221     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51222       for ac_func in _finitel
51223 do :
51224   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51225 if test "x$ac_cv_func__finitel" = x""yes; then :
51226   cat >>confdefs.h <<_ACEOF
51227 #define HAVE__FINITEL 1
51228 _ACEOF
51229
51230 fi
51231 done
51232
51233     fi
51234   fi
51235
51236
51237
51238
51239   LIBS="$ac_save_LIBS"
51240   CXXFLAGS="$ac_save_CXXFLAGS"
51241
51242
51243   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51244   ac_save_CXXFLAGS="$CXXFLAGS"
51245   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51246
51247
51248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51249 $as_echo_n "checking for strtold declaration... " >&6; }
51250   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51251     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51252   $as_echo_n "(cached) " >&6
51253 else
51254
51255
51256       ac_ext=cpp
51257 ac_cpp='$CXXCPP $CPPFLAGS'
51258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51261
51262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51263 /* end confdefs.h.  */
51264 #include <stdlib.h>
51265 int
51266 main ()
51267 {
51268  strtold(0, 0);
51269   ;
51270   return 0;
51271 }
51272 _ACEOF
51273 if ac_fn_cxx_try_compile "$LINENO"; then :
51274   glibcxx_cv_func_strtold_use=yes
51275 else
51276   glibcxx_cv_func_strtold_use=no
51277 fi
51278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51279       ac_ext=c
51280 ac_cpp='$CPP $CPPFLAGS'
51281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51284
51285
51286 fi
51287
51288   fi
51289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51290 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51291   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51292     for ac_func in strtold
51293 do :
51294   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51295 if test "x$ac_cv_func_strtold" = x""yes; then :
51296   cat >>confdefs.h <<_ACEOF
51297 #define HAVE_STRTOLD 1
51298 _ACEOF
51299
51300 fi
51301 done
51302
51303   fi
51304
51305
51306
51307
51308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51309 $as_echo_n "checking for strtof declaration... " >&6; }
51310   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51311     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51312   $as_echo_n "(cached) " >&6
51313 else
51314
51315
51316       ac_ext=cpp
51317 ac_cpp='$CXXCPP $CPPFLAGS'
51318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51321
51322       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51323 /* end confdefs.h.  */
51324 #include <stdlib.h>
51325 int
51326 main ()
51327 {
51328  strtof(0, 0);
51329   ;
51330   return 0;
51331 }
51332 _ACEOF
51333 if ac_fn_cxx_try_compile "$LINENO"; then :
51334   glibcxx_cv_func_strtof_use=yes
51335 else
51336   glibcxx_cv_func_strtof_use=no
51337 fi
51338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51339       ac_ext=c
51340 ac_cpp='$CPP $CPPFLAGS'
51341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51344
51345
51346 fi
51347
51348   fi
51349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51350 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51351   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51352     for ac_func in strtof
51353 do :
51354   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51355 if test "x$ac_cv_func_strtof" = x""yes; then :
51356   cat >>confdefs.h <<_ACEOF
51357 #define HAVE_STRTOF 1
51358 _ACEOF
51359
51360 fi
51361 done
51362
51363   fi
51364
51365
51366
51367
51368   CXXFLAGS="$ac_save_CXXFLAGS"
51369
51370     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51371
51372
51373
51374    # Check whether --enable-tls was given.
51375 if test "${enable_tls+set}" = set; then :
51376   enableval=$enable_tls;
51377       case "$enableval" in
51378        yes|no) ;;
51379        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51380       esac
51381
51382 else
51383   enable_tls=yes
51384 fi
51385
51386
51387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51388 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51389 if test "${gcc_cv_have_tls+set}" = set; then :
51390   $as_echo_n "(cached) " >&6
51391 else
51392
51393     if test "$cross_compiling" = yes; then :
51394                 if test x$gcc_no_link = xyes; then
51395   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51396 fi
51397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51398 /* end confdefs.h.  */
51399 __thread int a; int b; int main() { return a = b; }
51400 _ACEOF
51401 if ac_fn_c_try_link "$LINENO"; then :
51402   chktls_save_LDFLAGS="$LDFLAGS"
51403                           case $host in
51404             *-*-linux*)
51405               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51406               ;;
51407           esac
51408           chktls_save_CFLAGS="$CFLAGS"
51409           CFLAGS="-fPIC $CFLAGS"
51410                   if test x$gcc_no_link = xyes; then
51411   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51412 fi
51413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51414 /* end confdefs.h.  */
51415 int f() { return 0; }
51416 _ACEOF
51417 if ac_fn_c_try_link "$LINENO"; then :
51418   if test x$gcc_no_link = xyes; then
51419   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51420 fi
51421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51422 /* end confdefs.h.  */
51423 __thread int a; int b; int f() { return a = b; }
51424 _ACEOF
51425 if ac_fn_c_try_link "$LINENO"; then :
51426   gcc_cv_have_tls=yes
51427 else
51428   gcc_cv_have_tls=no
51429 fi
51430 rm -f core conftest.err conftest.$ac_objext \
51431     conftest$ac_exeext conftest.$ac_ext
51432 else
51433   gcc_cv_have_tls=yes
51434 fi
51435 rm -f core conftest.err conftest.$ac_objext \
51436     conftest$ac_exeext conftest.$ac_ext
51437           CFLAGS="$chktls_save_CFLAGS"
51438           LDFLAGS="$chktls_save_LDFLAGS"
51439 else
51440   gcc_cv_have_tls=no
51441 fi
51442 rm -f core conftest.err conftest.$ac_objext \
51443     conftest$ac_exeext conftest.$ac_ext
51444
51445
51446 else
51447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51448 /* end confdefs.h.  */
51449 __thread int a; int b; int main() { return a = b; }
51450 _ACEOF
51451 if ac_fn_c_try_run "$LINENO"; then :
51452                       chktls_save_LDFLAGS="$LDFLAGS"
51453       LDFLAGS="-static $LDFLAGS"
51454       if test x$gcc_no_link = xyes; then
51455   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51456 fi
51457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51458 /* end confdefs.h.  */
51459 int main() { return 0; }
51460 _ACEOF
51461 if ac_fn_c_try_link "$LINENO"; then :
51462   if test "$cross_compiling" = yes; then :
51463   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51465 as_fn_error "cannot run test program while cross compiling
51466 See \`config.log' for more details." "$LINENO" 5; }
51467 else
51468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51469 /* end confdefs.h.  */
51470 __thread int a; int b; int main() { return a = b; }
51471 _ACEOF
51472 if ac_fn_c_try_run "$LINENO"; then :
51473   gcc_cv_have_tls=yes
51474 else
51475   gcc_cv_have_tls=no
51476 fi
51477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51478   conftest.$ac_objext conftest.beam conftest.$ac_ext
51479 fi
51480
51481 else
51482   gcc_cv_have_tls=yes
51483 fi
51484 rm -f core conftest.err conftest.$ac_objext \
51485     conftest$ac_exeext conftest.$ac_ext
51486       LDFLAGS="$chktls_save_LDFLAGS"
51487       if test $gcc_cv_have_tls = yes; then
51488                                                 chktls_save_CFLAGS="$CFLAGS"
51489         thread_CFLAGS=failed
51490         for flag in '' '-pthread' '-lpthread'; do
51491           CFLAGS="$flag $chktls_save_CFLAGS"
51492           if test x$gcc_no_link = xyes; then
51493   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51494 fi
51495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51496 /* end confdefs.h.  */
51497 #include <pthread.h>
51498                 void *g(void *d) { return NULL; }
51499 int
51500 main ()
51501 {
51502 pthread_t t; pthread_create(&t,NULL,g,NULL);
51503   ;
51504   return 0;
51505 }
51506 _ACEOF
51507 if ac_fn_c_try_link "$LINENO"; then :
51508   thread_CFLAGS="$flag"
51509 fi
51510 rm -f core conftest.err conftest.$ac_objext \
51511     conftest$ac_exeext conftest.$ac_ext
51512           if test "X$thread_CFLAGS" != Xfailed; then
51513             break
51514           fi
51515         done
51516         CFLAGS="$chktls_save_CFLAGS"
51517         if test "X$thread_CFLAGS" != Xfailed; then
51518           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51519                                                   if test "$cross_compiling" = yes; then :
51520   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51522 as_fn_error "cannot run test program while cross compiling
51523 See \`config.log' for more details." "$LINENO" 5; }
51524 else
51525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51526 /* end confdefs.h.  */
51527 #include <pthread.h>
51528                 __thread int a;
51529                 static int *volatile a_in_other_thread;
51530                 static void *
51531                 thread_func (void *arg)
51532                 {
51533                   a_in_other_thread = &a;
51534                   return (void *)0;
51535                 }
51536 int
51537 main ()
51538 {
51539 pthread_t thread;
51540                 void *thread_retval;
51541                 int *volatile a_in_main_thread;
51542                 a_in_main_thread = &a;
51543                 if (pthread_create (&thread, (pthread_attr_t *)0,
51544                                     thread_func, (void *)0))
51545                   return 0;
51546                 if (pthread_join (thread, &thread_retval))
51547                   return 0;
51548                 return (a_in_other_thread == a_in_main_thread);
51549   ;
51550   return 0;
51551 }
51552 _ACEOF
51553 if ac_fn_c_try_run "$LINENO"; then :
51554   gcc_cv_have_tls=yes
51555 else
51556   gcc_cv_have_tls=no
51557 fi
51558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51559   conftest.$ac_objext conftest.beam conftest.$ac_ext
51560 fi
51561
51562           CFLAGS="$chktls_save_CFLAGS"
51563         fi
51564       fi
51565 else
51566   gcc_cv_have_tls=no
51567 fi
51568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51569   conftest.$ac_objext conftest.beam conftest.$ac_ext
51570 fi
51571
51572 fi
51573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51574 $as_echo "$gcc_cv_have_tls" >&6; }
51575   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51576
51577 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51578
51579   fi
51580
51581
51582
51583
51584
51585           am_save_CPPFLAGS="$CPPFLAGS"
51586
51587   for element in $INCICONV; do
51588     haveit=
51589     for x in $CPPFLAGS; do
51590
51591   acl_save_prefix="$prefix"
51592   prefix="$acl_final_prefix"
51593   acl_save_exec_prefix="$exec_prefix"
51594   exec_prefix="$acl_final_exec_prefix"
51595   eval x=\"$x\"
51596   exec_prefix="$acl_save_exec_prefix"
51597   prefix="$acl_save_prefix"
51598
51599       if test "X$x" = "X$element"; then
51600         haveit=yes
51601         break
51602       fi
51603     done
51604     if test -z "$haveit"; then
51605       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51606     fi
51607   done
51608
51609
51610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51611 $as_echo_n "checking for iconv... " >&6; }
51612 if test "${am_cv_func_iconv+set}" = set; then :
51613   $as_echo_n "(cached) " >&6
51614 else
51615
51616     am_cv_func_iconv="no, consider installing GNU libiconv"
51617     am_cv_lib_iconv=no
51618     if test x$gcc_no_link = xyes; then
51619   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51620 fi
51621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51622 /* end confdefs.h.  */
51623 #include <stdlib.h>
51624 #include <iconv.h>
51625 int
51626 main ()
51627 {
51628 iconv_t cd = iconv_open("","");
51629        iconv(cd,NULL,NULL,NULL,NULL);
51630        iconv_close(cd);
51631   ;
51632   return 0;
51633 }
51634 _ACEOF
51635 if ac_fn_c_try_link "$LINENO"; then :
51636   am_cv_func_iconv=yes
51637 fi
51638 rm -f core conftest.err conftest.$ac_objext \
51639     conftest$ac_exeext conftest.$ac_ext
51640     if test "$am_cv_func_iconv" != yes; then
51641       am_save_LIBS="$LIBS"
51642       LIBS="$LIBS $LIBICONV"
51643       if test x$gcc_no_link = xyes; then
51644   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51645 fi
51646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51647 /* end confdefs.h.  */
51648 #include <stdlib.h>
51649 #include <iconv.h>
51650 int
51651 main ()
51652 {
51653 iconv_t cd = iconv_open("","");
51654          iconv(cd,NULL,NULL,NULL,NULL);
51655          iconv_close(cd);
51656   ;
51657   return 0;
51658 }
51659 _ACEOF
51660 if ac_fn_c_try_link "$LINENO"; then :
51661   am_cv_lib_iconv=yes
51662         am_cv_func_iconv=yes
51663 fi
51664 rm -f core conftest.err conftest.$ac_objext \
51665     conftest$ac_exeext conftest.$ac_ext
51666       LIBS="$am_save_LIBS"
51667     fi
51668
51669 fi
51670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51671 $as_echo "$am_cv_func_iconv" >&6; }
51672   if test "$am_cv_func_iconv" = yes; then
51673
51674 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51675
51676   fi
51677   if test "$am_cv_lib_iconv" = yes; then
51678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51679 $as_echo_n "checking how to link with libiconv... " >&6; }
51680     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51681 $as_echo "$LIBICONV" >&6; }
51682   else
51683             CPPFLAGS="$am_save_CPPFLAGS"
51684     LIBICONV=
51685     LTLIBICONV=
51686   fi
51687
51688
51689
51690   if test "$am_cv_func_iconv" = yes; then
51691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51692 $as_echo_n "checking for iconv declaration... " >&6; }
51693     if test "${am_cv_proto_iconv+set}" = set; then :
51694   $as_echo_n "(cached) " >&6
51695 else
51696
51697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51698 /* end confdefs.h.  */
51699
51700 #include <stdlib.h>
51701 #include <iconv.h>
51702 extern
51703 #ifdef __cplusplus
51704 "C"
51705 #endif
51706 #if defined(__STDC__) || defined(__cplusplus)
51707 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51708 #else
51709 size_t iconv();
51710 #endif
51711
51712 int
51713 main ()
51714 {
51715
51716   ;
51717   return 0;
51718 }
51719 _ACEOF
51720 if ac_fn_c_try_compile "$LINENO"; then :
51721   am_cv_proto_iconv_arg1=""
51722 else
51723   am_cv_proto_iconv_arg1="const"
51724 fi
51725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51726       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);"
51727 fi
51728
51729     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51730     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51731          }$am_cv_proto_iconv" >&5
51732 $as_echo "${ac_t:-
51733          }$am_cv_proto_iconv" >&6; }
51734
51735 cat >>confdefs.h <<_ACEOF
51736 #define ICONV_CONST $am_cv_proto_iconv_arg1
51737 _ACEOF
51738
51739   fi
51740
51741     ;;
51742   *-mingw32*)
51743
51744   # If we're not using GNU ld, then there's no point in even trying these
51745   # tests.  Check for that first.  We should have already tested for gld
51746   # by now (in libtool), but require it now just to be safe...
51747   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51748   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51749
51750
51751
51752   # The name set by libtool depends on the version of libtool.  Shame on us
51753   # for depending on an impl detail, but c'est la vie.  Older versions used
51754   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51755   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51756   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51757   # set (hence we're using an older libtool), then set it.
51758   if test x${with_gnu_ld+set} != xset; then
51759     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51760       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51761       with_gnu_ld=no
51762     else
51763       with_gnu_ld=$ac_cv_prog_gnu_ld
51764     fi
51765   fi
51766
51767   # Start by getting the version number.  I think the libtool test already
51768   # does some of this, but throws away the result.
51769   glibcxx_ld_is_gold=no
51770   if test x"$with_gnu_ld" = x"yes"; then
51771     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51772 $as_echo_n "checking for ld version... " >&6; }
51773
51774     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51775       glibcxx_ld_is_gold=yes
51776     fi
51777     ldver=`$LD --version 2>/dev/null |
51778            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'`
51779
51780     glibcxx_gnu_ld_version=`echo $ldver | \
51781            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51782     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51783 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51784   fi
51785
51786   # Set --gc-sections.
51787   glibcxx_have_gc_sections=no
51788   if test "$glibcxx_ld_is_gold" = "yes"; then
51789     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51790       glibcxx_have_gc_sections=yes
51791     fi
51792   else
51793     glibcxx_gcsections_min_ld=21602
51794     if test x"$with_gnu_ld" = x"yes" &&
51795         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51796       glibcxx_have_gc_sections=yes
51797     fi
51798   fi
51799   if test "$glibcxx_have_gc_sections" = "yes"; then
51800     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
51801     # NB: This flag only works reliably after 2.16.1. Configure tests
51802     # for this are difficult, so hard wire a value that should work.
51803
51804     ac_test_CFLAGS="${CFLAGS+set}"
51805     ac_save_CFLAGS="$CFLAGS"
51806     CFLAGS='-Wl,--gc-sections'
51807
51808     # Check for -Wl,--gc-sections
51809     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51810 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51811     if test x$gcc_no_link = xyes; then
51812   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51813 fi
51814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51815 /* end confdefs.h.  */
51816  int one(void) { return 1; }
51817      int two(void) { return 2; }
51818
51819 int
51820 main ()
51821 {
51822  two();
51823   ;
51824   return 0;
51825 }
51826 _ACEOF
51827 if ac_fn_c_try_link "$LINENO"; then :
51828   ac_gcsections=yes
51829 else
51830   ac_gcsections=no
51831 fi
51832 rm -f core conftest.err conftest.$ac_objext \
51833     conftest$ac_exeext conftest.$ac_ext
51834     if test "$ac_gcsections" = "yes"; then
51835       rm -f conftest.c
51836       touch conftest.c
51837       if $CC -c conftest.c; then
51838         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51839            grep "Warning: gc-sections option ignored" > /dev/null; then
51840           ac_gcsections=no
51841         fi
51842       fi
51843       rm -f conftest.c conftest.o conftest
51844     fi
51845     if test "$ac_gcsections" = "yes"; then
51846       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51847     fi
51848     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51849 $as_echo "$ac_gcsections" >&6; }
51850
51851     if test "$ac_test_CFLAGS" = set; then
51852       CFLAGS="$ac_save_CFLAGS"
51853     else
51854       # this is the suspicious part
51855       CFLAGS=''
51856     fi
51857   fi
51858
51859   # Set -z,relro.
51860   # Note this is only for shared objects.
51861   ac_ld_relro=no
51862   if test x"$with_gnu_ld" = x"yes"; then
51863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51864 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51865     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51866     if test -n "$cxx_z_relo"; then
51867       OPT_LDFLAGS="-Wl,-z,relro"
51868       ac_ld_relro=yes
51869     fi
51870     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51871 $as_echo "$ac_ld_relro" >&6; }
51872   fi
51873
51874   # Set linker optimization flags.
51875   if test x"$with_gnu_ld" = x"yes"; then
51876     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51877   fi
51878
51879
51880
51881
51882
51883   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51884   ac_save_CXXFLAGS="$CXXFLAGS"
51885   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51886
51887     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51888 $as_echo_n "checking for sin in -lm... " >&6; }
51889 if test "${ac_cv_lib_m_sin+set}" = set; then :
51890   $as_echo_n "(cached) " >&6
51891 else
51892   ac_check_lib_save_LIBS=$LIBS
51893 LIBS="-lm  $LIBS"
51894 if test x$gcc_no_link = xyes; then
51895   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51896 fi
51897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51898 /* end confdefs.h.  */
51899
51900 /* Override any GCC internal prototype to avoid an error.
51901    Use char because int might match the return type of a GCC
51902    builtin and then its argument prototype would still apply.  */
51903 #ifdef __cplusplus
51904 extern "C"
51905 #endif
51906 char sin ();
51907 int
51908 main ()
51909 {
51910 return sin ();
51911   ;
51912   return 0;
51913 }
51914 _ACEOF
51915 if ac_fn_c_try_link "$LINENO"; then :
51916   ac_cv_lib_m_sin=yes
51917 else
51918   ac_cv_lib_m_sin=no
51919 fi
51920 rm -f core conftest.err conftest.$ac_objext \
51921     conftest$ac_exeext conftest.$ac_ext
51922 LIBS=$ac_check_lib_save_LIBS
51923 fi
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51925 $as_echo "$ac_cv_lib_m_sin" >&6; }
51926 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51927   libm="-lm"
51928 fi
51929
51930   ac_save_LIBS="$LIBS"
51931   LIBS="$LIBS $libm"
51932
51933
51934
51935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51936 $as_echo_n "checking for isinf declaration... " >&6; }
51937   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51938     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51939   $as_echo_n "(cached) " >&6
51940 else
51941
51942
51943       ac_ext=cpp
51944 ac_cpp='$CXXCPP $CPPFLAGS'
51945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51948
51949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51950 /* end confdefs.h.  */
51951 #include <math.h>
51952                       #ifdef HAVE_IEEEFP_H
51953                       #include <ieeefp.h>
51954                       #endif
51955
51956 int
51957 main ()
51958 {
51959  isinf(0);
51960   ;
51961   return 0;
51962 }
51963 _ACEOF
51964 if ac_fn_cxx_try_compile "$LINENO"; then :
51965   glibcxx_cv_func_isinf_use=yes
51966 else
51967   glibcxx_cv_func_isinf_use=no
51968 fi
51969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51970       ac_ext=c
51971 ac_cpp='$CPP $CPPFLAGS'
51972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51975
51976
51977 fi
51978
51979   fi
51980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51981 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51982
51983   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51984     for ac_func in isinf
51985 do :
51986   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51987 if test "x$ac_cv_func_isinf" = x""yes; then :
51988   cat >>confdefs.h <<_ACEOF
51989 #define HAVE_ISINF 1
51990 _ACEOF
51991
51992 fi
51993 done
51994
51995   else
51996
51997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51998 $as_echo_n "checking for _isinf declaration... " >&6; }
51999   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52000     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52001   $as_echo_n "(cached) " >&6
52002 else
52003
52004
52005       ac_ext=cpp
52006 ac_cpp='$CXXCPP $CPPFLAGS'
52007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52010
52011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52012 /* end confdefs.h.  */
52013 #include <math.h>
52014                       #ifdef HAVE_IEEEFP_H
52015                       #include <ieeefp.h>
52016                       #endif
52017
52018 int
52019 main ()
52020 {
52021  _isinf(0);
52022   ;
52023   return 0;
52024 }
52025 _ACEOF
52026 if ac_fn_cxx_try_compile "$LINENO"; then :
52027   glibcxx_cv_func__isinf_use=yes
52028 else
52029   glibcxx_cv_func__isinf_use=no
52030 fi
52031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52032       ac_ext=c
52033 ac_cpp='$CPP $CPPFLAGS'
52034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52037
52038
52039 fi
52040
52041   fi
52042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52043 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52044
52045     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52046       for ac_func in _isinf
52047 do :
52048   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52049 if test "x$ac_cv_func__isinf" = x""yes; then :
52050   cat >>confdefs.h <<_ACEOF
52051 #define HAVE__ISINF 1
52052 _ACEOF
52053
52054 fi
52055 done
52056
52057     fi
52058   fi
52059
52060
52061
52062
52063
52064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52065 $as_echo_n "checking for isnan declaration... " >&6; }
52066   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52067     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52068   $as_echo_n "(cached) " >&6
52069 else
52070
52071
52072       ac_ext=cpp
52073 ac_cpp='$CXXCPP $CPPFLAGS'
52074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52077
52078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52079 /* end confdefs.h.  */
52080 #include <math.h>
52081                       #ifdef HAVE_IEEEFP_H
52082                       #include <ieeefp.h>
52083                       #endif
52084
52085 int
52086 main ()
52087 {
52088  isnan(0);
52089   ;
52090   return 0;
52091 }
52092 _ACEOF
52093 if ac_fn_cxx_try_compile "$LINENO"; then :
52094   glibcxx_cv_func_isnan_use=yes
52095 else
52096   glibcxx_cv_func_isnan_use=no
52097 fi
52098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52099       ac_ext=c
52100 ac_cpp='$CPP $CPPFLAGS'
52101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52104
52105
52106 fi
52107
52108   fi
52109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52110 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52111
52112   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52113     for ac_func in isnan
52114 do :
52115   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52116 if test "x$ac_cv_func_isnan" = x""yes; then :
52117   cat >>confdefs.h <<_ACEOF
52118 #define HAVE_ISNAN 1
52119 _ACEOF
52120
52121 fi
52122 done
52123
52124   else
52125
52126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52127 $as_echo_n "checking for _isnan declaration... " >&6; }
52128   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52129     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52130   $as_echo_n "(cached) " >&6
52131 else
52132
52133
52134       ac_ext=cpp
52135 ac_cpp='$CXXCPP $CPPFLAGS'
52136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52139
52140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52141 /* end confdefs.h.  */
52142 #include <math.h>
52143                       #ifdef HAVE_IEEEFP_H
52144                       #include <ieeefp.h>
52145                       #endif
52146
52147 int
52148 main ()
52149 {
52150  _isnan(0);
52151   ;
52152   return 0;
52153 }
52154 _ACEOF
52155 if ac_fn_cxx_try_compile "$LINENO"; then :
52156   glibcxx_cv_func__isnan_use=yes
52157 else
52158   glibcxx_cv_func__isnan_use=no
52159 fi
52160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52161       ac_ext=c
52162 ac_cpp='$CPP $CPPFLAGS'
52163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52166
52167
52168 fi
52169
52170   fi
52171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52172 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52173
52174     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52175       for ac_func in _isnan
52176 do :
52177   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52178 if test "x$ac_cv_func__isnan" = x""yes; then :
52179   cat >>confdefs.h <<_ACEOF
52180 #define HAVE__ISNAN 1
52181 _ACEOF
52182
52183 fi
52184 done
52185
52186     fi
52187   fi
52188
52189
52190
52191
52192
52193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52194 $as_echo_n "checking for finite declaration... " >&6; }
52195   if test x${glibcxx_cv_func_finite_use+set} != xset; then
52196     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52197   $as_echo_n "(cached) " >&6
52198 else
52199
52200
52201       ac_ext=cpp
52202 ac_cpp='$CXXCPP $CPPFLAGS'
52203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52206
52207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52208 /* end confdefs.h.  */
52209 #include <math.h>
52210                       #ifdef HAVE_IEEEFP_H
52211                       #include <ieeefp.h>
52212                       #endif
52213
52214 int
52215 main ()
52216 {
52217  finite(0);
52218   ;
52219   return 0;
52220 }
52221 _ACEOF
52222 if ac_fn_cxx_try_compile "$LINENO"; then :
52223   glibcxx_cv_func_finite_use=yes
52224 else
52225   glibcxx_cv_func_finite_use=no
52226 fi
52227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52228       ac_ext=c
52229 ac_cpp='$CPP $CPPFLAGS'
52230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52233
52234
52235 fi
52236
52237   fi
52238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52239 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52240
52241   if test x$glibcxx_cv_func_finite_use = x"yes"; then
52242     for ac_func in finite
52243 do :
52244   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52245 if test "x$ac_cv_func_finite" = x""yes; then :
52246   cat >>confdefs.h <<_ACEOF
52247 #define HAVE_FINITE 1
52248 _ACEOF
52249
52250 fi
52251 done
52252
52253   else
52254
52255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52256 $as_echo_n "checking for _finite declaration... " >&6; }
52257   if test x${glibcxx_cv_func__finite_use+set} != xset; then
52258     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52259   $as_echo_n "(cached) " >&6
52260 else
52261
52262
52263       ac_ext=cpp
52264 ac_cpp='$CXXCPP $CPPFLAGS'
52265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52268
52269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52270 /* end confdefs.h.  */
52271 #include <math.h>
52272                       #ifdef HAVE_IEEEFP_H
52273                       #include <ieeefp.h>
52274                       #endif
52275
52276 int
52277 main ()
52278 {
52279  _finite(0);
52280   ;
52281   return 0;
52282 }
52283 _ACEOF
52284 if ac_fn_cxx_try_compile "$LINENO"; then :
52285   glibcxx_cv_func__finite_use=yes
52286 else
52287   glibcxx_cv_func__finite_use=no
52288 fi
52289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52290       ac_ext=c
52291 ac_cpp='$CPP $CPPFLAGS'
52292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52295
52296
52297 fi
52298
52299   fi
52300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52301 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52302
52303     if test x$glibcxx_cv_func__finite_use = x"yes"; then
52304       for ac_func in _finite
52305 do :
52306   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52307 if test "x$ac_cv_func__finite" = x""yes; then :
52308   cat >>confdefs.h <<_ACEOF
52309 #define HAVE__FINITE 1
52310 _ACEOF
52311
52312 fi
52313 done
52314
52315     fi
52316   fi
52317
52318
52319
52320
52321
52322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52323 $as_echo_n "checking for sincos declaration... " >&6; }
52324   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52325     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52326   $as_echo_n "(cached) " >&6
52327 else
52328
52329
52330       ac_ext=cpp
52331 ac_cpp='$CXXCPP $CPPFLAGS'
52332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52335
52336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52337 /* end confdefs.h.  */
52338 #include <math.h>
52339 int
52340 main ()
52341 {
52342  sincos(0, 0, 0);
52343   ;
52344   return 0;
52345 }
52346 _ACEOF
52347 if ac_fn_cxx_try_compile "$LINENO"; then :
52348   glibcxx_cv_func_sincos_use=yes
52349 else
52350   glibcxx_cv_func_sincos_use=no
52351 fi
52352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52353       ac_ext=c
52354 ac_cpp='$CPP $CPPFLAGS'
52355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52358
52359
52360 fi
52361
52362   fi
52363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52364 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52365
52366   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52367     for ac_func in sincos
52368 do :
52369   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52370 if test "x$ac_cv_func_sincos" = x""yes; then :
52371   cat >>confdefs.h <<_ACEOF
52372 #define HAVE_SINCOS 1
52373 _ACEOF
52374
52375 fi
52376 done
52377
52378   else
52379
52380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52381 $as_echo_n "checking for _sincos declaration... " >&6; }
52382   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52383     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52384   $as_echo_n "(cached) " >&6
52385 else
52386
52387
52388       ac_ext=cpp
52389 ac_cpp='$CXXCPP $CPPFLAGS'
52390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52393
52394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52395 /* end confdefs.h.  */
52396 #include <math.h>
52397 int
52398 main ()
52399 {
52400  _sincos(0, 0, 0);
52401   ;
52402   return 0;
52403 }
52404 _ACEOF
52405 if ac_fn_cxx_try_compile "$LINENO"; then :
52406   glibcxx_cv_func__sincos_use=yes
52407 else
52408   glibcxx_cv_func__sincos_use=no
52409 fi
52410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52411       ac_ext=c
52412 ac_cpp='$CPP $CPPFLAGS'
52413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52416
52417
52418 fi
52419
52420   fi
52421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52422 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52423
52424     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52425       for ac_func in _sincos
52426 do :
52427   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52428 if test "x$ac_cv_func__sincos" = x""yes; then :
52429   cat >>confdefs.h <<_ACEOF
52430 #define HAVE__SINCOS 1
52431 _ACEOF
52432
52433 fi
52434 done
52435
52436     fi
52437   fi
52438
52439
52440
52441
52442
52443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52444 $as_echo_n "checking for fpclass declaration... " >&6; }
52445   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52446     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52447   $as_echo_n "(cached) " >&6
52448 else
52449
52450
52451       ac_ext=cpp
52452 ac_cpp='$CXXCPP $CPPFLAGS'
52453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52456
52457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52458 /* end confdefs.h.  */
52459 #include <math.h>
52460                       #ifdef HAVE_IEEEFP_H
52461                       #include <ieeefp.h>
52462                       #endif
52463
52464 int
52465 main ()
52466 {
52467  fpclass(0);
52468   ;
52469   return 0;
52470 }
52471 _ACEOF
52472 if ac_fn_cxx_try_compile "$LINENO"; then :
52473   glibcxx_cv_func_fpclass_use=yes
52474 else
52475   glibcxx_cv_func_fpclass_use=no
52476 fi
52477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52478       ac_ext=c
52479 ac_cpp='$CPP $CPPFLAGS'
52480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52483
52484
52485 fi
52486
52487   fi
52488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52489 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52490
52491   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52492     for ac_func in fpclass
52493 do :
52494   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52495 if test "x$ac_cv_func_fpclass" = x""yes; then :
52496   cat >>confdefs.h <<_ACEOF
52497 #define HAVE_FPCLASS 1
52498 _ACEOF
52499
52500 fi
52501 done
52502
52503   else
52504
52505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52506 $as_echo_n "checking for _fpclass declaration... " >&6; }
52507   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52508     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52509   $as_echo_n "(cached) " >&6
52510 else
52511
52512
52513       ac_ext=cpp
52514 ac_cpp='$CXXCPP $CPPFLAGS'
52515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52518
52519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52520 /* end confdefs.h.  */
52521 #include <math.h>
52522                       #ifdef HAVE_IEEEFP_H
52523                       #include <ieeefp.h>
52524                       #endif
52525
52526 int
52527 main ()
52528 {
52529  _fpclass(0);
52530   ;
52531   return 0;
52532 }
52533 _ACEOF
52534 if ac_fn_cxx_try_compile "$LINENO"; then :
52535   glibcxx_cv_func__fpclass_use=yes
52536 else
52537   glibcxx_cv_func__fpclass_use=no
52538 fi
52539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52540       ac_ext=c
52541 ac_cpp='$CPP $CPPFLAGS'
52542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52545
52546
52547 fi
52548
52549   fi
52550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52551 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52552
52553     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52554       for ac_func in _fpclass
52555 do :
52556   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52557 if test "x$ac_cv_func__fpclass" = x""yes; then :
52558   cat >>confdefs.h <<_ACEOF
52559 #define HAVE__FPCLASS 1
52560 _ACEOF
52561
52562 fi
52563 done
52564
52565     fi
52566   fi
52567
52568
52569
52570
52571
52572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52573 $as_echo_n "checking for qfpclass declaration... " >&6; }
52574   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52575     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52576   $as_echo_n "(cached) " >&6
52577 else
52578
52579
52580       ac_ext=cpp
52581 ac_cpp='$CXXCPP $CPPFLAGS'
52582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52585
52586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52587 /* end confdefs.h.  */
52588 #include <math.h>
52589                       #ifdef HAVE_IEEEFP_H
52590                       #include <ieeefp.h>
52591                       #endif
52592
52593 int
52594 main ()
52595 {
52596  qfpclass(0);
52597   ;
52598   return 0;
52599 }
52600 _ACEOF
52601 if ac_fn_cxx_try_compile "$LINENO"; then :
52602   glibcxx_cv_func_qfpclass_use=yes
52603 else
52604   glibcxx_cv_func_qfpclass_use=no
52605 fi
52606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52607       ac_ext=c
52608 ac_cpp='$CPP $CPPFLAGS'
52609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52612
52613
52614 fi
52615
52616   fi
52617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52618 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52619
52620   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52621     for ac_func in qfpclass
52622 do :
52623   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52624 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52625   cat >>confdefs.h <<_ACEOF
52626 #define HAVE_QFPCLASS 1
52627 _ACEOF
52628
52629 fi
52630 done
52631
52632   else
52633
52634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52635 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52636   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52637     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52638   $as_echo_n "(cached) " >&6
52639 else
52640
52641
52642       ac_ext=cpp
52643 ac_cpp='$CXXCPP $CPPFLAGS'
52644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52647
52648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52649 /* end confdefs.h.  */
52650 #include <math.h>
52651                       #ifdef HAVE_IEEEFP_H
52652                       #include <ieeefp.h>
52653                       #endif
52654
52655 int
52656 main ()
52657 {
52658  _qfpclass(0);
52659   ;
52660   return 0;
52661 }
52662 _ACEOF
52663 if ac_fn_cxx_try_compile "$LINENO"; then :
52664   glibcxx_cv_func__qfpclass_use=yes
52665 else
52666   glibcxx_cv_func__qfpclass_use=no
52667 fi
52668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52669       ac_ext=c
52670 ac_cpp='$CPP $CPPFLAGS'
52671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52674
52675
52676 fi
52677
52678   fi
52679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52680 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52681
52682     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52683       for ac_func in _qfpclass
52684 do :
52685   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52686 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52687   cat >>confdefs.h <<_ACEOF
52688 #define HAVE__QFPCLASS 1
52689 _ACEOF
52690
52691 fi
52692 done
52693
52694     fi
52695   fi
52696
52697
52698
52699
52700
52701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52702 $as_echo_n "checking for hypot declaration... " >&6; }
52703   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52704     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52705   $as_echo_n "(cached) " >&6
52706 else
52707
52708
52709       ac_ext=cpp
52710 ac_cpp='$CXXCPP $CPPFLAGS'
52711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52714
52715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52716 /* end confdefs.h.  */
52717 #include <math.h>
52718 int
52719 main ()
52720 {
52721  hypot(0, 0);
52722   ;
52723   return 0;
52724 }
52725 _ACEOF
52726 if ac_fn_cxx_try_compile "$LINENO"; then :
52727   glibcxx_cv_func_hypot_use=yes
52728 else
52729   glibcxx_cv_func_hypot_use=no
52730 fi
52731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52732       ac_ext=c
52733 ac_cpp='$CPP $CPPFLAGS'
52734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52737
52738
52739 fi
52740
52741   fi
52742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52743 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52744
52745   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52746     for ac_func in hypot
52747 do :
52748   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52749 if test "x$ac_cv_func_hypot" = x""yes; then :
52750   cat >>confdefs.h <<_ACEOF
52751 #define HAVE_HYPOT 1
52752 _ACEOF
52753
52754 fi
52755 done
52756
52757   else
52758
52759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52760 $as_echo_n "checking for _hypot declaration... " >&6; }
52761   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52762     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52763   $as_echo_n "(cached) " >&6
52764 else
52765
52766
52767       ac_ext=cpp
52768 ac_cpp='$CXXCPP $CPPFLAGS'
52769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52772
52773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52774 /* end confdefs.h.  */
52775 #include <math.h>
52776 int
52777 main ()
52778 {
52779  _hypot(0, 0);
52780   ;
52781   return 0;
52782 }
52783 _ACEOF
52784 if ac_fn_cxx_try_compile "$LINENO"; then :
52785   glibcxx_cv_func__hypot_use=yes
52786 else
52787   glibcxx_cv_func__hypot_use=no
52788 fi
52789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52790       ac_ext=c
52791 ac_cpp='$CPP $CPPFLAGS'
52792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52795
52796
52797 fi
52798
52799   fi
52800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52801 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52802
52803     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52804       for ac_func in _hypot
52805 do :
52806   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52807 if test "x$ac_cv_func__hypot" = x""yes; then :
52808   cat >>confdefs.h <<_ACEOF
52809 #define HAVE__HYPOT 1
52810 _ACEOF
52811
52812 fi
52813 done
52814
52815     fi
52816   fi
52817
52818
52819
52820
52821
52822     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52823 $as_echo_n "checking for float trig functions... " >&6; }
52824   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52825   $as_echo_n "(cached) " >&6
52826 else
52827
52828
52829     ac_ext=cpp
52830 ac_cpp='$CXXCPP $CPPFLAGS'
52831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52834
52835     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52836 /* end confdefs.h.  */
52837 #include <math.h>
52838 int
52839 main ()
52840 {
52841 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52842   ;
52843   return 0;
52844 }
52845 _ACEOF
52846 if ac_fn_cxx_try_compile "$LINENO"; then :
52847   glibcxx_cv_func_float_trig_use=yes
52848 else
52849   glibcxx_cv_func_float_trig_use=no
52850 fi
52851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52852     ac_ext=c
52853 ac_cpp='$CPP $CPPFLAGS'
52854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52857
52858 fi
52859
52860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52861 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52862   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52863     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52864 do :
52865   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52866 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52867 eval as_val=\$$as_ac_var
52868    if test "x$as_val" = x""yes; then :
52869   cat >>confdefs.h <<_ACEOF
52870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52871 _ACEOF
52872
52873 fi
52874 done
52875
52876   else
52877     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52878 $as_echo_n "checking for _float trig functions... " >&6; }
52879     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52880   $as_echo_n "(cached) " >&6
52881 else
52882
52883
52884       ac_ext=cpp
52885 ac_cpp='$CXXCPP $CPPFLAGS'
52886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52889
52890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52891 /* end confdefs.h.  */
52892 #include <math.h>
52893 int
52894 main ()
52895 {
52896 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52897   ;
52898   return 0;
52899 }
52900 _ACEOF
52901 if ac_fn_cxx_try_compile "$LINENO"; then :
52902   glibcxx_cv_func__float_trig_use=yes
52903 else
52904   glibcxx_cv_func__float_trig_use=no
52905 fi
52906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52907       ac_ext=c
52908 ac_cpp='$CPP $CPPFLAGS'
52909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52912
52913 fi
52914
52915     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52916 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52917     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52918       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52919 do :
52920   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52922 eval as_val=\$$as_ac_var
52923    if test "x$as_val" = x""yes; then :
52924   cat >>confdefs.h <<_ACEOF
52925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52926 _ACEOF
52927
52928 fi
52929 done
52930
52931     fi
52932   fi
52933
52934
52935
52936
52937
52938     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52939 $as_echo_n "checking for float round functions... " >&6; }
52940   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52941   $as_echo_n "(cached) " >&6
52942 else
52943
52944
52945     ac_ext=cpp
52946 ac_cpp='$CXXCPP $CPPFLAGS'
52947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52950
52951     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52952 /* end confdefs.h.  */
52953 #include <math.h>
52954 int
52955 main ()
52956 {
52957 ceilf (0); floorf (0);
52958   ;
52959   return 0;
52960 }
52961 _ACEOF
52962 if ac_fn_cxx_try_compile "$LINENO"; then :
52963   glibcxx_cv_func_float_round_use=yes
52964 else
52965   glibcxx_cv_func_float_round_use=no
52966 fi
52967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52968     ac_ext=c
52969 ac_cpp='$CPP $CPPFLAGS'
52970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52973
52974 fi
52975
52976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52977 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52978   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52979     for ac_func in ceilf floorf
52980 do :
52981   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52983 eval as_val=\$$as_ac_var
52984    if test "x$as_val" = x""yes; then :
52985   cat >>confdefs.h <<_ACEOF
52986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52987 _ACEOF
52988
52989 fi
52990 done
52991
52992   else
52993     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52994 $as_echo_n "checking for _float round functions... " >&6; }
52995     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52996   $as_echo_n "(cached) " >&6
52997 else
52998
52999
53000       ac_ext=cpp
53001 ac_cpp='$CXXCPP $CPPFLAGS'
53002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53005
53006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53007 /* end confdefs.h.  */
53008 #include <math.h>
53009 int
53010 main ()
53011 {
53012 _ceilf (0); _floorf (0);
53013   ;
53014   return 0;
53015 }
53016 _ACEOF
53017 if ac_fn_cxx_try_compile "$LINENO"; then :
53018   glibcxx_cv_func__float_round_use=yes
53019 else
53020   glibcxx_cv_func__float_round_use=no
53021 fi
53022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53023       ac_ext=c
53024 ac_cpp='$CPP $CPPFLAGS'
53025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53028
53029 fi
53030
53031     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53032 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53033     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53034       for ac_func in _ceilf _floorf
53035 do :
53036   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53038 eval as_val=\$$as_ac_var
53039    if test "x$as_val" = x""yes; then :
53040   cat >>confdefs.h <<_ACEOF
53041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53042 _ACEOF
53043
53044 fi
53045 done
53046
53047     fi
53048   fi
53049
53050
53051
53052
53053
53054
53055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53056 $as_echo_n "checking for expf declaration... " >&6; }
53057   if test x${glibcxx_cv_func_expf_use+set} != xset; then
53058     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53059   $as_echo_n "(cached) " >&6
53060 else
53061
53062
53063       ac_ext=cpp
53064 ac_cpp='$CXXCPP $CPPFLAGS'
53065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53068
53069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53070 /* end confdefs.h.  */
53071 #include <math.h>
53072                       #ifdef HAVE_IEEEFP_H
53073                       #include <ieeefp.h>
53074                       #endif
53075
53076 int
53077 main ()
53078 {
53079  expf(0);
53080   ;
53081   return 0;
53082 }
53083 _ACEOF
53084 if ac_fn_cxx_try_compile "$LINENO"; then :
53085   glibcxx_cv_func_expf_use=yes
53086 else
53087   glibcxx_cv_func_expf_use=no
53088 fi
53089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53090       ac_ext=c
53091 ac_cpp='$CPP $CPPFLAGS'
53092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53095
53096
53097 fi
53098
53099   fi
53100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53101 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53102
53103   if test x$glibcxx_cv_func_expf_use = x"yes"; then
53104     for ac_func in expf
53105 do :
53106   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53107 if test "x$ac_cv_func_expf" = x""yes; then :
53108   cat >>confdefs.h <<_ACEOF
53109 #define HAVE_EXPF 1
53110 _ACEOF
53111
53112 fi
53113 done
53114
53115   else
53116
53117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53118 $as_echo_n "checking for _expf declaration... " >&6; }
53119   if test x${glibcxx_cv_func__expf_use+set} != xset; then
53120     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53121   $as_echo_n "(cached) " >&6
53122 else
53123
53124
53125       ac_ext=cpp
53126 ac_cpp='$CXXCPP $CPPFLAGS'
53127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53130
53131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53132 /* end confdefs.h.  */
53133 #include <math.h>
53134                       #ifdef HAVE_IEEEFP_H
53135                       #include <ieeefp.h>
53136                       #endif
53137
53138 int
53139 main ()
53140 {
53141  _expf(0);
53142   ;
53143   return 0;
53144 }
53145 _ACEOF
53146 if ac_fn_cxx_try_compile "$LINENO"; then :
53147   glibcxx_cv_func__expf_use=yes
53148 else
53149   glibcxx_cv_func__expf_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__expf_use" >&5
53163 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53164
53165     if test x$glibcxx_cv_func__expf_use = x"yes"; then
53166       for ac_func in _expf
53167 do :
53168   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53169 if test "x$ac_cv_func__expf" = x""yes; then :
53170   cat >>confdefs.h <<_ACEOF
53171 #define HAVE__EXPF 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 isnanf declaration" >&5
53185 $as_echo_n "checking for isnanf declaration... " >&6; }
53186   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53187     if test "${glibcxx_cv_func_isnanf_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  isnanf(0);
53209   ;
53210   return 0;
53211 }
53212 _ACEOF
53213 if ac_fn_cxx_try_compile "$LINENO"; then :
53214   glibcxx_cv_func_isnanf_use=yes
53215 else
53216   glibcxx_cv_func_isnanf_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_isnanf_use" >&5
53230 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53231
53232   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53233     for ac_func in isnanf
53234 do :
53235   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53236 if test "x$ac_cv_func_isnanf" = x""yes; then :
53237   cat >>confdefs.h <<_ACEOF
53238 #define HAVE_ISNANF 1
53239 _ACEOF
53240
53241 fi
53242 done
53243
53244   else
53245
53246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53247 $as_echo_n "checking for _isnanf declaration... " >&6; }
53248   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53249     if test "${glibcxx_cv_func__isnanf_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  _isnanf(0);
53271   ;
53272   return 0;
53273 }
53274 _ACEOF
53275 if ac_fn_cxx_try_compile "$LINENO"; then :
53276   glibcxx_cv_func__isnanf_use=yes
53277 else
53278   glibcxx_cv_func__isnanf_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__isnanf_use" >&5
53292 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53293
53294     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53295       for ac_func in _isnanf
53296 do :
53297   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53298 if test "x$ac_cv_func__isnanf" = x""yes; then :
53299   cat >>confdefs.h <<_ACEOF
53300 #define HAVE__ISNANF 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 isinff declaration" >&5
53314 $as_echo_n "checking for isinff declaration... " >&6; }
53315   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53316     if test "${glibcxx_cv_func_isinff_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  isinff(0);
53338   ;
53339   return 0;
53340 }
53341 _ACEOF
53342 if ac_fn_cxx_try_compile "$LINENO"; then :
53343   glibcxx_cv_func_isinff_use=yes
53344 else
53345   glibcxx_cv_func_isinff_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_isinff_use" >&5
53359 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53360
53361   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53362     for ac_func in isinff
53363 do :
53364   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53365 if test "x$ac_cv_func_isinff" = x""yes; then :
53366   cat >>confdefs.h <<_ACEOF
53367 #define HAVE_ISINFF 1
53368 _ACEOF
53369
53370 fi
53371 done
53372
53373   else
53374
53375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53376 $as_echo_n "checking for _isinff declaration... " >&6; }
53377   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53378     if test "${glibcxx_cv_func__isinff_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  _isinff(0);
53400   ;
53401   return 0;
53402 }
53403 _ACEOF
53404 if ac_fn_cxx_try_compile "$LINENO"; then :
53405   glibcxx_cv_func__isinff_use=yes
53406 else
53407   glibcxx_cv_func__isinff_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__isinff_use" >&5
53421 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53422
53423     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53424       for ac_func in _isinff
53425 do :
53426   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53427 if test "x$ac_cv_func__isinff" = x""yes; then :
53428   cat >>confdefs.h <<_ACEOF
53429 #define HAVE__ISINFF 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 atan2f declaration" >&5
53443 $as_echo_n "checking for atan2f declaration... " >&6; }
53444   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53445     if test "${glibcxx_cv_func_atan2f_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  atan2f(0, 0);
53463   ;
53464   return 0;
53465 }
53466 _ACEOF
53467 if ac_fn_cxx_try_compile "$LINENO"; then :
53468   glibcxx_cv_func_atan2f_use=yes
53469 else
53470   glibcxx_cv_func_atan2f_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_atan2f_use" >&5
53484 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53485
53486   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53487     for ac_func in atan2f
53488 do :
53489   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53490 if test "x$ac_cv_func_atan2f" = x""yes; then :
53491   cat >>confdefs.h <<_ACEOF
53492 #define HAVE_ATAN2F 1
53493 _ACEOF
53494
53495 fi
53496 done
53497
53498   else
53499
53500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53501 $as_echo_n "checking for _atan2f declaration... " >&6; }
53502   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53503     if test "${glibcxx_cv_func__atan2f_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  _atan2f(0, 0);
53521   ;
53522   return 0;
53523 }
53524 _ACEOF
53525 if ac_fn_cxx_try_compile "$LINENO"; then :
53526   glibcxx_cv_func__atan2f_use=yes
53527 else
53528   glibcxx_cv_func__atan2f_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__atan2f_use" >&5
53542 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53543
53544     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53545       for ac_func in _atan2f
53546 do :
53547   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53548 if test "x$ac_cv_func__atan2f" = x""yes; then :
53549   cat >>confdefs.h <<_ACEOF
53550 #define HAVE__ATAN2F 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 fabsf declaration" >&5
53564 $as_echo_n "checking for fabsf declaration... " >&6; }
53565   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53566     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53567   $as_echo_n "(cached) " >&6
53568 else
53569
53570
53571       ac_ext=cpp
53572 ac_cpp='$CXXCPP $CPPFLAGS'
53573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53576
53577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53578 /* end confdefs.h.  */
53579 #include <math.h>
53580                       #ifdef HAVE_IEEEFP_H
53581                       #include <ieeefp.h>
53582                       #endif
53583
53584 int
53585 main ()
53586 {
53587  fabsf(0);
53588   ;
53589   return 0;
53590 }
53591 _ACEOF
53592 if ac_fn_cxx_try_compile "$LINENO"; then :
53593   glibcxx_cv_func_fabsf_use=yes
53594 else
53595   glibcxx_cv_func_fabsf_use=no
53596 fi
53597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53598       ac_ext=c
53599 ac_cpp='$CPP $CPPFLAGS'
53600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53603
53604
53605 fi
53606
53607   fi
53608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53609 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53610
53611   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53612     for ac_func in fabsf
53613 do :
53614   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53615 if test "x$ac_cv_func_fabsf" = x""yes; then :
53616   cat >>confdefs.h <<_ACEOF
53617 #define HAVE_FABSF 1
53618 _ACEOF
53619
53620 fi
53621 done
53622
53623   else
53624
53625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53626 $as_echo_n "checking for _fabsf declaration... " >&6; }
53627   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53628     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53629   $as_echo_n "(cached) " >&6
53630 else
53631
53632
53633       ac_ext=cpp
53634 ac_cpp='$CXXCPP $CPPFLAGS'
53635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53638
53639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53640 /* end confdefs.h.  */
53641 #include <math.h>
53642                       #ifdef HAVE_IEEEFP_H
53643                       #include <ieeefp.h>
53644                       #endif
53645
53646 int
53647 main ()
53648 {
53649  _fabsf(0);
53650   ;
53651   return 0;
53652 }
53653 _ACEOF
53654 if ac_fn_cxx_try_compile "$LINENO"; then :
53655   glibcxx_cv_func__fabsf_use=yes
53656 else
53657   glibcxx_cv_func__fabsf_use=no
53658 fi
53659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53660       ac_ext=c
53661 ac_cpp='$CPP $CPPFLAGS'
53662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53665
53666
53667 fi
53668
53669   fi
53670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53671 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53672
53673     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53674       for ac_func in _fabsf
53675 do :
53676   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53677 if test "x$ac_cv_func__fabsf" = x""yes; then :
53678   cat >>confdefs.h <<_ACEOF
53679 #define HAVE__FABSF 1
53680 _ACEOF
53681
53682 fi
53683 done
53684
53685     fi
53686   fi
53687
53688
53689
53690
53691
53692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53693 $as_echo_n "checking for fmodf declaration... " >&6; }
53694   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53695     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53696   $as_echo_n "(cached) " >&6
53697 else
53698
53699
53700       ac_ext=cpp
53701 ac_cpp='$CXXCPP $CPPFLAGS'
53702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53705
53706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53707 /* end confdefs.h.  */
53708 #include <math.h>
53709 int
53710 main ()
53711 {
53712  fmodf(0, 0);
53713   ;
53714   return 0;
53715 }
53716 _ACEOF
53717 if ac_fn_cxx_try_compile "$LINENO"; then :
53718   glibcxx_cv_func_fmodf_use=yes
53719 else
53720   glibcxx_cv_func_fmodf_use=no
53721 fi
53722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53723       ac_ext=c
53724 ac_cpp='$CPP $CPPFLAGS'
53725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53728
53729
53730 fi
53731
53732   fi
53733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53734 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53735
53736   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53737     for ac_func in fmodf
53738 do :
53739   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53740 if test "x$ac_cv_func_fmodf" = x""yes; then :
53741   cat >>confdefs.h <<_ACEOF
53742 #define HAVE_FMODF 1
53743 _ACEOF
53744
53745 fi
53746 done
53747
53748   else
53749
53750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53751 $as_echo_n "checking for _fmodf declaration... " >&6; }
53752   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53753     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53754   $as_echo_n "(cached) " >&6
53755 else
53756
53757
53758       ac_ext=cpp
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53763
53764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h.  */
53766 #include <math.h>
53767 int
53768 main ()
53769 {
53770  _fmodf(0, 0);
53771   ;
53772   return 0;
53773 }
53774 _ACEOF
53775 if ac_fn_cxx_try_compile "$LINENO"; then :
53776   glibcxx_cv_func__fmodf_use=yes
53777 else
53778   glibcxx_cv_func__fmodf_use=no
53779 fi
53780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53781       ac_ext=c
53782 ac_cpp='$CPP $CPPFLAGS'
53783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53786
53787
53788 fi
53789
53790   fi
53791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53792 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53793
53794     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53795       for ac_func in _fmodf
53796 do :
53797   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53798 if test "x$ac_cv_func__fmodf" = x""yes; then :
53799   cat >>confdefs.h <<_ACEOF
53800 #define HAVE__FMODF 1
53801 _ACEOF
53802
53803 fi
53804 done
53805
53806     fi
53807   fi
53808
53809
53810
53811
53812
53813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53814 $as_echo_n "checking for frexpf declaration... " >&6; }
53815   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53816     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53817   $as_echo_n "(cached) " >&6
53818 else
53819
53820
53821       ac_ext=cpp
53822 ac_cpp='$CXXCPP $CPPFLAGS'
53823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53826
53827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53828 /* end confdefs.h.  */
53829 #include <math.h>
53830 int
53831 main ()
53832 {
53833  frexpf(0, 0);
53834   ;
53835   return 0;
53836 }
53837 _ACEOF
53838 if ac_fn_cxx_try_compile "$LINENO"; then :
53839   glibcxx_cv_func_frexpf_use=yes
53840 else
53841   glibcxx_cv_func_frexpf_use=no
53842 fi
53843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53844       ac_ext=c
53845 ac_cpp='$CPP $CPPFLAGS'
53846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53849
53850
53851 fi
53852
53853   fi
53854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53855 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53856
53857   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53858     for ac_func in frexpf
53859 do :
53860   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53861 if test "x$ac_cv_func_frexpf" = x""yes; then :
53862   cat >>confdefs.h <<_ACEOF
53863 #define HAVE_FREXPF 1
53864 _ACEOF
53865
53866 fi
53867 done
53868
53869   else
53870
53871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53872 $as_echo_n "checking for _frexpf declaration... " >&6; }
53873   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53874     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53875   $as_echo_n "(cached) " >&6
53876 else
53877
53878
53879       ac_ext=cpp
53880 ac_cpp='$CXXCPP $CPPFLAGS'
53881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53884
53885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h.  */
53887 #include <math.h>
53888 int
53889 main ()
53890 {
53891  _frexpf(0, 0);
53892   ;
53893   return 0;
53894 }
53895 _ACEOF
53896 if ac_fn_cxx_try_compile "$LINENO"; then :
53897   glibcxx_cv_func__frexpf_use=yes
53898 else
53899   glibcxx_cv_func__frexpf_use=no
53900 fi
53901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53902       ac_ext=c
53903 ac_cpp='$CPP $CPPFLAGS'
53904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53907
53908
53909 fi
53910
53911   fi
53912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53913 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53914
53915     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53916       for ac_func in _frexpf
53917 do :
53918   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53919 if test "x$ac_cv_func__frexpf" = x""yes; then :
53920   cat >>confdefs.h <<_ACEOF
53921 #define HAVE__FREXPF 1
53922 _ACEOF
53923
53924 fi
53925 done
53926
53927     fi
53928   fi
53929
53930
53931
53932
53933
53934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53935 $as_echo_n "checking for hypotf declaration... " >&6; }
53936   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53937     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53938   $as_echo_n "(cached) " >&6
53939 else
53940
53941
53942       ac_ext=cpp
53943 ac_cpp='$CXXCPP $CPPFLAGS'
53944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53947
53948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53949 /* end confdefs.h.  */
53950 #include <math.h>
53951 int
53952 main ()
53953 {
53954  hypotf(0, 0);
53955   ;
53956   return 0;
53957 }
53958 _ACEOF
53959 if ac_fn_cxx_try_compile "$LINENO"; then :
53960   glibcxx_cv_func_hypotf_use=yes
53961 else
53962   glibcxx_cv_func_hypotf_use=no
53963 fi
53964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53965       ac_ext=c
53966 ac_cpp='$CPP $CPPFLAGS'
53967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53970
53971
53972 fi
53973
53974   fi
53975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53976 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53977
53978   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53979     for ac_func in hypotf
53980 do :
53981   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53982 if test "x$ac_cv_func_hypotf" = x""yes; then :
53983   cat >>confdefs.h <<_ACEOF
53984 #define HAVE_HYPOTF 1
53985 _ACEOF
53986
53987 fi
53988 done
53989
53990   else
53991
53992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53993 $as_echo_n "checking for _hypotf declaration... " >&6; }
53994   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53995     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53996   $as_echo_n "(cached) " >&6
53997 else
53998
53999
54000       ac_ext=cpp
54001 ac_cpp='$CXXCPP $CPPFLAGS'
54002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54005
54006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54007 /* end confdefs.h.  */
54008 #include <math.h>
54009 int
54010 main ()
54011 {
54012  _hypotf(0, 0);
54013   ;
54014   return 0;
54015 }
54016 _ACEOF
54017 if ac_fn_cxx_try_compile "$LINENO"; then :
54018   glibcxx_cv_func__hypotf_use=yes
54019 else
54020   glibcxx_cv_func__hypotf_use=no
54021 fi
54022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54023       ac_ext=c
54024 ac_cpp='$CPP $CPPFLAGS'
54025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54028
54029
54030 fi
54031
54032   fi
54033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54034 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54035
54036     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54037       for ac_func in _hypotf
54038 do :
54039   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54040 if test "x$ac_cv_func__hypotf" = x""yes; then :
54041   cat >>confdefs.h <<_ACEOF
54042 #define HAVE__HYPOTF 1
54043 _ACEOF
54044
54045 fi
54046 done
54047
54048     fi
54049   fi
54050
54051
54052
54053
54054
54055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54056 $as_echo_n "checking for ldexpf declaration... " >&6; }
54057   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54058     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54059   $as_echo_n "(cached) " >&6
54060 else
54061
54062
54063       ac_ext=cpp
54064 ac_cpp='$CXXCPP $CPPFLAGS'
54065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54068
54069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54070 /* end confdefs.h.  */
54071 #include <math.h>
54072 int
54073 main ()
54074 {
54075  ldexpf(0, 0);
54076   ;
54077   return 0;
54078 }
54079 _ACEOF
54080 if ac_fn_cxx_try_compile "$LINENO"; then :
54081   glibcxx_cv_func_ldexpf_use=yes
54082 else
54083   glibcxx_cv_func_ldexpf_use=no
54084 fi
54085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54086       ac_ext=c
54087 ac_cpp='$CPP $CPPFLAGS'
54088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54091
54092
54093 fi
54094
54095   fi
54096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54097 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54098
54099   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54100     for ac_func in ldexpf
54101 do :
54102   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54103 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54104   cat >>confdefs.h <<_ACEOF
54105 #define HAVE_LDEXPF 1
54106 _ACEOF
54107
54108 fi
54109 done
54110
54111   else
54112
54113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54114 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54115   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54116     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54117   $as_echo_n "(cached) " >&6
54118 else
54119
54120
54121       ac_ext=cpp
54122 ac_cpp='$CXXCPP $CPPFLAGS'
54123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54126
54127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54128 /* end confdefs.h.  */
54129 #include <math.h>
54130 int
54131 main ()
54132 {
54133  _ldexpf(0, 0);
54134   ;
54135   return 0;
54136 }
54137 _ACEOF
54138 if ac_fn_cxx_try_compile "$LINENO"; then :
54139   glibcxx_cv_func__ldexpf_use=yes
54140 else
54141   glibcxx_cv_func__ldexpf_use=no
54142 fi
54143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54144       ac_ext=c
54145 ac_cpp='$CPP $CPPFLAGS'
54146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54149
54150
54151 fi
54152
54153   fi
54154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54155 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54156
54157     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54158       for ac_func in _ldexpf
54159 do :
54160   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54161 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54162   cat >>confdefs.h <<_ACEOF
54163 #define HAVE__LDEXPF 1
54164 _ACEOF
54165
54166 fi
54167 done
54168
54169     fi
54170   fi
54171
54172
54173
54174
54175
54176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54177 $as_echo_n "checking for logf declaration... " >&6; }
54178   if test x${glibcxx_cv_func_logf_use+set} != xset; then
54179     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54180   $as_echo_n "(cached) " >&6
54181 else
54182
54183
54184       ac_ext=cpp
54185 ac_cpp='$CXXCPP $CPPFLAGS'
54186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54189
54190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54191 /* end confdefs.h.  */
54192 #include <math.h>
54193                       #ifdef HAVE_IEEEFP_H
54194                       #include <ieeefp.h>
54195                       #endif
54196
54197 int
54198 main ()
54199 {
54200  logf(0);
54201   ;
54202   return 0;
54203 }
54204 _ACEOF
54205 if ac_fn_cxx_try_compile "$LINENO"; then :
54206   glibcxx_cv_func_logf_use=yes
54207 else
54208   glibcxx_cv_func_logf_use=no
54209 fi
54210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54211       ac_ext=c
54212 ac_cpp='$CPP $CPPFLAGS'
54213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54216
54217
54218 fi
54219
54220   fi
54221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54222 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54223
54224   if test x$glibcxx_cv_func_logf_use = x"yes"; then
54225     for ac_func in logf
54226 do :
54227   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54228 if test "x$ac_cv_func_logf" = x""yes; then :
54229   cat >>confdefs.h <<_ACEOF
54230 #define HAVE_LOGF 1
54231 _ACEOF
54232
54233 fi
54234 done
54235
54236   else
54237
54238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54239 $as_echo_n "checking for _logf declaration... " >&6; }
54240   if test x${glibcxx_cv_func__logf_use+set} != xset; then
54241     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54242   $as_echo_n "(cached) " >&6
54243 else
54244
54245
54246       ac_ext=cpp
54247 ac_cpp='$CXXCPP $CPPFLAGS'
54248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54251
54252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54253 /* end confdefs.h.  */
54254 #include <math.h>
54255                       #ifdef HAVE_IEEEFP_H
54256                       #include <ieeefp.h>
54257                       #endif
54258
54259 int
54260 main ()
54261 {
54262  _logf(0);
54263   ;
54264   return 0;
54265 }
54266 _ACEOF
54267 if ac_fn_cxx_try_compile "$LINENO"; then :
54268   glibcxx_cv_func__logf_use=yes
54269 else
54270   glibcxx_cv_func__logf_use=no
54271 fi
54272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54273       ac_ext=c
54274 ac_cpp='$CPP $CPPFLAGS'
54275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54278
54279
54280 fi
54281
54282   fi
54283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54284 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54285
54286     if test x$glibcxx_cv_func__logf_use = x"yes"; then
54287       for ac_func in _logf
54288 do :
54289   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54290 if test "x$ac_cv_func__logf" = x""yes; then :
54291   cat >>confdefs.h <<_ACEOF
54292 #define HAVE__LOGF 1
54293 _ACEOF
54294
54295 fi
54296 done
54297
54298     fi
54299   fi
54300
54301
54302
54303
54304
54305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54306 $as_echo_n "checking for log10f declaration... " >&6; }
54307   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54308     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54309   $as_echo_n "(cached) " >&6
54310 else
54311
54312
54313       ac_ext=cpp
54314 ac_cpp='$CXXCPP $CPPFLAGS'
54315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54318
54319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54320 /* end confdefs.h.  */
54321 #include <math.h>
54322                       #ifdef HAVE_IEEEFP_H
54323                       #include <ieeefp.h>
54324                       #endif
54325
54326 int
54327 main ()
54328 {
54329  log10f(0);
54330   ;
54331   return 0;
54332 }
54333 _ACEOF
54334 if ac_fn_cxx_try_compile "$LINENO"; then :
54335   glibcxx_cv_func_log10f_use=yes
54336 else
54337   glibcxx_cv_func_log10f_use=no
54338 fi
54339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54340       ac_ext=c
54341 ac_cpp='$CPP $CPPFLAGS'
54342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54345
54346
54347 fi
54348
54349   fi
54350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54351 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54352
54353   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54354     for ac_func in log10f
54355 do :
54356   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54357 if test "x$ac_cv_func_log10f" = x""yes; then :
54358   cat >>confdefs.h <<_ACEOF
54359 #define HAVE_LOG10F 1
54360 _ACEOF
54361
54362 fi
54363 done
54364
54365   else
54366
54367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54368 $as_echo_n "checking for _log10f declaration... " >&6; }
54369   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54370     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54371   $as_echo_n "(cached) " >&6
54372 else
54373
54374
54375       ac_ext=cpp
54376 ac_cpp='$CXXCPP $CPPFLAGS'
54377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54380
54381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54382 /* end confdefs.h.  */
54383 #include <math.h>
54384                       #ifdef HAVE_IEEEFP_H
54385                       #include <ieeefp.h>
54386                       #endif
54387
54388 int
54389 main ()
54390 {
54391  _log10f(0);
54392   ;
54393   return 0;
54394 }
54395 _ACEOF
54396 if ac_fn_cxx_try_compile "$LINENO"; then :
54397   glibcxx_cv_func__log10f_use=yes
54398 else
54399   glibcxx_cv_func__log10f_use=no
54400 fi
54401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54402       ac_ext=c
54403 ac_cpp='$CPP $CPPFLAGS'
54404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54407
54408
54409 fi
54410
54411   fi
54412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54413 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54414
54415     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54416       for ac_func in _log10f
54417 do :
54418   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54419 if test "x$ac_cv_func__log10f" = x""yes; then :
54420   cat >>confdefs.h <<_ACEOF
54421 #define HAVE__LOG10F 1
54422 _ACEOF
54423
54424 fi
54425 done
54426
54427     fi
54428   fi
54429
54430
54431
54432
54433
54434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54435 $as_echo_n "checking for modff declaration... " >&6; }
54436   if test x${glibcxx_cv_func_modff_use+set} != xset; then
54437     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54438   $as_echo_n "(cached) " >&6
54439 else
54440
54441
54442       ac_ext=cpp
54443 ac_cpp='$CXXCPP $CPPFLAGS'
54444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54447
54448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54449 /* end confdefs.h.  */
54450 #include <math.h>
54451 int
54452 main ()
54453 {
54454  modff(0, 0);
54455   ;
54456   return 0;
54457 }
54458 _ACEOF
54459 if ac_fn_cxx_try_compile "$LINENO"; then :
54460   glibcxx_cv_func_modff_use=yes
54461 else
54462   glibcxx_cv_func_modff_use=no
54463 fi
54464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54465       ac_ext=c
54466 ac_cpp='$CPP $CPPFLAGS'
54467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54470
54471
54472 fi
54473
54474   fi
54475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54476 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54477
54478   if test x$glibcxx_cv_func_modff_use = x"yes"; then
54479     for ac_func in modff
54480 do :
54481   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54482 if test "x$ac_cv_func_modff" = x""yes; then :
54483   cat >>confdefs.h <<_ACEOF
54484 #define HAVE_MODFF 1
54485 _ACEOF
54486
54487 fi
54488 done
54489
54490   else
54491
54492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54493 $as_echo_n "checking for _modff declaration... " >&6; }
54494   if test x${glibcxx_cv_func__modff_use+set} != xset; then
54495     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54496   $as_echo_n "(cached) " >&6
54497 else
54498
54499
54500       ac_ext=cpp
54501 ac_cpp='$CXXCPP $CPPFLAGS'
54502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54505
54506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54507 /* end confdefs.h.  */
54508 #include <math.h>
54509 int
54510 main ()
54511 {
54512  _modff(0, 0);
54513   ;
54514   return 0;
54515 }
54516 _ACEOF
54517 if ac_fn_cxx_try_compile "$LINENO"; then :
54518   glibcxx_cv_func__modff_use=yes
54519 else
54520   glibcxx_cv_func__modff_use=no
54521 fi
54522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54523       ac_ext=c
54524 ac_cpp='$CPP $CPPFLAGS'
54525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54528
54529
54530 fi
54531
54532   fi
54533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54534 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54535
54536     if test x$glibcxx_cv_func__modff_use = x"yes"; then
54537       for ac_func in _modff
54538 do :
54539   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54540 if test "x$ac_cv_func__modff" = x""yes; then :
54541   cat >>confdefs.h <<_ACEOF
54542 #define HAVE__MODFF 1
54543 _ACEOF
54544
54545 fi
54546 done
54547
54548     fi
54549   fi
54550
54551
54552
54553
54554
54555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54556 $as_echo_n "checking for modf declaration... " >&6; }
54557   if test x${glibcxx_cv_func_modf_use+set} != xset; then
54558     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54559   $as_echo_n "(cached) " >&6
54560 else
54561
54562
54563       ac_ext=cpp
54564 ac_cpp='$CXXCPP $CPPFLAGS'
54565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54568
54569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54570 /* end confdefs.h.  */
54571 #include <math.h>
54572 int
54573 main ()
54574 {
54575  modf(0, 0);
54576   ;
54577   return 0;
54578 }
54579 _ACEOF
54580 if ac_fn_cxx_try_compile "$LINENO"; then :
54581   glibcxx_cv_func_modf_use=yes
54582 else
54583   glibcxx_cv_func_modf_use=no
54584 fi
54585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54586       ac_ext=c
54587 ac_cpp='$CPP $CPPFLAGS'
54588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54591
54592
54593 fi
54594
54595   fi
54596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54597 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54598
54599   if test x$glibcxx_cv_func_modf_use = x"yes"; then
54600     for ac_func in modf
54601 do :
54602   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54603 if test "x$ac_cv_func_modf" = x""yes; then :
54604   cat >>confdefs.h <<_ACEOF
54605 #define HAVE_MODF 1
54606 _ACEOF
54607
54608 fi
54609 done
54610
54611   else
54612
54613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54614 $as_echo_n "checking for _modf declaration... " >&6; }
54615   if test x${glibcxx_cv_func__modf_use+set} != xset; then
54616     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54617   $as_echo_n "(cached) " >&6
54618 else
54619
54620
54621       ac_ext=cpp
54622 ac_cpp='$CXXCPP $CPPFLAGS'
54623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54626
54627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54628 /* end confdefs.h.  */
54629 #include <math.h>
54630 int
54631 main ()
54632 {
54633  _modf(0, 0);
54634   ;
54635   return 0;
54636 }
54637 _ACEOF
54638 if ac_fn_cxx_try_compile "$LINENO"; then :
54639   glibcxx_cv_func__modf_use=yes
54640 else
54641   glibcxx_cv_func__modf_use=no
54642 fi
54643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54644       ac_ext=c
54645 ac_cpp='$CPP $CPPFLAGS'
54646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54649
54650
54651 fi
54652
54653   fi
54654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54655 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54656
54657     if test x$glibcxx_cv_func__modf_use = x"yes"; then
54658       for ac_func in _modf
54659 do :
54660   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54661 if test "x$ac_cv_func__modf" = x""yes; then :
54662   cat >>confdefs.h <<_ACEOF
54663 #define HAVE__MODF 1
54664 _ACEOF
54665
54666 fi
54667 done
54668
54669     fi
54670   fi
54671
54672
54673
54674
54675
54676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54677 $as_echo_n "checking for powf declaration... " >&6; }
54678   if test x${glibcxx_cv_func_powf_use+set} != xset; then
54679     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54680   $as_echo_n "(cached) " >&6
54681 else
54682
54683
54684       ac_ext=cpp
54685 ac_cpp='$CXXCPP $CPPFLAGS'
54686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54689
54690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54691 /* end confdefs.h.  */
54692 #include <math.h>
54693 int
54694 main ()
54695 {
54696  powf(0, 0);
54697   ;
54698   return 0;
54699 }
54700 _ACEOF
54701 if ac_fn_cxx_try_compile "$LINENO"; then :
54702   glibcxx_cv_func_powf_use=yes
54703 else
54704   glibcxx_cv_func_powf_use=no
54705 fi
54706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54707       ac_ext=c
54708 ac_cpp='$CPP $CPPFLAGS'
54709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54712
54713
54714 fi
54715
54716   fi
54717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54718 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54719
54720   if test x$glibcxx_cv_func_powf_use = x"yes"; then
54721     for ac_func in powf
54722 do :
54723   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54724 if test "x$ac_cv_func_powf" = x""yes; then :
54725   cat >>confdefs.h <<_ACEOF
54726 #define HAVE_POWF 1
54727 _ACEOF
54728
54729 fi
54730 done
54731
54732   else
54733
54734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54735 $as_echo_n "checking for _powf declaration... " >&6; }
54736   if test x${glibcxx_cv_func__powf_use+set} != xset; then
54737     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54738   $as_echo_n "(cached) " >&6
54739 else
54740
54741
54742       ac_ext=cpp
54743 ac_cpp='$CXXCPP $CPPFLAGS'
54744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54747
54748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54749 /* end confdefs.h.  */
54750 #include <math.h>
54751 int
54752 main ()
54753 {
54754  _powf(0, 0);
54755   ;
54756   return 0;
54757 }
54758 _ACEOF
54759 if ac_fn_cxx_try_compile "$LINENO"; then :
54760   glibcxx_cv_func__powf_use=yes
54761 else
54762   glibcxx_cv_func__powf_use=no
54763 fi
54764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54765       ac_ext=c
54766 ac_cpp='$CPP $CPPFLAGS'
54767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54770
54771
54772 fi
54773
54774   fi
54775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54776 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54777
54778     if test x$glibcxx_cv_func__powf_use = x"yes"; then
54779       for ac_func in _powf
54780 do :
54781   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54782 if test "x$ac_cv_func__powf" = x""yes; then :
54783   cat >>confdefs.h <<_ACEOF
54784 #define HAVE__POWF 1
54785 _ACEOF
54786
54787 fi
54788 done
54789
54790     fi
54791   fi
54792
54793
54794
54795
54796
54797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54798 $as_echo_n "checking for sqrtf declaration... " >&6; }
54799   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54800     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54801   $as_echo_n "(cached) " >&6
54802 else
54803
54804
54805       ac_ext=cpp
54806 ac_cpp='$CXXCPP $CPPFLAGS'
54807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54810
54811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54812 /* end confdefs.h.  */
54813 #include <math.h>
54814                       #ifdef HAVE_IEEEFP_H
54815                       #include <ieeefp.h>
54816                       #endif
54817
54818 int
54819 main ()
54820 {
54821  sqrtf(0);
54822   ;
54823   return 0;
54824 }
54825 _ACEOF
54826 if ac_fn_cxx_try_compile "$LINENO"; then :
54827   glibcxx_cv_func_sqrtf_use=yes
54828 else
54829   glibcxx_cv_func_sqrtf_use=no
54830 fi
54831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54832       ac_ext=c
54833 ac_cpp='$CPP $CPPFLAGS'
54834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54837
54838
54839 fi
54840
54841   fi
54842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54843 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54844
54845   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54846     for ac_func in sqrtf
54847 do :
54848   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54849 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54850   cat >>confdefs.h <<_ACEOF
54851 #define HAVE_SQRTF 1
54852 _ACEOF
54853
54854 fi
54855 done
54856
54857   else
54858
54859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54860 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54861   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54862     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54863   $as_echo_n "(cached) " >&6
54864 else
54865
54866
54867       ac_ext=cpp
54868 ac_cpp='$CXXCPP $CPPFLAGS'
54869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54872
54873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54874 /* end confdefs.h.  */
54875 #include <math.h>
54876                       #ifdef HAVE_IEEEFP_H
54877                       #include <ieeefp.h>
54878                       #endif
54879
54880 int
54881 main ()
54882 {
54883  _sqrtf(0);
54884   ;
54885   return 0;
54886 }
54887 _ACEOF
54888 if ac_fn_cxx_try_compile "$LINENO"; then :
54889   glibcxx_cv_func__sqrtf_use=yes
54890 else
54891   glibcxx_cv_func__sqrtf_use=no
54892 fi
54893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54894       ac_ext=c
54895 ac_cpp='$CPP $CPPFLAGS'
54896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54899
54900
54901 fi
54902
54903   fi
54904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54905 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54906
54907     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54908       for ac_func in _sqrtf
54909 do :
54910   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54911 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54912   cat >>confdefs.h <<_ACEOF
54913 #define HAVE__SQRTF 1
54914 _ACEOF
54915
54916 fi
54917 done
54918
54919     fi
54920   fi
54921
54922
54923
54924
54925
54926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54927 $as_echo_n "checking for sincosf declaration... " >&6; }
54928   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54929     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54930   $as_echo_n "(cached) " >&6
54931 else
54932
54933
54934       ac_ext=cpp
54935 ac_cpp='$CXXCPP $CPPFLAGS'
54936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54939
54940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54941 /* end confdefs.h.  */
54942 #include <math.h>
54943 int
54944 main ()
54945 {
54946  sincosf(0, 0, 0);
54947   ;
54948   return 0;
54949 }
54950 _ACEOF
54951 if ac_fn_cxx_try_compile "$LINENO"; then :
54952   glibcxx_cv_func_sincosf_use=yes
54953 else
54954   glibcxx_cv_func_sincosf_use=no
54955 fi
54956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54957       ac_ext=c
54958 ac_cpp='$CPP $CPPFLAGS'
54959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54962
54963
54964 fi
54965
54966   fi
54967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54968 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54969
54970   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54971     for ac_func in sincosf
54972 do :
54973   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54974 if test "x$ac_cv_func_sincosf" = x""yes; then :
54975   cat >>confdefs.h <<_ACEOF
54976 #define HAVE_SINCOSF 1
54977 _ACEOF
54978
54979 fi
54980 done
54981
54982   else
54983
54984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54985 $as_echo_n "checking for _sincosf declaration... " >&6; }
54986   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54987     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54988   $as_echo_n "(cached) " >&6
54989 else
54990
54991
54992       ac_ext=cpp
54993 ac_cpp='$CXXCPP $CPPFLAGS'
54994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54997
54998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54999 /* end confdefs.h.  */
55000 #include <math.h>
55001 int
55002 main ()
55003 {
55004  _sincosf(0, 0, 0);
55005   ;
55006   return 0;
55007 }
55008 _ACEOF
55009 if ac_fn_cxx_try_compile "$LINENO"; then :
55010   glibcxx_cv_func__sincosf_use=yes
55011 else
55012   glibcxx_cv_func__sincosf_use=no
55013 fi
55014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55015       ac_ext=c
55016 ac_cpp='$CPP $CPPFLAGS'
55017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55020
55021
55022 fi
55023
55024   fi
55025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55026 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55027
55028     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55029       for ac_func in _sincosf
55030 do :
55031   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55032 if test "x$ac_cv_func__sincosf" = x""yes; then :
55033   cat >>confdefs.h <<_ACEOF
55034 #define HAVE__SINCOSF 1
55035 _ACEOF
55036
55037 fi
55038 done
55039
55040     fi
55041   fi
55042
55043
55044
55045
55046
55047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55048 $as_echo_n "checking for finitef declaration... " >&6; }
55049   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55050     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55051   $as_echo_n "(cached) " >&6
55052 else
55053
55054
55055       ac_ext=cpp
55056 ac_cpp='$CXXCPP $CPPFLAGS'
55057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55060
55061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55062 /* end confdefs.h.  */
55063 #include <math.h>
55064                       #ifdef HAVE_IEEEFP_H
55065                       #include <ieeefp.h>
55066                       #endif
55067
55068 int
55069 main ()
55070 {
55071  finitef(0);
55072   ;
55073   return 0;
55074 }
55075 _ACEOF
55076 if ac_fn_cxx_try_compile "$LINENO"; then :
55077   glibcxx_cv_func_finitef_use=yes
55078 else
55079   glibcxx_cv_func_finitef_use=no
55080 fi
55081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55082       ac_ext=c
55083 ac_cpp='$CPP $CPPFLAGS'
55084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55087
55088
55089 fi
55090
55091   fi
55092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55093 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55094
55095   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55096     for ac_func in finitef
55097 do :
55098   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55099 if test "x$ac_cv_func_finitef" = x""yes; then :
55100   cat >>confdefs.h <<_ACEOF
55101 #define HAVE_FINITEF 1
55102 _ACEOF
55103
55104 fi
55105 done
55106
55107   else
55108
55109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55110 $as_echo_n "checking for _finitef declaration... " >&6; }
55111   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55112     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55113   $as_echo_n "(cached) " >&6
55114 else
55115
55116
55117       ac_ext=cpp
55118 ac_cpp='$CXXCPP $CPPFLAGS'
55119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55122
55123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55124 /* end confdefs.h.  */
55125 #include <math.h>
55126                       #ifdef HAVE_IEEEFP_H
55127                       #include <ieeefp.h>
55128                       #endif
55129
55130 int
55131 main ()
55132 {
55133  _finitef(0);
55134   ;
55135   return 0;
55136 }
55137 _ACEOF
55138 if ac_fn_cxx_try_compile "$LINENO"; then :
55139   glibcxx_cv_func__finitef_use=yes
55140 else
55141   glibcxx_cv_func__finitef_use=no
55142 fi
55143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55144       ac_ext=c
55145 ac_cpp='$CPP $CPPFLAGS'
55146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55149
55150
55151 fi
55152
55153   fi
55154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55155 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55156
55157     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55158       for ac_func in _finitef
55159 do :
55160   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55161 if test "x$ac_cv_func__finitef" = x""yes; then :
55162   cat >>confdefs.h <<_ACEOF
55163 #define HAVE__FINITEF 1
55164 _ACEOF
55165
55166 fi
55167 done
55168
55169     fi
55170   fi
55171
55172
55173
55174
55175
55176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55177 $as_echo_n "checking for long double trig functions... " >&6; }
55178   if test "${glibcxx_cv_func_long_double_trig_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 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55196   ;
55197   return 0;
55198 }
55199 _ACEOF
55200 if ac_fn_cxx_try_compile "$LINENO"; then :
55201   glibcxx_cv_func_long_double_trig_use=yes
55202 else
55203   glibcxx_cv_func_long_double_trig_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 fi
55213
55214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55215 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55216   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55217     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55218 do :
55219   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55221 eval as_val=\$$as_ac_var
55222    if test "x$as_val" = x""yes; then :
55223   cat >>confdefs.h <<_ACEOF
55224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55225 _ACEOF
55226
55227 fi
55228 done
55229
55230   else
55231     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55232 $as_echo_n "checking for _long double trig functions... " >&6; }
55233     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55234   $as_echo_n "(cached) " >&6
55235 else
55236
55237
55238       ac_ext=cpp
55239 ac_cpp='$CXXCPP $CPPFLAGS'
55240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55243
55244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55245 /* end confdefs.h.  */
55246 #include <math.h>
55247 int
55248 main ()
55249 {
55250 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55251   ;
55252   return 0;
55253 }
55254 _ACEOF
55255 if ac_fn_cxx_try_compile "$LINENO"; then :
55256   glibcxx_cv_func__long_double_trig_use=yes
55257 else
55258   glibcxx_cv_func__long_double_trig_use=no
55259 fi
55260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55261       ac_ext=c
55262 ac_cpp='$CPP $CPPFLAGS'
55263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55266
55267 fi
55268
55269     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55270 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55271     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55272       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55273 do :
55274   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55276 eval as_val=\$$as_ac_var
55277    if test "x$as_val" = x""yes; then :
55278   cat >>confdefs.h <<_ACEOF
55279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55280 _ACEOF
55281
55282 fi
55283 done
55284
55285     fi
55286   fi
55287
55288
55289
55290
55291
55292     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55293 $as_echo_n "checking for long double round functions... " >&6; }
55294   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55295   $as_echo_n "(cached) " >&6
55296 else
55297
55298
55299     ac_ext=cpp
55300 ac_cpp='$CXXCPP $CPPFLAGS'
55301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55304
55305     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55306 /* end confdefs.h.  */
55307 #include <math.h>
55308 int
55309 main ()
55310 {
55311 ceill (0); floorl (0);
55312   ;
55313   return 0;
55314 }
55315 _ACEOF
55316 if ac_fn_cxx_try_compile "$LINENO"; then :
55317   glibcxx_cv_func_long_double_round_use=yes
55318 else
55319   glibcxx_cv_func_long_double_round_use=no
55320 fi
55321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55322     ac_ext=c
55323 ac_cpp='$CPP $CPPFLAGS'
55324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55327
55328 fi
55329
55330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55331 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55332   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55333     for ac_func in ceill floorl
55334 do :
55335   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55337 eval as_val=\$$as_ac_var
55338    if test "x$as_val" = x""yes; then :
55339   cat >>confdefs.h <<_ACEOF
55340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55341 _ACEOF
55342
55343 fi
55344 done
55345
55346   else
55347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55348 $as_echo_n "checking for _long double round functions... " >&6; }
55349     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55350   $as_echo_n "(cached) " >&6
55351 else
55352
55353
55354       ac_ext=cpp
55355 ac_cpp='$CXXCPP $CPPFLAGS'
55356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55359
55360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55361 /* end confdefs.h.  */
55362 #include <math.h>
55363 int
55364 main ()
55365 {
55366 _ceill (0); _floorl (0);
55367   ;
55368   return 0;
55369 }
55370 _ACEOF
55371 if ac_fn_cxx_try_compile "$LINENO"; then :
55372   glibcxx_cv_func__long_double_round_use=yes
55373 else
55374   glibcxx_cv_func__long_double_round_use=no
55375 fi
55376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55377       ac_ext=c
55378 ac_cpp='$CPP $CPPFLAGS'
55379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55382
55383 fi
55384
55385     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55386 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55387     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55388       for ac_func in _ceill _floorl
55389 do :
55390   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55392 eval as_val=\$$as_ac_var
55393    if test "x$as_val" = x""yes; then :
55394   cat >>confdefs.h <<_ACEOF
55395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55396 _ACEOF
55397
55398 fi
55399 done
55400
55401     fi
55402   fi
55403
55404
55405
55406
55407
55408
55409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55410 $as_echo_n "checking for isnanl declaration... " >&6; }
55411   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55412     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55413   $as_echo_n "(cached) " >&6
55414 else
55415
55416
55417       ac_ext=cpp
55418 ac_cpp='$CXXCPP $CPPFLAGS'
55419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55422
55423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55424 /* end confdefs.h.  */
55425 #include <math.h>
55426                       #ifdef HAVE_IEEEFP_H
55427                       #include <ieeefp.h>
55428                       #endif
55429
55430 int
55431 main ()
55432 {
55433  isnanl(0);
55434   ;
55435   return 0;
55436 }
55437 _ACEOF
55438 if ac_fn_cxx_try_compile "$LINENO"; then :
55439   glibcxx_cv_func_isnanl_use=yes
55440 else
55441   glibcxx_cv_func_isnanl_use=no
55442 fi
55443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55444       ac_ext=c
55445 ac_cpp='$CPP $CPPFLAGS'
55446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55449
55450
55451 fi
55452
55453   fi
55454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55455 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55456
55457   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55458     for ac_func in isnanl
55459 do :
55460   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55461 if test "x$ac_cv_func_isnanl" = x""yes; then :
55462   cat >>confdefs.h <<_ACEOF
55463 #define HAVE_ISNANL 1
55464 _ACEOF
55465
55466 fi
55467 done
55468
55469   else
55470
55471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55472 $as_echo_n "checking for _isnanl declaration... " >&6; }
55473   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55474     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55475   $as_echo_n "(cached) " >&6
55476 else
55477
55478
55479       ac_ext=cpp
55480 ac_cpp='$CXXCPP $CPPFLAGS'
55481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55484
55485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55486 /* end confdefs.h.  */
55487 #include <math.h>
55488                       #ifdef HAVE_IEEEFP_H
55489                       #include <ieeefp.h>
55490                       #endif
55491
55492 int
55493 main ()
55494 {
55495  _isnanl(0);
55496   ;
55497   return 0;
55498 }
55499 _ACEOF
55500 if ac_fn_cxx_try_compile "$LINENO"; then :
55501   glibcxx_cv_func__isnanl_use=yes
55502 else
55503   glibcxx_cv_func__isnanl_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__isnanl_use" >&5
55517 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55518
55519     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55520       for ac_func in _isnanl
55521 do :
55522   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55523 if test "x$ac_cv_func__isnanl" = x""yes; then :
55524   cat >>confdefs.h <<_ACEOF
55525 #define HAVE__ISNANL 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 isinfl declaration" >&5
55539 $as_echo_n "checking for isinfl declaration... " >&6; }
55540   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55541     if test "${glibcxx_cv_func_isinfl_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  isinfl(0);
55563   ;
55564   return 0;
55565 }
55566 _ACEOF
55567 if ac_fn_cxx_try_compile "$LINENO"; then :
55568   glibcxx_cv_func_isinfl_use=yes
55569 else
55570   glibcxx_cv_func_isinfl_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_isinfl_use" >&5
55584 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55585
55586   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55587     for ac_func in isinfl
55588 do :
55589   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55590 if test "x$ac_cv_func_isinfl" = x""yes; then :
55591   cat >>confdefs.h <<_ACEOF
55592 #define HAVE_ISINFL 1
55593 _ACEOF
55594
55595 fi
55596 done
55597
55598   else
55599
55600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55601 $as_echo_n "checking for _isinfl declaration... " >&6; }
55602   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55603     if test "${glibcxx_cv_func__isinfl_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  _isinfl(0);
55625   ;
55626   return 0;
55627 }
55628 _ACEOF
55629 if ac_fn_cxx_try_compile "$LINENO"; then :
55630   glibcxx_cv_func__isinfl_use=yes
55631 else
55632   glibcxx_cv_func__isinfl_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__isinfl_use" >&5
55646 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55647
55648     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55649       for ac_func in _isinfl
55650 do :
55651   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55652 if test "x$ac_cv_func__isinfl" = x""yes; then :
55653   cat >>confdefs.h <<_ACEOF
55654 #define HAVE__ISINFL 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 atan2l declaration" >&5
55668 $as_echo_n "checking for atan2l declaration... " >&6; }
55669   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55670     if test "${glibcxx_cv_func_atan2l_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  atan2l(0, 0);
55688   ;
55689   return 0;
55690 }
55691 _ACEOF
55692 if ac_fn_cxx_try_compile "$LINENO"; then :
55693   glibcxx_cv_func_atan2l_use=yes
55694 else
55695   glibcxx_cv_func_atan2l_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_atan2l_use" >&5
55709 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55710
55711   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55712     for ac_func in atan2l
55713 do :
55714   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55715 if test "x$ac_cv_func_atan2l" = x""yes; then :
55716   cat >>confdefs.h <<_ACEOF
55717 #define HAVE_ATAN2L 1
55718 _ACEOF
55719
55720 fi
55721 done
55722
55723   else
55724
55725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55726 $as_echo_n "checking for _atan2l declaration... " >&6; }
55727   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55728     if test "${glibcxx_cv_func__atan2l_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  _atan2l(0, 0);
55746   ;
55747   return 0;
55748 }
55749 _ACEOF
55750 if ac_fn_cxx_try_compile "$LINENO"; then :
55751   glibcxx_cv_func__atan2l_use=yes
55752 else
55753   glibcxx_cv_func__atan2l_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__atan2l_use" >&5
55767 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55768
55769     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55770       for ac_func in _atan2l
55771 do :
55772   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55773 if test "x$ac_cv_func__atan2l" = x""yes; then :
55774   cat >>confdefs.h <<_ACEOF
55775 #define HAVE__ATAN2L 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 expl declaration" >&5
55789 $as_echo_n "checking for expl declaration... " >&6; }
55790   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55791     if test "${glibcxx_cv_func_expl_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  expl(0);
55813   ;
55814   return 0;
55815 }
55816 _ACEOF
55817 if ac_fn_cxx_try_compile "$LINENO"; then :
55818   glibcxx_cv_func_expl_use=yes
55819 else
55820   glibcxx_cv_func_expl_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_expl_use" >&5
55834 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55835
55836   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55837     for ac_func in expl
55838 do :
55839   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55840 if test "x$ac_cv_func_expl" = x""yes; then :
55841   cat >>confdefs.h <<_ACEOF
55842 #define HAVE_EXPL 1
55843 _ACEOF
55844
55845 fi
55846 done
55847
55848   else
55849
55850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55851 $as_echo_n "checking for _expl declaration... " >&6; }
55852   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55853     if test "${glibcxx_cv_func__expl_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  _expl(0);
55875   ;
55876   return 0;
55877 }
55878 _ACEOF
55879 if ac_fn_cxx_try_compile "$LINENO"; then :
55880   glibcxx_cv_func__expl_use=yes
55881 else
55882   glibcxx_cv_func__expl_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__expl_use" >&5
55896 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55897
55898     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55899       for ac_func in _expl
55900 do :
55901   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55902 if test "x$ac_cv_func__expl" = x""yes; then :
55903   cat >>confdefs.h <<_ACEOF
55904 #define HAVE__EXPL 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 fabsl declaration" >&5
55918 $as_echo_n "checking for fabsl declaration... " >&6; }
55919   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55920     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55921   $as_echo_n "(cached) " >&6
55922 else
55923
55924
55925       ac_ext=cpp
55926 ac_cpp='$CXXCPP $CPPFLAGS'
55927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55930
55931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55932 /* end confdefs.h.  */
55933 #include <math.h>
55934                       #ifdef HAVE_IEEEFP_H
55935                       #include <ieeefp.h>
55936                       #endif
55937
55938 int
55939 main ()
55940 {
55941  fabsl(0);
55942   ;
55943   return 0;
55944 }
55945 _ACEOF
55946 if ac_fn_cxx_try_compile "$LINENO"; then :
55947   glibcxx_cv_func_fabsl_use=yes
55948 else
55949   glibcxx_cv_func_fabsl_use=no
55950 fi
55951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55952       ac_ext=c
55953 ac_cpp='$CPP $CPPFLAGS'
55954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55957
55958
55959 fi
55960
55961   fi
55962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55963 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55964
55965   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55966     for ac_func in fabsl
55967 do :
55968   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55969 if test "x$ac_cv_func_fabsl" = x""yes; then :
55970   cat >>confdefs.h <<_ACEOF
55971 #define HAVE_FABSL 1
55972 _ACEOF
55973
55974 fi
55975 done
55976
55977   else
55978
55979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55980 $as_echo_n "checking for _fabsl declaration... " >&6; }
55981   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55982     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55983   $as_echo_n "(cached) " >&6
55984 else
55985
55986
55987       ac_ext=cpp
55988 ac_cpp='$CXXCPP $CPPFLAGS'
55989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55992
55993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55994 /* end confdefs.h.  */
55995 #include <math.h>
55996                       #ifdef HAVE_IEEEFP_H
55997                       #include <ieeefp.h>
55998                       #endif
55999
56000 int
56001 main ()
56002 {
56003  _fabsl(0);
56004   ;
56005   return 0;
56006 }
56007 _ACEOF
56008 if ac_fn_cxx_try_compile "$LINENO"; then :
56009   glibcxx_cv_func__fabsl_use=yes
56010 else
56011   glibcxx_cv_func__fabsl_use=no
56012 fi
56013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56014       ac_ext=c
56015 ac_cpp='$CPP $CPPFLAGS'
56016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56019
56020
56021 fi
56022
56023   fi
56024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56025 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56026
56027     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56028       for ac_func in _fabsl
56029 do :
56030   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56031 if test "x$ac_cv_func__fabsl" = x""yes; then :
56032   cat >>confdefs.h <<_ACEOF
56033 #define HAVE__FABSL 1
56034 _ACEOF
56035
56036 fi
56037 done
56038
56039     fi
56040   fi
56041
56042
56043
56044
56045
56046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56047 $as_echo_n "checking for fmodl declaration... " >&6; }
56048   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56049     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56050   $as_echo_n "(cached) " >&6
56051 else
56052
56053
56054       ac_ext=cpp
56055 ac_cpp='$CXXCPP $CPPFLAGS'
56056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56059
56060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56061 /* end confdefs.h.  */
56062 #include <math.h>
56063 int
56064 main ()
56065 {
56066  fmodl(0, 0);
56067   ;
56068   return 0;
56069 }
56070 _ACEOF
56071 if ac_fn_cxx_try_compile "$LINENO"; then :
56072   glibcxx_cv_func_fmodl_use=yes
56073 else
56074   glibcxx_cv_func_fmodl_use=no
56075 fi
56076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56077       ac_ext=c
56078 ac_cpp='$CPP $CPPFLAGS'
56079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56082
56083
56084 fi
56085
56086   fi
56087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56088 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56089
56090   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56091     for ac_func in fmodl
56092 do :
56093   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56094 if test "x$ac_cv_func_fmodl" = x""yes; then :
56095   cat >>confdefs.h <<_ACEOF
56096 #define HAVE_FMODL 1
56097 _ACEOF
56098
56099 fi
56100 done
56101
56102   else
56103
56104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56105 $as_echo_n "checking for _fmodl declaration... " >&6; }
56106   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56107     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56108   $as_echo_n "(cached) " >&6
56109 else
56110
56111
56112       ac_ext=cpp
56113 ac_cpp='$CXXCPP $CPPFLAGS'
56114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56117
56118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56119 /* end confdefs.h.  */
56120 #include <math.h>
56121 int
56122 main ()
56123 {
56124  _fmodl(0, 0);
56125   ;
56126   return 0;
56127 }
56128 _ACEOF
56129 if ac_fn_cxx_try_compile "$LINENO"; then :
56130   glibcxx_cv_func__fmodl_use=yes
56131 else
56132   glibcxx_cv_func__fmodl_use=no
56133 fi
56134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56135       ac_ext=c
56136 ac_cpp='$CPP $CPPFLAGS'
56137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56140
56141
56142 fi
56143
56144   fi
56145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56146 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56147
56148     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56149       for ac_func in _fmodl
56150 do :
56151   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56152 if test "x$ac_cv_func__fmodl" = x""yes; then :
56153   cat >>confdefs.h <<_ACEOF
56154 #define HAVE__FMODL 1
56155 _ACEOF
56156
56157 fi
56158 done
56159
56160     fi
56161   fi
56162
56163
56164
56165
56166
56167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56168 $as_echo_n "checking for frexpl declaration... " >&6; }
56169   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56170     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56171   $as_echo_n "(cached) " >&6
56172 else
56173
56174
56175       ac_ext=cpp
56176 ac_cpp='$CXXCPP $CPPFLAGS'
56177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56180
56181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56182 /* end confdefs.h.  */
56183 #include <math.h>
56184 int
56185 main ()
56186 {
56187  frexpl(0, 0);
56188   ;
56189   return 0;
56190 }
56191 _ACEOF
56192 if ac_fn_cxx_try_compile "$LINENO"; then :
56193   glibcxx_cv_func_frexpl_use=yes
56194 else
56195   glibcxx_cv_func_frexpl_use=no
56196 fi
56197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56198       ac_ext=c
56199 ac_cpp='$CPP $CPPFLAGS'
56200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56203
56204
56205 fi
56206
56207   fi
56208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56209 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56210
56211   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56212     for ac_func in frexpl
56213 do :
56214   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56215 if test "x$ac_cv_func_frexpl" = x""yes; then :
56216   cat >>confdefs.h <<_ACEOF
56217 #define HAVE_FREXPL 1
56218 _ACEOF
56219
56220 fi
56221 done
56222
56223   else
56224
56225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56226 $as_echo_n "checking for _frexpl declaration... " >&6; }
56227   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56228     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56229   $as_echo_n "(cached) " >&6
56230 else
56231
56232
56233       ac_ext=cpp
56234 ac_cpp='$CXXCPP $CPPFLAGS'
56235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56238
56239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56240 /* end confdefs.h.  */
56241 #include <math.h>
56242 int
56243 main ()
56244 {
56245  _frexpl(0, 0);
56246   ;
56247   return 0;
56248 }
56249 _ACEOF
56250 if ac_fn_cxx_try_compile "$LINENO"; then :
56251   glibcxx_cv_func__frexpl_use=yes
56252 else
56253   glibcxx_cv_func__frexpl_use=no
56254 fi
56255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56256       ac_ext=c
56257 ac_cpp='$CPP $CPPFLAGS'
56258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56261
56262
56263 fi
56264
56265   fi
56266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56267 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56268
56269     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56270       for ac_func in _frexpl
56271 do :
56272   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56273 if test "x$ac_cv_func__frexpl" = x""yes; then :
56274   cat >>confdefs.h <<_ACEOF
56275 #define HAVE__FREXPL 1
56276 _ACEOF
56277
56278 fi
56279 done
56280
56281     fi
56282   fi
56283
56284
56285
56286
56287
56288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56289 $as_echo_n "checking for hypotl declaration... " >&6; }
56290   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56291     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56292   $as_echo_n "(cached) " >&6
56293 else
56294
56295
56296       ac_ext=cpp
56297 ac_cpp='$CXXCPP $CPPFLAGS'
56298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56301
56302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56303 /* end confdefs.h.  */
56304 #include <math.h>
56305 int
56306 main ()
56307 {
56308  hypotl(0, 0);
56309   ;
56310   return 0;
56311 }
56312 _ACEOF
56313 if ac_fn_cxx_try_compile "$LINENO"; then :
56314   glibcxx_cv_func_hypotl_use=yes
56315 else
56316   glibcxx_cv_func_hypotl_use=no
56317 fi
56318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56319       ac_ext=c
56320 ac_cpp='$CPP $CPPFLAGS'
56321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56324
56325
56326 fi
56327
56328   fi
56329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56330 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56331
56332   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56333     for ac_func in hypotl
56334 do :
56335   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56336 if test "x$ac_cv_func_hypotl" = x""yes; then :
56337   cat >>confdefs.h <<_ACEOF
56338 #define HAVE_HYPOTL 1
56339 _ACEOF
56340
56341 fi
56342 done
56343
56344   else
56345
56346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56347 $as_echo_n "checking for _hypotl declaration... " >&6; }
56348   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56349     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56350   $as_echo_n "(cached) " >&6
56351 else
56352
56353
56354       ac_ext=cpp
56355 ac_cpp='$CXXCPP $CPPFLAGS'
56356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56359
56360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56361 /* end confdefs.h.  */
56362 #include <math.h>
56363 int
56364 main ()
56365 {
56366  _hypotl(0, 0);
56367   ;
56368   return 0;
56369 }
56370 _ACEOF
56371 if ac_fn_cxx_try_compile "$LINENO"; then :
56372   glibcxx_cv_func__hypotl_use=yes
56373 else
56374   glibcxx_cv_func__hypotl_use=no
56375 fi
56376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56377       ac_ext=c
56378 ac_cpp='$CPP $CPPFLAGS'
56379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56382
56383
56384 fi
56385
56386   fi
56387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56388 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56389
56390     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56391       for ac_func in _hypotl
56392 do :
56393   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56394 if test "x$ac_cv_func__hypotl" = x""yes; then :
56395   cat >>confdefs.h <<_ACEOF
56396 #define HAVE__HYPOTL 1
56397 _ACEOF
56398
56399 fi
56400 done
56401
56402     fi
56403   fi
56404
56405
56406
56407
56408
56409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56410 $as_echo_n "checking for ldexpl declaration... " >&6; }
56411   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56412     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56413   $as_echo_n "(cached) " >&6
56414 else
56415
56416
56417       ac_ext=cpp
56418 ac_cpp='$CXXCPP $CPPFLAGS'
56419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56422
56423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56424 /* end confdefs.h.  */
56425 #include <math.h>
56426 int
56427 main ()
56428 {
56429  ldexpl(0, 0);
56430   ;
56431   return 0;
56432 }
56433 _ACEOF
56434 if ac_fn_cxx_try_compile "$LINENO"; then :
56435   glibcxx_cv_func_ldexpl_use=yes
56436 else
56437   glibcxx_cv_func_ldexpl_use=no
56438 fi
56439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56440       ac_ext=c
56441 ac_cpp='$CPP $CPPFLAGS'
56442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56445
56446
56447 fi
56448
56449   fi
56450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56451 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56452
56453   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56454     for ac_func in ldexpl
56455 do :
56456   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56457 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56458   cat >>confdefs.h <<_ACEOF
56459 #define HAVE_LDEXPL 1
56460 _ACEOF
56461
56462 fi
56463 done
56464
56465   else
56466
56467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56468 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56469   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56470     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56471   $as_echo_n "(cached) " >&6
56472 else
56473
56474
56475       ac_ext=cpp
56476 ac_cpp='$CXXCPP $CPPFLAGS'
56477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56480
56481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56482 /* end confdefs.h.  */
56483 #include <math.h>
56484 int
56485 main ()
56486 {
56487  _ldexpl(0, 0);
56488   ;
56489   return 0;
56490 }
56491 _ACEOF
56492 if ac_fn_cxx_try_compile "$LINENO"; then :
56493   glibcxx_cv_func__ldexpl_use=yes
56494 else
56495   glibcxx_cv_func__ldexpl_use=no
56496 fi
56497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56498       ac_ext=c
56499 ac_cpp='$CPP $CPPFLAGS'
56500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56503
56504
56505 fi
56506
56507   fi
56508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56509 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56510
56511     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56512       for ac_func in _ldexpl
56513 do :
56514   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56515 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56516   cat >>confdefs.h <<_ACEOF
56517 #define HAVE__LDEXPL 1
56518 _ACEOF
56519
56520 fi
56521 done
56522
56523     fi
56524   fi
56525
56526
56527
56528
56529
56530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56531 $as_echo_n "checking for logl declaration... " >&6; }
56532   if test x${glibcxx_cv_func_logl_use+set} != xset; then
56533     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56534   $as_echo_n "(cached) " >&6
56535 else
56536
56537
56538       ac_ext=cpp
56539 ac_cpp='$CXXCPP $CPPFLAGS'
56540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56543
56544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56545 /* end confdefs.h.  */
56546 #include <math.h>
56547                       #ifdef HAVE_IEEEFP_H
56548                       #include <ieeefp.h>
56549                       #endif
56550
56551 int
56552 main ()
56553 {
56554  logl(0);
56555   ;
56556   return 0;
56557 }
56558 _ACEOF
56559 if ac_fn_cxx_try_compile "$LINENO"; then :
56560   glibcxx_cv_func_logl_use=yes
56561 else
56562   glibcxx_cv_func_logl_use=no
56563 fi
56564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56565       ac_ext=c
56566 ac_cpp='$CPP $CPPFLAGS'
56567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56570
56571
56572 fi
56573
56574   fi
56575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56576 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56577
56578   if test x$glibcxx_cv_func_logl_use = x"yes"; then
56579     for ac_func in logl
56580 do :
56581   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56582 if test "x$ac_cv_func_logl" = x""yes; then :
56583   cat >>confdefs.h <<_ACEOF
56584 #define HAVE_LOGL 1
56585 _ACEOF
56586
56587 fi
56588 done
56589
56590   else
56591
56592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56593 $as_echo_n "checking for _logl declaration... " >&6; }
56594   if test x${glibcxx_cv_func__logl_use+set} != xset; then
56595     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56596   $as_echo_n "(cached) " >&6
56597 else
56598
56599
56600       ac_ext=cpp
56601 ac_cpp='$CXXCPP $CPPFLAGS'
56602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56605
56606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56607 /* end confdefs.h.  */
56608 #include <math.h>
56609                       #ifdef HAVE_IEEEFP_H
56610                       #include <ieeefp.h>
56611                       #endif
56612
56613 int
56614 main ()
56615 {
56616  _logl(0);
56617   ;
56618   return 0;
56619 }
56620 _ACEOF
56621 if ac_fn_cxx_try_compile "$LINENO"; then :
56622   glibcxx_cv_func__logl_use=yes
56623 else
56624   glibcxx_cv_func__logl_use=no
56625 fi
56626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56627       ac_ext=c
56628 ac_cpp='$CPP $CPPFLAGS'
56629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56632
56633
56634 fi
56635
56636   fi
56637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56638 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56639
56640     if test x$glibcxx_cv_func__logl_use = x"yes"; then
56641       for ac_func in _logl
56642 do :
56643   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56644 if test "x$ac_cv_func__logl" = x""yes; then :
56645   cat >>confdefs.h <<_ACEOF
56646 #define HAVE__LOGL 1
56647 _ACEOF
56648
56649 fi
56650 done
56651
56652     fi
56653   fi
56654
56655
56656
56657
56658
56659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56660 $as_echo_n "checking for log10l declaration... " >&6; }
56661   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56662     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56663   $as_echo_n "(cached) " >&6
56664 else
56665
56666
56667       ac_ext=cpp
56668 ac_cpp='$CXXCPP $CPPFLAGS'
56669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56672
56673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56674 /* end confdefs.h.  */
56675 #include <math.h>
56676                       #ifdef HAVE_IEEEFP_H
56677                       #include <ieeefp.h>
56678                       #endif
56679
56680 int
56681 main ()
56682 {
56683  log10l(0);
56684   ;
56685   return 0;
56686 }
56687 _ACEOF
56688 if ac_fn_cxx_try_compile "$LINENO"; then :
56689   glibcxx_cv_func_log10l_use=yes
56690 else
56691   glibcxx_cv_func_log10l_use=no
56692 fi
56693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56694       ac_ext=c
56695 ac_cpp='$CPP $CPPFLAGS'
56696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56699
56700
56701 fi
56702
56703   fi
56704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56705 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56706
56707   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56708     for ac_func in log10l
56709 do :
56710   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56711 if test "x$ac_cv_func_log10l" = x""yes; then :
56712   cat >>confdefs.h <<_ACEOF
56713 #define HAVE_LOG10L 1
56714 _ACEOF
56715
56716 fi
56717 done
56718
56719   else
56720
56721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56722 $as_echo_n "checking for _log10l declaration... " >&6; }
56723   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56724     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56725   $as_echo_n "(cached) " >&6
56726 else
56727
56728
56729       ac_ext=cpp
56730 ac_cpp='$CXXCPP $CPPFLAGS'
56731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56734
56735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56736 /* end confdefs.h.  */
56737 #include <math.h>
56738                       #ifdef HAVE_IEEEFP_H
56739                       #include <ieeefp.h>
56740                       #endif
56741
56742 int
56743 main ()
56744 {
56745  _log10l(0);
56746   ;
56747   return 0;
56748 }
56749 _ACEOF
56750 if ac_fn_cxx_try_compile "$LINENO"; then :
56751   glibcxx_cv_func__log10l_use=yes
56752 else
56753   glibcxx_cv_func__log10l_use=no
56754 fi
56755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56756       ac_ext=c
56757 ac_cpp='$CPP $CPPFLAGS'
56758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56761
56762
56763 fi
56764
56765   fi
56766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56767 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56768
56769     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56770       for ac_func in _log10l
56771 do :
56772   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56773 if test "x$ac_cv_func__log10l" = x""yes; then :
56774   cat >>confdefs.h <<_ACEOF
56775 #define HAVE__LOG10L 1
56776 _ACEOF
56777
56778 fi
56779 done
56780
56781     fi
56782   fi
56783
56784
56785
56786
56787
56788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56789 $as_echo_n "checking for modfl declaration... " >&6; }
56790   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56791     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56792   $as_echo_n "(cached) " >&6
56793 else
56794
56795
56796       ac_ext=cpp
56797 ac_cpp='$CXXCPP $CPPFLAGS'
56798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56801
56802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56803 /* end confdefs.h.  */
56804 #include <math.h>
56805 int
56806 main ()
56807 {
56808  modfl(0, 0);
56809   ;
56810   return 0;
56811 }
56812 _ACEOF
56813 if ac_fn_cxx_try_compile "$LINENO"; then :
56814   glibcxx_cv_func_modfl_use=yes
56815 else
56816   glibcxx_cv_func_modfl_use=no
56817 fi
56818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56819       ac_ext=c
56820 ac_cpp='$CPP $CPPFLAGS'
56821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56824
56825
56826 fi
56827
56828   fi
56829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56830 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56831
56832   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56833     for ac_func in modfl
56834 do :
56835   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56836 if test "x$ac_cv_func_modfl" = x""yes; then :
56837   cat >>confdefs.h <<_ACEOF
56838 #define HAVE_MODFL 1
56839 _ACEOF
56840
56841 fi
56842 done
56843
56844   else
56845
56846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56847 $as_echo_n "checking for _modfl declaration... " >&6; }
56848   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56849     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56850   $as_echo_n "(cached) " >&6
56851 else
56852
56853
56854       ac_ext=cpp
56855 ac_cpp='$CXXCPP $CPPFLAGS'
56856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56859
56860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56861 /* end confdefs.h.  */
56862 #include <math.h>
56863 int
56864 main ()
56865 {
56866  _modfl(0, 0);
56867   ;
56868   return 0;
56869 }
56870 _ACEOF
56871 if ac_fn_cxx_try_compile "$LINENO"; then :
56872   glibcxx_cv_func__modfl_use=yes
56873 else
56874   glibcxx_cv_func__modfl_use=no
56875 fi
56876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56877       ac_ext=c
56878 ac_cpp='$CPP $CPPFLAGS'
56879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56882
56883
56884 fi
56885
56886   fi
56887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56888 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56889
56890     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56891       for ac_func in _modfl
56892 do :
56893   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56894 if test "x$ac_cv_func__modfl" = x""yes; then :
56895   cat >>confdefs.h <<_ACEOF
56896 #define HAVE__MODFL 1
56897 _ACEOF
56898
56899 fi
56900 done
56901
56902     fi
56903   fi
56904
56905
56906
56907
56908
56909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56910 $as_echo_n "checking for powl declaration... " >&6; }
56911   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56912     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56913   $as_echo_n "(cached) " >&6
56914 else
56915
56916
56917       ac_ext=cpp
56918 ac_cpp='$CXXCPP $CPPFLAGS'
56919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56922
56923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56924 /* end confdefs.h.  */
56925 #include <math.h>
56926 int
56927 main ()
56928 {
56929  powl(0, 0);
56930   ;
56931   return 0;
56932 }
56933 _ACEOF
56934 if ac_fn_cxx_try_compile "$LINENO"; then :
56935   glibcxx_cv_func_powl_use=yes
56936 else
56937   glibcxx_cv_func_powl_use=no
56938 fi
56939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56940       ac_ext=c
56941 ac_cpp='$CPP $CPPFLAGS'
56942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56945
56946
56947 fi
56948
56949   fi
56950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56951 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56952
56953   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56954     for ac_func in powl
56955 do :
56956   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56957 if test "x$ac_cv_func_powl" = x""yes; then :
56958   cat >>confdefs.h <<_ACEOF
56959 #define HAVE_POWL 1
56960 _ACEOF
56961
56962 fi
56963 done
56964
56965   else
56966
56967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56968 $as_echo_n "checking for _powl declaration... " >&6; }
56969   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56970     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56971   $as_echo_n "(cached) " >&6
56972 else
56973
56974
56975       ac_ext=cpp
56976 ac_cpp='$CXXCPP $CPPFLAGS'
56977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56980
56981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56982 /* end confdefs.h.  */
56983 #include <math.h>
56984 int
56985 main ()
56986 {
56987  _powl(0, 0);
56988   ;
56989   return 0;
56990 }
56991 _ACEOF
56992 if ac_fn_cxx_try_compile "$LINENO"; then :
56993   glibcxx_cv_func__powl_use=yes
56994 else
56995   glibcxx_cv_func__powl_use=no
56996 fi
56997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56998       ac_ext=c
56999 ac_cpp='$CPP $CPPFLAGS'
57000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57003
57004
57005 fi
57006
57007   fi
57008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57009 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57010
57011     if test x$glibcxx_cv_func__powl_use = x"yes"; then
57012       for ac_func in _powl
57013 do :
57014   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57015 if test "x$ac_cv_func__powl" = x""yes; then :
57016   cat >>confdefs.h <<_ACEOF
57017 #define HAVE__POWL 1
57018 _ACEOF
57019
57020 fi
57021 done
57022
57023     fi
57024   fi
57025
57026
57027
57028
57029
57030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57031 $as_echo_n "checking for sqrtl declaration... " >&6; }
57032   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57033     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57034   $as_echo_n "(cached) " >&6
57035 else
57036
57037
57038       ac_ext=cpp
57039 ac_cpp='$CXXCPP $CPPFLAGS'
57040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57043
57044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57045 /* end confdefs.h.  */
57046 #include <math.h>
57047                       #ifdef HAVE_IEEEFP_H
57048                       #include <ieeefp.h>
57049                       #endif
57050
57051 int
57052 main ()
57053 {
57054  sqrtl(0);
57055   ;
57056   return 0;
57057 }
57058 _ACEOF
57059 if ac_fn_cxx_try_compile "$LINENO"; then :
57060   glibcxx_cv_func_sqrtl_use=yes
57061 else
57062   glibcxx_cv_func_sqrtl_use=no
57063 fi
57064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57065       ac_ext=c
57066 ac_cpp='$CPP $CPPFLAGS'
57067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57070
57071
57072 fi
57073
57074   fi
57075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57076 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57077
57078   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57079     for ac_func in sqrtl
57080 do :
57081   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57082 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57083   cat >>confdefs.h <<_ACEOF
57084 #define HAVE_SQRTL 1
57085 _ACEOF
57086
57087 fi
57088 done
57089
57090   else
57091
57092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57093 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57094   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57095     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57096   $as_echo_n "(cached) " >&6
57097 else
57098
57099
57100       ac_ext=cpp
57101 ac_cpp='$CXXCPP $CPPFLAGS'
57102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57105
57106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57107 /* end confdefs.h.  */
57108 #include <math.h>
57109                       #ifdef HAVE_IEEEFP_H
57110                       #include <ieeefp.h>
57111                       #endif
57112
57113 int
57114 main ()
57115 {
57116  _sqrtl(0);
57117   ;
57118   return 0;
57119 }
57120 _ACEOF
57121 if ac_fn_cxx_try_compile "$LINENO"; then :
57122   glibcxx_cv_func__sqrtl_use=yes
57123 else
57124   glibcxx_cv_func__sqrtl_use=no
57125 fi
57126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57127       ac_ext=c
57128 ac_cpp='$CPP $CPPFLAGS'
57129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57132
57133
57134 fi
57135
57136   fi
57137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57138 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57139
57140     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57141       for ac_func in _sqrtl
57142 do :
57143   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57144 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57145   cat >>confdefs.h <<_ACEOF
57146 #define HAVE__SQRTL 1
57147 _ACEOF
57148
57149 fi
57150 done
57151
57152     fi
57153   fi
57154
57155
57156
57157
57158
57159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57160 $as_echo_n "checking for sincosl declaration... " >&6; }
57161   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57162     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57163   $as_echo_n "(cached) " >&6
57164 else
57165
57166
57167       ac_ext=cpp
57168 ac_cpp='$CXXCPP $CPPFLAGS'
57169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57172
57173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57174 /* end confdefs.h.  */
57175 #include <math.h>
57176 int
57177 main ()
57178 {
57179  sincosl(0, 0, 0);
57180   ;
57181   return 0;
57182 }
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185   glibcxx_cv_func_sincosl_use=yes
57186 else
57187   glibcxx_cv_func_sincosl_use=no
57188 fi
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190       ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57195
57196
57197 fi
57198
57199   fi
57200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57201 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57202
57203   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57204     for ac_func in sincosl
57205 do :
57206   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57207 if test "x$ac_cv_func_sincosl" = x""yes; then :
57208   cat >>confdefs.h <<_ACEOF
57209 #define HAVE_SINCOSL 1
57210 _ACEOF
57211
57212 fi
57213 done
57214
57215   else
57216
57217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57218 $as_echo_n "checking for _sincosl declaration... " >&6; }
57219   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57220     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57221   $as_echo_n "(cached) " >&6
57222 else
57223
57224
57225       ac_ext=cpp
57226 ac_cpp='$CXXCPP $CPPFLAGS'
57227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57230
57231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57232 /* end confdefs.h.  */
57233 #include <math.h>
57234 int
57235 main ()
57236 {
57237  _sincosl(0, 0, 0);
57238   ;
57239   return 0;
57240 }
57241 _ACEOF
57242 if ac_fn_cxx_try_compile "$LINENO"; then :
57243   glibcxx_cv_func__sincosl_use=yes
57244 else
57245   glibcxx_cv_func__sincosl_use=no
57246 fi
57247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57248       ac_ext=c
57249 ac_cpp='$CPP $CPPFLAGS'
57250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57253
57254
57255 fi
57256
57257   fi
57258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57259 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57260
57261     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57262       for ac_func in _sincosl
57263 do :
57264   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57265 if test "x$ac_cv_func__sincosl" = x""yes; then :
57266   cat >>confdefs.h <<_ACEOF
57267 #define HAVE__SINCOSL 1
57268 _ACEOF
57269
57270 fi
57271 done
57272
57273     fi
57274   fi
57275
57276
57277
57278
57279
57280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57281 $as_echo_n "checking for finitel declaration... " >&6; }
57282   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57283     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57284   $as_echo_n "(cached) " >&6
57285 else
57286
57287
57288       ac_ext=cpp
57289 ac_cpp='$CXXCPP $CPPFLAGS'
57290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57293
57294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57295 /* end confdefs.h.  */
57296 #include <math.h>
57297                       #ifdef HAVE_IEEEFP_H
57298                       #include <ieeefp.h>
57299                       #endif
57300
57301 int
57302 main ()
57303 {
57304  finitel(0);
57305   ;
57306   return 0;
57307 }
57308 _ACEOF
57309 if ac_fn_cxx_try_compile "$LINENO"; then :
57310   glibcxx_cv_func_finitel_use=yes
57311 else
57312   glibcxx_cv_func_finitel_use=no
57313 fi
57314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57315       ac_ext=c
57316 ac_cpp='$CPP $CPPFLAGS'
57317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57320
57321
57322 fi
57323
57324   fi
57325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57326 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57327
57328   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57329     for ac_func in finitel
57330 do :
57331   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57332 if test "x$ac_cv_func_finitel" = x""yes; then :
57333   cat >>confdefs.h <<_ACEOF
57334 #define HAVE_FINITEL 1
57335 _ACEOF
57336
57337 fi
57338 done
57339
57340   else
57341
57342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57343 $as_echo_n "checking for _finitel declaration... " >&6; }
57344   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57345     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57346   $as_echo_n "(cached) " >&6
57347 else
57348
57349
57350       ac_ext=cpp
57351 ac_cpp='$CXXCPP $CPPFLAGS'
57352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57355
57356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57357 /* end confdefs.h.  */
57358 #include <math.h>
57359                       #ifdef HAVE_IEEEFP_H
57360                       #include <ieeefp.h>
57361                       #endif
57362
57363 int
57364 main ()
57365 {
57366  _finitel(0);
57367   ;
57368   return 0;
57369 }
57370 _ACEOF
57371 if ac_fn_cxx_try_compile "$LINENO"; then :
57372   glibcxx_cv_func__finitel_use=yes
57373 else
57374   glibcxx_cv_func__finitel_use=no
57375 fi
57376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57377       ac_ext=c
57378 ac_cpp='$CPP $CPPFLAGS'
57379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57382
57383
57384 fi
57385
57386   fi
57387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57388 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57389
57390     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57391       for ac_func in _finitel
57392 do :
57393   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57394 if test "x$ac_cv_func__finitel" = x""yes; then :
57395   cat >>confdefs.h <<_ACEOF
57396 #define HAVE__FINITEL 1
57397 _ACEOF
57398
57399 fi
57400 done
57401
57402     fi
57403   fi
57404
57405
57406
57407
57408   LIBS="$ac_save_LIBS"
57409   CXXFLAGS="$ac_save_CXXFLAGS"
57410
57411
57412   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57413   ac_save_CXXFLAGS="$CXXFLAGS"
57414   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57415
57416
57417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57418 $as_echo_n "checking for strtold declaration... " >&6; }
57419   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57420     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57421   $as_echo_n "(cached) " >&6
57422 else
57423
57424
57425       ac_ext=cpp
57426 ac_cpp='$CXXCPP $CPPFLAGS'
57427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57430
57431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57432 /* end confdefs.h.  */
57433 #include <stdlib.h>
57434 int
57435 main ()
57436 {
57437  strtold(0, 0);
57438   ;
57439   return 0;
57440 }
57441 _ACEOF
57442 if ac_fn_cxx_try_compile "$LINENO"; then :
57443   glibcxx_cv_func_strtold_use=yes
57444 else
57445   glibcxx_cv_func_strtold_use=no
57446 fi
57447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57448       ac_ext=c
57449 ac_cpp='$CPP $CPPFLAGS'
57450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57453
57454
57455 fi
57456
57457   fi
57458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57459 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57460   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57461     for ac_func in strtold
57462 do :
57463   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57464 if test "x$ac_cv_func_strtold" = x""yes; then :
57465   cat >>confdefs.h <<_ACEOF
57466 #define HAVE_STRTOLD 1
57467 _ACEOF
57468
57469 fi
57470 done
57471
57472   fi
57473
57474
57475
57476
57477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57478 $as_echo_n "checking for strtof declaration... " >&6; }
57479   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57480     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57481   $as_echo_n "(cached) " >&6
57482 else
57483
57484
57485       ac_ext=cpp
57486 ac_cpp='$CXXCPP $CPPFLAGS'
57487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57490
57491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57492 /* end confdefs.h.  */
57493 #include <stdlib.h>
57494 int
57495 main ()
57496 {
57497  strtof(0, 0);
57498   ;
57499   return 0;
57500 }
57501 _ACEOF
57502 if ac_fn_cxx_try_compile "$LINENO"; then :
57503   glibcxx_cv_func_strtof_use=yes
57504 else
57505   glibcxx_cv_func_strtof_use=no
57506 fi
57507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57508       ac_ext=c
57509 ac_cpp='$CPP $CPPFLAGS'
57510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57513
57514
57515 fi
57516
57517   fi
57518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57519 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57520   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57521     for ac_func in strtof
57522 do :
57523   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57524 if test "x$ac_cv_func_strtof" = x""yes; then :
57525   cat >>confdefs.h <<_ACEOF
57526 #define HAVE_STRTOF 1
57527 _ACEOF
57528
57529 fi
57530 done
57531
57532   fi
57533
57534
57535
57536
57537   CXXFLAGS="$ac_save_CXXFLAGS"
57538
57539     ;;
57540   *-netbsd*)
57541     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57542
57543
57544   # If we're not using GNU ld, then there's no point in even trying these
57545   # tests.  Check for that first.  We should have already tested for gld
57546   # by now (in libtool), but require it now just to be safe...
57547   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57548   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57549
57550
57551
57552   # The name set by libtool depends on the version of libtool.  Shame on us
57553   # for depending on an impl detail, but c'est la vie.  Older versions used
57554   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57555   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57556   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57557   # set (hence we're using an older libtool), then set it.
57558   if test x${with_gnu_ld+set} != xset; then
57559     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57560       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57561       with_gnu_ld=no
57562     else
57563       with_gnu_ld=$ac_cv_prog_gnu_ld
57564     fi
57565   fi
57566
57567   # Start by getting the version number.  I think the libtool test already
57568   # does some of this, but throws away the result.
57569   glibcxx_ld_is_gold=no
57570   if test x"$with_gnu_ld" = x"yes"; then
57571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57572 $as_echo_n "checking for ld version... " >&6; }
57573
57574     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57575       glibcxx_ld_is_gold=yes
57576     fi
57577     ldver=`$LD --version 2>/dev/null |
57578            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'`
57579
57580     glibcxx_gnu_ld_version=`echo $ldver | \
57581            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57582     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57583 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57584   fi
57585
57586   # Set --gc-sections.
57587   glibcxx_have_gc_sections=no
57588   if test "$glibcxx_ld_is_gold" = "yes"; then
57589     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57590       glibcxx_have_gc_sections=yes
57591     fi
57592   else
57593     glibcxx_gcsections_min_ld=21602
57594     if test x"$with_gnu_ld" = x"yes" &&
57595         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57596       glibcxx_have_gc_sections=yes
57597     fi
57598   fi
57599   if test "$glibcxx_have_gc_sections" = "yes"; then
57600     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57601     # NB: This flag only works reliably after 2.16.1. Configure tests
57602     # for this are difficult, so hard wire a value that should work.
57603
57604     ac_test_CFLAGS="${CFLAGS+set}"
57605     ac_save_CFLAGS="$CFLAGS"
57606     CFLAGS='-Wl,--gc-sections'
57607
57608     # Check for -Wl,--gc-sections
57609     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57610 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57611     if test x$gcc_no_link = xyes; then
57612   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57613 fi
57614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57615 /* end confdefs.h.  */
57616  int one(void) { return 1; }
57617      int two(void) { return 2; }
57618
57619 int
57620 main ()
57621 {
57622  two();
57623   ;
57624   return 0;
57625 }
57626 _ACEOF
57627 if ac_fn_c_try_link "$LINENO"; then :
57628   ac_gcsections=yes
57629 else
57630   ac_gcsections=no
57631 fi
57632 rm -f core conftest.err conftest.$ac_objext \
57633     conftest$ac_exeext conftest.$ac_ext
57634     if test "$ac_gcsections" = "yes"; then
57635       rm -f conftest.c
57636       touch conftest.c
57637       if $CC -c conftest.c; then
57638         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57639            grep "Warning: gc-sections option ignored" > /dev/null; then
57640           ac_gcsections=no
57641         fi
57642       fi
57643       rm -f conftest.c conftest.o conftest
57644     fi
57645     if test "$ac_gcsections" = "yes"; then
57646       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57647     fi
57648     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57649 $as_echo "$ac_gcsections" >&6; }
57650
57651     if test "$ac_test_CFLAGS" = set; then
57652       CFLAGS="$ac_save_CFLAGS"
57653     else
57654       # this is the suspicious part
57655       CFLAGS=''
57656     fi
57657   fi
57658
57659   # Set -z,relro.
57660   # Note this is only for shared objects.
57661   ac_ld_relro=no
57662   if test x"$with_gnu_ld" = x"yes"; then
57663     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57664 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57665     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57666     if test -n "$cxx_z_relo"; then
57667       OPT_LDFLAGS="-Wl,-z,relro"
57668       ac_ld_relro=yes
57669     fi
57670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57671 $as_echo "$ac_ld_relro" >&6; }
57672   fi
57673
57674   # Set linker optimization flags.
57675   if test x"$with_gnu_ld" = x"yes"; then
57676     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57677   fi
57678
57679
57680
57681
57682     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57683
57684     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57685
57686     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57687
57688     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57689
57690     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57691
57692     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57693
57694     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57695
57696     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57697
57698     if test x"long_double_math_on_this_cpu" = x"yes"; then
57699       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57700
57701       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57702
57703       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57704
57705     fi
57706     ;;
57707   *-qnx6.1* | *-qnx6.2*)
57708     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57709
57710
57711   # If we're not using GNU ld, then there's no point in even trying these
57712   # tests.  Check for that first.  We should have already tested for gld
57713   # by now (in libtool), but require it now just to be safe...
57714   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57715   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57716
57717
57718
57719   # The name set by libtool depends on the version of libtool.  Shame on us
57720   # for depending on an impl detail, but c'est la vie.  Older versions used
57721   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57722   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57723   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57724   # set (hence we're using an older libtool), then set it.
57725   if test x${with_gnu_ld+set} != xset; then
57726     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57727       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57728       with_gnu_ld=no
57729     else
57730       with_gnu_ld=$ac_cv_prog_gnu_ld
57731     fi
57732   fi
57733
57734   # Start by getting the version number.  I think the libtool test already
57735   # does some of this, but throws away the result.
57736   glibcxx_ld_is_gold=no
57737   if test x"$with_gnu_ld" = x"yes"; then
57738     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57739 $as_echo_n "checking for ld version... " >&6; }
57740
57741     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57742       glibcxx_ld_is_gold=yes
57743     fi
57744     ldver=`$LD --version 2>/dev/null |
57745            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'`
57746
57747     glibcxx_gnu_ld_version=`echo $ldver | \
57748            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57749     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57750 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57751   fi
57752
57753   # Set --gc-sections.
57754   glibcxx_have_gc_sections=no
57755   if test "$glibcxx_ld_is_gold" = "yes"; then
57756     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57757       glibcxx_have_gc_sections=yes
57758     fi
57759   else
57760     glibcxx_gcsections_min_ld=21602
57761     if test x"$with_gnu_ld" = x"yes" &&
57762         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57763       glibcxx_have_gc_sections=yes
57764     fi
57765   fi
57766   if test "$glibcxx_have_gc_sections" = "yes"; then
57767     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57768     # NB: This flag only works reliably after 2.16.1. Configure tests
57769     # for this are difficult, so hard wire a value that should work.
57770
57771     ac_test_CFLAGS="${CFLAGS+set}"
57772     ac_save_CFLAGS="$CFLAGS"
57773     CFLAGS='-Wl,--gc-sections'
57774
57775     # Check for -Wl,--gc-sections
57776     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57777 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57778     if test x$gcc_no_link = xyes; then
57779   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57780 fi
57781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57782 /* end confdefs.h.  */
57783  int one(void) { return 1; }
57784      int two(void) { return 2; }
57785
57786 int
57787 main ()
57788 {
57789  two();
57790   ;
57791   return 0;
57792 }
57793 _ACEOF
57794 if ac_fn_c_try_link "$LINENO"; then :
57795   ac_gcsections=yes
57796 else
57797   ac_gcsections=no
57798 fi
57799 rm -f core conftest.err conftest.$ac_objext \
57800     conftest$ac_exeext conftest.$ac_ext
57801     if test "$ac_gcsections" = "yes"; then
57802       rm -f conftest.c
57803       touch conftest.c
57804       if $CC -c conftest.c; then
57805         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57806            grep "Warning: gc-sections option ignored" > /dev/null; then
57807           ac_gcsections=no
57808         fi
57809       fi
57810       rm -f conftest.c conftest.o conftest
57811     fi
57812     if test "$ac_gcsections" = "yes"; then
57813       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57814     fi
57815     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57816 $as_echo "$ac_gcsections" >&6; }
57817
57818     if test "$ac_test_CFLAGS" = set; then
57819       CFLAGS="$ac_save_CFLAGS"
57820     else
57821       # this is the suspicious part
57822       CFLAGS=''
57823     fi
57824   fi
57825
57826   # Set -z,relro.
57827   # Note this is only for shared objects.
57828   ac_ld_relro=no
57829   if test x"$with_gnu_ld" = x"yes"; then
57830     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57831 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57832     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57833     if test -n "$cxx_z_relo"; then
57834       OPT_LDFLAGS="-Wl,-z,relro"
57835       ac_ld_relro=yes
57836     fi
57837     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57838 $as_echo "$ac_ld_relro" >&6; }
57839   fi
57840
57841   # Set linker optimization flags.
57842   if test x"$with_gnu_ld" = x"yes"; then
57843     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57844   fi
57845
57846
57847
57848
57849     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57850
57851     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57852
57853     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57854
57855     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57856
57857     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57858
57859     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57860
57861     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57862
57863     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57864
57865     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57866
57867     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57868
57869     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57870
57871     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57872
57873     ;;
57874   *-rtems*)
57875
57876   # All these tests are for C++; save the language and the compiler flags.
57877   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57878   # found in GLIBCXX_CONFIGURE.
57879
57880   ac_ext=cpp
57881 ac_cpp='$CXXCPP $CPPFLAGS'
57882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57885
57886   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57887   ac_save_CXXFLAGS="$CXXFLAGS"
57888
57889   # Check for maintainer-mode bits.
57890   if test x"$USE_MAINTAINER_MODE" = xno; then
57891     WERROR=''
57892   else
57893     WERROR='-Werror'
57894   fi
57895
57896   # Check for -ffunction-sections -fdata-sections
57897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57898 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57899   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57901 /* end confdefs.h.  */
57902 int foo; void bar() { };
57903 int
57904 main ()
57905 {
57906
57907   ;
57908   return 0;
57909 }
57910 _ACEOF
57911 if ac_fn_cxx_try_compile "$LINENO"; then :
57912   ac_fdsections=yes
57913 else
57914   ac_fdsections=no
57915 fi
57916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57917   if test "$ac_test_CXXFLAGS" = set; then
57918     CXXFLAGS="$ac_save_CXXFLAGS"
57919   else
57920     # this is the suspicious part
57921     CXXFLAGS=''
57922   fi
57923   if test x"$ac_fdsections" = x"yes"; then
57924     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57925   fi
57926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57927 $as_echo "$ac_fdsections" >&6; }
57928
57929   ac_ext=c
57930 ac_cpp='$CPP $CPPFLAGS'
57931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57934
57935
57936
57937
57938
57939   # If we're not using GNU ld, then there's no point in even trying these
57940   # tests.  Check for that first.  We should have already tested for gld
57941   # by now (in libtool), but require it now just to be safe...
57942   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57943   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57944
57945
57946
57947   # The name set by libtool depends on the version of libtool.  Shame on us
57948   # for depending on an impl detail, but c'est la vie.  Older versions used
57949   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57950   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57951   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57952   # set (hence we're using an older libtool), then set it.
57953   if test x${with_gnu_ld+set} != xset; then
57954     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57955       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57956       with_gnu_ld=no
57957     else
57958       with_gnu_ld=$ac_cv_prog_gnu_ld
57959     fi
57960   fi
57961
57962   # Start by getting the version number.  I think the libtool test already
57963   # does some of this, but throws away the result.
57964   glibcxx_ld_is_gold=no
57965   if test x"$with_gnu_ld" = x"yes"; then
57966     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57967 $as_echo_n "checking for ld version... " >&6; }
57968
57969     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57970       glibcxx_ld_is_gold=yes
57971     fi
57972     ldver=`$LD --version 2>/dev/null |
57973            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'`
57974
57975     glibcxx_gnu_ld_version=`echo $ldver | \
57976            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57977     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57978 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57979   fi
57980
57981   # Set --gc-sections.
57982   glibcxx_have_gc_sections=no
57983   if test "$glibcxx_ld_is_gold" = "yes"; then
57984     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57985       glibcxx_have_gc_sections=yes
57986     fi
57987   else
57988     glibcxx_gcsections_min_ld=21602
57989     if test x"$with_gnu_ld" = x"yes" &&
57990         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57991       glibcxx_have_gc_sections=yes
57992     fi
57993   fi
57994   if test "$glibcxx_have_gc_sections" = "yes"; then
57995     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57996     # NB: This flag only works reliably after 2.16.1. Configure tests
57997     # for this are difficult, so hard wire a value that should work.
57998
57999     ac_test_CFLAGS="${CFLAGS+set}"
58000     ac_save_CFLAGS="$CFLAGS"
58001     CFLAGS='-Wl,--gc-sections'
58002
58003     # Check for -Wl,--gc-sections
58004     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58005 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58006     if test x$gcc_no_link = xyes; then
58007   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58008 fi
58009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58010 /* end confdefs.h.  */
58011  int one(void) { return 1; }
58012      int two(void) { return 2; }
58013
58014 int
58015 main ()
58016 {
58017  two();
58018   ;
58019   return 0;
58020 }
58021 _ACEOF
58022 if ac_fn_c_try_link "$LINENO"; then :
58023   ac_gcsections=yes
58024 else
58025   ac_gcsections=no
58026 fi
58027 rm -f core conftest.err conftest.$ac_objext \
58028     conftest$ac_exeext conftest.$ac_ext
58029     if test "$ac_gcsections" = "yes"; then
58030       rm -f conftest.c
58031       touch conftest.c
58032       if $CC -c conftest.c; then
58033         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58034            grep "Warning: gc-sections option ignored" > /dev/null; then
58035           ac_gcsections=no
58036         fi
58037       fi
58038       rm -f conftest.c conftest.o conftest
58039     fi
58040     if test "$ac_gcsections" = "yes"; then
58041       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58042     fi
58043     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58044 $as_echo "$ac_gcsections" >&6; }
58045
58046     if test "$ac_test_CFLAGS" = set; then
58047       CFLAGS="$ac_save_CFLAGS"
58048     else
58049       # this is the suspicious part
58050       CFLAGS=''
58051     fi
58052   fi
58053
58054   # Set -z,relro.
58055   # Note this is only for shared objects.
58056   ac_ld_relro=no
58057   if test x"$with_gnu_ld" = x"yes"; then
58058     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58059 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58060     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58061     if test -n "$cxx_z_relo"; then
58062       OPT_LDFLAGS="-Wl,-z,relro"
58063       ac_ld_relro=yes
58064     fi
58065     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58066 $as_echo "$ac_ld_relro" >&6; }
58067   fi
58068
58069   # Set linker optimization flags.
58070   if test x"$with_gnu_ld" = x"yes"; then
58071     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58072   fi
58073
58074
58075
58076
58077
58078   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58079   ac_save_CXXFLAGS="$CXXFLAGS"
58080   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58081
58082     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58083 $as_echo_n "checking for sin in -lm... " >&6; }
58084 if test "${ac_cv_lib_m_sin+set}" = set; then :
58085   $as_echo_n "(cached) " >&6
58086 else
58087   ac_check_lib_save_LIBS=$LIBS
58088 LIBS="-lm  $LIBS"
58089 if test x$gcc_no_link = xyes; then
58090   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58091 fi
58092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58093 /* end confdefs.h.  */
58094
58095 /* Override any GCC internal prototype to avoid an error.
58096    Use char because int might match the return type of a GCC
58097    builtin and then its argument prototype would still apply.  */
58098 #ifdef __cplusplus
58099 extern "C"
58100 #endif
58101 char sin ();
58102 int
58103 main ()
58104 {
58105 return sin ();
58106   ;
58107   return 0;
58108 }
58109 _ACEOF
58110 if ac_fn_c_try_link "$LINENO"; then :
58111   ac_cv_lib_m_sin=yes
58112 else
58113   ac_cv_lib_m_sin=no
58114 fi
58115 rm -f core conftest.err conftest.$ac_objext \
58116     conftest$ac_exeext conftest.$ac_ext
58117 LIBS=$ac_check_lib_save_LIBS
58118 fi
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58120 $as_echo "$ac_cv_lib_m_sin" >&6; }
58121 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58122   libm="-lm"
58123 fi
58124
58125   ac_save_LIBS="$LIBS"
58126   LIBS="$LIBS $libm"
58127
58128
58129
58130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58131 $as_echo_n "checking for isinf declaration... " >&6; }
58132   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58133     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58134   $as_echo_n "(cached) " >&6
58135 else
58136
58137
58138       ac_ext=cpp
58139 ac_cpp='$CXXCPP $CPPFLAGS'
58140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58143
58144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58145 /* end confdefs.h.  */
58146 #include <math.h>
58147                       #ifdef HAVE_IEEEFP_H
58148                       #include <ieeefp.h>
58149                       #endif
58150
58151 int
58152 main ()
58153 {
58154  isinf(0);
58155   ;
58156   return 0;
58157 }
58158 _ACEOF
58159 if ac_fn_cxx_try_compile "$LINENO"; then :
58160   glibcxx_cv_func_isinf_use=yes
58161 else
58162   glibcxx_cv_func_isinf_use=no
58163 fi
58164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58165       ac_ext=c
58166 ac_cpp='$CPP $CPPFLAGS'
58167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58170
58171
58172 fi
58173
58174   fi
58175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58176 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58177
58178   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58179     for ac_func in isinf
58180 do :
58181   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58182 if test "x$ac_cv_func_isinf" = x""yes; then :
58183   cat >>confdefs.h <<_ACEOF
58184 #define HAVE_ISINF 1
58185 _ACEOF
58186
58187 fi
58188 done
58189
58190   else
58191
58192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58193 $as_echo_n "checking for _isinf declaration... " >&6; }
58194   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58195     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58196   $as_echo_n "(cached) " >&6
58197 else
58198
58199
58200       ac_ext=cpp
58201 ac_cpp='$CXXCPP $CPPFLAGS'
58202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58205
58206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58207 /* end confdefs.h.  */
58208 #include <math.h>
58209                       #ifdef HAVE_IEEEFP_H
58210                       #include <ieeefp.h>
58211                       #endif
58212
58213 int
58214 main ()
58215 {
58216  _isinf(0);
58217   ;
58218   return 0;
58219 }
58220 _ACEOF
58221 if ac_fn_cxx_try_compile "$LINENO"; then :
58222   glibcxx_cv_func__isinf_use=yes
58223 else
58224   glibcxx_cv_func__isinf_use=no
58225 fi
58226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58227       ac_ext=c
58228 ac_cpp='$CPP $CPPFLAGS'
58229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58232
58233
58234 fi
58235
58236   fi
58237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58238 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58239
58240     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58241       for ac_func in _isinf
58242 do :
58243   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58244 if test "x$ac_cv_func__isinf" = x""yes; then :
58245   cat >>confdefs.h <<_ACEOF
58246 #define HAVE__ISINF 1
58247 _ACEOF
58248
58249 fi
58250 done
58251
58252     fi
58253   fi
58254
58255
58256
58257
58258
58259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58260 $as_echo_n "checking for isnan declaration... " >&6; }
58261   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58262     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58263   $as_echo_n "(cached) " >&6
58264 else
58265
58266
58267       ac_ext=cpp
58268 ac_cpp='$CXXCPP $CPPFLAGS'
58269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58272
58273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58274 /* end confdefs.h.  */
58275 #include <math.h>
58276                       #ifdef HAVE_IEEEFP_H
58277                       #include <ieeefp.h>
58278                       #endif
58279
58280 int
58281 main ()
58282 {
58283  isnan(0);
58284   ;
58285   return 0;
58286 }
58287 _ACEOF
58288 if ac_fn_cxx_try_compile "$LINENO"; then :
58289   glibcxx_cv_func_isnan_use=yes
58290 else
58291   glibcxx_cv_func_isnan_use=no
58292 fi
58293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58294       ac_ext=c
58295 ac_cpp='$CPP $CPPFLAGS'
58296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58299
58300
58301 fi
58302
58303   fi
58304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58305 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58306
58307   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58308     for ac_func in isnan
58309 do :
58310   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58311 if test "x$ac_cv_func_isnan" = x""yes; then :
58312   cat >>confdefs.h <<_ACEOF
58313 #define HAVE_ISNAN 1
58314 _ACEOF
58315
58316 fi
58317 done
58318
58319   else
58320
58321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58322 $as_echo_n "checking for _isnan declaration... " >&6; }
58323   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58324     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58325   $as_echo_n "(cached) " >&6
58326 else
58327
58328
58329       ac_ext=cpp
58330 ac_cpp='$CXXCPP $CPPFLAGS'
58331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58334
58335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58336 /* end confdefs.h.  */
58337 #include <math.h>
58338                       #ifdef HAVE_IEEEFP_H
58339                       #include <ieeefp.h>
58340                       #endif
58341
58342 int
58343 main ()
58344 {
58345  _isnan(0);
58346   ;
58347   return 0;
58348 }
58349 _ACEOF
58350 if ac_fn_cxx_try_compile "$LINENO"; then :
58351   glibcxx_cv_func__isnan_use=yes
58352 else
58353   glibcxx_cv_func__isnan_use=no
58354 fi
58355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58356       ac_ext=c
58357 ac_cpp='$CPP $CPPFLAGS'
58358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58361
58362
58363 fi
58364
58365   fi
58366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58367 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58368
58369     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58370       for ac_func in _isnan
58371 do :
58372   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58373 if test "x$ac_cv_func__isnan" = x""yes; then :
58374   cat >>confdefs.h <<_ACEOF
58375 #define HAVE__ISNAN 1
58376 _ACEOF
58377
58378 fi
58379 done
58380
58381     fi
58382   fi
58383
58384
58385
58386
58387
58388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58389 $as_echo_n "checking for finite declaration... " >&6; }
58390   if test x${glibcxx_cv_func_finite_use+set} != xset; then
58391     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58392   $as_echo_n "(cached) " >&6
58393 else
58394
58395
58396       ac_ext=cpp
58397 ac_cpp='$CXXCPP $CPPFLAGS'
58398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58401
58402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58403 /* end confdefs.h.  */
58404 #include <math.h>
58405                       #ifdef HAVE_IEEEFP_H
58406                       #include <ieeefp.h>
58407                       #endif
58408
58409 int
58410 main ()
58411 {
58412  finite(0);
58413   ;
58414   return 0;
58415 }
58416 _ACEOF
58417 if ac_fn_cxx_try_compile "$LINENO"; then :
58418   glibcxx_cv_func_finite_use=yes
58419 else
58420   glibcxx_cv_func_finite_use=no
58421 fi
58422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58423       ac_ext=c
58424 ac_cpp='$CPP $CPPFLAGS'
58425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58428
58429
58430 fi
58431
58432   fi
58433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58434 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58435
58436   if test x$glibcxx_cv_func_finite_use = x"yes"; then
58437     for ac_func in finite
58438 do :
58439   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58440 if test "x$ac_cv_func_finite" = x""yes; then :
58441   cat >>confdefs.h <<_ACEOF
58442 #define HAVE_FINITE 1
58443 _ACEOF
58444
58445 fi
58446 done
58447
58448   else
58449
58450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58451 $as_echo_n "checking for _finite declaration... " >&6; }
58452   if test x${glibcxx_cv_func__finite_use+set} != xset; then
58453     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58454   $as_echo_n "(cached) " >&6
58455 else
58456
58457
58458       ac_ext=cpp
58459 ac_cpp='$CXXCPP $CPPFLAGS'
58460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58463
58464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58465 /* end confdefs.h.  */
58466 #include <math.h>
58467                       #ifdef HAVE_IEEEFP_H
58468                       #include <ieeefp.h>
58469                       #endif
58470
58471 int
58472 main ()
58473 {
58474  _finite(0);
58475   ;
58476   return 0;
58477 }
58478 _ACEOF
58479 if ac_fn_cxx_try_compile "$LINENO"; then :
58480   glibcxx_cv_func__finite_use=yes
58481 else
58482   glibcxx_cv_func__finite_use=no
58483 fi
58484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58485       ac_ext=c
58486 ac_cpp='$CPP $CPPFLAGS'
58487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58490
58491
58492 fi
58493
58494   fi
58495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58496 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58497
58498     if test x$glibcxx_cv_func__finite_use = x"yes"; then
58499       for ac_func in _finite
58500 do :
58501   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58502 if test "x$ac_cv_func__finite" = x""yes; then :
58503   cat >>confdefs.h <<_ACEOF
58504 #define HAVE__FINITE 1
58505 _ACEOF
58506
58507 fi
58508 done
58509
58510     fi
58511   fi
58512
58513
58514
58515
58516
58517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58518 $as_echo_n "checking for sincos declaration... " >&6; }
58519   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58520     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58521   $as_echo_n "(cached) " >&6
58522 else
58523
58524
58525       ac_ext=cpp
58526 ac_cpp='$CXXCPP $CPPFLAGS'
58527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58530
58531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58532 /* end confdefs.h.  */
58533 #include <math.h>
58534 int
58535 main ()
58536 {
58537  sincos(0, 0, 0);
58538   ;
58539   return 0;
58540 }
58541 _ACEOF
58542 if ac_fn_cxx_try_compile "$LINENO"; then :
58543   glibcxx_cv_func_sincos_use=yes
58544 else
58545   glibcxx_cv_func_sincos_use=no
58546 fi
58547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58548       ac_ext=c
58549 ac_cpp='$CPP $CPPFLAGS'
58550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58553
58554
58555 fi
58556
58557   fi
58558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58559 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58560
58561   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58562     for ac_func in sincos
58563 do :
58564   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58565 if test "x$ac_cv_func_sincos" = x""yes; then :
58566   cat >>confdefs.h <<_ACEOF
58567 #define HAVE_SINCOS 1
58568 _ACEOF
58569
58570 fi
58571 done
58572
58573   else
58574
58575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58576 $as_echo_n "checking for _sincos declaration... " >&6; }
58577   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58578     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58579   $as_echo_n "(cached) " >&6
58580 else
58581
58582
58583       ac_ext=cpp
58584 ac_cpp='$CXXCPP $CPPFLAGS'
58585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58588
58589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58590 /* end confdefs.h.  */
58591 #include <math.h>
58592 int
58593 main ()
58594 {
58595  _sincos(0, 0, 0);
58596   ;
58597   return 0;
58598 }
58599 _ACEOF
58600 if ac_fn_cxx_try_compile "$LINENO"; then :
58601   glibcxx_cv_func__sincos_use=yes
58602 else
58603   glibcxx_cv_func__sincos_use=no
58604 fi
58605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58606       ac_ext=c
58607 ac_cpp='$CPP $CPPFLAGS'
58608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58611
58612
58613 fi
58614
58615   fi
58616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58617 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58618
58619     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58620       for ac_func in _sincos
58621 do :
58622   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58623 if test "x$ac_cv_func__sincos" = x""yes; then :
58624   cat >>confdefs.h <<_ACEOF
58625 #define HAVE__SINCOS 1
58626 _ACEOF
58627
58628 fi
58629 done
58630
58631     fi
58632   fi
58633
58634
58635
58636
58637
58638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58639 $as_echo_n "checking for fpclass declaration... " >&6; }
58640   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58641     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58642   $as_echo_n "(cached) " >&6
58643 else
58644
58645
58646       ac_ext=cpp
58647 ac_cpp='$CXXCPP $CPPFLAGS'
58648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58651
58652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58653 /* end confdefs.h.  */
58654 #include <math.h>
58655                       #ifdef HAVE_IEEEFP_H
58656                       #include <ieeefp.h>
58657                       #endif
58658
58659 int
58660 main ()
58661 {
58662  fpclass(0);
58663   ;
58664   return 0;
58665 }
58666 _ACEOF
58667 if ac_fn_cxx_try_compile "$LINENO"; then :
58668   glibcxx_cv_func_fpclass_use=yes
58669 else
58670   glibcxx_cv_func_fpclass_use=no
58671 fi
58672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58673       ac_ext=c
58674 ac_cpp='$CPP $CPPFLAGS'
58675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58678
58679
58680 fi
58681
58682   fi
58683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58684 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58685
58686   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58687     for ac_func in fpclass
58688 do :
58689   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58690 if test "x$ac_cv_func_fpclass" = x""yes; then :
58691   cat >>confdefs.h <<_ACEOF
58692 #define HAVE_FPCLASS 1
58693 _ACEOF
58694
58695 fi
58696 done
58697
58698   else
58699
58700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58701 $as_echo_n "checking for _fpclass declaration... " >&6; }
58702   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58703     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58704   $as_echo_n "(cached) " >&6
58705 else
58706
58707
58708       ac_ext=cpp
58709 ac_cpp='$CXXCPP $CPPFLAGS'
58710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58713
58714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58715 /* end confdefs.h.  */
58716 #include <math.h>
58717                       #ifdef HAVE_IEEEFP_H
58718                       #include <ieeefp.h>
58719                       #endif
58720
58721 int
58722 main ()
58723 {
58724  _fpclass(0);
58725   ;
58726   return 0;
58727 }
58728 _ACEOF
58729 if ac_fn_cxx_try_compile "$LINENO"; then :
58730   glibcxx_cv_func__fpclass_use=yes
58731 else
58732   glibcxx_cv_func__fpclass_use=no
58733 fi
58734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58735       ac_ext=c
58736 ac_cpp='$CPP $CPPFLAGS'
58737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58740
58741
58742 fi
58743
58744   fi
58745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58746 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58747
58748     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58749       for ac_func in _fpclass
58750 do :
58751   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58752 if test "x$ac_cv_func__fpclass" = x""yes; then :
58753   cat >>confdefs.h <<_ACEOF
58754 #define HAVE__FPCLASS 1
58755 _ACEOF
58756
58757 fi
58758 done
58759
58760     fi
58761   fi
58762
58763
58764
58765
58766
58767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58768 $as_echo_n "checking for qfpclass declaration... " >&6; }
58769   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58770     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58771   $as_echo_n "(cached) " >&6
58772 else
58773
58774
58775       ac_ext=cpp
58776 ac_cpp='$CXXCPP $CPPFLAGS'
58777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58780
58781       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58782 /* end confdefs.h.  */
58783 #include <math.h>
58784                       #ifdef HAVE_IEEEFP_H
58785                       #include <ieeefp.h>
58786                       #endif
58787
58788 int
58789 main ()
58790 {
58791  qfpclass(0);
58792   ;
58793   return 0;
58794 }
58795 _ACEOF
58796 if ac_fn_cxx_try_compile "$LINENO"; then :
58797   glibcxx_cv_func_qfpclass_use=yes
58798 else
58799   glibcxx_cv_func_qfpclass_use=no
58800 fi
58801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58802       ac_ext=c
58803 ac_cpp='$CPP $CPPFLAGS'
58804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58807
58808
58809 fi
58810
58811   fi
58812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58813 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58814
58815   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58816     for ac_func in qfpclass
58817 do :
58818   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58819 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58820   cat >>confdefs.h <<_ACEOF
58821 #define HAVE_QFPCLASS 1
58822 _ACEOF
58823
58824 fi
58825 done
58826
58827   else
58828
58829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58830 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58831   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58832     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58833   $as_echo_n "(cached) " >&6
58834 else
58835
58836
58837       ac_ext=cpp
58838 ac_cpp='$CXXCPP $CPPFLAGS'
58839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58842
58843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58844 /* end confdefs.h.  */
58845 #include <math.h>
58846                       #ifdef HAVE_IEEEFP_H
58847                       #include <ieeefp.h>
58848                       #endif
58849
58850 int
58851 main ()
58852 {
58853  _qfpclass(0);
58854   ;
58855   return 0;
58856 }
58857 _ACEOF
58858 if ac_fn_cxx_try_compile "$LINENO"; then :
58859   glibcxx_cv_func__qfpclass_use=yes
58860 else
58861   glibcxx_cv_func__qfpclass_use=no
58862 fi
58863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58864       ac_ext=c
58865 ac_cpp='$CPP $CPPFLAGS'
58866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58869
58870
58871 fi
58872
58873   fi
58874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58875 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58876
58877     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58878       for ac_func in _qfpclass
58879 do :
58880   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58881 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58882   cat >>confdefs.h <<_ACEOF
58883 #define HAVE__QFPCLASS 1
58884 _ACEOF
58885
58886 fi
58887 done
58888
58889     fi
58890   fi
58891
58892
58893
58894
58895
58896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58897 $as_echo_n "checking for hypot declaration... " >&6; }
58898   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58899     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58900   $as_echo_n "(cached) " >&6
58901 else
58902
58903
58904       ac_ext=cpp
58905 ac_cpp='$CXXCPP $CPPFLAGS'
58906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58909
58910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58911 /* end confdefs.h.  */
58912 #include <math.h>
58913 int
58914 main ()
58915 {
58916  hypot(0, 0);
58917   ;
58918   return 0;
58919 }
58920 _ACEOF
58921 if ac_fn_cxx_try_compile "$LINENO"; then :
58922   glibcxx_cv_func_hypot_use=yes
58923 else
58924   glibcxx_cv_func_hypot_use=no
58925 fi
58926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58927       ac_ext=c
58928 ac_cpp='$CPP $CPPFLAGS'
58929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58932
58933
58934 fi
58935
58936   fi
58937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58938 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58939
58940   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58941     for ac_func in hypot
58942 do :
58943   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58944 if test "x$ac_cv_func_hypot" = x""yes; then :
58945   cat >>confdefs.h <<_ACEOF
58946 #define HAVE_HYPOT 1
58947 _ACEOF
58948
58949 fi
58950 done
58951
58952   else
58953
58954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58955 $as_echo_n "checking for _hypot declaration... " >&6; }
58956   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58957     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58958   $as_echo_n "(cached) " >&6
58959 else
58960
58961
58962       ac_ext=cpp
58963 ac_cpp='$CXXCPP $CPPFLAGS'
58964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58967
58968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58969 /* end confdefs.h.  */
58970 #include <math.h>
58971 int
58972 main ()
58973 {
58974  _hypot(0, 0);
58975   ;
58976   return 0;
58977 }
58978 _ACEOF
58979 if ac_fn_cxx_try_compile "$LINENO"; then :
58980   glibcxx_cv_func__hypot_use=yes
58981 else
58982   glibcxx_cv_func__hypot_use=no
58983 fi
58984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58985       ac_ext=c
58986 ac_cpp='$CPP $CPPFLAGS'
58987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58990
58991
58992 fi
58993
58994   fi
58995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58996 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58997
58998     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58999       for ac_func in _hypot
59000 do :
59001   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59002 if test "x$ac_cv_func__hypot" = x""yes; then :
59003   cat >>confdefs.h <<_ACEOF
59004 #define HAVE__HYPOT 1
59005 _ACEOF
59006
59007 fi
59008 done
59009
59010     fi
59011   fi
59012
59013
59014
59015
59016
59017     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59018 $as_echo_n "checking for float trig functions... " >&6; }
59019   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59020   $as_echo_n "(cached) " >&6
59021 else
59022
59023
59024     ac_ext=cpp
59025 ac_cpp='$CXXCPP $CPPFLAGS'
59026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59029
59030     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59031 /* end confdefs.h.  */
59032 #include <math.h>
59033 int
59034 main ()
59035 {
59036 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59037   ;
59038   return 0;
59039 }
59040 _ACEOF
59041 if ac_fn_cxx_try_compile "$LINENO"; then :
59042   glibcxx_cv_func_float_trig_use=yes
59043 else
59044   glibcxx_cv_func_float_trig_use=no
59045 fi
59046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59047     ac_ext=c
59048 ac_cpp='$CPP $CPPFLAGS'
59049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59052
59053 fi
59054
59055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59056 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59057   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59058     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59059 do :
59060   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59062 eval as_val=\$$as_ac_var
59063    if test "x$as_val" = x""yes; then :
59064   cat >>confdefs.h <<_ACEOF
59065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59066 _ACEOF
59067
59068 fi
59069 done
59070
59071   else
59072     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59073 $as_echo_n "checking for _float trig functions... " >&6; }
59074     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59075   $as_echo_n "(cached) " >&6
59076 else
59077
59078
59079       ac_ext=cpp
59080 ac_cpp='$CXXCPP $CPPFLAGS'
59081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59084
59085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59086 /* end confdefs.h.  */
59087 #include <math.h>
59088 int
59089 main ()
59090 {
59091 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59092   ;
59093   return 0;
59094 }
59095 _ACEOF
59096 if ac_fn_cxx_try_compile "$LINENO"; then :
59097   glibcxx_cv_func__float_trig_use=yes
59098 else
59099   glibcxx_cv_func__float_trig_use=no
59100 fi
59101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59102       ac_ext=c
59103 ac_cpp='$CPP $CPPFLAGS'
59104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59107
59108 fi
59109
59110     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59111 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59112     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59113       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59114 do :
59115   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59117 eval as_val=\$$as_ac_var
59118    if test "x$as_val" = x""yes; then :
59119   cat >>confdefs.h <<_ACEOF
59120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59121 _ACEOF
59122
59123 fi
59124 done
59125
59126     fi
59127   fi
59128
59129
59130
59131
59132
59133     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59134 $as_echo_n "checking for float round functions... " >&6; }
59135   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59136   $as_echo_n "(cached) " >&6
59137 else
59138
59139
59140     ac_ext=cpp
59141 ac_cpp='$CXXCPP $CPPFLAGS'
59142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59145
59146     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59147 /* end confdefs.h.  */
59148 #include <math.h>
59149 int
59150 main ()
59151 {
59152 ceilf (0); floorf (0);
59153   ;
59154   return 0;
59155 }
59156 _ACEOF
59157 if ac_fn_cxx_try_compile "$LINENO"; then :
59158   glibcxx_cv_func_float_round_use=yes
59159 else
59160   glibcxx_cv_func_float_round_use=no
59161 fi
59162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59163     ac_ext=c
59164 ac_cpp='$CPP $CPPFLAGS'
59165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59168
59169 fi
59170
59171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59172 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59173   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59174     for ac_func in ceilf floorf
59175 do :
59176   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59177 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59178 eval as_val=\$$as_ac_var
59179    if test "x$as_val" = x""yes; then :
59180   cat >>confdefs.h <<_ACEOF
59181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59182 _ACEOF
59183
59184 fi
59185 done
59186
59187   else
59188     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59189 $as_echo_n "checking for _float round functions... " >&6; }
59190     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59191   $as_echo_n "(cached) " >&6
59192 else
59193
59194
59195       ac_ext=cpp
59196 ac_cpp='$CXXCPP $CPPFLAGS'
59197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59200
59201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59202 /* end confdefs.h.  */
59203 #include <math.h>
59204 int
59205 main ()
59206 {
59207 _ceilf (0); _floorf (0);
59208   ;
59209   return 0;
59210 }
59211 _ACEOF
59212 if ac_fn_cxx_try_compile "$LINENO"; then :
59213   glibcxx_cv_func__float_round_use=yes
59214 else
59215   glibcxx_cv_func__float_round_use=no
59216 fi
59217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59218       ac_ext=c
59219 ac_cpp='$CPP $CPPFLAGS'
59220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59223
59224 fi
59225
59226     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59227 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59228     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59229       for ac_func in _ceilf _floorf
59230 do :
59231   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59233 eval as_val=\$$as_ac_var
59234    if test "x$as_val" = x""yes; then :
59235   cat >>confdefs.h <<_ACEOF
59236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59237 _ACEOF
59238
59239 fi
59240 done
59241
59242     fi
59243   fi
59244
59245
59246
59247
59248
59249
59250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59251 $as_echo_n "checking for expf declaration... " >&6; }
59252   if test x${glibcxx_cv_func_expf_use+set} != xset; then
59253     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59254   $as_echo_n "(cached) " >&6
59255 else
59256
59257
59258       ac_ext=cpp
59259 ac_cpp='$CXXCPP $CPPFLAGS'
59260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59263
59264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59265 /* end confdefs.h.  */
59266 #include <math.h>
59267                       #ifdef HAVE_IEEEFP_H
59268                       #include <ieeefp.h>
59269                       #endif
59270
59271 int
59272 main ()
59273 {
59274  expf(0);
59275   ;
59276   return 0;
59277 }
59278 _ACEOF
59279 if ac_fn_cxx_try_compile "$LINENO"; then :
59280   glibcxx_cv_func_expf_use=yes
59281 else
59282   glibcxx_cv_func_expf_use=no
59283 fi
59284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59285       ac_ext=c
59286 ac_cpp='$CPP $CPPFLAGS'
59287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59290
59291
59292 fi
59293
59294   fi
59295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59296 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59297
59298   if test x$glibcxx_cv_func_expf_use = x"yes"; then
59299     for ac_func in expf
59300 do :
59301   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59302 if test "x$ac_cv_func_expf" = x""yes; then :
59303   cat >>confdefs.h <<_ACEOF
59304 #define HAVE_EXPF 1
59305 _ACEOF
59306
59307 fi
59308 done
59309
59310   else
59311
59312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59313 $as_echo_n "checking for _expf declaration... " >&6; }
59314   if test x${glibcxx_cv_func__expf_use+set} != xset; then
59315     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59316   $as_echo_n "(cached) " >&6
59317 else
59318
59319
59320       ac_ext=cpp
59321 ac_cpp='$CXXCPP $CPPFLAGS'
59322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59325
59326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59327 /* end confdefs.h.  */
59328 #include <math.h>
59329                       #ifdef HAVE_IEEEFP_H
59330                       #include <ieeefp.h>
59331                       #endif
59332
59333 int
59334 main ()
59335 {
59336  _expf(0);
59337   ;
59338   return 0;
59339 }
59340 _ACEOF
59341 if ac_fn_cxx_try_compile "$LINENO"; then :
59342   glibcxx_cv_func__expf_use=yes
59343 else
59344   glibcxx_cv_func__expf_use=no
59345 fi
59346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59347       ac_ext=c
59348 ac_cpp='$CPP $CPPFLAGS'
59349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59352
59353
59354 fi
59355
59356   fi
59357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59358 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59359
59360     if test x$glibcxx_cv_func__expf_use = x"yes"; then
59361       for ac_func in _expf
59362 do :
59363   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59364 if test "x$ac_cv_func__expf" = x""yes; then :
59365   cat >>confdefs.h <<_ACEOF
59366 #define HAVE__EXPF 1
59367 _ACEOF
59368
59369 fi
59370 done
59371
59372     fi
59373   fi
59374
59375
59376
59377
59378
59379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59380 $as_echo_n "checking for isnanf declaration... " >&6; }
59381   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59382     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59383   $as_echo_n "(cached) " >&6
59384 else
59385
59386
59387       ac_ext=cpp
59388 ac_cpp='$CXXCPP $CPPFLAGS'
59389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59392
59393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59394 /* end confdefs.h.  */
59395 #include <math.h>
59396                       #ifdef HAVE_IEEEFP_H
59397                       #include <ieeefp.h>
59398                       #endif
59399
59400 int
59401 main ()
59402 {
59403  isnanf(0);
59404   ;
59405   return 0;
59406 }
59407 _ACEOF
59408 if ac_fn_cxx_try_compile "$LINENO"; then :
59409   glibcxx_cv_func_isnanf_use=yes
59410 else
59411   glibcxx_cv_func_isnanf_use=no
59412 fi
59413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59414       ac_ext=c
59415 ac_cpp='$CPP $CPPFLAGS'
59416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59419
59420
59421 fi
59422
59423   fi
59424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59425 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59426
59427   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59428     for ac_func in isnanf
59429 do :
59430   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59431 if test "x$ac_cv_func_isnanf" = x""yes; then :
59432   cat >>confdefs.h <<_ACEOF
59433 #define HAVE_ISNANF 1
59434 _ACEOF
59435
59436 fi
59437 done
59438
59439   else
59440
59441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59442 $as_echo_n "checking for _isnanf declaration... " >&6; }
59443   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59444     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59445   $as_echo_n "(cached) " >&6
59446 else
59447
59448
59449       ac_ext=cpp
59450 ac_cpp='$CXXCPP $CPPFLAGS'
59451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59454
59455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59456 /* end confdefs.h.  */
59457 #include <math.h>
59458                       #ifdef HAVE_IEEEFP_H
59459                       #include <ieeefp.h>
59460                       #endif
59461
59462 int
59463 main ()
59464 {
59465  _isnanf(0);
59466   ;
59467   return 0;
59468 }
59469 _ACEOF
59470 if ac_fn_cxx_try_compile "$LINENO"; then :
59471   glibcxx_cv_func__isnanf_use=yes
59472 else
59473   glibcxx_cv_func__isnanf_use=no
59474 fi
59475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59476       ac_ext=c
59477 ac_cpp='$CPP $CPPFLAGS'
59478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59481
59482
59483 fi
59484
59485   fi
59486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59487 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59488
59489     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59490       for ac_func in _isnanf
59491 do :
59492   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59493 if test "x$ac_cv_func__isnanf" = x""yes; then :
59494   cat >>confdefs.h <<_ACEOF
59495 #define HAVE__ISNANF 1
59496 _ACEOF
59497
59498 fi
59499 done
59500
59501     fi
59502   fi
59503
59504
59505
59506
59507
59508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59509 $as_echo_n "checking for isinff declaration... " >&6; }
59510   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59511     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59512   $as_echo_n "(cached) " >&6
59513 else
59514
59515
59516       ac_ext=cpp
59517 ac_cpp='$CXXCPP $CPPFLAGS'
59518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59521
59522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59523 /* end confdefs.h.  */
59524 #include <math.h>
59525                       #ifdef HAVE_IEEEFP_H
59526                       #include <ieeefp.h>
59527                       #endif
59528
59529 int
59530 main ()
59531 {
59532  isinff(0);
59533   ;
59534   return 0;
59535 }
59536 _ACEOF
59537 if ac_fn_cxx_try_compile "$LINENO"; then :
59538   glibcxx_cv_func_isinff_use=yes
59539 else
59540   glibcxx_cv_func_isinff_use=no
59541 fi
59542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59543       ac_ext=c
59544 ac_cpp='$CPP $CPPFLAGS'
59545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59548
59549
59550 fi
59551
59552   fi
59553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59554 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59555
59556   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59557     for ac_func in isinff
59558 do :
59559   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59560 if test "x$ac_cv_func_isinff" = x""yes; then :
59561   cat >>confdefs.h <<_ACEOF
59562 #define HAVE_ISINFF 1
59563 _ACEOF
59564
59565 fi
59566 done
59567
59568   else
59569
59570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59571 $as_echo_n "checking for _isinff declaration... " >&6; }
59572   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59573     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59574   $as_echo_n "(cached) " >&6
59575 else
59576
59577
59578       ac_ext=cpp
59579 ac_cpp='$CXXCPP $CPPFLAGS'
59580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59583
59584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59585 /* end confdefs.h.  */
59586 #include <math.h>
59587                       #ifdef HAVE_IEEEFP_H
59588                       #include <ieeefp.h>
59589                       #endif
59590
59591 int
59592 main ()
59593 {
59594  _isinff(0);
59595   ;
59596   return 0;
59597 }
59598 _ACEOF
59599 if ac_fn_cxx_try_compile "$LINENO"; then :
59600   glibcxx_cv_func__isinff_use=yes
59601 else
59602   glibcxx_cv_func__isinff_use=no
59603 fi
59604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59605       ac_ext=c
59606 ac_cpp='$CPP $CPPFLAGS'
59607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59610
59611
59612 fi
59613
59614   fi
59615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59616 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59617
59618     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59619       for ac_func in _isinff
59620 do :
59621   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59622 if test "x$ac_cv_func__isinff" = x""yes; then :
59623   cat >>confdefs.h <<_ACEOF
59624 #define HAVE__ISINFF 1
59625 _ACEOF
59626
59627 fi
59628 done
59629
59630     fi
59631   fi
59632
59633
59634
59635
59636
59637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59638 $as_echo_n "checking for atan2f declaration... " >&6; }
59639   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59640     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59641   $as_echo_n "(cached) " >&6
59642 else
59643
59644
59645       ac_ext=cpp
59646 ac_cpp='$CXXCPP $CPPFLAGS'
59647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59650
59651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59652 /* end confdefs.h.  */
59653 #include <math.h>
59654 int
59655 main ()
59656 {
59657  atan2f(0, 0);
59658   ;
59659   return 0;
59660 }
59661 _ACEOF
59662 if ac_fn_cxx_try_compile "$LINENO"; then :
59663   glibcxx_cv_func_atan2f_use=yes
59664 else
59665   glibcxx_cv_func_atan2f_use=no
59666 fi
59667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59668       ac_ext=c
59669 ac_cpp='$CPP $CPPFLAGS'
59670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59673
59674
59675 fi
59676
59677   fi
59678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59679 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59680
59681   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59682     for ac_func in atan2f
59683 do :
59684   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59685 if test "x$ac_cv_func_atan2f" = x""yes; then :
59686   cat >>confdefs.h <<_ACEOF
59687 #define HAVE_ATAN2F 1
59688 _ACEOF
59689
59690 fi
59691 done
59692
59693   else
59694
59695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59696 $as_echo_n "checking for _atan2f declaration... " >&6; }
59697   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59698     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59699   $as_echo_n "(cached) " >&6
59700 else
59701
59702
59703       ac_ext=cpp
59704 ac_cpp='$CXXCPP $CPPFLAGS'
59705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59708
59709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59710 /* end confdefs.h.  */
59711 #include <math.h>
59712 int
59713 main ()
59714 {
59715  _atan2f(0, 0);
59716   ;
59717   return 0;
59718 }
59719 _ACEOF
59720 if ac_fn_cxx_try_compile "$LINENO"; then :
59721   glibcxx_cv_func__atan2f_use=yes
59722 else
59723   glibcxx_cv_func__atan2f_use=no
59724 fi
59725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59726       ac_ext=c
59727 ac_cpp='$CPP $CPPFLAGS'
59728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59731
59732
59733 fi
59734
59735   fi
59736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59737 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59738
59739     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59740       for ac_func in _atan2f
59741 do :
59742   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59743 if test "x$ac_cv_func__atan2f" = x""yes; then :
59744   cat >>confdefs.h <<_ACEOF
59745 #define HAVE__ATAN2F 1
59746 _ACEOF
59747
59748 fi
59749 done
59750
59751     fi
59752   fi
59753
59754
59755
59756
59757
59758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59759 $as_echo_n "checking for fabsf declaration... " >&6; }
59760   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59761     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59762   $as_echo_n "(cached) " >&6
59763 else
59764
59765
59766       ac_ext=cpp
59767 ac_cpp='$CXXCPP $CPPFLAGS'
59768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59771
59772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59773 /* end confdefs.h.  */
59774 #include <math.h>
59775                       #ifdef HAVE_IEEEFP_H
59776                       #include <ieeefp.h>
59777                       #endif
59778
59779 int
59780 main ()
59781 {
59782  fabsf(0);
59783   ;
59784   return 0;
59785 }
59786 _ACEOF
59787 if ac_fn_cxx_try_compile "$LINENO"; then :
59788   glibcxx_cv_func_fabsf_use=yes
59789 else
59790   glibcxx_cv_func_fabsf_use=no
59791 fi
59792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59793       ac_ext=c
59794 ac_cpp='$CPP $CPPFLAGS'
59795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59798
59799
59800 fi
59801
59802   fi
59803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59804 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59805
59806   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59807     for ac_func in fabsf
59808 do :
59809   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59810 if test "x$ac_cv_func_fabsf" = x""yes; then :
59811   cat >>confdefs.h <<_ACEOF
59812 #define HAVE_FABSF 1
59813 _ACEOF
59814
59815 fi
59816 done
59817
59818   else
59819
59820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59821 $as_echo_n "checking for _fabsf declaration... " >&6; }
59822   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59823     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59824   $as_echo_n "(cached) " >&6
59825 else
59826
59827
59828       ac_ext=cpp
59829 ac_cpp='$CXXCPP $CPPFLAGS'
59830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59833
59834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59835 /* end confdefs.h.  */
59836 #include <math.h>
59837                       #ifdef HAVE_IEEEFP_H
59838                       #include <ieeefp.h>
59839                       #endif
59840
59841 int
59842 main ()
59843 {
59844  _fabsf(0);
59845   ;
59846   return 0;
59847 }
59848 _ACEOF
59849 if ac_fn_cxx_try_compile "$LINENO"; then :
59850   glibcxx_cv_func__fabsf_use=yes
59851 else
59852   glibcxx_cv_func__fabsf_use=no
59853 fi
59854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59855       ac_ext=c
59856 ac_cpp='$CPP $CPPFLAGS'
59857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59860
59861
59862 fi
59863
59864   fi
59865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59866 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59867
59868     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59869       for ac_func in _fabsf
59870 do :
59871   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59872 if test "x$ac_cv_func__fabsf" = x""yes; then :
59873   cat >>confdefs.h <<_ACEOF
59874 #define HAVE__FABSF 1
59875 _ACEOF
59876
59877 fi
59878 done
59879
59880     fi
59881   fi
59882
59883
59884
59885
59886
59887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59888 $as_echo_n "checking for fmodf declaration... " >&6; }
59889   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59890     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59891   $as_echo_n "(cached) " >&6
59892 else
59893
59894
59895       ac_ext=cpp
59896 ac_cpp='$CXXCPP $CPPFLAGS'
59897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59900
59901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59902 /* end confdefs.h.  */
59903 #include <math.h>
59904 int
59905 main ()
59906 {
59907  fmodf(0, 0);
59908   ;
59909   return 0;
59910 }
59911 _ACEOF
59912 if ac_fn_cxx_try_compile "$LINENO"; then :
59913   glibcxx_cv_func_fmodf_use=yes
59914 else
59915   glibcxx_cv_func_fmodf_use=no
59916 fi
59917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59918       ac_ext=c
59919 ac_cpp='$CPP $CPPFLAGS'
59920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59923
59924
59925 fi
59926
59927   fi
59928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59929 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59930
59931   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59932     for ac_func in fmodf
59933 do :
59934   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59935 if test "x$ac_cv_func_fmodf" = x""yes; then :
59936   cat >>confdefs.h <<_ACEOF
59937 #define HAVE_FMODF 1
59938 _ACEOF
59939
59940 fi
59941 done
59942
59943   else
59944
59945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59946 $as_echo_n "checking for _fmodf declaration... " >&6; }
59947   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59948     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59949   $as_echo_n "(cached) " >&6
59950 else
59951
59952
59953       ac_ext=cpp
59954 ac_cpp='$CXXCPP $CPPFLAGS'
59955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59958
59959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59960 /* end confdefs.h.  */
59961 #include <math.h>
59962 int
59963 main ()
59964 {
59965  _fmodf(0, 0);
59966   ;
59967   return 0;
59968 }
59969 _ACEOF
59970 if ac_fn_cxx_try_compile "$LINENO"; then :
59971   glibcxx_cv_func__fmodf_use=yes
59972 else
59973   glibcxx_cv_func__fmodf_use=no
59974 fi
59975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59976       ac_ext=c
59977 ac_cpp='$CPP $CPPFLAGS'
59978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59981
59982
59983 fi
59984
59985   fi
59986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59987 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59988
59989     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59990       for ac_func in _fmodf
59991 do :
59992   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59993 if test "x$ac_cv_func__fmodf" = x""yes; then :
59994   cat >>confdefs.h <<_ACEOF
59995 #define HAVE__FMODF 1
59996 _ACEOF
59997
59998 fi
59999 done
60000
60001     fi
60002   fi
60003
60004
60005
60006
60007
60008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60009 $as_echo_n "checking for frexpf declaration... " >&6; }
60010   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60011     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60012   $as_echo_n "(cached) " >&6
60013 else
60014
60015
60016       ac_ext=cpp
60017 ac_cpp='$CXXCPP $CPPFLAGS'
60018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60021
60022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60023 /* end confdefs.h.  */
60024 #include <math.h>
60025 int
60026 main ()
60027 {
60028  frexpf(0, 0);
60029   ;
60030   return 0;
60031 }
60032 _ACEOF
60033 if ac_fn_cxx_try_compile "$LINENO"; then :
60034   glibcxx_cv_func_frexpf_use=yes
60035 else
60036   glibcxx_cv_func_frexpf_use=no
60037 fi
60038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60039       ac_ext=c
60040 ac_cpp='$CPP $CPPFLAGS'
60041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60044
60045
60046 fi
60047
60048   fi
60049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60050 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60051
60052   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60053     for ac_func in frexpf
60054 do :
60055   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60056 if test "x$ac_cv_func_frexpf" = x""yes; then :
60057   cat >>confdefs.h <<_ACEOF
60058 #define HAVE_FREXPF 1
60059 _ACEOF
60060
60061 fi
60062 done
60063
60064   else
60065
60066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60067 $as_echo_n "checking for _frexpf declaration... " >&6; }
60068   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60069     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60070   $as_echo_n "(cached) " >&6
60071 else
60072
60073
60074       ac_ext=cpp
60075 ac_cpp='$CXXCPP $CPPFLAGS'
60076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60079
60080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60081 /* end confdefs.h.  */
60082 #include <math.h>
60083 int
60084 main ()
60085 {
60086  _frexpf(0, 0);
60087   ;
60088   return 0;
60089 }
60090 _ACEOF
60091 if ac_fn_cxx_try_compile "$LINENO"; then :
60092   glibcxx_cv_func__frexpf_use=yes
60093 else
60094   glibcxx_cv_func__frexpf_use=no
60095 fi
60096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60097       ac_ext=c
60098 ac_cpp='$CPP $CPPFLAGS'
60099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60102
60103
60104 fi
60105
60106   fi
60107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60108 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60109
60110     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60111       for ac_func in _frexpf
60112 do :
60113   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60114 if test "x$ac_cv_func__frexpf" = x""yes; then :
60115   cat >>confdefs.h <<_ACEOF
60116 #define HAVE__FREXPF 1
60117 _ACEOF
60118
60119 fi
60120 done
60121
60122     fi
60123   fi
60124
60125
60126
60127
60128
60129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60130 $as_echo_n "checking for hypotf declaration... " >&6; }
60131   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60132     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60133   $as_echo_n "(cached) " >&6
60134 else
60135
60136
60137       ac_ext=cpp
60138 ac_cpp='$CXXCPP $CPPFLAGS'
60139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60142
60143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60144 /* end confdefs.h.  */
60145 #include <math.h>
60146 int
60147 main ()
60148 {
60149  hypotf(0, 0);
60150   ;
60151   return 0;
60152 }
60153 _ACEOF
60154 if ac_fn_cxx_try_compile "$LINENO"; then :
60155   glibcxx_cv_func_hypotf_use=yes
60156 else
60157   glibcxx_cv_func_hypotf_use=no
60158 fi
60159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60160       ac_ext=c
60161 ac_cpp='$CPP $CPPFLAGS'
60162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60165
60166
60167 fi
60168
60169   fi
60170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60171 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60172
60173   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60174     for ac_func in hypotf
60175 do :
60176   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60177 if test "x$ac_cv_func_hypotf" = x""yes; then :
60178   cat >>confdefs.h <<_ACEOF
60179 #define HAVE_HYPOTF 1
60180 _ACEOF
60181
60182 fi
60183 done
60184
60185   else
60186
60187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60188 $as_echo_n "checking for _hypotf declaration... " >&6; }
60189   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60190     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60191   $as_echo_n "(cached) " >&6
60192 else
60193
60194
60195       ac_ext=cpp
60196 ac_cpp='$CXXCPP $CPPFLAGS'
60197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60200
60201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60202 /* end confdefs.h.  */
60203 #include <math.h>
60204 int
60205 main ()
60206 {
60207  _hypotf(0, 0);
60208   ;
60209   return 0;
60210 }
60211 _ACEOF
60212 if ac_fn_cxx_try_compile "$LINENO"; then :
60213   glibcxx_cv_func__hypotf_use=yes
60214 else
60215   glibcxx_cv_func__hypotf_use=no
60216 fi
60217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60218       ac_ext=c
60219 ac_cpp='$CPP $CPPFLAGS'
60220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60223
60224
60225 fi
60226
60227   fi
60228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60229 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60230
60231     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60232       for ac_func in _hypotf
60233 do :
60234   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60235 if test "x$ac_cv_func__hypotf" = x""yes; then :
60236   cat >>confdefs.h <<_ACEOF
60237 #define HAVE__HYPOTF 1
60238 _ACEOF
60239
60240 fi
60241 done
60242
60243     fi
60244   fi
60245
60246
60247
60248
60249
60250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60251 $as_echo_n "checking for ldexpf declaration... " >&6; }
60252   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60253     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60254   $as_echo_n "(cached) " >&6
60255 else
60256
60257
60258       ac_ext=cpp
60259 ac_cpp='$CXXCPP $CPPFLAGS'
60260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60263
60264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60265 /* end confdefs.h.  */
60266 #include <math.h>
60267 int
60268 main ()
60269 {
60270  ldexpf(0, 0);
60271   ;
60272   return 0;
60273 }
60274 _ACEOF
60275 if ac_fn_cxx_try_compile "$LINENO"; then :
60276   glibcxx_cv_func_ldexpf_use=yes
60277 else
60278   glibcxx_cv_func_ldexpf_use=no
60279 fi
60280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60281       ac_ext=c
60282 ac_cpp='$CPP $CPPFLAGS'
60283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60286
60287
60288 fi
60289
60290   fi
60291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60292 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60293
60294   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60295     for ac_func in ldexpf
60296 do :
60297   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60298 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60299   cat >>confdefs.h <<_ACEOF
60300 #define HAVE_LDEXPF 1
60301 _ACEOF
60302
60303 fi
60304 done
60305
60306   else
60307
60308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60309 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60310   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60311     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60312   $as_echo_n "(cached) " >&6
60313 else
60314
60315
60316       ac_ext=cpp
60317 ac_cpp='$CXXCPP $CPPFLAGS'
60318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60321
60322       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60323 /* end confdefs.h.  */
60324 #include <math.h>
60325 int
60326 main ()
60327 {
60328  _ldexpf(0, 0);
60329   ;
60330   return 0;
60331 }
60332 _ACEOF
60333 if ac_fn_cxx_try_compile "$LINENO"; then :
60334   glibcxx_cv_func__ldexpf_use=yes
60335 else
60336   glibcxx_cv_func__ldexpf_use=no
60337 fi
60338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60339       ac_ext=c
60340 ac_cpp='$CPP $CPPFLAGS'
60341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60344
60345
60346 fi
60347
60348   fi
60349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60350 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60351
60352     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60353       for ac_func in _ldexpf
60354 do :
60355   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60356 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60357   cat >>confdefs.h <<_ACEOF
60358 #define HAVE__LDEXPF 1
60359 _ACEOF
60360
60361 fi
60362 done
60363
60364     fi
60365   fi
60366
60367
60368
60369
60370
60371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60372 $as_echo_n "checking for logf declaration... " >&6; }
60373   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60374     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60375   $as_echo_n "(cached) " >&6
60376 else
60377
60378
60379       ac_ext=cpp
60380 ac_cpp='$CXXCPP $CPPFLAGS'
60381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60384
60385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60386 /* end confdefs.h.  */
60387 #include <math.h>
60388                       #ifdef HAVE_IEEEFP_H
60389                       #include <ieeefp.h>
60390                       #endif
60391
60392 int
60393 main ()
60394 {
60395  logf(0);
60396   ;
60397   return 0;
60398 }
60399 _ACEOF
60400 if ac_fn_cxx_try_compile "$LINENO"; then :
60401   glibcxx_cv_func_logf_use=yes
60402 else
60403   glibcxx_cv_func_logf_use=no
60404 fi
60405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60406       ac_ext=c
60407 ac_cpp='$CPP $CPPFLAGS'
60408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60411
60412
60413 fi
60414
60415   fi
60416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60417 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60418
60419   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60420     for ac_func in logf
60421 do :
60422   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60423 if test "x$ac_cv_func_logf" = x""yes; then :
60424   cat >>confdefs.h <<_ACEOF
60425 #define HAVE_LOGF 1
60426 _ACEOF
60427
60428 fi
60429 done
60430
60431   else
60432
60433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60434 $as_echo_n "checking for _logf declaration... " >&6; }
60435   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60436     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60437   $as_echo_n "(cached) " >&6
60438 else
60439
60440
60441       ac_ext=cpp
60442 ac_cpp='$CXXCPP $CPPFLAGS'
60443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60446
60447       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60448 /* end confdefs.h.  */
60449 #include <math.h>
60450                       #ifdef HAVE_IEEEFP_H
60451                       #include <ieeefp.h>
60452                       #endif
60453
60454 int
60455 main ()
60456 {
60457  _logf(0);
60458   ;
60459   return 0;
60460 }
60461 _ACEOF
60462 if ac_fn_cxx_try_compile "$LINENO"; then :
60463   glibcxx_cv_func__logf_use=yes
60464 else
60465   glibcxx_cv_func__logf_use=no
60466 fi
60467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60468       ac_ext=c
60469 ac_cpp='$CPP $CPPFLAGS'
60470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60473
60474
60475 fi
60476
60477   fi
60478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60479 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60480
60481     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60482       for ac_func in _logf
60483 do :
60484   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60485 if test "x$ac_cv_func__logf" = x""yes; then :
60486   cat >>confdefs.h <<_ACEOF
60487 #define HAVE__LOGF 1
60488 _ACEOF
60489
60490 fi
60491 done
60492
60493     fi
60494   fi
60495
60496
60497
60498
60499
60500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60501 $as_echo_n "checking for log10f declaration... " >&6; }
60502   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60503     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60504   $as_echo_n "(cached) " >&6
60505 else
60506
60507
60508       ac_ext=cpp
60509 ac_cpp='$CXXCPP $CPPFLAGS'
60510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60513
60514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60515 /* end confdefs.h.  */
60516 #include <math.h>
60517                       #ifdef HAVE_IEEEFP_H
60518                       #include <ieeefp.h>
60519                       #endif
60520
60521 int
60522 main ()
60523 {
60524  log10f(0);
60525   ;
60526   return 0;
60527 }
60528 _ACEOF
60529 if ac_fn_cxx_try_compile "$LINENO"; then :
60530   glibcxx_cv_func_log10f_use=yes
60531 else
60532   glibcxx_cv_func_log10f_use=no
60533 fi
60534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60535       ac_ext=c
60536 ac_cpp='$CPP $CPPFLAGS'
60537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60540
60541
60542 fi
60543
60544   fi
60545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60546 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60547
60548   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60549     for ac_func in log10f
60550 do :
60551   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60552 if test "x$ac_cv_func_log10f" = x""yes; then :
60553   cat >>confdefs.h <<_ACEOF
60554 #define HAVE_LOG10F 1
60555 _ACEOF
60556
60557 fi
60558 done
60559
60560   else
60561
60562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60563 $as_echo_n "checking for _log10f declaration... " >&6; }
60564   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60565     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60566   $as_echo_n "(cached) " >&6
60567 else
60568
60569
60570       ac_ext=cpp
60571 ac_cpp='$CXXCPP $CPPFLAGS'
60572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60575
60576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60577 /* end confdefs.h.  */
60578 #include <math.h>
60579                       #ifdef HAVE_IEEEFP_H
60580                       #include <ieeefp.h>
60581                       #endif
60582
60583 int
60584 main ()
60585 {
60586  _log10f(0);
60587   ;
60588   return 0;
60589 }
60590 _ACEOF
60591 if ac_fn_cxx_try_compile "$LINENO"; then :
60592   glibcxx_cv_func__log10f_use=yes
60593 else
60594   glibcxx_cv_func__log10f_use=no
60595 fi
60596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60597       ac_ext=c
60598 ac_cpp='$CPP $CPPFLAGS'
60599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60602
60603
60604 fi
60605
60606   fi
60607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60608 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60609
60610     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60611       for ac_func in _log10f
60612 do :
60613   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60614 if test "x$ac_cv_func__log10f" = x""yes; then :
60615   cat >>confdefs.h <<_ACEOF
60616 #define HAVE__LOG10F 1
60617 _ACEOF
60618
60619 fi
60620 done
60621
60622     fi
60623   fi
60624
60625
60626
60627
60628
60629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60630 $as_echo_n "checking for modff declaration... " >&6; }
60631   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60632     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60633   $as_echo_n "(cached) " >&6
60634 else
60635
60636
60637       ac_ext=cpp
60638 ac_cpp='$CXXCPP $CPPFLAGS'
60639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60642
60643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60644 /* end confdefs.h.  */
60645 #include <math.h>
60646 int
60647 main ()
60648 {
60649  modff(0, 0);
60650   ;
60651   return 0;
60652 }
60653 _ACEOF
60654 if ac_fn_cxx_try_compile "$LINENO"; then :
60655   glibcxx_cv_func_modff_use=yes
60656 else
60657   glibcxx_cv_func_modff_use=no
60658 fi
60659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60660       ac_ext=c
60661 ac_cpp='$CPP $CPPFLAGS'
60662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60665
60666
60667 fi
60668
60669   fi
60670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60671 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60672
60673   if test x$glibcxx_cv_func_modff_use = x"yes"; then
60674     for ac_func in modff
60675 do :
60676   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60677 if test "x$ac_cv_func_modff" = x""yes; then :
60678   cat >>confdefs.h <<_ACEOF
60679 #define HAVE_MODFF 1
60680 _ACEOF
60681
60682 fi
60683 done
60684
60685   else
60686
60687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60688 $as_echo_n "checking for _modff declaration... " >&6; }
60689   if test x${glibcxx_cv_func__modff_use+set} != xset; then
60690     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60691   $as_echo_n "(cached) " >&6
60692 else
60693
60694
60695       ac_ext=cpp
60696 ac_cpp='$CXXCPP $CPPFLAGS'
60697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60700
60701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60702 /* end confdefs.h.  */
60703 #include <math.h>
60704 int
60705 main ()
60706 {
60707  _modff(0, 0);
60708   ;
60709   return 0;
60710 }
60711 _ACEOF
60712 if ac_fn_cxx_try_compile "$LINENO"; then :
60713   glibcxx_cv_func__modff_use=yes
60714 else
60715   glibcxx_cv_func__modff_use=no
60716 fi
60717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60718       ac_ext=c
60719 ac_cpp='$CPP $CPPFLAGS'
60720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60723
60724
60725 fi
60726
60727   fi
60728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60729 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60730
60731     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60732       for ac_func in _modff
60733 do :
60734   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60735 if test "x$ac_cv_func__modff" = x""yes; then :
60736   cat >>confdefs.h <<_ACEOF
60737 #define HAVE__MODFF 1
60738 _ACEOF
60739
60740 fi
60741 done
60742
60743     fi
60744   fi
60745
60746
60747
60748
60749
60750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60751 $as_echo_n "checking for modf declaration... " >&6; }
60752   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60753     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60754   $as_echo_n "(cached) " >&6
60755 else
60756
60757
60758       ac_ext=cpp
60759 ac_cpp='$CXXCPP $CPPFLAGS'
60760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60763
60764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60765 /* end confdefs.h.  */
60766 #include <math.h>
60767 int
60768 main ()
60769 {
60770  modf(0, 0);
60771   ;
60772   return 0;
60773 }
60774 _ACEOF
60775 if ac_fn_cxx_try_compile "$LINENO"; then :
60776   glibcxx_cv_func_modf_use=yes
60777 else
60778   glibcxx_cv_func_modf_use=no
60779 fi
60780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60781       ac_ext=c
60782 ac_cpp='$CPP $CPPFLAGS'
60783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60786
60787
60788 fi
60789
60790   fi
60791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60792 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60793
60794   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60795     for ac_func in modf
60796 do :
60797   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60798 if test "x$ac_cv_func_modf" = x""yes; then :
60799   cat >>confdefs.h <<_ACEOF
60800 #define HAVE_MODF 1
60801 _ACEOF
60802
60803 fi
60804 done
60805
60806   else
60807
60808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60809 $as_echo_n "checking for _modf declaration... " >&6; }
60810   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60811     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60812   $as_echo_n "(cached) " >&6
60813 else
60814
60815
60816       ac_ext=cpp
60817 ac_cpp='$CXXCPP $CPPFLAGS'
60818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60821
60822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60823 /* end confdefs.h.  */
60824 #include <math.h>
60825 int
60826 main ()
60827 {
60828  _modf(0, 0);
60829   ;
60830   return 0;
60831 }
60832 _ACEOF
60833 if ac_fn_cxx_try_compile "$LINENO"; then :
60834   glibcxx_cv_func__modf_use=yes
60835 else
60836   glibcxx_cv_func__modf_use=no
60837 fi
60838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60839       ac_ext=c
60840 ac_cpp='$CPP $CPPFLAGS'
60841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60844
60845
60846 fi
60847
60848   fi
60849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60850 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60851
60852     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60853       for ac_func in _modf
60854 do :
60855   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60856 if test "x$ac_cv_func__modf" = x""yes; then :
60857   cat >>confdefs.h <<_ACEOF
60858 #define HAVE__MODF 1
60859 _ACEOF
60860
60861 fi
60862 done
60863
60864     fi
60865   fi
60866
60867
60868
60869
60870
60871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60872 $as_echo_n "checking for powf declaration... " >&6; }
60873   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60874     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60875   $as_echo_n "(cached) " >&6
60876 else
60877
60878
60879       ac_ext=cpp
60880 ac_cpp='$CXXCPP $CPPFLAGS'
60881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60884
60885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60886 /* end confdefs.h.  */
60887 #include <math.h>
60888 int
60889 main ()
60890 {
60891  powf(0, 0);
60892   ;
60893   return 0;
60894 }
60895 _ACEOF
60896 if ac_fn_cxx_try_compile "$LINENO"; then :
60897   glibcxx_cv_func_powf_use=yes
60898 else
60899   glibcxx_cv_func_powf_use=no
60900 fi
60901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60902       ac_ext=c
60903 ac_cpp='$CPP $CPPFLAGS'
60904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60907
60908
60909 fi
60910
60911   fi
60912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60913 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60914
60915   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60916     for ac_func in powf
60917 do :
60918   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60919 if test "x$ac_cv_func_powf" = x""yes; then :
60920   cat >>confdefs.h <<_ACEOF
60921 #define HAVE_POWF 1
60922 _ACEOF
60923
60924 fi
60925 done
60926
60927   else
60928
60929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60930 $as_echo_n "checking for _powf declaration... " >&6; }
60931   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60932     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60933   $as_echo_n "(cached) " >&6
60934 else
60935
60936
60937       ac_ext=cpp
60938 ac_cpp='$CXXCPP $CPPFLAGS'
60939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60942
60943       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60944 /* end confdefs.h.  */
60945 #include <math.h>
60946 int
60947 main ()
60948 {
60949  _powf(0, 0);
60950   ;
60951   return 0;
60952 }
60953 _ACEOF
60954 if ac_fn_cxx_try_compile "$LINENO"; then :
60955   glibcxx_cv_func__powf_use=yes
60956 else
60957   glibcxx_cv_func__powf_use=no
60958 fi
60959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60960       ac_ext=c
60961 ac_cpp='$CPP $CPPFLAGS'
60962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60965
60966
60967 fi
60968
60969   fi
60970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60971 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60972
60973     if test x$glibcxx_cv_func__powf_use = x"yes"; then
60974       for ac_func in _powf
60975 do :
60976   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60977 if test "x$ac_cv_func__powf" = x""yes; then :
60978   cat >>confdefs.h <<_ACEOF
60979 #define HAVE__POWF 1
60980 _ACEOF
60981
60982 fi
60983 done
60984
60985     fi
60986   fi
60987
60988
60989
60990
60991
60992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60993 $as_echo_n "checking for sqrtf declaration... " >&6; }
60994   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60995     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60996   $as_echo_n "(cached) " >&6
60997 else
60998
60999
61000       ac_ext=cpp
61001 ac_cpp='$CXXCPP $CPPFLAGS'
61002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61005
61006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61007 /* end confdefs.h.  */
61008 #include <math.h>
61009                       #ifdef HAVE_IEEEFP_H
61010                       #include <ieeefp.h>
61011                       #endif
61012
61013 int
61014 main ()
61015 {
61016  sqrtf(0);
61017   ;
61018   return 0;
61019 }
61020 _ACEOF
61021 if ac_fn_cxx_try_compile "$LINENO"; then :
61022   glibcxx_cv_func_sqrtf_use=yes
61023 else
61024   glibcxx_cv_func_sqrtf_use=no
61025 fi
61026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61027       ac_ext=c
61028 ac_cpp='$CPP $CPPFLAGS'
61029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61032
61033
61034 fi
61035
61036   fi
61037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61038 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61039
61040   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61041     for ac_func in sqrtf
61042 do :
61043   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61044 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61045   cat >>confdefs.h <<_ACEOF
61046 #define HAVE_SQRTF 1
61047 _ACEOF
61048
61049 fi
61050 done
61051
61052   else
61053
61054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61055 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61056   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61057     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61058   $as_echo_n "(cached) " >&6
61059 else
61060
61061
61062       ac_ext=cpp
61063 ac_cpp='$CXXCPP $CPPFLAGS'
61064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61067
61068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61069 /* end confdefs.h.  */
61070 #include <math.h>
61071                       #ifdef HAVE_IEEEFP_H
61072                       #include <ieeefp.h>
61073                       #endif
61074
61075 int
61076 main ()
61077 {
61078  _sqrtf(0);
61079   ;
61080   return 0;
61081 }
61082 _ACEOF
61083 if ac_fn_cxx_try_compile "$LINENO"; then :
61084   glibcxx_cv_func__sqrtf_use=yes
61085 else
61086   glibcxx_cv_func__sqrtf_use=no
61087 fi
61088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61089       ac_ext=c
61090 ac_cpp='$CPP $CPPFLAGS'
61091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61094
61095
61096 fi
61097
61098   fi
61099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61100 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61101
61102     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61103       for ac_func in _sqrtf
61104 do :
61105   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61106 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61107   cat >>confdefs.h <<_ACEOF
61108 #define HAVE__SQRTF 1
61109 _ACEOF
61110
61111 fi
61112 done
61113
61114     fi
61115   fi
61116
61117
61118
61119
61120
61121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61122 $as_echo_n "checking for sincosf declaration... " >&6; }
61123   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61124     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61125   $as_echo_n "(cached) " >&6
61126 else
61127
61128
61129       ac_ext=cpp
61130 ac_cpp='$CXXCPP $CPPFLAGS'
61131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61134
61135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61136 /* end confdefs.h.  */
61137 #include <math.h>
61138 int
61139 main ()
61140 {
61141  sincosf(0, 0, 0);
61142   ;
61143   return 0;
61144 }
61145 _ACEOF
61146 if ac_fn_cxx_try_compile "$LINENO"; then :
61147   glibcxx_cv_func_sincosf_use=yes
61148 else
61149   glibcxx_cv_func_sincosf_use=no
61150 fi
61151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61152       ac_ext=c
61153 ac_cpp='$CPP $CPPFLAGS'
61154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61157
61158
61159 fi
61160
61161   fi
61162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61163 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61164
61165   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61166     for ac_func in sincosf
61167 do :
61168   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61169 if test "x$ac_cv_func_sincosf" = x""yes; then :
61170   cat >>confdefs.h <<_ACEOF
61171 #define HAVE_SINCOSF 1
61172 _ACEOF
61173
61174 fi
61175 done
61176
61177   else
61178
61179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61180 $as_echo_n "checking for _sincosf declaration... " >&6; }
61181   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61182     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61183   $as_echo_n "(cached) " >&6
61184 else
61185
61186
61187       ac_ext=cpp
61188 ac_cpp='$CXXCPP $CPPFLAGS'
61189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61192
61193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61194 /* end confdefs.h.  */
61195 #include <math.h>
61196 int
61197 main ()
61198 {
61199  _sincosf(0, 0, 0);
61200   ;
61201   return 0;
61202 }
61203 _ACEOF
61204 if ac_fn_cxx_try_compile "$LINENO"; then :
61205   glibcxx_cv_func__sincosf_use=yes
61206 else
61207   glibcxx_cv_func__sincosf_use=no
61208 fi
61209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61210       ac_ext=c
61211 ac_cpp='$CPP $CPPFLAGS'
61212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61215
61216
61217 fi
61218
61219   fi
61220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61221 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61222
61223     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61224       for ac_func in _sincosf
61225 do :
61226   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61227 if test "x$ac_cv_func__sincosf" = x""yes; then :
61228   cat >>confdefs.h <<_ACEOF
61229 #define HAVE__SINCOSF 1
61230 _ACEOF
61231
61232 fi
61233 done
61234
61235     fi
61236   fi
61237
61238
61239
61240
61241
61242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61243 $as_echo_n "checking for finitef declaration... " >&6; }
61244   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61245     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61246   $as_echo_n "(cached) " >&6
61247 else
61248
61249
61250       ac_ext=cpp
61251 ac_cpp='$CXXCPP $CPPFLAGS'
61252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61255
61256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61257 /* end confdefs.h.  */
61258 #include <math.h>
61259                       #ifdef HAVE_IEEEFP_H
61260                       #include <ieeefp.h>
61261                       #endif
61262
61263 int
61264 main ()
61265 {
61266  finitef(0);
61267   ;
61268   return 0;
61269 }
61270 _ACEOF
61271 if ac_fn_cxx_try_compile "$LINENO"; then :
61272   glibcxx_cv_func_finitef_use=yes
61273 else
61274   glibcxx_cv_func_finitef_use=no
61275 fi
61276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61277       ac_ext=c
61278 ac_cpp='$CPP $CPPFLAGS'
61279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61282
61283
61284 fi
61285
61286   fi
61287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61288 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61289
61290   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61291     for ac_func in finitef
61292 do :
61293   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61294 if test "x$ac_cv_func_finitef" = x""yes; then :
61295   cat >>confdefs.h <<_ACEOF
61296 #define HAVE_FINITEF 1
61297 _ACEOF
61298
61299 fi
61300 done
61301
61302   else
61303
61304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61305 $as_echo_n "checking for _finitef declaration... " >&6; }
61306   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61307     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61308   $as_echo_n "(cached) " >&6
61309 else
61310
61311
61312       ac_ext=cpp
61313 ac_cpp='$CXXCPP $CPPFLAGS'
61314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61317
61318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61319 /* end confdefs.h.  */
61320 #include <math.h>
61321                       #ifdef HAVE_IEEEFP_H
61322                       #include <ieeefp.h>
61323                       #endif
61324
61325 int
61326 main ()
61327 {
61328  _finitef(0);
61329   ;
61330   return 0;
61331 }
61332 _ACEOF
61333 if ac_fn_cxx_try_compile "$LINENO"; then :
61334   glibcxx_cv_func__finitef_use=yes
61335 else
61336   glibcxx_cv_func__finitef_use=no
61337 fi
61338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61339       ac_ext=c
61340 ac_cpp='$CPP $CPPFLAGS'
61341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61344
61345
61346 fi
61347
61348   fi
61349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61350 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61351
61352     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61353       for ac_func in _finitef
61354 do :
61355   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61356 if test "x$ac_cv_func__finitef" = x""yes; then :
61357   cat >>confdefs.h <<_ACEOF
61358 #define HAVE__FINITEF 1
61359 _ACEOF
61360
61361 fi
61362 done
61363
61364     fi
61365   fi
61366
61367
61368
61369
61370
61371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61372 $as_echo_n "checking for long double trig functions... " >&6; }
61373   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61374   $as_echo_n "(cached) " >&6
61375 else
61376
61377
61378     ac_ext=cpp
61379 ac_cpp='$CXXCPP $CPPFLAGS'
61380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61383
61384     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61385 /* end confdefs.h.  */
61386 #include <math.h>
61387 int
61388 main ()
61389 {
61390 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61391   ;
61392   return 0;
61393 }
61394 _ACEOF
61395 if ac_fn_cxx_try_compile "$LINENO"; then :
61396   glibcxx_cv_func_long_double_trig_use=yes
61397 else
61398   glibcxx_cv_func_long_double_trig_use=no
61399 fi
61400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61401     ac_ext=c
61402 ac_cpp='$CPP $CPPFLAGS'
61403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61406
61407 fi
61408
61409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61410 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61411   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61412     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61413 do :
61414   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61416 eval as_val=\$$as_ac_var
61417    if test "x$as_val" = x""yes; then :
61418   cat >>confdefs.h <<_ACEOF
61419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61420 _ACEOF
61421
61422 fi
61423 done
61424
61425   else
61426     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61427 $as_echo_n "checking for _long double trig functions... " >&6; }
61428     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61429   $as_echo_n "(cached) " >&6
61430 else
61431
61432
61433       ac_ext=cpp
61434 ac_cpp='$CXXCPP $CPPFLAGS'
61435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61438
61439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61440 /* end confdefs.h.  */
61441 #include <math.h>
61442 int
61443 main ()
61444 {
61445 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61446   ;
61447   return 0;
61448 }
61449 _ACEOF
61450 if ac_fn_cxx_try_compile "$LINENO"; then :
61451   glibcxx_cv_func__long_double_trig_use=yes
61452 else
61453   glibcxx_cv_func__long_double_trig_use=no
61454 fi
61455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61456       ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61461
61462 fi
61463
61464     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61465 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61466     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61467       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61468 do :
61469   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61471 eval as_val=\$$as_ac_var
61472    if test "x$as_val" = x""yes; then :
61473   cat >>confdefs.h <<_ACEOF
61474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61475 _ACEOF
61476
61477 fi
61478 done
61479
61480     fi
61481   fi
61482
61483
61484
61485
61486
61487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61488 $as_echo_n "checking for long double round functions... " >&6; }
61489   if test "${glibcxx_cv_func_long_double_round_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 ceill (0); floorl (0);
61507   ;
61508   return 0;
61509 }
61510 _ACEOF
61511 if ac_fn_cxx_try_compile "$LINENO"; then :
61512   glibcxx_cv_func_long_double_round_use=yes
61513 else
61514   glibcxx_cv_func_long_double_round_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 fi
61524
61525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61526 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61527   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61528     for ac_func in ceill floorl
61529 do :
61530   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61532 eval as_val=\$$as_ac_var
61533    if test "x$as_val" = x""yes; then :
61534   cat >>confdefs.h <<_ACEOF
61535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61536 _ACEOF
61537
61538 fi
61539 done
61540
61541   else
61542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61543 $as_echo_n "checking for _long double round functions... " >&6; }
61544     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61545   $as_echo_n "(cached) " >&6
61546 else
61547
61548
61549       ac_ext=cpp
61550 ac_cpp='$CXXCPP $CPPFLAGS'
61551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61554
61555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61556 /* end confdefs.h.  */
61557 #include <math.h>
61558 int
61559 main ()
61560 {
61561 _ceill (0); _floorl (0);
61562   ;
61563   return 0;
61564 }
61565 _ACEOF
61566 if ac_fn_cxx_try_compile "$LINENO"; then :
61567   glibcxx_cv_func__long_double_round_use=yes
61568 else
61569   glibcxx_cv_func__long_double_round_use=no
61570 fi
61571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61572       ac_ext=c
61573 ac_cpp='$CPP $CPPFLAGS'
61574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61577
61578 fi
61579
61580     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61581 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61582     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61583       for ac_func in _ceill _floorl
61584 do :
61585   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61587 eval as_val=\$$as_ac_var
61588    if test "x$as_val" = x""yes; then :
61589   cat >>confdefs.h <<_ACEOF
61590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61591 _ACEOF
61592
61593 fi
61594 done
61595
61596     fi
61597   fi
61598
61599
61600
61601
61602
61603
61604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61605 $as_echo_n "checking for isnanl declaration... " >&6; }
61606   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61607     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61608   $as_echo_n "(cached) " >&6
61609 else
61610
61611
61612       ac_ext=cpp
61613 ac_cpp='$CXXCPP $CPPFLAGS'
61614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61617
61618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61619 /* end confdefs.h.  */
61620 #include <math.h>
61621                       #ifdef HAVE_IEEEFP_H
61622                       #include <ieeefp.h>
61623                       #endif
61624
61625 int
61626 main ()
61627 {
61628  isnanl(0);
61629   ;
61630   return 0;
61631 }
61632 _ACEOF
61633 if ac_fn_cxx_try_compile "$LINENO"; then :
61634   glibcxx_cv_func_isnanl_use=yes
61635 else
61636   glibcxx_cv_func_isnanl_use=no
61637 fi
61638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61639       ac_ext=c
61640 ac_cpp='$CPP $CPPFLAGS'
61641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61644
61645
61646 fi
61647
61648   fi
61649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61650 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61651
61652   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61653     for ac_func in isnanl
61654 do :
61655   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61656 if test "x$ac_cv_func_isnanl" = x""yes; then :
61657   cat >>confdefs.h <<_ACEOF
61658 #define HAVE_ISNANL 1
61659 _ACEOF
61660
61661 fi
61662 done
61663
61664   else
61665
61666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61667 $as_echo_n "checking for _isnanl declaration... " >&6; }
61668   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61669     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61670   $as_echo_n "(cached) " >&6
61671 else
61672
61673
61674       ac_ext=cpp
61675 ac_cpp='$CXXCPP $CPPFLAGS'
61676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61679
61680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61681 /* end confdefs.h.  */
61682 #include <math.h>
61683                       #ifdef HAVE_IEEEFP_H
61684                       #include <ieeefp.h>
61685                       #endif
61686
61687 int
61688 main ()
61689 {
61690  _isnanl(0);
61691   ;
61692   return 0;
61693 }
61694 _ACEOF
61695 if ac_fn_cxx_try_compile "$LINENO"; then :
61696   glibcxx_cv_func__isnanl_use=yes
61697 else
61698   glibcxx_cv_func__isnanl_use=no
61699 fi
61700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61701       ac_ext=c
61702 ac_cpp='$CPP $CPPFLAGS'
61703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61706
61707
61708 fi
61709
61710   fi
61711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61712 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61713
61714     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61715       for ac_func in _isnanl
61716 do :
61717   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61718 if test "x$ac_cv_func__isnanl" = x""yes; then :
61719   cat >>confdefs.h <<_ACEOF
61720 #define HAVE__ISNANL 1
61721 _ACEOF
61722
61723 fi
61724 done
61725
61726     fi
61727   fi
61728
61729
61730
61731
61732
61733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61734 $as_echo_n "checking for isinfl declaration... " >&6; }
61735   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61736     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61737   $as_echo_n "(cached) " >&6
61738 else
61739
61740
61741       ac_ext=cpp
61742 ac_cpp='$CXXCPP $CPPFLAGS'
61743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61746
61747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61748 /* end confdefs.h.  */
61749 #include <math.h>
61750                       #ifdef HAVE_IEEEFP_H
61751                       #include <ieeefp.h>
61752                       #endif
61753
61754 int
61755 main ()
61756 {
61757  isinfl(0);
61758   ;
61759   return 0;
61760 }
61761 _ACEOF
61762 if ac_fn_cxx_try_compile "$LINENO"; then :
61763   glibcxx_cv_func_isinfl_use=yes
61764 else
61765   glibcxx_cv_func_isinfl_use=no
61766 fi
61767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61768       ac_ext=c
61769 ac_cpp='$CPP $CPPFLAGS'
61770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61773
61774
61775 fi
61776
61777   fi
61778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61779 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61780
61781   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61782     for ac_func in isinfl
61783 do :
61784   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61785 if test "x$ac_cv_func_isinfl" = x""yes; then :
61786   cat >>confdefs.h <<_ACEOF
61787 #define HAVE_ISINFL 1
61788 _ACEOF
61789
61790 fi
61791 done
61792
61793   else
61794
61795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61796 $as_echo_n "checking for _isinfl declaration... " >&6; }
61797   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61798     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61799   $as_echo_n "(cached) " >&6
61800 else
61801
61802
61803       ac_ext=cpp
61804 ac_cpp='$CXXCPP $CPPFLAGS'
61805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61808
61809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61810 /* end confdefs.h.  */
61811 #include <math.h>
61812                       #ifdef HAVE_IEEEFP_H
61813                       #include <ieeefp.h>
61814                       #endif
61815
61816 int
61817 main ()
61818 {
61819  _isinfl(0);
61820   ;
61821   return 0;
61822 }
61823 _ACEOF
61824 if ac_fn_cxx_try_compile "$LINENO"; then :
61825   glibcxx_cv_func__isinfl_use=yes
61826 else
61827   glibcxx_cv_func__isinfl_use=no
61828 fi
61829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61830       ac_ext=c
61831 ac_cpp='$CPP $CPPFLAGS'
61832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61835
61836
61837 fi
61838
61839   fi
61840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61841 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61842
61843     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61844       for ac_func in _isinfl
61845 do :
61846   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61847 if test "x$ac_cv_func__isinfl" = x""yes; then :
61848   cat >>confdefs.h <<_ACEOF
61849 #define HAVE__ISINFL 1
61850 _ACEOF
61851
61852 fi
61853 done
61854
61855     fi
61856   fi
61857
61858
61859
61860
61861
61862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61863 $as_echo_n "checking for atan2l declaration... " >&6; }
61864   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61865     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61866   $as_echo_n "(cached) " >&6
61867 else
61868
61869
61870       ac_ext=cpp
61871 ac_cpp='$CXXCPP $CPPFLAGS'
61872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61875
61876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61877 /* end confdefs.h.  */
61878 #include <math.h>
61879 int
61880 main ()
61881 {
61882  atan2l(0, 0);
61883   ;
61884   return 0;
61885 }
61886 _ACEOF
61887 if ac_fn_cxx_try_compile "$LINENO"; then :
61888   glibcxx_cv_func_atan2l_use=yes
61889 else
61890   glibcxx_cv_func_atan2l_use=no
61891 fi
61892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61893       ac_ext=c
61894 ac_cpp='$CPP $CPPFLAGS'
61895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61898
61899
61900 fi
61901
61902   fi
61903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61904 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61905
61906   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61907     for ac_func in atan2l
61908 do :
61909   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61910 if test "x$ac_cv_func_atan2l" = x""yes; then :
61911   cat >>confdefs.h <<_ACEOF
61912 #define HAVE_ATAN2L 1
61913 _ACEOF
61914
61915 fi
61916 done
61917
61918   else
61919
61920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61921 $as_echo_n "checking for _atan2l declaration... " >&6; }
61922   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61923     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61924   $as_echo_n "(cached) " >&6
61925 else
61926
61927
61928       ac_ext=cpp
61929 ac_cpp='$CXXCPP $CPPFLAGS'
61930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61933
61934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61935 /* end confdefs.h.  */
61936 #include <math.h>
61937 int
61938 main ()
61939 {
61940  _atan2l(0, 0);
61941   ;
61942   return 0;
61943 }
61944 _ACEOF
61945 if ac_fn_cxx_try_compile "$LINENO"; then :
61946   glibcxx_cv_func__atan2l_use=yes
61947 else
61948   glibcxx_cv_func__atan2l_use=no
61949 fi
61950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61951       ac_ext=c
61952 ac_cpp='$CPP $CPPFLAGS'
61953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61956
61957
61958 fi
61959
61960   fi
61961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61962 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61963
61964     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61965       for ac_func in _atan2l
61966 do :
61967   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61968 if test "x$ac_cv_func__atan2l" = x""yes; then :
61969   cat >>confdefs.h <<_ACEOF
61970 #define HAVE__ATAN2L 1
61971 _ACEOF
61972
61973 fi
61974 done
61975
61976     fi
61977   fi
61978
61979
61980
61981
61982
61983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61984 $as_echo_n "checking for expl declaration... " >&6; }
61985   if test x${glibcxx_cv_func_expl_use+set} != xset; then
61986     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61987   $as_echo_n "(cached) " >&6
61988 else
61989
61990
61991       ac_ext=cpp
61992 ac_cpp='$CXXCPP $CPPFLAGS'
61993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61996
61997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61998 /* end confdefs.h.  */
61999 #include <math.h>
62000                       #ifdef HAVE_IEEEFP_H
62001                       #include <ieeefp.h>
62002                       #endif
62003
62004 int
62005 main ()
62006 {
62007  expl(0);
62008   ;
62009   return 0;
62010 }
62011 _ACEOF
62012 if ac_fn_cxx_try_compile "$LINENO"; then :
62013   glibcxx_cv_func_expl_use=yes
62014 else
62015   glibcxx_cv_func_expl_use=no
62016 fi
62017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62018       ac_ext=c
62019 ac_cpp='$CPP $CPPFLAGS'
62020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62023
62024
62025 fi
62026
62027   fi
62028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62029 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62030
62031   if test x$glibcxx_cv_func_expl_use = x"yes"; then
62032     for ac_func in expl
62033 do :
62034   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62035 if test "x$ac_cv_func_expl" = x""yes; then :
62036   cat >>confdefs.h <<_ACEOF
62037 #define HAVE_EXPL 1
62038 _ACEOF
62039
62040 fi
62041 done
62042
62043   else
62044
62045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62046 $as_echo_n "checking for _expl declaration... " >&6; }
62047   if test x${glibcxx_cv_func__expl_use+set} != xset; then
62048     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62049   $as_echo_n "(cached) " >&6
62050 else
62051
62052
62053       ac_ext=cpp
62054 ac_cpp='$CXXCPP $CPPFLAGS'
62055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62058
62059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62060 /* end confdefs.h.  */
62061 #include <math.h>
62062                       #ifdef HAVE_IEEEFP_H
62063                       #include <ieeefp.h>
62064                       #endif
62065
62066 int
62067 main ()
62068 {
62069  _expl(0);
62070   ;
62071   return 0;
62072 }
62073 _ACEOF
62074 if ac_fn_cxx_try_compile "$LINENO"; then :
62075   glibcxx_cv_func__expl_use=yes
62076 else
62077   glibcxx_cv_func__expl_use=no
62078 fi
62079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62080       ac_ext=c
62081 ac_cpp='$CPP $CPPFLAGS'
62082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62085
62086
62087 fi
62088
62089   fi
62090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62091 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62092
62093     if test x$glibcxx_cv_func__expl_use = x"yes"; then
62094       for ac_func in _expl
62095 do :
62096   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62097 if test "x$ac_cv_func__expl" = x""yes; then :
62098   cat >>confdefs.h <<_ACEOF
62099 #define HAVE__EXPL 1
62100 _ACEOF
62101
62102 fi
62103 done
62104
62105     fi
62106   fi
62107
62108
62109
62110
62111
62112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62113 $as_echo_n "checking for fabsl declaration... " >&6; }
62114   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62115     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62116   $as_echo_n "(cached) " >&6
62117 else
62118
62119
62120       ac_ext=cpp
62121 ac_cpp='$CXXCPP $CPPFLAGS'
62122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62125
62126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62127 /* end confdefs.h.  */
62128 #include <math.h>
62129                       #ifdef HAVE_IEEEFP_H
62130                       #include <ieeefp.h>
62131                       #endif
62132
62133 int
62134 main ()
62135 {
62136  fabsl(0);
62137   ;
62138   return 0;
62139 }
62140 _ACEOF
62141 if ac_fn_cxx_try_compile "$LINENO"; then :
62142   glibcxx_cv_func_fabsl_use=yes
62143 else
62144   glibcxx_cv_func_fabsl_use=no
62145 fi
62146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62147       ac_ext=c
62148 ac_cpp='$CPP $CPPFLAGS'
62149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62152
62153
62154 fi
62155
62156   fi
62157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62158 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62159
62160   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62161     for ac_func in fabsl
62162 do :
62163   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62164 if test "x$ac_cv_func_fabsl" = x""yes; then :
62165   cat >>confdefs.h <<_ACEOF
62166 #define HAVE_FABSL 1
62167 _ACEOF
62168
62169 fi
62170 done
62171
62172   else
62173
62174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62175 $as_echo_n "checking for _fabsl declaration... " >&6; }
62176   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62177     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62178   $as_echo_n "(cached) " >&6
62179 else
62180
62181
62182       ac_ext=cpp
62183 ac_cpp='$CXXCPP $CPPFLAGS'
62184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62187
62188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62189 /* end confdefs.h.  */
62190 #include <math.h>
62191                       #ifdef HAVE_IEEEFP_H
62192                       #include <ieeefp.h>
62193                       #endif
62194
62195 int
62196 main ()
62197 {
62198  _fabsl(0);
62199   ;
62200   return 0;
62201 }
62202 _ACEOF
62203 if ac_fn_cxx_try_compile "$LINENO"; then :
62204   glibcxx_cv_func__fabsl_use=yes
62205 else
62206   glibcxx_cv_func__fabsl_use=no
62207 fi
62208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62209       ac_ext=c
62210 ac_cpp='$CPP $CPPFLAGS'
62211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62214
62215
62216 fi
62217
62218   fi
62219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62220 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62221
62222     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62223       for ac_func in _fabsl
62224 do :
62225   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62226 if test "x$ac_cv_func__fabsl" = x""yes; then :
62227   cat >>confdefs.h <<_ACEOF
62228 #define HAVE__FABSL 1
62229 _ACEOF
62230
62231 fi
62232 done
62233
62234     fi
62235   fi
62236
62237
62238
62239
62240
62241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62242 $as_echo_n "checking for fmodl declaration... " >&6; }
62243   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62244     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62245   $as_echo_n "(cached) " >&6
62246 else
62247
62248
62249       ac_ext=cpp
62250 ac_cpp='$CXXCPP $CPPFLAGS'
62251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62254
62255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62256 /* end confdefs.h.  */
62257 #include <math.h>
62258 int
62259 main ()
62260 {
62261  fmodl(0, 0);
62262   ;
62263   return 0;
62264 }
62265 _ACEOF
62266 if ac_fn_cxx_try_compile "$LINENO"; then :
62267   glibcxx_cv_func_fmodl_use=yes
62268 else
62269   glibcxx_cv_func_fmodl_use=no
62270 fi
62271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62272       ac_ext=c
62273 ac_cpp='$CPP $CPPFLAGS'
62274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62277
62278
62279 fi
62280
62281   fi
62282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62283 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62284
62285   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62286     for ac_func in fmodl
62287 do :
62288   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62289 if test "x$ac_cv_func_fmodl" = x""yes; then :
62290   cat >>confdefs.h <<_ACEOF
62291 #define HAVE_FMODL 1
62292 _ACEOF
62293
62294 fi
62295 done
62296
62297   else
62298
62299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62300 $as_echo_n "checking for _fmodl declaration... " >&6; }
62301   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62302     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62303   $as_echo_n "(cached) " >&6
62304 else
62305
62306
62307       ac_ext=cpp
62308 ac_cpp='$CXXCPP $CPPFLAGS'
62309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62312
62313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62314 /* end confdefs.h.  */
62315 #include <math.h>
62316 int
62317 main ()
62318 {
62319  _fmodl(0, 0);
62320   ;
62321   return 0;
62322 }
62323 _ACEOF
62324 if ac_fn_cxx_try_compile "$LINENO"; then :
62325   glibcxx_cv_func__fmodl_use=yes
62326 else
62327   glibcxx_cv_func__fmodl_use=no
62328 fi
62329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62330       ac_ext=c
62331 ac_cpp='$CPP $CPPFLAGS'
62332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62335
62336
62337 fi
62338
62339   fi
62340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62341 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62342
62343     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62344       for ac_func in _fmodl
62345 do :
62346   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62347 if test "x$ac_cv_func__fmodl" = x""yes; then :
62348   cat >>confdefs.h <<_ACEOF
62349 #define HAVE__FMODL 1
62350 _ACEOF
62351
62352 fi
62353 done
62354
62355     fi
62356   fi
62357
62358
62359
62360
62361
62362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62363 $as_echo_n "checking for frexpl declaration... " >&6; }
62364   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62365     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62366   $as_echo_n "(cached) " >&6
62367 else
62368
62369
62370       ac_ext=cpp
62371 ac_cpp='$CXXCPP $CPPFLAGS'
62372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62375
62376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62377 /* end confdefs.h.  */
62378 #include <math.h>
62379 int
62380 main ()
62381 {
62382  frexpl(0, 0);
62383   ;
62384   return 0;
62385 }
62386 _ACEOF
62387 if ac_fn_cxx_try_compile "$LINENO"; then :
62388   glibcxx_cv_func_frexpl_use=yes
62389 else
62390   glibcxx_cv_func_frexpl_use=no
62391 fi
62392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62393       ac_ext=c
62394 ac_cpp='$CPP $CPPFLAGS'
62395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62398
62399
62400 fi
62401
62402   fi
62403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62404 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62405
62406   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62407     for ac_func in frexpl
62408 do :
62409   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62410 if test "x$ac_cv_func_frexpl" = x""yes; then :
62411   cat >>confdefs.h <<_ACEOF
62412 #define HAVE_FREXPL 1
62413 _ACEOF
62414
62415 fi
62416 done
62417
62418   else
62419
62420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62421 $as_echo_n "checking for _frexpl declaration... " >&6; }
62422   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62423     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62424   $as_echo_n "(cached) " >&6
62425 else
62426
62427
62428       ac_ext=cpp
62429 ac_cpp='$CXXCPP $CPPFLAGS'
62430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62433
62434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62435 /* end confdefs.h.  */
62436 #include <math.h>
62437 int
62438 main ()
62439 {
62440  _frexpl(0, 0);
62441   ;
62442   return 0;
62443 }
62444 _ACEOF
62445 if ac_fn_cxx_try_compile "$LINENO"; then :
62446   glibcxx_cv_func__frexpl_use=yes
62447 else
62448   glibcxx_cv_func__frexpl_use=no
62449 fi
62450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62451       ac_ext=c
62452 ac_cpp='$CPP $CPPFLAGS'
62453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62456
62457
62458 fi
62459
62460   fi
62461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62462 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62463
62464     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62465       for ac_func in _frexpl
62466 do :
62467   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62468 if test "x$ac_cv_func__frexpl" = x""yes; then :
62469   cat >>confdefs.h <<_ACEOF
62470 #define HAVE__FREXPL 1
62471 _ACEOF
62472
62473 fi
62474 done
62475
62476     fi
62477   fi
62478
62479
62480
62481
62482
62483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62484 $as_echo_n "checking for hypotl declaration... " >&6; }
62485   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62486     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62487   $as_echo_n "(cached) " >&6
62488 else
62489
62490
62491       ac_ext=cpp
62492 ac_cpp='$CXXCPP $CPPFLAGS'
62493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62496
62497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62498 /* end confdefs.h.  */
62499 #include <math.h>
62500 int
62501 main ()
62502 {
62503  hypotl(0, 0);
62504   ;
62505   return 0;
62506 }
62507 _ACEOF
62508 if ac_fn_cxx_try_compile "$LINENO"; then :
62509   glibcxx_cv_func_hypotl_use=yes
62510 else
62511   glibcxx_cv_func_hypotl_use=no
62512 fi
62513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62514       ac_ext=c
62515 ac_cpp='$CPP $CPPFLAGS'
62516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62519
62520
62521 fi
62522
62523   fi
62524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62525 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62526
62527   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62528     for ac_func in hypotl
62529 do :
62530   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62531 if test "x$ac_cv_func_hypotl" = x""yes; then :
62532   cat >>confdefs.h <<_ACEOF
62533 #define HAVE_HYPOTL 1
62534 _ACEOF
62535
62536 fi
62537 done
62538
62539   else
62540
62541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62542 $as_echo_n "checking for _hypotl declaration... " >&6; }
62543   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62544     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62545   $as_echo_n "(cached) " >&6
62546 else
62547
62548
62549       ac_ext=cpp
62550 ac_cpp='$CXXCPP $CPPFLAGS'
62551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62554
62555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62556 /* end confdefs.h.  */
62557 #include <math.h>
62558 int
62559 main ()
62560 {
62561  _hypotl(0, 0);
62562   ;
62563   return 0;
62564 }
62565 _ACEOF
62566 if ac_fn_cxx_try_compile "$LINENO"; then :
62567   glibcxx_cv_func__hypotl_use=yes
62568 else
62569   glibcxx_cv_func__hypotl_use=no
62570 fi
62571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62572       ac_ext=c
62573 ac_cpp='$CPP $CPPFLAGS'
62574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62577
62578
62579 fi
62580
62581   fi
62582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62583 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62584
62585     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62586       for ac_func in _hypotl
62587 do :
62588   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62589 if test "x$ac_cv_func__hypotl" = x""yes; then :
62590   cat >>confdefs.h <<_ACEOF
62591 #define HAVE__HYPOTL 1
62592 _ACEOF
62593
62594 fi
62595 done
62596
62597     fi
62598   fi
62599
62600
62601
62602
62603
62604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62605 $as_echo_n "checking for ldexpl declaration... " >&6; }
62606   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62607     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62608   $as_echo_n "(cached) " >&6
62609 else
62610
62611
62612       ac_ext=cpp
62613 ac_cpp='$CXXCPP $CPPFLAGS'
62614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62617
62618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62619 /* end confdefs.h.  */
62620 #include <math.h>
62621 int
62622 main ()
62623 {
62624  ldexpl(0, 0);
62625   ;
62626   return 0;
62627 }
62628 _ACEOF
62629 if ac_fn_cxx_try_compile "$LINENO"; then :
62630   glibcxx_cv_func_ldexpl_use=yes
62631 else
62632   glibcxx_cv_func_ldexpl_use=no
62633 fi
62634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62635       ac_ext=c
62636 ac_cpp='$CPP $CPPFLAGS'
62637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62640
62641
62642 fi
62643
62644   fi
62645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62646 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62647
62648   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62649     for ac_func in ldexpl
62650 do :
62651   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62652 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62653   cat >>confdefs.h <<_ACEOF
62654 #define HAVE_LDEXPL 1
62655 _ACEOF
62656
62657 fi
62658 done
62659
62660   else
62661
62662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62663 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62664   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62665     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62666   $as_echo_n "(cached) " >&6
62667 else
62668
62669
62670       ac_ext=cpp
62671 ac_cpp='$CXXCPP $CPPFLAGS'
62672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62675
62676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62677 /* end confdefs.h.  */
62678 #include <math.h>
62679 int
62680 main ()
62681 {
62682  _ldexpl(0, 0);
62683   ;
62684   return 0;
62685 }
62686 _ACEOF
62687 if ac_fn_cxx_try_compile "$LINENO"; then :
62688   glibcxx_cv_func__ldexpl_use=yes
62689 else
62690   glibcxx_cv_func__ldexpl_use=no
62691 fi
62692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62693       ac_ext=c
62694 ac_cpp='$CPP $CPPFLAGS'
62695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62698
62699
62700 fi
62701
62702   fi
62703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62704 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62705
62706     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62707       for ac_func in _ldexpl
62708 do :
62709   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62710 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62711   cat >>confdefs.h <<_ACEOF
62712 #define HAVE__LDEXPL 1
62713 _ACEOF
62714
62715 fi
62716 done
62717
62718     fi
62719   fi
62720
62721
62722
62723
62724
62725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62726 $as_echo_n "checking for logl declaration... " >&6; }
62727   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62728     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62729   $as_echo_n "(cached) " >&6
62730 else
62731
62732
62733       ac_ext=cpp
62734 ac_cpp='$CXXCPP $CPPFLAGS'
62735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62738
62739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62740 /* end confdefs.h.  */
62741 #include <math.h>
62742                       #ifdef HAVE_IEEEFP_H
62743                       #include <ieeefp.h>
62744                       #endif
62745
62746 int
62747 main ()
62748 {
62749  logl(0);
62750   ;
62751   return 0;
62752 }
62753 _ACEOF
62754 if ac_fn_cxx_try_compile "$LINENO"; then :
62755   glibcxx_cv_func_logl_use=yes
62756 else
62757   glibcxx_cv_func_logl_use=no
62758 fi
62759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62760       ac_ext=c
62761 ac_cpp='$CPP $CPPFLAGS'
62762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62765
62766
62767 fi
62768
62769   fi
62770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62771 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62772
62773   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62774     for ac_func in logl
62775 do :
62776   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62777 if test "x$ac_cv_func_logl" = x""yes; then :
62778   cat >>confdefs.h <<_ACEOF
62779 #define HAVE_LOGL 1
62780 _ACEOF
62781
62782 fi
62783 done
62784
62785   else
62786
62787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62788 $as_echo_n "checking for _logl declaration... " >&6; }
62789   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62790     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62791   $as_echo_n "(cached) " >&6
62792 else
62793
62794
62795       ac_ext=cpp
62796 ac_cpp='$CXXCPP $CPPFLAGS'
62797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62800
62801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62802 /* end confdefs.h.  */
62803 #include <math.h>
62804                       #ifdef HAVE_IEEEFP_H
62805                       #include <ieeefp.h>
62806                       #endif
62807
62808 int
62809 main ()
62810 {
62811  _logl(0);
62812   ;
62813   return 0;
62814 }
62815 _ACEOF
62816 if ac_fn_cxx_try_compile "$LINENO"; then :
62817   glibcxx_cv_func__logl_use=yes
62818 else
62819   glibcxx_cv_func__logl_use=no
62820 fi
62821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62822       ac_ext=c
62823 ac_cpp='$CPP $CPPFLAGS'
62824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62827
62828
62829 fi
62830
62831   fi
62832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62833 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62834
62835     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62836       for ac_func in _logl
62837 do :
62838   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62839 if test "x$ac_cv_func__logl" = x""yes; then :
62840   cat >>confdefs.h <<_ACEOF
62841 #define HAVE__LOGL 1
62842 _ACEOF
62843
62844 fi
62845 done
62846
62847     fi
62848   fi
62849
62850
62851
62852
62853
62854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62855 $as_echo_n "checking for log10l declaration... " >&6; }
62856   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62857     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62858   $as_echo_n "(cached) " >&6
62859 else
62860
62861
62862       ac_ext=cpp
62863 ac_cpp='$CXXCPP $CPPFLAGS'
62864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62867
62868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62869 /* end confdefs.h.  */
62870 #include <math.h>
62871                       #ifdef HAVE_IEEEFP_H
62872                       #include <ieeefp.h>
62873                       #endif
62874
62875 int
62876 main ()
62877 {
62878  log10l(0);
62879   ;
62880   return 0;
62881 }
62882 _ACEOF
62883 if ac_fn_cxx_try_compile "$LINENO"; then :
62884   glibcxx_cv_func_log10l_use=yes
62885 else
62886   glibcxx_cv_func_log10l_use=no
62887 fi
62888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62889       ac_ext=c
62890 ac_cpp='$CPP $CPPFLAGS'
62891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62894
62895
62896 fi
62897
62898   fi
62899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62900 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62901
62902   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62903     for ac_func in log10l
62904 do :
62905   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62906 if test "x$ac_cv_func_log10l" = x""yes; then :
62907   cat >>confdefs.h <<_ACEOF
62908 #define HAVE_LOG10L 1
62909 _ACEOF
62910
62911 fi
62912 done
62913
62914   else
62915
62916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62917 $as_echo_n "checking for _log10l declaration... " >&6; }
62918   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62919     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62920   $as_echo_n "(cached) " >&6
62921 else
62922
62923
62924       ac_ext=cpp
62925 ac_cpp='$CXXCPP $CPPFLAGS'
62926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62929
62930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62931 /* end confdefs.h.  */
62932 #include <math.h>
62933                       #ifdef HAVE_IEEEFP_H
62934                       #include <ieeefp.h>
62935                       #endif
62936
62937 int
62938 main ()
62939 {
62940  _log10l(0);
62941   ;
62942   return 0;
62943 }
62944 _ACEOF
62945 if ac_fn_cxx_try_compile "$LINENO"; then :
62946   glibcxx_cv_func__log10l_use=yes
62947 else
62948   glibcxx_cv_func__log10l_use=no
62949 fi
62950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62951       ac_ext=c
62952 ac_cpp='$CPP $CPPFLAGS'
62953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62956
62957
62958 fi
62959
62960   fi
62961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62962 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62963
62964     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62965       for ac_func in _log10l
62966 do :
62967   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62968 if test "x$ac_cv_func__log10l" = x""yes; then :
62969   cat >>confdefs.h <<_ACEOF
62970 #define HAVE__LOG10L 1
62971 _ACEOF
62972
62973 fi
62974 done
62975
62976     fi
62977   fi
62978
62979
62980
62981
62982
62983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62984 $as_echo_n "checking for modfl declaration... " >&6; }
62985   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62986     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62987   $as_echo_n "(cached) " >&6
62988 else
62989
62990
62991       ac_ext=cpp
62992 ac_cpp='$CXXCPP $CPPFLAGS'
62993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62996
62997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62998 /* end confdefs.h.  */
62999 #include <math.h>
63000 int
63001 main ()
63002 {
63003  modfl(0, 0);
63004   ;
63005   return 0;
63006 }
63007 _ACEOF
63008 if ac_fn_cxx_try_compile "$LINENO"; then :
63009   glibcxx_cv_func_modfl_use=yes
63010 else
63011   glibcxx_cv_func_modfl_use=no
63012 fi
63013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63014       ac_ext=c
63015 ac_cpp='$CPP $CPPFLAGS'
63016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63019
63020
63021 fi
63022
63023   fi
63024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63025 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63026
63027   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63028     for ac_func in modfl
63029 do :
63030   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63031 if test "x$ac_cv_func_modfl" = x""yes; then :
63032   cat >>confdefs.h <<_ACEOF
63033 #define HAVE_MODFL 1
63034 _ACEOF
63035
63036 fi
63037 done
63038
63039   else
63040
63041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63042 $as_echo_n "checking for _modfl declaration... " >&6; }
63043   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63044     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63045   $as_echo_n "(cached) " >&6
63046 else
63047
63048
63049       ac_ext=cpp
63050 ac_cpp='$CXXCPP $CPPFLAGS'
63051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63054
63055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63056 /* end confdefs.h.  */
63057 #include <math.h>
63058 int
63059 main ()
63060 {
63061  _modfl(0, 0);
63062   ;
63063   return 0;
63064 }
63065 _ACEOF
63066 if ac_fn_cxx_try_compile "$LINENO"; then :
63067   glibcxx_cv_func__modfl_use=yes
63068 else
63069   glibcxx_cv_func__modfl_use=no
63070 fi
63071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63072       ac_ext=c
63073 ac_cpp='$CPP $CPPFLAGS'
63074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63077
63078
63079 fi
63080
63081   fi
63082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63083 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63084
63085     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63086       for ac_func in _modfl
63087 do :
63088   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63089 if test "x$ac_cv_func__modfl" = x""yes; then :
63090   cat >>confdefs.h <<_ACEOF
63091 #define HAVE__MODFL 1
63092 _ACEOF
63093
63094 fi
63095 done
63096
63097     fi
63098   fi
63099
63100
63101
63102
63103
63104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63105 $as_echo_n "checking for powl declaration... " >&6; }
63106   if test x${glibcxx_cv_func_powl_use+set} != xset; then
63107     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63108   $as_echo_n "(cached) " >&6
63109 else
63110
63111
63112       ac_ext=cpp
63113 ac_cpp='$CXXCPP $CPPFLAGS'
63114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63117
63118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63119 /* end confdefs.h.  */
63120 #include <math.h>
63121 int
63122 main ()
63123 {
63124  powl(0, 0);
63125   ;
63126   return 0;
63127 }
63128 _ACEOF
63129 if ac_fn_cxx_try_compile "$LINENO"; then :
63130   glibcxx_cv_func_powl_use=yes
63131 else
63132   glibcxx_cv_func_powl_use=no
63133 fi
63134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63135       ac_ext=c
63136 ac_cpp='$CPP $CPPFLAGS'
63137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63140
63141
63142 fi
63143
63144   fi
63145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63146 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63147
63148   if test x$glibcxx_cv_func_powl_use = x"yes"; then
63149     for ac_func in powl
63150 do :
63151   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63152 if test "x$ac_cv_func_powl" = x""yes; then :
63153   cat >>confdefs.h <<_ACEOF
63154 #define HAVE_POWL 1
63155 _ACEOF
63156
63157 fi
63158 done
63159
63160   else
63161
63162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63163 $as_echo_n "checking for _powl declaration... " >&6; }
63164   if test x${glibcxx_cv_func__powl_use+set} != xset; then
63165     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63166   $as_echo_n "(cached) " >&6
63167 else
63168
63169
63170       ac_ext=cpp
63171 ac_cpp='$CXXCPP $CPPFLAGS'
63172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63175
63176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63177 /* end confdefs.h.  */
63178 #include <math.h>
63179 int
63180 main ()
63181 {
63182  _powl(0, 0);
63183   ;
63184   return 0;
63185 }
63186 _ACEOF
63187 if ac_fn_cxx_try_compile "$LINENO"; then :
63188   glibcxx_cv_func__powl_use=yes
63189 else
63190   glibcxx_cv_func__powl_use=no
63191 fi
63192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63193       ac_ext=c
63194 ac_cpp='$CPP $CPPFLAGS'
63195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63198
63199
63200 fi
63201
63202   fi
63203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63204 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63205
63206     if test x$glibcxx_cv_func__powl_use = x"yes"; then
63207       for ac_func in _powl
63208 do :
63209   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63210 if test "x$ac_cv_func__powl" = x""yes; then :
63211   cat >>confdefs.h <<_ACEOF
63212 #define HAVE__POWL 1
63213 _ACEOF
63214
63215 fi
63216 done
63217
63218     fi
63219   fi
63220
63221
63222
63223
63224
63225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63226 $as_echo_n "checking for sqrtl declaration... " >&6; }
63227   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63228     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63229   $as_echo_n "(cached) " >&6
63230 else
63231
63232
63233       ac_ext=cpp
63234 ac_cpp='$CXXCPP $CPPFLAGS'
63235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63238
63239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63240 /* end confdefs.h.  */
63241 #include <math.h>
63242                       #ifdef HAVE_IEEEFP_H
63243                       #include <ieeefp.h>
63244                       #endif
63245
63246 int
63247 main ()
63248 {
63249  sqrtl(0);
63250   ;
63251   return 0;
63252 }
63253 _ACEOF
63254 if ac_fn_cxx_try_compile "$LINENO"; then :
63255   glibcxx_cv_func_sqrtl_use=yes
63256 else
63257   glibcxx_cv_func_sqrtl_use=no
63258 fi
63259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63260       ac_ext=c
63261 ac_cpp='$CPP $CPPFLAGS'
63262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63265
63266
63267 fi
63268
63269   fi
63270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63271 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63272
63273   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63274     for ac_func in sqrtl
63275 do :
63276   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63277 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63278   cat >>confdefs.h <<_ACEOF
63279 #define HAVE_SQRTL 1
63280 _ACEOF
63281
63282 fi
63283 done
63284
63285   else
63286
63287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63288 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63289   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63290     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63291   $as_echo_n "(cached) " >&6
63292 else
63293
63294
63295       ac_ext=cpp
63296 ac_cpp='$CXXCPP $CPPFLAGS'
63297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63300
63301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63302 /* end confdefs.h.  */
63303 #include <math.h>
63304                       #ifdef HAVE_IEEEFP_H
63305                       #include <ieeefp.h>
63306                       #endif
63307
63308 int
63309 main ()
63310 {
63311  _sqrtl(0);
63312   ;
63313   return 0;
63314 }
63315 _ACEOF
63316 if ac_fn_cxx_try_compile "$LINENO"; then :
63317   glibcxx_cv_func__sqrtl_use=yes
63318 else
63319   glibcxx_cv_func__sqrtl_use=no
63320 fi
63321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63322       ac_ext=c
63323 ac_cpp='$CPP $CPPFLAGS'
63324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63327
63328
63329 fi
63330
63331   fi
63332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63333 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63334
63335     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63336       for ac_func in _sqrtl
63337 do :
63338   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63339 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63340   cat >>confdefs.h <<_ACEOF
63341 #define HAVE__SQRTL 1
63342 _ACEOF
63343
63344 fi
63345 done
63346
63347     fi
63348   fi
63349
63350
63351
63352
63353
63354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63355 $as_echo_n "checking for sincosl declaration... " >&6; }
63356   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63357     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63358   $as_echo_n "(cached) " >&6
63359 else
63360
63361
63362       ac_ext=cpp
63363 ac_cpp='$CXXCPP $CPPFLAGS'
63364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63367
63368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63369 /* end confdefs.h.  */
63370 #include <math.h>
63371 int
63372 main ()
63373 {
63374  sincosl(0, 0, 0);
63375   ;
63376   return 0;
63377 }
63378 _ACEOF
63379 if ac_fn_cxx_try_compile "$LINENO"; then :
63380   glibcxx_cv_func_sincosl_use=yes
63381 else
63382   glibcxx_cv_func_sincosl_use=no
63383 fi
63384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63385       ac_ext=c
63386 ac_cpp='$CPP $CPPFLAGS'
63387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63390
63391
63392 fi
63393
63394   fi
63395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63396 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63397
63398   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63399     for ac_func in sincosl
63400 do :
63401   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63402 if test "x$ac_cv_func_sincosl" = x""yes; then :
63403   cat >>confdefs.h <<_ACEOF
63404 #define HAVE_SINCOSL 1
63405 _ACEOF
63406
63407 fi
63408 done
63409
63410   else
63411
63412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63413 $as_echo_n "checking for _sincosl declaration... " >&6; }
63414   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63415     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63416   $as_echo_n "(cached) " >&6
63417 else
63418
63419
63420       ac_ext=cpp
63421 ac_cpp='$CXXCPP $CPPFLAGS'
63422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63425
63426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63427 /* end confdefs.h.  */
63428 #include <math.h>
63429 int
63430 main ()
63431 {
63432  _sincosl(0, 0, 0);
63433   ;
63434   return 0;
63435 }
63436 _ACEOF
63437 if ac_fn_cxx_try_compile "$LINENO"; then :
63438   glibcxx_cv_func__sincosl_use=yes
63439 else
63440   glibcxx_cv_func__sincosl_use=no
63441 fi
63442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63443       ac_ext=c
63444 ac_cpp='$CPP $CPPFLAGS'
63445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63448
63449
63450 fi
63451
63452   fi
63453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63454 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63455
63456     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63457       for ac_func in _sincosl
63458 do :
63459   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63460 if test "x$ac_cv_func__sincosl" = x""yes; then :
63461   cat >>confdefs.h <<_ACEOF
63462 #define HAVE__SINCOSL 1
63463 _ACEOF
63464
63465 fi
63466 done
63467
63468     fi
63469   fi
63470
63471
63472
63473
63474
63475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63476 $as_echo_n "checking for finitel declaration... " >&6; }
63477   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63478     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63479   $as_echo_n "(cached) " >&6
63480 else
63481
63482
63483       ac_ext=cpp
63484 ac_cpp='$CXXCPP $CPPFLAGS'
63485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63488
63489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63490 /* end confdefs.h.  */
63491 #include <math.h>
63492                       #ifdef HAVE_IEEEFP_H
63493                       #include <ieeefp.h>
63494                       #endif
63495
63496 int
63497 main ()
63498 {
63499  finitel(0);
63500   ;
63501   return 0;
63502 }
63503 _ACEOF
63504 if ac_fn_cxx_try_compile "$LINENO"; then :
63505   glibcxx_cv_func_finitel_use=yes
63506 else
63507   glibcxx_cv_func_finitel_use=no
63508 fi
63509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63510       ac_ext=c
63511 ac_cpp='$CPP $CPPFLAGS'
63512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63515
63516
63517 fi
63518
63519   fi
63520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63521 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63522
63523   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63524     for ac_func in finitel
63525 do :
63526   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63527 if test "x$ac_cv_func_finitel" = x""yes; then :
63528   cat >>confdefs.h <<_ACEOF
63529 #define HAVE_FINITEL 1
63530 _ACEOF
63531
63532 fi
63533 done
63534
63535   else
63536
63537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63538 $as_echo_n "checking for _finitel declaration... " >&6; }
63539   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63540     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63541   $as_echo_n "(cached) " >&6
63542 else
63543
63544
63545       ac_ext=cpp
63546 ac_cpp='$CXXCPP $CPPFLAGS'
63547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63550
63551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63552 /* end confdefs.h.  */
63553 #include <math.h>
63554                       #ifdef HAVE_IEEEFP_H
63555                       #include <ieeefp.h>
63556                       #endif
63557
63558 int
63559 main ()
63560 {
63561  _finitel(0);
63562   ;
63563   return 0;
63564 }
63565 _ACEOF
63566 if ac_fn_cxx_try_compile "$LINENO"; then :
63567   glibcxx_cv_func__finitel_use=yes
63568 else
63569   glibcxx_cv_func__finitel_use=no
63570 fi
63571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63572       ac_ext=c
63573 ac_cpp='$CPP $CPPFLAGS'
63574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63577
63578
63579 fi
63580
63581   fi
63582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63583 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63584
63585     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63586       for ac_func in _finitel
63587 do :
63588   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63589 if test "x$ac_cv_func__finitel" = x""yes; then :
63590   cat >>confdefs.h <<_ACEOF
63591 #define HAVE__FINITEL 1
63592 _ACEOF
63593
63594 fi
63595 done
63596
63597     fi
63598   fi
63599
63600
63601
63602
63603   LIBS="$ac_save_LIBS"
63604   CXXFLAGS="$ac_save_CXXFLAGS"
63605
63606
63607   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63608   ac_save_CXXFLAGS="$CXXFLAGS"
63609   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63610
63611
63612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63613 $as_echo_n "checking for strtold declaration... " >&6; }
63614   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63615     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63616   $as_echo_n "(cached) " >&6
63617 else
63618
63619
63620       ac_ext=cpp
63621 ac_cpp='$CXXCPP $CPPFLAGS'
63622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63625
63626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63627 /* end confdefs.h.  */
63628 #include <stdlib.h>
63629 int
63630 main ()
63631 {
63632  strtold(0, 0);
63633   ;
63634   return 0;
63635 }
63636 _ACEOF
63637 if ac_fn_cxx_try_compile "$LINENO"; then :
63638   glibcxx_cv_func_strtold_use=yes
63639 else
63640   glibcxx_cv_func_strtold_use=no
63641 fi
63642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63643       ac_ext=c
63644 ac_cpp='$CPP $CPPFLAGS'
63645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63648
63649
63650 fi
63651
63652   fi
63653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63654 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63655   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63656     for ac_func in strtold
63657 do :
63658   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63659 if test "x$ac_cv_func_strtold" = x""yes; then :
63660   cat >>confdefs.h <<_ACEOF
63661 #define HAVE_STRTOLD 1
63662 _ACEOF
63663
63664 fi
63665 done
63666
63667   fi
63668
63669
63670
63671
63672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63673 $as_echo_n "checking for strtof declaration... " >&6; }
63674   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63675     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63676   $as_echo_n "(cached) " >&6
63677 else
63678
63679
63680       ac_ext=cpp
63681 ac_cpp='$CXXCPP $CPPFLAGS'
63682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63685
63686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63687 /* end confdefs.h.  */
63688 #include <stdlib.h>
63689 int
63690 main ()
63691 {
63692  strtof(0, 0);
63693   ;
63694   return 0;
63695 }
63696 _ACEOF
63697 if ac_fn_cxx_try_compile "$LINENO"; then :
63698   glibcxx_cv_func_strtof_use=yes
63699 else
63700   glibcxx_cv_func_strtof_use=no
63701 fi
63702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63703       ac_ext=c
63704 ac_cpp='$CPP $CPPFLAGS'
63705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63708
63709
63710 fi
63711
63712   fi
63713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63714 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63715   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63716     for ac_func in strtof
63717 do :
63718   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63719 if test "x$ac_cv_func_strtof" = x""yes; then :
63720   cat >>confdefs.h <<_ACEOF
63721 #define HAVE_STRTOF 1
63722 _ACEOF
63723
63724 fi
63725 done
63726
63727   fi
63728
63729
63730
63731
63732   CXXFLAGS="$ac_save_CXXFLAGS"
63733
63734     ;;
63735   *-solaris*)
63736     case "$target" in
63737       *-solaris2.9 | *-solaris2.10)
63738
63739   # If we're not using GNU ld, then there's no point in even trying these
63740   # tests.  Check for that first.  We should have already tested for gld
63741   # by now (in libtool), but require it now just to be safe...
63742   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63743   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63744
63745
63746
63747   # The name set by libtool depends on the version of libtool.  Shame on us
63748   # for depending on an impl detail, but c'est la vie.  Older versions used
63749   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63750   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63751   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63752   # set (hence we're using an older libtool), then set it.
63753   if test x${with_gnu_ld+set} != xset; then
63754     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63755       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63756       with_gnu_ld=no
63757     else
63758       with_gnu_ld=$ac_cv_prog_gnu_ld
63759     fi
63760   fi
63761
63762   # Start by getting the version number.  I think the libtool test already
63763   # does some of this, but throws away the result.
63764   glibcxx_ld_is_gold=no
63765   if test x"$with_gnu_ld" = x"yes"; then
63766     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63767 $as_echo_n "checking for ld version... " >&6; }
63768
63769     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63770       glibcxx_ld_is_gold=yes
63771     fi
63772     ldver=`$LD --version 2>/dev/null |
63773            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'`
63774
63775     glibcxx_gnu_ld_version=`echo $ldver | \
63776            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63777     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63778 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63779   fi
63780
63781   # Set --gc-sections.
63782   glibcxx_have_gc_sections=no
63783   if test "$glibcxx_ld_is_gold" = "yes"; then
63784     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63785       glibcxx_have_gc_sections=yes
63786     fi
63787   else
63788     glibcxx_gcsections_min_ld=21602
63789     if test x"$with_gnu_ld" = x"yes" &&
63790         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63791       glibcxx_have_gc_sections=yes
63792     fi
63793   fi
63794   if test "$glibcxx_have_gc_sections" = "yes"; then
63795     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63796     # NB: This flag only works reliably after 2.16.1. Configure tests
63797     # for this are difficult, so hard wire a value that should work.
63798
63799     ac_test_CFLAGS="${CFLAGS+set}"
63800     ac_save_CFLAGS="$CFLAGS"
63801     CFLAGS='-Wl,--gc-sections'
63802
63803     # Check for -Wl,--gc-sections
63804     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63805 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63806     if test x$gcc_no_link = xyes; then
63807   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63808 fi
63809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63810 /* end confdefs.h.  */
63811  int one(void) { return 1; }
63812      int two(void) { return 2; }
63813
63814 int
63815 main ()
63816 {
63817  two();
63818   ;
63819   return 0;
63820 }
63821 _ACEOF
63822 if ac_fn_c_try_link "$LINENO"; then :
63823   ac_gcsections=yes
63824 else
63825   ac_gcsections=no
63826 fi
63827 rm -f core conftest.err conftest.$ac_objext \
63828     conftest$ac_exeext conftest.$ac_ext
63829     if test "$ac_gcsections" = "yes"; then
63830       rm -f conftest.c
63831       touch conftest.c
63832       if $CC -c conftest.c; then
63833         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63834            grep "Warning: gc-sections option ignored" > /dev/null; then
63835           ac_gcsections=no
63836         fi
63837       fi
63838       rm -f conftest.c conftest.o conftest
63839     fi
63840     if test "$ac_gcsections" = "yes"; then
63841       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63842     fi
63843     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63844 $as_echo "$ac_gcsections" >&6; }
63845
63846     if test "$ac_test_CFLAGS" = set; then
63847       CFLAGS="$ac_save_CFLAGS"
63848     else
63849       # this is the suspicious part
63850       CFLAGS=''
63851     fi
63852   fi
63853
63854   # Set -z,relro.
63855   # Note this is only for shared objects.
63856   ac_ld_relro=no
63857   if test x"$with_gnu_ld" = x"yes"; then
63858     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63859 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63860     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63861     if test -n "$cxx_z_relo"; then
63862       OPT_LDFLAGS="-Wl,-z,relro"
63863       ac_ld_relro=yes
63864     fi
63865     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63866 $as_echo "$ac_ld_relro" >&6; }
63867   fi
63868
63869   # Set linker optimization flags.
63870   if test x"$with_gnu_ld" = x"yes"; then
63871     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63872   fi
63873
63874
63875
63876
63877          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63878
63879          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63880
63881          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63882
63883          # All of the dependencies for wide character support are here, so
63884          # turn it on.
63885          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63886
63887         ;;
63888     esac
63889     case "$target" in
63890       *-*-solaris2.10)
63891       # These two C99 functions are present only in Solaris >= 10
63892       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63893
63894       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63895
63896      ;;
63897     esac
63898     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63899
63900     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63901
63902     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63903
63904     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63905
63906     ;;
63907   *-tpf)
63908     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63909     SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63910
63911     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63912
63913     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63914
63915     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63916
63917     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63918
63919     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63920
63921     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63922
63923     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63924
63925     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63926
63927     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63928
63929     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63930
63931     if test x"long_double_math_on_this_cpu" = x"yes"; then
63932       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63933
63934       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63935
63936       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63937
63938       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63939
63940     fi
63941     ;;
63942   *-*vms*)
63943     # Check for available headers.
63944     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63945
63946   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63947   ac_save_CXXFLAGS="$CXXFLAGS"
63948   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63949
63950     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63951 $as_echo_n "checking for sin in -lm... " >&6; }
63952 if test "${ac_cv_lib_m_sin+set}" = set; then :
63953   $as_echo_n "(cached) " >&6
63954 else
63955   ac_check_lib_save_LIBS=$LIBS
63956 LIBS="-lm  $LIBS"
63957 if test x$gcc_no_link = xyes; then
63958   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63959 fi
63960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63961 /* end confdefs.h.  */
63962
63963 /* Override any GCC internal prototype to avoid an error.
63964    Use char because int might match the return type of a GCC
63965    builtin and then its argument prototype would still apply.  */
63966 #ifdef __cplusplus
63967 extern "C"
63968 #endif
63969 char sin ();
63970 int
63971 main ()
63972 {
63973 return sin ();
63974   ;
63975   return 0;
63976 }
63977 _ACEOF
63978 if ac_fn_c_try_link "$LINENO"; then :
63979   ac_cv_lib_m_sin=yes
63980 else
63981   ac_cv_lib_m_sin=no
63982 fi
63983 rm -f core conftest.err conftest.$ac_objext \
63984     conftest$ac_exeext conftest.$ac_ext
63985 LIBS=$ac_check_lib_save_LIBS
63986 fi
63987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63988 $as_echo "$ac_cv_lib_m_sin" >&6; }
63989 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63990   libm="-lm"
63991 fi
63992
63993   ac_save_LIBS="$LIBS"
63994   LIBS="$LIBS $libm"
63995
63996
63997
63998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63999 $as_echo_n "checking for isinf declaration... " >&6; }
64000   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64001     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64002   $as_echo_n "(cached) " >&6
64003 else
64004
64005
64006       ac_ext=cpp
64007 ac_cpp='$CXXCPP $CPPFLAGS'
64008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64011
64012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64013 /* end confdefs.h.  */
64014 #include <math.h>
64015                       #ifdef HAVE_IEEEFP_H
64016                       #include <ieeefp.h>
64017                       #endif
64018
64019 int
64020 main ()
64021 {
64022  isinf(0);
64023   ;
64024   return 0;
64025 }
64026 _ACEOF
64027 if ac_fn_cxx_try_compile "$LINENO"; then :
64028   glibcxx_cv_func_isinf_use=yes
64029 else
64030   glibcxx_cv_func_isinf_use=no
64031 fi
64032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64033       ac_ext=c
64034 ac_cpp='$CPP $CPPFLAGS'
64035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64038
64039
64040 fi
64041
64042   fi
64043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
64044 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
64045
64046   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64047     for ac_func in isinf
64048 do :
64049   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
64050 if test "x$ac_cv_func_isinf" = x""yes; then :
64051   cat >>confdefs.h <<_ACEOF
64052 #define HAVE_ISINF 1
64053 _ACEOF
64054
64055 fi
64056 done
64057
64058   else
64059
64060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
64061 $as_echo_n "checking for _isinf declaration... " >&6; }
64062   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64063     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
64064   $as_echo_n "(cached) " >&6
64065 else
64066
64067
64068       ac_ext=cpp
64069 ac_cpp='$CXXCPP $CPPFLAGS'
64070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64073
64074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64075 /* end confdefs.h.  */
64076 #include <math.h>
64077                       #ifdef HAVE_IEEEFP_H
64078                       #include <ieeefp.h>
64079                       #endif
64080
64081 int
64082 main ()
64083 {
64084  _isinf(0);
64085   ;
64086   return 0;
64087 }
64088 _ACEOF
64089 if ac_fn_cxx_try_compile "$LINENO"; then :
64090   glibcxx_cv_func__isinf_use=yes
64091 else
64092   glibcxx_cv_func__isinf_use=no
64093 fi
64094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64095       ac_ext=c
64096 ac_cpp='$CPP $CPPFLAGS'
64097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64100
64101
64102 fi
64103
64104   fi
64105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64106 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64107
64108     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64109       for ac_func in _isinf
64110 do :
64111   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64112 if test "x$ac_cv_func__isinf" = x""yes; then :
64113   cat >>confdefs.h <<_ACEOF
64114 #define HAVE__ISINF 1
64115 _ACEOF
64116
64117 fi
64118 done
64119
64120     fi
64121   fi
64122
64123
64124
64125
64126
64127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64128 $as_echo_n "checking for isnan declaration... " >&6; }
64129   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64130     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64131   $as_echo_n "(cached) " >&6
64132 else
64133
64134
64135       ac_ext=cpp
64136 ac_cpp='$CXXCPP $CPPFLAGS'
64137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64140
64141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64142 /* end confdefs.h.  */
64143 #include <math.h>
64144                       #ifdef HAVE_IEEEFP_H
64145                       #include <ieeefp.h>
64146                       #endif
64147
64148 int
64149 main ()
64150 {
64151  isnan(0);
64152   ;
64153   return 0;
64154 }
64155 _ACEOF
64156 if ac_fn_cxx_try_compile "$LINENO"; then :
64157   glibcxx_cv_func_isnan_use=yes
64158 else
64159   glibcxx_cv_func_isnan_use=no
64160 fi
64161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64162       ac_ext=c
64163 ac_cpp='$CPP $CPPFLAGS'
64164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64167
64168
64169 fi
64170
64171   fi
64172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64173 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64174
64175   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64176     for ac_func in isnan
64177 do :
64178   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64179 if test "x$ac_cv_func_isnan" = x""yes; then :
64180   cat >>confdefs.h <<_ACEOF
64181 #define HAVE_ISNAN 1
64182 _ACEOF
64183
64184 fi
64185 done
64186
64187   else
64188
64189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64190 $as_echo_n "checking for _isnan declaration... " >&6; }
64191   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64192     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64193   $as_echo_n "(cached) " >&6
64194 else
64195
64196
64197       ac_ext=cpp
64198 ac_cpp='$CXXCPP $CPPFLAGS'
64199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64202
64203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64204 /* end confdefs.h.  */
64205 #include <math.h>
64206                       #ifdef HAVE_IEEEFP_H
64207                       #include <ieeefp.h>
64208                       #endif
64209
64210 int
64211 main ()
64212 {
64213  _isnan(0);
64214   ;
64215   return 0;
64216 }
64217 _ACEOF
64218 if ac_fn_cxx_try_compile "$LINENO"; then :
64219   glibcxx_cv_func__isnan_use=yes
64220 else
64221   glibcxx_cv_func__isnan_use=no
64222 fi
64223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64224       ac_ext=c
64225 ac_cpp='$CPP $CPPFLAGS'
64226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64229
64230
64231 fi
64232
64233   fi
64234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64235 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64236
64237     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64238       for ac_func in _isnan
64239 do :
64240   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64241 if test "x$ac_cv_func__isnan" = x""yes; then :
64242   cat >>confdefs.h <<_ACEOF
64243 #define HAVE__ISNAN 1
64244 _ACEOF
64245
64246 fi
64247 done
64248
64249     fi
64250   fi
64251
64252
64253
64254
64255
64256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64257 $as_echo_n "checking for finite declaration... " >&6; }
64258   if test x${glibcxx_cv_func_finite_use+set} != xset; then
64259     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64260   $as_echo_n "(cached) " >&6
64261 else
64262
64263
64264       ac_ext=cpp
64265 ac_cpp='$CXXCPP $CPPFLAGS'
64266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64269
64270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64271 /* end confdefs.h.  */
64272 #include <math.h>
64273                       #ifdef HAVE_IEEEFP_H
64274                       #include <ieeefp.h>
64275                       #endif
64276
64277 int
64278 main ()
64279 {
64280  finite(0);
64281   ;
64282   return 0;
64283 }
64284 _ACEOF
64285 if ac_fn_cxx_try_compile "$LINENO"; then :
64286   glibcxx_cv_func_finite_use=yes
64287 else
64288   glibcxx_cv_func_finite_use=no
64289 fi
64290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64291       ac_ext=c
64292 ac_cpp='$CPP $CPPFLAGS'
64293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64296
64297
64298 fi
64299
64300   fi
64301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64302 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64303
64304   if test x$glibcxx_cv_func_finite_use = x"yes"; then
64305     for ac_func in finite
64306 do :
64307   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64308 if test "x$ac_cv_func_finite" = x""yes; then :
64309   cat >>confdefs.h <<_ACEOF
64310 #define HAVE_FINITE 1
64311 _ACEOF
64312
64313 fi
64314 done
64315
64316   else
64317
64318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64319 $as_echo_n "checking for _finite declaration... " >&6; }
64320   if test x${glibcxx_cv_func__finite_use+set} != xset; then
64321     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64322   $as_echo_n "(cached) " >&6
64323 else
64324
64325
64326       ac_ext=cpp
64327 ac_cpp='$CXXCPP $CPPFLAGS'
64328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64331
64332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64333 /* end confdefs.h.  */
64334 #include <math.h>
64335                       #ifdef HAVE_IEEEFP_H
64336                       #include <ieeefp.h>
64337                       #endif
64338
64339 int
64340 main ()
64341 {
64342  _finite(0);
64343   ;
64344   return 0;
64345 }
64346 _ACEOF
64347 if ac_fn_cxx_try_compile "$LINENO"; then :
64348   glibcxx_cv_func__finite_use=yes
64349 else
64350   glibcxx_cv_func__finite_use=no
64351 fi
64352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64353       ac_ext=c
64354 ac_cpp='$CPP $CPPFLAGS'
64355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64358
64359
64360 fi
64361
64362   fi
64363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64364 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64365
64366     if test x$glibcxx_cv_func__finite_use = x"yes"; then
64367       for ac_func in _finite
64368 do :
64369   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64370 if test "x$ac_cv_func__finite" = x""yes; then :
64371   cat >>confdefs.h <<_ACEOF
64372 #define HAVE__FINITE 1
64373 _ACEOF
64374
64375 fi
64376 done
64377
64378     fi
64379   fi
64380
64381
64382
64383
64384
64385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64386 $as_echo_n "checking for sincos declaration... " >&6; }
64387   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64388     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64389   $as_echo_n "(cached) " >&6
64390 else
64391
64392
64393       ac_ext=cpp
64394 ac_cpp='$CXXCPP $CPPFLAGS'
64395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64398
64399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64400 /* end confdefs.h.  */
64401 #include <math.h>
64402 int
64403 main ()
64404 {
64405  sincos(0, 0, 0);
64406   ;
64407   return 0;
64408 }
64409 _ACEOF
64410 if ac_fn_cxx_try_compile "$LINENO"; then :
64411   glibcxx_cv_func_sincos_use=yes
64412 else
64413   glibcxx_cv_func_sincos_use=no
64414 fi
64415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64416       ac_ext=c
64417 ac_cpp='$CPP $CPPFLAGS'
64418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64421
64422
64423 fi
64424
64425   fi
64426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64427 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64428
64429   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64430     for ac_func in sincos
64431 do :
64432   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64433 if test "x$ac_cv_func_sincos" = x""yes; then :
64434   cat >>confdefs.h <<_ACEOF
64435 #define HAVE_SINCOS 1
64436 _ACEOF
64437
64438 fi
64439 done
64440
64441   else
64442
64443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64444 $as_echo_n "checking for _sincos declaration... " >&6; }
64445   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64446     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64447   $as_echo_n "(cached) " >&6
64448 else
64449
64450
64451       ac_ext=cpp
64452 ac_cpp='$CXXCPP $CPPFLAGS'
64453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64456
64457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64458 /* end confdefs.h.  */
64459 #include <math.h>
64460 int
64461 main ()
64462 {
64463  _sincos(0, 0, 0);
64464   ;
64465   return 0;
64466 }
64467 _ACEOF
64468 if ac_fn_cxx_try_compile "$LINENO"; then :
64469   glibcxx_cv_func__sincos_use=yes
64470 else
64471   glibcxx_cv_func__sincos_use=no
64472 fi
64473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64474       ac_ext=c
64475 ac_cpp='$CPP $CPPFLAGS'
64476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64479
64480
64481 fi
64482
64483   fi
64484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64485 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64486
64487     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64488       for ac_func in _sincos
64489 do :
64490   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64491 if test "x$ac_cv_func__sincos" = x""yes; then :
64492   cat >>confdefs.h <<_ACEOF
64493 #define HAVE__SINCOS 1
64494 _ACEOF
64495
64496 fi
64497 done
64498
64499     fi
64500   fi
64501
64502
64503
64504
64505
64506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64507 $as_echo_n "checking for fpclass declaration... " >&6; }
64508   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64509     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64510   $as_echo_n "(cached) " >&6
64511 else
64512
64513
64514       ac_ext=cpp
64515 ac_cpp='$CXXCPP $CPPFLAGS'
64516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64519
64520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64521 /* end confdefs.h.  */
64522 #include <math.h>
64523                       #ifdef HAVE_IEEEFP_H
64524                       #include <ieeefp.h>
64525                       #endif
64526
64527 int
64528 main ()
64529 {
64530  fpclass(0);
64531   ;
64532   return 0;
64533 }
64534 _ACEOF
64535 if ac_fn_cxx_try_compile "$LINENO"; then :
64536   glibcxx_cv_func_fpclass_use=yes
64537 else
64538   glibcxx_cv_func_fpclass_use=no
64539 fi
64540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64541       ac_ext=c
64542 ac_cpp='$CPP $CPPFLAGS'
64543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64546
64547
64548 fi
64549
64550   fi
64551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64552 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64553
64554   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64555     for ac_func in fpclass
64556 do :
64557   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64558 if test "x$ac_cv_func_fpclass" = x""yes; then :
64559   cat >>confdefs.h <<_ACEOF
64560 #define HAVE_FPCLASS 1
64561 _ACEOF
64562
64563 fi
64564 done
64565
64566   else
64567
64568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64569 $as_echo_n "checking for _fpclass declaration... " >&6; }
64570   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64571     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64572   $as_echo_n "(cached) " >&6
64573 else
64574
64575
64576       ac_ext=cpp
64577 ac_cpp='$CXXCPP $CPPFLAGS'
64578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64581
64582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64583 /* end confdefs.h.  */
64584 #include <math.h>
64585                       #ifdef HAVE_IEEEFP_H
64586                       #include <ieeefp.h>
64587                       #endif
64588
64589 int
64590 main ()
64591 {
64592  _fpclass(0);
64593   ;
64594   return 0;
64595 }
64596 _ACEOF
64597 if ac_fn_cxx_try_compile "$LINENO"; then :
64598   glibcxx_cv_func__fpclass_use=yes
64599 else
64600   glibcxx_cv_func__fpclass_use=no
64601 fi
64602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64603       ac_ext=c
64604 ac_cpp='$CPP $CPPFLAGS'
64605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64608
64609
64610 fi
64611
64612   fi
64613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64614 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64615
64616     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64617       for ac_func in _fpclass
64618 do :
64619   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64620 if test "x$ac_cv_func__fpclass" = x""yes; then :
64621   cat >>confdefs.h <<_ACEOF
64622 #define HAVE__FPCLASS 1
64623 _ACEOF
64624
64625 fi
64626 done
64627
64628     fi
64629   fi
64630
64631
64632
64633
64634
64635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64636 $as_echo_n "checking for qfpclass declaration... " >&6; }
64637   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64638     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64639   $as_echo_n "(cached) " >&6
64640 else
64641
64642
64643       ac_ext=cpp
64644 ac_cpp='$CXXCPP $CPPFLAGS'
64645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64648
64649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64650 /* end confdefs.h.  */
64651 #include <math.h>
64652                       #ifdef HAVE_IEEEFP_H
64653                       #include <ieeefp.h>
64654                       #endif
64655
64656 int
64657 main ()
64658 {
64659  qfpclass(0);
64660   ;
64661   return 0;
64662 }
64663 _ACEOF
64664 if ac_fn_cxx_try_compile "$LINENO"; then :
64665   glibcxx_cv_func_qfpclass_use=yes
64666 else
64667   glibcxx_cv_func_qfpclass_use=no
64668 fi
64669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64670       ac_ext=c
64671 ac_cpp='$CPP $CPPFLAGS'
64672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64675
64676
64677 fi
64678
64679   fi
64680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64681 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64682
64683   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64684     for ac_func in qfpclass
64685 do :
64686   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64687 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64688   cat >>confdefs.h <<_ACEOF
64689 #define HAVE_QFPCLASS 1
64690 _ACEOF
64691
64692 fi
64693 done
64694
64695   else
64696
64697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64698 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64699   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64700     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64701   $as_echo_n "(cached) " >&6
64702 else
64703
64704
64705       ac_ext=cpp
64706 ac_cpp='$CXXCPP $CPPFLAGS'
64707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64710
64711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64712 /* end confdefs.h.  */
64713 #include <math.h>
64714                       #ifdef HAVE_IEEEFP_H
64715                       #include <ieeefp.h>
64716                       #endif
64717
64718 int
64719 main ()
64720 {
64721  _qfpclass(0);
64722   ;
64723   return 0;
64724 }
64725 _ACEOF
64726 if ac_fn_cxx_try_compile "$LINENO"; then :
64727   glibcxx_cv_func__qfpclass_use=yes
64728 else
64729   glibcxx_cv_func__qfpclass_use=no
64730 fi
64731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64732       ac_ext=c
64733 ac_cpp='$CPP $CPPFLAGS'
64734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64737
64738
64739 fi
64740
64741   fi
64742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64743 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64744
64745     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64746       for ac_func in _qfpclass
64747 do :
64748   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64749 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64750   cat >>confdefs.h <<_ACEOF
64751 #define HAVE__QFPCLASS 1
64752 _ACEOF
64753
64754 fi
64755 done
64756
64757     fi
64758   fi
64759
64760
64761
64762
64763
64764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64765 $as_echo_n "checking for hypot declaration... " >&6; }
64766   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64767     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64768   $as_echo_n "(cached) " >&6
64769 else
64770
64771
64772       ac_ext=cpp
64773 ac_cpp='$CXXCPP $CPPFLAGS'
64774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64777
64778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64779 /* end confdefs.h.  */
64780 #include <math.h>
64781 int
64782 main ()
64783 {
64784  hypot(0, 0);
64785   ;
64786   return 0;
64787 }
64788 _ACEOF
64789 if ac_fn_cxx_try_compile "$LINENO"; then :
64790   glibcxx_cv_func_hypot_use=yes
64791 else
64792   glibcxx_cv_func_hypot_use=no
64793 fi
64794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64795       ac_ext=c
64796 ac_cpp='$CPP $CPPFLAGS'
64797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64800
64801
64802 fi
64803
64804   fi
64805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64806 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64807
64808   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64809     for ac_func in hypot
64810 do :
64811   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64812 if test "x$ac_cv_func_hypot" = x""yes; then :
64813   cat >>confdefs.h <<_ACEOF
64814 #define HAVE_HYPOT 1
64815 _ACEOF
64816
64817 fi
64818 done
64819
64820   else
64821
64822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64823 $as_echo_n "checking for _hypot declaration... " >&6; }
64824   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64825     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64826   $as_echo_n "(cached) " >&6
64827 else
64828
64829
64830       ac_ext=cpp
64831 ac_cpp='$CXXCPP $CPPFLAGS'
64832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64835
64836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64837 /* end confdefs.h.  */
64838 #include <math.h>
64839 int
64840 main ()
64841 {
64842  _hypot(0, 0);
64843   ;
64844   return 0;
64845 }
64846 _ACEOF
64847 if ac_fn_cxx_try_compile "$LINENO"; then :
64848   glibcxx_cv_func__hypot_use=yes
64849 else
64850   glibcxx_cv_func__hypot_use=no
64851 fi
64852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64853       ac_ext=c
64854 ac_cpp='$CPP $CPPFLAGS'
64855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64858
64859
64860 fi
64861
64862   fi
64863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64864 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64865
64866     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64867       for ac_func in _hypot
64868 do :
64869   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64870 if test "x$ac_cv_func__hypot" = x""yes; then :
64871   cat >>confdefs.h <<_ACEOF
64872 #define HAVE__HYPOT 1
64873 _ACEOF
64874
64875 fi
64876 done
64877
64878     fi
64879   fi
64880
64881
64882
64883
64884
64885     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64886 $as_echo_n "checking for float trig functions... " >&6; }
64887   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64888   $as_echo_n "(cached) " >&6
64889 else
64890
64891
64892     ac_ext=cpp
64893 ac_cpp='$CXXCPP $CPPFLAGS'
64894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64897
64898     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64899 /* end confdefs.h.  */
64900 #include <math.h>
64901 int
64902 main ()
64903 {
64904 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64905   ;
64906   return 0;
64907 }
64908 _ACEOF
64909 if ac_fn_cxx_try_compile "$LINENO"; then :
64910   glibcxx_cv_func_float_trig_use=yes
64911 else
64912   glibcxx_cv_func_float_trig_use=no
64913 fi
64914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64915     ac_ext=c
64916 ac_cpp='$CPP $CPPFLAGS'
64917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64920
64921 fi
64922
64923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64924 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64925   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64926     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64927 do :
64928   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64930 eval as_val=\$$as_ac_var
64931    if test "x$as_val" = x""yes; then :
64932   cat >>confdefs.h <<_ACEOF
64933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64934 _ACEOF
64935
64936 fi
64937 done
64938
64939   else
64940     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64941 $as_echo_n "checking for _float trig functions... " >&6; }
64942     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64943   $as_echo_n "(cached) " >&6
64944 else
64945
64946
64947       ac_ext=cpp
64948 ac_cpp='$CXXCPP $CPPFLAGS'
64949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64952
64953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64954 /* end confdefs.h.  */
64955 #include <math.h>
64956 int
64957 main ()
64958 {
64959 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64960   ;
64961   return 0;
64962 }
64963 _ACEOF
64964 if ac_fn_cxx_try_compile "$LINENO"; then :
64965   glibcxx_cv_func__float_trig_use=yes
64966 else
64967   glibcxx_cv_func__float_trig_use=no
64968 fi
64969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64970       ac_ext=c
64971 ac_cpp='$CPP $CPPFLAGS'
64972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64975
64976 fi
64977
64978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64979 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64980     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64981       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64982 do :
64983   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64984 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64985 eval as_val=\$$as_ac_var
64986    if test "x$as_val" = x""yes; then :
64987   cat >>confdefs.h <<_ACEOF
64988 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64989 _ACEOF
64990
64991 fi
64992 done
64993
64994     fi
64995   fi
64996
64997
64998
64999
65000
65001     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65002 $as_echo_n "checking for float round functions... " >&6; }
65003   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65004   $as_echo_n "(cached) " >&6
65005 else
65006
65007
65008     ac_ext=cpp
65009 ac_cpp='$CXXCPP $CPPFLAGS'
65010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65013
65014     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65015 /* end confdefs.h.  */
65016 #include <math.h>
65017 int
65018 main ()
65019 {
65020 ceilf (0); floorf (0);
65021   ;
65022   return 0;
65023 }
65024 _ACEOF
65025 if ac_fn_cxx_try_compile "$LINENO"; then :
65026   glibcxx_cv_func_float_round_use=yes
65027 else
65028   glibcxx_cv_func_float_round_use=no
65029 fi
65030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65031     ac_ext=c
65032 ac_cpp='$CPP $CPPFLAGS'
65033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65036
65037 fi
65038
65039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
65040 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
65041   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65042     for ac_func in ceilf floorf
65043 do :
65044   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65046 eval as_val=\$$as_ac_var
65047    if test "x$as_val" = x""yes; then :
65048   cat >>confdefs.h <<_ACEOF
65049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65050 _ACEOF
65051
65052 fi
65053 done
65054
65055   else
65056     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
65057 $as_echo_n "checking for _float round functions... " >&6; }
65058     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
65059   $as_echo_n "(cached) " >&6
65060 else
65061
65062
65063       ac_ext=cpp
65064 ac_cpp='$CXXCPP $CPPFLAGS'
65065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65068
65069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65070 /* end confdefs.h.  */
65071 #include <math.h>
65072 int
65073 main ()
65074 {
65075 _ceilf (0); _floorf (0);
65076   ;
65077   return 0;
65078 }
65079 _ACEOF
65080 if ac_fn_cxx_try_compile "$LINENO"; then :
65081   glibcxx_cv_func__float_round_use=yes
65082 else
65083   glibcxx_cv_func__float_round_use=no
65084 fi
65085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65086       ac_ext=c
65087 ac_cpp='$CPP $CPPFLAGS'
65088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65091
65092 fi
65093
65094     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65095 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65096     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65097       for ac_func in _ceilf _floorf
65098 do :
65099   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65101 eval as_val=\$$as_ac_var
65102    if test "x$as_val" = x""yes; then :
65103   cat >>confdefs.h <<_ACEOF
65104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65105 _ACEOF
65106
65107 fi
65108 done
65109
65110     fi
65111   fi
65112
65113
65114
65115
65116
65117
65118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65119 $as_echo_n "checking for expf declaration... " >&6; }
65120   if test x${glibcxx_cv_func_expf_use+set} != xset; then
65121     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65122   $as_echo_n "(cached) " >&6
65123 else
65124
65125
65126       ac_ext=cpp
65127 ac_cpp='$CXXCPP $CPPFLAGS'
65128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65131
65132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65133 /* end confdefs.h.  */
65134 #include <math.h>
65135                       #ifdef HAVE_IEEEFP_H
65136                       #include <ieeefp.h>
65137                       #endif
65138
65139 int
65140 main ()
65141 {
65142  expf(0);
65143   ;
65144   return 0;
65145 }
65146 _ACEOF
65147 if ac_fn_cxx_try_compile "$LINENO"; then :
65148   glibcxx_cv_func_expf_use=yes
65149 else
65150   glibcxx_cv_func_expf_use=no
65151 fi
65152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65153       ac_ext=c
65154 ac_cpp='$CPP $CPPFLAGS'
65155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65158
65159
65160 fi
65161
65162   fi
65163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65164 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65165
65166   if test x$glibcxx_cv_func_expf_use = x"yes"; then
65167     for ac_func in expf
65168 do :
65169   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65170 if test "x$ac_cv_func_expf" = x""yes; then :
65171   cat >>confdefs.h <<_ACEOF
65172 #define HAVE_EXPF 1
65173 _ACEOF
65174
65175 fi
65176 done
65177
65178   else
65179
65180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65181 $as_echo_n "checking for _expf declaration... " >&6; }
65182   if test x${glibcxx_cv_func__expf_use+set} != xset; then
65183     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65184   $as_echo_n "(cached) " >&6
65185 else
65186
65187
65188       ac_ext=cpp
65189 ac_cpp='$CXXCPP $CPPFLAGS'
65190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65193
65194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65195 /* end confdefs.h.  */
65196 #include <math.h>
65197                       #ifdef HAVE_IEEEFP_H
65198                       #include <ieeefp.h>
65199                       #endif
65200
65201 int
65202 main ()
65203 {
65204  _expf(0);
65205   ;
65206   return 0;
65207 }
65208 _ACEOF
65209 if ac_fn_cxx_try_compile "$LINENO"; then :
65210   glibcxx_cv_func__expf_use=yes
65211 else
65212   glibcxx_cv_func__expf_use=no
65213 fi
65214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65215       ac_ext=c
65216 ac_cpp='$CPP $CPPFLAGS'
65217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65220
65221
65222 fi
65223
65224   fi
65225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65226 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65227
65228     if test x$glibcxx_cv_func__expf_use = x"yes"; then
65229       for ac_func in _expf
65230 do :
65231   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65232 if test "x$ac_cv_func__expf" = x""yes; then :
65233   cat >>confdefs.h <<_ACEOF
65234 #define HAVE__EXPF 1
65235 _ACEOF
65236
65237 fi
65238 done
65239
65240     fi
65241   fi
65242
65243
65244
65245
65246
65247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65248 $as_echo_n "checking for isnanf declaration... " >&6; }
65249   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65250     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65251   $as_echo_n "(cached) " >&6
65252 else
65253
65254
65255       ac_ext=cpp
65256 ac_cpp='$CXXCPP $CPPFLAGS'
65257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65260
65261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65262 /* end confdefs.h.  */
65263 #include <math.h>
65264                       #ifdef HAVE_IEEEFP_H
65265                       #include <ieeefp.h>
65266                       #endif
65267
65268 int
65269 main ()
65270 {
65271  isnanf(0);
65272   ;
65273   return 0;
65274 }
65275 _ACEOF
65276 if ac_fn_cxx_try_compile "$LINENO"; then :
65277   glibcxx_cv_func_isnanf_use=yes
65278 else
65279   glibcxx_cv_func_isnanf_use=no
65280 fi
65281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65282       ac_ext=c
65283 ac_cpp='$CPP $CPPFLAGS'
65284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65287
65288
65289 fi
65290
65291   fi
65292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65293 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65294
65295   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65296     for ac_func in isnanf
65297 do :
65298   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65299 if test "x$ac_cv_func_isnanf" = x""yes; then :
65300   cat >>confdefs.h <<_ACEOF
65301 #define HAVE_ISNANF 1
65302 _ACEOF
65303
65304 fi
65305 done
65306
65307   else
65308
65309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65310 $as_echo_n "checking for _isnanf declaration... " >&6; }
65311   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65312     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65313   $as_echo_n "(cached) " >&6
65314 else
65315
65316
65317       ac_ext=cpp
65318 ac_cpp='$CXXCPP $CPPFLAGS'
65319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65322
65323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65324 /* end confdefs.h.  */
65325 #include <math.h>
65326                       #ifdef HAVE_IEEEFP_H
65327                       #include <ieeefp.h>
65328                       #endif
65329
65330 int
65331 main ()
65332 {
65333  _isnanf(0);
65334   ;
65335   return 0;
65336 }
65337 _ACEOF
65338 if ac_fn_cxx_try_compile "$LINENO"; then :
65339   glibcxx_cv_func__isnanf_use=yes
65340 else
65341   glibcxx_cv_func__isnanf_use=no
65342 fi
65343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65344       ac_ext=c
65345 ac_cpp='$CPP $CPPFLAGS'
65346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65349
65350
65351 fi
65352
65353   fi
65354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65355 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65356
65357     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65358       for ac_func in _isnanf
65359 do :
65360   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65361 if test "x$ac_cv_func__isnanf" = x""yes; then :
65362   cat >>confdefs.h <<_ACEOF
65363 #define HAVE__ISNANF 1
65364 _ACEOF
65365
65366 fi
65367 done
65368
65369     fi
65370   fi
65371
65372
65373
65374
65375
65376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65377 $as_echo_n "checking for isinff declaration... " >&6; }
65378   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65379     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65380   $as_echo_n "(cached) " >&6
65381 else
65382
65383
65384       ac_ext=cpp
65385 ac_cpp='$CXXCPP $CPPFLAGS'
65386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65389
65390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65391 /* end confdefs.h.  */
65392 #include <math.h>
65393                       #ifdef HAVE_IEEEFP_H
65394                       #include <ieeefp.h>
65395                       #endif
65396
65397 int
65398 main ()
65399 {
65400  isinff(0);
65401   ;
65402   return 0;
65403 }
65404 _ACEOF
65405 if ac_fn_cxx_try_compile "$LINENO"; then :
65406   glibcxx_cv_func_isinff_use=yes
65407 else
65408   glibcxx_cv_func_isinff_use=no
65409 fi
65410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65411       ac_ext=c
65412 ac_cpp='$CPP $CPPFLAGS'
65413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65416
65417
65418 fi
65419
65420   fi
65421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65422 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65423
65424   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65425     for ac_func in isinff
65426 do :
65427   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65428 if test "x$ac_cv_func_isinff" = x""yes; then :
65429   cat >>confdefs.h <<_ACEOF
65430 #define HAVE_ISINFF 1
65431 _ACEOF
65432
65433 fi
65434 done
65435
65436   else
65437
65438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65439 $as_echo_n "checking for _isinff declaration... " >&6; }
65440   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65441     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65442   $as_echo_n "(cached) " >&6
65443 else
65444
65445
65446       ac_ext=cpp
65447 ac_cpp='$CXXCPP $CPPFLAGS'
65448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65451
65452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65453 /* end confdefs.h.  */
65454 #include <math.h>
65455                       #ifdef HAVE_IEEEFP_H
65456                       #include <ieeefp.h>
65457                       #endif
65458
65459 int
65460 main ()
65461 {
65462  _isinff(0);
65463   ;
65464   return 0;
65465 }
65466 _ACEOF
65467 if ac_fn_cxx_try_compile "$LINENO"; then :
65468   glibcxx_cv_func__isinff_use=yes
65469 else
65470   glibcxx_cv_func__isinff_use=no
65471 fi
65472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65473       ac_ext=c
65474 ac_cpp='$CPP $CPPFLAGS'
65475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65478
65479
65480 fi
65481
65482   fi
65483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65484 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65485
65486     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65487       for ac_func in _isinff
65488 do :
65489   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65490 if test "x$ac_cv_func__isinff" = x""yes; then :
65491   cat >>confdefs.h <<_ACEOF
65492 #define HAVE__ISINFF 1
65493 _ACEOF
65494
65495 fi
65496 done
65497
65498     fi
65499   fi
65500
65501
65502
65503
65504
65505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65506 $as_echo_n "checking for atan2f declaration... " >&6; }
65507   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65508     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65509   $as_echo_n "(cached) " >&6
65510 else
65511
65512
65513       ac_ext=cpp
65514 ac_cpp='$CXXCPP $CPPFLAGS'
65515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65518
65519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65520 /* end confdefs.h.  */
65521 #include <math.h>
65522 int
65523 main ()
65524 {
65525  atan2f(0, 0);
65526   ;
65527   return 0;
65528 }
65529 _ACEOF
65530 if ac_fn_cxx_try_compile "$LINENO"; then :
65531   glibcxx_cv_func_atan2f_use=yes
65532 else
65533   glibcxx_cv_func_atan2f_use=no
65534 fi
65535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65536       ac_ext=c
65537 ac_cpp='$CPP $CPPFLAGS'
65538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65541
65542
65543 fi
65544
65545   fi
65546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65547 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65548
65549   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65550     for ac_func in atan2f
65551 do :
65552   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65553 if test "x$ac_cv_func_atan2f" = x""yes; then :
65554   cat >>confdefs.h <<_ACEOF
65555 #define HAVE_ATAN2F 1
65556 _ACEOF
65557
65558 fi
65559 done
65560
65561   else
65562
65563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65564 $as_echo_n "checking for _atan2f declaration... " >&6; }
65565   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65566     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65567   $as_echo_n "(cached) " >&6
65568 else
65569
65570
65571       ac_ext=cpp
65572 ac_cpp='$CXXCPP $CPPFLAGS'
65573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65576
65577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65578 /* end confdefs.h.  */
65579 #include <math.h>
65580 int
65581 main ()
65582 {
65583  _atan2f(0, 0);
65584   ;
65585   return 0;
65586 }
65587 _ACEOF
65588 if ac_fn_cxx_try_compile "$LINENO"; then :
65589   glibcxx_cv_func__atan2f_use=yes
65590 else
65591   glibcxx_cv_func__atan2f_use=no
65592 fi
65593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65594       ac_ext=c
65595 ac_cpp='$CPP $CPPFLAGS'
65596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65599
65600
65601 fi
65602
65603   fi
65604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65605 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65606
65607     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65608       for ac_func in _atan2f
65609 do :
65610   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65611 if test "x$ac_cv_func__atan2f" = x""yes; then :
65612   cat >>confdefs.h <<_ACEOF
65613 #define HAVE__ATAN2F 1
65614 _ACEOF
65615
65616 fi
65617 done
65618
65619     fi
65620   fi
65621
65622
65623
65624
65625
65626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65627 $as_echo_n "checking for fabsf declaration... " >&6; }
65628   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65629     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65630   $as_echo_n "(cached) " >&6
65631 else
65632
65633
65634       ac_ext=cpp
65635 ac_cpp='$CXXCPP $CPPFLAGS'
65636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65639
65640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65641 /* end confdefs.h.  */
65642 #include <math.h>
65643                       #ifdef HAVE_IEEEFP_H
65644                       #include <ieeefp.h>
65645                       #endif
65646
65647 int
65648 main ()
65649 {
65650  fabsf(0);
65651   ;
65652   return 0;
65653 }
65654 _ACEOF
65655 if ac_fn_cxx_try_compile "$LINENO"; then :
65656   glibcxx_cv_func_fabsf_use=yes
65657 else
65658   glibcxx_cv_func_fabsf_use=no
65659 fi
65660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65661       ac_ext=c
65662 ac_cpp='$CPP $CPPFLAGS'
65663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65666
65667
65668 fi
65669
65670   fi
65671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65672 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65673
65674   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65675     for ac_func in fabsf
65676 do :
65677   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65678 if test "x$ac_cv_func_fabsf" = x""yes; then :
65679   cat >>confdefs.h <<_ACEOF
65680 #define HAVE_FABSF 1
65681 _ACEOF
65682
65683 fi
65684 done
65685
65686   else
65687
65688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65689 $as_echo_n "checking for _fabsf declaration... " >&6; }
65690   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65691     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65692   $as_echo_n "(cached) " >&6
65693 else
65694
65695
65696       ac_ext=cpp
65697 ac_cpp='$CXXCPP $CPPFLAGS'
65698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65701
65702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65703 /* end confdefs.h.  */
65704 #include <math.h>
65705                       #ifdef HAVE_IEEEFP_H
65706                       #include <ieeefp.h>
65707                       #endif
65708
65709 int
65710 main ()
65711 {
65712  _fabsf(0);
65713   ;
65714   return 0;
65715 }
65716 _ACEOF
65717 if ac_fn_cxx_try_compile "$LINENO"; then :
65718   glibcxx_cv_func__fabsf_use=yes
65719 else
65720   glibcxx_cv_func__fabsf_use=no
65721 fi
65722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65723       ac_ext=c
65724 ac_cpp='$CPP $CPPFLAGS'
65725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65728
65729
65730 fi
65731
65732   fi
65733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65734 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65735
65736     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65737       for ac_func in _fabsf
65738 do :
65739   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65740 if test "x$ac_cv_func__fabsf" = x""yes; then :
65741   cat >>confdefs.h <<_ACEOF
65742 #define HAVE__FABSF 1
65743 _ACEOF
65744
65745 fi
65746 done
65747
65748     fi
65749   fi
65750
65751
65752
65753
65754
65755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65756 $as_echo_n "checking for fmodf declaration... " >&6; }
65757   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65758     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65759   $as_echo_n "(cached) " >&6
65760 else
65761
65762
65763       ac_ext=cpp
65764 ac_cpp='$CXXCPP $CPPFLAGS'
65765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65768
65769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65770 /* end confdefs.h.  */
65771 #include <math.h>
65772 int
65773 main ()
65774 {
65775  fmodf(0, 0);
65776   ;
65777   return 0;
65778 }
65779 _ACEOF
65780 if ac_fn_cxx_try_compile "$LINENO"; then :
65781   glibcxx_cv_func_fmodf_use=yes
65782 else
65783   glibcxx_cv_func_fmodf_use=no
65784 fi
65785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65786       ac_ext=c
65787 ac_cpp='$CPP $CPPFLAGS'
65788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65791
65792
65793 fi
65794
65795   fi
65796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65797 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65798
65799   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65800     for ac_func in fmodf
65801 do :
65802   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65803 if test "x$ac_cv_func_fmodf" = x""yes; then :
65804   cat >>confdefs.h <<_ACEOF
65805 #define HAVE_FMODF 1
65806 _ACEOF
65807
65808 fi
65809 done
65810
65811   else
65812
65813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65814 $as_echo_n "checking for _fmodf declaration... " >&6; }
65815   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65816     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65817   $as_echo_n "(cached) " >&6
65818 else
65819
65820
65821       ac_ext=cpp
65822 ac_cpp='$CXXCPP $CPPFLAGS'
65823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65826
65827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65828 /* end confdefs.h.  */
65829 #include <math.h>
65830 int
65831 main ()
65832 {
65833  _fmodf(0, 0);
65834   ;
65835   return 0;
65836 }
65837 _ACEOF
65838 if ac_fn_cxx_try_compile "$LINENO"; then :
65839   glibcxx_cv_func__fmodf_use=yes
65840 else
65841   glibcxx_cv_func__fmodf_use=no
65842 fi
65843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65844       ac_ext=c
65845 ac_cpp='$CPP $CPPFLAGS'
65846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65849
65850
65851 fi
65852
65853   fi
65854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65855 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65856
65857     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65858       for ac_func in _fmodf
65859 do :
65860   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65861 if test "x$ac_cv_func__fmodf" = x""yes; then :
65862   cat >>confdefs.h <<_ACEOF
65863 #define HAVE__FMODF 1
65864 _ACEOF
65865
65866 fi
65867 done
65868
65869     fi
65870   fi
65871
65872
65873
65874
65875
65876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65877 $as_echo_n "checking for frexpf declaration... " >&6; }
65878   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65879     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65880   $as_echo_n "(cached) " >&6
65881 else
65882
65883
65884       ac_ext=cpp
65885 ac_cpp='$CXXCPP $CPPFLAGS'
65886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65889
65890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65891 /* end confdefs.h.  */
65892 #include <math.h>
65893 int
65894 main ()
65895 {
65896  frexpf(0, 0);
65897   ;
65898   return 0;
65899 }
65900 _ACEOF
65901 if ac_fn_cxx_try_compile "$LINENO"; then :
65902   glibcxx_cv_func_frexpf_use=yes
65903 else
65904   glibcxx_cv_func_frexpf_use=no
65905 fi
65906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65907       ac_ext=c
65908 ac_cpp='$CPP $CPPFLAGS'
65909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65912
65913
65914 fi
65915
65916   fi
65917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65918 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65919
65920   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65921     for ac_func in frexpf
65922 do :
65923   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65924 if test "x$ac_cv_func_frexpf" = x""yes; then :
65925   cat >>confdefs.h <<_ACEOF
65926 #define HAVE_FREXPF 1
65927 _ACEOF
65928
65929 fi
65930 done
65931
65932   else
65933
65934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65935 $as_echo_n "checking for _frexpf declaration... " >&6; }
65936   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65937     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65938   $as_echo_n "(cached) " >&6
65939 else
65940
65941
65942       ac_ext=cpp
65943 ac_cpp='$CXXCPP $CPPFLAGS'
65944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65947
65948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65949 /* end confdefs.h.  */
65950 #include <math.h>
65951 int
65952 main ()
65953 {
65954  _frexpf(0, 0);
65955   ;
65956   return 0;
65957 }
65958 _ACEOF
65959 if ac_fn_cxx_try_compile "$LINENO"; then :
65960   glibcxx_cv_func__frexpf_use=yes
65961 else
65962   glibcxx_cv_func__frexpf_use=no
65963 fi
65964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65965       ac_ext=c
65966 ac_cpp='$CPP $CPPFLAGS'
65967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65970
65971
65972 fi
65973
65974   fi
65975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65976 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65977
65978     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65979       for ac_func in _frexpf
65980 do :
65981   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65982 if test "x$ac_cv_func__frexpf" = x""yes; then :
65983   cat >>confdefs.h <<_ACEOF
65984 #define HAVE__FREXPF 1
65985 _ACEOF
65986
65987 fi
65988 done
65989
65990     fi
65991   fi
65992
65993
65994
65995
65996
65997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65998 $as_echo_n "checking for hypotf declaration... " >&6; }
65999   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66000     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
66001   $as_echo_n "(cached) " >&6
66002 else
66003
66004
66005       ac_ext=cpp
66006 ac_cpp='$CXXCPP $CPPFLAGS'
66007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66010
66011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66012 /* end confdefs.h.  */
66013 #include <math.h>
66014 int
66015 main ()
66016 {
66017  hypotf(0, 0);
66018   ;
66019   return 0;
66020 }
66021 _ACEOF
66022 if ac_fn_cxx_try_compile "$LINENO"; then :
66023   glibcxx_cv_func_hypotf_use=yes
66024 else
66025   glibcxx_cv_func_hypotf_use=no
66026 fi
66027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66028       ac_ext=c
66029 ac_cpp='$CPP $CPPFLAGS'
66030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66033
66034
66035 fi
66036
66037   fi
66038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
66039 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
66040
66041   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
66042     for ac_func in hypotf
66043 do :
66044   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
66045 if test "x$ac_cv_func_hypotf" = x""yes; then :
66046   cat >>confdefs.h <<_ACEOF
66047 #define HAVE_HYPOTF 1
66048 _ACEOF
66049
66050 fi
66051 done
66052
66053   else
66054
66055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
66056 $as_echo_n "checking for _hypotf declaration... " >&6; }
66057   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
66058     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
66059   $as_echo_n "(cached) " >&6
66060 else
66061
66062
66063       ac_ext=cpp
66064 ac_cpp='$CXXCPP $CPPFLAGS'
66065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66068
66069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66070 /* end confdefs.h.  */
66071 #include <math.h>
66072 int
66073 main ()
66074 {
66075  _hypotf(0, 0);
66076   ;
66077   return 0;
66078 }
66079 _ACEOF
66080 if ac_fn_cxx_try_compile "$LINENO"; then :
66081   glibcxx_cv_func__hypotf_use=yes
66082 else
66083   glibcxx_cv_func__hypotf_use=no
66084 fi
66085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66086       ac_ext=c
66087 ac_cpp='$CPP $CPPFLAGS'
66088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66091
66092
66093 fi
66094
66095   fi
66096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66097 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66098
66099     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66100       for ac_func in _hypotf
66101 do :
66102   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66103 if test "x$ac_cv_func__hypotf" = x""yes; then :
66104   cat >>confdefs.h <<_ACEOF
66105 #define HAVE__HYPOTF 1
66106 _ACEOF
66107
66108 fi
66109 done
66110
66111     fi
66112   fi
66113
66114
66115
66116
66117
66118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66119 $as_echo_n "checking for ldexpf declaration... " >&6; }
66120   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66121     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66122   $as_echo_n "(cached) " >&6
66123 else
66124
66125
66126       ac_ext=cpp
66127 ac_cpp='$CXXCPP $CPPFLAGS'
66128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66131
66132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66133 /* end confdefs.h.  */
66134 #include <math.h>
66135 int
66136 main ()
66137 {
66138  ldexpf(0, 0);
66139   ;
66140   return 0;
66141 }
66142 _ACEOF
66143 if ac_fn_cxx_try_compile "$LINENO"; then :
66144   glibcxx_cv_func_ldexpf_use=yes
66145 else
66146   glibcxx_cv_func_ldexpf_use=no
66147 fi
66148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66149       ac_ext=c
66150 ac_cpp='$CPP $CPPFLAGS'
66151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66154
66155
66156 fi
66157
66158   fi
66159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66160 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66161
66162   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66163     for ac_func in ldexpf
66164 do :
66165   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66166 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66167   cat >>confdefs.h <<_ACEOF
66168 #define HAVE_LDEXPF 1
66169 _ACEOF
66170
66171 fi
66172 done
66173
66174   else
66175
66176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66177 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66178   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66179     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66180   $as_echo_n "(cached) " >&6
66181 else
66182
66183
66184       ac_ext=cpp
66185 ac_cpp='$CXXCPP $CPPFLAGS'
66186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66189
66190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66191 /* end confdefs.h.  */
66192 #include <math.h>
66193 int
66194 main ()
66195 {
66196  _ldexpf(0, 0);
66197   ;
66198   return 0;
66199 }
66200 _ACEOF
66201 if ac_fn_cxx_try_compile "$LINENO"; then :
66202   glibcxx_cv_func__ldexpf_use=yes
66203 else
66204   glibcxx_cv_func__ldexpf_use=no
66205 fi
66206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66207       ac_ext=c
66208 ac_cpp='$CPP $CPPFLAGS'
66209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66212
66213
66214 fi
66215
66216   fi
66217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66218 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66219
66220     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66221       for ac_func in _ldexpf
66222 do :
66223   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66224 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66225   cat >>confdefs.h <<_ACEOF
66226 #define HAVE__LDEXPF 1
66227 _ACEOF
66228
66229 fi
66230 done
66231
66232     fi
66233   fi
66234
66235
66236
66237
66238
66239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66240 $as_echo_n "checking for logf declaration... " >&6; }
66241   if test x${glibcxx_cv_func_logf_use+set} != xset; then
66242     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66243   $as_echo_n "(cached) " >&6
66244 else
66245
66246
66247       ac_ext=cpp
66248 ac_cpp='$CXXCPP $CPPFLAGS'
66249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66252
66253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66254 /* end confdefs.h.  */
66255 #include <math.h>
66256                       #ifdef HAVE_IEEEFP_H
66257                       #include <ieeefp.h>
66258                       #endif
66259
66260 int
66261 main ()
66262 {
66263  logf(0);
66264   ;
66265   return 0;
66266 }
66267 _ACEOF
66268 if ac_fn_cxx_try_compile "$LINENO"; then :
66269   glibcxx_cv_func_logf_use=yes
66270 else
66271   glibcxx_cv_func_logf_use=no
66272 fi
66273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66274       ac_ext=c
66275 ac_cpp='$CPP $CPPFLAGS'
66276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66279
66280
66281 fi
66282
66283   fi
66284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66285 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66286
66287   if test x$glibcxx_cv_func_logf_use = x"yes"; then
66288     for ac_func in logf
66289 do :
66290   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66291 if test "x$ac_cv_func_logf" = x""yes; then :
66292   cat >>confdefs.h <<_ACEOF
66293 #define HAVE_LOGF 1
66294 _ACEOF
66295
66296 fi
66297 done
66298
66299   else
66300
66301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66302 $as_echo_n "checking for _logf declaration... " >&6; }
66303   if test x${glibcxx_cv_func__logf_use+set} != xset; then
66304     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66305   $as_echo_n "(cached) " >&6
66306 else
66307
66308
66309       ac_ext=cpp
66310 ac_cpp='$CXXCPP $CPPFLAGS'
66311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66314
66315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66316 /* end confdefs.h.  */
66317 #include <math.h>
66318                       #ifdef HAVE_IEEEFP_H
66319                       #include <ieeefp.h>
66320                       #endif
66321
66322 int
66323 main ()
66324 {
66325  _logf(0);
66326   ;
66327   return 0;
66328 }
66329 _ACEOF
66330 if ac_fn_cxx_try_compile "$LINENO"; then :
66331   glibcxx_cv_func__logf_use=yes
66332 else
66333   glibcxx_cv_func__logf_use=no
66334 fi
66335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66336       ac_ext=c
66337 ac_cpp='$CPP $CPPFLAGS'
66338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66341
66342
66343 fi
66344
66345   fi
66346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66347 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66348
66349     if test x$glibcxx_cv_func__logf_use = x"yes"; then
66350       for ac_func in _logf
66351 do :
66352   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66353 if test "x$ac_cv_func__logf" = x""yes; then :
66354   cat >>confdefs.h <<_ACEOF
66355 #define HAVE__LOGF 1
66356 _ACEOF
66357
66358 fi
66359 done
66360
66361     fi
66362   fi
66363
66364
66365
66366
66367
66368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66369 $as_echo_n "checking for log10f declaration... " >&6; }
66370   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66371     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66372   $as_echo_n "(cached) " >&6
66373 else
66374
66375
66376       ac_ext=cpp
66377 ac_cpp='$CXXCPP $CPPFLAGS'
66378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66381
66382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66383 /* end confdefs.h.  */
66384 #include <math.h>
66385                       #ifdef HAVE_IEEEFP_H
66386                       #include <ieeefp.h>
66387                       #endif
66388
66389 int
66390 main ()
66391 {
66392  log10f(0);
66393   ;
66394   return 0;
66395 }
66396 _ACEOF
66397 if ac_fn_cxx_try_compile "$LINENO"; then :
66398   glibcxx_cv_func_log10f_use=yes
66399 else
66400   glibcxx_cv_func_log10f_use=no
66401 fi
66402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66403       ac_ext=c
66404 ac_cpp='$CPP $CPPFLAGS'
66405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66408
66409
66410 fi
66411
66412   fi
66413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66414 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66415
66416   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66417     for ac_func in log10f
66418 do :
66419   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66420 if test "x$ac_cv_func_log10f" = x""yes; then :
66421   cat >>confdefs.h <<_ACEOF
66422 #define HAVE_LOG10F 1
66423 _ACEOF
66424
66425 fi
66426 done
66427
66428   else
66429
66430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66431 $as_echo_n "checking for _log10f declaration... " >&6; }
66432   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66433     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66434   $as_echo_n "(cached) " >&6
66435 else
66436
66437
66438       ac_ext=cpp
66439 ac_cpp='$CXXCPP $CPPFLAGS'
66440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66443
66444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66445 /* end confdefs.h.  */
66446 #include <math.h>
66447                       #ifdef HAVE_IEEEFP_H
66448                       #include <ieeefp.h>
66449                       #endif
66450
66451 int
66452 main ()
66453 {
66454  _log10f(0);
66455   ;
66456   return 0;
66457 }
66458 _ACEOF
66459 if ac_fn_cxx_try_compile "$LINENO"; then :
66460   glibcxx_cv_func__log10f_use=yes
66461 else
66462   glibcxx_cv_func__log10f_use=no
66463 fi
66464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66465       ac_ext=c
66466 ac_cpp='$CPP $CPPFLAGS'
66467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66470
66471
66472 fi
66473
66474   fi
66475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66476 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66477
66478     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66479       for ac_func in _log10f
66480 do :
66481   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66482 if test "x$ac_cv_func__log10f" = x""yes; then :
66483   cat >>confdefs.h <<_ACEOF
66484 #define HAVE__LOG10F 1
66485 _ACEOF
66486
66487 fi
66488 done
66489
66490     fi
66491   fi
66492
66493
66494
66495
66496
66497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66498 $as_echo_n "checking for modff declaration... " >&6; }
66499   if test x${glibcxx_cv_func_modff_use+set} != xset; then
66500     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66501   $as_echo_n "(cached) " >&6
66502 else
66503
66504
66505       ac_ext=cpp
66506 ac_cpp='$CXXCPP $CPPFLAGS'
66507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66510
66511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66512 /* end confdefs.h.  */
66513 #include <math.h>
66514 int
66515 main ()
66516 {
66517  modff(0, 0);
66518   ;
66519   return 0;
66520 }
66521 _ACEOF
66522 if ac_fn_cxx_try_compile "$LINENO"; then :
66523   glibcxx_cv_func_modff_use=yes
66524 else
66525   glibcxx_cv_func_modff_use=no
66526 fi
66527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66528       ac_ext=c
66529 ac_cpp='$CPP $CPPFLAGS'
66530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66533
66534
66535 fi
66536
66537   fi
66538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66539 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66540
66541   if test x$glibcxx_cv_func_modff_use = x"yes"; then
66542     for ac_func in modff
66543 do :
66544   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66545 if test "x$ac_cv_func_modff" = x""yes; then :
66546   cat >>confdefs.h <<_ACEOF
66547 #define HAVE_MODFF 1
66548 _ACEOF
66549
66550 fi
66551 done
66552
66553   else
66554
66555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66556 $as_echo_n "checking for _modff declaration... " >&6; }
66557   if test x${glibcxx_cv_func__modff_use+set} != xset; then
66558     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66559   $as_echo_n "(cached) " >&6
66560 else
66561
66562
66563       ac_ext=cpp
66564 ac_cpp='$CXXCPP $CPPFLAGS'
66565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66568
66569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66570 /* end confdefs.h.  */
66571 #include <math.h>
66572 int
66573 main ()
66574 {
66575  _modff(0, 0);
66576   ;
66577   return 0;
66578 }
66579 _ACEOF
66580 if ac_fn_cxx_try_compile "$LINENO"; then :
66581   glibcxx_cv_func__modff_use=yes
66582 else
66583   glibcxx_cv_func__modff_use=no
66584 fi
66585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66586       ac_ext=c
66587 ac_cpp='$CPP $CPPFLAGS'
66588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66591
66592
66593 fi
66594
66595   fi
66596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66597 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66598
66599     if test x$glibcxx_cv_func__modff_use = x"yes"; then
66600       for ac_func in _modff
66601 do :
66602   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66603 if test "x$ac_cv_func__modff" = x""yes; then :
66604   cat >>confdefs.h <<_ACEOF
66605 #define HAVE__MODFF 1
66606 _ACEOF
66607
66608 fi
66609 done
66610
66611     fi
66612   fi
66613
66614
66615
66616
66617
66618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66619 $as_echo_n "checking for modf declaration... " >&6; }
66620   if test x${glibcxx_cv_func_modf_use+set} != xset; then
66621     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66622   $as_echo_n "(cached) " >&6
66623 else
66624
66625
66626       ac_ext=cpp
66627 ac_cpp='$CXXCPP $CPPFLAGS'
66628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66631
66632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66633 /* end confdefs.h.  */
66634 #include <math.h>
66635 int
66636 main ()
66637 {
66638  modf(0, 0);
66639   ;
66640   return 0;
66641 }
66642 _ACEOF
66643 if ac_fn_cxx_try_compile "$LINENO"; then :
66644   glibcxx_cv_func_modf_use=yes
66645 else
66646   glibcxx_cv_func_modf_use=no
66647 fi
66648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66649       ac_ext=c
66650 ac_cpp='$CPP $CPPFLAGS'
66651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66654
66655
66656 fi
66657
66658   fi
66659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66660 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66661
66662   if test x$glibcxx_cv_func_modf_use = x"yes"; then
66663     for ac_func in modf
66664 do :
66665   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66666 if test "x$ac_cv_func_modf" = x""yes; then :
66667   cat >>confdefs.h <<_ACEOF
66668 #define HAVE_MODF 1
66669 _ACEOF
66670
66671 fi
66672 done
66673
66674   else
66675
66676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66677 $as_echo_n "checking for _modf declaration... " >&6; }
66678   if test x${glibcxx_cv_func__modf_use+set} != xset; then
66679     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66680   $as_echo_n "(cached) " >&6
66681 else
66682
66683
66684       ac_ext=cpp
66685 ac_cpp='$CXXCPP $CPPFLAGS'
66686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66689
66690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66691 /* end confdefs.h.  */
66692 #include <math.h>
66693 int
66694 main ()
66695 {
66696  _modf(0, 0);
66697   ;
66698   return 0;
66699 }
66700 _ACEOF
66701 if ac_fn_cxx_try_compile "$LINENO"; then :
66702   glibcxx_cv_func__modf_use=yes
66703 else
66704   glibcxx_cv_func__modf_use=no
66705 fi
66706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66707       ac_ext=c
66708 ac_cpp='$CPP $CPPFLAGS'
66709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66712
66713
66714 fi
66715
66716   fi
66717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66718 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66719
66720     if test x$glibcxx_cv_func__modf_use = x"yes"; then
66721       for ac_func in _modf
66722 do :
66723   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66724 if test "x$ac_cv_func__modf" = x""yes; then :
66725   cat >>confdefs.h <<_ACEOF
66726 #define HAVE__MODF 1
66727 _ACEOF
66728
66729 fi
66730 done
66731
66732     fi
66733   fi
66734
66735
66736
66737
66738
66739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66740 $as_echo_n "checking for powf declaration... " >&6; }
66741   if test x${glibcxx_cv_func_powf_use+set} != xset; then
66742     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66743   $as_echo_n "(cached) " >&6
66744 else
66745
66746
66747       ac_ext=cpp
66748 ac_cpp='$CXXCPP $CPPFLAGS'
66749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66752
66753       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66754 /* end confdefs.h.  */
66755 #include <math.h>
66756 int
66757 main ()
66758 {
66759  powf(0, 0);
66760   ;
66761   return 0;
66762 }
66763 _ACEOF
66764 if ac_fn_cxx_try_compile "$LINENO"; then :
66765   glibcxx_cv_func_powf_use=yes
66766 else
66767   glibcxx_cv_func_powf_use=no
66768 fi
66769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66770       ac_ext=c
66771 ac_cpp='$CPP $CPPFLAGS'
66772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66775
66776
66777 fi
66778
66779   fi
66780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66781 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66782
66783   if test x$glibcxx_cv_func_powf_use = x"yes"; then
66784     for ac_func in powf
66785 do :
66786   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66787 if test "x$ac_cv_func_powf" = x""yes; then :
66788   cat >>confdefs.h <<_ACEOF
66789 #define HAVE_POWF 1
66790 _ACEOF
66791
66792 fi
66793 done
66794
66795   else
66796
66797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66798 $as_echo_n "checking for _powf declaration... " >&6; }
66799   if test x${glibcxx_cv_func__powf_use+set} != xset; then
66800     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66801   $as_echo_n "(cached) " >&6
66802 else
66803
66804
66805       ac_ext=cpp
66806 ac_cpp='$CXXCPP $CPPFLAGS'
66807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66810
66811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66812 /* end confdefs.h.  */
66813 #include <math.h>
66814 int
66815 main ()
66816 {
66817  _powf(0, 0);
66818   ;
66819   return 0;
66820 }
66821 _ACEOF
66822 if ac_fn_cxx_try_compile "$LINENO"; then :
66823   glibcxx_cv_func__powf_use=yes
66824 else
66825   glibcxx_cv_func__powf_use=no
66826 fi
66827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66828       ac_ext=c
66829 ac_cpp='$CPP $CPPFLAGS'
66830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66833
66834
66835 fi
66836
66837   fi
66838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66839 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66840
66841     if test x$glibcxx_cv_func__powf_use = x"yes"; then
66842       for ac_func in _powf
66843 do :
66844   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66845 if test "x$ac_cv_func__powf" = x""yes; then :
66846   cat >>confdefs.h <<_ACEOF
66847 #define HAVE__POWF 1
66848 _ACEOF
66849
66850 fi
66851 done
66852
66853     fi
66854   fi
66855
66856
66857
66858
66859
66860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66861 $as_echo_n "checking for sqrtf declaration... " >&6; }
66862   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66863     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66864   $as_echo_n "(cached) " >&6
66865 else
66866
66867
66868       ac_ext=cpp
66869 ac_cpp='$CXXCPP $CPPFLAGS'
66870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66873
66874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66875 /* end confdefs.h.  */
66876 #include <math.h>
66877                       #ifdef HAVE_IEEEFP_H
66878                       #include <ieeefp.h>
66879                       #endif
66880
66881 int
66882 main ()
66883 {
66884  sqrtf(0);
66885   ;
66886   return 0;
66887 }
66888 _ACEOF
66889 if ac_fn_cxx_try_compile "$LINENO"; then :
66890   glibcxx_cv_func_sqrtf_use=yes
66891 else
66892   glibcxx_cv_func_sqrtf_use=no
66893 fi
66894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66895       ac_ext=c
66896 ac_cpp='$CPP $CPPFLAGS'
66897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66900
66901
66902 fi
66903
66904   fi
66905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66906 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66907
66908   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66909     for ac_func in sqrtf
66910 do :
66911   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66912 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66913   cat >>confdefs.h <<_ACEOF
66914 #define HAVE_SQRTF 1
66915 _ACEOF
66916
66917 fi
66918 done
66919
66920   else
66921
66922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66923 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66924   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66925     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66926   $as_echo_n "(cached) " >&6
66927 else
66928
66929
66930       ac_ext=cpp
66931 ac_cpp='$CXXCPP $CPPFLAGS'
66932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66935
66936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66937 /* end confdefs.h.  */
66938 #include <math.h>
66939                       #ifdef HAVE_IEEEFP_H
66940                       #include <ieeefp.h>
66941                       #endif
66942
66943 int
66944 main ()
66945 {
66946  _sqrtf(0);
66947   ;
66948   return 0;
66949 }
66950 _ACEOF
66951 if ac_fn_cxx_try_compile "$LINENO"; then :
66952   glibcxx_cv_func__sqrtf_use=yes
66953 else
66954   glibcxx_cv_func__sqrtf_use=no
66955 fi
66956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66957       ac_ext=c
66958 ac_cpp='$CPP $CPPFLAGS'
66959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66962
66963
66964 fi
66965
66966   fi
66967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66968 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66969
66970     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66971       for ac_func in _sqrtf
66972 do :
66973   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66974 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66975   cat >>confdefs.h <<_ACEOF
66976 #define HAVE__SQRTF 1
66977 _ACEOF
66978
66979 fi
66980 done
66981
66982     fi
66983   fi
66984
66985
66986
66987
66988
66989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66990 $as_echo_n "checking for sincosf declaration... " >&6; }
66991   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66992     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66993   $as_echo_n "(cached) " >&6
66994 else
66995
66996
66997       ac_ext=cpp
66998 ac_cpp='$CXXCPP $CPPFLAGS'
66999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67002
67003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67004 /* end confdefs.h.  */
67005 #include <math.h>
67006 int
67007 main ()
67008 {
67009  sincosf(0, 0, 0);
67010   ;
67011   return 0;
67012 }
67013 _ACEOF
67014 if ac_fn_cxx_try_compile "$LINENO"; then :
67015   glibcxx_cv_func_sincosf_use=yes
67016 else
67017   glibcxx_cv_func_sincosf_use=no
67018 fi
67019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67020       ac_ext=c
67021 ac_cpp='$CPP $CPPFLAGS'
67022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67025
67026
67027 fi
67028
67029   fi
67030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67031 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67032
67033   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67034     for ac_func in sincosf
67035 do :
67036   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67037 if test "x$ac_cv_func_sincosf" = x""yes; then :
67038   cat >>confdefs.h <<_ACEOF
67039 #define HAVE_SINCOSF 1
67040 _ACEOF
67041
67042 fi
67043 done
67044
67045   else
67046
67047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
67048 $as_echo_n "checking for _sincosf declaration... " >&6; }
67049   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
67050     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
67051   $as_echo_n "(cached) " >&6
67052 else
67053
67054
67055       ac_ext=cpp
67056 ac_cpp='$CXXCPP $CPPFLAGS'
67057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67060
67061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67062 /* end confdefs.h.  */
67063 #include <math.h>
67064 int
67065 main ()
67066 {
67067  _sincosf(0, 0, 0);
67068   ;
67069   return 0;
67070 }
67071 _ACEOF
67072 if ac_fn_cxx_try_compile "$LINENO"; then :
67073   glibcxx_cv_func__sincosf_use=yes
67074 else
67075   glibcxx_cv_func__sincosf_use=no
67076 fi
67077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67078       ac_ext=c
67079 ac_cpp='$CPP $CPPFLAGS'
67080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67083
67084
67085 fi
67086
67087   fi
67088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67089 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67090
67091     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67092       for ac_func in _sincosf
67093 do :
67094   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67095 if test "x$ac_cv_func__sincosf" = x""yes; then :
67096   cat >>confdefs.h <<_ACEOF
67097 #define HAVE__SINCOSF 1
67098 _ACEOF
67099
67100 fi
67101 done
67102
67103     fi
67104   fi
67105
67106
67107
67108
67109
67110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67111 $as_echo_n "checking for finitef declaration... " >&6; }
67112   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67113     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67114   $as_echo_n "(cached) " >&6
67115 else
67116
67117
67118       ac_ext=cpp
67119 ac_cpp='$CXXCPP $CPPFLAGS'
67120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67123
67124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67125 /* end confdefs.h.  */
67126 #include <math.h>
67127                       #ifdef HAVE_IEEEFP_H
67128                       #include <ieeefp.h>
67129                       #endif
67130
67131 int
67132 main ()
67133 {
67134  finitef(0);
67135   ;
67136   return 0;
67137 }
67138 _ACEOF
67139 if ac_fn_cxx_try_compile "$LINENO"; then :
67140   glibcxx_cv_func_finitef_use=yes
67141 else
67142   glibcxx_cv_func_finitef_use=no
67143 fi
67144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67145       ac_ext=c
67146 ac_cpp='$CPP $CPPFLAGS'
67147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67150
67151
67152 fi
67153
67154   fi
67155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67156 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67157
67158   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67159     for ac_func in finitef
67160 do :
67161   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67162 if test "x$ac_cv_func_finitef" = x""yes; then :
67163   cat >>confdefs.h <<_ACEOF
67164 #define HAVE_FINITEF 1
67165 _ACEOF
67166
67167 fi
67168 done
67169
67170   else
67171
67172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67173 $as_echo_n "checking for _finitef declaration... " >&6; }
67174   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67175     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67176   $as_echo_n "(cached) " >&6
67177 else
67178
67179
67180       ac_ext=cpp
67181 ac_cpp='$CXXCPP $CPPFLAGS'
67182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67185
67186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67187 /* end confdefs.h.  */
67188 #include <math.h>
67189                       #ifdef HAVE_IEEEFP_H
67190                       #include <ieeefp.h>
67191                       #endif
67192
67193 int
67194 main ()
67195 {
67196  _finitef(0);
67197   ;
67198   return 0;
67199 }
67200 _ACEOF
67201 if ac_fn_cxx_try_compile "$LINENO"; then :
67202   glibcxx_cv_func__finitef_use=yes
67203 else
67204   glibcxx_cv_func__finitef_use=no
67205 fi
67206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67207       ac_ext=c
67208 ac_cpp='$CPP $CPPFLAGS'
67209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67212
67213
67214 fi
67215
67216   fi
67217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67218 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67219
67220     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67221       for ac_func in _finitef
67222 do :
67223   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67224 if test "x$ac_cv_func__finitef" = x""yes; then :
67225   cat >>confdefs.h <<_ACEOF
67226 #define HAVE__FINITEF 1
67227 _ACEOF
67228
67229 fi
67230 done
67231
67232     fi
67233   fi
67234
67235
67236
67237
67238
67239     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67240 $as_echo_n "checking for long double trig functions... " >&6; }
67241   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67242   $as_echo_n "(cached) " >&6
67243 else
67244
67245
67246     ac_ext=cpp
67247 ac_cpp='$CXXCPP $CPPFLAGS'
67248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67251
67252     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67253 /* end confdefs.h.  */
67254 #include <math.h>
67255 int
67256 main ()
67257 {
67258 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67259   ;
67260   return 0;
67261 }
67262 _ACEOF
67263 if ac_fn_cxx_try_compile "$LINENO"; then :
67264   glibcxx_cv_func_long_double_trig_use=yes
67265 else
67266   glibcxx_cv_func_long_double_trig_use=no
67267 fi
67268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67269     ac_ext=c
67270 ac_cpp='$CPP $CPPFLAGS'
67271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67274
67275 fi
67276
67277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67278 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67279   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67280     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67281 do :
67282   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67284 eval as_val=\$$as_ac_var
67285    if test "x$as_val" = x""yes; then :
67286   cat >>confdefs.h <<_ACEOF
67287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67288 _ACEOF
67289
67290 fi
67291 done
67292
67293   else
67294     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67295 $as_echo_n "checking for _long double trig functions... " >&6; }
67296     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67297   $as_echo_n "(cached) " >&6
67298 else
67299
67300
67301       ac_ext=cpp
67302 ac_cpp='$CXXCPP $CPPFLAGS'
67303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67306
67307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67308 /* end confdefs.h.  */
67309 #include <math.h>
67310 int
67311 main ()
67312 {
67313 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67314   ;
67315   return 0;
67316 }
67317 _ACEOF
67318 if ac_fn_cxx_try_compile "$LINENO"; then :
67319   glibcxx_cv_func__long_double_trig_use=yes
67320 else
67321   glibcxx_cv_func__long_double_trig_use=no
67322 fi
67323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67324       ac_ext=c
67325 ac_cpp='$CPP $CPPFLAGS'
67326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67329
67330 fi
67331
67332     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67333 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67334     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67335       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67336 do :
67337   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67339 eval as_val=\$$as_ac_var
67340    if test "x$as_val" = x""yes; then :
67341   cat >>confdefs.h <<_ACEOF
67342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67343 _ACEOF
67344
67345 fi
67346 done
67347
67348     fi
67349   fi
67350
67351
67352
67353
67354
67355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67356 $as_echo_n "checking for long double round functions... " >&6; }
67357   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67358   $as_echo_n "(cached) " >&6
67359 else
67360
67361
67362     ac_ext=cpp
67363 ac_cpp='$CXXCPP $CPPFLAGS'
67364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67367
67368     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67369 /* end confdefs.h.  */
67370 #include <math.h>
67371 int
67372 main ()
67373 {
67374 ceill (0); floorl (0);
67375   ;
67376   return 0;
67377 }
67378 _ACEOF
67379 if ac_fn_cxx_try_compile "$LINENO"; then :
67380   glibcxx_cv_func_long_double_round_use=yes
67381 else
67382   glibcxx_cv_func_long_double_round_use=no
67383 fi
67384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67385     ac_ext=c
67386 ac_cpp='$CPP $CPPFLAGS'
67387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67390
67391 fi
67392
67393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67394 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67395   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67396     for ac_func in ceill floorl
67397 do :
67398   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67400 eval as_val=\$$as_ac_var
67401    if test "x$as_val" = x""yes; then :
67402   cat >>confdefs.h <<_ACEOF
67403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67404 _ACEOF
67405
67406 fi
67407 done
67408
67409   else
67410     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67411 $as_echo_n "checking for _long double round functions... " >&6; }
67412     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67413   $as_echo_n "(cached) " >&6
67414 else
67415
67416
67417       ac_ext=cpp
67418 ac_cpp='$CXXCPP $CPPFLAGS'
67419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67422
67423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67424 /* end confdefs.h.  */
67425 #include <math.h>
67426 int
67427 main ()
67428 {
67429 _ceill (0); _floorl (0);
67430   ;
67431   return 0;
67432 }
67433 _ACEOF
67434 if ac_fn_cxx_try_compile "$LINENO"; then :
67435   glibcxx_cv_func__long_double_round_use=yes
67436 else
67437   glibcxx_cv_func__long_double_round_use=no
67438 fi
67439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67440       ac_ext=c
67441 ac_cpp='$CPP $CPPFLAGS'
67442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67445
67446 fi
67447
67448     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67449 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67450     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67451       for ac_func in _ceill _floorl
67452 do :
67453   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67455 eval as_val=\$$as_ac_var
67456    if test "x$as_val" = x""yes; then :
67457   cat >>confdefs.h <<_ACEOF
67458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67459 _ACEOF
67460
67461 fi
67462 done
67463
67464     fi
67465   fi
67466
67467
67468
67469
67470
67471
67472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67473 $as_echo_n "checking for isnanl declaration... " >&6; }
67474   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67475     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67476   $as_echo_n "(cached) " >&6
67477 else
67478
67479
67480       ac_ext=cpp
67481 ac_cpp='$CXXCPP $CPPFLAGS'
67482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67485
67486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67487 /* end confdefs.h.  */
67488 #include <math.h>
67489                       #ifdef HAVE_IEEEFP_H
67490                       #include <ieeefp.h>
67491                       #endif
67492
67493 int
67494 main ()
67495 {
67496  isnanl(0);
67497   ;
67498   return 0;
67499 }
67500 _ACEOF
67501 if ac_fn_cxx_try_compile "$LINENO"; then :
67502   glibcxx_cv_func_isnanl_use=yes
67503 else
67504   glibcxx_cv_func_isnanl_use=no
67505 fi
67506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67507       ac_ext=c
67508 ac_cpp='$CPP $CPPFLAGS'
67509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67512
67513
67514 fi
67515
67516   fi
67517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67518 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67519
67520   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67521     for ac_func in isnanl
67522 do :
67523   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67524 if test "x$ac_cv_func_isnanl" = x""yes; then :
67525   cat >>confdefs.h <<_ACEOF
67526 #define HAVE_ISNANL 1
67527 _ACEOF
67528
67529 fi
67530 done
67531
67532   else
67533
67534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67535 $as_echo_n "checking for _isnanl declaration... " >&6; }
67536   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67537     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67538   $as_echo_n "(cached) " >&6
67539 else
67540
67541
67542       ac_ext=cpp
67543 ac_cpp='$CXXCPP $CPPFLAGS'
67544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67547
67548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67549 /* end confdefs.h.  */
67550 #include <math.h>
67551                       #ifdef HAVE_IEEEFP_H
67552                       #include <ieeefp.h>
67553                       #endif
67554
67555 int
67556 main ()
67557 {
67558  _isnanl(0);
67559   ;
67560   return 0;
67561 }
67562 _ACEOF
67563 if ac_fn_cxx_try_compile "$LINENO"; then :
67564   glibcxx_cv_func__isnanl_use=yes
67565 else
67566   glibcxx_cv_func__isnanl_use=no
67567 fi
67568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67569       ac_ext=c
67570 ac_cpp='$CPP $CPPFLAGS'
67571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67574
67575
67576 fi
67577
67578   fi
67579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67580 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67581
67582     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67583       for ac_func in _isnanl
67584 do :
67585   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67586 if test "x$ac_cv_func__isnanl" = x""yes; then :
67587   cat >>confdefs.h <<_ACEOF
67588 #define HAVE__ISNANL 1
67589 _ACEOF
67590
67591 fi
67592 done
67593
67594     fi
67595   fi
67596
67597
67598
67599
67600
67601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67602 $as_echo_n "checking for isinfl declaration... " >&6; }
67603   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67604     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67605   $as_echo_n "(cached) " >&6
67606 else
67607
67608
67609       ac_ext=cpp
67610 ac_cpp='$CXXCPP $CPPFLAGS'
67611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67614
67615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67616 /* end confdefs.h.  */
67617 #include <math.h>
67618                       #ifdef HAVE_IEEEFP_H
67619                       #include <ieeefp.h>
67620                       #endif
67621
67622 int
67623 main ()
67624 {
67625  isinfl(0);
67626   ;
67627   return 0;
67628 }
67629 _ACEOF
67630 if ac_fn_cxx_try_compile "$LINENO"; then :
67631   glibcxx_cv_func_isinfl_use=yes
67632 else
67633   glibcxx_cv_func_isinfl_use=no
67634 fi
67635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67636       ac_ext=c
67637 ac_cpp='$CPP $CPPFLAGS'
67638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67641
67642
67643 fi
67644
67645   fi
67646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67647 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67648
67649   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67650     for ac_func in isinfl
67651 do :
67652   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67653 if test "x$ac_cv_func_isinfl" = x""yes; then :
67654   cat >>confdefs.h <<_ACEOF
67655 #define HAVE_ISINFL 1
67656 _ACEOF
67657
67658 fi
67659 done
67660
67661   else
67662
67663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67664 $as_echo_n "checking for _isinfl declaration... " >&6; }
67665   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67666     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67667   $as_echo_n "(cached) " >&6
67668 else
67669
67670
67671       ac_ext=cpp
67672 ac_cpp='$CXXCPP $CPPFLAGS'
67673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67676
67677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67678 /* end confdefs.h.  */
67679 #include <math.h>
67680                       #ifdef HAVE_IEEEFP_H
67681                       #include <ieeefp.h>
67682                       #endif
67683
67684 int
67685 main ()
67686 {
67687  _isinfl(0);
67688   ;
67689   return 0;
67690 }
67691 _ACEOF
67692 if ac_fn_cxx_try_compile "$LINENO"; then :
67693   glibcxx_cv_func__isinfl_use=yes
67694 else
67695   glibcxx_cv_func__isinfl_use=no
67696 fi
67697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67698       ac_ext=c
67699 ac_cpp='$CPP $CPPFLAGS'
67700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67703
67704
67705 fi
67706
67707   fi
67708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67709 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67710
67711     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67712       for ac_func in _isinfl
67713 do :
67714   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67715 if test "x$ac_cv_func__isinfl" = x""yes; then :
67716   cat >>confdefs.h <<_ACEOF
67717 #define HAVE__ISINFL 1
67718 _ACEOF
67719
67720 fi
67721 done
67722
67723     fi
67724   fi
67725
67726
67727
67728
67729
67730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67731 $as_echo_n "checking for atan2l declaration... " >&6; }
67732   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67733     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67734   $as_echo_n "(cached) " >&6
67735 else
67736
67737
67738       ac_ext=cpp
67739 ac_cpp='$CXXCPP $CPPFLAGS'
67740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67743
67744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67745 /* end confdefs.h.  */
67746 #include <math.h>
67747 int
67748 main ()
67749 {
67750  atan2l(0, 0);
67751   ;
67752   return 0;
67753 }
67754 _ACEOF
67755 if ac_fn_cxx_try_compile "$LINENO"; then :
67756   glibcxx_cv_func_atan2l_use=yes
67757 else
67758   glibcxx_cv_func_atan2l_use=no
67759 fi
67760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67761       ac_ext=c
67762 ac_cpp='$CPP $CPPFLAGS'
67763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67766
67767
67768 fi
67769
67770   fi
67771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67772 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67773
67774   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67775     for ac_func in atan2l
67776 do :
67777   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67778 if test "x$ac_cv_func_atan2l" = x""yes; then :
67779   cat >>confdefs.h <<_ACEOF
67780 #define HAVE_ATAN2L 1
67781 _ACEOF
67782
67783 fi
67784 done
67785
67786   else
67787
67788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67789 $as_echo_n "checking for _atan2l declaration... " >&6; }
67790   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67791     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67792   $as_echo_n "(cached) " >&6
67793 else
67794
67795
67796       ac_ext=cpp
67797 ac_cpp='$CXXCPP $CPPFLAGS'
67798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67801
67802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67803 /* end confdefs.h.  */
67804 #include <math.h>
67805 int
67806 main ()
67807 {
67808  _atan2l(0, 0);
67809   ;
67810   return 0;
67811 }
67812 _ACEOF
67813 if ac_fn_cxx_try_compile "$LINENO"; then :
67814   glibcxx_cv_func__atan2l_use=yes
67815 else
67816   glibcxx_cv_func__atan2l_use=no
67817 fi
67818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67819       ac_ext=c
67820 ac_cpp='$CPP $CPPFLAGS'
67821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67824
67825
67826 fi
67827
67828   fi
67829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67830 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67831
67832     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67833       for ac_func in _atan2l
67834 do :
67835   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67836 if test "x$ac_cv_func__atan2l" = x""yes; then :
67837   cat >>confdefs.h <<_ACEOF
67838 #define HAVE__ATAN2L 1
67839 _ACEOF
67840
67841 fi
67842 done
67843
67844     fi
67845   fi
67846
67847
67848
67849
67850
67851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67852 $as_echo_n "checking for expl declaration... " >&6; }
67853   if test x${glibcxx_cv_func_expl_use+set} != xset; then
67854     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67855   $as_echo_n "(cached) " >&6
67856 else
67857
67858
67859       ac_ext=cpp
67860 ac_cpp='$CXXCPP $CPPFLAGS'
67861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67864
67865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67866 /* end confdefs.h.  */
67867 #include <math.h>
67868                       #ifdef HAVE_IEEEFP_H
67869                       #include <ieeefp.h>
67870                       #endif
67871
67872 int
67873 main ()
67874 {
67875  expl(0);
67876   ;
67877   return 0;
67878 }
67879 _ACEOF
67880 if ac_fn_cxx_try_compile "$LINENO"; then :
67881   glibcxx_cv_func_expl_use=yes
67882 else
67883   glibcxx_cv_func_expl_use=no
67884 fi
67885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67886       ac_ext=c
67887 ac_cpp='$CPP $CPPFLAGS'
67888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67891
67892
67893 fi
67894
67895   fi
67896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67897 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67898
67899   if test x$glibcxx_cv_func_expl_use = x"yes"; then
67900     for ac_func in expl
67901 do :
67902   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67903 if test "x$ac_cv_func_expl" = x""yes; then :
67904   cat >>confdefs.h <<_ACEOF
67905 #define HAVE_EXPL 1
67906 _ACEOF
67907
67908 fi
67909 done
67910
67911   else
67912
67913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67914 $as_echo_n "checking for _expl declaration... " >&6; }
67915   if test x${glibcxx_cv_func__expl_use+set} != xset; then
67916     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67917   $as_echo_n "(cached) " >&6
67918 else
67919
67920
67921       ac_ext=cpp
67922 ac_cpp='$CXXCPP $CPPFLAGS'
67923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67926
67927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67928 /* end confdefs.h.  */
67929 #include <math.h>
67930                       #ifdef HAVE_IEEEFP_H
67931                       #include <ieeefp.h>
67932                       #endif
67933
67934 int
67935 main ()
67936 {
67937  _expl(0);
67938   ;
67939   return 0;
67940 }
67941 _ACEOF
67942 if ac_fn_cxx_try_compile "$LINENO"; then :
67943   glibcxx_cv_func__expl_use=yes
67944 else
67945   glibcxx_cv_func__expl_use=no
67946 fi
67947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67948       ac_ext=c
67949 ac_cpp='$CPP $CPPFLAGS'
67950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67953
67954
67955 fi
67956
67957   fi
67958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67959 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67960
67961     if test x$glibcxx_cv_func__expl_use = x"yes"; then
67962       for ac_func in _expl
67963 do :
67964   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67965 if test "x$ac_cv_func__expl" = x""yes; then :
67966   cat >>confdefs.h <<_ACEOF
67967 #define HAVE__EXPL 1
67968 _ACEOF
67969
67970 fi
67971 done
67972
67973     fi
67974   fi
67975
67976
67977
67978
67979
67980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67981 $as_echo_n "checking for fabsl declaration... " >&6; }
67982   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67983     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67984   $as_echo_n "(cached) " >&6
67985 else
67986
67987
67988       ac_ext=cpp
67989 ac_cpp='$CXXCPP $CPPFLAGS'
67990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67993
67994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67995 /* end confdefs.h.  */
67996 #include <math.h>
67997                       #ifdef HAVE_IEEEFP_H
67998                       #include <ieeefp.h>
67999                       #endif
68000
68001 int
68002 main ()
68003 {
68004  fabsl(0);
68005   ;
68006   return 0;
68007 }
68008 _ACEOF
68009 if ac_fn_cxx_try_compile "$LINENO"; then :
68010   glibcxx_cv_func_fabsl_use=yes
68011 else
68012   glibcxx_cv_func_fabsl_use=no
68013 fi
68014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68015       ac_ext=c
68016 ac_cpp='$CPP $CPPFLAGS'
68017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68020
68021
68022 fi
68023
68024   fi
68025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68026 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68027
68028   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68029     for ac_func in fabsl
68030 do :
68031   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68032 if test "x$ac_cv_func_fabsl" = x""yes; then :
68033   cat >>confdefs.h <<_ACEOF
68034 #define HAVE_FABSL 1
68035 _ACEOF
68036
68037 fi
68038 done
68039
68040   else
68041
68042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
68043 $as_echo_n "checking for _fabsl declaration... " >&6; }
68044   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
68045     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
68046   $as_echo_n "(cached) " >&6
68047 else
68048
68049
68050       ac_ext=cpp
68051 ac_cpp='$CXXCPP $CPPFLAGS'
68052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68055
68056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68057 /* end confdefs.h.  */
68058 #include <math.h>
68059                       #ifdef HAVE_IEEEFP_H
68060                       #include <ieeefp.h>
68061                       #endif
68062
68063 int
68064 main ()
68065 {
68066  _fabsl(0);
68067   ;
68068   return 0;
68069 }
68070 _ACEOF
68071 if ac_fn_cxx_try_compile "$LINENO"; then :
68072   glibcxx_cv_func__fabsl_use=yes
68073 else
68074   glibcxx_cv_func__fabsl_use=no
68075 fi
68076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68077       ac_ext=c
68078 ac_cpp='$CPP $CPPFLAGS'
68079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68082
68083
68084 fi
68085
68086   fi
68087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68088 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68089
68090     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68091       for ac_func in _fabsl
68092 do :
68093   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68094 if test "x$ac_cv_func__fabsl" = x""yes; then :
68095   cat >>confdefs.h <<_ACEOF
68096 #define HAVE__FABSL 1
68097 _ACEOF
68098
68099 fi
68100 done
68101
68102     fi
68103   fi
68104
68105
68106
68107
68108
68109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68110 $as_echo_n "checking for fmodl declaration... " >&6; }
68111   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68112     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68113   $as_echo_n "(cached) " >&6
68114 else
68115
68116
68117       ac_ext=cpp
68118 ac_cpp='$CXXCPP $CPPFLAGS'
68119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68122
68123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68124 /* end confdefs.h.  */
68125 #include <math.h>
68126 int
68127 main ()
68128 {
68129  fmodl(0, 0);
68130   ;
68131   return 0;
68132 }
68133 _ACEOF
68134 if ac_fn_cxx_try_compile "$LINENO"; then :
68135   glibcxx_cv_func_fmodl_use=yes
68136 else
68137   glibcxx_cv_func_fmodl_use=no
68138 fi
68139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68140       ac_ext=c
68141 ac_cpp='$CPP $CPPFLAGS'
68142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68145
68146
68147 fi
68148
68149   fi
68150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68151 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68152
68153   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68154     for ac_func in fmodl
68155 do :
68156   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68157 if test "x$ac_cv_func_fmodl" = x""yes; then :
68158   cat >>confdefs.h <<_ACEOF
68159 #define HAVE_FMODL 1
68160 _ACEOF
68161
68162 fi
68163 done
68164
68165   else
68166
68167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68168 $as_echo_n "checking for _fmodl declaration... " >&6; }
68169   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68170     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68171   $as_echo_n "(cached) " >&6
68172 else
68173
68174
68175       ac_ext=cpp
68176 ac_cpp='$CXXCPP $CPPFLAGS'
68177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68180
68181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68182 /* end confdefs.h.  */
68183 #include <math.h>
68184 int
68185 main ()
68186 {
68187  _fmodl(0, 0);
68188   ;
68189   return 0;
68190 }
68191 _ACEOF
68192 if ac_fn_cxx_try_compile "$LINENO"; then :
68193   glibcxx_cv_func__fmodl_use=yes
68194 else
68195   glibcxx_cv_func__fmodl_use=no
68196 fi
68197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68198       ac_ext=c
68199 ac_cpp='$CPP $CPPFLAGS'
68200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68203
68204
68205 fi
68206
68207   fi
68208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68209 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68210
68211     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68212       for ac_func in _fmodl
68213 do :
68214   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68215 if test "x$ac_cv_func__fmodl" = x""yes; then :
68216   cat >>confdefs.h <<_ACEOF
68217 #define HAVE__FMODL 1
68218 _ACEOF
68219
68220 fi
68221 done
68222
68223     fi
68224   fi
68225
68226
68227
68228
68229
68230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68231 $as_echo_n "checking for frexpl declaration... " >&6; }
68232   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68233     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68234   $as_echo_n "(cached) " >&6
68235 else
68236
68237
68238       ac_ext=cpp
68239 ac_cpp='$CXXCPP $CPPFLAGS'
68240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68243
68244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68245 /* end confdefs.h.  */
68246 #include <math.h>
68247 int
68248 main ()
68249 {
68250  frexpl(0, 0);
68251   ;
68252   return 0;
68253 }
68254 _ACEOF
68255 if ac_fn_cxx_try_compile "$LINENO"; then :
68256   glibcxx_cv_func_frexpl_use=yes
68257 else
68258   glibcxx_cv_func_frexpl_use=no
68259 fi
68260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68261       ac_ext=c
68262 ac_cpp='$CPP $CPPFLAGS'
68263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68266
68267
68268 fi
68269
68270   fi
68271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68272 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68273
68274   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68275     for ac_func in frexpl
68276 do :
68277   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68278 if test "x$ac_cv_func_frexpl" = x""yes; then :
68279   cat >>confdefs.h <<_ACEOF
68280 #define HAVE_FREXPL 1
68281 _ACEOF
68282
68283 fi
68284 done
68285
68286   else
68287
68288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68289 $as_echo_n "checking for _frexpl declaration... " >&6; }
68290   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68291     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68292   $as_echo_n "(cached) " >&6
68293 else
68294
68295
68296       ac_ext=cpp
68297 ac_cpp='$CXXCPP $CPPFLAGS'
68298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68301
68302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68303 /* end confdefs.h.  */
68304 #include <math.h>
68305 int
68306 main ()
68307 {
68308  _frexpl(0, 0);
68309   ;
68310   return 0;
68311 }
68312 _ACEOF
68313 if ac_fn_cxx_try_compile "$LINENO"; then :
68314   glibcxx_cv_func__frexpl_use=yes
68315 else
68316   glibcxx_cv_func__frexpl_use=no
68317 fi
68318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68319       ac_ext=c
68320 ac_cpp='$CPP $CPPFLAGS'
68321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68324
68325
68326 fi
68327
68328   fi
68329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68330 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68331
68332     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68333       for ac_func in _frexpl
68334 do :
68335   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68336 if test "x$ac_cv_func__frexpl" = x""yes; then :
68337   cat >>confdefs.h <<_ACEOF
68338 #define HAVE__FREXPL 1
68339 _ACEOF
68340
68341 fi
68342 done
68343
68344     fi
68345   fi
68346
68347
68348
68349
68350
68351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68352 $as_echo_n "checking for hypotl declaration... " >&6; }
68353   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68354     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68355   $as_echo_n "(cached) " >&6
68356 else
68357
68358
68359       ac_ext=cpp
68360 ac_cpp='$CXXCPP $CPPFLAGS'
68361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68364
68365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68366 /* end confdefs.h.  */
68367 #include <math.h>
68368 int
68369 main ()
68370 {
68371  hypotl(0, 0);
68372   ;
68373   return 0;
68374 }
68375 _ACEOF
68376 if ac_fn_cxx_try_compile "$LINENO"; then :
68377   glibcxx_cv_func_hypotl_use=yes
68378 else
68379   glibcxx_cv_func_hypotl_use=no
68380 fi
68381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68382       ac_ext=c
68383 ac_cpp='$CPP $CPPFLAGS'
68384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68387
68388
68389 fi
68390
68391   fi
68392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68393 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68394
68395   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68396     for ac_func in hypotl
68397 do :
68398   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68399 if test "x$ac_cv_func_hypotl" = x""yes; then :
68400   cat >>confdefs.h <<_ACEOF
68401 #define HAVE_HYPOTL 1
68402 _ACEOF
68403
68404 fi
68405 done
68406
68407   else
68408
68409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68410 $as_echo_n "checking for _hypotl declaration... " >&6; }
68411   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68412     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68413   $as_echo_n "(cached) " >&6
68414 else
68415
68416
68417       ac_ext=cpp
68418 ac_cpp='$CXXCPP $CPPFLAGS'
68419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68422
68423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68424 /* end confdefs.h.  */
68425 #include <math.h>
68426 int
68427 main ()
68428 {
68429  _hypotl(0, 0);
68430   ;
68431   return 0;
68432 }
68433 _ACEOF
68434 if ac_fn_cxx_try_compile "$LINENO"; then :
68435   glibcxx_cv_func__hypotl_use=yes
68436 else
68437   glibcxx_cv_func__hypotl_use=no
68438 fi
68439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68440       ac_ext=c
68441 ac_cpp='$CPP $CPPFLAGS'
68442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68445
68446
68447 fi
68448
68449   fi
68450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68451 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68452
68453     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68454       for ac_func in _hypotl
68455 do :
68456   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68457 if test "x$ac_cv_func__hypotl" = x""yes; then :
68458   cat >>confdefs.h <<_ACEOF
68459 #define HAVE__HYPOTL 1
68460 _ACEOF
68461
68462 fi
68463 done
68464
68465     fi
68466   fi
68467
68468
68469
68470
68471
68472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68473 $as_echo_n "checking for ldexpl declaration... " >&6; }
68474   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68475     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68476   $as_echo_n "(cached) " >&6
68477 else
68478
68479
68480       ac_ext=cpp
68481 ac_cpp='$CXXCPP $CPPFLAGS'
68482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68485
68486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68487 /* end confdefs.h.  */
68488 #include <math.h>
68489 int
68490 main ()
68491 {
68492  ldexpl(0, 0);
68493   ;
68494   return 0;
68495 }
68496 _ACEOF
68497 if ac_fn_cxx_try_compile "$LINENO"; then :
68498   glibcxx_cv_func_ldexpl_use=yes
68499 else
68500   glibcxx_cv_func_ldexpl_use=no
68501 fi
68502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68503       ac_ext=c
68504 ac_cpp='$CPP $CPPFLAGS'
68505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68508
68509
68510 fi
68511
68512   fi
68513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68514 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68515
68516   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68517     for ac_func in ldexpl
68518 do :
68519   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68520 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68521   cat >>confdefs.h <<_ACEOF
68522 #define HAVE_LDEXPL 1
68523 _ACEOF
68524
68525 fi
68526 done
68527
68528   else
68529
68530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68531 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68532   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68533     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68534   $as_echo_n "(cached) " >&6
68535 else
68536
68537
68538       ac_ext=cpp
68539 ac_cpp='$CXXCPP $CPPFLAGS'
68540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68543
68544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68545 /* end confdefs.h.  */
68546 #include <math.h>
68547 int
68548 main ()
68549 {
68550  _ldexpl(0, 0);
68551   ;
68552   return 0;
68553 }
68554 _ACEOF
68555 if ac_fn_cxx_try_compile "$LINENO"; then :
68556   glibcxx_cv_func__ldexpl_use=yes
68557 else
68558   glibcxx_cv_func__ldexpl_use=no
68559 fi
68560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68561       ac_ext=c
68562 ac_cpp='$CPP $CPPFLAGS'
68563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68566
68567
68568 fi
68569
68570   fi
68571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68572 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68573
68574     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68575       for ac_func in _ldexpl
68576 do :
68577   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68578 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68579   cat >>confdefs.h <<_ACEOF
68580 #define HAVE__LDEXPL 1
68581 _ACEOF
68582
68583 fi
68584 done
68585
68586     fi
68587   fi
68588
68589
68590
68591
68592
68593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68594 $as_echo_n "checking for logl declaration... " >&6; }
68595   if test x${glibcxx_cv_func_logl_use+set} != xset; then
68596     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68597   $as_echo_n "(cached) " >&6
68598 else
68599
68600
68601       ac_ext=cpp
68602 ac_cpp='$CXXCPP $CPPFLAGS'
68603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68606
68607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68608 /* end confdefs.h.  */
68609 #include <math.h>
68610                       #ifdef HAVE_IEEEFP_H
68611                       #include <ieeefp.h>
68612                       #endif
68613
68614 int
68615 main ()
68616 {
68617  logl(0);
68618   ;
68619   return 0;
68620 }
68621 _ACEOF
68622 if ac_fn_cxx_try_compile "$LINENO"; then :
68623   glibcxx_cv_func_logl_use=yes
68624 else
68625   glibcxx_cv_func_logl_use=no
68626 fi
68627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68628       ac_ext=c
68629 ac_cpp='$CPP $CPPFLAGS'
68630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68633
68634
68635 fi
68636
68637   fi
68638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68639 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68640
68641   if test x$glibcxx_cv_func_logl_use = x"yes"; then
68642     for ac_func in logl
68643 do :
68644   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68645 if test "x$ac_cv_func_logl" = x""yes; then :
68646   cat >>confdefs.h <<_ACEOF
68647 #define HAVE_LOGL 1
68648 _ACEOF
68649
68650 fi
68651 done
68652
68653   else
68654
68655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68656 $as_echo_n "checking for _logl declaration... " >&6; }
68657   if test x${glibcxx_cv_func__logl_use+set} != xset; then
68658     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68659   $as_echo_n "(cached) " >&6
68660 else
68661
68662
68663       ac_ext=cpp
68664 ac_cpp='$CXXCPP $CPPFLAGS'
68665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68668
68669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68670 /* end confdefs.h.  */
68671 #include <math.h>
68672                       #ifdef HAVE_IEEEFP_H
68673                       #include <ieeefp.h>
68674                       #endif
68675
68676 int
68677 main ()
68678 {
68679  _logl(0);
68680   ;
68681   return 0;
68682 }
68683 _ACEOF
68684 if ac_fn_cxx_try_compile "$LINENO"; then :
68685   glibcxx_cv_func__logl_use=yes
68686 else
68687   glibcxx_cv_func__logl_use=no
68688 fi
68689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68690       ac_ext=c
68691 ac_cpp='$CPP $CPPFLAGS'
68692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68695
68696
68697 fi
68698
68699   fi
68700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68701 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68702
68703     if test x$glibcxx_cv_func__logl_use = x"yes"; then
68704       for ac_func in _logl
68705 do :
68706   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68707 if test "x$ac_cv_func__logl" = x""yes; then :
68708   cat >>confdefs.h <<_ACEOF
68709 #define HAVE__LOGL 1
68710 _ACEOF
68711
68712 fi
68713 done
68714
68715     fi
68716   fi
68717
68718
68719
68720
68721
68722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68723 $as_echo_n "checking for log10l declaration... " >&6; }
68724   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68725     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68726   $as_echo_n "(cached) " >&6
68727 else
68728
68729
68730       ac_ext=cpp
68731 ac_cpp='$CXXCPP $CPPFLAGS'
68732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68735
68736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68737 /* end confdefs.h.  */
68738 #include <math.h>
68739                       #ifdef HAVE_IEEEFP_H
68740                       #include <ieeefp.h>
68741                       #endif
68742
68743 int
68744 main ()
68745 {
68746  log10l(0);
68747   ;
68748   return 0;
68749 }
68750 _ACEOF
68751 if ac_fn_cxx_try_compile "$LINENO"; then :
68752   glibcxx_cv_func_log10l_use=yes
68753 else
68754   glibcxx_cv_func_log10l_use=no
68755 fi
68756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68757       ac_ext=c
68758 ac_cpp='$CPP $CPPFLAGS'
68759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68762
68763
68764 fi
68765
68766   fi
68767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68768 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68769
68770   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68771     for ac_func in log10l
68772 do :
68773   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68774 if test "x$ac_cv_func_log10l" = x""yes; then :
68775   cat >>confdefs.h <<_ACEOF
68776 #define HAVE_LOG10L 1
68777 _ACEOF
68778
68779 fi
68780 done
68781
68782   else
68783
68784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68785 $as_echo_n "checking for _log10l declaration... " >&6; }
68786   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68787     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68788   $as_echo_n "(cached) " >&6
68789 else
68790
68791
68792       ac_ext=cpp
68793 ac_cpp='$CXXCPP $CPPFLAGS'
68794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68797
68798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68799 /* end confdefs.h.  */
68800 #include <math.h>
68801                       #ifdef HAVE_IEEEFP_H
68802                       #include <ieeefp.h>
68803                       #endif
68804
68805 int
68806 main ()
68807 {
68808  _log10l(0);
68809   ;
68810   return 0;
68811 }
68812 _ACEOF
68813 if ac_fn_cxx_try_compile "$LINENO"; then :
68814   glibcxx_cv_func__log10l_use=yes
68815 else
68816   glibcxx_cv_func__log10l_use=no
68817 fi
68818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68819       ac_ext=c
68820 ac_cpp='$CPP $CPPFLAGS'
68821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68824
68825
68826 fi
68827
68828   fi
68829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68830 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68831
68832     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68833       for ac_func in _log10l
68834 do :
68835   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68836 if test "x$ac_cv_func__log10l" = x""yes; then :
68837   cat >>confdefs.h <<_ACEOF
68838 #define HAVE__LOG10L 1
68839 _ACEOF
68840
68841 fi
68842 done
68843
68844     fi
68845   fi
68846
68847
68848
68849
68850
68851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68852 $as_echo_n "checking for modfl declaration... " >&6; }
68853   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68854     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68855   $as_echo_n "(cached) " >&6
68856 else
68857
68858
68859       ac_ext=cpp
68860 ac_cpp='$CXXCPP $CPPFLAGS'
68861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68864
68865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68866 /* end confdefs.h.  */
68867 #include <math.h>
68868 int
68869 main ()
68870 {
68871  modfl(0, 0);
68872   ;
68873   return 0;
68874 }
68875 _ACEOF
68876 if ac_fn_cxx_try_compile "$LINENO"; then :
68877   glibcxx_cv_func_modfl_use=yes
68878 else
68879   glibcxx_cv_func_modfl_use=no
68880 fi
68881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68882       ac_ext=c
68883 ac_cpp='$CPP $CPPFLAGS'
68884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68887
68888
68889 fi
68890
68891   fi
68892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68893 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68894
68895   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68896     for ac_func in modfl
68897 do :
68898   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68899 if test "x$ac_cv_func_modfl" = x""yes; then :
68900   cat >>confdefs.h <<_ACEOF
68901 #define HAVE_MODFL 1
68902 _ACEOF
68903
68904 fi
68905 done
68906
68907   else
68908
68909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68910 $as_echo_n "checking for _modfl declaration... " >&6; }
68911   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68912     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68913   $as_echo_n "(cached) " >&6
68914 else
68915
68916
68917       ac_ext=cpp
68918 ac_cpp='$CXXCPP $CPPFLAGS'
68919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68922
68923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68924 /* end confdefs.h.  */
68925 #include <math.h>
68926 int
68927 main ()
68928 {
68929  _modfl(0, 0);
68930   ;
68931   return 0;
68932 }
68933 _ACEOF
68934 if ac_fn_cxx_try_compile "$LINENO"; then :
68935   glibcxx_cv_func__modfl_use=yes
68936 else
68937   glibcxx_cv_func__modfl_use=no
68938 fi
68939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68940       ac_ext=c
68941 ac_cpp='$CPP $CPPFLAGS'
68942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68945
68946
68947 fi
68948
68949   fi
68950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68951 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68952
68953     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68954       for ac_func in _modfl
68955 do :
68956   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68957 if test "x$ac_cv_func__modfl" = x""yes; then :
68958   cat >>confdefs.h <<_ACEOF
68959 #define HAVE__MODFL 1
68960 _ACEOF
68961
68962 fi
68963 done
68964
68965     fi
68966   fi
68967
68968
68969
68970
68971
68972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68973 $as_echo_n "checking for powl declaration... " >&6; }
68974   if test x${glibcxx_cv_func_powl_use+set} != xset; then
68975     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68976   $as_echo_n "(cached) " >&6
68977 else
68978
68979
68980       ac_ext=cpp
68981 ac_cpp='$CXXCPP $CPPFLAGS'
68982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68985
68986       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68987 /* end confdefs.h.  */
68988 #include <math.h>
68989 int
68990 main ()
68991 {
68992  powl(0, 0);
68993   ;
68994   return 0;
68995 }
68996 _ACEOF
68997 if ac_fn_cxx_try_compile "$LINENO"; then :
68998   glibcxx_cv_func_powl_use=yes
68999 else
69000   glibcxx_cv_func_powl_use=no
69001 fi
69002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69003       ac_ext=c
69004 ac_cpp='$CPP $CPPFLAGS'
69005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69008
69009
69010 fi
69011
69012   fi
69013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69014 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69015
69016   if test x$glibcxx_cv_func_powl_use = x"yes"; then
69017     for ac_func in powl
69018 do :
69019   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69020 if test "x$ac_cv_func_powl" = x""yes; then :
69021   cat >>confdefs.h <<_ACEOF
69022 #define HAVE_POWL 1
69023 _ACEOF
69024
69025 fi
69026 done
69027
69028   else
69029
69030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69031 $as_echo_n "checking for _powl declaration... " >&6; }
69032   if test x${glibcxx_cv_func__powl_use+set} != xset; then
69033     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69034   $as_echo_n "(cached) " >&6
69035 else
69036
69037
69038       ac_ext=cpp
69039 ac_cpp='$CXXCPP $CPPFLAGS'
69040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69043
69044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69045 /* end confdefs.h.  */
69046 #include <math.h>
69047 int
69048 main ()
69049 {
69050  _powl(0, 0);
69051   ;
69052   return 0;
69053 }
69054 _ACEOF
69055 if ac_fn_cxx_try_compile "$LINENO"; then :
69056   glibcxx_cv_func__powl_use=yes
69057 else
69058   glibcxx_cv_func__powl_use=no
69059 fi
69060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69061       ac_ext=c
69062 ac_cpp='$CPP $CPPFLAGS'
69063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69066
69067
69068 fi
69069
69070   fi
69071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69072 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69073
69074     if test x$glibcxx_cv_func__powl_use = x"yes"; then
69075       for ac_func in _powl
69076 do :
69077   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69078 if test "x$ac_cv_func__powl" = x""yes; then :
69079   cat >>confdefs.h <<_ACEOF
69080 #define HAVE__POWL 1
69081 _ACEOF
69082
69083 fi
69084 done
69085
69086     fi
69087   fi
69088
69089
69090
69091
69092
69093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69094 $as_echo_n "checking for sqrtl declaration... " >&6; }
69095   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69096     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69097   $as_echo_n "(cached) " >&6
69098 else
69099
69100
69101       ac_ext=cpp
69102 ac_cpp='$CXXCPP $CPPFLAGS'
69103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69106
69107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69108 /* end confdefs.h.  */
69109 #include <math.h>
69110                       #ifdef HAVE_IEEEFP_H
69111                       #include <ieeefp.h>
69112                       #endif
69113
69114 int
69115 main ()
69116 {
69117  sqrtl(0);
69118   ;
69119   return 0;
69120 }
69121 _ACEOF
69122 if ac_fn_cxx_try_compile "$LINENO"; then :
69123   glibcxx_cv_func_sqrtl_use=yes
69124 else
69125   glibcxx_cv_func_sqrtl_use=no
69126 fi
69127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69128       ac_ext=c
69129 ac_cpp='$CPP $CPPFLAGS'
69130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69133
69134
69135 fi
69136
69137   fi
69138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69139 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69140
69141   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69142     for ac_func in sqrtl
69143 do :
69144   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69145 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69146   cat >>confdefs.h <<_ACEOF
69147 #define HAVE_SQRTL 1
69148 _ACEOF
69149
69150 fi
69151 done
69152
69153   else
69154
69155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69156 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69157   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69158     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69159   $as_echo_n "(cached) " >&6
69160 else
69161
69162
69163       ac_ext=cpp
69164 ac_cpp='$CXXCPP $CPPFLAGS'
69165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69168
69169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69170 /* end confdefs.h.  */
69171 #include <math.h>
69172                       #ifdef HAVE_IEEEFP_H
69173                       #include <ieeefp.h>
69174                       #endif
69175
69176 int
69177 main ()
69178 {
69179  _sqrtl(0);
69180   ;
69181   return 0;
69182 }
69183 _ACEOF
69184 if ac_fn_cxx_try_compile "$LINENO"; then :
69185   glibcxx_cv_func__sqrtl_use=yes
69186 else
69187   glibcxx_cv_func__sqrtl_use=no
69188 fi
69189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69190       ac_ext=c
69191 ac_cpp='$CPP $CPPFLAGS'
69192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69195
69196
69197 fi
69198
69199   fi
69200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69201 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69202
69203     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69204       for ac_func in _sqrtl
69205 do :
69206   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69207 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69208   cat >>confdefs.h <<_ACEOF
69209 #define HAVE__SQRTL 1
69210 _ACEOF
69211
69212 fi
69213 done
69214
69215     fi
69216   fi
69217
69218
69219
69220
69221
69222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69223 $as_echo_n "checking for sincosl declaration... " >&6; }
69224   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69225     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69226   $as_echo_n "(cached) " >&6
69227 else
69228
69229
69230       ac_ext=cpp
69231 ac_cpp='$CXXCPP $CPPFLAGS'
69232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69235
69236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69237 /* end confdefs.h.  */
69238 #include <math.h>
69239 int
69240 main ()
69241 {
69242  sincosl(0, 0, 0);
69243   ;
69244   return 0;
69245 }
69246 _ACEOF
69247 if ac_fn_cxx_try_compile "$LINENO"; then :
69248   glibcxx_cv_func_sincosl_use=yes
69249 else
69250   glibcxx_cv_func_sincosl_use=no
69251 fi
69252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69253       ac_ext=c
69254 ac_cpp='$CPP $CPPFLAGS'
69255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69258
69259
69260 fi
69261
69262   fi
69263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69264 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69265
69266   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69267     for ac_func in sincosl
69268 do :
69269   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69270 if test "x$ac_cv_func_sincosl" = x""yes; then :
69271   cat >>confdefs.h <<_ACEOF
69272 #define HAVE_SINCOSL 1
69273 _ACEOF
69274
69275 fi
69276 done
69277
69278   else
69279
69280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69281 $as_echo_n "checking for _sincosl declaration... " >&6; }
69282   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69283     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69284   $as_echo_n "(cached) " >&6
69285 else
69286
69287
69288       ac_ext=cpp
69289 ac_cpp='$CXXCPP $CPPFLAGS'
69290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69293
69294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69295 /* end confdefs.h.  */
69296 #include <math.h>
69297 int
69298 main ()
69299 {
69300  _sincosl(0, 0, 0);
69301   ;
69302   return 0;
69303 }
69304 _ACEOF
69305 if ac_fn_cxx_try_compile "$LINENO"; then :
69306   glibcxx_cv_func__sincosl_use=yes
69307 else
69308   glibcxx_cv_func__sincosl_use=no
69309 fi
69310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69311       ac_ext=c
69312 ac_cpp='$CPP $CPPFLAGS'
69313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69316
69317
69318 fi
69319
69320   fi
69321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69322 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69323
69324     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69325       for ac_func in _sincosl
69326 do :
69327   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69328 if test "x$ac_cv_func__sincosl" = x""yes; then :
69329   cat >>confdefs.h <<_ACEOF
69330 #define HAVE__SINCOSL 1
69331 _ACEOF
69332
69333 fi
69334 done
69335
69336     fi
69337   fi
69338
69339
69340
69341
69342
69343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69344 $as_echo_n "checking for finitel declaration... " >&6; }
69345   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69346     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69347   $as_echo_n "(cached) " >&6
69348 else
69349
69350
69351       ac_ext=cpp
69352 ac_cpp='$CXXCPP $CPPFLAGS'
69353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69356
69357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69358 /* end confdefs.h.  */
69359 #include <math.h>
69360                       #ifdef HAVE_IEEEFP_H
69361                       #include <ieeefp.h>
69362                       #endif
69363
69364 int
69365 main ()
69366 {
69367  finitel(0);
69368   ;
69369   return 0;
69370 }
69371 _ACEOF
69372 if ac_fn_cxx_try_compile "$LINENO"; then :
69373   glibcxx_cv_func_finitel_use=yes
69374 else
69375   glibcxx_cv_func_finitel_use=no
69376 fi
69377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69378       ac_ext=c
69379 ac_cpp='$CPP $CPPFLAGS'
69380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69383
69384
69385 fi
69386
69387   fi
69388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69389 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69390
69391   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69392     for ac_func in finitel
69393 do :
69394   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69395 if test "x$ac_cv_func_finitel" = x""yes; then :
69396   cat >>confdefs.h <<_ACEOF
69397 #define HAVE_FINITEL 1
69398 _ACEOF
69399
69400 fi
69401 done
69402
69403   else
69404
69405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69406 $as_echo_n "checking for _finitel declaration... " >&6; }
69407   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69408     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69409   $as_echo_n "(cached) " >&6
69410 else
69411
69412
69413       ac_ext=cpp
69414 ac_cpp='$CXXCPP $CPPFLAGS'
69415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69418
69419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69420 /* end confdefs.h.  */
69421 #include <math.h>
69422                       #ifdef HAVE_IEEEFP_H
69423                       #include <ieeefp.h>
69424                       #endif
69425
69426 int
69427 main ()
69428 {
69429  _finitel(0);
69430   ;
69431   return 0;
69432 }
69433 _ACEOF
69434 if ac_fn_cxx_try_compile "$LINENO"; then :
69435   glibcxx_cv_func__finitel_use=yes
69436 else
69437   glibcxx_cv_func__finitel_use=no
69438 fi
69439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69440       ac_ext=c
69441 ac_cpp='$CPP $CPPFLAGS'
69442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69445
69446
69447 fi
69448
69449   fi
69450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69451 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69452
69453     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69454       for ac_func in _finitel
69455 do :
69456   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69457 if test "x$ac_cv_func__finitel" = x""yes; then :
69458   cat >>confdefs.h <<_ACEOF
69459 #define HAVE__FINITEL 1
69460 _ACEOF
69461
69462 fi
69463 done
69464
69465     fi
69466   fi
69467
69468
69469
69470
69471   LIBS="$ac_save_LIBS"
69472   CXXFLAGS="$ac_save_CXXFLAGS"
69473
69474
69475   ac_test_CXXFLAGS="${CXXFLAGS+set}"
69476   ac_save_CXXFLAGS="$CXXFLAGS"
69477   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69478
69479
69480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69481 $as_echo_n "checking for strtold declaration... " >&6; }
69482   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69483     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69484   $as_echo_n "(cached) " >&6
69485 else
69486
69487
69488       ac_ext=cpp
69489 ac_cpp='$CXXCPP $CPPFLAGS'
69490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69493
69494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69495 /* end confdefs.h.  */
69496 #include <stdlib.h>
69497 int
69498 main ()
69499 {
69500  strtold(0, 0);
69501   ;
69502   return 0;
69503 }
69504 _ACEOF
69505 if ac_fn_cxx_try_compile "$LINENO"; then :
69506   glibcxx_cv_func_strtold_use=yes
69507 else
69508   glibcxx_cv_func_strtold_use=no
69509 fi
69510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69511       ac_ext=c
69512 ac_cpp='$CPP $CPPFLAGS'
69513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69516
69517
69518 fi
69519
69520   fi
69521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69522 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69523   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69524     for ac_func in strtold
69525 do :
69526   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69527 if test "x$ac_cv_func_strtold" = x""yes; then :
69528   cat >>confdefs.h <<_ACEOF
69529 #define HAVE_STRTOLD 1
69530 _ACEOF
69531
69532 fi
69533 done
69534
69535   fi
69536
69537
69538
69539
69540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69541 $as_echo_n "checking for strtof declaration... " >&6; }
69542   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69543     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69544   $as_echo_n "(cached) " >&6
69545 else
69546
69547
69548       ac_ext=cpp
69549 ac_cpp='$CXXCPP $CPPFLAGS'
69550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69553
69554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69555 /* end confdefs.h.  */
69556 #include <stdlib.h>
69557 int
69558 main ()
69559 {
69560  strtof(0, 0);
69561   ;
69562   return 0;
69563 }
69564 _ACEOF
69565 if ac_fn_cxx_try_compile "$LINENO"; then :
69566   glibcxx_cv_func_strtof_use=yes
69567 else
69568   glibcxx_cv_func_strtof_use=no
69569 fi
69570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69571       ac_ext=c
69572 ac_cpp='$CPP $CPPFLAGS'
69573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69576
69577
69578 fi
69579
69580   fi
69581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69582 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69583   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69584     for ac_func in strtof
69585 do :
69586   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69587 if test "x$ac_cv_func_strtof" = x""yes; then :
69588   cat >>confdefs.h <<_ACEOF
69589 #define HAVE_STRTOF 1
69590 _ACEOF
69591
69592 fi
69593 done
69594
69595   fi
69596
69597
69598
69599
69600   CXXFLAGS="$ac_save_CXXFLAGS"
69601
69602     ;;
69603   *-vxworks)
69604     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69605
69606     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69607
69608     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69609
69610     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69611
69612     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69613
69614     $as_echo "#define HAVE_COSF 1" >>confdefs.h
69615
69616     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69617
69618     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69619
69620     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69621
69622     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69623
69624     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69625
69626     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69627
69628     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69629
69630     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69631
69632     $as_echo "#define HAVE_POWF 1" >>confdefs.h
69633
69634     $as_echo "#define HAVE_SINF 1" >>confdefs.h
69635
69636     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69637
69638     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69639
69640     $as_echo "#define HAVE_TANF 1" >>confdefs.h
69641
69642     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69643
69644     ;;
69645   *)
69646     as_fn_error "No support for this host/target combination." "$LINENO" 5
69647    ;;
69648 esac
69649
69650   fi
69651
69652   # At some point, we should differentiate between architectures
69653   # like x86, which have long double versions, and alpha/powerpc/etc.,
69654   # which don't. For the time being, punt.
69655   if test x"long_double_math_on_this_cpu" = x"yes"; then
69656     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69657
69658     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69659
69660     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69661
69662     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69663
69664     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69665
69666     $as_echo "#define HAVE_COSL 1" >>confdefs.h
69667
69668     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69669
69670     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69671
69672     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69673
69674     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69675
69676     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69677
69678     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69679
69680     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69681
69682     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69683
69684     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69685
69686     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69687
69688     $as_echo "#define HAVE_POWL 1" >>confdefs.h
69689
69690     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69691
69692     $as_echo "#define HAVE_SINL 1" >>confdefs.h
69693
69694     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69695
69696     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69697
69698     $as_echo "#define HAVE_TANL 1" >>confdefs.h
69699
69700     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69701
69702   fi
69703 fi
69704
69705 # Check for _Unwind_GetIPInfo.
69706
69707
69708 # Check whether --with-system-libunwind was given.
69709 if test "${with_system_libunwind+set}" = set; then :
69710   withval=$with_system_libunwind;
69711 fi
69712
69713   # If system-libunwind was not specifically set, pick a default setting.
69714   if test x$with_system_libunwind = x; then
69715     case ${target} in
69716       ia64-*-hpux*) with_system_libunwind=yes ;;
69717       *) with_system_libunwind=no ;;
69718     esac
69719   fi
69720   # Based on system-libunwind and target, do we have ipinfo?
69721   if  test x$with_system_libunwind = xyes; then
69722     case ${target} in
69723       ia64-*-*) have_unwind_getipinfo=no ;;
69724       *) have_unwind_getipinfo=yes ;;
69725     esac
69726   else
69727     # Darwin before version 9 does not have _Unwind_GetIPInfo.
69728
69729     case ${target} in
69730       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69731       *) have_unwind_getipinfo=yes ;;
69732     esac
69733
69734   fi
69735
69736   if test x$have_unwind_getipinfo = xyes; then
69737
69738 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69739
69740   fi
69741
69742
69743  # Check whether --enable-linux-futex was given.
69744 if test "${enable_linux_futex+set}" = set; then :
69745   enableval=$enable_linux_futex;
69746       case "$enableval" in
69747        yes|no|default) ;;
69748        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69749                           esac
69750
69751 else
69752   enable_linux_futex=default
69753 fi
69754
69755
69756 case "$target" in
69757   *-linux*)
69758     case "$enable_linux_futex" in
69759       default)
69760         # If headers don't have gettid/futex syscalls definition, then
69761         # default to no, otherwise there will be compile time failures.
69762         # Otherwise, default to yes.  If we don't detect we are
69763         # compiled/linked against NPTL and not cross-compiling, check
69764         # if programs are run by default against NPTL and if not, issue
69765         # a warning.
69766         enable_linux_futex=no
69767         if test x$gcc_no_link = xyes; then
69768   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69769 fi
69770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69771 /* end confdefs.h.  */
69772 #include <sys/syscall.h>
69773            int lk;
69774 int
69775 main ()
69776 {
69777 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69778   ;
69779   return 0;
69780 }
69781 _ACEOF
69782 if ac_fn_c_try_link "$LINENO"; then :
69783   save_LIBS="$LIBS"
69784            LIBS="-lpthread $LIBS"
69785            if test x$gcc_no_link = xyes; then
69786   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69787 fi
69788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69789 /* end confdefs.h.  */
69790 #ifndef _GNU_SOURCE
69791              #define _GNU_SOURCE 1
69792              #endif
69793              #include <pthread.h>
69794              pthread_t th; void *status;
69795 int
69796 main ()
69797 {
69798 pthread_tryjoin_np (th, &status);
69799   ;
69800   return 0;
69801 }
69802 _ACEOF
69803 if ac_fn_c_try_link "$LINENO"; then :
69804   enable_linux_futex=yes
69805 else
69806   if test x$cross_compiling = xno; then
69807                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69808                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69809                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69810 If so, please configure with --disable-linux-futex" >&5
69811 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69812 If so, please configure with --disable-linux-futex" >&2;}
69813                fi
69814              fi
69815              enable_linux_futex=yes
69816 fi
69817 rm -f core conftest.err conftest.$ac_objext \
69818     conftest$ac_exeext conftest.$ac_ext
69819            LIBS="$save_LIBS"
69820 fi
69821 rm -f core conftest.err conftest.$ac_objext \
69822     conftest$ac_exeext conftest.$ac_ext
69823         ;;
69824       yes)
69825         if test x$gcc_no_link = xyes; then
69826   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69827 fi
69828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69829 /* end confdefs.h.  */
69830 #include <sys/syscall.h>
69831            int lk;
69832 int
69833 main ()
69834 {
69835 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69836   ;
69837   return 0;
69838 }
69839 _ACEOF
69840 if ac_fn_c_try_link "$LINENO"; then :
69841
69842 else
69843   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69844 fi
69845 rm -f core conftest.err conftest.$ac_objext \
69846     conftest$ac_exeext conftest.$ac_ext
69847         ;;
69848     esac
69849     ;;
69850   *)
69851     enable_linux_futex=no
69852     ;;
69853 esac
69854 if test x$enable_linux_futex = xyes; then
69855
69856 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69857
69858 fi
69859
69860
69861
69862
69863 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
69864
69865 acx_cv_header_stdint=stddef.h
69866 acx_cv_header_stdint_kind="(already complete)"
69867 for i in stdint.h $inttype_headers; do
69868   unset ac_cv_type_uintptr_t
69869   unset ac_cv_type_uintmax_t
69870   unset ac_cv_type_int_least32_t
69871   unset ac_cv_type_int_fast32_t
69872   unset ac_cv_type_uint64_t
69873   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69874   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69875 #include <$i>
69876 "
69877 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69878   acx_cv_header_stdint=$i
69879 else
69880   continue
69881 fi
69882
69883   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69884 #include <$i>
69885 "
69886 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69887
69888 else
69889   acx_cv_header_stdint_kind="(mostly complete)"
69890 fi
69891
69892   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69893 #include <$i>
69894 "
69895 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69896
69897 else
69898   acx_cv_header_stdint_kind="(mostly complete)"
69899 fi
69900
69901   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69902 #include <$i>
69903 "
69904 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69905
69906 else
69907   acx_cv_header_stdint_kind="(mostly complete)"
69908 fi
69909
69910   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69911 #include <$i>
69912 "
69913 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69914
69915 else
69916   acx_cv_header_stdint_kind="(lacks uint64_t)"
69917 fi
69918
69919   break
69920 done
69921 if test "$acx_cv_header_stdint" = stddef.h; then
69922   acx_cv_header_stdint_kind="(lacks uintmax_t)"
69923   for i in stdint.h $inttype_headers; do
69924     unset ac_cv_type_uintptr_t
69925     unset ac_cv_type_uint32_t
69926     unset ac_cv_type_uint64_t
69927     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69928     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69929 #include <$i>
69930 "
69931 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69932   acx_cv_header_stdint=$i
69933 else
69934   continue
69935 fi
69936
69937     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69938 #include <$i>
69939 "
69940 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69941
69942 fi
69943
69944     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69945 #include <$i>
69946 "
69947 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69948
69949 fi
69950
69951     break
69952   done
69953 fi
69954 if test "$acx_cv_header_stdint" = stddef.h; then
69955   acx_cv_header_stdint_kind="(u_intXX_t style)"
69956   for i in sys/types.h $inttype_headers; do
69957     unset ac_cv_type_u_int32_t
69958     unset ac_cv_type_u_int64_t
69959     $as_echo_n "looking for u_intXX_t types in $i, " >&6
69960     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69961 #include <$i>
69962 "
69963 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69964   acx_cv_header_stdint=$i
69965 else
69966   continue
69967 fi
69968
69969     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69970 #include <$i>
69971 "
69972 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69973
69974 fi
69975
69976     break
69977   done
69978 fi
69979 if test "$acx_cv_header_stdint" = stddef.h; then
69980   acx_cv_header_stdint_kind="(using manual detection)"
69981 fi
69982
69983 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69984 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69985 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69986 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69987 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69988
69989 # ----------------- Summarize what we found so far
69990
69991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69992 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69993
69994 case `$as_basename -- include/gstdint.h ||
69995 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69996          Xinclude/gstdint.h : 'X\(//\)$' \| \
69997          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69998 $as_echo X/include/gstdint.h |
69999     sed '/^.*\/\([^/][^/]*\)\/*$/{
70000             s//\1/
70001             q
70002           }
70003           /^X\/\(\/\/\)$/{
70004             s//\1/
70005             q
70006           }
70007           /^X\/\(\/\).*/{
70008             s//\1/
70009             q
70010           }
70011           s/.*/./; q'` in
70012   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70013 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70014   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70015 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70016   *) ;;
70017 esac
70018
70019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
70020 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
70021
70022 # ----------------- done included file, check C basic types --------
70023
70024 # Lacking an uintptr_t?  Test size of void *
70025 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
70026   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
70027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70029 # This bug is HP SR number 8606223364.
70030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
70031 $as_echo_n "checking size of void *... " >&6; }
70032 if test "${ac_cv_sizeof_void_p+set}" = set; then :
70033   $as_echo_n "(cached) " >&6
70034 else
70035   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
70036
70037 else
70038   if test "$ac_cv_type_void_p" = yes; then
70039      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70041 { as_fn_set_status 77
70042 as_fn_error "cannot compute sizeof (void *)
70043 See \`config.log' for more details." "$LINENO" 5; }; }
70044    else
70045      ac_cv_sizeof_void_p=0
70046    fi
70047 fi
70048
70049 fi
70050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
70051 $as_echo "$ac_cv_sizeof_void_p" >&6; }
70052
70053
70054
70055 cat >>confdefs.h <<_ACEOF
70056 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
70057 _ACEOF
70058
70059  ;;
70060 esac
70061
70062 # Lacking an uint64_t?  Test size of long
70063 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
70064   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
70065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70067 # This bug is HP SR number 8606223364.
70068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
70069 $as_echo_n "checking size of long... " >&6; }
70070 if test "${ac_cv_sizeof_long+set}" = set; then :
70071   $as_echo_n "(cached) " >&6
70072 else
70073   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
70074
70075 else
70076   if test "$ac_cv_type_long" = yes; then
70077      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70079 { as_fn_set_status 77
70080 as_fn_error "cannot compute sizeof (long)
70081 See \`config.log' for more details." "$LINENO" 5; }; }
70082    else
70083      ac_cv_sizeof_long=0
70084    fi
70085 fi
70086
70087 fi
70088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70089 $as_echo "$ac_cv_sizeof_long" >&6; }
70090
70091
70092
70093 cat >>confdefs.h <<_ACEOF
70094 #define SIZEOF_LONG $ac_cv_sizeof_long
70095 _ACEOF
70096
70097  ;;
70098 esac
70099
70100 if test $acx_cv_header_stdint = stddef.h; then
70101   # Lacking a good header?  Test size of everything and deduce all types.
70102   # The cast to long int works around a bug in the HP C Compiler
70103 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70104 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70105 # This bug is HP SR number 8606223364.
70106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70107 $as_echo_n "checking size of int... " >&6; }
70108 if test "${ac_cv_sizeof_int+set}" = set; then :
70109   $as_echo_n "(cached) " >&6
70110 else
70111   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
70112
70113 else
70114   if test "$ac_cv_type_int" = yes; then
70115      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70117 { as_fn_set_status 77
70118 as_fn_error "cannot compute sizeof (int)
70119 See \`config.log' for more details." "$LINENO" 5; }; }
70120    else
70121      ac_cv_sizeof_int=0
70122    fi
70123 fi
70124
70125 fi
70126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70127 $as_echo "$ac_cv_sizeof_int" >&6; }
70128
70129
70130
70131 cat >>confdefs.h <<_ACEOF
70132 #define SIZEOF_INT $ac_cv_sizeof_int
70133 _ACEOF
70134
70135
70136   # The cast to long int works around a bug in the HP C Compiler
70137 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70138 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70139 # This bug is HP SR number 8606223364.
70140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70141 $as_echo_n "checking size of short... " >&6; }
70142 if test "${ac_cv_sizeof_short+set}" = set; then :
70143   $as_echo_n "(cached) " >&6
70144 else
70145   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
70146
70147 else
70148   if test "$ac_cv_type_short" = yes; then
70149      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70151 { as_fn_set_status 77
70152 as_fn_error "cannot compute sizeof (short)
70153 See \`config.log' for more details." "$LINENO" 5; }; }
70154    else
70155      ac_cv_sizeof_short=0
70156    fi
70157 fi
70158
70159 fi
70160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70161 $as_echo "$ac_cv_sizeof_short" >&6; }
70162
70163
70164
70165 cat >>confdefs.h <<_ACEOF
70166 #define SIZEOF_SHORT $ac_cv_sizeof_short
70167 _ACEOF
70168
70169
70170   # The cast to long int works around a bug in the HP C Compiler
70171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70173 # This bug is HP SR number 8606223364.
70174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70175 $as_echo_n "checking size of char... " >&6; }
70176 if test "${ac_cv_sizeof_char+set}" = set; then :
70177   $as_echo_n "(cached) " >&6
70178 else
70179   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
70180
70181 else
70182   if test "$ac_cv_type_char" = yes; then
70183      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70185 { as_fn_set_status 77
70186 as_fn_error "cannot compute sizeof (char)
70187 See \`config.log' for more details." "$LINENO" 5; }; }
70188    else
70189      ac_cv_sizeof_char=0
70190    fi
70191 fi
70192
70193 fi
70194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70195 $as_echo "$ac_cv_sizeof_char" >&6; }
70196
70197
70198
70199 cat >>confdefs.h <<_ACEOF
70200 #define SIZEOF_CHAR $ac_cv_sizeof_char
70201 _ACEOF
70202
70203
70204
70205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70206 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70207   case "$ac_cv_sizeof_char" in
70208     1) acx_cv_type_int8_t=char ;;
70209     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70210   esac
70211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70212 $as_echo "$acx_cv_type_int8_t" >&6; }
70213
70214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70215 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70216   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70217     2:*) acx_cv_type_int16_t=int ;;
70218     *:2) acx_cv_type_int16_t=short ;;
70219     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70220   esac
70221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70222 $as_echo "$acx_cv_type_int16_t" >&6; }
70223
70224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70225 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70226   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70227     4:*) acx_cv_type_int32_t=int ;;
70228     *:4) acx_cv_type_int32_t=long ;;
70229     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70230   esac
70231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70232 $as_echo "$acx_cv_type_int32_t" >&6; }
70233 fi
70234
70235 # These tests are here to make the output prettier
70236
70237 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70238   case "$ac_cv_sizeof_long" in
70239     8) acx_cv_type_int64_t=long ;;
70240   esac
70241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70242 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70244 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70245 fi
70246
70247 # Now we can use the above types
70248
70249 if test "$ac_cv_type_uintptr_t" != yes; then
70250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70251 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70252   case $ac_cv_sizeof_void_p in
70253     2) acx_cv_type_intptr_t=int16_t ;;
70254     4) acx_cv_type_intptr_t=int32_t ;;
70255     8) acx_cv_type_intptr_t=int64_t ;;
70256     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70257   esac
70258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70259 $as_echo "$acx_cv_type_intptr_t" >&6; }
70260 fi
70261
70262 # ----------------- done all checks, emit header -------------
70263 ac_config_commands="$ac_config_commands include/gstdint.h"
70264
70265
70266
70267
70268
70269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70270 $as_echo_n "checking for GNU c++filt... " >&6; }
70271 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70272   $as_echo_n "(cached) " >&6
70273 else
70274   if test -z "$CXXFILT"; then
70275   ac_path_CXXFILT_found=false
70276   # Loop through the user's path and test for each of PROGNAME-LIST
70277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70278 for as_dir in $PATH
70279 do
70280   IFS=$as_save_IFS
70281   test -z "$as_dir" && as_dir=.
70282     for ac_prog in c++filt gc++filt; do
70283     for ac_exec_ext in '' $ac_executable_extensions; do
70284       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70285       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70286 # Check for GNU $ac_path_CXXFILT
70287 case `"$ac_path_CXXFILT" --version 2>&1` in
70288 *GNU*)
70289   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70290 esac
70291
70292       $ac_path_CXXFILT_found && break 3
70293     done
70294   done
70295   done
70296 IFS=$as_save_IFS
70297   if test -z "$ac_cv_path_CXXFILT"; then
70298     :
70299   fi
70300 else
70301   ac_cv_path_CXXFILT=$CXXFILT
70302 fi
70303
70304 fi
70305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70306 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70307   CXXFILT=$ac_cv_path_CXXFILT
70308
70309
70310
70311  # Check whether --enable-symvers was given.
70312 if test "${enable_symvers+set}" = set; then :
70313   enableval=$enable_symvers;
70314       case "$enableval" in
70315        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70316        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70317                         esac
70318
70319 else
70320   enable_symvers=yes
70321 fi
70322
70323
70324
70325 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70326 # don't know enough about $LD to do tricks...
70327
70328 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70329 # with extern "C++" in version scripts.
70330
70331
70332 # Turn a 'yes' into a suitable default.
70333 if test x$enable_symvers = xyes ; then
70334   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70335     enable_symvers=no
70336   else
70337     if test $with_gnu_ld = yes ; then
70338       case ${target_os} in
70339         hpux*)
70340           enable_symvers=no ;;
70341         *)
70342           enable_symvers=gnu ;;
70343       esac
70344     else
70345       case ${target_os} in
70346         darwin*)
70347           enable_symvers=darwin ;;
70348         # Sun symbol versioning exists since Solaris 2.5.
70349         solaris2.[5-9]* | solaris2.1[0-9]*)
70350           # make_sunver.pl needs GNU c++filt to support extern "C++" in
70351           # version scripts, so disable symbol versioning if none can be
70352           # found.
70353           if test -z "$ac_cv_path_CXXFILT"; then
70354             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70355 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70356             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
70357 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
70358             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70359 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70360             enable_symvers=no
70361           else
70362             enable_symvers=sun
70363           fi
70364           ;;
70365         *)
70366           enable_symvers=no ;;
70367       esac
70368     fi
70369   fi
70370 fi
70371
70372 # Check to see if 'darwin' or 'darwin-export' can win.
70373 if test x$enable_symvers = xdarwin-export ; then
70374     enable_symvers=darwin
70375 fi
70376
70377 # Check if 'sun' was requested on non-Solaris 2 platforms.
70378 if test x$enable_symvers = xsun ; then
70379   case ${target_os} in
70380     solaris2*)
70381       # All fine.
70382       ;;
70383     *)
70384       # Unlikely to work.
70385       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70386 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70387       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70388 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70389       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70390 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70391       enable_symvers=no
70392       ;;
70393   esac
70394 fi
70395
70396 # Check to see if 'gnu' can win.
70397 if test $enable_symvers = gnu ||
70398   test $enable_symvers = gnu-versioned-namespace ||
70399   test $enable_symvers = sun; then
70400   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70402 $as_echo_n "checking for shared libgcc... " >&6; }
70403   ac_save_CFLAGS="$CFLAGS"
70404   CFLAGS=' -lgcc_s'
70405   if test x$gcc_no_link = xyes; then
70406   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70407 fi
70408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70409 /* end confdefs.h.  */
70410
70411 int
70412 main ()
70413 {
70414 return 0;
70415   ;
70416   return 0;
70417 }
70418 _ACEOF
70419 if ac_fn_c_try_link "$LINENO"; then :
70420   glibcxx_shared_libgcc=yes
70421 else
70422   glibcxx_shared_libgcc=no
70423 fi
70424 rm -f core conftest.err conftest.$ac_objext \
70425     conftest$ac_exeext conftest.$ac_ext
70426   CFLAGS="$ac_save_CFLAGS"
70427   if test $glibcxx_shared_libgcc = no; then
70428     cat > conftest.c <<EOF
70429 int main (void) { return 0; }
70430 EOF
70431     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70432                              -shared -shared-libgcc -o conftest.so \
70433                              conftest.c -v 2>&1 >/dev/null \
70434                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70435     rm -f conftest.c conftest.so
70436     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70437       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70438       if test x$gcc_no_link = xyes; then
70439   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70440 fi
70441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70442 /* end confdefs.h.  */
70443
70444 int
70445 main ()
70446 {
70447 return 0;
70448   ;
70449   return 0;
70450 }
70451 _ACEOF
70452 if ac_fn_c_try_link "$LINENO"; then :
70453   glibcxx_shared_libgcc=yes
70454 fi
70455 rm -f core conftest.err conftest.$ac_objext \
70456     conftest$ac_exeext conftest.$ac_ext
70457       CFLAGS="$ac_save_CFLAGS"
70458     fi
70459   fi
70460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70461 $as_echo "$glibcxx_shared_libgcc" >&6; }
70462
70463   # For GNU ld, we need at least this version.  The format is described in
70464   # GLIBCXX_CHECK_LINKER_FEATURES above.
70465   glibcxx_min_gnu_ld_version=21400
70466
70467   # If no shared libgcc, can't win.
70468   if test $glibcxx_shared_libgcc != yes; then
70469       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70470 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70471       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70472 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70473       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70474 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70475       enable_symvers=no
70476   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70477     : All interesting versions of Sun ld support sun style symbol versioning.
70478   elif test $with_gnu_ld != yes ; then
70479     # just fail for now
70480     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70481 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70482     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70483 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70484     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70485 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70486     enable_symvers=no
70487   elif test $glibcxx_ld_is_gold = yes ; then
70488     : All versions of gold support symbol versioning.
70489   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70490     # The right tools, the right setup, but too old.  Fallbacks?
70491     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70492 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70493     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70494 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70495     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70496 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70497     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70498 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70499     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70500 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70501     enable_symvers=no
70502   fi
70503 fi
70504
70505 # For libtool versioning info, format is CURRENT:REVISION:AGE
70506 libtool_VERSION=6:18:0
70507
70508 # Everything parsed; figure out what files and settings to use.
70509 case $enable_symvers in
70510   no)
70511     SYMVER_FILE=config/abi/pre/none.ver
70512     ;;
70513   gnu)
70514     SYMVER_FILE=config/abi/pre/gnu.ver
70515
70516 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70517
70518     ;;
70519   gnu-versioned-namespace)
70520     libtool_VERSION=7:0:0
70521     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70522
70523 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70524
70525     ;;
70526   darwin)
70527     SYMVER_FILE=config/abi/pre/gnu.ver
70528
70529 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70530
70531     ;;
70532   sun)
70533     SYMVER_FILE=config/abi/pre/gnu.ver
70534
70535 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70536
70537     ;;
70538 esac
70539
70540 if test x$enable_symvers != xno ; then
70541
70542 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70543
70544 fi
70545
70546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70547 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70548 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70549   $as_echo_n "(cached) " >&6
70550 else
70551
70552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70553 /* end confdefs.h.  */
70554 void foo (void); __asm (".symver foo, bar@SYMVER");
70555 int
70556 main ()
70557 {
70558
70559   ;
70560   return 0;
70561 }
70562 _ACEOF
70563 if ac_fn_c_try_compile "$LINENO"; then :
70564   glibcxx_cv_have_as_symver_directive=yes
70565 else
70566   glibcxx_cv_have_as_symver_directive=no
70567 fi
70568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70569 fi
70570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70571 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70572 if test $glibcxx_cv_have_as_symver_directive = yes; then
70573
70574 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70575
70576 fi
70577
70578
70579
70580
70581
70582
70583
70584
70585 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70586 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70587
70588 if test $enable_symvers != no ; then
70589    case ${target_os} in
70590      # The Solaris 2 runtime linker doesn't support the GNU extension of
70591      # binding the same symbol to different versions
70592      solaris2*)
70593        ;;
70594      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70595      *)
70596
70597 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70598
70599        ;;
70600     esac
70601 fi
70602
70603 # Now, set up compatibility support, if any.
70604 # In addition, need this to deal with std::size_t mangling in
70605 # src/compatibility.cc.  In a perfect world, could use
70606 # typeid(std::size_t).name()[0] to do direct substitution.
70607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70608 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70609 ac_save_CFLAGS="$CFLAGS"
70610 CFLAGS="-Werror"
70611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70612 /* end confdefs.h.  */
70613
70614 int
70615 main ()
70616 {
70617 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70618   ;
70619   return 0;
70620 }
70621 _ACEOF
70622 if ac_fn_c_try_compile "$LINENO"; then :
70623   glibcxx_size_t_is_i=yes
70624 else
70625   glibcxx_size_t_is_i=no
70626 fi
70627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70628 CFLAGS=$ac_save_CFLAGS
70629 if test "$glibcxx_size_t_is_i" = yes; then
70630
70631 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70632
70633 fi
70634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70635 $as_echo "$glibcxx_size_t_is_i" >&6; }
70636
70637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70638 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70639 ac_save_CFLAGS="$CFLAGS"
70640 CFLAGS="-Werror"
70641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70642 /* end confdefs.h.  */
70643
70644 int
70645 main ()
70646 {
70647 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70648   ;
70649   return 0;
70650 }
70651 _ACEOF
70652 if ac_fn_c_try_compile "$LINENO"; then :
70653   glibcxx_ptrdiff_t_is_i=yes
70654 else
70655   glibcxx_ptrdiff_t_is_i=no
70656 fi
70657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70658 CFLAGS=$ac_save_CFLAGS
70659 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70660
70661 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70662
70663 fi
70664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70665 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70666
70667
70668
70669
70670  # Check whether --enable-libstdcxx-visibility was given.
70671 if test "${enable_libstdcxx_visibility+set}" = set; then :
70672   enableval=$enable_libstdcxx_visibility;
70673       case "$enableval" in
70674        yes|no) ;;
70675        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70676       esac
70677
70678 else
70679   enable_libstdcxx_visibility=yes
70680 fi
70681
70682
70683
70684 if test x$enable_libstdcxx_visibility = xyes ; then
70685       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70686 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70687 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70688   $as_echo_n "(cached) " >&6
70689 else
70690
70691   save_CFLAGS="$CFLAGS"
70692   CFLAGS="$CFLAGS -Werror"
70693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70694 /* end confdefs.h.  */
70695 void __attribute__((visibility("hidden"))) foo(void) { }
70696 int
70697 main ()
70698 {
70699
70700   ;
70701   return 0;
70702 }
70703 _ACEOF
70704 if ac_fn_c_try_compile "$LINENO"; then :
70705   glibcxx_cv_have_attribute_visibility=yes
70706 else
70707   glibcxx_cv_have_attribute_visibility=no
70708 fi
70709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70710   CFLAGS="$save_CFLAGS"
70711 fi
70712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70713 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70714   if test $glibcxx_cv_have_attribute_visibility = no; then
70715     enable_libstdcxx_visibility=no
70716   fi
70717 fi
70718
70719
70720 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70721 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70722
70723
70724 ac_ldbl_compat=no
70725 case "$target" in
70726   powerpc*-*-linux* | \
70727   sparc*-*-linux* | \
70728   s390*-*-linux* | \
70729   alpha*-*-linux*)
70730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70731 /* end confdefs.h.  */
70732
70733 int
70734 main ()
70735 {
70736
70737 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70738 #error no need for long double compatibility
70739 #endif
70740
70741   ;
70742   return 0;
70743 }
70744 _ACEOF
70745 if ac_fn_c_try_compile "$LINENO"; then :
70746   ac_ldbl_compat=yes
70747 else
70748   ac_ldbl_compat=no
70749 fi
70750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70751   if test "$ac_ldbl_compat" = yes; then
70752
70753 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70754
70755     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70756   fi
70757 esac
70758
70759
70760 # Check if assembler supports disabling hardware capability support.
70761
70762   test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70763
70764   ac_save_CFLAGS="$CFLAGS"
70765   CFLAGS="$CFLAGS -Wa,-nH"
70766
70767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70768 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70770 /* end confdefs.h.  */
70771
70772 int
70773 main ()
70774 {
70775 return 0;
70776   ;
70777   return 0;
70778 }
70779 _ACEOF
70780 if ac_fn_c_try_compile "$LINENO"; then :
70781   ac_hwcap_flags=yes
70782 else
70783   ac_hwcap_flags=no
70784 fi
70785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70786   if test "$ac_hwcap_flags" = "yes"; then
70787     HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70788   fi
70789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70790 $as_echo "$ac_hwcap_flags" >&6; }
70791
70792   CFLAGS="$ac_save_CFLAGS"
70793
70794
70795
70796
70797 # Check if assembler supports rdrand opcode.
70798
70799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70800 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70801   if test "${ac_cv_x86_rdrand+set}" = set; then :
70802   $as_echo_n "(cached) " >&6
70803 else
70804
70805   ac_cv_x86_rdrand=no
70806   case "$target" in
70807     i?86-*-* | \
70808     x86_64-*-*)
70809     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70810 /* end confdefs.h.  */
70811
70812 int
70813 main ()
70814 {
70815 asm("rdrand %eax");
70816   ;
70817   return 0;
70818 }
70819 _ACEOF
70820 if ac_fn_c_try_compile "$LINENO"; then :
70821   ac_cv_x86_rdrand=yes
70822 else
70823   ac_cv_x86_rdrand=no
70824 fi
70825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70826   esac
70827
70828 fi
70829
70830   if test $ac_cv_x86_rdrand = yes; then
70831
70832 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70833
70834   fi
70835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70836 $as_echo "$ac_cv_x86_rdrand" >&6; }
70837
70838
70839 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70840
70841   if $GLIBCXX_IS_NATIVE ; then
70842     # Do checks for resource limit functions.
70843
70844   setrlimit_have_headers=yes
70845   for ac_header in unistd.h sys/time.h sys/resource.h
70846 do :
70847   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70848 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70849 eval as_val=\$$as_ac_Header
70850    if test "x$as_val" = x""yes; then :
70851   cat >>confdefs.h <<_ACEOF
70852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70853 _ACEOF
70854
70855 else
70856   setrlimit_have_headers=no
70857 fi
70858
70859 done
70860
70861   # If don't have the headers, then we can't run the tests now, and we
70862   # won't be seeing any of these during testsuite compilation.
70863   if test $setrlimit_have_headers = yes; then
70864     # Can't do these in a loop, else the resulting syntax is wrong.
70865
70866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70867 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70869 /* end confdefs.h.  */
70870 #include <unistd.h>
70871      #include <sys/time.h>
70872      #include <sys/resource.h>
70873
70874 int
70875 main ()
70876 {
70877  int f = RLIMIT_DATA ;
70878   ;
70879   return 0;
70880 }
70881 _ACEOF
70882 if ac_fn_c_try_compile "$LINENO"; then :
70883   glibcxx_mresult=1
70884 else
70885   glibcxx_mresult=0
70886 fi
70887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70888
70889 cat >>confdefs.h <<_ACEOF
70890 #define HAVE_LIMIT_DATA $glibcxx_mresult
70891 _ACEOF
70892
70893   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70895 $as_echo "$res" >&6; }
70896
70897
70898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70899 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70901 /* end confdefs.h.  */
70902 #include <unistd.h>
70903      #include <sys/time.h>
70904      #include <sys/resource.h>
70905
70906 int
70907 main ()
70908 {
70909  int f = RLIMIT_RSS ;
70910   ;
70911   return 0;
70912 }
70913 _ACEOF
70914 if ac_fn_c_try_compile "$LINENO"; then :
70915   glibcxx_mresult=1
70916 else
70917   glibcxx_mresult=0
70918 fi
70919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70920
70921 cat >>confdefs.h <<_ACEOF
70922 #define HAVE_LIMIT_RSS $glibcxx_mresult
70923 _ACEOF
70924
70925   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70927 $as_echo "$res" >&6; }
70928
70929
70930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70931 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70933 /* end confdefs.h.  */
70934 #include <unistd.h>
70935      #include <sys/time.h>
70936      #include <sys/resource.h>
70937
70938 int
70939 main ()
70940 {
70941  int f = RLIMIT_VMEM ;
70942   ;
70943   return 0;
70944 }
70945 _ACEOF
70946 if ac_fn_c_try_compile "$LINENO"; then :
70947   glibcxx_mresult=1
70948 else
70949   glibcxx_mresult=0
70950 fi
70951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70952
70953 cat >>confdefs.h <<_ACEOF
70954 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70955 _ACEOF
70956
70957   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70959 $as_echo "$res" >&6; }
70960
70961
70962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70963 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70965 /* end confdefs.h.  */
70966 #include <unistd.h>
70967      #include <sys/time.h>
70968      #include <sys/resource.h>
70969
70970 int
70971 main ()
70972 {
70973  int f = RLIMIT_AS ;
70974   ;
70975   return 0;
70976 }
70977 _ACEOF
70978 if ac_fn_c_try_compile "$LINENO"; then :
70979   glibcxx_mresult=1
70980 else
70981   glibcxx_mresult=0
70982 fi
70983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70984
70985 cat >>confdefs.h <<_ACEOF
70986 #define HAVE_LIMIT_AS $glibcxx_mresult
70987 _ACEOF
70988
70989   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70991 $as_echo "$res" >&6; }
70992
70993
70994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70995 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70997 /* end confdefs.h.  */
70998 #include <unistd.h>
70999      #include <sys/time.h>
71000      #include <sys/resource.h>
71001
71002 int
71003 main ()
71004 {
71005  int f = RLIMIT_FSIZE ;
71006   ;
71007   return 0;
71008 }
71009 _ACEOF
71010 if ac_fn_c_try_compile "$LINENO"; then :
71011   glibcxx_mresult=1
71012 else
71013   glibcxx_mresult=0
71014 fi
71015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71016
71017 cat >>confdefs.h <<_ACEOF
71018 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
71019 _ACEOF
71020
71021   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71023 $as_echo "$res" >&6; }
71024
71025
71026     # Check for rlimit, setrlimit.
71027     if test "${glibcxx_cv_setrlimit+set}" = set; then :
71028   $as_echo_n "(cached) " >&6
71029 else
71030
71031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71032 /* end confdefs.h.  */
71033 #include <unistd.h>
71034          #include <sys/time.h>
71035          #include <sys/resource.h>
71036
71037 int
71038 main ()
71039 {
71040 struct rlimit r;
71041          setrlimit(0, &r);
71042   ;
71043   return 0;
71044 }
71045 _ACEOF
71046 if ac_fn_c_try_compile "$LINENO"; then :
71047   glibcxx_cv_setrlimit=yes
71048 else
71049   glibcxx_cv_setrlimit=no
71050 fi
71051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71052
71053 fi
71054
71055   fi
71056
71057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
71058 $as_echo_n "checking for testsuite resource limits support... " >&6; }
71059   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
71060     ac_res_limits=yes
71061
71062 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
71063
71064   else
71065     ac_res_limits=no
71066   fi
71067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
71068 $as_echo "$ac_res_limits" >&6; }
71069
71070
71071     # Look for setenv, so that extended locale tests can be performed.
71072
71073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71074 $as_echo_n "checking for setenv declaration... " >&6; }
71075   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71076     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71077   $as_echo_n "(cached) " >&6
71078 else
71079
71080
71081       ac_ext=cpp
71082 ac_cpp='$CXXCPP $CPPFLAGS'
71083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71086
71087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71088 /* end confdefs.h.  */
71089 #include <stdlib.h>
71090 int
71091 main ()
71092 {
71093  setenv(0, 0, 0);
71094   ;
71095   return 0;
71096 }
71097 _ACEOF
71098 if ac_fn_cxx_try_compile "$LINENO"; then :
71099   glibcxx_cv_func_setenv_use=yes
71100 else
71101   glibcxx_cv_func_setenv_use=no
71102 fi
71103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71104       ac_ext=c
71105 ac_cpp='$CPP $CPPFLAGS'
71106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71109
71110
71111 fi
71112
71113   fi
71114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71115 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71116   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71117     for ac_func in setenv
71118 do :
71119   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71120 if test "x$ac_cv_func_setenv" = x""yes; then :
71121   cat >>confdefs.h <<_ACEOF
71122 #define HAVE_SETENV 1
71123 _ACEOF
71124
71125 fi
71126 done
71127
71128   fi
71129
71130   fi
71131
71132   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71133      test $enable_symvers != no; then
71134     case "$host" in
71135       *-*-cygwin*)
71136         enable_abi_check=no ;;
71137       *)
71138         enable_abi_check=yes ;;
71139     esac
71140   else
71141     # Only build this as native, since automake does not understand
71142     # CXX_FOR_BUILD.
71143     enable_abi_check=no
71144   fi
71145
71146   # Export file names for ABI checking.
71147   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71148
71149   baseline_subdir_switch="$abi_baseline_subdir_switch"
71150
71151
71152
71153 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
71154
71155    # Check whether --enable-libstdcxx-threads was given.
71156 if test "${enable_libstdcxx_threads+set}" = set; then :
71157   enableval=$enable_libstdcxx_threads;
71158       case "$enableval" in
71159        yes|no) ;;
71160        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71161       esac
71162
71163 else
71164   enable_libstdcxx_threads=auto
71165 fi
71166
71167
71168
71169   if test x$enable_libstdcxx_threads = xauto ||
71170      test x$enable_libstdcxx_threads = xyes; then
71171
71172
71173   ac_ext=cpp
71174 ac_cpp='$CXXCPP $CPPFLAGS'
71175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71178
71179
71180   ac_save_CXXFLAGS="$CXXFLAGS"
71181   CXXFLAGS="$CXXFLAGS -fno-exceptions \
71182         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71183
71184   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71185   case $target_thread_file in
71186     posix)
71187       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71188   esac
71189
71190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71191 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71192
71193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71194 /* end confdefs.h.  */
71195 #include <unistd.h>
71196 int
71197 main ()
71198 {
71199
71200       // In case of POSIX threads check _POSIX_TIMEOUTS.
71201       #if (defined(_PTHREADS) \
71202           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71203       #error
71204       #endif
71205
71206   ;
71207   return 0;
71208 }
71209 _ACEOF
71210 if ac_fn_cxx_try_compile "$LINENO"; then :
71211   ac_gthread_use_mutex_timedlock=1
71212 else
71213   ac_gthread_use_mutex_timedlock=0
71214 fi
71215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71216
71217
71218 cat >>confdefs.h <<_ACEOF
71219 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71220 _ACEOF
71221
71222
71223   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71224   else res_mutex_timedlock=no ; fi
71225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71226 $as_echo "$res_mutex_timedlock" >&6; }
71227
71228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71229 $as_echo_n "checking for gthreads library... " >&6; }
71230
71231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71232 /* end confdefs.h.  */
71233 #include "gthr.h"
71234 int
71235 main ()
71236 {
71237
71238       #ifndef __GTHREADS_CXX0X
71239       #error
71240       #endif
71241
71242   ;
71243   return 0;
71244 }
71245 _ACEOF
71246 if ac_fn_cxx_try_compile "$LINENO"; then :
71247   case $target_os in
71248           # gthreads support breaks symbol versioning on Solaris 9 (PR
71249           # libstdc++/52189).
71250           solaris2.9*)
71251             if test x$enable_symvers = xno; then
71252               ac_has_gthreads=yes
71253             elif test x$enable_libstdcxx_threads = xyes; then
71254               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71255 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71256               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71257 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71258               ac_has_gthreads=yes
71259             else
71260               ac_has_gthreads=no
71261             fi
71262             ;;
71263           *)
71264             ac_has_gthreads=yes
71265             ;;
71266         esac
71267 else
71268   ac_has_gthreads=no
71269 fi
71270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71271   else
71272     ac_has_gthreads=no
71273   fi
71274
71275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71276 $as_echo "$ac_has_gthreads" >&6; }
71277
71278   if test x"$ac_has_gthreads" = x"yes"; then
71279
71280 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71281
71282   fi
71283
71284   CXXFLAGS="$ac_save_CXXFLAGS"
71285   ac_ext=c
71286 ac_cpp='$CPP $CPPFLAGS'
71287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71290
71291
71292
71293 # Define documentation rules conditionally.
71294
71295 # See if makeinfo has been installed and is modern enough
71296 # that we can use it.
71297
71298   # Extract the first word of "makeinfo", so it can be a program name with args.
71299 set dummy makeinfo; ac_word=$2
71300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71301 $as_echo_n "checking for $ac_word... " >&6; }
71302 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71303   $as_echo_n "(cached) " >&6
71304 else
71305   if test -n "$MAKEINFO"; then
71306   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71307 else
71308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71309 for as_dir in $PATH
71310 do
71311   IFS=$as_save_IFS
71312   test -z "$as_dir" && as_dir=.
71313     for ac_exec_ext in '' $ac_executable_extensions; do
71314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71315     ac_cv_prog_MAKEINFO="makeinfo"
71316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71317     break 2
71318   fi
71319 done
71320   done
71321 IFS=$as_save_IFS
71322
71323 fi
71324 fi
71325 MAKEINFO=$ac_cv_prog_MAKEINFO
71326 if test -n "$MAKEINFO"; then
71327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71328 $as_echo "$MAKEINFO" >&6; }
71329 else
71330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71331 $as_echo "no" >&6; }
71332 fi
71333
71334
71335   if test -n "$MAKEINFO"; then
71336     # Found it, now check the version.
71337     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71338 $as_echo_n "checking for modern makeinfo... " >&6; }
71339 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71340   $as_echo_n "(cached) " >&6
71341 else
71342   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71343                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71344
71345                     case $ac_prog_version in
71346                       '')  gcc_cv_prog_makeinfo_modern=no;;
71347                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
71348                       *)   gcc_cv_prog_makeinfo_modern=no;;
71349                     esac
71350
71351 fi
71352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71353 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71354   else
71355     gcc_cv_prog_makeinfo_modern=no
71356   fi
71357   if test $gcc_cv_prog_makeinfo_modern = no; then
71358     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71359   fi
71360
71361  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71362   BUILD_INFO_TRUE=
71363   BUILD_INFO_FALSE='#'
71364 else
71365   BUILD_INFO_TRUE='#'
71366   BUILD_INFO_FALSE=
71367 fi
71368
71369
71370 # Check for doxygen
71371 # Extract the first word of "doxygen", so it can be a program name with args.
71372 set dummy doxygen; ac_word=$2
71373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71374 $as_echo_n "checking for $ac_word... " >&6; }
71375 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71376   $as_echo_n "(cached) " >&6
71377 else
71378   if test -n "$DOXYGEN"; then
71379   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71380 else
71381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71382 for as_dir in $PATH
71383 do
71384   IFS=$as_save_IFS
71385   test -z "$as_dir" && as_dir=.
71386     for ac_exec_ext in '' $ac_executable_extensions; do
71387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71388     ac_cv_prog_DOXYGEN="yes"
71389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71390     break 2
71391   fi
71392 done
71393   done
71394 IFS=$as_save_IFS
71395
71396   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71397 fi
71398 fi
71399 DOXYGEN=$ac_cv_prog_DOXYGEN
71400 if test -n "$DOXYGEN"; then
71401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71402 $as_echo "$DOXYGEN" >&6; }
71403 else
71404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71405 $as_echo "no" >&6; }
71406 fi
71407
71408
71409 # Extract the first word of "dot", so it can be a program name with args.
71410 set dummy dot; ac_word=$2
71411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71412 $as_echo_n "checking for $ac_word... " >&6; }
71413 if test "${ac_cv_prog_DOT+set}" = set; then :
71414   $as_echo_n "(cached) " >&6
71415 else
71416   if test -n "$DOT"; then
71417   ac_cv_prog_DOT="$DOT" # Let the user override the test.
71418 else
71419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71420 for as_dir in $PATH
71421 do
71422   IFS=$as_save_IFS
71423   test -z "$as_dir" && as_dir=.
71424     for ac_exec_ext in '' $ac_executable_extensions; do
71425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71426     ac_cv_prog_DOT="yes"
71427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71428     break 2
71429   fi
71430 done
71431   done
71432 IFS=$as_save_IFS
71433
71434   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71435 fi
71436 fi
71437 DOT=$ac_cv_prog_DOT
71438 if test -n "$DOT"; then
71439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71440 $as_echo "$DOT" >&6; }
71441 else
71442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71443 $as_echo "no" >&6; }
71444 fi
71445
71446
71447
71448 # Check for docbook
71449 # Extract the first word of "xsltproc", so it can be a program name with args.
71450 set dummy xsltproc; ac_word=$2
71451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71452 $as_echo_n "checking for $ac_word... " >&6; }
71453 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71454   $as_echo_n "(cached) " >&6
71455 else
71456   if test -n "$XSLTPROC"; then
71457   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71458 else
71459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71460 for as_dir in $PATH
71461 do
71462   IFS=$as_save_IFS
71463   test -z "$as_dir" && as_dir=.
71464     for ac_exec_ext in '' $ac_executable_extensions; do
71465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71466     ac_cv_prog_XSLTPROC="yes"
71467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71468     break 2
71469   fi
71470 done
71471   done
71472 IFS=$as_save_IFS
71473
71474   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71475 fi
71476 fi
71477 XSLTPROC=$ac_cv_prog_XSLTPROC
71478 if test -n "$XSLTPROC"; then
71479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71480 $as_echo "$XSLTPROC" >&6; }
71481 else
71482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71483 $as_echo "no" >&6; }
71484 fi
71485
71486
71487 # Extract the first word of "xmllint", so it can be a program name with args.
71488 set dummy xmllint; ac_word=$2
71489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71490 $as_echo_n "checking for $ac_word... " >&6; }
71491 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71492   $as_echo_n "(cached) " >&6
71493 else
71494   if test -n "$XMLLINT"; then
71495   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71496 else
71497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71498 for as_dir in $PATH
71499 do
71500   IFS=$as_save_IFS
71501   test -z "$as_dir" && as_dir=.
71502     for ac_exec_ext in '' $ac_executable_extensions; do
71503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71504     ac_cv_prog_XMLLINT="yes"
71505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71506     break 2
71507   fi
71508 done
71509   done
71510 IFS=$as_save_IFS
71511
71512   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71513 fi
71514 fi
71515 XMLLINT=$ac_cv_prog_XMLLINT
71516 if test -n "$XMLLINT"; then
71517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71518 $as_echo "$XMLLINT" >&6; }
71519 else
71520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71521 $as_echo "no" >&6; }
71522 fi
71523
71524
71525
71526
71527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71528 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71529 glibcxx_stylesheets=no
71530 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
71531   glibcxx_stylesheets=yes
71532 fi
71533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71534 $as_echo "$glibcxx_stylesheets" >&6; }
71535
71536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71537 $as_echo_n "checking for local stylesheet directory... " >&6; }
71538 glibcxx_local_stylesheets=no
71539 if test x"$glibcxx_stylesheets" = x"yes"; then
71540   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71541     glibcxx_local_stylesheets=yes
71542     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71543   fi
71544   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71545     glibcxx_local_stylesheets=yes
71546     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71547   fi
71548   if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
71549     glibcxx_local_stylesheets=yes
71550     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
71551   fi
71552 fi
71553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71554 $as_echo "$glibcxx_local_stylesheets" >&6; }
71555
71556 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71557
71558   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71559 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71560 else
71561   glibcxx_stylesheets=no
71562 fi
71563
71564 # Check for epub3 dependencies.
71565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71566 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71567 glibcxx_epub_stylesheets=no
71568 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71569    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71570       glibcxx_epub_stylesheets=yes
71571    fi
71572 fi
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71574 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71575  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71576   BUILD_EPUB_TRUE=
71577   BUILD_EPUB_FALSE='#'
71578 else
71579   BUILD_EPUB_TRUE='#'
71580   BUILD_EPUB_FALSE=
71581 fi
71582
71583
71584
71585
71586 # Check for xml/html dependencies.
71587  if test $ac_cv_prog_DOXYGEN = "yes" &&
71588                test $ac_cv_prog_DOT = "yes" &&
71589                test $ac_cv_prog_XSLTPROC = "yes" &&
71590                test $ac_cv_prog_XMLLINT = "yes" &&
71591                test $glibcxx_stylesheets = "yes"; then
71592   BUILD_XML_TRUE=
71593   BUILD_XML_FALSE='#'
71594 else
71595   BUILD_XML_TRUE='#'
71596   BUILD_XML_FALSE=
71597 fi
71598
71599
71600  if test $ac_cv_prog_DOXYGEN = "yes" &&
71601                test $ac_cv_prog_DOT = "yes" &&
71602                test $ac_cv_prog_XSLTPROC = "yes" &&
71603                test $ac_cv_prog_XMLLINT = "yes" &&
71604                test $glibcxx_stylesheets = "yes"; then
71605   BUILD_HTML_TRUE=
71606   BUILD_HTML_FALSE='#'
71607 else
71608   BUILD_HTML_TRUE='#'
71609   BUILD_HTML_FALSE=
71610 fi
71611
71612
71613 # Check for man dependencies.
71614  if test $ac_cv_prog_DOXYGEN = "yes" &&
71615                test $ac_cv_prog_DOT = "yes"; then
71616   BUILD_MAN_TRUE=
71617   BUILD_MAN_FALSE='#'
71618 else
71619   BUILD_MAN_TRUE='#'
71620   BUILD_MAN_FALSE=
71621 fi
71622
71623
71624 # Check for pdf dependencies.
71625 # Extract the first word of "dblatex", so it can be a program name with args.
71626 set dummy dblatex; ac_word=$2
71627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71628 $as_echo_n "checking for $ac_word... " >&6; }
71629 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71630   $as_echo_n "(cached) " >&6
71631 else
71632   if test -n "$DBLATEX"; then
71633   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71634 else
71635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71636 for as_dir in $PATH
71637 do
71638   IFS=$as_save_IFS
71639   test -z "$as_dir" && as_dir=.
71640     for ac_exec_ext in '' $ac_executable_extensions; do
71641   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71642     ac_cv_prog_DBLATEX="yes"
71643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71644     break 2
71645   fi
71646 done
71647   done
71648 IFS=$as_save_IFS
71649
71650   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71651 fi
71652 fi
71653 DBLATEX=$ac_cv_prog_DBLATEX
71654 if test -n "$DBLATEX"; then
71655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71656 $as_echo "$DBLATEX" >&6; }
71657 else
71658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71659 $as_echo "no" >&6; }
71660 fi
71661
71662
71663 # Extract the first word of "pdflatex", so it can be a program name with args.
71664 set dummy pdflatex; ac_word=$2
71665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71666 $as_echo_n "checking for $ac_word... " >&6; }
71667 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71668   $as_echo_n "(cached) " >&6
71669 else
71670   if test -n "$PDFLATEX"; then
71671   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71672 else
71673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71674 for as_dir in $PATH
71675 do
71676   IFS=$as_save_IFS
71677   test -z "$as_dir" && as_dir=.
71678     for ac_exec_ext in '' $ac_executable_extensions; do
71679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71680     ac_cv_prog_PDFLATEX="yes"
71681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71682     break 2
71683   fi
71684 done
71685   done
71686 IFS=$as_save_IFS
71687
71688   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71689 fi
71690 fi
71691 PDFLATEX=$ac_cv_prog_PDFLATEX
71692 if test -n "$PDFLATEX"; then
71693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71694 $as_echo "$PDFLATEX" >&6; }
71695 else
71696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71697 $as_echo "no" >&6; }
71698 fi
71699
71700
71701  if test $ac_cv_prog_DBLATEX = "yes" &&
71702                test $ac_cv_prog_PDFLATEX = "yes"; then
71703   BUILD_PDF_TRUE=
71704   BUILD_PDF_FALSE='#'
71705 else
71706   BUILD_PDF_TRUE='#'
71707   BUILD_PDF_FALSE=
71708 fi
71709
71710
71711
71712 # Propagate the target-specific source directories through the build chain.
71713 ATOMICITY_SRCDIR=config/${atomicity_dir}
71714 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71715 ATOMIC_FLAGS=${atomic_flags}
71716 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71717 OS_INC_SRCDIR=config/${os_include_dir}
71718 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71719 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71720 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71721 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
71722
71723
71724
71725
71726
71727
71728
71729
71730
71731
71732
71733 # Determine cross-compile flags and AM_CONDITIONALs.
71734 #AC_SUBST(GLIBCXX_IS_NATIVE)
71735 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71736     if test $is_hosted = yes; then
71737   GLIBCXX_HOSTED_TRUE=
71738   GLIBCXX_HOSTED_FALSE='#'
71739 else
71740   GLIBCXX_HOSTED_TRUE='#'
71741   GLIBCXX_HOSTED_FALSE=
71742 fi
71743
71744
71745     if test $enable_libstdcxx_pch = yes; then
71746   GLIBCXX_BUILD_PCH_TRUE=
71747   GLIBCXX_BUILD_PCH_FALSE='#'
71748 else
71749   GLIBCXX_BUILD_PCH_TRUE='#'
71750   GLIBCXX_BUILD_PCH_FALSE=
71751 fi
71752
71753
71754     if test $enable_cheaders = c; then
71755   GLIBCXX_C_HEADERS_C_TRUE=
71756   GLIBCXX_C_HEADERS_C_FALSE='#'
71757 else
71758   GLIBCXX_C_HEADERS_C_TRUE='#'
71759   GLIBCXX_C_HEADERS_C_FALSE=
71760 fi
71761
71762
71763     if test $enable_cheaders = c_std; then
71764   GLIBCXX_C_HEADERS_C_STD_TRUE=
71765   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71766 else
71767   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71768   GLIBCXX_C_HEADERS_C_STD_FALSE=
71769 fi
71770
71771
71772     if test $enable_cheaders = c_global; then
71773   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71774   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71775 else
71776   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71777   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71778 fi
71779
71780
71781     if test $c_compatibility = yes; then
71782   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71783   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71784 else
71785   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71786   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71787 fi
71788
71789
71790     if test $enable_libstdcxx_debug = yes; then
71791   GLIBCXX_BUILD_DEBUG_TRUE=
71792   GLIBCXX_BUILD_DEBUG_FALSE='#'
71793 else
71794   GLIBCXX_BUILD_DEBUG_TRUE='#'
71795   GLIBCXX_BUILD_DEBUG_FALSE=
71796 fi
71797
71798
71799     if test $enable_extern_template = yes; then
71800   ENABLE_EXTERN_TEMPLATE_TRUE=
71801   ENABLE_EXTERN_TEMPLATE_FALSE='#'
71802 else
71803   ENABLE_EXTERN_TEMPLATE_TRUE='#'
71804   ENABLE_EXTERN_TEMPLATE_FALSE=
71805 fi
71806
71807
71808     if test $python_mod_dir != no; then
71809   ENABLE_PYTHONDIR_TRUE=
71810   ENABLE_PYTHONDIR_FALSE='#'
71811 else
71812   ENABLE_PYTHONDIR_TRUE='#'
71813   ENABLE_PYTHONDIR_FALSE=
71814 fi
71815
71816
71817     if test $enable_werror = yes; then
71818   ENABLE_WERROR_TRUE=
71819   ENABLE_WERROR_FALSE='#'
71820 else
71821   ENABLE_WERROR_TRUE='#'
71822   ENABLE_WERROR_FALSE=
71823 fi
71824
71825
71826     if test $enable_symvers != no; then
71827   ENABLE_SYMVERS_TRUE=
71828   ENABLE_SYMVERS_FALSE='#'
71829 else
71830   ENABLE_SYMVERS_TRUE='#'
71831   ENABLE_SYMVERS_FALSE=
71832 fi
71833
71834
71835     if test $enable_symvers = gnu; then
71836   ENABLE_SYMVERS_GNU_TRUE=
71837   ENABLE_SYMVERS_GNU_FALSE='#'
71838 else
71839   ENABLE_SYMVERS_GNU_TRUE='#'
71840   ENABLE_SYMVERS_GNU_FALSE=
71841 fi
71842
71843
71844     if test $enable_symvers = gnu-versioned-namespace; then
71845   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71846   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71847 else
71848   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71849   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71850 fi
71851
71852
71853     if test $enable_symvers = darwin; then
71854   ENABLE_SYMVERS_DARWIN_TRUE=
71855   ENABLE_SYMVERS_DARWIN_FALSE='#'
71856 else
71857   ENABLE_SYMVERS_DARWIN_TRUE='#'
71858   ENABLE_SYMVERS_DARWIN_FALSE=
71859 fi
71860
71861
71862     if test $enable_symvers = sun; then
71863   ENABLE_SYMVERS_SUN_TRUE=
71864   ENABLE_SYMVERS_SUN_FALSE='#'
71865 else
71866   ENABLE_SYMVERS_SUN_TRUE='#'
71867   ENABLE_SYMVERS_SUN_FALSE=
71868 fi
71869
71870
71871     if test $enable_libstdcxx_visibility = yes; then
71872   ENABLE_VISIBILITY_TRUE=
71873   ENABLE_VISIBILITY_FALSE='#'
71874 else
71875   ENABLE_VISIBILITY_TRUE='#'
71876   ENABLE_VISIBILITY_FALSE=
71877 fi
71878
71879
71880     if test $ac_ldbl_compat = yes; then
71881   GLIBCXX_LDBL_COMPAT_TRUE=
71882   GLIBCXX_LDBL_COMPAT_FALSE='#'
71883 else
71884   GLIBCXX_LDBL_COMPAT_TRUE='#'
71885   GLIBCXX_LDBL_COMPAT_FALSE=
71886 fi
71887
71888
71889
71890
71891 cat >confcache <<\_ACEOF
71892 # This file is a shell script that caches the results of configure
71893 # tests run on this system so they can be shared between configure
71894 # scripts and configure runs, see configure's option --config-cache.
71895 # It is not useful on other systems.  If it contains results you don't
71896 # want to keep, you may remove or edit it.
71897 #
71898 # config.status only pays attention to the cache file if you give it
71899 # the --recheck option to rerun configure.
71900 #
71901 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71902 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71903 # following values.
71904
71905 _ACEOF
71906
71907 # The following way of writing the cache mishandles newlines in values,
71908 # but we know of no workaround that is simple, portable, and efficient.
71909 # So, we kill variables containing newlines.
71910 # Ultrix sh set writes to stderr and can't be redirected directly,
71911 # and sets the high bit in the cache file unless we assign to the vars.
71912 (
71913   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71914     eval ac_val=\$$ac_var
71915     case $ac_val in #(
71916     *${as_nl}*)
71917       case $ac_var in #(
71918       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71920       esac
71921       case $ac_var in #(
71922       _ | IFS | as_nl) ;; #(
71923       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71924       *) { eval $ac_var=; unset $ac_var;} ;;
71925       esac ;;
71926     esac
71927   done
71928
71929   (set) 2>&1 |
71930     case $as_nl`(ac_space=' '; set) 2>&1` in #(
71931     *${as_nl}ac_space=\ *)
71932       # `set' does not quote correctly, so add quotes: double-quote
71933       # substitution turns \\\\ into \\, and sed turns \\ into \.
71934       sed -n \
71935         "s/'/'\\\\''/g;
71936           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71937       ;; #(
71938     *)
71939       # `set' quotes correctly as required by POSIX, so do not add quotes.
71940       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71941       ;;
71942     esac |
71943     sort
71944 ) |
71945   sed '
71946      /^ac_cv_env_/b end
71947      t clear
71948      :clear
71949      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71950      t end
71951      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71952      :end' >>confcache
71953 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71954   if test -w "$cache_file"; then
71955     test "x$cache_file" != "x/dev/null" &&
71956       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71957 $as_echo "$as_me: updating cache $cache_file" >&6;}
71958     cat confcache >$cache_file
71959   else
71960     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71961 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71962   fi
71963 fi
71964 rm -f confcache
71965
71966 if test ${multilib} = yes; then
71967   multilib_arg="--enable-multilib"
71968 else
71969   multilib_arg=
71970 fi
71971
71972 # Export all the install information.
71973
71974   glibcxx_toolexecdir=no
71975   glibcxx_toolexeclibdir=no
71976   glibcxx_prefixdir=$prefix
71977
71978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71979 $as_echo_n "checking for gxx-include-dir... " >&6; }
71980
71981 # Check whether --with-gxx-include-dir was given.
71982 if test "${with_gxx_include_dir+set}" = set; then :
71983   withval=$with_gxx_include_dir; case "$withval" in
71984       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71985       no)  gxx_include_dir=no ;;
71986       *)   gxx_include_dir=$withval ;;
71987      esac
71988 else
71989   gxx_include_dir=no
71990 fi
71991
71992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71993 $as_echo "$gxx_include_dir" >&6; }
71994
71995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71996 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71997   # Check whether --enable-version-specific-runtime-libs was given.
71998 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71999   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
72000       yes) version_specific_libs=yes ;;
72001       no)  version_specific_libs=no ;;
72002       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
72003      esac
72004 else
72005   version_specific_libs=no
72006 fi
72007
72008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
72009 $as_echo "$version_specific_libs" >&6; }
72010
72011   # Default case for install directory for include files.
72012   if test $version_specific_libs = no && test $gxx_include_dir = no; then
72013     gxx_include_dir='include/c++/${gcc_version}'
72014     if test -n "$with_cross_host" &&
72015        test x"$with_cross_host" != x"no"; then
72016       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
72017     else
72018       gxx_include_dir='${prefix}/'"$gxx_include_dir"
72019     fi
72020   fi
72021
72022   # Version-specific runtime libs processing.
72023   if test $version_specific_libs = yes; then
72024     # Need the gcc compiler version to know where to install libraries
72025     # and header files if --enable-version-specific-runtime-libs option
72026     # is selected.  FIXME: these variables are misnamed, there are
72027     # no executables installed in _toolexecdir or _toolexeclibdir.
72028     if test x"$gxx_include_dir" = x"no"; then
72029       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
72030     fi
72031     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72032     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
72033   fi
72034
72035   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
72036   # Install a library built with a cross compiler in tooldir, not libdir.
72037   if test x"$glibcxx_toolexecdir" = x"no"; then
72038     if test -n "$with_cross_host" &&
72039        test x"$with_cross_host" != x"no"; then
72040       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
72041       glibcxx_toolexeclibdir='${toolexecdir}/lib'
72042     else
72043       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72044       glibcxx_toolexeclibdir='${libdir}'
72045     fi
72046     multi_os_directory=`$CXX -print-multi-os-directory`
72047     case $multi_os_directory in
72048       .) ;; # Avoid trailing /.
72049       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
72050     esac
72051   fi
72052
72053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
72054 $as_echo_n "checking for install location... " >&6; }
72055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72056 $as_echo "$gxx_include_dir" >&6; }
72057
72058
72059
72060
72061
72062
72063
72064 # Export all the include and flag information to Makefiles.
72065
72066   # Used for every C++ compile we perform.
72067   GLIBCXX_INCLUDES="\
72068 -I$glibcxx_builddir/include/$host_alias \
72069 -I$glibcxx_builddir/include \
72070 -I$glibcxx_srcdir/libsupc++"
72071
72072   # For Canadian crosses, pick this up too.
72073   if test $CANADIAN = yes; then
72074     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72075   fi
72076
72077   # Stuff in the actual top level.  Currently only used by libsupc++ to
72078   # get unwind* headers from the libgcc dir.
72079   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72080   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72081
72082   # Now, export this to all the little Makefiles....
72083
72084
72085
72086
72087   # Optimization flags that are probably a good idea for thrill-seekers. Just
72088   # uncomment the lines below and make, everything else is ready to go...
72089   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72090   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72091
72092
72093   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72094
72095
72096
72097 ac_config_files="$ac_config_files Makefile"
72098
72099 ac_config_files="$ac_config_files scripts/testsuite_flags"
72100
72101 ac_config_files="$ac_config_files scripts/extract_symvers"
72102
72103 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72104
72105
72106 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72107 # that multilib installs will end up installed in the correct place.
72108 # The testsuite needs it for multilib-aware ABI baseline files.
72109 # To work around this not being passed down from config-ml.in ->
72110 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72111 # append it here.  Only modify Makefiles that have just been created.
72112 #
72113 # Also, get rid of this simulated-VPATH thing that automake does.
72114 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"
72115
72116
72117 ac_config_commands="$ac_config_commands generate-headers"
72118
72119
72120 cat >confcache <<\_ACEOF
72121 # This file is a shell script that caches the results of configure
72122 # tests run on this system so they can be shared between configure
72123 # scripts and configure runs, see configure's option --config-cache.
72124 # It is not useful on other systems.  If it contains results you don't
72125 # want to keep, you may remove or edit it.
72126 #
72127 # config.status only pays attention to the cache file if you give it
72128 # the --recheck option to rerun configure.
72129 #
72130 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72131 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72132 # following values.
72133
72134 _ACEOF
72135
72136 # The following way of writing the cache mishandles newlines in values,
72137 # but we know of no workaround that is simple, portable, and efficient.
72138 # So, we kill variables containing newlines.
72139 # Ultrix sh set writes to stderr and can't be redirected directly,
72140 # and sets the high bit in the cache file unless we assign to the vars.
72141 (
72142   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72143     eval ac_val=\$$ac_var
72144     case $ac_val in #(
72145     *${as_nl}*)
72146       case $ac_var in #(
72147       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72148 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72149       esac
72150       case $ac_var in #(
72151       _ | IFS | as_nl) ;; #(
72152       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72153       *) { eval $ac_var=; unset $ac_var;} ;;
72154       esac ;;
72155     esac
72156   done
72157
72158   (set) 2>&1 |
72159     case $as_nl`(ac_space=' '; set) 2>&1` in #(
72160     *${as_nl}ac_space=\ *)
72161       # `set' does not quote correctly, so add quotes: double-quote
72162       # substitution turns \\\\ into \\, and sed turns \\ into \.
72163       sed -n \
72164         "s/'/'\\\\''/g;
72165           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72166       ;; #(
72167     *)
72168       # `set' quotes correctly as required by POSIX, so do not add quotes.
72169       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72170       ;;
72171     esac |
72172     sort
72173 ) |
72174   sed '
72175      /^ac_cv_env_/b end
72176      t clear
72177      :clear
72178      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72179      t end
72180      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72181      :end' >>confcache
72182 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72183   if test -w "$cache_file"; then
72184     test "x$cache_file" != "x/dev/null" &&
72185       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72186 $as_echo "$as_me: updating cache $cache_file" >&6;}
72187     cat confcache >$cache_file
72188   else
72189     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72190 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72191   fi
72192 fi
72193 rm -f confcache
72194
72195 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72196 # Let make expand exec_prefix.
72197 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72198
72199 DEFS=-DHAVE_CONFIG_H
72200
72201 ac_libobjs=
72202 ac_ltlibobjs=
72203 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72204   # 1. Remove the extension, and $U if already installed.
72205   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72206   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72207   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
72208   #    will be set to the directory where LIBOBJS objects are built.
72209   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72210   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72211 done
72212 LIBOBJS=$ac_libobjs
72213
72214 LTLIBOBJS=$ac_ltlibobjs
72215
72216
72217  if test -n "$EXEEXT"; then
72218   am__EXEEXT_TRUE=
72219   am__EXEEXT_FALSE='#'
72220 else
72221   am__EXEEXT_TRUE='#'
72222   am__EXEEXT_FALSE=
72223 fi
72224
72225 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72226   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72228 fi
72229 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72230   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72232 fi
72233 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72234   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72236 fi
72237 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72238   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72240 fi
72241 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72242   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72244 fi
72245 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72246   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72248 fi
72249 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72250   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72252 fi
72253 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72254   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72256 fi
72257 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72258   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72260 fi
72261 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72262   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72264 fi
72265 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72266   as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72268 fi
72269 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72270   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72272 fi
72273 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72274   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72276 fi
72277 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72278   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72280 fi
72281 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72282   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72284 fi
72285 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72286   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72288 fi
72289 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72290   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72292 fi
72293 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72294   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72296 fi
72297 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72298   as_fn_error "conditional \"BUILD_INFO\" was never defined.
72299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72300 fi
72301 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72302   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72304 fi
72305 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72306   as_fn_error "conditional \"BUILD_XML\" was never defined.
72307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72308 fi
72309 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72310   as_fn_error "conditional \"BUILD_HTML\" was never defined.
72311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72312 fi
72313 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72314   as_fn_error "conditional \"BUILD_MAN\" was never defined.
72315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72316 fi
72317 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72318   as_fn_error "conditional \"BUILD_PDF\" was never defined.
72319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72320 fi
72321
72322 : ${CONFIG_STATUS=./config.status}
72323 ac_write_fail=0
72324 ac_clean_files_save=$ac_clean_files
72325 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72326 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72327 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72328 as_write_fail=0
72329 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72330 #! $SHELL
72331 # Generated by $as_me.
72332 # Run this file to recreate the current configuration.
72333 # Compiler output produced by configure, useful for debugging
72334 # configure, is in config.log if it exists.
72335
72336 debug=false
72337 ac_cs_recheck=false
72338 ac_cs_silent=false
72339
72340 SHELL=\${CONFIG_SHELL-$SHELL}
72341 export SHELL
72342 _ASEOF
72343 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72344 ## -------------------- ##
72345 ## M4sh Initialization. ##
72346 ## -------------------- ##
72347
72348 # Be more Bourne compatible
72349 DUALCASE=1; export DUALCASE # for MKS sh
72350 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72351   emulate sh
72352   NULLCMD=:
72353   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72354   # is contrary to our usage.  Disable this feature.
72355   alias -g '${1+"$@"}'='"$@"'
72356   setopt NO_GLOB_SUBST
72357 else
72358   case `(set -o) 2>/dev/null` in #(
72359   *posix*) :
72360     set -o posix ;; #(
72361   *) :
72362      ;;
72363 esac
72364 fi
72365
72366
72367 as_nl='
72368 '
72369 export as_nl
72370 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72371 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72372 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72373 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72374 # Prefer a ksh shell builtin over an external printf program on Solaris,
72375 # but without wasting forks for bash or zsh.
72376 if test -z "$BASH_VERSION$ZSH_VERSION" \
72377     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72378   as_echo='print -r --'
72379   as_echo_n='print -rn --'
72380 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72381   as_echo='printf %s\n'
72382   as_echo_n='printf %s'
72383 else
72384   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72385     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72386     as_echo_n='/usr/ucb/echo -n'
72387   else
72388     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72389     as_echo_n_body='eval
72390       arg=$1;
72391       case $arg in #(
72392       *"$as_nl"*)
72393         expr "X$arg" : "X\\(.*\\)$as_nl";
72394         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72395       esac;
72396       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72397     '
72398     export as_echo_n_body
72399     as_echo_n='sh -c $as_echo_n_body as_echo'
72400   fi
72401   export as_echo_body
72402   as_echo='sh -c $as_echo_body as_echo'
72403 fi
72404
72405 # The user is always right.
72406 if test "${PATH_SEPARATOR+set}" != set; then
72407   PATH_SEPARATOR=:
72408   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72409     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72410       PATH_SEPARATOR=';'
72411   }
72412 fi
72413
72414
72415 # IFS
72416 # We need space, tab and new line, in precisely that order.  Quoting is
72417 # there to prevent editors from complaining about space-tab.
72418 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72419 # splitting by setting IFS to empty value.)
72420 IFS=" ""        $as_nl"
72421
72422 # Find who we are.  Look in the path if we contain no directory separator.
72423 case $0 in #((
72424   *[\\/]* ) as_myself=$0 ;;
72425   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72426 for as_dir in $PATH
72427 do
72428   IFS=$as_save_IFS
72429   test -z "$as_dir" && as_dir=.
72430     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72431   done
72432 IFS=$as_save_IFS
72433
72434      ;;
72435 esac
72436 # We did not find ourselves, most probably we were run as `sh COMMAND'
72437 # in which case we are not to be found in the path.
72438 if test "x$as_myself" = x; then
72439   as_myself=$0
72440 fi
72441 if test ! -f "$as_myself"; then
72442   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72443   exit 1
72444 fi
72445
72446 # Unset variables that we do not need and which cause bugs (e.g. in
72447 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
72448 # suppresses any "Segmentation fault" message there.  '((' could
72449 # trigger a bug in pdksh 5.2.14.
72450 for as_var in BASH_ENV ENV MAIL MAILPATH
72451 do eval test x\${$as_var+set} = xset \
72452   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72453 done
72454 PS1='$ '
72455 PS2='> '
72456 PS4='+ '
72457
72458 # NLS nuisances.
72459 LC_ALL=C
72460 export LC_ALL
72461 LANGUAGE=C
72462 export LANGUAGE
72463
72464 # CDPATH.
72465 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72466
72467
72468 # as_fn_error ERROR [LINENO LOG_FD]
72469 # ---------------------------------
72470 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72471 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72472 # script with status $?, using 1 if that was 0.
72473 as_fn_error ()
72474 {
72475   as_status=$?; test $as_status -eq 0 && as_status=1
72476   if test "$3"; then
72477     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72478     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72479   fi
72480   $as_echo "$as_me: error: $1" >&2
72481   as_fn_exit $as_status
72482 } # as_fn_error
72483
72484
72485 # as_fn_set_status STATUS
72486 # -----------------------
72487 # Set $? to STATUS, without forking.
72488 as_fn_set_status ()
72489 {
72490   return $1
72491 } # as_fn_set_status
72492
72493 # as_fn_exit STATUS
72494 # -----------------
72495 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72496 as_fn_exit ()
72497 {
72498   set +e
72499   as_fn_set_status $1
72500   exit $1
72501 } # as_fn_exit
72502
72503 # as_fn_unset VAR
72504 # ---------------
72505 # Portably unset VAR.
72506 as_fn_unset ()
72507 {
72508   { eval $1=; unset $1;}
72509 }
72510 as_unset=as_fn_unset
72511 # as_fn_append VAR VALUE
72512 # ----------------------
72513 # Append the text in VALUE to the end of the definition contained in VAR. Take
72514 # advantage of any shell optimizations that allow amortized linear growth over
72515 # repeated appends, instead of the typical quadratic growth present in naive
72516 # implementations.
72517 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72518   eval 'as_fn_append ()
72519   {
72520     eval $1+=\$2
72521   }'
72522 else
72523   as_fn_append ()
72524   {
72525     eval $1=\$$1\$2
72526   }
72527 fi # as_fn_append
72528
72529 # as_fn_arith ARG...
72530 # ------------------
72531 # Perform arithmetic evaluation on the ARGs, and store the result in the
72532 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72533 # must be portable across $(()) and expr.
72534 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72535   eval 'as_fn_arith ()
72536   {
72537     as_val=$(( $* ))
72538   }'
72539 else
72540   as_fn_arith ()
72541   {
72542     as_val=`expr "$@" || test $? -eq 1`
72543   }
72544 fi # as_fn_arith
72545
72546
72547 if expr a : '\(a\)' >/dev/null 2>&1 &&
72548    test "X`expr 00001 : '.*\(...\)'`" = X001; then
72549   as_expr=expr
72550 else
72551   as_expr=false
72552 fi
72553
72554 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72555   as_basename=basename
72556 else
72557   as_basename=false
72558 fi
72559
72560 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72561   as_dirname=dirname
72562 else
72563   as_dirname=false
72564 fi
72565
72566 as_me=`$as_basename -- "$0" ||
72567 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72568          X"$0" : 'X\(//\)$' \| \
72569          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72570 $as_echo X/"$0" |
72571     sed '/^.*\/\([^/][^/]*\)\/*$/{
72572             s//\1/
72573             q
72574           }
72575           /^X\/\(\/\/\)$/{
72576             s//\1/
72577             q
72578           }
72579           /^X\/\(\/\).*/{
72580             s//\1/
72581             q
72582           }
72583           s/.*/./; q'`
72584
72585 # Avoid depending upon Character Ranges.
72586 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72587 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72588 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72589 as_cr_digits='0123456789'
72590 as_cr_alnum=$as_cr_Letters$as_cr_digits
72591
72592 ECHO_C= ECHO_N= ECHO_T=
72593 case `echo -n x` in #(((((
72594 -n*)
72595   case `echo 'xy\c'` in
72596   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
72597   xy)  ECHO_C='\c';;
72598   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
72599        ECHO_T=' ';;
72600   esac;;
72601 *)
72602   ECHO_N='-n';;
72603 esac
72604
72605 rm -f conf$$ conf$$.exe conf$$.file
72606 if test -d conf$$.dir; then
72607   rm -f conf$$.dir/conf$$.file
72608 else
72609   rm -f conf$$.dir
72610   mkdir conf$$.dir 2>/dev/null
72611 fi
72612 if (echo >conf$$.file) 2>/dev/null; then
72613   if ln -s conf$$.file conf$$ 2>/dev/null; then
72614     as_ln_s='ln -s'
72615     # ... but there are two gotchas:
72616     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72617     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72618     # In both cases, we have to default to `cp -p'.
72619     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72620       as_ln_s='cp -p'
72621   elif ln conf$$.file conf$$ 2>/dev/null; then
72622     as_ln_s=ln
72623   else
72624     as_ln_s='cp -p'
72625   fi
72626 else
72627   as_ln_s='cp -p'
72628 fi
72629 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72630 rmdir conf$$.dir 2>/dev/null
72631
72632
72633 # as_fn_mkdir_p
72634 # -------------
72635 # Create "$as_dir" as a directory, including parents if necessary.
72636 as_fn_mkdir_p ()
72637 {
72638
72639   case $as_dir in #(
72640   -*) as_dir=./$as_dir;;
72641   esac
72642   test -d "$as_dir" || eval $as_mkdir_p || {
72643     as_dirs=
72644     while :; do
72645       case $as_dir in #(
72646       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72647       *) as_qdir=$as_dir;;
72648       esac
72649       as_dirs="'$as_qdir' $as_dirs"
72650       as_dir=`$as_dirname -- "$as_dir" ||
72651 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72652          X"$as_dir" : 'X\(//\)[^/]' \| \
72653          X"$as_dir" : 'X\(//\)$' \| \
72654          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72655 $as_echo X"$as_dir" |
72656     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72657             s//\1/
72658             q
72659           }
72660           /^X\(\/\/\)[^/].*/{
72661             s//\1/
72662             q
72663           }
72664           /^X\(\/\/\)$/{
72665             s//\1/
72666             q
72667           }
72668           /^X\(\/\).*/{
72669             s//\1/
72670             q
72671           }
72672           s/.*/./; q'`
72673       test -d "$as_dir" && break
72674     done
72675     test -z "$as_dirs" || eval "mkdir $as_dirs"
72676   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72677
72678
72679 } # as_fn_mkdir_p
72680 if mkdir -p . 2>/dev/null; then
72681   as_mkdir_p='mkdir -p "$as_dir"'
72682 else
72683   test -d ./-p && rmdir ./-p
72684   as_mkdir_p=false
72685 fi
72686
72687 if test -x / >/dev/null 2>&1; then
72688   as_test_x='test -x'
72689 else
72690   if ls -dL / >/dev/null 2>&1; then
72691     as_ls_L_option=L
72692   else
72693     as_ls_L_option=
72694   fi
72695   as_test_x='
72696     eval sh -c '\''
72697       if test -d "$1"; then
72698         test -d "$1/.";
72699       else
72700         case $1 in #(
72701         -*)set "./$1";;
72702         esac;
72703         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72704         ???[sx]*):;;*)false;;esac;fi
72705     '\'' sh
72706   '
72707 fi
72708 as_executable_p=$as_test_x
72709
72710 # Sed expression to map a string onto a valid CPP name.
72711 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72712
72713 # Sed expression to map a string onto a valid variable name.
72714 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72715
72716
72717 exec 6>&1
72718 ## ----------------------------------- ##
72719 ## Main body of $CONFIG_STATUS script. ##
72720 ## ----------------------------------- ##
72721 _ASEOF
72722 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72723
72724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72725 # Save the log message, to keep $0 and so on meaningful, and to
72726 # report actual input values of CONFIG_FILES etc. instead of their
72727 # values after options handling.
72728 ac_log="
72729 This file was extended by package-unused $as_me version-unused, which was
72730 generated by GNU Autoconf 2.64.  Invocation command line was
72731
72732   CONFIG_FILES    = $CONFIG_FILES
72733   CONFIG_HEADERS  = $CONFIG_HEADERS
72734   CONFIG_LINKS    = $CONFIG_LINKS
72735   CONFIG_COMMANDS = $CONFIG_COMMANDS
72736   $ $0 $@
72737
72738 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72739 "
72740
72741 _ACEOF
72742
72743 case $ac_config_files in *"
72744 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72745 esac
72746
72747 case $ac_config_headers in *"
72748 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72749 esac
72750
72751
72752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72753 # Files that config.status was made for.
72754 config_files="$ac_config_files"
72755 config_headers="$ac_config_headers"
72756 config_commands="$ac_config_commands"
72757
72758 _ACEOF
72759
72760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72761 ac_cs_usage="\
72762 \`$as_me' instantiates files and other configuration actions
72763 from templates according to the current configuration.  Unless the files
72764 and actions are specified as TAGs, all are instantiated by default.
72765
72766 Usage: $0 [OPTION]... [TAG]...
72767
72768   -h, --help       print this help, then exit
72769   -V, --version    print version number and configuration settings, then exit
72770   -q, --quiet, --silent
72771                    do not print progress messages
72772   -d, --debug      don't remove temporary files
72773       --recheck    update $as_me by reconfiguring in the same conditions
72774       --file=FILE[:TEMPLATE]
72775                    instantiate the configuration file FILE
72776       --header=FILE[:TEMPLATE]
72777                    instantiate the configuration header FILE
72778
72779 Configuration files:
72780 $config_files
72781
72782 Configuration headers:
72783 $config_headers
72784
72785 Configuration commands:
72786 $config_commands
72787
72788 Report bugs to the package provider."
72789
72790 _ACEOF
72791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72792 ac_cs_version="\\
72793 package-unused config.status version-unused
72794 configured by $0, generated by GNU Autoconf 2.64,
72795   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72796
72797 Copyright (C) 2009 Free Software Foundation, Inc.
72798 This config.status script is free software; the Free Software Foundation
72799 gives unlimited permission to copy, distribute and modify it."
72800
72801 ac_pwd='$ac_pwd'
72802 srcdir='$srcdir'
72803 INSTALL='$INSTALL'
72804 MKDIR_P='$MKDIR_P'
72805 AWK='$AWK'
72806 test -n "\$AWK" || AWK=awk
72807 _ACEOF
72808
72809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72810 # The default lists apply if the user does not specify any file.
72811 ac_need_defaults=:
72812 while test $# != 0
72813 do
72814   case $1 in
72815   --*=*)
72816     ac_option=`expr "X$1" : 'X\([^=]*\)='`
72817     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72818     ac_shift=:
72819     ;;
72820   *)
72821     ac_option=$1
72822     ac_optarg=$2
72823     ac_shift=shift
72824     ;;
72825   esac
72826
72827   case $ac_option in
72828   # Handling of the options.
72829   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72830     ac_cs_recheck=: ;;
72831   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72832     $as_echo "$ac_cs_version"; exit ;;
72833   --debug | --debu | --deb | --de | --d | -d )
72834     debug=: ;;
72835   --file | --fil | --fi | --f )
72836     $ac_shift
72837     case $ac_optarg in
72838     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72839     esac
72840     as_fn_append CONFIG_FILES " '$ac_optarg'"
72841     ac_need_defaults=false;;
72842   --header | --heade | --head | --hea )
72843     $ac_shift
72844     case $ac_optarg in
72845     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72846     esac
72847     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72848     ac_need_defaults=false;;
72849   --he | --h)
72850     # Conflict between --help and --header
72851     as_fn_error "ambiguous option: \`$1'
72852 Try \`$0 --help' for more information.";;
72853   --help | --hel | -h )
72854     $as_echo "$ac_cs_usage"; exit ;;
72855   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72856   | -silent | --silent | --silen | --sile | --sil | --si | --s)
72857     ac_cs_silent=: ;;
72858
72859   # This is an error.
72860   -*) as_fn_error "unrecognized option: \`$1'
72861 Try \`$0 --help' for more information." ;;
72862
72863   *) as_fn_append ac_config_targets " $1"
72864      ac_need_defaults=false ;;
72865
72866   esac
72867   shift
72868 done
72869
72870 ac_configure_extra_args=
72871
72872 if $ac_cs_silent; then
72873   exec 6>/dev/null
72874   ac_configure_extra_args="$ac_configure_extra_args --silent"
72875 fi
72876
72877 _ACEOF
72878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72879 if \$ac_cs_recheck; then
72880   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72881   shift
72882   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72883   CONFIG_SHELL='$SHELL'
72884   export CONFIG_SHELL
72885   exec "\$@"
72886 fi
72887
72888 _ACEOF
72889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72890 exec 5>>config.log
72891 {
72892   echo
72893   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72894 ## Running $as_me. ##
72895 _ASBOX
72896   $as_echo "$ac_log"
72897 } >&5
72898
72899 _ACEOF
72900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72901 #
72902 # INIT-COMMANDS
72903 #
72904
72905 srcdir="$srcdir"
72906 host="$host"
72907 target="$target"
72908 with_multisubdir="$with_multisubdir"
72909 with_multisrctop="$with_multisrctop"
72910 with_target_subdir="$with_target_subdir"
72911 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72912 multi_basedir="$multi_basedir"
72913 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72914 CC="$CC"
72915 CXX="$CXX"
72916 GFORTRAN="$GFORTRAN"
72917 GCJ="$GCJ"
72918
72919
72920 # The HP-UX ksh and POSIX shell print the target directory to stdout
72921 # if CDPATH is set.
72922 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72923
72924 sed_quote_subst='$sed_quote_subst'
72925 double_quote_subst='$double_quote_subst'
72926 delay_variable_subst='$delay_variable_subst'
72927 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72928 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72929 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72930 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72931 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72932 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72933 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72934 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72935 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72936 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72937 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72938 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72939 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72940 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72941 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72942 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72943 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72944 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72945 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72946 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72947 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72948 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72949 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72950 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72951 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72952 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72953 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72954 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72955 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72956 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72957 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72958 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72959 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72960 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72961 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72962 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72963 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72964 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72965 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72966 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72967 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72968 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72969 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72970 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72971 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72972 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72973 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72974 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72975 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"`'
72976 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72977 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72978 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72979 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72980 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72981 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72982 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72983 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72984 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72985 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72986 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72987 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72988 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72989 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72990 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72991 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72992 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72993 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72994 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72995 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72996 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72997 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72998 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72999 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
73000 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73001 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
73002 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73003 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
73004 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
73005 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
73006 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
73007 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
73008 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
73009 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
73010 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
73011 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
73012 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
73013 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
73014 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
73015 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
73016 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
73017 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
73018 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
73019 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
73020 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
73021 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
73022 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
73023 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
73024 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
73025 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
73026 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
73027 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
73028 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
73029 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
73030 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
73031 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
73032 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
73033 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
73034 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73035 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73036 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
73037 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
73038 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
73039 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
73040 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
73041 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
73042 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
73043 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
73044 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
73045 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
73046 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
73047 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
73048 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
73049 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
73050 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
73051 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
73052 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
73053 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
73054 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
73055 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73056 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73057 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
73058 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
73059 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
73060 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
73061 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
73062 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
73063 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73064 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73065 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73066 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73067 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73068 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73069 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73070 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73071 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73072 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73073 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73074 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73075 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73076 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73077 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73078 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73079 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73080 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73081 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73082 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73083 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73084 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73085 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73086 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73087 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73088 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73089 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73090 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73091 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73092 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73093 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73094 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73095 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73096 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73097 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73098 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73099 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73100 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73101 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73102
73103 LTCC='$LTCC'
73104 LTCFLAGS='$LTCFLAGS'
73105 compiler='$compiler_DEFAULT'
73106
73107 # A function that is used when there is no print builtin or printf.
73108 func_fallback_echo ()
73109 {
73110   eval 'cat <<_LTECHO_EOF
73111 \$1
73112 _LTECHO_EOF'
73113 }
73114
73115 # Quote evaled strings.
73116 for var in SHELL \
73117 ECHO \
73118 SED \
73119 GREP \
73120 EGREP \
73121 FGREP \
73122 LD \
73123 NM \
73124 LN_S \
73125 lt_SP2NL \
73126 lt_NL2SP \
73127 reload_flag \
73128 OBJDUMP \
73129 deplibs_check_method \
73130 file_magic_cmd \
73131 AR \
73132 AR_FLAGS \
73133 STRIP \
73134 RANLIB \
73135 CC \
73136 CFLAGS \
73137 compiler \
73138 lt_cv_sys_global_symbol_pipe \
73139 lt_cv_sys_global_symbol_to_cdecl \
73140 lt_cv_sys_global_symbol_to_c_name_address \
73141 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73142 lt_prog_compiler_no_builtin_flag \
73143 lt_prog_compiler_wl \
73144 lt_prog_compiler_pic \
73145 lt_prog_compiler_static \
73146 lt_cv_prog_compiler_c_o \
73147 need_locks \
73148 DSYMUTIL \
73149 NMEDIT \
73150 LIPO \
73151 OTOOL \
73152 OTOOL64 \
73153 shrext_cmds \
73154 export_dynamic_flag_spec \
73155 whole_archive_flag_spec \
73156 compiler_needs_object \
73157 with_gnu_ld \
73158 allow_undefined_flag \
73159 no_undefined_flag \
73160 hardcode_libdir_flag_spec \
73161 hardcode_libdir_flag_spec_ld \
73162 hardcode_libdir_separator \
73163 fix_srcfile_path \
73164 exclude_expsyms \
73165 include_expsyms \
73166 file_list_spec \
73167 variables_saved_for_relink \
73168 libname_spec \
73169 library_names_spec \
73170 soname_spec \
73171 install_override_mode \
73172 finish_eval \
73173 old_striplib \
73174 striplib \
73175 compiler_lib_search_dirs \
73176 predep_objects \
73177 postdep_objects \
73178 predeps \
73179 postdeps \
73180 compiler_lib_search_path \
73181 LD_CXX \
73182 reload_flag_CXX \
73183 compiler_CXX \
73184 lt_prog_compiler_no_builtin_flag_CXX \
73185 lt_prog_compiler_wl_CXX \
73186 lt_prog_compiler_pic_CXX \
73187 lt_prog_compiler_static_CXX \
73188 lt_cv_prog_compiler_c_o_CXX \
73189 export_dynamic_flag_spec_CXX \
73190 whole_archive_flag_spec_CXX \
73191 compiler_needs_object_CXX \
73192 with_gnu_ld_CXX \
73193 allow_undefined_flag_CXX \
73194 no_undefined_flag_CXX \
73195 hardcode_libdir_flag_spec_CXX \
73196 hardcode_libdir_flag_spec_ld_CXX \
73197 hardcode_libdir_separator_CXX \
73198 fix_srcfile_path_CXX \
73199 exclude_expsyms_CXX \
73200 include_expsyms_CXX \
73201 file_list_spec_CXX \
73202 compiler_lib_search_dirs_CXX \
73203 predep_objects_CXX \
73204 postdep_objects_CXX \
73205 predeps_CXX \
73206 postdeps_CXX \
73207 compiler_lib_search_path_CXX; do
73208     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73209     *[\\\\\\\`\\"\\\$]*)
73210       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73211       ;;
73212     *)
73213       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73214       ;;
73215     esac
73216 done
73217
73218 # Double-quote double-evaled strings.
73219 for var in reload_cmds \
73220 old_postinstall_cmds \
73221 old_postuninstall_cmds \
73222 old_archive_cmds \
73223 extract_expsyms_cmds \
73224 old_archive_from_new_cmds \
73225 old_archive_from_expsyms_cmds \
73226 archive_cmds \
73227 archive_expsym_cmds \
73228 module_cmds \
73229 module_expsym_cmds \
73230 export_symbols_cmds \
73231 prelink_cmds \
73232 postinstall_cmds \
73233 postuninstall_cmds \
73234 finish_cmds \
73235 sys_lib_search_path_spec \
73236 sys_lib_dlsearch_path_spec \
73237 reload_cmds_CXX \
73238 old_archive_cmds_CXX \
73239 old_archive_from_new_cmds_CXX \
73240 old_archive_from_expsyms_cmds_CXX \
73241 archive_cmds_CXX \
73242 archive_expsym_cmds_CXX \
73243 module_cmds_CXX \
73244 module_expsym_cmds_CXX \
73245 export_symbols_cmds_CXX \
73246 prelink_cmds_CXX; do
73247     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73248     *[\\\\\\\`\\"\\\$]*)
73249       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73250       ;;
73251     *)
73252       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73253       ;;
73254     esac
73255 done
73256
73257 ac_aux_dir='$ac_aux_dir'
73258 xsi_shell='$xsi_shell'
73259 lt_shell_append='$lt_shell_append'
73260
73261 # See if we are running on zsh, and set the options which allow our
73262 # commands through without removal of \ escapes INIT.
73263 if test -n "\${ZSH_VERSION+set}" ; then
73264    setopt NO_GLOB_SUBST
73265 fi
73266
73267
73268     PACKAGE='$PACKAGE'
73269     VERSION='$VERSION'
73270     TIMESTAMP='$TIMESTAMP'
73271     RM='$RM'
73272     ofile='$ofile'
73273
73274
73275
73276
73277
73278
73279 GCC="$GCC"
73280 CC="$CC"
73281 acx_cv_header_stdint="$acx_cv_header_stdint"
73282 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73283 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73284 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73285 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73286 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73287 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73288 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73289 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73290 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73291 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73292 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73293 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73294 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73295
73296
73297 _ACEOF
73298
73299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73300
73301 # Handling of arguments.
73302 for ac_config_target in $ac_config_targets
73303 do
73304   case $ac_config_target in
73305     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73306     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73307     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73308     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73309     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73310     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73311     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73312     "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73313     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73314     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73315     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73316     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73317     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73318     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73319     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73320     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73321     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73322     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73323
73324   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73325   esac
73326 done
73327
73328
73329 # If the user did not use the arguments to specify the items to instantiate,
73330 # then the envvar interface is used.  Set only those that are not.
73331 # We use the long form for the default assignment because of an extremely
73332 # bizarre bug on SunOS 4.1.3.
73333 if $ac_need_defaults; then
73334   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73335   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73336   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73337 fi
73338
73339 # Have a temporary directory for convenience.  Make it in the build tree
73340 # simply because there is no reason against having it here, and in addition,
73341 # creating and moving files from /tmp can sometimes cause problems.
73342 # Hook for its removal unless debugging.
73343 # Note that there is a small window in which the directory will not be cleaned:
73344 # after its creation but before its name has been assigned to `$tmp'.
73345 $debug ||
73346 {
73347   tmp=
73348   trap 'exit_status=$?
73349   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73350 ' 0
73351   trap 'as_fn_exit 1' 1 2 13 15
73352 }
73353 # Create a (secure) tmp directory for tmp files.
73354
73355 {
73356   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73357   test -n "$tmp" && test -d "$tmp"
73358 }  ||
73359 {
73360   tmp=./conf$$-$RANDOM
73361   (umask 077 && mkdir "$tmp")
73362 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73363
73364 # Set up the scripts for CONFIG_FILES section.
73365 # No need to generate them if there are no CONFIG_FILES.
73366 # This happens for instance with `./config.status config.h'.
73367 if test -n "$CONFIG_FILES"; then
73368
73369
73370 ac_cr=`echo X | tr X '\015'`
73371 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73372 # But we know of no other shell where ac_cr would be empty at this
73373 # point, so we can use a bashism as a fallback.
73374 if test "x$ac_cr" = x; then
73375   eval ac_cr=\$\'\\r\'
73376 fi
73377 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73378 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73379   ac_cs_awk_cr='\r'
73380 else
73381   ac_cs_awk_cr=$ac_cr
73382 fi
73383
73384 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73385 _ACEOF
73386
73387
73388 {
73389   echo "cat >conf$$subs.awk <<_ACEOF" &&
73390   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73391   echo "_ACEOF"
73392 } >conf$$subs.sh ||
73393   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73394 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73395 ac_delim='%!_!# '
73396 for ac_last_try in false false false false false :; do
73397   . ./conf$$subs.sh ||
73398     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73399
73400   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73401   if test $ac_delim_n = $ac_delim_num; then
73402     break
73403   elif $ac_last_try; then
73404     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73405   else
73406     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73407   fi
73408 done
73409 rm -f conf$$subs.sh
73410
73411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73412 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73413 _ACEOF
73414 sed -n '
73415 h
73416 s/^/S["/; s/!.*/"]=/
73417 p
73418 g
73419 s/^[^!]*!//
73420 :repl
73421 t repl
73422 s/'"$ac_delim"'$//
73423 t delim
73424 :nl
73425 h
73426 s/\(.\{148\}\).*/\1/
73427 t more1
73428 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73429 p
73430 n
73431 b repl
73432 :more1
73433 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73434 p
73435 g
73436 s/.\{148\}//
73437 t nl
73438 :delim
73439 h
73440 s/\(.\{148\}\).*/\1/
73441 t more2
73442 s/["\\]/\\&/g; s/^/"/; s/$/"/
73443 p
73444 b
73445 :more2
73446 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73447 p
73448 g
73449 s/.\{148\}//
73450 t delim
73451 ' <conf$$subs.awk | sed '
73452 /^[^""]/{
73453   N
73454   s/\n//
73455 }
73456 ' >>$CONFIG_STATUS || ac_write_fail=1
73457 rm -f conf$$subs.awk
73458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73459 _ACAWK
73460 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73461   for (key in S) S_is_set[key] = 1
73462   FS = "\a"
73463
73464 }
73465 {
73466   line = $ 0
73467   nfields = split(line, field, "@")
73468   substed = 0
73469   len = length(field[1])
73470   for (i = 2; i < nfields; i++) {
73471     key = field[i]
73472     keylen = length(key)
73473     if (S_is_set[key]) {
73474       value = S[key]
73475       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73476       len += length(value) + length(field[++i])
73477       substed = 1
73478     } else
73479       len += 1 + keylen
73480   }
73481
73482   print line
73483 }
73484
73485 _ACAWK
73486 _ACEOF
73487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73488 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73489   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73490 else
73491   cat
73492 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73493   || as_fn_error "could not setup config files machinery" "$LINENO" 5
73494 _ACEOF
73495
73496 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73497 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73498 # trailing colons and then remove the whole line if VPATH becomes empty
73499 # (actually we leave an empty line to preserve line numbers).
73500 if test "x$srcdir" = x.; then
73501   ac_vpsub='/^[  ]*VPATH[        ]*=/{
73502 s/:*\$(srcdir):*/:/
73503 s/:*\${srcdir}:*/:/
73504 s/:*@srcdir@:*/:/
73505 s/^\([^=]*=[     ]*\):*/\1/
73506 s/:*$//
73507 s/^[^=]*=[       ]*$//
73508 }'
73509 fi
73510
73511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73512 fi # test -n "$CONFIG_FILES"
73513
73514 # Set up the scripts for CONFIG_HEADERS section.
73515 # No need to generate them if there are no CONFIG_HEADERS.
73516 # This happens for instance with `./config.status Makefile'.
73517 if test -n "$CONFIG_HEADERS"; then
73518 cat >"$tmp/defines.awk" <<\_ACAWK ||
73519 BEGIN {
73520 _ACEOF
73521
73522 # Transform confdefs.h into an awk script `defines.awk', embedded as
73523 # here-document in config.status, that substitutes the proper values into
73524 # config.h.in to produce config.h.
73525
73526 # Create a delimiter string that does not exist in confdefs.h, to ease
73527 # handling of long lines.
73528 ac_delim='%!_!# '
73529 for ac_last_try in false false :; do
73530   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73531   if test -z "$ac_t"; then
73532     break
73533   elif $ac_last_try; then
73534     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73535   else
73536     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73537   fi
73538 done
73539
73540 # For the awk script, D is an array of macro values keyed by name,
73541 # likewise P contains macro parameters if any.  Preserve backslash
73542 # newline sequences.
73543
73544 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73545 sed -n '
73546 s/.\{148\}/&'"$ac_delim"'/g
73547 t rset
73548 :rset
73549 s/^[     ]*#[    ]*define[       ][      ]*/ /
73550 t def
73551 d
73552 :def
73553 s/\\$//
73554 t bsnl
73555 s/["\\]/\\&/g
73556 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
73557 D["\1"]=" \3"/p
73558 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
73559 d
73560 :bsnl
73561 s/["\\]/\\&/g
73562 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
73563 D["\1"]=" \3\\\\\\n"\\/p
73564 t cont
73565 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73566 t cont
73567 d
73568 :cont
73569 n
73570 s/.\{148\}/&'"$ac_delim"'/g
73571 t clear
73572 :clear
73573 s/\\$//
73574 t bsnlc
73575 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73576 d
73577 :bsnlc
73578 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73579 b cont
73580 ' <confdefs.h | sed '
73581 s/'"$ac_delim"'/"\\\
73582 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73583
73584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73585   for (key in D) D_is_set[key] = 1
73586   FS = "\a"
73587 }
73588 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73589   line = \$ 0
73590   split(line, arg, " ")
73591   if (arg[1] == "#") {
73592     defundef = arg[2]
73593     mac1 = arg[3]
73594   } else {
73595     defundef = substr(arg[1], 2)
73596     mac1 = arg[2]
73597   }
73598   split(mac1, mac2, "(") #)
73599   macro = mac2[1]
73600   prefix = substr(line, 1, index(line, defundef) - 1)
73601   if (D_is_set[macro]) {
73602     # Preserve the white space surrounding the "#".
73603     print prefix "define", macro P[macro] D[macro]
73604     next
73605   } else {
73606     # Replace #undef with comments.  This is necessary, for example,
73607     # in the case of _POSIX_SOURCE, which is predefined and required
73608     # on some systems where configure will not decide to define it.
73609     if (defundef == "undef") {
73610       print "/*", prefix defundef, macro, "*/"
73611       next
73612     }
73613   }
73614 }
73615 { print }
73616 _ACAWK
73617 _ACEOF
73618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73619   as_fn_error "could not setup config headers machinery" "$LINENO" 5
73620 fi # test -n "$CONFIG_HEADERS"
73621
73622
73623 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
73624 shift
73625 for ac_tag
73626 do
73627   case $ac_tag in
73628   :[FHLC]) ac_mode=$ac_tag; continue;;
73629   esac
73630   case $ac_mode$ac_tag in
73631   :[FHL]*:*);;
73632   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73633   :[FH]-) ac_tag=-:-;;
73634   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73635   esac
73636   ac_save_IFS=$IFS
73637   IFS=:
73638   set x $ac_tag
73639   IFS=$ac_save_IFS
73640   shift
73641   ac_file=$1
73642   shift
73643
73644   case $ac_mode in
73645   :L) ac_source=$1;;
73646   :[FH])
73647     ac_file_inputs=
73648     for ac_f
73649     do
73650       case $ac_f in
73651       -) ac_f="$tmp/stdin";;
73652       *) # Look for the file first in the build tree, then in the source tree
73653          # (if the path is not absolute).  The absolute path cannot be DOS-style,
73654          # because $ac_f cannot contain `:'.
73655          test -f "$ac_f" ||
73656            case $ac_f in
73657            [\\/$]*) false;;
73658            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73659            esac ||
73660            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73661       esac
73662       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73663       as_fn_append ac_file_inputs " '$ac_f'"
73664     done
73665
73666     # Let's still pretend it is `configure' which instantiates (i.e., don't
73667     # use $as_me), people would be surprised to read:
73668     #    /* config.h.  Generated by config.status.  */
73669     configure_input='Generated from '`
73670           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73671         `' by configure.'
73672     if test x"$ac_file" != x-; then
73673       configure_input="$ac_file.  $configure_input"
73674       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73675 $as_echo "$as_me: creating $ac_file" >&6;}
73676     fi
73677     # Neutralize special characters interpreted by sed in replacement strings.
73678     case $configure_input in #(
73679     *\&* | *\|* | *\\* )
73680        ac_sed_conf_input=`$as_echo "$configure_input" |
73681        sed 's/[\\\\&|]/\\\\&/g'`;; #(
73682     *) ac_sed_conf_input=$configure_input;;
73683     esac
73684
73685     case $ac_tag in
73686     *:-:* | *:-) cat >"$tmp/stdin" \
73687       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73688     esac
73689     ;;
73690   esac
73691
73692   ac_dir=`$as_dirname -- "$ac_file" ||
73693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73694          X"$ac_file" : 'X\(//\)[^/]' \| \
73695          X"$ac_file" : 'X\(//\)$' \| \
73696          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73697 $as_echo X"$ac_file" |
73698     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73699             s//\1/
73700             q
73701           }
73702           /^X\(\/\/\)[^/].*/{
73703             s//\1/
73704             q
73705           }
73706           /^X\(\/\/\)$/{
73707             s//\1/
73708             q
73709           }
73710           /^X\(\/\).*/{
73711             s//\1/
73712             q
73713           }
73714           s/.*/./; q'`
73715   as_dir="$ac_dir"; as_fn_mkdir_p
73716   ac_builddir=.
73717
73718 case "$ac_dir" in
73719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73720 *)
73721   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73722   # A ".." for each directory in $ac_dir_suffix.
73723   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73724   case $ac_top_builddir_sub in
73725   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73726   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73727   esac ;;
73728 esac
73729 ac_abs_top_builddir=$ac_pwd
73730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73731 # for backward compatibility:
73732 ac_top_builddir=$ac_top_build_prefix
73733
73734 case $srcdir in
73735   .)  # We are building in place.
73736     ac_srcdir=.
73737     ac_top_srcdir=$ac_top_builddir_sub
73738     ac_abs_top_srcdir=$ac_pwd ;;
73739   [\\/]* | ?:[\\/]* )  # Absolute name.
73740     ac_srcdir=$srcdir$ac_dir_suffix;
73741     ac_top_srcdir=$srcdir
73742     ac_abs_top_srcdir=$srcdir ;;
73743   *) # Relative name.
73744     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73745     ac_top_srcdir=$ac_top_build_prefix$srcdir
73746     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73747 esac
73748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73749
73750
73751   case $ac_mode in
73752   :F)
73753   #
73754   # CONFIG_FILE
73755   #
73756
73757   case $INSTALL in
73758   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73759   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73760   esac
73761   ac_MKDIR_P=$MKDIR_P
73762   case $MKDIR_P in
73763   [\\/$]* | ?:[\\/]* ) ;;
73764   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73765   esac
73766 _ACEOF
73767
73768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73769 # If the template does not know about datarootdir, expand it.
73770 # FIXME: This hack should be removed a few years after 2.60.
73771 ac_datarootdir_hack=; ac_datarootdir_seen=
73772 ac_sed_dataroot='
73773 /datarootdir/ {
73774   p
73775   q
73776 }
73777 /@datadir@/p
73778 /@docdir@/p
73779 /@infodir@/p
73780 /@localedir@/p
73781 /@mandir@/p'
73782 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73783 *datarootdir*) ac_datarootdir_seen=yes;;
73784 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73785   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73786 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73787 _ACEOF
73788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73789   ac_datarootdir_hack='
73790   s&@datadir@&$datadir&g
73791   s&@docdir@&$docdir&g
73792   s&@infodir@&$infodir&g
73793   s&@localedir@&$localedir&g
73794   s&@mandir@&$mandir&g
73795   s&\\\${datarootdir}&$datarootdir&g' ;;
73796 esac
73797 _ACEOF
73798
73799 # Neutralize VPATH when `$srcdir' = `.'.
73800 # Shell code in configure.ac might set extrasub.
73801 # FIXME: do we really want to maintain this feature?
73802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73803 ac_sed_extra="$ac_vpsub
73804 $extrasub
73805 _ACEOF
73806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73807 :t
73808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73809 s|@configure_input@|$ac_sed_conf_input|;t t
73810 s&@top_builddir@&$ac_top_builddir_sub&;t t
73811 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73812 s&@srcdir@&$ac_srcdir&;t t
73813 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73814 s&@top_srcdir@&$ac_top_srcdir&;t t
73815 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73816 s&@builddir@&$ac_builddir&;t t
73817 s&@abs_builddir@&$ac_abs_builddir&;t t
73818 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73819 s&@INSTALL@&$ac_INSTALL&;t t
73820 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73821 $ac_datarootdir_hack
73822 "
73823 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73824   || as_fn_error "could not create $ac_file" "$LINENO" 5
73825
73826 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73827   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73828   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73829   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73830 which seems to be undefined.  Please make sure it is defined." >&5
73831 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73832 which seems to be undefined.  Please make sure it is defined." >&2;}
73833
73834   rm -f "$tmp/stdin"
73835   case $ac_file in
73836   -) cat "$tmp/out" && rm -f "$tmp/out";;
73837   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73838   esac \
73839   || as_fn_error "could not create $ac_file" "$LINENO" 5
73840  ;;
73841   :H)
73842   #
73843   # CONFIG_HEADER
73844   #
73845   if test x"$ac_file" != x-; then
73846     {
73847       $as_echo "/* $configure_input  */" \
73848       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73849     } >"$tmp/config.h" \
73850       || as_fn_error "could not create $ac_file" "$LINENO" 5
73851     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73852       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73853 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73854     else
73855       rm -f "$ac_file"
73856       mv "$tmp/config.h" "$ac_file" \
73857         || as_fn_error "could not create $ac_file" "$LINENO" 5
73858     fi
73859   else
73860     $as_echo "/* $configure_input  */" \
73861       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73862       || as_fn_error "could not create -" "$LINENO" 5
73863   fi
73864 # Compute "$ac_file"'s index in $config_headers.
73865 _am_arg="$ac_file"
73866 _am_stamp_count=1
73867 for _am_header in $config_headers :; do
73868   case $_am_header in
73869     $_am_arg | $_am_arg:* )
73870       break ;;
73871     * )
73872       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73873   esac
73874 done
73875 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73876 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73877          X"$_am_arg" : 'X\(//\)[^/]' \| \
73878          X"$_am_arg" : 'X\(//\)$' \| \
73879          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73880 $as_echo X"$_am_arg" |
73881     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73882             s//\1/
73883             q
73884           }
73885           /^X\(\/\/\)[^/].*/{
73886             s//\1/
73887             q
73888           }
73889           /^X\(\/\/\)$/{
73890             s//\1/
73891             q
73892           }
73893           /^X\(\/\).*/{
73894             s//\1/
73895             q
73896           }
73897           s/.*/./; q'`/stamp-h$_am_stamp_count
73898  ;;
73899
73900   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73901 $as_echo "$as_me: executing $ac_file commands" >&6;}
73902  ;;
73903   esac
73904
73905
73906   case $ac_file$ac_mode in
73907     "default-1":C)
73908 # Only add multilib support code if we just rebuilt the top-level
73909 # Makefile.
73910 case " $CONFIG_FILES " in
73911  *" Makefile "*)
73912    ac_file=Makefile . ${multi_basedir}/config-ml.in
73913    ;;
73914 esac ;;
73915     "libtool":C)
73916
73917     # See if we are running on zsh, and set the options which allow our
73918     # commands through without removal of \ escapes.
73919     if test -n "${ZSH_VERSION+set}" ; then
73920       setopt NO_GLOB_SUBST
73921     fi
73922
73923     cfgfile="${ofile}T"
73924     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73925     $RM "$cfgfile"
73926
73927     cat <<_LT_EOF >> "$cfgfile"
73928 #! $SHELL
73929
73930 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73931 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73932 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73933 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73934 #
73935 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73936 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73937 #   Written by Gordon Matzigkeit, 1996
73938 #
73939 #   This file is part of GNU Libtool.
73940 #
73941 # GNU Libtool is free software; you can redistribute it and/or
73942 # modify it under the terms of the GNU General Public License as
73943 # published by the Free Software Foundation; either version 2 of
73944 # the License, or (at your option) any later version.
73945 #
73946 # As a special exception to the GNU General Public License,
73947 # if you distribute this file as part of a program or library that
73948 # is built using GNU Libtool, you may include this file under the
73949 # same distribution terms that you use for the rest of that program.
73950 #
73951 # GNU Libtool is distributed in the hope that it will be useful,
73952 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73953 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
73954 # GNU General Public License for more details.
73955 #
73956 # You should have received a copy of the GNU General Public License
73957 # along with GNU Libtool; see the file COPYING.  If not, a copy
73958 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73959 # obtained by writing to the Free Software Foundation, Inc.,
73960 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73961
73962
73963 # The names of the tagged configurations supported by this script.
73964 available_tags="CXX "
73965
73966 # ### BEGIN LIBTOOL CONFIG
73967
73968 # Which release of libtool.m4 was used?
73969 macro_version=$macro_version
73970 macro_revision=$macro_revision
73971
73972 # Whether or not to build shared libraries.
73973 build_libtool_libs=$enable_shared
73974
73975 # Whether or not to build static libraries.
73976 build_old_libs=$enable_static
73977
73978 # What type of objects to build.
73979 pic_mode=$pic_mode
73980
73981 # Whether or not to optimize for fast installation.
73982 fast_install=$enable_fast_install
73983
73984 # Shell to use when invoking shell scripts.
73985 SHELL=$lt_SHELL
73986
73987 # An echo program that protects backslashes.
73988 ECHO=$lt_ECHO
73989
73990 # The host system.
73991 host_alias=$host_alias
73992 host=$host
73993 host_os=$host_os
73994
73995 # The build system.
73996 build_alias=$build_alias
73997 build=$build
73998 build_os=$build_os
73999
74000 # A sed program that does not truncate output.
74001 SED=$lt_SED
74002
74003 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
74004 Xsed="\$SED -e 1s/^X//"
74005
74006 # A grep program that handles long lines.
74007 GREP=$lt_GREP
74008
74009 # An ERE matcher.
74010 EGREP=$lt_EGREP
74011
74012 # A literal string matcher.
74013 FGREP=$lt_FGREP
74014
74015 # A BSD- or MS-compatible name lister.
74016 NM=$lt_NM
74017
74018 # Whether we need soft or hard links.
74019 LN_S=$lt_LN_S
74020
74021 # What is the maximum length of a command?
74022 max_cmd_len=$max_cmd_len
74023
74024 # Object file suffix (normally "o").
74025 objext=$ac_objext
74026
74027 # Executable file suffix (normally "").
74028 exeext=$exeext
74029
74030 # whether the shell understands "unset".
74031 lt_unset=$lt_unset
74032
74033 # turn spaces into newlines.
74034 SP2NL=$lt_lt_SP2NL
74035
74036 # turn newlines into spaces.
74037 NL2SP=$lt_lt_NL2SP
74038
74039 # An object symbol dumper.
74040 OBJDUMP=$lt_OBJDUMP
74041
74042 # Method to check whether dependent libraries are shared objects.
74043 deplibs_check_method=$lt_deplibs_check_method
74044
74045 # Command to use when deplibs_check_method == "file_magic".
74046 file_magic_cmd=$lt_file_magic_cmd
74047
74048 # The archiver.
74049 AR=$lt_AR
74050 AR_FLAGS=$lt_AR_FLAGS
74051
74052 # A symbol stripping program.
74053 STRIP=$lt_STRIP
74054
74055 # Commands used to install an old-style archive.
74056 RANLIB=$lt_RANLIB
74057 old_postinstall_cmds=$lt_old_postinstall_cmds
74058 old_postuninstall_cmds=$lt_old_postuninstall_cmds
74059
74060 # Whether to use a lock for old archive extraction.
74061 lock_old_archive_extraction=$lock_old_archive_extraction
74062
74063 # A C compiler.
74064 LTCC=$lt_CC
74065
74066 # LTCC compiler flags.
74067 LTCFLAGS=$lt_CFLAGS
74068
74069 # Take the output of nm and produce a listing of raw symbols and C names.
74070 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
74071
74072 # Transform the output of nm in a proper C declaration.
74073 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74074
74075 # Transform the output of nm in a C name address pair.
74076 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74077
74078 # Transform the output of nm in a C name address pair when lib prefix is needed.
74079 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74080
74081 # The name of the directory that contains temporary libtool files.
74082 objdir=$objdir
74083
74084 # Used to examine libraries when file_magic_cmd begins with "file".
74085 MAGIC_CMD=$MAGIC_CMD
74086
74087 # Must we lock files when doing compilation?
74088 need_locks=$lt_need_locks
74089
74090 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74091 DSYMUTIL=$lt_DSYMUTIL
74092
74093 # Tool to change global to local symbols on Mac OS X.
74094 NMEDIT=$lt_NMEDIT
74095
74096 # Tool to manipulate fat objects and archives on Mac OS X.
74097 LIPO=$lt_LIPO
74098
74099 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74100 OTOOL=$lt_OTOOL
74101
74102 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74103 OTOOL64=$lt_OTOOL64
74104
74105 # Old archive suffix (normally "a").
74106 libext=$libext
74107
74108 # Shared library suffix (normally ".so").
74109 shrext_cmds=$lt_shrext_cmds
74110
74111 # The commands to extract the exported symbol list from a shared archive.
74112 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74113
74114 # Variables whose values should be saved in libtool wrapper scripts and
74115 # restored at link time.
74116 variables_saved_for_relink=$lt_variables_saved_for_relink
74117
74118 # Do we need the "lib" prefix for modules?
74119 need_lib_prefix=$need_lib_prefix
74120
74121 # Do we need a version for libraries?
74122 need_version=$need_version
74123
74124 # Library versioning type.
74125 version_type=$version_type
74126
74127 # Shared library runtime path variable.
74128 runpath_var=$runpath_var
74129
74130 # Shared library path variable.
74131 shlibpath_var=$shlibpath_var
74132
74133 # Is shlibpath searched before the hard-coded library search path?
74134 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74135
74136 # Format of library name prefix.
74137 libname_spec=$lt_libname_spec
74138
74139 # List of archive names.  First name is the real one, the rest are links.
74140 # The last name is the one that the linker finds with -lNAME
74141 library_names_spec=$lt_library_names_spec
74142
74143 # The coded name of the library, if different from the real name.
74144 soname_spec=$lt_soname_spec
74145
74146 # Permission mode override for installation of shared libraries.
74147 install_override_mode=$lt_install_override_mode
74148
74149 # Command to use after installation of a shared archive.
74150 postinstall_cmds=$lt_postinstall_cmds
74151
74152 # Command to use after uninstallation of a shared archive.
74153 postuninstall_cmds=$lt_postuninstall_cmds
74154
74155 # Commands used to finish a libtool library installation in a directory.
74156 finish_cmds=$lt_finish_cmds
74157
74158 # As "finish_cmds", except a single script fragment to be evaled but
74159 # not shown.
74160 finish_eval=$lt_finish_eval
74161
74162 # Whether we should hardcode library paths into libraries.
74163 hardcode_into_libs=$hardcode_into_libs
74164
74165 # Compile-time system search path for libraries.
74166 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74167
74168 # Run-time system search path for libraries.
74169 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74170
74171 # Whether dlopen is supported.
74172 dlopen_support=$enable_dlopen
74173
74174 # Whether dlopen of programs is supported.
74175 dlopen_self=$enable_dlopen_self
74176
74177 # Whether dlopen of statically linked programs is supported.
74178 dlopen_self_static=$enable_dlopen_self_static
74179
74180 # Commands to strip libraries.
74181 old_striplib=$lt_old_striplib
74182 striplib=$lt_striplib
74183
74184
74185 # The linker used to build libraries.
74186 LD=$lt_LD
74187
74188 # How to create reloadable object files.
74189 reload_flag=$lt_reload_flag
74190 reload_cmds=$lt_reload_cmds
74191
74192 # Commands used to build an old-style archive.
74193 old_archive_cmds=$lt_old_archive_cmds
74194
74195 # A language specific compiler.
74196 CC=$lt_compiler
74197
74198 # Is the compiler the GNU compiler?
74199 with_gcc=$GCC
74200
74201 # Compiler flag to turn off builtin functions.
74202 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74203
74204 # How to pass a linker flag through the compiler.
74205 wl=$lt_lt_prog_compiler_wl
74206
74207 # Additional compiler flags for building library objects.
74208 pic_flag=$lt_lt_prog_compiler_pic
74209
74210 # Compiler flag to prevent dynamic linking.
74211 link_static_flag=$lt_lt_prog_compiler_static
74212
74213 # Does compiler simultaneously support -c and -o options?
74214 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74215
74216 # Whether or not to add -lc for building shared libraries.
74217 build_libtool_need_lc=$archive_cmds_need_lc
74218
74219 # Whether or not to disallow shared libs when runtime libs are static.
74220 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74221
74222 # Compiler flag to allow reflexive dlopens.
74223 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74224
74225 # Compiler flag to generate shared objects directly from archives.
74226 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74227
74228 # Whether the compiler copes with passing no objects directly.
74229 compiler_needs_object=$lt_compiler_needs_object
74230
74231 # Create an old-style archive from a shared archive.
74232 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74233
74234 # Create a temporary old-style archive to link instead of a shared archive.
74235 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74236
74237 # Commands used to build a shared archive.
74238 archive_cmds=$lt_archive_cmds
74239 archive_expsym_cmds=$lt_archive_expsym_cmds
74240
74241 # Commands used to build a loadable module if different from building
74242 # a shared archive.
74243 module_cmds=$lt_module_cmds
74244 module_expsym_cmds=$lt_module_expsym_cmds
74245
74246 # Whether we are building with GNU ld or not.
74247 with_gnu_ld=$lt_with_gnu_ld
74248
74249 # Flag that allows shared libraries with undefined symbols to be built.
74250 allow_undefined_flag=$lt_allow_undefined_flag
74251
74252 # Flag that enforces no undefined symbols.
74253 no_undefined_flag=$lt_no_undefined_flag
74254
74255 # Flag to hardcode \$libdir into a binary during linking.
74256 # This must work even if \$libdir does not exist
74257 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74258
74259 # If ld is used when linking, flag to hardcode \$libdir into a binary
74260 # during linking.  This must work even if \$libdir does not exist.
74261 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74262
74263 # Whether we need a single "-rpath" flag with a separated argument.
74264 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74265
74266 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74267 # DIR into the resulting binary.
74268 hardcode_direct=$hardcode_direct
74269
74270 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74271 # DIR into the resulting binary and the resulting library dependency is
74272 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74273 # library is relocated.
74274 hardcode_direct_absolute=$hardcode_direct_absolute
74275
74276 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74277 # into the resulting binary.
74278 hardcode_minus_L=$hardcode_minus_L
74279
74280 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74281 # into the resulting binary.
74282 hardcode_shlibpath_var=$hardcode_shlibpath_var
74283
74284 # Set to "yes" if building a shared library automatically hardcodes DIR
74285 # into the library and all subsequent libraries and executables linked
74286 # against it.
74287 hardcode_automatic=$hardcode_automatic
74288
74289 # Set to yes if linker adds runtime paths of dependent libraries
74290 # to runtime path list.
74291 inherit_rpath=$inherit_rpath
74292
74293 # Whether libtool must link a program against all its dependency libraries.
74294 link_all_deplibs=$link_all_deplibs
74295
74296 # Fix the shell variable \$srcfile for the compiler.
74297 fix_srcfile_path=$lt_fix_srcfile_path
74298
74299 # Set to "yes" if exported symbols are required.
74300 always_export_symbols=$always_export_symbols
74301
74302 # The commands to list exported symbols.
74303 export_symbols_cmds=$lt_export_symbols_cmds
74304
74305 # Symbols that should not be listed in the preloaded symbols.
74306 exclude_expsyms=$lt_exclude_expsyms
74307
74308 # Symbols that must always be exported.
74309 include_expsyms=$lt_include_expsyms
74310
74311 # Commands necessary for linking programs (against libraries) with templates.
74312 prelink_cmds=$lt_prelink_cmds
74313
74314 # Specify filename containing input files.
74315 file_list_spec=$lt_file_list_spec
74316
74317 # How to hardcode a shared library path into an executable.
74318 hardcode_action=$hardcode_action
74319
74320 # The directories searched by this compiler when creating a shared library.
74321 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74322
74323 # Dependencies to place before and after the objects being linked to
74324 # create a shared library.
74325 predep_objects=$lt_predep_objects
74326 postdep_objects=$lt_postdep_objects
74327 predeps=$lt_predeps
74328 postdeps=$lt_postdeps
74329
74330 # The library search path used internally by the compiler when linking
74331 # a shared library.
74332 compiler_lib_search_path=$lt_compiler_lib_search_path
74333
74334 # ### END LIBTOOL CONFIG
74335
74336 _LT_EOF
74337
74338   case $host_os in
74339   aix3*)
74340     cat <<\_LT_EOF >> "$cfgfile"
74341 # AIX sometimes has problems with the GCC collect2 program.  For some
74342 # reason, if we set the COLLECT_NAMES environment variable, the problems
74343 # vanish in a puff of smoke.
74344 if test "X${COLLECT_NAMES+set}" != Xset; then
74345   COLLECT_NAMES=
74346   export COLLECT_NAMES
74347 fi
74348 _LT_EOF
74349     ;;
74350   esac
74351
74352
74353 ltmain="$ac_aux_dir/ltmain.sh"
74354
74355
74356   # We use sed instead of cat because bash on DJGPP gets confused if
74357   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
74358   # text mode, it properly converts lines to CR/LF.  This bash problem
74359   # is reportedly fixed, but why not run on old versions too?
74360   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74361     || (rm -f "$cfgfile"; exit 1)
74362
74363   case $xsi_shell in
74364   yes)
74365     cat << \_LT_EOF >> "$cfgfile"
74366
74367 # func_dirname file append nondir_replacement
74368 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
74369 # otherwise set result to NONDIR_REPLACEMENT.
74370 func_dirname ()
74371 {
74372   case ${1} in
74373     */*) func_dirname_result="${1%/*}${2}" ;;
74374     *  ) func_dirname_result="${3}" ;;
74375   esac
74376 }
74377
74378 # func_basename file
74379 func_basename ()
74380 {
74381   func_basename_result="${1##*/}"
74382 }
74383
74384 # func_dirname_and_basename file append nondir_replacement
74385 # perform func_basename and func_dirname in a single function
74386 # call:
74387 #   dirname:  Compute the dirname of FILE.  If nonempty,
74388 #             add APPEND to the result, otherwise set result
74389 #             to NONDIR_REPLACEMENT.
74390 #             value returned in "$func_dirname_result"
74391 #   basename: Compute filename of FILE.
74392 #             value retuned in "$func_basename_result"
74393 # Implementation must be kept synchronized with func_dirname
74394 # and func_basename. For efficiency, we do not delegate to
74395 # those functions but instead duplicate the functionality here.
74396 func_dirname_and_basename ()
74397 {
74398   case ${1} in
74399     */*) func_dirname_result="${1%/*}${2}" ;;
74400     *  ) func_dirname_result="${3}" ;;
74401   esac
74402   func_basename_result="${1##*/}"
74403 }
74404
74405 # func_stripname prefix suffix name
74406 # strip PREFIX and SUFFIX off of NAME.
74407 # PREFIX and SUFFIX must not contain globbing or regex special
74408 # characters, hashes, percent signs, but SUFFIX may contain a leading
74409 # dot (in which case that matches only a dot).
74410 func_stripname ()
74411 {
74412   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74413   # positional parameters, so assign one to ordinary parameter first.
74414   func_stripname_result=${3}
74415   func_stripname_result=${func_stripname_result#"${1}"}
74416   func_stripname_result=${func_stripname_result%"${2}"}
74417 }
74418
74419 # func_opt_split
74420 func_opt_split ()
74421 {
74422   func_opt_split_opt=${1%%=*}
74423   func_opt_split_arg=${1#*=}
74424 }
74425
74426 # func_lo2o object
74427 func_lo2o ()
74428 {
74429   case ${1} in
74430     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74431     *)    func_lo2o_result=${1} ;;
74432   esac
74433 }
74434
74435 # func_xform libobj-or-source
74436 func_xform ()
74437 {
74438   func_xform_result=${1%.*}.lo
74439 }
74440
74441 # func_arith arithmetic-term...
74442 func_arith ()
74443 {
74444   func_arith_result=$(( $* ))
74445 }
74446
74447 # func_len string
74448 # STRING may not start with a hyphen.
74449 func_len ()
74450 {
74451   func_len_result=${#1}
74452 }
74453
74454 _LT_EOF
74455     ;;
74456   *) # Bourne compatible functions.
74457     cat << \_LT_EOF >> "$cfgfile"
74458
74459 # func_dirname file append nondir_replacement
74460 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
74461 # otherwise set result to NONDIR_REPLACEMENT.
74462 func_dirname ()
74463 {
74464   # Extract subdirectory from the argument.
74465   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74466   if test "X$func_dirname_result" = "X${1}"; then
74467     func_dirname_result="${3}"
74468   else
74469     func_dirname_result="$func_dirname_result${2}"
74470   fi
74471 }
74472
74473 # func_basename file
74474 func_basename ()
74475 {
74476   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74477 }
74478
74479
74480 # func_stripname prefix suffix name
74481 # strip PREFIX and SUFFIX off of NAME.
74482 # PREFIX and SUFFIX must not contain globbing or regex special
74483 # characters, hashes, percent signs, but SUFFIX may contain a leading
74484 # dot (in which case that matches only a dot).
74485 # func_strip_suffix prefix name
74486 func_stripname ()
74487 {
74488   case ${2} in
74489     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74490     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74491   esac
74492 }
74493
74494 # sed scripts:
74495 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74496 my_sed_long_arg='1s/^-[^=]*=//'
74497
74498 # func_opt_split
74499 func_opt_split ()
74500 {
74501   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74502   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74503 }
74504
74505 # func_lo2o object
74506 func_lo2o ()
74507 {
74508   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74509 }
74510
74511 # func_xform libobj-or-source
74512 func_xform ()
74513 {
74514   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74515 }
74516
74517 # func_arith arithmetic-term...
74518 func_arith ()
74519 {
74520   func_arith_result=`expr "$@"`
74521 }
74522
74523 # func_len string
74524 # STRING may not start with a hyphen.
74525 func_len ()
74526 {
74527   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74528 }
74529
74530 _LT_EOF
74531 esac
74532
74533 case $lt_shell_append in
74534   yes)
74535     cat << \_LT_EOF >> "$cfgfile"
74536
74537 # func_append var value
74538 # Append VALUE to the end of shell variable VAR.
74539 func_append ()
74540 {
74541   eval "$1+=\$2"
74542 }
74543 _LT_EOF
74544     ;;
74545   *)
74546     cat << \_LT_EOF >> "$cfgfile"
74547
74548 # func_append var value
74549 # Append VALUE to the end of shell variable VAR.
74550 func_append ()
74551 {
74552   eval "$1=\$$1\$2"
74553 }
74554
74555 _LT_EOF
74556     ;;
74557   esac
74558
74559
74560   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74561     || (rm -f "$cfgfile"; exit 1)
74562
74563   mv -f "$cfgfile" "$ofile" ||
74564     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74565   chmod +x "$ofile"
74566
74567
74568     cat <<_LT_EOF >> "$ofile"
74569
74570 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74571
74572 # The linker used to build libraries.
74573 LD=$lt_LD_CXX
74574
74575 # How to create reloadable object files.
74576 reload_flag=$lt_reload_flag_CXX
74577 reload_cmds=$lt_reload_cmds_CXX
74578
74579 # Commands used to build an old-style archive.
74580 old_archive_cmds=$lt_old_archive_cmds_CXX
74581
74582 # A language specific compiler.
74583 CC=$lt_compiler_CXX
74584
74585 # Is the compiler the GNU compiler?
74586 with_gcc=$GCC_CXX
74587
74588 # Compiler flag to turn off builtin functions.
74589 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74590
74591 # How to pass a linker flag through the compiler.
74592 wl=$lt_lt_prog_compiler_wl_CXX
74593
74594 # Additional compiler flags for building library objects.
74595 pic_flag=$lt_lt_prog_compiler_pic_CXX
74596
74597 # Compiler flag to prevent dynamic linking.
74598 link_static_flag=$lt_lt_prog_compiler_static_CXX
74599
74600 # Does compiler simultaneously support -c and -o options?
74601 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74602
74603 # Whether or not to add -lc for building shared libraries.
74604 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74605
74606 # Whether or not to disallow shared libs when runtime libs are static.
74607 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74608
74609 # Compiler flag to allow reflexive dlopens.
74610 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74611
74612 # Compiler flag to generate shared objects directly from archives.
74613 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74614
74615 # Whether the compiler copes with passing no objects directly.
74616 compiler_needs_object=$lt_compiler_needs_object_CXX
74617
74618 # Create an old-style archive from a shared archive.
74619 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74620
74621 # Create a temporary old-style archive to link instead of a shared archive.
74622 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74623
74624 # Commands used to build a shared archive.
74625 archive_cmds=$lt_archive_cmds_CXX
74626 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74627
74628 # Commands used to build a loadable module if different from building
74629 # a shared archive.
74630 module_cmds=$lt_module_cmds_CXX
74631 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74632
74633 # Whether we are building with GNU ld or not.
74634 with_gnu_ld=$lt_with_gnu_ld_CXX
74635
74636 # Flag that allows shared libraries with undefined symbols to be built.
74637 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74638
74639 # Flag that enforces no undefined symbols.
74640 no_undefined_flag=$lt_no_undefined_flag_CXX
74641
74642 # Flag to hardcode \$libdir into a binary during linking.
74643 # This must work even if \$libdir does not exist
74644 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74645
74646 # If ld is used when linking, flag to hardcode \$libdir into a binary
74647 # during linking.  This must work even if \$libdir does not exist.
74648 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74649
74650 # Whether we need a single "-rpath" flag with a separated argument.
74651 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74652
74653 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74654 # DIR into the resulting binary.
74655 hardcode_direct=$hardcode_direct_CXX
74656
74657 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74658 # DIR into the resulting binary and the resulting library dependency is
74659 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74660 # library is relocated.
74661 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74662
74663 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74664 # into the resulting binary.
74665 hardcode_minus_L=$hardcode_minus_L_CXX
74666
74667 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74668 # into the resulting binary.
74669 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74670
74671 # Set to "yes" if building a shared library automatically hardcodes DIR
74672 # into the library and all subsequent libraries and executables linked
74673 # against it.
74674 hardcode_automatic=$hardcode_automatic_CXX
74675
74676 # Set to yes if linker adds runtime paths of dependent libraries
74677 # to runtime path list.
74678 inherit_rpath=$inherit_rpath_CXX
74679
74680 # Whether libtool must link a program against all its dependency libraries.
74681 link_all_deplibs=$link_all_deplibs_CXX
74682
74683 # Fix the shell variable \$srcfile for the compiler.
74684 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74685
74686 # Set to "yes" if exported symbols are required.
74687 always_export_symbols=$always_export_symbols_CXX
74688
74689 # The commands to list exported symbols.
74690 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74691
74692 # Symbols that should not be listed in the preloaded symbols.
74693 exclude_expsyms=$lt_exclude_expsyms_CXX
74694
74695 # Symbols that must always be exported.
74696 include_expsyms=$lt_include_expsyms_CXX
74697
74698 # Commands necessary for linking programs (against libraries) with templates.
74699 prelink_cmds=$lt_prelink_cmds_CXX
74700
74701 # Specify filename containing input files.
74702 file_list_spec=$lt_file_list_spec_CXX
74703
74704 # How to hardcode a shared library path into an executable.
74705 hardcode_action=$hardcode_action_CXX
74706
74707 # The directories searched by this compiler when creating a shared library.
74708 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74709
74710 # Dependencies to place before and after the objects being linked to
74711 # create a shared library.
74712 predep_objects=$lt_predep_objects_CXX
74713 postdep_objects=$lt_postdep_objects_CXX
74714 predeps=$lt_predeps_CXX
74715 postdeps=$lt_postdeps_CXX
74716
74717 # The library search path used internally by the compiler when linking
74718 # a shared library.
74719 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74720
74721 # ### END LIBTOOL TAG CONFIG: CXX
74722 _LT_EOF
74723
74724  ;;
74725     "include/gstdint.h":C)
74726 if test "$GCC" = yes; then
74727   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74728 else
74729   echo "/* generated for $CC */" > tmp-stdint.h
74730 fi
74731
74732 sed 's/^ *//' >> tmp-stdint.h <<EOF
74733
74734   #ifndef GCC_GENERATED_STDINT_H
74735   #define GCC_GENERATED_STDINT_H 1
74736
74737   #include <sys/types.h>
74738 EOF
74739
74740 if test "$acx_cv_header_stdint" != stdint.h; then
74741   echo "#include <stddef.h>" >> tmp-stdint.h
74742 fi
74743 if test "$acx_cv_header_stdint" != stddef.h; then
74744   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74745 fi
74746
74747 sed 's/^ *//' >> tmp-stdint.h <<EOF
74748   /* glibc uses these symbols as guards to prevent redefinitions.  */
74749   #ifdef __int8_t_defined
74750   #define _INT8_T
74751   #define _INT16_T
74752   #define _INT32_T
74753   #endif
74754   #ifdef __uint32_t_defined
74755   #define _UINT32_T
74756   #endif
74757
74758 EOF
74759
74760 # ----------------- done header, emit basic int types -------------
74761 if test "$acx_cv_header_stdint" = stddef.h; then
74762   sed 's/^ *//' >> tmp-stdint.h <<EOF
74763
74764     #ifndef _UINT8_T
74765     #define _UINT8_T
74766     #ifndef __uint8_t_defined
74767     #define __uint8_t_defined
74768     #ifndef uint8_t
74769     typedef unsigned $acx_cv_type_int8_t uint8_t;
74770     #endif
74771     #endif
74772     #endif
74773
74774     #ifndef _UINT16_T
74775     #define _UINT16_T
74776     #ifndef __uint16_t_defined
74777     #define __uint16_t_defined
74778     #ifndef uint16_t
74779     typedef unsigned $acx_cv_type_int16_t uint16_t;
74780     #endif
74781     #endif
74782     #endif
74783
74784     #ifndef _UINT32_T
74785     #define _UINT32_T
74786     #ifndef __uint32_t_defined
74787     #define __uint32_t_defined
74788     #ifndef uint32_t
74789     typedef unsigned $acx_cv_type_int32_t uint32_t;
74790     #endif
74791     #endif
74792     #endif
74793
74794     #ifndef _INT8_T
74795     #define _INT8_T
74796     #ifndef __int8_t_defined
74797     #define __int8_t_defined
74798     #ifndef int8_t
74799     typedef $acx_cv_type_int8_t int8_t;
74800     #endif
74801     #endif
74802     #endif
74803
74804     #ifndef _INT16_T
74805     #define _INT16_T
74806     #ifndef __int16_t_defined
74807     #define __int16_t_defined
74808     #ifndef int16_t
74809     typedef $acx_cv_type_int16_t int16_t;
74810     #endif
74811     #endif
74812     #endif
74813
74814     #ifndef _INT32_T
74815     #define _INT32_T
74816     #ifndef __int32_t_defined
74817     #define __int32_t_defined
74818     #ifndef int32_t
74819     typedef $acx_cv_type_int32_t int32_t;
74820     #endif
74821     #endif
74822     #endif
74823 EOF
74824 elif test "$ac_cv_type_u_int32_t" = yes; then
74825   sed 's/^ *//' >> tmp-stdint.h <<EOF
74826
74827     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74828     #ifndef _INT8_T
74829     #define _INT8_T
74830     #endif
74831     #ifndef _INT16_T
74832     #define _INT16_T
74833     #endif
74834     #ifndef _INT32_T
74835     #define _INT32_T
74836     #endif
74837
74838     #ifndef _UINT8_T
74839     #define _UINT8_T
74840     #ifndef __uint8_t_defined
74841     #define __uint8_t_defined
74842     #ifndef uint8_t
74843     typedef u_int8_t uint8_t;
74844     #endif
74845     #endif
74846     #endif
74847
74848     #ifndef _UINT16_T
74849     #define _UINT16_T
74850     #ifndef __uint16_t_defined
74851     #define __uint16_t_defined
74852     #ifndef uint16_t
74853     typedef u_int16_t uint16_t;
74854     #endif
74855     #endif
74856     #endif
74857
74858     #ifndef _UINT32_T
74859     #define _UINT32_T
74860     #ifndef __uint32_t_defined
74861     #define __uint32_t_defined
74862     #ifndef uint32_t
74863     typedef u_int32_t uint32_t;
74864     #endif
74865     #endif
74866     #endif
74867 EOF
74868 else
74869   sed 's/^ *//' >> tmp-stdint.h <<EOF
74870
74871     /* Some systems have guard macros to prevent redefinitions, define them.  */
74872     #ifndef _INT8_T
74873     #define _INT8_T
74874     #endif
74875     #ifndef _INT16_T
74876     #define _INT16_T
74877     #endif
74878     #ifndef _INT32_T
74879     #define _INT32_T
74880     #endif
74881     #ifndef _UINT8_T
74882     #define _UINT8_T
74883     #endif
74884     #ifndef _UINT16_T
74885     #define _UINT16_T
74886     #endif
74887     #ifndef _UINT32_T
74888     #define _UINT32_T
74889     #endif
74890 EOF
74891 fi
74892
74893 # ------------- done basic int types, emit int64_t types ------------
74894 if test "$ac_cv_type_uint64_t" = yes; then
74895   sed 's/^ *//' >> tmp-stdint.h <<EOF
74896
74897     /* system headers have good uint64_t and int64_t */
74898     #ifndef _INT64_T
74899     #define _INT64_T
74900     #endif
74901     #ifndef _UINT64_T
74902     #define _UINT64_T
74903     #endif
74904 EOF
74905 elif test "$ac_cv_type_u_int64_t" = yes; then
74906   sed 's/^ *//' >> tmp-stdint.h <<EOF
74907
74908     /* system headers have an u_int64_t (and int64_t) */
74909     #ifndef _INT64_T
74910     #define _INT64_T
74911     #endif
74912     #ifndef _UINT64_T
74913     #define _UINT64_T
74914     #ifndef __uint64_t_defined
74915     #define __uint64_t_defined
74916     #ifndef uint64_t
74917     typedef u_int64_t uint64_t;
74918     #endif
74919     #endif
74920     #endif
74921 EOF
74922 elif test -n "$acx_cv_type_int64_t"; then
74923   sed 's/^ *//' >> tmp-stdint.h <<EOF
74924
74925     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74926     #ifndef _INT64_T
74927     #define _INT64_T
74928     #ifndef int64_t
74929     typedef $acx_cv_type_int64_t int64_t;
74930     #endif
74931     #endif
74932     #ifndef _UINT64_T
74933     #define _UINT64_T
74934     #ifndef __uint64_t_defined
74935     #define __uint64_t_defined
74936     #ifndef uint64_t
74937     typedef unsigned $acx_cv_type_int64_t uint64_t;
74938     #endif
74939     #endif
74940     #endif
74941 EOF
74942 else
74943   sed 's/^ *//' >> tmp-stdint.h <<EOF
74944
74945     /* some common heuristics for int64_t, using compiler-specific tests */
74946     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74947     #ifndef _INT64_T
74948     #define _INT64_T
74949     #ifndef __int64_t_defined
74950     #ifndef int64_t
74951     typedef long long int64_t;
74952     #endif
74953     #endif
74954     #endif
74955     #ifndef _UINT64_T
74956     #define _UINT64_T
74957     #ifndef uint64_t
74958     typedef unsigned long long uint64_t;
74959     #endif
74960     #endif
74961
74962     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74963     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74964        does not implement __extension__.  But that compiler doesn't define
74965        __GNUC_MINOR__.  */
74966     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74967     # define __extension__
74968     # endif
74969
74970     # ifndef _INT64_T
74971     # define _INT64_T
74972     # ifndef int64_t
74973     __extension__ typedef long long int64_t;
74974     # endif
74975     # endif
74976     # ifndef _UINT64_T
74977     # define _UINT64_T
74978     # ifndef uint64_t
74979     __extension__ typedef unsigned long long uint64_t;
74980     # endif
74981     # endif
74982
74983     #elif !defined __STRICT_ANSI__
74984     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74985
74986     #  ifndef _INT64_T
74987     #  define _INT64_T
74988     #  ifndef int64_t
74989     typedef __int64 int64_t;
74990     #  endif
74991     #  endif
74992     #  ifndef _UINT64_T
74993     #  define _UINT64_T
74994     #  ifndef uint64_t
74995     typedef unsigned __int64 uint64_t;
74996     #  endif
74997     #  endif
74998     # endif /* compiler */
74999
75000     #endif /* ANSI version */
75001 EOF
75002 fi
75003
75004 # ------------- done int64_t types, emit intptr types ------------
75005 if test "$ac_cv_type_uintptr_t" != yes; then
75006   sed 's/^ *//' >> tmp-stdint.h <<EOF
75007
75008     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
75009     #ifndef __uintptr_t_defined
75010     #ifndef uintptr_t
75011     typedef u$acx_cv_type_intptr_t uintptr_t;
75012     #endif
75013     #endif
75014     #ifndef __intptr_t_defined
75015     #ifndef intptr_t
75016     typedef $acx_cv_type_intptr_t  intptr_t;
75017     #endif
75018     #endif
75019 EOF
75020 fi
75021
75022 # ------------- done intptr types, emit int_least types ------------
75023 if test "$ac_cv_type_int_least32_t" != yes; then
75024   sed 's/^ *//' >> tmp-stdint.h <<EOF
75025
75026     /* Define int_least types */
75027     typedef int8_t     int_least8_t;
75028     typedef int16_t    int_least16_t;
75029     typedef int32_t    int_least32_t;
75030     #ifdef _INT64_T
75031     typedef int64_t    int_least64_t;
75032     #endif
75033
75034     typedef uint8_t    uint_least8_t;
75035     typedef uint16_t   uint_least16_t;
75036     typedef uint32_t   uint_least32_t;
75037     #ifdef _UINT64_T
75038     typedef uint64_t   uint_least64_t;
75039     #endif
75040 EOF
75041 fi
75042
75043 # ------------- done intptr types, emit int_fast types ------------
75044 if test "$ac_cv_type_int_fast32_t" != yes; then
75045       sed 's/^ *//' >> tmp-stdint.h <<EOF
75046
75047     /* Define int_fast types.  short is often slow */
75048     typedef int8_t       int_fast8_t;
75049     typedef int          int_fast16_t;
75050     typedef int32_t      int_fast32_t;
75051     #ifdef _INT64_T
75052     typedef int64_t      int_fast64_t;
75053     #endif
75054
75055     typedef uint8_t      uint_fast8_t;
75056     typedef unsigned int uint_fast16_t;
75057     typedef uint32_t     uint_fast32_t;
75058     #ifdef _UINT64_T
75059     typedef uint64_t     uint_fast64_t;
75060     #endif
75061 EOF
75062 fi
75063
75064 if test "$ac_cv_type_uintmax_t" != yes; then
75065   sed 's/^ *//' >> tmp-stdint.h <<EOF
75066
75067     /* Define intmax based on what we found */
75068     #ifndef intmax_t
75069     #ifdef _INT64_T
75070     typedef int64_t       intmax_t;
75071     #else
75072     typedef long          intmax_t;
75073     #endif
75074     #endif
75075     #ifndef uintmax_t
75076     #ifdef _UINT64_T
75077     typedef uint64_t      uintmax_t;
75078     #else
75079     typedef unsigned long uintmax_t;
75080     #endif
75081     #endif
75082 EOF
75083 fi
75084
75085 sed 's/^ *//' >> tmp-stdint.h <<EOF
75086
75087   #endif /* GCC_GENERATED_STDINT_H */
75088 EOF
75089
75090 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75091   rm -f tmp-stdint.h
75092 else
75093   mv -f tmp-stdint.h include/gstdint.h
75094 fi
75095
75096  ;;
75097     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75098     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75099     "include/Makefile":F) cat > vpsed$$ << \_EOF
75100 s!`test -f '$<' || echo '$(srcdir)/'`!!
75101 _EOF
75102    sed -f vpsed$$ $ac_file > tmp$$
75103    mv tmp$$ $ac_file
75104    rm vpsed$$
75105    echo 'MULTISUBDIR =' >> $ac_file
75106    ml_norecursion=yes
75107    . ${multi_basedir}/config-ml.in
75108    { ml_norecursion=; unset ml_norecursion;}
75109  ;;
75110     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75111 s!`test -f '$<' || echo '$(srcdir)/'`!!
75112 _EOF
75113    sed -f vpsed$$ $ac_file > tmp$$
75114    mv tmp$$ $ac_file
75115    rm vpsed$$
75116    echo 'MULTISUBDIR =' >> $ac_file
75117    ml_norecursion=yes
75118    . ${multi_basedir}/config-ml.in
75119    { ml_norecursion=; unset ml_norecursion;}
75120  ;;
75121     "python/Makefile":F) cat > vpsed$$ << \_EOF
75122 s!`test -f '$<' || echo '$(srcdir)/'`!!
75123 _EOF
75124    sed -f vpsed$$ $ac_file > tmp$$
75125    mv tmp$$ $ac_file
75126    rm vpsed$$
75127    echo 'MULTISUBDIR =' >> $ac_file
75128    ml_norecursion=yes
75129    . ${multi_basedir}/config-ml.in
75130    { ml_norecursion=; unset ml_norecursion;}
75131  ;;
75132     "src/Makefile":F) cat > vpsed$$ << \_EOF
75133 s!`test -f '$<' || echo '$(srcdir)/'`!!
75134 _EOF
75135    sed -f vpsed$$ $ac_file > tmp$$
75136    mv tmp$$ $ac_file
75137    rm vpsed$$
75138    echo 'MULTISUBDIR =' >> $ac_file
75139    ml_norecursion=yes
75140    . ${multi_basedir}/config-ml.in
75141    { ml_norecursion=; unset ml_norecursion;}
75142  ;;
75143     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75144 s!`test -f '$<' || echo '$(srcdir)/'`!!
75145 _EOF
75146    sed -f vpsed$$ $ac_file > tmp$$
75147    mv tmp$$ $ac_file
75148    rm vpsed$$
75149    echo 'MULTISUBDIR =' >> $ac_file
75150    ml_norecursion=yes
75151    . ${multi_basedir}/config-ml.in
75152    { ml_norecursion=; unset ml_norecursion;}
75153  ;;
75154     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75155 s!`test -f '$<' || echo '$(srcdir)/'`!!
75156 _EOF
75157    sed -f vpsed$$ $ac_file > tmp$$
75158    mv tmp$$ $ac_file
75159    rm vpsed$$
75160    echo 'MULTISUBDIR =' >> $ac_file
75161    ml_norecursion=yes
75162    . ${multi_basedir}/config-ml.in
75163    { ml_norecursion=; unset ml_norecursion;}
75164  ;;
75165     "doc/Makefile":F) cat > vpsed$$ << \_EOF
75166 s!`test -f '$<' || echo '$(srcdir)/'`!!
75167 _EOF
75168    sed -f vpsed$$ $ac_file > tmp$$
75169    mv tmp$$ $ac_file
75170    rm vpsed$$
75171    echo 'MULTISUBDIR =' >> $ac_file
75172    ml_norecursion=yes
75173    . ${multi_basedir}/config-ml.in
75174    { ml_norecursion=; unset ml_norecursion;}
75175  ;;
75176     "po/Makefile":F) cat > vpsed$$ << \_EOF
75177 s!`test -f '$<' || echo '$(srcdir)/'`!!
75178 _EOF
75179    sed -f vpsed$$ $ac_file > tmp$$
75180    mv tmp$$ $ac_file
75181    rm vpsed$$
75182    echo 'MULTISUBDIR =' >> $ac_file
75183    ml_norecursion=yes
75184    . ${multi_basedir}/config-ml.in
75185    { ml_norecursion=; unset ml_norecursion;}
75186  ;;
75187     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75188 s!`test -f '$<' || echo '$(srcdir)/'`!!
75189 _EOF
75190    sed -f vpsed$$ $ac_file > tmp$$
75191    mv tmp$$ $ac_file
75192    rm vpsed$$
75193    echo 'MULTISUBDIR =' >> $ac_file
75194    ml_norecursion=yes
75195    . ${multi_basedir}/config-ml.in
75196    { ml_norecursion=; unset ml_norecursion;}
75197  ;;
75198     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75199
75200   esac
75201 done # for ac_tag
75202
75203
75204 as_fn_exit 0
75205 _ACEOF
75206 ac_clean_files=$ac_clean_files_save
75207
75208 test $ac_write_fail = 0 ||
75209   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75210
75211
75212 # configure is writing to config.log, and then calls config.status.
75213 # config.status does its own redirection, appending to config.log.
75214 # Unfortunately, on DOS this fails, as config.log is still kept open
75215 # by configure, so config.status won't be able to write to it; its
75216 # output is simply discarded.  So we exec the FD to /dev/null,
75217 # effectively closing config.log, so it can be properly (re)opened and
75218 # appended to by config.status.  When coming back to configure, we
75219 # need to make the FD available again.
75220 if test "$no_create" != yes; then
75221   ac_cs_success=:
75222   ac_config_status_args=
75223   test "$silent" = yes &&
75224     ac_config_status_args="$ac_config_status_args --quiet"
75225   exec 5>/dev/null
75226   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75227   exec 5>>config.log
75228   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75229   # would make configure fail if this is the last instruction.
75230   $ac_cs_success || as_fn_exit $?
75231 fi
75232 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75233   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75234 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
75235 fi
75236