OSDN Git Service

compiler: Fix backend representation for interface methods.
[pf3gnuchains/gcc-fork.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 PIC_CXXFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_PDF_FALSE
622 BUILD_PDF_TRUE
623 PDFLATEX
624 DBLATEX
625 BUILD_MAN_FALSE
626 BUILD_MAN_TRUE
627 BUILD_HTML_FALSE
628 BUILD_HTML_TRUE
629 BUILD_XML_FALSE
630 BUILD_XML_TRUE
631 BUILD_EPUB_FALSE
632 BUILD_EPUB_TRUE
633 XSL_STYLE_DIR
634 XMLLINT
635 XSLTPROC
636 DOT
637 DOXYGEN
638 BUILD_INFO_FALSE
639 BUILD_INFO_TRUE
640 baseline_subdir_switch
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 libtool_VERSION
647 ENABLE_SYMVERS_SOL2_FALSE
648 ENABLE_SYMVERS_SOL2_TRUE
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_PYTHONDIR_FALSE
668 ENABLE_PYTHONDIR_TRUE
669 python_mod_dir
670 ENABLE_EXTERN_TEMPLATE_FALSE
671 ENABLE_EXTERN_TEMPLATE_TRUE
672 EXTRA_CXX_FLAGS
673 ENABLE_PARALLEL_FALSE
674 ENABLE_PARALLEL_TRUE
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 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
726 NM
727 ac_ct_DUMPBIN
728 DUMPBIN
729 LD
730 FGREP
731 SED
732 LIBTOOL
733 EGREP
734 GREP
735 CPP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
740 AR
741 AS
742 LN_S
743 toplevel_srcdir
744 toplevel_builddir
745 glibcxx_srcdir
746 glibcxx_builddir
747 ac_ct_CXX
748 CXXFLAGS
749 CXX
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
756 CC
757 am__untar
758 am__tar
759 AMTAR
760 am__leading_dot
761 SET_MAKE
762 AWK
763 mkdir_p
764 MKDIR_P
765 INSTALL_STRIP_PROGRAM
766 STRIP
767 install_sh
768 MAKEINFO
769 AUTOHEADER
770 AUTOMAKE
771 AUTOCONF
772 ACLOCAL
773 VERSION
774 PACKAGE
775 CYGPATH_W
776 am__isrc
777 INSTALL_DATA
778 INSTALL_SCRIPT
779 INSTALL_PROGRAM
780 target_os
781 target_vendor
782 target_cpu
783 target
784 host_os
785 host_vendor
786 host_cpu
787 host
788 build_os
789 build_vendor
790 build_cpu
791 build
792 multi_basedir
793 target_alias
794 host_alias
795 build_alias
796 LIBS
797 ECHO_T
798 ECHO_N
799 ECHO_C
800 DEFS
801 mandir
802 localedir
803 libdir
804 psdir
805 pdfdir
806 dvidir
807 htmldir
808 infodir
809 docdir
810 oldincludedir
811 includedir
812 localstatedir
813 sharedstatedir
814 sysconfdir
815 datadir
816 datarootdir
817 libexecdir
818 sbindir
819 bindir
820 program_transform_name
821 prefix
822 exec_prefix
823 PACKAGE_URL
824 PACKAGE_BUGREPORT
825 PACKAGE_STRING
826 PACKAGE_VERSION
827 PACKAGE_TARNAME
828 PACKAGE_NAME
829 PATH_SEPARATOR
830 SHELL'
831 ac_subst_files=''
832 ac_user_opts='
833 enable_option_checking
834 enable_multilib
835 with_target_subdir
836 with_cross_host
837 with_newlib
838 enable_maintainer_mode
839 enable_shared
840 enable_static
841 with_pic
842 enable_fast_install
843 with_gnu_ld
844 enable_libtool_lock
845 enable_hosted_libstdcxx
846 enable_sjlj_exceptions
847 enable_libstdcxx_pch
848 enable_cstdio
849 enable_clocale
850 enable_nls
851 enable_libstdcxx_allocator
852 enable_cheaders
853 enable_long_long
854 enable_wchar_t
855 enable_c99
856 enable_concept_checks
857 enable_libstdcxx_debug_flags
858 enable_libstdcxx_debug
859 enable_cxx_flags
860 enable_fully_dynamic_string
861 enable_extern_template
862 with_python_dir
863 enable_libstdcxx_time
864 enable_tls
865 enable_rpath
866 with_libiconv_prefix
867 with_system_libunwind
868 enable_linux_futex
869 enable_symvers
870 enable_libstdcxx_visibility
871 enable_libstdcxx_threads
872 with_gxx_include_dir
873 enable_version_specific_runtime_libs
874 '
875       ac_precious_vars='build_alias
876 host_alias
877 target_alias
878 CC
879 CFLAGS
880 LDFLAGS
881 LIBS
882 CPPFLAGS
883 CXX
884 CXXFLAGS
885 CCC
886 CPP
887 CXXCPP
888 CXXFILT'
889
890
891 # Initialize some variables set by options.
892 ac_init_help=
893 ac_init_version=false
894 ac_unrecognized_opts=
895 ac_unrecognized_sep=
896 # The variables have the same names as the options, with
897 # dashes changed to underlines.
898 cache_file=/dev/null
899 exec_prefix=NONE
900 no_create=
901 no_recursion=
902 prefix=NONE
903 program_prefix=NONE
904 program_suffix=NONE
905 program_transform_name=s,x,x,
906 silent=
907 site=
908 srcdir=
909 verbose=
910 x_includes=NONE
911 x_libraries=NONE
912
913 # Installation directory options.
914 # These are left unexpanded so users can "make install exec_prefix=/foo"
915 # and all the variables that are supposed to be based on exec_prefix
916 # by default will actually change.
917 # Use braces instead of parens because sh, perl, etc. also accept them.
918 # (The list follows the same order as the GNU Coding Standards.)
919 bindir='${exec_prefix}/bin'
920 sbindir='${exec_prefix}/sbin'
921 libexecdir='${exec_prefix}/libexec'
922 datarootdir='${prefix}/share'
923 datadir='${datarootdir}'
924 sysconfdir='${prefix}/etc'
925 sharedstatedir='${prefix}/com'
926 localstatedir='${prefix}/var'
927 includedir='${prefix}/include'
928 oldincludedir='/usr/include'
929 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
930 infodir='${datarootdir}/info'
931 htmldir='${docdir}'
932 dvidir='${docdir}'
933 pdfdir='${docdir}'
934 psdir='${docdir}'
935 libdir='${exec_prefix}/lib'
936 localedir='${datarootdir}/locale'
937 mandir='${datarootdir}/man'
938
939 ac_prev=
940 ac_dashdash=
941 for ac_option
942 do
943   # If the previous option needs an argument, assign it.
944   if test -n "$ac_prev"; then
945     eval $ac_prev=\$ac_option
946     ac_prev=
947     continue
948   fi
949
950   case $ac_option in
951   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
952   *)    ac_optarg=yes ;;
953   esac
954
955   # Accept the important Cygnus configure options, so we can diagnose typos.
956
957   case $ac_dashdash$ac_option in
958   --)
959     ac_dashdash=yes ;;
960
961   -bindir | --bindir | --bindi | --bind | --bin | --bi)
962     ac_prev=bindir ;;
963   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
964     bindir=$ac_optarg ;;
965
966   -build | --build | --buil | --bui | --bu)
967     ac_prev=build_alias ;;
968   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
969     build_alias=$ac_optarg ;;
970
971   -cache-file | --cache-file | --cache-fil | --cache-fi \
972   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
973     ac_prev=cache_file ;;
974   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
975   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
976     cache_file=$ac_optarg ;;
977
978   --config-cache | -C)
979     cache_file=config.cache ;;
980
981   -datadir | --datadir | --datadi | --datad)
982     ac_prev=datadir ;;
983   -datadir=* | --datadir=* | --datadi=* | --datad=*)
984     datadir=$ac_optarg ;;
985
986   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
987   | --dataroo | --dataro | --datar)
988     ac_prev=datarootdir ;;
989   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
990   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
991     datarootdir=$ac_optarg ;;
992
993   -disable-* | --disable-*)
994     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
995     # Reject names that are not valid shell variable names.
996     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
997       as_fn_error "invalid feature name: $ac_useropt"
998     ac_useropt_orig=$ac_useropt
999     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000     case $ac_user_opts in
1001       *"
1002 "enable_$ac_useropt"
1003 "*) ;;
1004       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005          ac_unrecognized_sep=', ';;
1006     esac
1007     eval enable_$ac_useropt=no ;;
1008
1009   -docdir | --docdir | --docdi | --doc | --do)
1010     ac_prev=docdir ;;
1011   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1012     docdir=$ac_optarg ;;
1013
1014   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1015     ac_prev=dvidir ;;
1016   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1017     dvidir=$ac_optarg ;;
1018
1019   -enable-* | --enable-*)
1020     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021     # Reject names that are not valid shell variable names.
1022     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023       as_fn_error "invalid feature name: $ac_useropt"
1024     ac_useropt_orig=$ac_useropt
1025     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026     case $ac_user_opts in
1027       *"
1028 "enable_$ac_useropt"
1029 "*) ;;
1030       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1031          ac_unrecognized_sep=', ';;
1032     esac
1033     eval enable_$ac_useropt=\$ac_optarg ;;
1034
1035   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1036   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1037   | --exec | --exe | --ex)
1038     ac_prev=exec_prefix ;;
1039   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1040   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1041   | --exec=* | --exe=* | --ex=*)
1042     exec_prefix=$ac_optarg ;;
1043
1044   -gas | --gas | --ga | --g)
1045     # Obsolete; use --with-gas.
1046     with_gas=yes ;;
1047
1048   -help | --help | --hel | --he | -h)
1049     ac_init_help=long ;;
1050   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1051     ac_init_help=recursive ;;
1052   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1053     ac_init_help=short ;;
1054
1055   -host | --host | --hos | --ho)
1056     ac_prev=host_alias ;;
1057   -host=* | --host=* | --hos=* | --ho=*)
1058     host_alias=$ac_optarg ;;
1059
1060   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1061     ac_prev=htmldir ;;
1062   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1063   | --ht=*)
1064     htmldir=$ac_optarg ;;
1065
1066   -includedir | --includedir | --includedi | --included | --include \
1067   | --includ | --inclu | --incl | --inc)
1068     ac_prev=includedir ;;
1069   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1070   | --includ=* | --inclu=* | --incl=* | --inc=*)
1071     includedir=$ac_optarg ;;
1072
1073   -infodir | --infodir | --infodi | --infod | --info | --inf)
1074     ac_prev=infodir ;;
1075   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1076     infodir=$ac_optarg ;;
1077
1078   -libdir | --libdir | --libdi | --libd)
1079     ac_prev=libdir ;;
1080   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1081     libdir=$ac_optarg ;;
1082
1083   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1084   | --libexe | --libex | --libe)
1085     ac_prev=libexecdir ;;
1086   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1087   | --libexe=* | --libex=* | --libe=*)
1088     libexecdir=$ac_optarg ;;
1089
1090   -localedir | --localedir | --localedi | --localed | --locale)
1091     ac_prev=localedir ;;
1092   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1093     localedir=$ac_optarg ;;
1094
1095   -localstatedir | --localstatedir | --localstatedi | --localstated \
1096   | --localstate | --localstat | --localsta | --localst | --locals)
1097     ac_prev=localstatedir ;;
1098   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1099   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1100     localstatedir=$ac_optarg ;;
1101
1102   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1103     ac_prev=mandir ;;
1104   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1105     mandir=$ac_optarg ;;
1106
1107   -nfp | --nfp | --nf)
1108     # Obsolete; use --without-fp.
1109     with_fp=no ;;
1110
1111   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1112   | --no-cr | --no-c | -n)
1113     no_create=yes ;;
1114
1115   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1116   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1117     no_recursion=yes ;;
1118
1119   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1120   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1121   | --oldin | --oldi | --old | --ol | --o)
1122     ac_prev=oldincludedir ;;
1123   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1124   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1125   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1126     oldincludedir=$ac_optarg ;;
1127
1128   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1129     ac_prev=prefix ;;
1130   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1131     prefix=$ac_optarg ;;
1132
1133   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1134   | --program-pre | --program-pr | --program-p)
1135     ac_prev=program_prefix ;;
1136   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1137   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1138     program_prefix=$ac_optarg ;;
1139
1140   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1141   | --program-suf | --program-su | --program-s)
1142     ac_prev=program_suffix ;;
1143   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1144   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1145     program_suffix=$ac_optarg ;;
1146
1147   -program-transform-name | --program-transform-name \
1148   | --program-transform-nam | --program-transform-na \
1149   | --program-transform-n | --program-transform- \
1150   | --program-transform | --program-transfor \
1151   | --program-transfo | --program-transf \
1152   | --program-trans | --program-tran \
1153   | --progr-tra | --program-tr | --program-t)
1154     ac_prev=program_transform_name ;;
1155   -program-transform-name=* | --program-transform-name=* \
1156   | --program-transform-nam=* | --program-transform-na=* \
1157   | --program-transform-n=* | --program-transform-=* \
1158   | --program-transform=* | --program-transfor=* \
1159   | --program-transfo=* | --program-transf=* \
1160   | --program-trans=* | --program-tran=* \
1161   | --progr-tra=* | --program-tr=* | --program-t=*)
1162     program_transform_name=$ac_optarg ;;
1163
1164   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1165     ac_prev=pdfdir ;;
1166   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1167     pdfdir=$ac_optarg ;;
1168
1169   -psdir | --psdir | --psdi | --psd | --ps)
1170     ac_prev=psdir ;;
1171   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1172     psdir=$ac_optarg ;;
1173
1174   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1175   | -silent | --silent | --silen | --sile | --sil)
1176     silent=yes ;;
1177
1178   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1179     ac_prev=sbindir ;;
1180   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1181   | --sbi=* | --sb=*)
1182     sbindir=$ac_optarg ;;
1183
1184   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1185   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1186   | --sharedst | --shareds | --shared | --share | --shar \
1187   | --sha | --sh)
1188     ac_prev=sharedstatedir ;;
1189   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1190   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1191   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1192   | --sha=* | --sh=*)
1193     sharedstatedir=$ac_optarg ;;
1194
1195   -site | --site | --sit)
1196     ac_prev=site ;;
1197   -site=* | --site=* | --sit=*)
1198     site=$ac_optarg ;;
1199
1200   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1201     ac_prev=srcdir ;;
1202   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1203     srcdir=$ac_optarg ;;
1204
1205   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1206   | --syscon | --sysco | --sysc | --sys | --sy)
1207     ac_prev=sysconfdir ;;
1208   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1209   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1210     sysconfdir=$ac_optarg ;;
1211
1212   -target | --target | --targe | --targ | --tar | --ta | --t)
1213     ac_prev=target_alias ;;
1214   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1215     target_alias=$ac_optarg ;;
1216
1217   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1218     verbose=yes ;;
1219
1220   -version | --version | --versio | --versi | --vers | -V)
1221     ac_init_version=: ;;
1222
1223   -with-* | --with-*)
1224     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1225     # Reject names that are not valid shell variable names.
1226     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1227       as_fn_error "invalid package name: $ac_useropt"
1228     ac_useropt_orig=$ac_useropt
1229     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230     case $ac_user_opts in
1231       *"
1232 "with_$ac_useropt"
1233 "*) ;;
1234       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1235          ac_unrecognized_sep=', ';;
1236     esac
1237     eval with_$ac_useropt=\$ac_optarg ;;
1238
1239   -without-* | --without-*)
1240     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241     # Reject names that are not valid shell variable names.
1242     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1243       as_fn_error "invalid package name: $ac_useropt"
1244     ac_useropt_orig=$ac_useropt
1245     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246     case $ac_user_opts in
1247       *"
1248 "with_$ac_useropt"
1249 "*) ;;
1250       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1251          ac_unrecognized_sep=', ';;
1252     esac
1253     eval with_$ac_useropt=no ;;
1254
1255   --x)
1256     # Obsolete; use --with-x.
1257     with_x=yes ;;
1258
1259   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1260   | --x-incl | --x-inc | --x-in | --x-i)
1261     ac_prev=x_includes ;;
1262   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1263   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1264     x_includes=$ac_optarg ;;
1265
1266   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1267   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1268     ac_prev=x_libraries ;;
1269   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1270   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1271     x_libraries=$ac_optarg ;;
1272
1273   -*) as_fn_error "unrecognized option: \`$ac_option'
1274 Try \`$0 --help' for more information."
1275     ;;
1276
1277   *=*)
1278     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1279     # Reject names that are not valid shell variable names.
1280     case $ac_envvar in #(
1281       '' | [0-9]* | *[!_$as_cr_alnum]* )
1282       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1283     esac
1284     eval $ac_envvar=\$ac_optarg
1285     export $ac_envvar ;;
1286
1287   *)
1288     # FIXME: should be removed in autoconf 3.0.
1289     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1293     ;;
1294
1295   esac
1296 done
1297
1298 if test -n "$ac_prev"; then
1299   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1300   as_fn_error "missing argument to $ac_option"
1301 fi
1302
1303 if test -n "$ac_unrecognized_opts"; then
1304   case $enable_option_checking in
1305     no) ;;
1306     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1307     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308   esac
1309 fi
1310
1311 # Check all directory arguments for consistency.
1312 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313                 datadir sysconfdir sharedstatedir localstatedir includedir \
1314                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315                 libdir localedir mandir
1316 do
1317   eval ac_val=\$$ac_var
1318   # Remove trailing slashes.
1319   case $ac_val in
1320     */ )
1321       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1322       eval $ac_var=\$ac_val;;
1323   esac
1324   # Be sure to have absolute directory names.
1325   case $ac_val in
1326     [\\/$]* | ?:[\\/]* )  continue;;
1327     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1328   esac
1329   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1330 done
1331
1332 # There might be people who depend on the old broken behavior: `$host'
1333 # used to hold the argument of --host etc.
1334 # FIXME: To remove some day.
1335 build=$build_alias
1336 host=$host_alias
1337 target=$target_alias
1338
1339 # FIXME: To remove some day.
1340 if test "x$host_alias" != x; then
1341   if test "x$build_alias" = x; then
1342     cross_compiling=maybe
1343     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1344     If a cross compiler is detected then cross compile mode will be used." >&2
1345   elif test "x$build_alias" != "x$host_alias"; then
1346     cross_compiling=yes
1347   fi
1348 fi
1349
1350 ac_tool_prefix=
1351 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1352
1353 test "$silent" = yes && exec 6>/dev/null
1354
1355
1356 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1357 ac_ls_di=`ls -di .` &&
1358 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1359   as_fn_error "working directory cannot be determined"
1360 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1361   as_fn_error "pwd does not report name of working directory"
1362
1363
1364 # Find the source files, if location was not specified.
1365 if test -z "$srcdir"; then
1366   ac_srcdir_defaulted=yes
1367   # Try the directory containing this script, then the parent directory.
1368   ac_confdir=`$as_dirname -- "$as_myself" ||
1369 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1370          X"$as_myself" : 'X\(//\)[^/]' \| \
1371          X"$as_myself" : 'X\(//\)$' \| \
1372          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1373 $as_echo X"$as_myself" |
1374     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1375             s//\1/
1376             q
1377           }
1378           /^X\(\/\/\)[^/].*/{
1379             s//\1/
1380             q
1381           }
1382           /^X\(\/\/\)$/{
1383             s//\1/
1384             q
1385           }
1386           /^X\(\/\).*/{
1387             s//\1/
1388             q
1389           }
1390           s/.*/./; q'`
1391   srcdir=$ac_confdir
1392   if test ! -r "$srcdir/$ac_unique_file"; then
1393     srcdir=..
1394   fi
1395 else
1396   ac_srcdir_defaulted=no
1397 fi
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1400   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1401 fi
1402 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1403 ac_abs_confdir=`(
1404         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1405         pwd)`
1406 # When building in place, set srcdir=.
1407 if test "$ac_abs_confdir" = "$ac_pwd"; then
1408   srcdir=.
1409 fi
1410 # Remove unnecessary trailing slashes from srcdir.
1411 # Double slashes in file names in object file debugging info
1412 # mess up M-x gdb in Emacs.
1413 case $srcdir in
1414 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1415 esac
1416 for ac_var in $ac_precious_vars; do
1417   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1418   eval ac_env_${ac_var}_value=\$${ac_var}
1419   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1420   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1421 done
1422
1423 #
1424 # Report the --help message.
1425 #
1426 if test "$ac_init_help" = "long"; then
1427   # Omit some internal or obsolete options to make the list less imposing.
1428   # This message is too long to be a string in the A/UX 3.1 sh.
1429   cat <<_ACEOF
1430 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1431
1432 Usage: $0 [OPTION]... [VAR=VALUE]...
1433
1434 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1435 VAR=VALUE.  See below for descriptions of some of the useful variables.
1436
1437 Defaults for the options are specified in brackets.
1438
1439 Configuration:
1440   -h, --help              display this help and exit
1441       --help=short        display options specific to this package
1442       --help=recursive    display the short help of all the included packages
1443   -V, --version           display version information and exit
1444   -q, --quiet, --silent   do not print \`checking...' messages
1445       --cache-file=FILE   cache test results in FILE [disabled]
1446   -C, --config-cache      alias for \`--cache-file=config.cache'
1447   -n, --no-create         do not create output files
1448       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1449
1450 Installation directories:
1451   --prefix=PREFIX         install architecture-independent files in PREFIX
1452                           [$ac_default_prefix]
1453   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1454                           [PREFIX]
1455
1456 By default, \`make install' will install all the files in
1457 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1458 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1459 for instance \`--prefix=\$HOME'.
1460
1461 For better control, use the options below.
1462
1463 Fine tuning of the installation directories:
1464   --bindir=DIR            user executables [EPREFIX/bin]
1465   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1466   --libexecdir=DIR        program executables [EPREFIX/libexec]
1467   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1468   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1469   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1470   --libdir=DIR            object code libraries [EPREFIX/lib]
1471   --includedir=DIR        C header files [PREFIX/include]
1472   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1473   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1474   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1475   --infodir=DIR           info documentation [DATAROOTDIR/info]
1476   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1477   --mandir=DIR            man documentation [DATAROOTDIR/man]
1478   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1479   --htmldir=DIR           html documentation [DOCDIR]
1480   --dvidir=DIR            dvi documentation [DOCDIR]
1481   --pdfdir=DIR            pdf documentation [DOCDIR]
1482   --psdir=DIR             ps documentation [DOCDIR]
1483 _ACEOF
1484
1485   cat <<\_ACEOF
1486
1487 Program names:
1488   --program-prefix=PREFIX            prepend PREFIX to installed program names
1489   --program-suffix=SUFFIX            append SUFFIX to installed program names
1490   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1491
1492 System types:
1493   --build=BUILD     configure for building on BUILD [guessed]
1494   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1495   --target=TARGET   configure for building compilers for TARGET [HOST]
1496 _ACEOF
1497 fi
1498
1499 if test -n "$ac_init_help"; then
1500   case $ac_init_help in
1501      short | recursive ) echo "Configuration of package-unused version-unused:";;
1502    esac
1503   cat <<\_ACEOF
1504
1505 Optional Features:
1506   --disable-option-checking  ignore unrecognized --enable/--with options
1507   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1508   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1509   --enable-multilib       build many library versions (default)
1510   --enable-maintainer-mode  enable make rules and dependencies not useful
1511                           (and sometimes confusing) to the casual installer
1512   --enable-shared[=PKGS]  build shared libraries [default=yes]
1513   --enable-static[=PKGS]  build static libraries [default=yes]
1514   --enable-fast-install[=PKGS]
1515                           optimize for fast installation [default=yes]
1516   --disable-libtool-lock  avoid locking (might break parallel builds)
1517   --disable-hosted-libstdcxx
1518                           only build freestanding C++ runtime support
1519   --enable-sjlj-exceptions
1520                           force use of builtin_setjmp for exceptions
1521                           [default=auto]
1522   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1523                           [default=$is_hosted]
1524   --enable-cstdio[=PACKAGE]
1525                           use target-specific I/O package [default=stdio]
1526   --enable-clocale[=MODEL]
1527                           use MODEL for target locale package [default=auto]
1528   --enable-nls            use Native Language Support (default)
1529   --enable-libstdcxx-allocator[=KIND]
1530                           use KIND for target std::allocator base
1531                           [default=auto]
1532   --enable-cheaders[=KIND]
1533                           construct "C" headers for g++ [default=$c_model]
1534   --enable-long-long      enable template specializations for 'long long'
1535                           [default=yes]
1536   --enable-wchar_t        enable template specializations for 'wchar_t'
1537                           [default=yes]
1538   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1539   --enable-concept-checks use Boost-derived template checks [default=no]
1540   --enable-libstdcxx-debug-flags=FLAGS
1541                           pass compiler FLAGS when building debug library
1542                           [default="-gdwarf-4 -g3 -O0"]
1543   --enable-libstdcxx-debug
1544                           build extra debug library [default=no]
1545   --enable-cxx-flags=FLAGS
1546                           pass compiler FLAGS when building library [default=]
1547   --enable-fully-dynamic-string
1548                           do not put empty strings in per-process static
1549                           memory [default=no]
1550   --enable-extern-template
1551                           enable extern template [default=yes]
1552   --enable-libstdcxx-time[=KIND]
1553                           use KIND for check type [default=no]
1554   --enable-tls            Use thread-local storage [default=yes]
1555   --disable-rpath         do not hardcode runtime library paths
1556   --enable-linux-futex    use the Linux futex system call [default=default]
1557   --enable-symvers[=STYLE]
1558                           enables symbol versioning of the shared library
1559                           [default=yes]
1560   --enable-libstdcxx-visibility
1561                           enables visibility safe usage [default=yes]
1562   --enable-libstdcxx-threads
1563                           enable C++11 threads support [default=auto]
1564   --enable-version-specific-runtime-libs
1565                           Specify that runtime libraries should be installed
1566                           in a compiler-specific directory
1567
1568 Optional Packages:
1569   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1570   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1571   --with-target-subdir=SUBDIR
1572                           configuring in a subdirectory
1573   --with-cross-host=HOST  configuring with a cross compiler
1574   --with-newlib           assume newlib as a system C library
1575   --with-pic              try to use only PIC/non-PIC objects [default=use
1576                           both]
1577   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1578   --with-python-dir       the location to install Python modules. This path is
1579                           relative starting from the prefix.
1580   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1581   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1582   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1583   --with-system-libunwind use installed libunwind
1584   --with-gxx-include-dir=DIR
1585                           installation directory for include files
1586
1587 Some influential environment variables:
1588   CC          C compiler command
1589   CFLAGS      C compiler flags
1590   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1591               nonstandard directory <lib dir>
1592   LIBS        libraries to pass to the linker, e.g. -l<library>
1593   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1594               you have headers in a nonstandard directory <include dir>
1595   CXX         C++ compiler command
1596   CXXFLAGS    C++ compiler flags
1597   CPP         C preprocessor
1598   CXXCPP      C++ preprocessor
1599   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1600               `c++filt', `gc++filt' on PATH.
1601
1602 Use these variables to override the choices made by `configure' or to help
1603 it to find libraries and programs with nonstandard names/locations.
1604
1605 Report bugs to the package provider.
1606 _ACEOF
1607 ac_status=$?
1608 fi
1609
1610 if test "$ac_init_help" = "recursive"; then
1611   # If there are subdirs, report their specific --help.
1612   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1613     test -d "$ac_dir" ||
1614       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1615       continue
1616     ac_builddir=.
1617
1618 case "$ac_dir" in
1619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 *)
1621   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1622   # A ".." for each directory in $ac_dir_suffix.
1623   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1624   case $ac_top_builddir_sub in
1625   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1626   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1627   esac ;;
1628 esac
1629 ac_abs_top_builddir=$ac_pwd
1630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1631 # for backward compatibility:
1632 ac_top_builddir=$ac_top_build_prefix
1633
1634 case $srcdir in
1635   .)  # We are building in place.
1636     ac_srcdir=.
1637     ac_top_srcdir=$ac_top_builddir_sub
1638     ac_abs_top_srcdir=$ac_pwd ;;
1639   [\\/]* | ?:[\\/]* )  # Absolute name.
1640     ac_srcdir=$srcdir$ac_dir_suffix;
1641     ac_top_srcdir=$srcdir
1642     ac_abs_top_srcdir=$srcdir ;;
1643   *) # Relative name.
1644     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1645     ac_top_srcdir=$ac_top_build_prefix$srcdir
1646     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1647 esac
1648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1649
1650     cd "$ac_dir" || { ac_status=$?; continue; }
1651     # Check for guested configure.
1652     if test -f "$ac_srcdir/configure.gnu"; then
1653       echo &&
1654       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1655     elif test -f "$ac_srcdir/configure"; then
1656       echo &&
1657       $SHELL "$ac_srcdir/configure" --help=recursive
1658     else
1659       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1660     fi || ac_status=$?
1661     cd "$ac_pwd" || { ac_status=$?; break; }
1662   done
1663 fi
1664
1665 test -n "$ac_init_help" && exit $ac_status
1666 if $ac_init_version; then
1667   cat <<\_ACEOF
1668 package-unused configure version-unused
1669 generated by GNU Autoconf 2.64
1670
1671 Copyright (C) 2009 Free Software Foundation, Inc.
1672 This configure script is free software; the Free Software Foundation
1673 gives unlimited permission to copy, distribute and modify it.
1674 _ACEOF
1675   exit
1676 fi
1677
1678 ## ------------------------ ##
1679 ## Autoconf initialization. ##
1680 ## ------------------------ ##
1681
1682 # ac_fn_c_try_compile LINENO
1683 # --------------------------
1684 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1685 ac_fn_c_try_compile ()
1686 {
1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688   rm -f conftest.$ac_objext
1689   if { { ac_try="$ac_compile"
1690 case "(($ac_try" in
1691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692   *) ac_try_echo=$ac_try;;
1693 esac
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696   (eval "$ac_compile") 2>conftest.err
1697   ac_status=$?
1698   if test -s conftest.err; then
1699     grep -v '^ *+' conftest.err >conftest.er1
1700     cat conftest.er1 >&5
1701     mv -f conftest.er1 conftest.err
1702   fi
1703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704   test $ac_status = 0; } && {
1705          test -z "$ac_c_werror_flag" ||
1706          test ! -s conftest.err
1707        } && test -s conftest.$ac_objext; then :
1708   ac_retval=0
1709 else
1710   $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1712
1713         ac_retval=1
1714 fi
1715   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1716   return $ac_retval
1717
1718 } # ac_fn_c_try_compile
1719
1720 # ac_fn_cxx_try_compile LINENO
1721 # ----------------------------
1722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1723 ac_fn_cxx_try_compile ()
1724 {
1725   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726   rm -f conftest.$ac_objext
1727   if { { ac_try="$ac_compile"
1728 case "(($ac_try" in
1729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730   *) ac_try_echo=$ac_try;;
1731 esac
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734   (eval "$ac_compile") 2>conftest.err
1735   ac_status=$?
1736   if test -s conftest.err; then
1737     grep -v '^ *+' conftest.err >conftest.er1
1738     cat conftest.er1 >&5
1739     mv -f conftest.er1 conftest.err
1740   fi
1741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742   test $ac_status = 0; } && {
1743          test -z "$ac_cxx_werror_flag" ||
1744          test ! -s conftest.err
1745        } && test -s conftest.$ac_objext; then :
1746   ac_retval=0
1747 else
1748   $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1750
1751         ac_retval=1
1752 fi
1753   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1754   return $ac_retval
1755
1756 } # ac_fn_cxx_try_compile
1757
1758 # ac_fn_c_try_cpp LINENO
1759 # ----------------------
1760 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1761 ac_fn_c_try_cpp ()
1762 {
1763   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764   if { { ac_try="$ac_cpp conftest.$ac_ext"
1765 case "(($ac_try" in
1766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767   *) ac_try_echo=$ac_try;;
1768 esac
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1772   ac_status=$?
1773   if test -s conftest.err; then
1774     grep -v '^ *+' conftest.err >conftest.er1
1775     cat conftest.er1 >&5
1776     mv -f conftest.er1 conftest.err
1777   fi
1778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779   test $ac_status = 0; } >/dev/null && {
1780          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1781          test ! -s conftest.err
1782        }; then :
1783   ac_retval=0
1784 else
1785   $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1787
1788     ac_retval=1
1789 fi
1790   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1791   return $ac_retval
1792
1793 } # ac_fn_c_try_cpp
1794
1795 # ac_fn_c_try_link LINENO
1796 # -----------------------
1797 # Try to link conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_c_try_link ()
1799 {
1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801   rm -f conftest.$ac_objext conftest$ac_exeext
1802   if { { ac_try="$ac_link"
1803 case "(($ac_try" in
1804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1805   *) ac_try_echo=$ac_try;;
1806 esac
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809   (eval "$ac_link") 2>conftest.err
1810   ac_status=$?
1811   if test -s conftest.err; then
1812     grep -v '^ *+' conftest.err >conftest.er1
1813     cat conftest.er1 >&5
1814     mv -f conftest.er1 conftest.err
1815   fi
1816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817   test $ac_status = 0; } && {
1818          test -z "$ac_c_werror_flag" ||
1819          test ! -s conftest.err
1820        } && test -s conftest$ac_exeext && {
1821          test "$cross_compiling" = yes ||
1822          $as_test_x conftest$ac_exeext
1823        }; then :
1824   ac_retval=0
1825 else
1826   $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1828
1829         ac_retval=1
1830 fi
1831   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1832   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1833   # interfere with the next link command; also delete a directory that is
1834   # left behind by Apple's compiler.  We do this before executing the actions.
1835   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1836   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1837   return $ac_retval
1838
1839 } # ac_fn_c_try_link
1840
1841 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1842 # -------------------------------------------------------
1843 # Tests whether HEADER exists and can be compiled using the include files in
1844 # INCLUDES, setting the cache variable VAR accordingly.
1845 ac_fn_c_check_header_compile ()
1846 {
1847   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1849 $as_echo_n "checking for $2... " >&6; }
1850 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1851   $as_echo_n "(cached) " >&6
1852 else
1853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h.  */
1855 $4
1856 #include <$2>
1857 _ACEOF
1858 if ac_fn_c_try_compile "$LINENO"; then :
1859   eval "$3=yes"
1860 else
1861   eval "$3=no"
1862 fi
1863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1864 fi
1865 eval ac_res=\$$3
1866                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869
1870 } # ac_fn_c_check_header_compile
1871
1872 # ac_fn_c_try_run LINENO
1873 # ----------------------
1874 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1875 # that executables *can* be run.
1876 ac_fn_c_try_run ()
1877 {
1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879   if { { ac_try="$ac_link"
1880 case "(($ac_try" in
1881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882   *) ac_try_echo=$ac_try;;
1883 esac
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886   (eval "$ac_link") 2>&5
1887   ac_status=$?
1888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1890   { { case "(($ac_try" in
1891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892   *) ac_try_echo=$ac_try;;
1893 esac
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896   (eval "$ac_try") 2>&5
1897   ac_status=$?
1898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899   test $ac_status = 0; }; }; then :
1900   ac_retval=0
1901 else
1902   $as_echo "$as_me: program exited with status $ac_status" >&5
1903        $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1905
1906        ac_retval=$ac_status
1907 fi
1908   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910   return $ac_retval
1911
1912 } # ac_fn_c_try_run
1913
1914 # ac_fn_c_check_func LINENO FUNC VAR
1915 # ----------------------------------
1916 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1917 ac_fn_c_check_func ()
1918 {
1919   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1923   $as_echo_n "(cached) " >&6
1924 else
1925   if test x$gcc_no_link = xyes; then
1926   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1927 fi
1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h.  */
1930 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1931    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1932 #define $2 innocuous_$2
1933
1934 /* System header to define __stub macros and hopefully few prototypes,
1935     which can conflict with char $2 (); below.
1936     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1937     <limits.h> exists even on freestanding compilers.  */
1938
1939 #ifdef __STDC__
1940 # include <limits.h>
1941 #else
1942 # include <assert.h>
1943 #endif
1944
1945 #undef $2
1946
1947 /* Override any GCC internal prototype to avoid an error.
1948    Use char because int might match the return type of a GCC
1949    builtin and then its argument prototype would still apply.  */
1950 #ifdef __cplusplus
1951 extern "C"
1952 #endif
1953 char $2 ();
1954 /* The GNU C library defines this for functions which it implements
1955     to always fail with ENOSYS.  Some functions are actually named
1956     something starting with __ and the normal name is an alias.  */
1957 #if defined __stub_$2 || defined __stub___$2
1958 choke me
1959 #endif
1960
1961 int
1962 main ()
1963 {
1964 return $2 ();
1965   ;
1966   return 0;
1967 }
1968 _ACEOF
1969 if ac_fn_c_try_link "$LINENO"; then :
1970   eval "$3=yes"
1971 else
1972   eval "$3=no"
1973 fi
1974 rm -f core conftest.err conftest.$ac_objext \
1975     conftest$ac_exeext conftest.$ac_ext
1976 fi
1977 eval ac_res=\$$3
1978                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1980   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1981
1982 } # ac_fn_c_check_func
1983
1984 # ac_fn_cxx_try_cpp LINENO
1985 # ------------------------
1986 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_cxx_try_cpp ()
1988 {
1989   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990   if { { ac_try="$ac_cpp conftest.$ac_ext"
1991 case "(($ac_try" in
1992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1993   *) ac_try_echo=$ac_try;;
1994 esac
1995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1996 $as_echo "$ac_try_echo"; } >&5
1997   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1998   ac_status=$?
1999   if test -s conftest.err; then
2000     grep -v '^ *+' conftest.err >conftest.er1
2001     cat conftest.er1 >&5
2002     mv -f conftest.er1 conftest.err
2003   fi
2004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2005   test $ac_status = 0; } >/dev/null && {
2006          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2007          test ! -s conftest.err
2008        }; then :
2009   ac_retval=0
2010 else
2011   $as_echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.$ac_ext >&5
2013
2014     ac_retval=1
2015 fi
2016   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2017   return $ac_retval
2018
2019 } # ac_fn_cxx_try_cpp
2020
2021 # ac_fn_cxx_try_link LINENO
2022 # -------------------------
2023 # Try to link conftest.$ac_ext, and return whether this succeeded.
2024 ac_fn_cxx_try_link ()
2025 {
2026   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027   rm -f conftest.$ac_objext conftest$ac_exeext
2028   if { { ac_try="$ac_link"
2029 case "(($ac_try" in
2030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2031   *) ac_try_echo=$ac_try;;
2032 esac
2033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2034 $as_echo "$ac_try_echo"; } >&5
2035   (eval "$ac_link") 2>conftest.err
2036   ac_status=$?
2037   if test -s conftest.err; then
2038     grep -v '^ *+' conftest.err >conftest.er1
2039     cat conftest.er1 >&5
2040     mv -f conftest.er1 conftest.err
2041   fi
2042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2043   test $ac_status = 0; } && {
2044          test -z "$ac_cxx_werror_flag" ||
2045          test ! -s conftest.err
2046        } && test -s conftest$ac_exeext && {
2047          test "$cross_compiling" = yes ||
2048          $as_test_x conftest$ac_exeext
2049        }; then :
2050   ac_retval=0
2051 else
2052   $as_echo "$as_me: failed program was:" >&5
2053 sed 's/^/| /' conftest.$ac_ext >&5
2054
2055         ac_retval=1
2056 fi
2057   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2058   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2059   # interfere with the next link command; also delete a directory that is
2060   # left behind by Apple's compiler.  We do this before executing the actions.
2061   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2062   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2063   return $ac_retval
2064
2065 } # ac_fn_cxx_try_link
2066
2067 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2068 # -------------------------------------------------------
2069 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2070 # the include files in INCLUDES and setting the cache variable VAR
2071 # accordingly.
2072 ac_fn_c_check_header_mongrel ()
2073 {
2074   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2075   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2077 $as_echo_n "checking for $2... " >&6; }
2078 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2079   $as_echo_n "(cached) " >&6
2080 fi
2081 eval ac_res=\$$3
2082                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2083 $as_echo "$ac_res" >&6; }
2084 else
2085   # Is the header compilable?
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2087 $as_echo_n "checking $2 usability... " >&6; }
2088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h.  */
2090 $4
2091 #include <$2>
2092 _ACEOF
2093 if ac_fn_c_try_compile "$LINENO"; then :
2094   ac_header_compiler=yes
2095 else
2096   ac_header_compiler=no
2097 fi
2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2100 $as_echo "$ac_header_compiler" >&6; }
2101
2102 # Is the header present?
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2104 $as_echo_n "checking $2 presence... " >&6; }
2105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h.  */
2107 #include <$2>
2108 _ACEOF
2109 if ac_fn_c_try_cpp "$LINENO"; then :
2110   ac_header_preproc=yes
2111 else
2112   ac_header_preproc=no
2113 fi
2114 rm -f conftest.err conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2116 $as_echo "$ac_header_preproc" >&6; }
2117
2118 # So?  What about this header?
2119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2120   yes:no: )
2121     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2122 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2123     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2124 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2125     ;;
2126   no:yes:* )
2127     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2128 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2129     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2130 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2131     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2132 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2133     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2134 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2135     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2136 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2137     ;;
2138 esac
2139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2140 $as_echo_n "checking for $2... " >&6; }
2141 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2142   $as_echo_n "(cached) " >&6
2143 else
2144   eval "$3=\$ac_header_compiler"
2145 fi
2146 eval ac_res=\$$3
2147                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2148 $as_echo "$ac_res" >&6; }
2149 fi
2150   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2151
2152 } # ac_fn_c_check_header_mongrel
2153
2154 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2155 # ---------------------------------------------------------
2156 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2157 # the include files in INCLUDES and setting the cache variable VAR
2158 # accordingly.
2159 ac_fn_cxx_check_header_mongrel ()
2160 {
2161   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2162   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2164 $as_echo_n "checking for $2... " >&6; }
2165 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2166   $as_echo_n "(cached) " >&6
2167 fi
2168 eval ac_res=\$$3
2169                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2170 $as_echo "$ac_res" >&6; }
2171 else
2172   # Is the header compilable?
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2174 $as_echo_n "checking $2 usability... " >&6; }
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h.  */
2177 $4
2178 #include <$2>
2179 _ACEOF
2180 if ac_fn_cxx_try_compile "$LINENO"; then :
2181   ac_header_compiler=yes
2182 else
2183   ac_header_compiler=no
2184 fi
2185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2187 $as_echo "$ac_header_compiler" >&6; }
2188
2189 # Is the header present?
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2191 $as_echo_n "checking $2 presence... " >&6; }
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h.  */
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_cxx_try_cpp "$LINENO"; then :
2197   ac_header_preproc=yes
2198 else
2199   ac_header_preproc=no
2200 fi
2201 rm -f conftest.err conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2203 $as_echo "$ac_header_preproc" >&6; }
2204
2205 # So?  What about this header?
2206 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2207   yes:no: )
2208     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2209 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2210     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2211 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2212     ;;
2213   no:yes:* )
2214     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2215 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2216     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2217 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2218     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2219 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2220     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2221 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2222     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2223 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2224     ;;
2225 esac
2226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2227 $as_echo_n "checking for $2... " >&6; }
2228 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2229   $as_echo_n "(cached) " >&6
2230 else
2231   eval "$3=\$ac_header_compiler"
2232 fi
2233 eval ac_res=\$$3
2234                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2235 $as_echo "$ac_res" >&6; }
2236 fi
2237   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2238
2239 } # ac_fn_cxx_check_header_mongrel
2240
2241 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2242 # --------------------------------------------
2243 # Tries to find the compile-time value of EXPR in a program that includes
2244 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2245 # computed
2246 ac_fn_c_compute_int ()
2247 {
2248   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2249   if test "$cross_compiling" = yes; then
2250     # Depending upon the size, compute the lo and hi bounds.
2251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252 /* end confdefs.h.  */
2253 $4
2254 int
2255 main ()
2256 {
2257 static int test_array [1 - 2 * !(($2) >= 0)];
2258 test_array [0] = 0
2259
2260   ;
2261   return 0;
2262 }
2263 _ACEOF
2264 if ac_fn_c_try_compile "$LINENO"; then :
2265   ac_lo=0 ac_mid=0
2266   while :; do
2267     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h.  */
2269 $4
2270 int
2271 main ()
2272 {
2273 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2274 test_array [0] = 0
2275
2276   ;
2277   return 0;
2278 }
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281   ac_hi=$ac_mid; break
2282 else
2283   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2284                         if test $ac_lo -le $ac_mid; then
2285                           ac_lo= ac_hi=
2286                           break
2287                         fi
2288                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2289 fi
2290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2291   done
2292 else
2293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h.  */
2295 $4
2296 int
2297 main ()
2298 {
2299 static int test_array [1 - 2 * !(($2) < 0)];
2300 test_array [0] = 0
2301
2302   ;
2303   return 0;
2304 }
2305 _ACEOF
2306 if ac_fn_c_try_compile "$LINENO"; then :
2307   ac_hi=-1 ac_mid=-1
2308   while :; do
2309     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h.  */
2311 $4
2312 int
2313 main ()
2314 {
2315 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2316 test_array [0] = 0
2317
2318   ;
2319   return 0;
2320 }
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323   ac_lo=$ac_mid; break
2324 else
2325   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2326                         if test $ac_mid -le $ac_hi; then
2327                           ac_lo= ac_hi=
2328                           break
2329                         fi
2330                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2331 fi
2332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2333   done
2334 else
2335   ac_lo= ac_hi=
2336 fi
2337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2338 fi
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2340 # Binary search between lo and hi bounds.
2341 while test "x$ac_lo" != "x$ac_hi"; do
2342   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2344 /* end confdefs.h.  */
2345 $4
2346 int
2347 main ()
2348 {
2349 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2350 test_array [0] = 0
2351
2352   ;
2353   return 0;
2354 }
2355 _ACEOF
2356 if ac_fn_c_try_compile "$LINENO"; then :
2357   ac_hi=$ac_mid
2358 else
2359   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2360 fi
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2362 done
2363 case $ac_lo in #((
2364 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2365 '') ac_retval=1 ;;
2366 esac
2367   else
2368     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369 /* end confdefs.h.  */
2370 $4
2371 static long int longval () { return $2; }
2372 static unsigned long int ulongval () { return $2; }
2373 #include <stdio.h>
2374 #include <stdlib.h>
2375 int
2376 main ()
2377 {
2378
2379   FILE *f = fopen ("conftest.val", "w");
2380   if (! f)
2381     return 1;
2382   if (($2) < 0)
2383     {
2384       long int i = longval ();
2385       if (i != ($2))
2386         return 1;
2387       fprintf (f, "%ld", i);
2388     }
2389   else
2390     {
2391       unsigned long int i = ulongval ();
2392       if (i != ($2))
2393         return 1;
2394       fprintf (f, "%lu", i);
2395     }
2396   /* Do not output a trailing newline, as this causes \r\n confusion
2397      on some platforms.  */
2398   return ferror (f) || fclose (f) != 0;
2399
2400   ;
2401   return 0;
2402 }
2403 _ACEOF
2404 if ac_fn_c_try_run "$LINENO"; then :
2405   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2406 else
2407   ac_retval=1
2408 fi
2409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2410   conftest.$ac_objext conftest.beam conftest.$ac_ext
2411 rm -f conftest.val
2412
2413   fi
2414   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2415   return $ac_retval
2416
2417 } # ac_fn_c_compute_int
2418
2419 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2420 # -------------------------------------------
2421 # Tests whether TYPE exists after having included INCLUDES, setting cache
2422 # variable VAR accordingly.
2423 ac_fn_c_check_type ()
2424 {
2425   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2427 $as_echo_n "checking for $2... " >&6; }
2428 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2429   $as_echo_n "(cached) " >&6
2430 else
2431   eval "$3=no"
2432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433 /* end confdefs.h.  */
2434 $4
2435 int
2436 main ()
2437 {
2438 if (sizeof ($2))
2439          return 0;
2440   ;
2441   return 0;
2442 }
2443 _ACEOF
2444 if ac_fn_c_try_compile "$LINENO"; then :
2445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h.  */
2447 $4
2448 int
2449 main ()
2450 {
2451 if (sizeof (($2)))
2452             return 0;
2453   ;
2454   return 0;
2455 }
2456 _ACEOF
2457 if ac_fn_c_try_compile "$LINENO"; then :
2458
2459 else
2460   eval "$3=yes"
2461 fi
2462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2463 fi
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465 fi
2466 eval ac_res=\$$3
2467                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2468 $as_echo "$ac_res" >&6; }
2469   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2470
2471 } # ac_fn_c_check_type
2472 cat >config.log <<_ACEOF
2473 This file contains any messages produced by compilers while
2474 running configure, to aid debugging if configure makes a mistake.
2475
2476 It was created by package-unused $as_me version-unused, which was
2477 generated by GNU Autoconf 2.64.  Invocation command line was
2478
2479   $ $0 $@
2480
2481 _ACEOF
2482 exec 5>>config.log
2483 {
2484 cat <<_ASUNAME
2485 ## --------- ##
2486 ## Platform. ##
2487 ## --------- ##
2488
2489 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2490 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2491 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2492 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2493 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2494
2495 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2496 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2497
2498 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2499 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2500 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2501 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2502 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2503 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2504 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2505
2506 _ASUNAME
2507
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 for as_dir in $PATH
2510 do
2511   IFS=$as_save_IFS
2512   test -z "$as_dir" && as_dir=.
2513     $as_echo "PATH: $as_dir"
2514   done
2515 IFS=$as_save_IFS
2516
2517 } >&5
2518
2519 cat >&5 <<_ACEOF
2520
2521
2522 ## ----------- ##
2523 ## Core tests. ##
2524 ## ----------- ##
2525
2526 _ACEOF
2527
2528
2529 # Keep a trace of the command line.
2530 # Strip out --no-create and --no-recursion so they do not pile up.
2531 # Strip out --silent because we don't want to record it for future runs.
2532 # Also quote any args containing shell meta-characters.
2533 # Make two passes to allow for proper duplicate-argument suppression.
2534 ac_configure_args=
2535 ac_configure_args0=
2536 ac_configure_args1=
2537 ac_must_keep_next=false
2538 for ac_pass in 1 2
2539 do
2540   for ac_arg
2541   do
2542     case $ac_arg in
2543     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2544     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2545     | -silent | --silent | --silen | --sile | --sil)
2546       continue ;;
2547     *\'*)
2548       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2549     esac
2550     case $ac_pass in
2551     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2552     2)
2553       as_fn_append ac_configure_args1 " '$ac_arg'"
2554       if test $ac_must_keep_next = true; then
2555         ac_must_keep_next=false # Got value, back to normal.
2556       else
2557         case $ac_arg in
2558           *=* | --config-cache | -C | -disable-* | --disable-* \
2559           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2560           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2561           | -with-* | --with-* | -without-* | --without-* | --x)
2562             case "$ac_configure_args0 " in
2563               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2564             esac
2565             ;;
2566           -* ) ac_must_keep_next=true ;;
2567         esac
2568       fi
2569       as_fn_append ac_configure_args " '$ac_arg'"
2570       ;;
2571     esac
2572   done
2573 done
2574 { ac_configure_args0=; unset ac_configure_args0;}
2575 { ac_configure_args1=; unset ac_configure_args1;}
2576
2577 # When interrupted or exit'd, cleanup temporary files, and complete
2578 # config.log.  We remove comments because anyway the quotes in there
2579 # would cause problems or look ugly.
2580 # WARNING: Use '\'' to represent an apostrophe within the trap.
2581 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2582 trap 'exit_status=$?
2583   # Save into config.log some information that might help in debugging.
2584   {
2585     echo
2586
2587     cat <<\_ASBOX
2588 ## ---------------- ##
2589 ## Cache variables. ##
2590 ## ---------------- ##
2591 _ASBOX
2592     echo
2593     # The following way of writing the cache mishandles newlines in values,
2594 (
2595   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2596     eval ac_val=\$$ac_var
2597     case $ac_val in #(
2598     *${as_nl}*)
2599       case $ac_var in #(
2600       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2601 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2602       esac
2603       case $ac_var in #(
2604       _ | IFS | as_nl) ;; #(
2605       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2606       *) { eval $ac_var=; unset $ac_var;} ;;
2607       esac ;;
2608     esac
2609   done
2610   (set) 2>&1 |
2611     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2612     *${as_nl}ac_space=\ *)
2613       sed -n \
2614         "s/'\''/'\''\\\\'\'''\''/g;
2615           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2616       ;; #(
2617     *)
2618       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2619       ;;
2620     esac |
2621     sort
2622 )
2623     echo
2624
2625     cat <<\_ASBOX
2626 ## ----------------- ##
2627 ## Output variables. ##
2628 ## ----------------- ##
2629 _ASBOX
2630     echo
2631     for ac_var in $ac_subst_vars
2632     do
2633       eval ac_val=\$$ac_var
2634       case $ac_val in
2635       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2636       esac
2637       $as_echo "$ac_var='\''$ac_val'\''"
2638     done | sort
2639     echo
2640
2641     if test -n "$ac_subst_files"; then
2642       cat <<\_ASBOX
2643 ## ------------------- ##
2644 ## File substitutions. ##
2645 ## ------------------- ##
2646 _ASBOX
2647       echo
2648       for ac_var in $ac_subst_files
2649       do
2650         eval ac_val=\$$ac_var
2651         case $ac_val in
2652         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2653         esac
2654         $as_echo "$ac_var='\''$ac_val'\''"
2655       done | sort
2656       echo
2657     fi
2658
2659     if test -s confdefs.h; then
2660       cat <<\_ASBOX
2661 ## ----------- ##
2662 ## confdefs.h. ##
2663 ## ----------- ##
2664 _ASBOX
2665       echo
2666       cat confdefs.h
2667       echo
2668     fi
2669     test "$ac_signal" != 0 &&
2670       $as_echo "$as_me: caught signal $ac_signal"
2671     $as_echo "$as_me: exit $exit_status"
2672   } >&5
2673   rm -f core *.core core.conftest.* &&
2674     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2675     exit $exit_status
2676 ' 0
2677 for ac_signal in 1 2 13 15; do
2678   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2679 done
2680 ac_signal=0
2681
2682 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2683 rm -f -r conftest* confdefs.h
2684
2685 $as_echo "/* confdefs.h */" > confdefs.h
2686
2687 # Predefined preprocessor variables.
2688
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE_NAME "$PACKAGE_NAME"
2691 _ACEOF
2692
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2695 _ACEOF
2696
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2699 _ACEOF
2700
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_STRING "$PACKAGE_STRING"
2703 _ACEOF
2704
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2707 _ACEOF
2708
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_URL "$PACKAGE_URL"
2711 _ACEOF
2712
2713
2714 # Let the site file select an alternate cache file if it wants to.
2715 # Prefer an explicitly selected file to automatically selected ones.
2716 ac_site_file1=NONE
2717 ac_site_file2=NONE
2718 if test -n "$CONFIG_SITE"; then
2719   ac_site_file1=$CONFIG_SITE
2720 elif test "x$prefix" != xNONE; then
2721   ac_site_file1=$prefix/share/config.site
2722   ac_site_file2=$prefix/etc/config.site
2723 else
2724   ac_site_file1=$ac_default_prefix/share/config.site
2725   ac_site_file2=$ac_default_prefix/etc/config.site
2726 fi
2727 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2728 do
2729   test "x$ac_site_file" = xNONE && continue
2730   if test -r "$ac_site_file"; then
2731     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2732 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2733     sed 's/^/| /' "$ac_site_file" >&5
2734     . "$ac_site_file"
2735   fi
2736 done
2737
2738 if test -r "$cache_file"; then
2739   # Some versions of bash will fail to source /dev/null (special
2740   # files actually), so we avoid doing that.
2741   if test -f "$cache_file"; then
2742     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2743 $as_echo "$as_me: loading cache $cache_file" >&6;}
2744     case $cache_file in
2745       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2746       *)                      . "./$cache_file";;
2747     esac
2748   fi
2749 else
2750   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2751 $as_echo "$as_me: creating cache $cache_file" >&6;}
2752   >$cache_file
2753 fi
2754
2755 # Check that the precious variables saved in the cache have kept the same
2756 # value.
2757 ac_cache_corrupted=false
2758 for ac_var in $ac_precious_vars; do
2759   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2760   eval ac_new_set=\$ac_env_${ac_var}_set
2761   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2762   eval ac_new_val=\$ac_env_${ac_var}_value
2763   case $ac_old_set,$ac_new_set in
2764     set,)
2765       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2766 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2767       ac_cache_corrupted=: ;;
2768     ,set)
2769       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2770 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2771       ac_cache_corrupted=: ;;
2772     ,);;
2773     *)
2774       if test "x$ac_old_val" != "x$ac_new_val"; then
2775         # differences in whitespace do not lead to failure.
2776         ac_old_val_w=`echo x $ac_old_val`
2777         ac_new_val_w=`echo x $ac_new_val`
2778         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2779           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2780 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2781           ac_cache_corrupted=:
2782         else
2783           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2784 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2785           eval $ac_var=\$ac_old_val
2786         fi
2787         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2788 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2789         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2790 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2791       fi;;
2792   esac
2793   # Pass precious variables to config.status.
2794   if test "$ac_new_set" = set; then
2795     case $ac_new_val in
2796     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2797     *) ac_arg=$ac_var=$ac_new_val ;;
2798     esac
2799     case " $ac_configure_args " in
2800       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2801       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2802     esac
2803   fi
2804 done
2805 if $ac_cache_corrupted; then
2806   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2808   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2809 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2810   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2811 fi
2812 ## -------------------- ##
2813 ## Main body of script. ##
2814 ## -------------------- ##
2815
2816 ac_ext=c
2817 ac_cpp='$CPP $CPPFLAGS'
2818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2821
2822
2823
2824
2825
2826
2827 ac_config_headers="$ac_config_headers config.h"
2828
2829
2830 # This works around the fact that libtool configuration may change LD
2831 # for this particular configuration, but some shells, instead of
2832 # keeping the changes in LD private, export them just because LD is
2833 # exported.  Only used at the end of this file.
2834 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2835
2836 # Find the rest of the source tree framework.
2837 # Default to --enable-multilib
2838 # Check whether --enable-multilib was given.
2839 if test "${enable_multilib+set}" = set; then :
2840   enableval=$enable_multilib; case "$enableval" in
2841   yes) multilib=yes ;;
2842   no)  multilib=no ;;
2843   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2844  esac
2845 else
2846   multilib=yes
2847 fi
2848
2849
2850 # We may get other options which we leave undocumented:
2851 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2852 # See config-ml.in if you want the gory details.
2853
2854 if test "$srcdir" = "."; then
2855   if test "$with_target_subdir" != "."; then
2856     multi_basedir="$srcdir/$with_multisrctop../.."
2857   else
2858     multi_basedir="$srcdir/$with_multisrctop.."
2859   fi
2860 else
2861   multi_basedir="$srcdir/.."
2862 fi
2863
2864
2865 # Even if the default multilib is not a cross compilation,
2866 # it may be that some of the other multilibs are.
2867 if test $cross_compiling = no && test $multilib = yes \
2868    && test "x${with_multisubdir}" != x ; then
2869    cross_compiling=maybe
2870 fi
2871
2872 ac_config_commands="$ac_config_commands default-1"
2873
2874
2875 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2876 #
2877 # You will slowly go insane if you do not grok the following fact:  when
2878 # building v3 as part of the compiler, the top-level /target/ becomes the
2879 # library's /host/.  configure then causes --target to default to --host,
2880 # exactly like any other package using autoconf.  Therefore, 'target' and
2881 # 'host' will always be the same.  This makes sense both for native and
2882 # cross compilers, just think about it for a little while.  :-)
2883 #
2884 # Also, if v3 is being configured as part of a cross compiler, the top-level
2885 # configure script will pass the "real" host as $with_cross_host.
2886 #
2887 # Do not delete or change the following two lines.  For why, see
2888 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2889 ac_aux_dir=
2890 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2891   for ac_t in install-sh install.sh shtool; do
2892     if test -f "$ac_dir/$ac_t"; then
2893       ac_aux_dir=$ac_dir
2894       ac_install_sh="$ac_aux_dir/$ac_t -c"
2895       break 2
2896     fi
2897   done
2898 done
2899 if test -z "$ac_aux_dir"; then
2900   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2901 fi
2902
2903 # These three variables are undocumented and unsupported,
2904 # and are intended to be withdrawn in a future Autoconf release.
2905 # They can cause serious problems if a builder's source tree is in a directory
2906 # whose full name contains unusual characters.
2907 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2908 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2909 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2910
2911
2912 # Make sure we can run config.sub.
2913 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2914   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2915
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2917 $as_echo_n "checking build system type... " >&6; }
2918 if test "${ac_cv_build+set}" = set; then :
2919   $as_echo_n "(cached) " >&6
2920 else
2921   ac_build_alias=$build_alias
2922 test "x$ac_build_alias" = x &&
2923   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2924 test "x$ac_build_alias" = x &&
2925   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2926 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2927   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2928
2929 fi
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2931 $as_echo "$ac_cv_build" >&6; }
2932 case $ac_cv_build in
2933 *-*-*) ;;
2934 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2935 esac
2936 build=$ac_cv_build
2937 ac_save_IFS=$IFS; IFS='-'
2938 set x $ac_cv_build
2939 shift
2940 build_cpu=$1
2941 build_vendor=$2
2942 shift; shift
2943 # Remember, the first character of IFS is used to create $*,
2944 # except with old shells:
2945 build_os=$*
2946 IFS=$ac_save_IFS
2947 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2948
2949
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2951 $as_echo_n "checking host system type... " >&6; }
2952 if test "${ac_cv_host+set}" = set; then :
2953   $as_echo_n "(cached) " >&6
2954 else
2955   if test "x$host_alias" = x; then
2956   ac_cv_host=$ac_cv_build
2957 else
2958   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2959     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2960 fi
2961
2962 fi
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2964 $as_echo "$ac_cv_host" >&6; }
2965 case $ac_cv_host in
2966 *-*-*) ;;
2967 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2968 esac
2969 host=$ac_cv_host
2970 ac_save_IFS=$IFS; IFS='-'
2971 set x $ac_cv_host
2972 shift
2973 host_cpu=$1
2974 host_vendor=$2
2975 shift; shift
2976 # Remember, the first character of IFS is used to create $*,
2977 # except with old shells:
2978 host_os=$*
2979 IFS=$ac_save_IFS
2980 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2981
2982
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2984 $as_echo_n "checking target system type... " >&6; }
2985 if test "${ac_cv_target+set}" = set; then :
2986   $as_echo_n "(cached) " >&6
2987 else
2988   if test "x$target_alias" = x; then
2989   ac_cv_target=$ac_cv_host
2990 else
2991   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2992     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2993 fi
2994
2995 fi
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2997 $as_echo "$ac_cv_target" >&6; }
2998 case $ac_cv_target in
2999 *-*-*) ;;
3000 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3001 esac
3002 target=$ac_cv_target
3003 ac_save_IFS=$IFS; IFS='-'
3004 set x $ac_cv_target
3005 shift
3006 target_cpu=$1
3007 target_vendor=$2
3008 shift; shift
3009 # Remember, the first character of IFS is used to create $*,
3010 # except with old shells:
3011 target_os=$*
3012 IFS=$ac_save_IFS
3013 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3014
3015
3016 # The aliases save the names the user supplied, while $host etc.
3017 # will get canonicalized.
3018 test -n "$target_alias" &&
3019   test "$program_prefix$program_suffix$program_transform_name" = \
3020     NONENONEs,x,x, &&
3021   program_prefix=${target_alias}-
3022
3023 target_alias=${target_alias-$host_alias}
3024
3025 # Handy for debugging:
3026 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3027
3028 if test "$build" != "$host"; then
3029   # We are being configured with some form of cross compiler.
3030   GLIBCXX_IS_NATIVE=false
3031   case "$host","$target" in
3032     # Darwin crosses can use the host system's libraries and headers,
3033     # because of the fat library support.  Of course, it must be the
3034     # same version of Darwin on both sides.  Allow the user to
3035     # just say --target=foo-darwin without a version number to mean
3036     # "the version on this system".
3037       *-*-darwin*,*-*-darwin*)
3038         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3039         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3040         if test $hostos = $targetos -o $targetos = darwin ; then
3041           GLIBCXX_IS_NATIVE=true
3042         fi
3043         ;;
3044
3045       *)
3046
3047         ;;
3048   esac
3049 else
3050   GLIBCXX_IS_NATIVE=true
3051 fi
3052
3053 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3054 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3055 #  1.x:  minimum required version
3056 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3057 #              of other PACKAGE_* variables will, however, and there's nothing
3058 #              we can do about that; they come from AC_INIT).
3059 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3060 #            file in the top srcdir, etc, etc), so stop complaining.
3061 #  no-dependencies:  turns off auto dependency generation (just for now)
3062 #  no-dist:  we don't want 'dist' and related rules.
3063 #  -Wall:  turns on all automake warnings...
3064 #  -Wno-portability:  ...except this one, since GNU make is now required.
3065 am__api_version='1.11'
3066
3067 # Find a good install program.  We prefer a C program (faster),
3068 # so one script is as good as another.  But avoid the broken or
3069 # incompatible versions:
3070 # SysV /etc/install, /usr/sbin/install
3071 # SunOS /usr/etc/install
3072 # IRIX /sbin/install
3073 # AIX /bin/install
3074 # AmigaOS /C/install, which installs bootblocks on floppy discs
3075 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3076 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3077 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3078 # OS/2's system install, which has a completely different semantic
3079 # ./install, which can be erroneously created by make from ./install.sh.
3080 # Reject install programs that cannot install multiple files.
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3082 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3083 if test -z "$INSTALL"; then
3084 if test "${ac_cv_path_install+set}" = set; then :
3085   $as_echo_n "(cached) " >&6
3086 else
3087   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 for as_dir in $PATH
3089 do
3090   IFS=$as_save_IFS
3091   test -z "$as_dir" && as_dir=.
3092     # Account for people who put trailing slashes in PATH elements.
3093 case $as_dir/ in #((
3094   ./ | .// | /[cC]/* | \
3095   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3096   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3097   /usr/ucb/* ) ;;
3098   *)
3099     # OSF1 and SCO ODT 3.0 have their own names for install.
3100     # Don't use installbsd from OSF since it installs stuff as root
3101     # by default.
3102     for ac_prog in ginstall scoinst install; do
3103       for ac_exec_ext in '' $ac_executable_extensions; do
3104         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3105           if test $ac_prog = install &&
3106             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3107             # AIX install.  It has an incompatible calling convention.
3108             :
3109           elif test $ac_prog = install &&
3110             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3111             # program-specific install script used by HP pwplus--don't use.
3112             :
3113           else
3114             rm -rf conftest.one conftest.two conftest.dir
3115             echo one > conftest.one
3116             echo two > conftest.two
3117             mkdir conftest.dir
3118             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3119               test -s conftest.one && test -s conftest.two &&
3120               test -s conftest.dir/conftest.one &&
3121               test -s conftest.dir/conftest.two
3122             then
3123               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3124               break 3
3125             fi
3126           fi
3127         fi
3128       done
3129     done
3130     ;;
3131 esac
3132
3133   done
3134 IFS=$as_save_IFS
3135
3136 rm -rf conftest.one conftest.two conftest.dir
3137
3138 fi
3139   if test "${ac_cv_path_install+set}" = set; then
3140     INSTALL=$ac_cv_path_install
3141   else
3142     # As a last resort, use the slow shell script.  Don't cache a
3143     # value for INSTALL within a source directory, because that will
3144     # break other packages using the cache if that directory is
3145     # removed, or if the value is a relative name.
3146     INSTALL=$ac_install_sh
3147   fi
3148 fi
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3150 $as_echo "$INSTALL" >&6; }
3151
3152 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3153 # It thinks the first close brace ends the variable substitution.
3154 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3155
3156 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3157
3158 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3159
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3161 $as_echo_n "checking whether build environment is sane... " >&6; }
3162 # Just in case
3163 sleep 1
3164 echo timestamp > conftest.file
3165 # Reject unsafe characters in $srcdir or the absolute working directory
3166 # name.  Accept space and tab only in the latter.
3167 am_lf='
3168 '
3169 case `pwd` in
3170   *[\\\"\#\$\&\'\`$am_lf]*)
3171     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3172 esac
3173 case $srcdir in
3174   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3175     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3176 esac
3177
3178 # Do `set' in a subshell so we don't clobber the current shell's
3179 # arguments.  Must try -L first in case configure is actually a
3180 # symlink; some systems play weird games with the mod time of symlinks
3181 # (eg FreeBSD returns the mod time of the symlink's containing
3182 # directory).
3183 if (
3184    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3185    if test "$*" = "X"; then
3186       # -L didn't work.
3187       set X `ls -t "$srcdir/configure" conftest.file`
3188    fi
3189    rm -f conftest.file
3190    if test "$*" != "X $srcdir/configure conftest.file" \
3191       && test "$*" != "X conftest.file $srcdir/configure"; then
3192
3193       # If neither matched, then we have a broken ls.  This can happen
3194       # if, for instance, CONFIG_SHELL is bash and it inherits a
3195       # broken ls alias from the environment.  This has actually
3196       # happened.  Such a system could not be considered "sane".
3197       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3198 alias in your environment" "$LINENO" 5
3199    fi
3200
3201    test "$2" = conftest.file
3202    )
3203 then
3204    # Ok.
3205    :
3206 else
3207    as_fn_error "newly created file is older than distributed files!
3208 Check your system clock" "$LINENO" 5
3209 fi
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3211 $as_echo "yes" >&6; }
3212 test "$program_prefix" != NONE &&
3213   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3214 # Use a double $ so make ignores it.
3215 test "$program_suffix" != NONE &&
3216   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3217 # Double any \ or $.
3218 # By default was `s,x,x', remove it if useless.
3219 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3220 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3221
3222 # expand $ac_aux_dir to an absolute path
3223 am_aux_dir=`cd $ac_aux_dir && pwd`
3224
3225 if test x"${MISSING+set}" != xset; then
3226   case $am_aux_dir in
3227   *\ * | *\     *)
3228     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3229   *)
3230     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3231   esac
3232 fi
3233 # Use eval to expand $SHELL
3234 if eval "$MISSING --run true"; then
3235   am_missing_run="$MISSING --run "
3236 else
3237   am_missing_run=
3238   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3239 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3240 fi
3241
3242 if test x"${install_sh}" != xset; then
3243   case $am_aux_dir in
3244   *\ * | *\     *)
3245     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3246   *)
3247     install_sh="\${SHELL} $am_aux_dir/install-sh"
3248   esac
3249 fi
3250
3251 # Installed binaries are usually stripped using `strip' when the user
3252 # run `make install-strip'.  However `strip' might not be the right
3253 # tool to use in cross-compilation environments, therefore Automake
3254 # will honor the `STRIP' environment variable to overrule this program.
3255 if test "$cross_compiling" != no; then
3256   if test -n "$ac_tool_prefix"; then
3257   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3258 set dummy ${ac_tool_prefix}strip; ac_word=$2
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260 $as_echo_n "checking for $ac_word... " >&6; }
3261 if test "${ac_cv_prog_STRIP+set}" = set; then :
3262   $as_echo_n "(cached) " >&6
3263 else
3264   if test -n "$STRIP"; then
3265   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3266 else
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 for as_dir in $PATH
3269 do
3270   IFS=$as_save_IFS
3271   test -z "$as_dir" && as_dir=.
3272     for ac_exec_ext in '' $ac_executable_extensions; do
3273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3274     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276     break 2
3277   fi
3278 done
3279   done
3280 IFS=$as_save_IFS
3281
3282 fi
3283 fi
3284 STRIP=$ac_cv_prog_STRIP
3285 if test -n "$STRIP"; then
3286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3287 $as_echo "$STRIP" >&6; }
3288 else
3289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290 $as_echo "no" >&6; }
3291 fi
3292
3293
3294 fi
3295 if test -z "$ac_cv_prog_STRIP"; then
3296   ac_ct_STRIP=$STRIP
3297   # Extract the first word of "strip", so it can be a program name with args.
3298 set dummy strip; ac_word=$2
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3300 $as_echo_n "checking for $ac_word... " >&6; }
3301 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3302   $as_echo_n "(cached) " >&6
3303 else
3304   if test -n "$ac_ct_STRIP"; then
3305   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3306 else
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308 for as_dir in $PATH
3309 do
3310   IFS=$as_save_IFS
3311   test -z "$as_dir" && as_dir=.
3312     for ac_exec_ext in '' $ac_executable_extensions; do
3313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3314     ac_cv_prog_ac_ct_STRIP="strip"
3315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3316     break 2
3317   fi
3318 done
3319   done
3320 IFS=$as_save_IFS
3321
3322 fi
3323 fi
3324 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3325 if test -n "$ac_ct_STRIP"; then
3326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3327 $as_echo "$ac_ct_STRIP" >&6; }
3328 else
3329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3331 fi
3332
3333   if test "x$ac_ct_STRIP" = x; then
3334     STRIP=":"
3335   else
3336     case $cross_compiling:$ac_tool_warned in
3337 yes:)
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3340 ac_tool_warned=yes ;;
3341 esac
3342     STRIP=$ac_ct_STRIP
3343   fi
3344 else
3345   STRIP="$ac_cv_prog_STRIP"
3346 fi
3347
3348 fi
3349 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3350
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3352 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3353 if test -z "$MKDIR_P"; then
3354   if test "${ac_cv_path_mkdir+set}" = set; then :
3355   $as_echo_n "(cached) " >&6
3356 else
3357   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3359 do
3360   IFS=$as_save_IFS
3361   test -z "$as_dir" && as_dir=.
3362     for ac_prog in mkdir gmkdir; do
3363          for ac_exec_ext in '' $ac_executable_extensions; do
3364            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3365            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3366              'mkdir (GNU coreutils) '* | \
3367              'mkdir (coreutils) '* | \
3368              'mkdir (fileutils) '4.1*)
3369                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3370                break 3;;
3371            esac
3372          done
3373        done
3374   done
3375 IFS=$as_save_IFS
3376
3377 fi
3378
3379   if test "${ac_cv_path_mkdir+set}" = set; then
3380     MKDIR_P="$ac_cv_path_mkdir -p"
3381   else
3382     # As a last resort, use the slow shell script.  Don't cache a
3383     # value for MKDIR_P within a source directory, because that will
3384     # break other packages using the cache if that directory is
3385     # removed, or if the value is a relative name.
3386     test -d ./--version && rmdir ./--version
3387     MKDIR_P="$ac_install_sh -d"
3388   fi
3389 fi
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3391 $as_echo "$MKDIR_P" >&6; }
3392
3393 mkdir_p="$MKDIR_P"
3394 case $mkdir_p in
3395   [\\/$]* | ?:[\\/]*) ;;
3396   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3397 esac
3398
3399 for ac_prog in gawk mawk nawk awk
3400 do
3401   # Extract the first word of "$ac_prog", so it can be a program name with args.
3402 set dummy $ac_prog; ac_word=$2
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404 $as_echo_n "checking for $ac_word... " >&6; }
3405 if test "${ac_cv_prog_AWK+set}" = set; then :
3406   $as_echo_n "(cached) " >&6
3407 else
3408   if test -n "$AWK"; then
3409   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3410 else
3411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412 for as_dir in $PATH
3413 do
3414   IFS=$as_save_IFS
3415   test -z "$as_dir" && as_dir=.
3416     for ac_exec_ext in '' $ac_executable_extensions; do
3417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3418     ac_cv_prog_AWK="$ac_prog"
3419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420     break 2
3421   fi
3422 done
3423   done
3424 IFS=$as_save_IFS
3425
3426 fi
3427 fi
3428 AWK=$ac_cv_prog_AWK
3429 if test -n "$AWK"; then
3430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3431 $as_echo "$AWK" >&6; }
3432 else
3433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434 $as_echo "no" >&6; }
3435 fi
3436
3437
3438   test -n "$AWK" && break
3439 done
3440
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3442 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3443 set x ${MAKE-make}
3444 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3445 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3446   $as_echo_n "(cached) " >&6
3447 else
3448   cat >conftest.make <<\_ACEOF
3449 SHELL = /bin/sh
3450 all:
3451         @echo '@@@%%%=$(MAKE)=@@@%%%'
3452 _ACEOF
3453 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3454 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3455   *@@@%%%=?*=@@@%%%*)
3456     eval ac_cv_prog_make_${ac_make}_set=yes;;
3457   *)
3458     eval ac_cv_prog_make_${ac_make}_set=no;;
3459 esac
3460 rm -f conftest.make
3461 fi
3462 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3464 $as_echo "yes" >&6; }
3465   SET_MAKE=
3466 else
3467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3469   SET_MAKE="MAKE=${MAKE-make}"
3470 fi
3471
3472 rm -rf .tst 2>/dev/null
3473 mkdir .tst 2>/dev/null
3474 if test -d .tst; then
3475   am__leading_dot=.
3476 else
3477   am__leading_dot=_
3478 fi
3479 rmdir .tst 2>/dev/null
3480
3481 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3482   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3483   # is not polluted with repeated "-I."
3484   am__isrc=' -I$(srcdir)'
3485   # test to see if srcdir already configured
3486   if test -f $srcdir/config.status; then
3487     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3488   fi
3489 fi
3490
3491 # test whether we have cygpath
3492 if test -z "$CYGPATH_W"; then
3493   if (cygpath --version) >/dev/null 2>/dev/null; then
3494     CYGPATH_W='cygpath -w'
3495   else
3496     CYGPATH_W=echo
3497   fi
3498 fi
3499
3500
3501 # Define the identity of the package.
3502  PACKAGE='libstdc++'
3503  VERSION='version-unused'
3504
3505
3506 # Some tools Automake needs.
3507
3508 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3509
3510
3511 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3512
3513
3514 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3515
3516
3517 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3518
3519
3520 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3521
3522 # We need awk for the "check" target.  The system "awk" is bad on
3523 # some platforms.
3524 # Always define AMTAR for backward compatibility.
3525
3526 AMTAR=${AMTAR-"${am_missing_run}tar"}
3527
3528 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3529
3530
3531
3532
3533
3534
3535
3536
3537 # -fno-builtin must be present here so that a non-conflicting form of
3538 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3539
3540 save_CXXFLAGS="$CXXFLAGS"
3541 CXXFLAGS="$CXXFLAGS -fno-builtin"
3542 ac_ext=c
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3547 if test -n "$ac_tool_prefix"; then
3548   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3549 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if test "${ac_cv_prog_CC+set}" = set; then :
3553   $as_echo_n "(cached) " >&6
3554 else
3555   if test -n "$CC"; then
3556   ac_cv_prog_CC="$CC" # Let the user override the test.
3557 else
3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 for as_dir in $PATH
3560 do
3561   IFS=$as_save_IFS
3562   test -z "$as_dir" && as_dir=.
3563     for ac_exec_ext in '' $ac_executable_extensions; do
3564   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3565     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567     break 2
3568   fi
3569 done
3570   done
3571 IFS=$as_save_IFS
3572
3573 fi
3574 fi
3575 CC=$ac_cv_prog_CC
3576 if test -n "$CC"; then
3577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3578 $as_echo "$CC" >&6; }
3579 else
3580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3582 fi
3583
3584
3585 fi
3586 if test -z "$ac_cv_prog_CC"; then
3587   ac_ct_CC=$CC
3588   # Extract the first word of "gcc", so it can be a program name with args.
3589 set dummy gcc; ac_word=$2
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591 $as_echo_n "checking for $ac_word... " >&6; }
3592 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3593   $as_echo_n "(cached) " >&6
3594 else
3595   if test -n "$ac_ct_CC"; then
3596   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3597 else
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599 for as_dir in $PATH
3600 do
3601   IFS=$as_save_IFS
3602   test -z "$as_dir" && as_dir=.
3603     for ac_exec_ext in '' $ac_executable_extensions; do
3604   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3605     ac_cv_prog_ac_ct_CC="gcc"
3606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607     break 2
3608   fi
3609 done
3610   done
3611 IFS=$as_save_IFS
3612
3613 fi
3614 fi
3615 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3616 if test -n "$ac_ct_CC"; then
3617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3618 $as_echo "$ac_ct_CC" >&6; }
3619 else
3620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621 $as_echo "no" >&6; }
3622 fi
3623
3624   if test "x$ac_ct_CC" = x; then
3625     CC=""
3626   else
3627     case $cross_compiling:$ac_tool_warned in
3628 yes:)
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3631 ac_tool_warned=yes ;;
3632 esac
3633     CC=$ac_ct_CC
3634   fi
3635 else
3636   CC="$ac_cv_prog_CC"
3637 fi
3638
3639 if test -z "$CC"; then
3640           if test -n "$ac_tool_prefix"; then
3641     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3642 set dummy ${ac_tool_prefix}cc; ac_word=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if test "${ac_cv_prog_CC+set}" = set; then :
3646   $as_echo_n "(cached) " >&6
3647 else
3648   if test -n "$CC"; then
3649   ac_cv_prog_CC="$CC" # Let the user override the test.
3650 else
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 for as_dir in $PATH
3653 do
3654   IFS=$as_save_IFS
3655   test -z "$as_dir" && as_dir=.
3656     for ac_exec_ext in '' $ac_executable_extensions; do
3657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658     ac_cv_prog_CC="${ac_tool_prefix}cc"
3659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660     break 2
3661   fi
3662 done
3663   done
3664 IFS=$as_save_IFS
3665
3666 fi
3667 fi
3668 CC=$ac_cv_prog_CC
3669 if test -n "$CC"; then
3670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3671 $as_echo "$CC" >&6; }
3672 else
3673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674 $as_echo "no" >&6; }
3675 fi
3676
3677
3678   fi
3679 fi
3680 if test -z "$CC"; then
3681   # Extract the first word of "cc", so it can be a program name with args.
3682 set dummy cc; ac_word=$2
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3684 $as_echo_n "checking for $ac_word... " >&6; }
3685 if test "${ac_cv_prog_CC+set}" = set; then :
3686   $as_echo_n "(cached) " >&6
3687 else
3688   if test -n "$CC"; then
3689   ac_cv_prog_CC="$CC" # Let the user override the test.
3690 else
3691   ac_prog_rejected=no
3692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 for as_dir in $PATH
3694 do
3695   IFS=$as_save_IFS
3696   test -z "$as_dir" && as_dir=.
3697     for ac_exec_ext in '' $ac_executable_extensions; do
3698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3699     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3700        ac_prog_rejected=yes
3701        continue
3702      fi
3703     ac_cv_prog_CC="cc"
3704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705     break 2
3706   fi
3707 done
3708   done
3709 IFS=$as_save_IFS
3710
3711 if test $ac_prog_rejected = yes; then
3712   # We found a bogon in the path, so make sure we never use it.
3713   set dummy $ac_cv_prog_CC
3714   shift
3715   if test $# != 0; then
3716     # We chose a different compiler from the bogus one.
3717     # However, it has the same basename, so the bogon will be chosen
3718     # first if we set CC to just the basename; use the full file name.
3719     shift
3720     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3721   fi
3722 fi
3723 fi
3724 fi
3725 CC=$ac_cv_prog_CC
3726 if test -n "$CC"; then
3727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3729 else
3730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3732 fi
3733
3734
3735 fi
3736 if test -z "$CC"; then
3737   if test -n "$ac_tool_prefix"; then
3738   for ac_prog in cl.exe
3739   do
3740     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if test "${ac_cv_prog_CC+set}" = set; then :
3745   $as_echo_n "(cached) " >&6
3746 else
3747   if test -n "$CC"; then
3748   ac_cv_prog_CC="$CC" # Let the user override the test.
3749 else
3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 for as_dir in $PATH
3752 do
3753   IFS=$as_save_IFS
3754   test -z "$as_dir" && as_dir=.
3755     for ac_exec_ext in '' $ac_executable_extensions; do
3756   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3757     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759     break 2
3760   fi
3761 done
3762   done
3763 IFS=$as_save_IFS
3764
3765 fi
3766 fi
3767 CC=$ac_cv_prog_CC
3768 if test -n "$CC"; then
3769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3770 $as_echo "$CC" >&6; }
3771 else
3772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3774 fi
3775
3776
3777     test -n "$CC" && break
3778   done
3779 fi
3780 if test -z "$CC"; then
3781   ac_ct_CC=$CC
3782   for ac_prog in cl.exe
3783 do
3784   # Extract the first word of "$ac_prog", so it can be a program name with args.
3785 set dummy $ac_prog; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3789   $as_echo_n "(cached) " >&6
3790 else
3791   if test -n "$ac_ct_CC"; then
3792   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3793 else
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 for as_dir in $PATH
3796 do
3797   IFS=$as_save_IFS
3798   test -z "$as_dir" && as_dir=.
3799     for ac_exec_ext in '' $ac_executable_extensions; do
3800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3801     ac_cv_prog_ac_ct_CC="$ac_prog"
3802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803     break 2
3804   fi
3805 done
3806   done
3807 IFS=$as_save_IFS
3808
3809 fi
3810 fi
3811 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3812 if test -n "$ac_ct_CC"; then
3813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3814 $as_echo "$ac_ct_CC" >&6; }
3815 else
3816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3818 fi
3819
3820
3821   test -n "$ac_ct_CC" && break
3822 done
3823
3824   if test "x$ac_ct_CC" = x; then
3825     CC=""
3826   else
3827     case $cross_compiling:$ac_tool_warned in
3828 yes:)
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3831 ac_tool_warned=yes ;;
3832 esac
3833     CC=$ac_ct_CC
3834   fi
3835 fi
3836
3837 fi
3838
3839
3840 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3842 as_fn_error "no acceptable C compiler found in \$PATH
3843 See \`config.log' for more details." "$LINENO" 5; }
3844
3845 # Provide some information about the compiler.
3846 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3847 set X $ac_compile
3848 ac_compiler=$2
3849 for ac_option in --version -v -V -qversion; do
3850   { { ac_try="$ac_compiler $ac_option >&5"
3851 case "(($ac_try" in
3852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3853   *) ac_try_echo=$ac_try;;
3854 esac
3855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3856 $as_echo "$ac_try_echo"; } >&5
3857   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3858   ac_status=$?
3859   if test -s conftest.err; then
3860     sed '10a\
3861 ... rest of stderr output deleted ...
3862          10q' conftest.err >conftest.er1
3863     cat conftest.er1 >&5
3864     rm -f conftest.er1 conftest.err
3865   fi
3866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867   test $ac_status = 0; }
3868 done
3869
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h.  */
3872
3873 int
3874 main ()
3875 {
3876
3877   ;
3878   return 0;
3879 }
3880 _ACEOF
3881 # FIXME: Cleanup?
3882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3883   (eval $ac_link) 2>&5
3884   ac_status=$?
3885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3886   test $ac_status = 0; }; then :
3887   gcc_no_link=no
3888 else
3889   gcc_no_link=yes
3890 fi
3891 if test x$gcc_no_link = xyes; then
3892   # Setting cross_compile will disable run tests; it will
3893   # also disable AC_CHECK_FILE but that's generally
3894   # correct if we can't link.
3895   cross_compiling=yes
3896   EXEEXT=
3897 else
3898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h.  */
3900
3901 int
3902 main ()
3903 {
3904
3905   ;
3906   return 0;
3907 }
3908 _ACEOF
3909 ac_clean_files_save=$ac_clean_files
3910 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3911 # Try to create an executable without -o first, disregard a.out.
3912 # It will help us diagnose broken compilers, and finding out an intuition
3913 # of exeext.
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3915 $as_echo_n "checking for C compiler default output file name... " >&6; }
3916 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3917
3918 # The possible output files:
3919 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3920
3921 ac_rmfiles=
3922 for ac_file in $ac_files
3923 do
3924   case $ac_file in
3925     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3926     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3927   esac
3928 done
3929 rm -f $ac_rmfiles
3930
3931 if { { ac_try="$ac_link_default"
3932 case "(($ac_try" in
3933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934   *) ac_try_echo=$ac_try;;
3935 esac
3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 $as_echo "$ac_try_echo"; } >&5
3938   (eval "$ac_link_default") 2>&5
3939   ac_status=$?
3940   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941   test $ac_status = 0; }; then :
3942   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3943 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3944 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3945 # so that the user can short-circuit this test for compilers unknown to
3946 # Autoconf.
3947 for ac_file in $ac_files ''
3948 do
3949   test -f "$ac_file" || continue
3950   case $ac_file in
3951     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3952         ;;
3953     [ab].out )
3954         # We found the default executable, but exeext='' is most
3955         # certainly right.
3956         break;;
3957     *.* )
3958         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3959         then :; else
3960            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3961         fi
3962         # We set ac_cv_exeext here because the later test for it is not
3963         # safe: cross compilers may not add the suffix if given an `-o'
3964         # argument, so we may need to know it at that point already.
3965         # Even if this section looks crufty: it has the advantage of
3966         # actually working.
3967         break;;
3968     * )
3969         break;;
3970   esac
3971 done
3972 test "$ac_cv_exeext" = no && ac_cv_exeext=
3973
3974 else
3975   ac_file=''
3976 fi
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3978 $as_echo "$ac_file" >&6; }
3979 if test -z "$ac_file"; then :
3980   $as_echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3982
3983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 { as_fn_set_status 77
3986 as_fn_error "C compiler cannot create executables
3987 See \`config.log' for more details." "$LINENO" 5; }; }
3988 fi
3989 ac_exeext=$ac_cv_exeext
3990
3991 # Check that the compiler produces executables we can run.  If not, either
3992 # the compiler is broken, or we cross compile.
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3994 $as_echo_n "checking whether the C compiler works... " >&6; }
3995 # If not cross compiling, check that we can run a simple program.
3996 if test "$cross_compiling" != yes; then
3997   if { ac_try='./$ac_file'
3998   { { case "(($ac_try" in
3999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000   *) ac_try_echo=$ac_try;;
4001 esac
4002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4003 $as_echo "$ac_try_echo"; } >&5
4004   (eval "$ac_try") 2>&5
4005   ac_status=$?
4006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4007   test $ac_status = 0; }; }; then
4008     cross_compiling=no
4009   else
4010     if test "$cross_compiling" = maybe; then
4011         cross_compiling=yes
4012     else
4013         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error "cannot run C compiled programs.
4016 If you meant to cross compile, use \`--host'.
4017 See \`config.log' for more details." "$LINENO" 5; }
4018     fi
4019   fi
4020 fi
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4022 $as_echo "yes" >&6; }
4023
4024 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4025 ac_clean_files=$ac_clean_files_save
4026 # Check that the compiler produces executables we can run.  If not, either
4027 # the compiler is broken, or we cross compile.
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4029 $as_echo_n "checking whether we are cross compiling... " >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4031 $as_echo "$cross_compiling" >&6; }
4032
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4034 $as_echo_n "checking for suffix of executables... " >&6; }
4035 if { { ac_try="$ac_link"
4036 case "(($ac_try" in
4037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038   *) ac_try_echo=$ac_try;;
4039 esac
4040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4041 $as_echo "$ac_try_echo"; } >&5
4042   (eval "$ac_link") 2>&5
4043   ac_status=$?
4044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4045   test $ac_status = 0; }; then :
4046   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4047 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4048 # work properly (i.e., refer to `conftest.exe'), while it won't with
4049 # `rm'.
4050 for ac_file in conftest.exe conftest conftest.*; do
4051   test -f "$ac_file" || continue
4052   case $ac_file in
4053     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4054     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4055           break;;
4056     * ) break;;
4057   esac
4058 done
4059 else
4060   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4062 as_fn_error "cannot compute suffix of executables: cannot compile and link
4063 See \`config.log' for more details." "$LINENO" 5; }
4064 fi
4065 rm -f conftest$ac_cv_exeext
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4067 $as_echo "$ac_cv_exeext" >&6; }
4068
4069 rm -f conftest.$ac_ext
4070 EXEEXT=$ac_cv_exeext
4071 ac_exeext=$EXEEXT
4072 fi
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4074 $as_echo_n "checking for suffix of object files... " >&6; }
4075 if test "${ac_cv_objext+set}" = set; then :
4076   $as_echo_n "(cached) " >&6
4077 else
4078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h.  */
4080
4081 int
4082 main ()
4083 {
4084
4085   ;
4086   return 0;
4087 }
4088 _ACEOF
4089 rm -f conftest.o conftest.obj
4090 if { { ac_try="$ac_compile"
4091 case "(($ac_try" in
4092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093   *) ac_try_echo=$ac_try;;
4094 esac
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097   (eval "$ac_compile") 2>&5
4098   ac_status=$?
4099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100   test $ac_status = 0; }; then :
4101   for ac_file in conftest.o conftest.obj conftest.*; do
4102   test -f "$ac_file" || continue;
4103   case $ac_file in
4104     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4105     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4106        break;;
4107   esac
4108 done
4109 else
4110   $as_echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4112
4113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4115 as_fn_error "cannot compute suffix of object files: cannot compile
4116 See \`config.log' for more details." "$LINENO" 5; }
4117 fi
4118 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4119 fi
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4121 $as_echo "$ac_cv_objext" >&6; }
4122 OBJEXT=$ac_cv_objext
4123 ac_objext=$OBJEXT
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4125 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4126 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4127   $as_echo_n "(cached) " >&6
4128 else
4129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h.  */
4131
4132 int
4133 main ()
4134 {
4135 #ifndef __GNUC__
4136        choke me
4137 #endif
4138
4139   ;
4140   return 0;
4141 }
4142 _ACEOF
4143 if ac_fn_c_try_compile "$LINENO"; then :
4144   ac_compiler_gnu=yes
4145 else
4146   ac_compiler_gnu=no
4147 fi
4148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4150
4151 fi
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4153 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4154 if test $ac_compiler_gnu = yes; then
4155   GCC=yes
4156 else
4157   GCC=
4158 fi
4159 ac_test_CFLAGS=${CFLAGS+set}
4160 ac_save_CFLAGS=$CFLAGS
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4162 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4163 if test "${ac_cv_prog_cc_g+set}" = set; then :
4164   $as_echo_n "(cached) " >&6
4165 else
4166   ac_save_c_werror_flag=$ac_c_werror_flag
4167    ac_c_werror_flag=yes
4168    ac_cv_prog_cc_g=no
4169    CFLAGS="-g"
4170    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h.  */
4172
4173 int
4174 main ()
4175 {
4176
4177   ;
4178   return 0;
4179 }
4180 _ACEOF
4181 if ac_fn_c_try_compile "$LINENO"; then :
4182   ac_cv_prog_cc_g=yes
4183 else
4184   CFLAGS=""
4185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h.  */
4187
4188 int
4189 main ()
4190 {
4191
4192   ;
4193   return 0;
4194 }
4195 _ACEOF
4196 if ac_fn_c_try_compile "$LINENO"; then :
4197
4198 else
4199   ac_c_werror_flag=$ac_save_c_werror_flag
4200          CFLAGS="-g"
4201          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h.  */
4203
4204 int
4205 main ()
4206 {
4207
4208   ;
4209   return 0;
4210 }
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4213   ac_cv_prog_cc_g=yes
4214 fi
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 fi
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 fi
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220    ac_c_werror_flag=$ac_save_c_werror_flag
4221 fi
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4223 $as_echo "$ac_cv_prog_cc_g" >&6; }
4224 if test "$ac_test_CFLAGS" = set; then
4225   CFLAGS=$ac_save_CFLAGS
4226 elif test $ac_cv_prog_cc_g = yes; then
4227   if test "$GCC" = yes; then
4228     CFLAGS="-g -O2"
4229   else
4230     CFLAGS="-g"
4231   fi
4232 else
4233   if test "$GCC" = yes; then
4234     CFLAGS="-O2"
4235   else
4236     CFLAGS=
4237   fi
4238 fi
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4240 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4241 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4242   $as_echo_n "(cached) " >&6
4243 else
4244   ac_cv_prog_cc_c89=no
4245 ac_save_CC=$CC
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h.  */
4248 #include <stdarg.h>
4249 #include <stdio.h>
4250 #include <sys/types.h>
4251 #include <sys/stat.h>
4252 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4253 struct buf { int x; };
4254 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4255 static char *e (p, i)
4256      char **p;
4257      int i;
4258 {
4259   return p[i];
4260 }
4261 static char *f (char * (*g) (char **, int), char **p, ...)
4262 {
4263   char *s;
4264   va_list v;
4265   va_start (v,p);
4266   s = g (p, va_arg (v,int));
4267   va_end (v);
4268   return s;
4269 }
4270
4271 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4272    function prototypes and stuff, but not '\xHH' hex character constants.
4273    These don't provoke an error unfortunately, instead are silently treated
4274    as 'x'.  The following induces an error, until -std is added to get
4275    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4276    array size at least.  It's necessary to write '\x00'==0 to get something
4277    that's true only with -std.  */
4278 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4279
4280 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4281    inside strings and character constants.  */
4282 #define FOO(x) 'x'
4283 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4284
4285 int test (int i, double x);
4286 struct s1 {int (*f) (int a);};
4287 struct s2 {int (*f) (double a);};
4288 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4289 int argc;
4290 char **argv;
4291 int
4292 main ()
4293 {
4294 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4295   ;
4296   return 0;
4297 }
4298 _ACEOF
4299 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4300         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4301 do
4302   CC="$ac_save_CC $ac_arg"
4303   if ac_fn_c_try_compile "$LINENO"; then :
4304   ac_cv_prog_cc_c89=$ac_arg
4305 fi
4306 rm -f core conftest.err conftest.$ac_objext
4307   test "x$ac_cv_prog_cc_c89" != "xno" && break
4308 done
4309 rm -f conftest.$ac_ext
4310 CC=$ac_save_CC
4311
4312 fi
4313 # AC_CACHE_VAL
4314 case "x$ac_cv_prog_cc_c89" in
4315   x)
4316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4317 $as_echo "none needed" >&6; } ;;
4318   xno)
4319     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4320 $as_echo "unsupported" >&6; } ;;
4321   *)
4322     CC="$CC $ac_cv_prog_cc_c89"
4323     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4324 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4325 esac
4326 if test "x$ac_cv_prog_cc_c89" != xno; then :
4327
4328 fi
4329
4330 ac_ext=c
4331 ac_cpp='$CPP $CPPFLAGS'
4332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4335
4336 ac_ext=cpp
4337 ac_cpp='$CXXCPP $CPPFLAGS'
4338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4341 if test -z "$CXX"; then
4342   if test -n "$CCC"; then
4343     CXX=$CCC
4344   else
4345     if test -n "$ac_tool_prefix"; then
4346   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4347   do
4348     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4349 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4351 $as_echo_n "checking for $ac_word... " >&6; }
4352 if test "${ac_cv_prog_CXX+set}" = set; then :
4353   $as_echo_n "(cached) " >&6
4354 else
4355   if test -n "$CXX"; then
4356   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4357 else
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH
4360 do
4361   IFS=$as_save_IFS
4362   test -z "$as_dir" && as_dir=.
4363     for ac_exec_ext in '' $ac_executable_extensions; do
4364   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4365     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367     break 2
4368   fi
4369 done
4370   done
4371 IFS=$as_save_IFS
4372
4373 fi
4374 fi
4375 CXX=$ac_cv_prog_CXX
4376 if test -n "$CXX"; then
4377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4378 $as_echo "$CXX" >&6; }
4379 else
4380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4381 $as_echo "no" >&6; }
4382 fi
4383
4384
4385     test -n "$CXX" && break
4386   done
4387 fi
4388 if test -z "$CXX"; then
4389   ac_ct_CXX=$CXX
4390   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4391 do
4392   # Extract the first word of "$ac_prog", so it can be a program name with args.
4393 set dummy $ac_prog; ac_word=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4397   $as_echo_n "(cached) " >&6
4398 else
4399   if test -n "$ac_ct_CXX"; then
4400   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4401 else
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH
4404 do
4405   IFS=$as_save_IFS
4406   test -z "$as_dir" && as_dir=.
4407     for ac_exec_ext in '' $ac_executable_extensions; do
4408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4409     ac_cv_prog_ac_ct_CXX="$ac_prog"
4410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411     break 2
4412   fi
4413 done
4414   done
4415 IFS=$as_save_IFS
4416
4417 fi
4418 fi
4419 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4420 if test -n "$ac_ct_CXX"; then
4421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4422 $as_echo "$ac_ct_CXX" >&6; }
4423 else
4424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4426 fi
4427
4428
4429   test -n "$ac_ct_CXX" && break
4430 done
4431
4432   if test "x$ac_ct_CXX" = x; then
4433     CXX="g++"
4434   else
4435     case $cross_compiling:$ac_tool_warned in
4436 yes:)
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4439 ac_tool_warned=yes ;;
4440 esac
4441     CXX=$ac_ct_CXX
4442   fi
4443 fi
4444
4445   fi
4446 fi
4447 # Provide some information about the compiler.
4448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4449 set X $ac_compile
4450 ac_compiler=$2
4451 for ac_option in --version -v -V -qversion; do
4452   { { ac_try="$ac_compiler $ac_option >&5"
4453 case "(($ac_try" in
4454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455   *) ac_try_echo=$ac_try;;
4456 esac
4457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4458 $as_echo "$ac_try_echo"; } >&5
4459   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4460   ac_status=$?
4461   if test -s conftest.err; then
4462     sed '10a\
4463 ... rest of stderr output deleted ...
4464          10q' conftest.err >conftest.er1
4465     cat conftest.er1 >&5
4466     rm -f conftest.er1 conftest.err
4467   fi
4468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4469   test $ac_status = 0; }
4470 done
4471
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4473 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4474 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4475   $as_echo_n "(cached) " >&6
4476 else
4477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h.  */
4479
4480 int
4481 main ()
4482 {
4483 #ifndef __GNUC__
4484        choke me
4485 #endif
4486
4487   ;
4488   return 0;
4489 }
4490 _ACEOF
4491 if ac_fn_cxx_try_compile "$LINENO"; then :
4492   ac_compiler_gnu=yes
4493 else
4494   ac_compiler_gnu=no
4495 fi
4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4497 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4498
4499 fi
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4501 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4502 if test $ac_compiler_gnu = yes; then
4503   GXX=yes
4504 else
4505   GXX=
4506 fi
4507 ac_test_CXXFLAGS=${CXXFLAGS+set}
4508 ac_save_CXXFLAGS=$CXXFLAGS
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4510 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4511 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4512   $as_echo_n "(cached) " >&6
4513 else
4514   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4515    ac_cxx_werror_flag=yes
4516    ac_cv_prog_cxx_g=no
4517    CXXFLAGS="-g"
4518    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h.  */
4520
4521 int
4522 main ()
4523 {
4524
4525   ;
4526   return 0;
4527 }
4528 _ACEOF
4529 if ac_fn_cxx_try_compile "$LINENO"; then :
4530   ac_cv_prog_cxx_g=yes
4531 else
4532   CXXFLAGS=""
4533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h.  */
4535
4536 int
4537 main ()
4538 {
4539
4540   ;
4541   return 0;
4542 }
4543 _ACEOF
4544 if ac_fn_cxx_try_compile "$LINENO"; then :
4545
4546 else
4547   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4548          CXXFLAGS="-g"
4549          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h.  */
4551
4552 int
4553 main ()
4554 {
4555
4556   ;
4557   return 0;
4558 }
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4561   ac_cv_prog_cxx_g=yes
4562 fi
4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 fi
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 fi
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4569 fi
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4571 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4572 if test "$ac_test_CXXFLAGS" = set; then
4573   CXXFLAGS=$ac_save_CXXFLAGS
4574 elif test $ac_cv_prog_cxx_g = yes; then
4575   if test "$GXX" = yes; then
4576     CXXFLAGS="-g -O2"
4577   else
4578     CXXFLAGS="-g"
4579   fi
4580 else
4581   if test "$GXX" = yes; then
4582     CXXFLAGS="-O2"
4583   else
4584     CXXFLAGS=
4585   fi
4586 fi
4587 ac_ext=c
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4592
4593 CXXFLAGS="$save_CXXFLAGS"
4594
4595 # Runs configure.host, and assorted other critical bits.  Sets
4596 # up critical shell variables.
4597
4598 ac_ext=c
4599 ac_cpp='$CPP $CPPFLAGS'
4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4604 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4605 # On Suns, sometimes $CPP names a directory.
4606 if test -n "$CPP" && test -d "$CPP"; then
4607   CPP=
4608 fi
4609 if test -z "$CPP"; then
4610   if test "${ac_cv_prog_CPP+set}" = set; then :
4611   $as_echo_n "(cached) " >&6
4612 else
4613       # Double quotes because CPP needs to be expanded
4614     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4615     do
4616       ac_preproc_ok=false
4617 for ac_c_preproc_warn_flag in '' yes
4618 do
4619   # Use a header file that comes with gcc, so configuring glibc
4620   # with a fresh cross-compiler works.
4621   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4622   # <limits.h> exists even on freestanding compilers.
4623   # On the NeXT, cc -E runs the code through the compiler's parser,
4624   # not just through cpp. "Syntax error" is here to catch this case.
4625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h.  */
4627 #ifdef __STDC__
4628 # include <limits.h>
4629 #else
4630 # include <assert.h>
4631 #endif
4632                      Syntax error
4633 _ACEOF
4634 if ac_fn_c_try_cpp "$LINENO"; then :
4635
4636 else
4637   # Broken: fails on valid input.
4638 continue
4639 fi
4640 rm -f conftest.err conftest.$ac_ext
4641
4642   # OK, works on sane cases.  Now check whether nonexistent headers
4643   # can be detected and how.
4644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h.  */
4646 #include <ac_nonexistent.h>
4647 _ACEOF
4648 if ac_fn_c_try_cpp "$LINENO"; then :
4649   # Broken: success on invalid input.
4650 continue
4651 else
4652   # Passes both tests.
4653 ac_preproc_ok=:
4654 break
4655 fi
4656 rm -f conftest.err conftest.$ac_ext
4657
4658 done
4659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4660 rm -f conftest.err conftest.$ac_ext
4661 if $ac_preproc_ok; then :
4662   break
4663 fi
4664
4665     done
4666     ac_cv_prog_CPP=$CPP
4667
4668 fi
4669   CPP=$ac_cv_prog_CPP
4670 else
4671   ac_cv_prog_CPP=$CPP
4672 fi
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4674 $as_echo "$CPP" >&6; }
4675 ac_preproc_ok=false
4676 for ac_c_preproc_warn_flag in '' yes
4677 do
4678   # Use a header file that comes with gcc, so configuring glibc
4679   # with a fresh cross-compiler works.
4680   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4681   # <limits.h> exists even on freestanding compilers.
4682   # On the NeXT, cc -E runs the code through the compiler's parser,
4683   # not just through cpp. "Syntax error" is here to catch this case.
4684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h.  */
4686 #ifdef __STDC__
4687 # include <limits.h>
4688 #else
4689 # include <assert.h>
4690 #endif
4691                      Syntax error
4692 _ACEOF
4693 if ac_fn_c_try_cpp "$LINENO"; then :
4694
4695 else
4696   # Broken: fails on valid input.
4697 continue
4698 fi
4699 rm -f conftest.err conftest.$ac_ext
4700
4701   # OK, works on sane cases.  Now check whether nonexistent headers
4702   # can be detected and how.
4703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h.  */
4705 #include <ac_nonexistent.h>
4706 _ACEOF
4707 if ac_fn_c_try_cpp "$LINENO"; then :
4708   # Broken: success on invalid input.
4709 continue
4710 else
4711   # Passes both tests.
4712 ac_preproc_ok=:
4713 break
4714 fi
4715 rm -f conftest.err conftest.$ac_ext
4716
4717 done
4718 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4719 rm -f conftest.err conftest.$ac_ext
4720 if $ac_preproc_ok; then :
4721
4722 else
4723   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4725 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4726 See \`config.log' for more details." "$LINENO" 5; }
4727 fi
4728
4729 ac_ext=c
4730 ac_cpp='$CPP $CPPFLAGS'
4731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4734
4735
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4737 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4738 if test "${ac_cv_path_GREP+set}" = set; then :
4739   $as_echo_n "(cached) " >&6
4740 else
4741   if test -z "$GREP"; then
4742   ac_path_GREP_found=false
4743   # Loop through the user's path and test for each of PROGNAME-LIST
4744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4746 do
4747   IFS=$as_save_IFS
4748   test -z "$as_dir" && as_dir=.
4749     for ac_prog in grep ggrep; do
4750     for ac_exec_ext in '' $ac_executable_extensions; do
4751       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4752       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4753 # Check for GNU ac_path_GREP and select it if it is found.
4754   # Check for GNU $ac_path_GREP
4755 case `"$ac_path_GREP" --version 2>&1` in
4756 *GNU*)
4757   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4758 *)
4759   ac_count=0
4760   $as_echo_n 0123456789 >"conftest.in"
4761   while :
4762   do
4763     cat "conftest.in" "conftest.in" >"conftest.tmp"
4764     mv "conftest.tmp" "conftest.in"
4765     cp "conftest.in" "conftest.nl"
4766     $as_echo 'GREP' >> "conftest.nl"
4767     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4768     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4769     as_fn_arith $ac_count + 1 && ac_count=$as_val
4770     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4771       # Best one so far, save it but keep looking for a better one
4772       ac_cv_path_GREP="$ac_path_GREP"
4773       ac_path_GREP_max=$ac_count
4774     fi
4775     # 10*(2^10) chars as input seems more than enough
4776     test $ac_count -gt 10 && break
4777   done
4778   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4779 esac
4780
4781       $ac_path_GREP_found && break 3
4782     done
4783   done
4784   done
4785 IFS=$as_save_IFS
4786   if test -z "$ac_cv_path_GREP"; then
4787     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4788   fi
4789 else
4790   ac_cv_path_GREP=$GREP
4791 fi
4792
4793 fi
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4795 $as_echo "$ac_cv_path_GREP" >&6; }
4796  GREP="$ac_cv_path_GREP"
4797
4798
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4800 $as_echo_n "checking for egrep... " >&6; }
4801 if test "${ac_cv_path_EGREP+set}" = set; then :
4802   $as_echo_n "(cached) " >&6
4803 else
4804   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4805    then ac_cv_path_EGREP="$GREP -E"
4806    else
4807      if test -z "$EGREP"; then
4808   ac_path_EGREP_found=false
4809   # Loop through the user's path and test for each of PROGNAME-LIST
4810   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4812 do
4813   IFS=$as_save_IFS
4814   test -z "$as_dir" && as_dir=.
4815     for ac_prog in egrep; do
4816     for ac_exec_ext in '' $ac_executable_extensions; do
4817       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4818       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4819 # Check for GNU ac_path_EGREP and select it if it is found.
4820   # Check for GNU $ac_path_EGREP
4821 case `"$ac_path_EGREP" --version 2>&1` in
4822 *GNU*)
4823   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4824 *)
4825   ac_count=0
4826   $as_echo_n 0123456789 >"conftest.in"
4827   while :
4828   do
4829     cat "conftest.in" "conftest.in" >"conftest.tmp"
4830     mv "conftest.tmp" "conftest.in"
4831     cp "conftest.in" "conftest.nl"
4832     $as_echo 'EGREP' >> "conftest.nl"
4833     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4834     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4835     as_fn_arith $ac_count + 1 && ac_count=$as_val
4836     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4837       # Best one so far, save it but keep looking for a better one
4838       ac_cv_path_EGREP="$ac_path_EGREP"
4839       ac_path_EGREP_max=$ac_count
4840     fi
4841     # 10*(2^10) chars as input seems more than enough
4842     test $ac_count -gt 10 && break
4843   done
4844   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4845 esac
4846
4847       $ac_path_EGREP_found && break 3
4848     done
4849   done
4850   done
4851 IFS=$as_save_IFS
4852   if test -z "$ac_cv_path_EGREP"; then
4853     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4854   fi
4855 else
4856   ac_cv_path_EGREP=$EGREP
4857 fi
4858
4859    fi
4860 fi
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4862 $as_echo "$ac_cv_path_EGREP" >&6; }
4863  EGREP="$ac_cv_path_EGREP"
4864
4865
4866
4867   # Keep these sync'd with the list in Makefile.am.  The first provides an
4868   # expandable list at autoconf time; the second provides an expandable list
4869   # (i.e., shell variable) at configure time.
4870
4871   SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4872
4873   # These need to be absolute paths, yet at the same time need to
4874   # canonicalize only relative paths, because then amd will not unmount
4875   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4876   glibcxx_builddir=`${PWDCMD-pwd}`
4877   case $srcdir in
4878     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4879     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4880   esac
4881   toplevel_builddir=${glibcxx_builddir}/..
4882   toplevel_srcdir=${glibcxx_srcdir}/..
4883
4884
4885
4886
4887
4888   # We use these options to decide which functions to include.  They are
4889   # set from the top level.
4890
4891 # Check whether --with-target-subdir was given.
4892 if test "${with_target_subdir+set}" = set; then :
4893   withval=$with_target_subdir;
4894 fi
4895
4896
4897
4898 # Check whether --with-cross-host was given.
4899 if test "${with_cross_host+set}" = set; then :
4900   withval=$with_cross_host;
4901 fi
4902
4903
4904
4905 # Check whether --with-newlib was given.
4906 if test "${with_newlib+set}" = set; then :
4907   withval=$with_newlib;
4908 fi
4909
4910
4911   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4912   # available).  Uncomment the next line to force a particular method.
4913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4914 $as_echo_n "checking whether ln -s works... " >&6; }
4915 LN_S=$as_ln_s
4916 if test "$LN_S" = "ln -s"; then
4917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4918 $as_echo "yes" >&6; }
4919 else
4920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4921 $as_echo "no, using $LN_S" >&6; }
4922 fi
4923
4924   #LN_S='cp -p'
4925
4926   if test -n "$ac_tool_prefix"; then
4927   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4928 set dummy ${ac_tool_prefix}as; ac_word=$2
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4930 $as_echo_n "checking for $ac_word... " >&6; }
4931 if test "${ac_cv_prog_AS+set}" = set; then :
4932   $as_echo_n "(cached) " >&6
4933 else
4934   if test -n "$AS"; then
4935   ac_cv_prog_AS="$AS" # Let the user override the test.
4936 else
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 for as_dir in $PATH
4939 do
4940   IFS=$as_save_IFS
4941   test -z "$as_dir" && as_dir=.
4942     for ac_exec_ext in '' $ac_executable_extensions; do
4943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4944     ac_cv_prog_AS="${ac_tool_prefix}as"
4945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946     break 2
4947   fi
4948 done
4949   done
4950 IFS=$as_save_IFS
4951
4952 fi
4953 fi
4954 AS=$ac_cv_prog_AS
4955 if test -n "$AS"; then
4956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4957 $as_echo "$AS" >&6; }
4958 else
4959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4961 fi
4962
4963
4964 fi
4965 if test -z "$ac_cv_prog_AS"; then
4966   ac_ct_AS=$AS
4967   # Extract the first word of "as", so it can be a program name with args.
4968 set dummy as; ac_word=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4972   $as_echo_n "(cached) " >&6
4973 else
4974   if test -n "$ac_ct_AS"; then
4975   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4976 else
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH
4979 do
4980   IFS=$as_save_IFS
4981   test -z "$as_dir" && as_dir=.
4982     for ac_exec_ext in '' $ac_executable_extensions; do
4983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4984     ac_cv_prog_ac_ct_AS="as"
4985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4986     break 2
4987   fi
4988 done
4989   done
4990 IFS=$as_save_IFS
4991
4992 fi
4993 fi
4994 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4995 if test -n "$ac_ct_AS"; then
4996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4997 $as_echo "$ac_ct_AS" >&6; }
4998 else
4999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5001 fi
5002
5003   if test "x$ac_ct_AS" = x; then
5004     AS=""
5005   else
5006     case $cross_compiling:$ac_tool_warned in
5007 yes:)
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5010 ac_tool_warned=yes ;;
5011 esac
5012     AS=$ac_ct_AS
5013   fi
5014 else
5015   AS="$ac_cv_prog_AS"
5016 fi
5017
5018   if test -n "$ac_tool_prefix"; then
5019   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5020 set dummy ${ac_tool_prefix}ar; ac_word=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if test "${ac_cv_prog_AR+set}" = set; then :
5024   $as_echo_n "(cached) " >&6
5025 else
5026   if test -n "$AR"; then
5027   ac_cv_prog_AR="$AR" # Let the user override the test.
5028 else
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 for as_dir in $PATH
5031 do
5032   IFS=$as_save_IFS
5033   test -z "$as_dir" && as_dir=.
5034     for ac_exec_ext in '' $ac_executable_extensions; do
5035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5036     ac_cv_prog_AR="${ac_tool_prefix}ar"
5037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038     break 2
5039   fi
5040 done
5041   done
5042 IFS=$as_save_IFS
5043
5044 fi
5045 fi
5046 AR=$ac_cv_prog_AR
5047 if test -n "$AR"; then
5048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5049 $as_echo "$AR" >&6; }
5050 else
5051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5053 fi
5054
5055
5056 fi
5057 if test -z "$ac_cv_prog_AR"; then
5058   ac_ct_AR=$AR
5059   # Extract the first word of "ar", so it can be a program name with args.
5060 set dummy ar; ac_word=$2
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062 $as_echo_n "checking for $ac_word... " >&6; }
5063 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5064   $as_echo_n "(cached) " >&6
5065 else
5066   if test -n "$ac_ct_AR"; then
5067   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5068 else
5069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070 for as_dir in $PATH
5071 do
5072   IFS=$as_save_IFS
5073   test -z "$as_dir" && as_dir=.
5074     for ac_exec_ext in '' $ac_executable_extensions; do
5075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5076     ac_cv_prog_ac_ct_AR="ar"
5077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078     break 2
5079   fi
5080 done
5081   done
5082 IFS=$as_save_IFS
5083
5084 fi
5085 fi
5086 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5087 if test -n "$ac_ct_AR"; then
5088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5089 $as_echo "$ac_ct_AR" >&6; }
5090 else
5091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092 $as_echo "no" >&6; }
5093 fi
5094
5095   if test "x$ac_ct_AR" = x; then
5096     AR=""
5097   else
5098     case $cross_compiling:$ac_tool_warned in
5099 yes:)
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5102 ac_tool_warned=yes ;;
5103 esac
5104     AR=$ac_ct_AR
5105   fi
5106 else
5107   AR="$ac_cv_prog_AR"
5108 fi
5109
5110   if test -n "$ac_tool_prefix"; then
5111   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5112 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5116   $as_echo_n "(cached) " >&6
5117 else
5118   if test -n "$RANLIB"; then
5119   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5120 else
5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 for as_dir in $PATH
5123 do
5124   IFS=$as_save_IFS
5125   test -z "$as_dir" && as_dir=.
5126     for ac_exec_ext in '' $ac_executable_extensions; do
5127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5128     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130     break 2
5131   fi
5132 done
5133   done
5134 IFS=$as_save_IFS
5135
5136 fi
5137 fi
5138 RANLIB=$ac_cv_prog_RANLIB
5139 if test -n "$RANLIB"; then
5140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5141 $as_echo "$RANLIB" >&6; }
5142 else
5143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5145 fi
5146
5147
5148 fi
5149 if test -z "$ac_cv_prog_RANLIB"; then
5150   ac_ct_RANLIB=$RANLIB
5151   # Extract the first word of "ranlib", so it can be a program name with args.
5152 set dummy ranlib; ac_word=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5156   $as_echo_n "(cached) " >&6
5157 else
5158   if test -n "$ac_ct_RANLIB"; then
5159   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5160 else
5161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162 for as_dir in $PATH
5163 do
5164   IFS=$as_save_IFS
5165   test -z "$as_dir" && as_dir=.
5166     for ac_exec_ext in '' $ac_executable_extensions; do
5167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5168     ac_cv_prog_ac_ct_RANLIB="ranlib"
5169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170     break 2
5171   fi
5172 done
5173   done
5174 IFS=$as_save_IFS
5175
5176 fi
5177 fi
5178 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5179 if test -n "$ac_ct_RANLIB"; then
5180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5181 $as_echo "$ac_ct_RANLIB" >&6; }
5182 else
5183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5185 fi
5186
5187   if test "x$ac_ct_RANLIB" = x; then
5188     RANLIB="ranlib-not-found-in-path-error"
5189   else
5190     case $cross_compiling:$ac_tool_warned in
5191 yes:)
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5194 ac_tool_warned=yes ;;
5195 esac
5196     RANLIB=$ac_ct_RANLIB
5197   fi
5198 else
5199   RANLIB="$ac_cv_prog_RANLIB"
5200 fi
5201
5202
5203
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5205 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5206     # Check whether --enable-maintainer-mode was given.
5207 if test "${enable_maintainer_mode+set}" = set; then :
5208   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5209 else
5210   USE_MAINTAINER_MODE=no
5211 fi
5212
5213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5214 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5215    if test $USE_MAINTAINER_MODE = yes; then
5216   MAINTAINER_MODE_TRUE=
5217   MAINTAINER_MODE_FALSE='#'
5218 else
5219   MAINTAINER_MODE_TRUE='#'
5220   MAINTAINER_MODE_FALSE=
5221 fi
5222
5223   MAINT=$MAINTAINER_MODE_TRUE
5224
5225
5226
5227   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5228   # which are themselves conditionally expanded.
5229   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5230   ## other macros from doing the same.  This should be automated.)  -pme
5231
5232   # Check for C library flavor since GNU/Linux platforms use different
5233   # configuration directories depending on the C library in use.
5234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h.  */
5236
5237   #include <stdio.h>
5238   #if __UCLIBC__
5239     _using_uclibc
5240   #endif
5241
5242 _ACEOF
5243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5244   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5245   uclibc=yes
5246 else
5247   uclibc=no
5248 fi
5249 rm -f conftest*
5250
5251
5252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h.  */
5254
5255   #include <stdio.h>
5256   #if __BIONIC__
5257     _using_bionic
5258   #endif
5259
5260 _ACEOF
5261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5262   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5263   bionic=yes
5264 else
5265   bionic=no
5266 fi
5267 rm -f conftest*
5268
5269
5270   # Find platform-specific directories containing configuration info.
5271   # Also possibly modify flags used elsewhere, as needed by the platform.
5272
5273   . $glibcxx_srcdir/configure.host
5274   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5275 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5276   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5277 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5278
5279
5280
5281 if test "x${with_newlib}" != "xyes"; then
5282   enable_dlopen=yes
5283
5284
5285
5286 fi
5287 case `pwd` in
5288   *\ * | *\     *)
5289     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5290 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5291 esac
5292
5293
5294
5295 macro_version='2.2.7a'
5296 macro_revision='1.3134'
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310 ltmain="$ac_aux_dir/ltmain.sh"
5311
5312 # Backslashify metacharacters that are still active within
5313 # double-quoted strings.
5314 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5315
5316 # Same as above, but do not quote variable references.
5317 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5318
5319 # Sed substitution to delay expansion of an escaped shell variable in a
5320 # double_quote_subst'ed string.
5321 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5322
5323 # Sed substitution to delay expansion of an escaped single quote.
5324 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5325
5326 # Sed substitution to avoid accidental globbing in evaled expressions
5327 no_glob_subst='s/\*/\\\*/g'
5328
5329 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5330 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5331 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5332
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5334 $as_echo_n "checking how to print strings... " >&6; }
5335 # Test print first, because it will be a builtin if present.
5336 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5337    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5338   ECHO='print -r --'
5339 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5340   ECHO='printf %s\n'
5341 else
5342   # Use this function as a fallback that always works.
5343   func_fallback_echo ()
5344   {
5345     eval 'cat <<_LTECHO_EOF
5346 $1
5347 _LTECHO_EOF'
5348   }
5349   ECHO='func_fallback_echo'
5350 fi
5351
5352 # func_echo_all arg...
5353 # Invoke $ECHO with all args, space-separated.
5354 func_echo_all ()
5355 {
5356     $ECHO ""
5357 }
5358
5359 case "$ECHO" in
5360   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5361 $as_echo "printf" >&6; } ;;
5362   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5363 $as_echo "print -r" >&6; } ;;
5364   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5365 $as_echo "cat" >&6; } ;;
5366 esac
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5382 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5383 if test "${ac_cv_path_SED+set}" = set; then :
5384   $as_echo_n "(cached) " >&6
5385 else
5386             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5387      for ac_i in 1 2 3 4 5 6 7; do
5388        ac_script="$ac_script$as_nl$ac_script"
5389      done
5390      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5391      { ac_script=; unset ac_script;}
5392      if test -z "$SED"; then
5393   ac_path_SED_found=false
5394   # Loop through the user's path and test for each of PROGNAME-LIST
5395   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 for as_dir in $PATH
5397 do
5398   IFS=$as_save_IFS
5399   test -z "$as_dir" && as_dir=.
5400     for ac_prog in sed gsed; do
5401     for ac_exec_ext in '' $ac_executable_extensions; do
5402       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5403       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5404 # Check for GNU ac_path_SED and select it if it is found.
5405   # Check for GNU $ac_path_SED
5406 case `"$ac_path_SED" --version 2>&1` in
5407 *GNU*)
5408   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5409 *)
5410   ac_count=0
5411   $as_echo_n 0123456789 >"conftest.in"
5412   while :
5413   do
5414     cat "conftest.in" "conftest.in" >"conftest.tmp"
5415     mv "conftest.tmp" "conftest.in"
5416     cp "conftest.in" "conftest.nl"
5417     $as_echo '' >> "conftest.nl"
5418     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5419     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5420     as_fn_arith $ac_count + 1 && ac_count=$as_val
5421     if test $ac_count -gt ${ac_path_SED_max-0}; then
5422       # Best one so far, save it but keep looking for a better one
5423       ac_cv_path_SED="$ac_path_SED"
5424       ac_path_SED_max=$ac_count
5425     fi
5426     # 10*(2^10) chars as input seems more than enough
5427     test $ac_count -gt 10 && break
5428   done
5429   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5430 esac
5431
5432       $ac_path_SED_found && break 3
5433     done
5434   done
5435   done
5436 IFS=$as_save_IFS
5437   if test -z "$ac_cv_path_SED"; then
5438     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5439   fi
5440 else
5441   ac_cv_path_SED=$SED
5442 fi
5443
5444 fi
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5446 $as_echo "$ac_cv_path_SED" >&6; }
5447  SED="$ac_cv_path_SED"
5448   rm -f conftest.sed
5449
5450 test -z "$SED" && SED=sed
5451 Xsed="$SED -e 1s/^X//"
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5464 $as_echo_n "checking for fgrep... " >&6; }
5465 if test "${ac_cv_path_FGREP+set}" = set; then :
5466   $as_echo_n "(cached) " >&6
5467 else
5468   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5469    then ac_cv_path_FGREP="$GREP -F"
5470    else
5471      if test -z "$FGREP"; then
5472   ac_path_FGREP_found=false
5473   # Loop through the user's path and test for each of PROGNAME-LIST
5474   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5476 do
5477   IFS=$as_save_IFS
5478   test -z "$as_dir" && as_dir=.
5479     for ac_prog in fgrep; do
5480     for ac_exec_ext in '' $ac_executable_extensions; do
5481       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5482       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5483 # Check for GNU ac_path_FGREP and select it if it is found.
5484   # Check for GNU $ac_path_FGREP
5485 case `"$ac_path_FGREP" --version 2>&1` in
5486 *GNU*)
5487   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5488 *)
5489   ac_count=0
5490   $as_echo_n 0123456789 >"conftest.in"
5491   while :
5492   do
5493     cat "conftest.in" "conftest.in" >"conftest.tmp"
5494     mv "conftest.tmp" "conftest.in"
5495     cp "conftest.in" "conftest.nl"
5496     $as_echo 'FGREP' >> "conftest.nl"
5497     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5498     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5499     as_fn_arith $ac_count + 1 && ac_count=$as_val
5500     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5501       # Best one so far, save it but keep looking for a better one
5502       ac_cv_path_FGREP="$ac_path_FGREP"
5503       ac_path_FGREP_max=$ac_count
5504     fi
5505     # 10*(2^10) chars as input seems more than enough
5506     test $ac_count -gt 10 && break
5507   done
5508   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5509 esac
5510
5511       $ac_path_FGREP_found && break 3
5512     done
5513   done
5514   done
5515 IFS=$as_save_IFS
5516   if test -z "$ac_cv_path_FGREP"; then
5517     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5518   fi
5519 else
5520   ac_cv_path_FGREP=$FGREP
5521 fi
5522
5523    fi
5524 fi
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5526 $as_echo "$ac_cv_path_FGREP" >&6; }
5527  FGREP="$ac_cv_path_FGREP"
5528
5529
5530 test -z "$GREP" && GREP=grep
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550 # Check whether --with-gnu-ld was given.
5551 if test "${with_gnu_ld+set}" = set; then :
5552   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5553 else
5554   with_gnu_ld=no
5555 fi
5556
5557 ac_prog=ld
5558 if test "$GCC" = yes; then
5559   # Check if gcc -print-prog-name=ld gives a path.
5560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5561 $as_echo_n "checking for ld used by $CC... " >&6; }
5562   case $host in
5563   *-*-mingw*)
5564     # gcc leaves a trailing carriage return which upsets mingw
5565     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5566   *)
5567     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5568   esac
5569   case $ac_prog in
5570     # Accept absolute paths.
5571     [\\/]* | ?:[\\/]*)
5572       re_direlt='/[^/][^/]*/\.\./'
5573       # Canonicalize the pathname of ld
5574       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5575       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5576         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5577       done
5578       test -z "$LD" && LD="$ac_prog"
5579       ;;
5580   "")
5581     # If it fails, then pretend we aren't using GCC.
5582     ac_prog=ld
5583     ;;
5584   *)
5585     # If it is relative, then search for the first ld in PATH.
5586     with_gnu_ld=unknown
5587     ;;
5588   esac
5589 elif test "$with_gnu_ld" = yes; then
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5591 $as_echo_n "checking for GNU ld... " >&6; }
5592 else
5593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5594 $as_echo_n "checking for non-GNU ld... " >&6; }
5595 fi
5596 if test "${lt_cv_path_LD+set}" = set; then :
5597   $as_echo_n "(cached) " >&6
5598 else
5599   if test -z "$LD"; then
5600   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5601   for ac_dir in $PATH; do
5602     IFS="$lt_save_ifs"
5603     test -z "$ac_dir" && ac_dir=.
5604     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5605       lt_cv_path_LD="$ac_dir/$ac_prog"
5606       # Check to see if the program is GNU ld.  I'd rather use --version,
5607       # but apparently some variants of GNU ld only accept -v.
5608       # Break only if it was the GNU/non-GNU ld that we prefer.
5609       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5610       *GNU* | *'with BFD'*)
5611         test "$with_gnu_ld" != no && break
5612         ;;
5613       *)
5614         test "$with_gnu_ld" != yes && break
5615         ;;
5616       esac
5617     fi
5618   done
5619   IFS="$lt_save_ifs"
5620 else
5621   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5622 fi
5623 fi
5624
5625 LD="$lt_cv_path_LD"
5626 if test -n "$LD"; then
5627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5628 $as_echo "$LD" >&6; }
5629 else
5630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5632 fi
5633 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5635 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5636 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5637   $as_echo_n "(cached) " >&6
5638 else
5639   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5640 case `$LD -v 2>&1 </dev/null` in
5641 *GNU* | *'with BFD'*)
5642   lt_cv_prog_gnu_ld=yes
5643   ;;
5644 *)
5645   lt_cv_prog_gnu_ld=no
5646   ;;
5647 esac
5648 fi
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5650 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5651 with_gnu_ld=$lt_cv_prog_gnu_ld
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5662 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5663 if test "${lt_cv_path_NM+set}" = set; then :
5664   $as_echo_n "(cached) " >&6
5665 else
5666   if test -n "$NM"; then
5667   # Let the user override the test.
5668   lt_cv_path_NM="$NM"
5669 else
5670   lt_nm_to_check="${ac_tool_prefix}nm"
5671   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5672     lt_nm_to_check="$lt_nm_to_check nm"
5673   fi
5674   for lt_tmp_nm in $lt_nm_to_check; do
5675     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5676     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5677       IFS="$lt_save_ifs"
5678       test -z "$ac_dir" && ac_dir=.
5679       tmp_nm="$ac_dir/$lt_tmp_nm"
5680       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5681         # Check to see if the nm accepts a BSD-compat flag.
5682         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5683         #   nm: unknown option "B" ignored
5684         # Tru64's nm complains that /dev/null is an invalid object file
5685         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5686         */dev/null* | *'Invalid file or object type'*)
5687           lt_cv_path_NM="$tmp_nm -B"
5688           break
5689           ;;
5690         *)
5691           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5692           */dev/null*)
5693             lt_cv_path_NM="$tmp_nm -p"
5694             break
5695             ;;
5696           *)
5697             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5698             continue # so that we can try to find one that supports BSD flags
5699             ;;
5700           esac
5701           ;;
5702         esac
5703       fi
5704     done
5705     IFS="$lt_save_ifs"
5706   done
5707   : ${lt_cv_path_NM=no}
5708 fi
5709 fi
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5711 $as_echo "$lt_cv_path_NM" >&6; }
5712 if test "$lt_cv_path_NM" != "no"; then
5713   NM="$lt_cv_path_NM"
5714 else
5715   # Didn't find any BSD compatible name lister, look for dumpbin.
5716   if test -n "$DUMPBIN"; then :
5717     # Let the user override the test.
5718   else
5719     if test -n "$ac_tool_prefix"; then
5720   for ac_prog in dumpbin "link -dump"
5721   do
5722     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5723 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5727   $as_echo_n "(cached) " >&6
5728 else
5729   if test -n "$DUMPBIN"; then
5730   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5731 else
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in $PATH
5734 do
5735   IFS=$as_save_IFS
5736   test -z "$as_dir" && as_dir=.
5737     for ac_exec_ext in '' $ac_executable_extensions; do
5738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5739     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741     break 2
5742   fi
5743 done
5744   done
5745 IFS=$as_save_IFS
5746
5747 fi
5748 fi
5749 DUMPBIN=$ac_cv_prog_DUMPBIN
5750 if test -n "$DUMPBIN"; then
5751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5752 $as_echo "$DUMPBIN" >&6; }
5753 else
5754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
5756 fi
5757
5758
5759     test -n "$DUMPBIN" && break
5760   done
5761 fi
5762 if test -z "$DUMPBIN"; then
5763   ac_ct_DUMPBIN=$DUMPBIN
5764   for ac_prog in dumpbin "link -dump"
5765 do
5766   # Extract the first word of "$ac_prog", so it can be a program name with args.
5767 set dummy $ac_prog; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5771   $as_echo_n "(cached) " >&6
5772 else
5773   if test -n "$ac_ct_DUMPBIN"; then
5774   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5778 do
5779   IFS=$as_save_IFS
5780   test -z "$as_dir" && as_dir=.
5781     for ac_exec_ext in '' $ac_executable_extensions; do
5782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5783     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785     break 2
5786   fi
5787 done
5788   done
5789 IFS=$as_save_IFS
5790
5791 fi
5792 fi
5793 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5794 if test -n "$ac_ct_DUMPBIN"; then
5795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5796 $as_echo "$ac_ct_DUMPBIN" >&6; }
5797 else
5798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5800 fi
5801
5802
5803   test -n "$ac_ct_DUMPBIN" && break
5804 done
5805
5806   if test "x$ac_ct_DUMPBIN" = x; then
5807     DUMPBIN=":"
5808   else
5809     case $cross_compiling:$ac_tool_warned in
5810 yes:)
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5813 ac_tool_warned=yes ;;
5814 esac
5815     DUMPBIN=$ac_ct_DUMPBIN
5816   fi
5817 fi
5818
5819     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5820     *COFF*)
5821       DUMPBIN="$DUMPBIN -symbols"
5822       ;;
5823     *)
5824       DUMPBIN=:
5825       ;;
5826     esac
5827   fi
5828
5829   if test "$DUMPBIN" != ":"; then
5830     NM="$DUMPBIN"
5831   fi
5832 fi
5833 test -z "$NM" && NM=nm
5834
5835
5836
5837
5838
5839
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5841 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5842 if test "${lt_cv_nm_interface+set}" = set; then :
5843   $as_echo_n "(cached) " >&6
5844 else
5845   lt_cv_nm_interface="BSD nm"
5846   echo "int some_variable = 0;" > conftest.$ac_ext
5847   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5848   (eval "$ac_compile" 2>conftest.err)
5849   cat conftest.err >&5
5850   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5851   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5852   cat conftest.err >&5
5853   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5854   cat conftest.out >&5
5855   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5856     lt_cv_nm_interface="MS dumpbin"
5857   fi
5858   rm -f conftest*
5859 fi
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5861 $as_echo "$lt_cv_nm_interface" >&6; }
5862
5863 # find the maximum length of command line arguments
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5865 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5866 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5867   $as_echo_n "(cached) " >&6
5868 else
5869     i=0
5870   teststring="ABCD"
5871
5872   case $build_os in
5873   msdosdjgpp*)
5874     # On DJGPP, this test can blow up pretty badly due to problems in libc
5875     # (any single argument exceeding 2000 bytes causes a buffer overrun
5876     # during glob expansion).  Even if it were fixed, the result of this
5877     # check would be larger than it should be.
5878     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5879     ;;
5880
5881   gnu*)
5882     # Under GNU Hurd, this test is not required because there is
5883     # no limit to the length of command line arguments.
5884     # Libtool will interpret -1 as no limit whatsoever
5885     lt_cv_sys_max_cmd_len=-1;
5886     ;;
5887
5888   cygwin* | mingw* | cegcc*)
5889     # On Win9x/ME, this test blows up -- it succeeds, but takes
5890     # about 5 minutes as the teststring grows exponentially.
5891     # Worse, since 9x/ME are not pre-emptively multitasking,
5892     # you end up with a "frozen" computer, even though with patience
5893     # the test eventually succeeds (with a max line length of 256k).
5894     # Instead, let's just punt: use the minimum linelength reported by
5895     # all of the supported platforms: 8192 (on NT/2K/XP).
5896     lt_cv_sys_max_cmd_len=8192;
5897     ;;
5898
5899   mint*)
5900     # On MiNT this can take a long time and run out of memory.
5901     lt_cv_sys_max_cmd_len=8192;
5902     ;;
5903
5904   amigaos*)
5905     # On AmigaOS with pdksh, this test takes hours, literally.
5906     # So we just punt and use a minimum line length of 8192.
5907     lt_cv_sys_max_cmd_len=8192;
5908     ;;
5909
5910   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5911     # This has been around since 386BSD, at least.  Likely further.
5912     if test -x /sbin/sysctl; then
5913       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5914     elif test -x /usr/sbin/sysctl; then
5915       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5916     else
5917       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5918     fi
5919     # And add a safety zone
5920     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5921     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5922     ;;
5923
5924   interix*)
5925     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5926     lt_cv_sys_max_cmd_len=196608
5927     ;;
5928
5929   osf*)
5930     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5931     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5932     # nice to cause kernel panics so lets avoid the loop below.
5933     # First set a reasonable default.
5934     lt_cv_sys_max_cmd_len=16384
5935     #
5936     if test -x /sbin/sysconfig; then
5937       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5938         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5939       esac
5940     fi
5941     ;;
5942   sco3.2v5*)
5943     lt_cv_sys_max_cmd_len=102400
5944     ;;
5945   sysv5* | sco5v6* | sysv4.2uw2*)
5946     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5947     if test -n "$kargmax"; then
5948       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5949     else
5950       lt_cv_sys_max_cmd_len=32768
5951     fi
5952     ;;
5953   *)
5954     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5955     if test -n "$lt_cv_sys_max_cmd_len"; then
5956       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5957       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5958     else
5959       # Make teststring a little bigger before we do anything with it.
5960       # a 1K string should be a reasonable start.
5961       for i in 1 2 3 4 5 6 7 8 ; do
5962         teststring=$teststring$teststring
5963       done
5964       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5965       # If test is not a shell built-in, we'll probably end up computing a
5966       # maximum length that is only half of the actual maximum length, but
5967       # we can't tell.
5968       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5969                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5970               test $i != 17 # 1/2 MB should be enough
5971       do
5972         i=`expr $i + 1`
5973         teststring=$teststring$teststring
5974       done
5975       # Only check the string length outside the loop.
5976       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5977       teststring=
5978       # Add a significant safety factor because C++ compilers can tack on
5979       # massive amounts of additional arguments before passing them to the
5980       # linker.  It appears as though 1/2 is a usable value.
5981       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5982     fi
5983     ;;
5984   esac
5985
5986 fi
5987
5988 if test -n $lt_cv_sys_max_cmd_len ; then
5989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5990 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5991 else
5992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5993 $as_echo "none" >&6; }
5994 fi
5995 max_cmd_len=$lt_cv_sys_max_cmd_len
5996
5997
5998
5999
6000
6001
6002 : ${CP="cp -f"}
6003 : ${MV="mv -f"}
6004 : ${RM="rm -f"}
6005
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6007 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6008 # Try some XSI features
6009 xsi_shell=no
6010 ( _lt_dummy="a/b/c"
6011   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6012       = c,a/b,, \
6013     && eval 'test $(( 1 + 1 )) -eq 2 \
6014     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6015   && xsi_shell=yes
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6017 $as_echo "$xsi_shell" >&6; }
6018
6019
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6021 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6022 lt_shell_append=no
6023 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6024     >/dev/null 2>&1 \
6025   && lt_shell_append=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6027 $as_echo "$lt_shell_append" >&6; }
6028
6029
6030 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6031   lt_unset=unset
6032 else
6033   lt_unset=false
6034 fi
6035
6036
6037
6038
6039
6040 # test EBCDIC or ASCII
6041 case `echo X|tr X '\101'` in
6042  A) # ASCII based system
6043     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6044   lt_SP2NL='tr \040 \012'
6045   lt_NL2SP='tr \015\012 \040\040'
6046   ;;
6047  *) # EBCDIC based system
6048   lt_SP2NL='tr \100 \n'
6049   lt_NL2SP='tr \r\n \100\100'
6050   ;;
6051 esac
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6062 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6063 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6064   $as_echo_n "(cached) " >&6
6065 else
6066   lt_cv_ld_reload_flag='-r'
6067 fi
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6069 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6070 reload_flag=$lt_cv_ld_reload_flag
6071 case $reload_flag in
6072 "" | " "*) ;;
6073 *) reload_flag=" $reload_flag" ;;
6074 esac
6075 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6076 case $host_os in
6077   darwin*)
6078     if test "$GCC" = yes; then
6079       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6080     else
6081       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6082     fi
6083     ;;
6084 esac
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094 if test -n "$ac_tool_prefix"; then
6095   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6096 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6098 $as_echo_n "checking for $ac_word... " >&6; }
6099 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6100   $as_echo_n "(cached) " >&6
6101 else
6102   if test -n "$OBJDUMP"; then
6103   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6104 else
6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 for as_dir in $PATH
6107 do
6108   IFS=$as_save_IFS
6109   test -z "$as_dir" && as_dir=.
6110     for ac_exec_ext in '' $ac_executable_extensions; do
6111   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6112     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6113     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6114     break 2
6115   fi
6116 done
6117   done
6118 IFS=$as_save_IFS
6119
6120 fi
6121 fi
6122 OBJDUMP=$ac_cv_prog_OBJDUMP
6123 if test -n "$OBJDUMP"; then
6124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6125 $as_echo "$OBJDUMP" >&6; }
6126 else
6127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128 $as_echo "no" >&6; }
6129 fi
6130
6131
6132 fi
6133 if test -z "$ac_cv_prog_OBJDUMP"; then
6134   ac_ct_OBJDUMP=$OBJDUMP
6135   # Extract the first word of "objdump", so it can be a program name with args.
6136 set dummy objdump; ac_word=$2
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138 $as_echo_n "checking for $ac_word... " >&6; }
6139 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6140   $as_echo_n "(cached) " >&6
6141 else
6142   if test -n "$ac_ct_OBJDUMP"; then
6143   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6144 else
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in $PATH
6147 do
6148   IFS=$as_save_IFS
6149   test -z "$as_dir" && as_dir=.
6150     for ac_exec_ext in '' $ac_executable_extensions; do
6151   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6152     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6153     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6154     break 2
6155   fi
6156 done
6157   done
6158 IFS=$as_save_IFS
6159
6160 fi
6161 fi
6162 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6163 if test -n "$ac_ct_OBJDUMP"; then
6164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6165 $as_echo "$ac_ct_OBJDUMP" >&6; }
6166 else
6167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6168 $as_echo "no" >&6; }
6169 fi
6170
6171   if test "x$ac_ct_OBJDUMP" = x; then
6172     OBJDUMP="false"
6173   else
6174     case $cross_compiling:$ac_tool_warned in
6175 yes:)
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6178 ac_tool_warned=yes ;;
6179 esac
6180     OBJDUMP=$ac_ct_OBJDUMP
6181   fi
6182 else
6183   OBJDUMP="$ac_cv_prog_OBJDUMP"
6184 fi
6185
6186 test -z "$OBJDUMP" && OBJDUMP=objdump
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6197 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6198 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6199   $as_echo_n "(cached) " >&6
6200 else
6201   lt_cv_file_magic_cmd='$MAGIC_CMD'
6202 lt_cv_file_magic_test_file=
6203 lt_cv_deplibs_check_method='unknown'
6204 # Need to set the preceding variable on all platforms that support
6205 # interlibrary dependencies.
6206 # 'none' -- dependencies not supported.
6207 # `unknown' -- same as none, but documents that we really don't know.
6208 # 'pass_all' -- all dependencies passed with no checks.
6209 # 'test_compile' -- check by making test program.
6210 # 'file_magic [[regex]]' -- check by looking for files in library path
6211 # which responds to the $file_magic_cmd with a given extended regex.
6212 # If you have `file' or equivalent on your system and you're not sure
6213 # whether `pass_all' will *always* work, you probably want this one.
6214
6215 case $host_os in
6216 aix[4-9]*)
6217   lt_cv_deplibs_check_method=pass_all
6218   ;;
6219
6220 beos*)
6221   lt_cv_deplibs_check_method=pass_all
6222   ;;
6223
6224 bsdi[45]*)
6225   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6226   lt_cv_file_magic_cmd='/usr/bin/file -L'
6227   lt_cv_file_magic_test_file=/shlib/libc.so
6228   ;;
6229
6230 cygwin*)
6231   # func_win32_libid is a shell function defined in ltmain.sh
6232   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6233   lt_cv_file_magic_cmd='func_win32_libid'
6234   ;;
6235
6236 mingw* | pw32*)
6237   # Base MSYS/MinGW do not provide the 'file' command needed by
6238   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6239   # unless we find 'file', for example because we are cross-compiling.
6240   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6241   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6242     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243     lt_cv_file_magic_cmd='func_win32_libid'
6244   else
6245     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6246     lt_cv_file_magic_cmd='$OBJDUMP -f'
6247   fi
6248   ;;
6249
6250 cegcc*)
6251   # use the weaker test based on 'objdump'. See mingw*.
6252   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6253   lt_cv_file_magic_cmd='$OBJDUMP -f'
6254   ;;
6255
6256 darwin* | rhapsody*)
6257   lt_cv_deplibs_check_method=pass_all
6258   ;;
6259
6260 freebsd* | dragonfly*)
6261   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6262     case $host_cpu in
6263     i*86 )
6264       # Not sure whether the presence of OpenBSD here was a mistake.
6265       # Let's accept both of them until this is cleared up.
6266       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6267       lt_cv_file_magic_cmd=/usr/bin/file
6268       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6269       ;;
6270     esac
6271   else
6272     lt_cv_deplibs_check_method=pass_all
6273   fi
6274   ;;
6275
6276 gnu*)
6277   lt_cv_deplibs_check_method=pass_all
6278   ;;
6279
6280 haiku*)
6281   lt_cv_deplibs_check_method=pass_all
6282   ;;
6283
6284 hpux10.20* | hpux11*)
6285   lt_cv_file_magic_cmd=/usr/bin/file
6286   case $host_cpu in
6287   ia64*)
6288     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6289     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6290     ;;
6291   hppa*64*)
6292     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]'
6293     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6294     ;;
6295   *)
6296     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6297     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6298     ;;
6299   esac
6300   ;;
6301
6302 interix[3-9]*)
6303   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6304   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6305   ;;
6306
6307 irix5* | irix6* | nonstopux*)
6308   case $LD in
6309   *-32|*"-32 ") libmagic=32-bit;;
6310   *-n32|*"-n32 ") libmagic=N32;;
6311   *-64|*"-64 ") libmagic=64-bit;;
6312   *) libmagic=never-match;;
6313   esac
6314   lt_cv_deplibs_check_method=pass_all
6315   ;;
6316
6317 # This must be Linux ELF.
6318 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6319   lt_cv_deplibs_check_method=pass_all
6320   ;;
6321
6322 netbsd*)
6323   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6324     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6325   else
6326     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6327   fi
6328   ;;
6329
6330 newos6*)
6331   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6332   lt_cv_file_magic_cmd=/usr/bin/file
6333   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6334   ;;
6335
6336 *nto* | *qnx*)
6337   lt_cv_deplibs_check_method=pass_all
6338   ;;
6339
6340 openbsd*)
6341   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6342     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6343   else
6344     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6345   fi
6346   ;;
6347
6348 osf3* | osf4* | osf5*)
6349   lt_cv_deplibs_check_method=pass_all
6350   ;;
6351
6352 rdos*)
6353   lt_cv_deplibs_check_method=pass_all
6354   ;;
6355
6356 solaris*)
6357   lt_cv_deplibs_check_method=pass_all
6358   ;;
6359
6360 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6361   lt_cv_deplibs_check_method=pass_all
6362   ;;
6363
6364 sysv4 | sysv4.3*)
6365   case $host_vendor in
6366   motorola)
6367     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]'
6368     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6369     ;;
6370   ncr)
6371     lt_cv_deplibs_check_method=pass_all
6372     ;;
6373   sequent)
6374     lt_cv_file_magic_cmd='/bin/file'
6375     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6376     ;;
6377   sni)
6378     lt_cv_file_magic_cmd='/bin/file'
6379     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6380     lt_cv_file_magic_test_file=/lib/libc.so
6381     ;;
6382   siemens)
6383     lt_cv_deplibs_check_method=pass_all
6384     ;;
6385   pc)
6386     lt_cv_deplibs_check_method=pass_all
6387     ;;
6388   esac
6389   ;;
6390
6391 tpf*)
6392   lt_cv_deplibs_check_method=pass_all
6393   ;;
6394 esac
6395
6396 fi
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6398 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6399 file_magic_cmd=$lt_cv_file_magic_cmd
6400 deplibs_check_method=$lt_cv_deplibs_check_method
6401 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414 if test -n "$ac_tool_prefix"; then
6415   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6416 set dummy ${ac_tool_prefix}ar; ac_word=$2
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6418 $as_echo_n "checking for $ac_word... " >&6; }
6419 if test "${ac_cv_prog_AR+set}" = set; then :
6420   $as_echo_n "(cached) " >&6
6421 else
6422   if test -n "$AR"; then
6423   ac_cv_prog_AR="$AR" # Let the user override the test.
6424 else
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 for as_dir in $PATH
6427 do
6428   IFS=$as_save_IFS
6429   test -z "$as_dir" && as_dir=.
6430     for ac_exec_ext in '' $ac_executable_extensions; do
6431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6432     ac_cv_prog_AR="${ac_tool_prefix}ar"
6433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6434     break 2
6435   fi
6436 done
6437   done
6438 IFS=$as_save_IFS
6439
6440 fi
6441 fi
6442 AR=$ac_cv_prog_AR
6443 if test -n "$AR"; then
6444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6445 $as_echo "$AR" >&6; }
6446 else
6447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448 $as_echo "no" >&6; }
6449 fi
6450
6451
6452 fi
6453 if test -z "$ac_cv_prog_AR"; then
6454   ac_ct_AR=$AR
6455   # Extract the first word of "ar", so it can be a program name with args.
6456 set dummy ar; ac_word=$2
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6458 $as_echo_n "checking for $ac_word... " >&6; }
6459 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6460   $as_echo_n "(cached) " >&6
6461 else
6462   if test -n "$ac_ct_AR"; then
6463   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6464 else
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in $PATH
6467 do
6468   IFS=$as_save_IFS
6469   test -z "$as_dir" && as_dir=.
6470     for ac_exec_ext in '' $ac_executable_extensions; do
6471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472     ac_cv_prog_ac_ct_AR="ar"
6473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6474     break 2
6475   fi
6476 done
6477   done
6478 IFS=$as_save_IFS
6479
6480 fi
6481 fi
6482 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6483 if test -n "$ac_ct_AR"; then
6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6485 $as_echo "$ac_ct_AR" >&6; }
6486 else
6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6488 $as_echo "no" >&6; }
6489 fi
6490
6491   if test "x$ac_ct_AR" = x; then
6492     AR="false"
6493   else
6494     case $cross_compiling:$ac_tool_warned in
6495 yes:)
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6498 ac_tool_warned=yes ;;
6499 esac
6500     AR=$ac_ct_AR
6501   fi
6502 else
6503   AR="$ac_cv_prog_AR"
6504 fi
6505
6506 test -z "$AR" && AR=ar
6507 test -z "$AR_FLAGS" && AR_FLAGS=cru
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519 if test -n "$ac_tool_prefix"; then
6520   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6521 set dummy ${ac_tool_prefix}strip; ac_word=$2
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6523 $as_echo_n "checking for $ac_word... " >&6; }
6524 if test "${ac_cv_prog_STRIP+set}" = set; then :
6525   $as_echo_n "(cached) " >&6
6526 else
6527   if test -n "$STRIP"; then
6528   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6529 else
6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531 for as_dir in $PATH
6532 do
6533   IFS=$as_save_IFS
6534   test -z "$as_dir" && as_dir=.
6535     for ac_exec_ext in '' $ac_executable_extensions; do
6536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6537     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6539     break 2
6540   fi
6541 done
6542   done
6543 IFS=$as_save_IFS
6544
6545 fi
6546 fi
6547 STRIP=$ac_cv_prog_STRIP
6548 if test -n "$STRIP"; then
6549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6550 $as_echo "$STRIP" >&6; }
6551 else
6552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6553 $as_echo "no" >&6; }
6554 fi
6555
6556
6557 fi
6558 if test -z "$ac_cv_prog_STRIP"; then
6559   ac_ct_STRIP=$STRIP
6560   # Extract the first word of "strip", so it can be a program name with args.
6561 set dummy strip; ac_word=$2
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563 $as_echo_n "checking for $ac_word... " >&6; }
6564 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6565   $as_echo_n "(cached) " >&6
6566 else
6567   if test -n "$ac_ct_STRIP"; then
6568   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6569 else
6570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 for as_dir in $PATH
6572 do
6573   IFS=$as_save_IFS
6574   test -z "$as_dir" && as_dir=.
6575     for ac_exec_ext in '' $ac_executable_extensions; do
6576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6577     ac_cv_prog_ac_ct_STRIP="strip"
6578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579     break 2
6580   fi
6581 done
6582   done
6583 IFS=$as_save_IFS
6584
6585 fi
6586 fi
6587 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6588 if test -n "$ac_ct_STRIP"; then
6589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6590 $as_echo "$ac_ct_STRIP" >&6; }
6591 else
6592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 $as_echo "no" >&6; }
6594 fi
6595
6596   if test "x$ac_ct_STRIP" = x; then
6597     STRIP=":"
6598   else
6599     case $cross_compiling:$ac_tool_warned in
6600 yes:)
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6603 ac_tool_warned=yes ;;
6604 esac
6605     STRIP=$ac_ct_STRIP
6606   fi
6607 else
6608   STRIP="$ac_cv_prog_STRIP"
6609 fi
6610
6611 test -z "$STRIP" && STRIP=:
6612
6613
6614
6615
6616
6617
6618 if test -n "$ac_tool_prefix"; then
6619   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6620 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6624   $as_echo_n "(cached) " >&6
6625 else
6626   if test -n "$RANLIB"; then
6627   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6631 do
6632   IFS=$as_save_IFS
6633   test -z "$as_dir" && as_dir=.
6634     for ac_exec_ext in '' $ac_executable_extensions; do
6635   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6636     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638     break 2
6639   fi
6640 done
6641   done
6642 IFS=$as_save_IFS
6643
6644 fi
6645 fi
6646 RANLIB=$ac_cv_prog_RANLIB
6647 if test -n "$RANLIB"; then
6648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6649 $as_echo "$RANLIB" >&6; }
6650 else
6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6653 fi
6654
6655
6656 fi
6657 if test -z "$ac_cv_prog_RANLIB"; then
6658   ac_ct_RANLIB=$RANLIB
6659   # Extract the first word of "ranlib", so it can be a program name with args.
6660 set dummy ranlib; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 $as_echo_n "checking for $ac_word... " >&6; }
6663 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6664   $as_echo_n "(cached) " >&6
6665 else
6666   if test -n "$ac_ct_RANLIB"; then
6667   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6668 else
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 for as_dir in $PATH
6671 do
6672   IFS=$as_save_IFS
6673   test -z "$as_dir" && as_dir=.
6674     for ac_exec_ext in '' $ac_executable_extensions; do
6675   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676     ac_cv_prog_ac_ct_RANLIB="ranlib"
6677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678     break 2
6679   fi
6680 done
6681   done
6682 IFS=$as_save_IFS
6683
6684 fi
6685 fi
6686 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6687 if test -n "$ac_ct_RANLIB"; then
6688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6689 $as_echo "$ac_ct_RANLIB" >&6; }
6690 else
6691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6693 fi
6694
6695   if test "x$ac_ct_RANLIB" = x; then
6696     RANLIB=":"
6697   else
6698     case $cross_compiling:$ac_tool_warned in
6699 yes:)
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702 ac_tool_warned=yes ;;
6703 esac
6704     RANLIB=$ac_ct_RANLIB
6705   fi
6706 else
6707   RANLIB="$ac_cv_prog_RANLIB"
6708 fi
6709
6710 test -z "$RANLIB" && RANLIB=:
6711
6712
6713
6714
6715
6716
6717 # Determine commands to create old-style static archives.
6718 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6719 old_postinstall_cmds='chmod 644 $oldlib'
6720 old_postuninstall_cmds=
6721
6722 if test -n "$RANLIB"; then
6723   case $host_os in
6724   openbsd*)
6725     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6726     ;;
6727   *)
6728     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6729     ;;
6730   esac
6731   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6732 fi
6733
6734 case $host_os in
6735   darwin*)
6736     lock_old_archive_extraction=yes ;;
6737   *)
6738     lock_old_archive_extraction=no ;;
6739 esac
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
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 # If no C compiler was specified, use CC.
6780 LTCC=${LTCC-"$CC"}
6781
6782 # If no C compiler flags were specified, use CFLAGS.
6783 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6784
6785 # Allow CC to be a program name with arguments.
6786 compiler=$CC
6787
6788
6789 # Check for command to grab the raw symbol name followed by C symbol from nm.
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6791 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6792 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6793   $as_echo_n "(cached) " >&6
6794 else
6795
6796 # These are sane defaults that work on at least a few old systems.
6797 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6798
6799 # Character class describing NM global symbol codes.
6800 symcode='[BCDEGRST]'
6801
6802 # Regexp to match symbols that can be accessed directly from C.
6803 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6804
6805 # Define system-specific variables.
6806 case $host_os in
6807 aix*)
6808   symcode='[BCDT]'
6809   ;;
6810 cygwin* | mingw* | pw32* | cegcc*)
6811   symcode='[ABCDGISTW]'
6812   ;;
6813 hpux*)
6814   if test "$host_cpu" = ia64; then
6815     symcode='[ABCDEGRST]'
6816   fi
6817   ;;
6818 irix* | nonstopux*)
6819   symcode='[BCDEGRST]'
6820   ;;
6821 osf*)
6822   symcode='[BCDEGQRST]'
6823   ;;
6824 solaris*)
6825   symcode='[BDRT]'
6826   ;;
6827 sco3.2v5*)
6828   symcode='[DT]'
6829   ;;
6830 sysv4.2uw2*)
6831   symcode='[DT]'
6832   ;;
6833 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6834   symcode='[ABDT]'
6835   ;;
6836 sysv4)
6837   symcode='[DFNSTU]'
6838   ;;
6839 esac
6840
6841 # If we're using GNU nm, then use its standard symbol codes.
6842 case `$NM -V 2>&1` in
6843 *GNU* | *'with BFD'*)
6844   symcode='[ABCDGIRSTW]' ;;
6845 esac
6846
6847 # Transform an extracted symbol line into a proper C declaration.
6848 # Some systems (esp. on ia64) link data and code symbols differently,
6849 # so use this general approach.
6850 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6851
6852 # Transform an extracted symbol line into symbol name and symbol address
6853 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6854 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'"
6855
6856 # Handle CRLF in mingw tool chain
6857 opt_cr=
6858 case $build_os in
6859 mingw*)
6860   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6861   ;;
6862 esac
6863
6864 # Try without a prefix underscore, then with it.
6865 for ac_symprfx in "" "_"; do
6866
6867   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6868   symxfrm="\\1 $ac_symprfx\\2 \\2"
6869
6870   # Write the raw and C identifiers.
6871   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6872     # Fake it for dumpbin and say T for any non-static function
6873     # and D for any global variable.
6874     # Also find C++ and __fastcall symbols from MSVC++,
6875     # which start with @ or ?.
6876     lt_cv_sys_global_symbol_pipe="$AWK '"\
6877 "     {last_section=section; section=\$ 3};"\
6878 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6879 "     \$ 0!~/External *\|/{next};"\
6880 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6881 "     {if(hide[section]) next};"\
6882 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6883 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6884 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6885 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6886 "     ' prfx=^$ac_symprfx"
6887   else
6888     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6889   fi
6890
6891   # Check to see that the pipe works correctly.
6892   pipe_works=no
6893
6894   rm -f conftest*
6895   cat > conftest.$ac_ext <<_LT_EOF
6896 #ifdef __cplusplus
6897 extern "C" {
6898 #endif
6899 char nm_test_var;
6900 void nm_test_func(void);
6901 void nm_test_func(void){}
6902 #ifdef __cplusplus
6903 }
6904 #endif
6905 int main(){nm_test_var='a';nm_test_func();return(0);}
6906 _LT_EOF
6907
6908   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6909   (eval $ac_compile) 2>&5
6910   ac_status=$?
6911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912   test $ac_status = 0; }; then
6913     # Now try to grab the symbols.
6914     nlist=conftest.nm
6915     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6916   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6917   ac_status=$?
6918   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6919   test $ac_status = 0; } && test -s "$nlist"; then
6920       # Try sorting and uniquifying the output.
6921       if sort "$nlist" | uniq > "$nlist"T; then
6922         mv -f "$nlist"T "$nlist"
6923       else
6924         rm -f "$nlist"T
6925       fi
6926
6927       # Make sure that we snagged all the symbols we need.
6928       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6929         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6930           cat <<_LT_EOF > conftest.$ac_ext
6931 #ifdef __cplusplus
6932 extern "C" {
6933 #endif
6934
6935 _LT_EOF
6936           # Now generate the symbol file.
6937           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6938
6939           cat <<_LT_EOF >> conftest.$ac_ext
6940
6941 /* The mapping between symbol names and symbols.  */
6942 const struct {
6943   const char *name;
6944   void       *address;
6945 }
6946 lt__PROGRAM__LTX_preloaded_symbols[] =
6947 {
6948   { "@PROGRAM@", (void *) 0 },
6949 _LT_EOF
6950           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6951           cat <<\_LT_EOF >> conftest.$ac_ext
6952   {0, (void *) 0}
6953 };
6954
6955 /* This works around a problem in FreeBSD linker */
6956 #ifdef FREEBSD_WORKAROUND
6957 static const void *lt_preloaded_setup() {
6958   return lt__PROGRAM__LTX_preloaded_symbols;
6959 }
6960 #endif
6961
6962 #ifdef __cplusplus
6963 }
6964 #endif
6965 _LT_EOF
6966           # Now try linking the two files.
6967           mv conftest.$ac_objext conftstm.$ac_objext
6968           lt_save_LIBS="$LIBS"
6969           lt_save_CFLAGS="$CFLAGS"
6970           LIBS="conftstm.$ac_objext"
6971           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6972           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6973   (eval $ac_link) 2>&5
6974   ac_status=$?
6975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6976   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6977             pipe_works=yes
6978           fi
6979           LIBS="$lt_save_LIBS"
6980           CFLAGS="$lt_save_CFLAGS"
6981         else
6982           echo "cannot find nm_test_func in $nlist" >&5
6983         fi
6984       else
6985         echo "cannot find nm_test_var in $nlist" >&5
6986       fi
6987     else
6988       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6989     fi
6990   else
6991     echo "$progname: failed program was:" >&5
6992     cat conftest.$ac_ext >&5
6993   fi
6994   rm -rf conftest* conftst*
6995
6996   # Do not use the global_symbol_pipe unless it works.
6997   if test "$pipe_works" = yes; then
6998     break
6999   else
7000     lt_cv_sys_global_symbol_pipe=
7001   fi
7002 done
7003
7004 fi
7005
7006 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7007   lt_cv_sys_global_symbol_to_cdecl=
7008 fi
7009 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7011 $as_echo "failed" >&6; }
7012 else
7013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7014 $as_echo "ok" >&6; }
7015 fi
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038 # Check whether --enable-libtool-lock was given.
7039 if test "${enable_libtool_lock+set}" = set; then :
7040   enableval=$enable_libtool_lock;
7041 fi
7042
7043 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7044
7045 # Some flags need to be propagated to the compiler or linker for good
7046 # libtool support.
7047 case $host in
7048 ia64-*-hpux*)
7049   # Find out which ABI we are using.
7050   echo 'int i;' > conftest.$ac_ext
7051   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7052   (eval $ac_compile) 2>&5
7053   ac_status=$?
7054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7055   test $ac_status = 0; }; then
7056     case `/usr/bin/file conftest.$ac_objext` in
7057       *ELF-32*)
7058         HPUX_IA64_MODE="32"
7059         ;;
7060       *ELF-64*)
7061         HPUX_IA64_MODE="64"
7062         ;;
7063     esac
7064   fi
7065   rm -rf conftest*
7066   ;;
7067 *-*-irix6*)
7068   # Find out which ABI we are using.
7069   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7070   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7071   (eval $ac_compile) 2>&5
7072   ac_status=$?
7073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7074   test $ac_status = 0; }; then
7075     if test "$lt_cv_prog_gnu_ld" = yes; then
7076       case `/usr/bin/file conftest.$ac_objext` in
7077         *32-bit*)
7078           LD="${LD-ld} -melf32bsmip"
7079           ;;
7080         *N32*)
7081           LD="${LD-ld} -melf32bmipn32"
7082           ;;
7083         *64-bit*)
7084           LD="${LD-ld} -melf64bmip"
7085         ;;
7086       esac
7087     else
7088       case `/usr/bin/file conftest.$ac_objext` in
7089         *32-bit*)
7090           LD="${LD-ld} -32"
7091           ;;
7092         *N32*)
7093           LD="${LD-ld} -n32"
7094           ;;
7095         *64-bit*)
7096           LD="${LD-ld} -64"
7097           ;;
7098       esac
7099     fi
7100   fi
7101   rm -rf conftest*
7102   ;;
7103
7104 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7105 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7106   # Find out which ABI we are using.
7107   echo 'int i;' > conftest.$ac_ext
7108   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7109   (eval $ac_compile) 2>&5
7110   ac_status=$?
7111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7112   test $ac_status = 0; }; then
7113     case `/usr/bin/file conftest.o` in
7114       *32-bit*)
7115         case $host in
7116           x86_64-*kfreebsd*-gnu)
7117             LD="${LD-ld} -m elf_i386_fbsd"
7118             ;;
7119           x86_64-*linux*)
7120             LD="${LD-ld} -m elf_i386"
7121             ;;
7122           ppc64-*linux*|powerpc64-*linux*)
7123             LD="${LD-ld} -m elf32ppclinux"
7124             ;;
7125           s390x-*linux*)
7126             LD="${LD-ld} -m elf_s390"
7127             ;;
7128           sparc64-*linux*)
7129             LD="${LD-ld} -m elf32_sparc"
7130             ;;
7131         esac
7132         ;;
7133       *64-bit*)
7134         case $host in
7135           x86_64-*kfreebsd*-gnu)
7136             LD="${LD-ld} -m elf_x86_64_fbsd"
7137             ;;
7138           x86_64-*linux*)
7139             LD="${LD-ld} -m elf_x86_64"
7140             ;;
7141           ppc*-*linux*|powerpc*-*linux*)
7142             LD="${LD-ld} -m elf64ppc"
7143             ;;
7144           s390*-*linux*|s390*-*tpf*)
7145             LD="${LD-ld} -m elf64_s390"
7146             ;;
7147           sparc*-*linux*)
7148             LD="${LD-ld} -m elf64_sparc"
7149             ;;
7150         esac
7151         ;;
7152     esac
7153   fi
7154   rm -rf conftest*
7155   ;;
7156
7157 *-*-sco3.2v5*)
7158   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7159   SAVE_CFLAGS="$CFLAGS"
7160   CFLAGS="$CFLAGS -belf"
7161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7162 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7163 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7164   $as_echo_n "(cached) " >&6
7165 else
7166   ac_ext=c
7167 ac_cpp='$CPP $CPPFLAGS'
7168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7171
7172      if test x$gcc_no_link = xyes; then
7173   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7174 fi
7175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h.  */
7177
7178 int
7179 main ()
7180 {
7181
7182   ;
7183   return 0;
7184 }
7185 _ACEOF
7186 if ac_fn_c_try_link "$LINENO"; then :
7187   lt_cv_cc_needs_belf=yes
7188 else
7189   lt_cv_cc_needs_belf=no
7190 fi
7191 rm -f core conftest.err conftest.$ac_objext \
7192     conftest$ac_exeext conftest.$ac_ext
7193      ac_ext=c
7194 ac_cpp='$CPP $CPPFLAGS'
7195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7198
7199 fi
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7201 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7202   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7203     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7204     CFLAGS="$SAVE_CFLAGS"
7205   fi
7206   ;;
7207 sparc*-*solaris*)
7208   # Find out which ABI we are using.
7209   echo 'int i;' > conftest.$ac_ext
7210   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7211   (eval $ac_compile) 2>&5
7212   ac_status=$?
7213   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7214   test $ac_status = 0; }; then
7215     case `/usr/bin/file conftest.o` in
7216     *64-bit*)
7217       case $lt_cv_prog_gnu_ld in
7218       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7219       *)
7220         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7221           LD="${LD-ld} -64"
7222         fi
7223         ;;
7224       esac
7225       ;;
7226     esac
7227   fi
7228   rm -rf conftest*
7229   ;;
7230 esac
7231
7232 need_locks="$enable_libtool_lock"
7233
7234
7235   case $host_os in
7236     rhapsody* | darwin*)
7237     if test -n "$ac_tool_prefix"; then
7238   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7239 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7241 $as_echo_n "checking for $ac_word... " >&6; }
7242 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7243   $as_echo_n "(cached) " >&6
7244 else
7245   if test -n "$DSYMUTIL"; then
7246   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7247 else
7248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 for as_dir in $PATH
7250 do
7251   IFS=$as_save_IFS
7252   test -z "$as_dir" && as_dir=.
7253     for ac_exec_ext in '' $ac_executable_extensions; do
7254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7255     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7257     break 2
7258   fi
7259 done
7260   done
7261 IFS=$as_save_IFS
7262
7263 fi
7264 fi
7265 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7266 if test -n "$DSYMUTIL"; then
7267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7268 $as_echo "$DSYMUTIL" >&6; }
7269 else
7270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271 $as_echo "no" >&6; }
7272 fi
7273
7274
7275 fi
7276 if test -z "$ac_cv_prog_DSYMUTIL"; then
7277   ac_ct_DSYMUTIL=$DSYMUTIL
7278   # Extract the first word of "dsymutil", so it can be a program name with args.
7279 set dummy dsymutil; ac_word=$2
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281 $as_echo_n "checking for $ac_word... " >&6; }
7282 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7283   $as_echo_n "(cached) " >&6
7284 else
7285   if test -n "$ac_ct_DSYMUTIL"; then
7286   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7287 else
7288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7289 for as_dir in $PATH
7290 do
7291   IFS=$as_save_IFS
7292   test -z "$as_dir" && as_dir=.
7293     for ac_exec_ext in '' $ac_executable_extensions; do
7294   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7295     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7297     break 2
7298   fi
7299 done
7300   done
7301 IFS=$as_save_IFS
7302
7303 fi
7304 fi
7305 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7306 if test -n "$ac_ct_DSYMUTIL"; then
7307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7308 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7309 else
7310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311 $as_echo "no" >&6; }
7312 fi
7313
7314   if test "x$ac_ct_DSYMUTIL" = x; then
7315     DSYMUTIL=":"
7316   else
7317     case $cross_compiling:$ac_tool_warned in
7318 yes:)
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7321 ac_tool_warned=yes ;;
7322 esac
7323     DSYMUTIL=$ac_ct_DSYMUTIL
7324   fi
7325 else
7326   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7327 fi
7328
7329     if test -n "$ac_tool_prefix"; then
7330   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7331 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7333 $as_echo_n "checking for $ac_word... " >&6; }
7334 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7335   $as_echo_n "(cached) " >&6
7336 else
7337   if test -n "$NMEDIT"; then
7338   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7339 else
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 for as_dir in $PATH
7342 do
7343   IFS=$as_save_IFS
7344   test -z "$as_dir" && as_dir=.
7345     for ac_exec_ext in '' $ac_executable_extensions; do
7346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7347     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349     break 2
7350   fi
7351 done
7352   done
7353 IFS=$as_save_IFS
7354
7355 fi
7356 fi
7357 NMEDIT=$ac_cv_prog_NMEDIT
7358 if test -n "$NMEDIT"; then
7359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7360 $as_echo "$NMEDIT" >&6; }
7361 else
7362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363 $as_echo "no" >&6; }
7364 fi
7365
7366
7367 fi
7368 if test -z "$ac_cv_prog_NMEDIT"; then
7369   ac_ct_NMEDIT=$NMEDIT
7370   # Extract the first word of "nmedit", so it can be a program name with args.
7371 set dummy nmedit; ac_word=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 $as_echo_n "checking for $ac_word... " >&6; }
7374 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7375   $as_echo_n "(cached) " >&6
7376 else
7377   if test -n "$ac_ct_NMEDIT"; then
7378   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7379 else
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 for as_dir in $PATH
7382 do
7383   IFS=$as_save_IFS
7384   test -z "$as_dir" && as_dir=.
7385     for ac_exec_ext in '' $ac_executable_extensions; do
7386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7387     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7389     break 2
7390   fi
7391 done
7392   done
7393 IFS=$as_save_IFS
7394
7395 fi
7396 fi
7397 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7398 if test -n "$ac_ct_NMEDIT"; then
7399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7400 $as_echo "$ac_ct_NMEDIT" >&6; }
7401 else
7402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 $as_echo "no" >&6; }
7404 fi
7405
7406   if test "x$ac_ct_NMEDIT" = x; then
7407     NMEDIT=":"
7408   else
7409     case $cross_compiling:$ac_tool_warned in
7410 yes:)
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7413 ac_tool_warned=yes ;;
7414 esac
7415     NMEDIT=$ac_ct_NMEDIT
7416   fi
7417 else
7418   NMEDIT="$ac_cv_prog_NMEDIT"
7419 fi
7420
7421     if test -n "$ac_tool_prefix"; then
7422   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7423 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425 $as_echo_n "checking for $ac_word... " >&6; }
7426 if test "${ac_cv_prog_LIPO+set}" = set; then :
7427   $as_echo_n "(cached) " >&6
7428 else
7429   if test -n "$LIPO"; then
7430   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7431 else
7432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 for as_dir in $PATH
7434 do
7435   IFS=$as_save_IFS
7436   test -z "$as_dir" && as_dir=.
7437     for ac_exec_ext in '' $ac_executable_extensions; do
7438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7439     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441     break 2
7442   fi
7443 done
7444   done
7445 IFS=$as_save_IFS
7446
7447 fi
7448 fi
7449 LIPO=$ac_cv_prog_LIPO
7450 if test -n "$LIPO"; then
7451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7452 $as_echo "$LIPO" >&6; }
7453 else
7454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455 $as_echo "no" >&6; }
7456 fi
7457
7458
7459 fi
7460 if test -z "$ac_cv_prog_LIPO"; then
7461   ac_ct_LIPO=$LIPO
7462   # Extract the first word of "lipo", so it can be a program name with args.
7463 set dummy lipo; ac_word=$2
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465 $as_echo_n "checking for $ac_word... " >&6; }
7466 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7467   $as_echo_n "(cached) " >&6
7468 else
7469   if test -n "$ac_ct_LIPO"; then
7470   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7471 else
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 for as_dir in $PATH
7474 do
7475   IFS=$as_save_IFS
7476   test -z "$as_dir" && as_dir=.
7477     for ac_exec_ext in '' $ac_executable_extensions; do
7478   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7479     ac_cv_prog_ac_ct_LIPO="lipo"
7480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481     break 2
7482   fi
7483 done
7484   done
7485 IFS=$as_save_IFS
7486
7487 fi
7488 fi
7489 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7490 if test -n "$ac_ct_LIPO"; then
7491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7492 $as_echo "$ac_ct_LIPO" >&6; }
7493 else
7494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7495 $as_echo "no" >&6; }
7496 fi
7497
7498   if test "x$ac_ct_LIPO" = x; then
7499     LIPO=":"
7500   else
7501     case $cross_compiling:$ac_tool_warned in
7502 yes:)
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7505 ac_tool_warned=yes ;;
7506 esac
7507     LIPO=$ac_ct_LIPO
7508   fi
7509 else
7510   LIPO="$ac_cv_prog_LIPO"
7511 fi
7512
7513     if test -n "$ac_tool_prefix"; then
7514   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7515 set dummy ${ac_tool_prefix}otool; ac_word=$2
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517 $as_echo_n "checking for $ac_word... " >&6; }
7518 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7519   $as_echo_n "(cached) " >&6
7520 else
7521   if test -n "$OTOOL"; then
7522   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7523 else
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 for as_dir in $PATH
7526 do
7527   IFS=$as_save_IFS
7528   test -z "$as_dir" && as_dir=.
7529     for ac_exec_ext in '' $ac_executable_extensions; do
7530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533     break 2
7534   fi
7535 done
7536   done
7537 IFS=$as_save_IFS
7538
7539 fi
7540 fi
7541 OTOOL=$ac_cv_prog_OTOOL
7542 if test -n "$OTOOL"; then
7543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7544 $as_echo "$OTOOL" >&6; }
7545 else
7546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547 $as_echo "no" >&6; }
7548 fi
7549
7550
7551 fi
7552 if test -z "$ac_cv_prog_OTOOL"; then
7553   ac_ct_OTOOL=$OTOOL
7554   # Extract the first word of "otool", so it can be a program name with args.
7555 set dummy otool; ac_word=$2
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7557 $as_echo_n "checking for $ac_word... " >&6; }
7558 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7559   $as_echo_n "(cached) " >&6
7560 else
7561   if test -n "$ac_ct_OTOOL"; then
7562   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7563 else
7564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 for as_dir in $PATH
7566 do
7567   IFS=$as_save_IFS
7568   test -z "$as_dir" && as_dir=.
7569     for ac_exec_ext in '' $ac_executable_extensions; do
7570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7571     ac_cv_prog_ac_ct_OTOOL="otool"
7572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573     break 2
7574   fi
7575 done
7576   done
7577 IFS=$as_save_IFS
7578
7579 fi
7580 fi
7581 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7582 if test -n "$ac_ct_OTOOL"; then
7583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7584 $as_echo "$ac_ct_OTOOL" >&6; }
7585 else
7586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587 $as_echo "no" >&6; }
7588 fi
7589
7590   if test "x$ac_ct_OTOOL" = x; then
7591     OTOOL=":"
7592   else
7593     case $cross_compiling:$ac_tool_warned in
7594 yes:)
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7597 ac_tool_warned=yes ;;
7598 esac
7599     OTOOL=$ac_ct_OTOOL
7600   fi
7601 else
7602   OTOOL="$ac_cv_prog_OTOOL"
7603 fi
7604
7605     if test -n "$ac_tool_prefix"; then
7606   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7607 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609 $as_echo_n "checking for $ac_word... " >&6; }
7610 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7611   $as_echo_n "(cached) " >&6
7612 else
7613   if test -n "$OTOOL64"; then
7614   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7615 else
7616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 for as_dir in $PATH
7618 do
7619   IFS=$as_save_IFS
7620   test -z "$as_dir" && as_dir=.
7621     for ac_exec_ext in '' $ac_executable_extensions; do
7622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7623     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7625     break 2
7626   fi
7627 done
7628   done
7629 IFS=$as_save_IFS
7630
7631 fi
7632 fi
7633 OTOOL64=$ac_cv_prog_OTOOL64
7634 if test -n "$OTOOL64"; then
7635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7636 $as_echo "$OTOOL64" >&6; }
7637 else
7638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639 $as_echo "no" >&6; }
7640 fi
7641
7642
7643 fi
7644 if test -z "$ac_cv_prog_OTOOL64"; then
7645   ac_ct_OTOOL64=$OTOOL64
7646   # Extract the first word of "otool64", so it can be a program name with args.
7647 set dummy otool64; ac_word=$2
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7649 $as_echo_n "checking for $ac_word... " >&6; }
7650 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7651   $as_echo_n "(cached) " >&6
7652 else
7653   if test -n "$ac_ct_OTOOL64"; then
7654   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7655 else
7656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657 for as_dir in $PATH
7658 do
7659   IFS=$as_save_IFS
7660   test -z "$as_dir" && as_dir=.
7661     for ac_exec_ext in '' $ac_executable_extensions; do
7662   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7663     ac_cv_prog_ac_ct_OTOOL64="otool64"
7664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7665     break 2
7666   fi
7667 done
7668   done
7669 IFS=$as_save_IFS
7670
7671 fi
7672 fi
7673 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7674 if test -n "$ac_ct_OTOOL64"; then
7675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7676 $as_echo "$ac_ct_OTOOL64" >&6; }
7677 else
7678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7679 $as_echo "no" >&6; }
7680 fi
7681
7682   if test "x$ac_ct_OTOOL64" = x; then
7683     OTOOL64=":"
7684   else
7685     case $cross_compiling:$ac_tool_warned in
7686 yes:)
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7689 ac_tool_warned=yes ;;
7690 esac
7691     OTOOL64=$ac_ct_OTOOL64
7692   fi
7693 else
7694   OTOOL64="$ac_cv_prog_OTOOL64"
7695 fi
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7724 $as_echo_n "checking for -single_module linker flag... " >&6; }
7725 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7726   $as_echo_n "(cached) " >&6
7727 else
7728   lt_cv_apple_cc_single_mod=no
7729       if test -z "${LT_MULTI_MODULE}"; then
7730         # By default we will add the -single_module flag. You can override
7731         # by either setting the environment variable LT_MULTI_MODULE
7732         # non-empty at configure time, or by adding -multi_module to the
7733         # link flags.
7734         rm -rf libconftest.dylib*
7735         echo "int foo(void){return 1;}" > conftest.c
7736         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7737 -dynamiclib -Wl,-single_module conftest.c" >&5
7738         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7739           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7740         _lt_result=$?
7741         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7742           lt_cv_apple_cc_single_mod=yes
7743         else
7744           cat conftest.err >&5
7745         fi
7746         rm -rf libconftest.dylib*
7747         rm -f conftest.*
7748       fi
7749 fi
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7751 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7753 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7754 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7755   $as_echo_n "(cached) " >&6
7756 else
7757   lt_cv_ld_exported_symbols_list=no
7758       save_LDFLAGS=$LDFLAGS
7759       echo "_main" > conftest.sym
7760       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7761       if test x$gcc_no_link = xyes; then
7762   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7763 fi
7764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7765 /* end confdefs.h.  */
7766
7767 int
7768 main ()
7769 {
7770
7771   ;
7772   return 0;
7773 }
7774 _ACEOF
7775 if ac_fn_c_try_link "$LINENO"; then :
7776   lt_cv_ld_exported_symbols_list=yes
7777 else
7778   lt_cv_ld_exported_symbols_list=no
7779 fi
7780 rm -f core conftest.err conftest.$ac_objext \
7781     conftest$ac_exeext conftest.$ac_ext
7782         LDFLAGS="$save_LDFLAGS"
7783
7784 fi
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7786 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7787     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7788 $as_echo_n "checking for -force_load linker flag... " >&6; }
7789 if test "${lt_cv_ld_force_load+set}" = set; then :
7790   $as_echo_n "(cached) " >&6
7791 else
7792   lt_cv_ld_force_load=no
7793       cat > conftest.c << _LT_EOF
7794 int forced_loaded() { return 2;}
7795 _LT_EOF
7796       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7797       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7798       echo "$AR cru libconftest.a conftest.o" >&5
7799       $AR cru libconftest.a conftest.o 2>&5
7800       cat > conftest.c << _LT_EOF
7801 int main() { return 0;}
7802 _LT_EOF
7803       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7804       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7805       _lt_result=$?
7806       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7807         lt_cv_ld_force_load=yes
7808       else
7809         cat conftest.err >&5
7810       fi
7811         rm -f conftest.err libconftest.a conftest conftest.c
7812         rm -rf conftest.dSYM
7813
7814 fi
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7816 $as_echo "$lt_cv_ld_force_load" >&6; }
7817     case $host_os in
7818     rhapsody* | darwin1.[012])
7819       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7820     darwin1.*)
7821       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7822     darwin*) # darwin 5.x on
7823       # if running on 10.5 or later, the deployment target defaults
7824       # to the OS version, if on x86, and 10.4, the deployment
7825       # target defaults to 10.4. Don't you love it?
7826       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7827         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7828           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7829         10.[012]*)
7830           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7831         10.*)
7832           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7833       esac
7834     ;;
7835   esac
7836     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7837       _lt_dar_single_mod='$single_module'
7838     fi
7839     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7840       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7841     else
7842       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7843     fi
7844     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7845       _lt_dsymutil='~$DSYMUTIL $lib || :'
7846     else
7847       _lt_dsymutil=
7848     fi
7849     ;;
7850   esac
7851
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7853 $as_echo_n "checking for ANSI C header files... " >&6; }
7854 if test "${ac_cv_header_stdc+set}" = set; then :
7855   $as_echo_n "(cached) " >&6
7856 else
7857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h.  */
7859 #include <stdlib.h>
7860 #include <stdarg.h>
7861 #include <string.h>
7862 #include <float.h>
7863
7864 int
7865 main ()
7866 {
7867
7868   ;
7869   return 0;
7870 }
7871 _ACEOF
7872 if ac_fn_c_try_compile "$LINENO"; then :
7873   ac_cv_header_stdc=yes
7874 else
7875   ac_cv_header_stdc=no
7876 fi
7877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7878
7879 if test $ac_cv_header_stdc = yes; then
7880   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h.  */
7883 #include <string.h>
7884
7885 _ACEOF
7886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7887   $EGREP "memchr" >/dev/null 2>&1; then :
7888
7889 else
7890   ac_cv_header_stdc=no
7891 fi
7892 rm -f conftest*
7893
7894 fi
7895
7896 if test $ac_cv_header_stdc = yes; then
7897   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h.  */
7900 #include <stdlib.h>
7901
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904   $EGREP "free" >/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   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7915   if test "$cross_compiling" = yes; then :
7916   :
7917 else
7918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h.  */
7920 #include <ctype.h>
7921 #include <stdlib.h>
7922 #if ((' ' & 0x0FF) == 0x020)
7923 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7924 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7925 #else
7926 # define ISLOWER(c) \
7927                    (('a' <= (c) && (c) <= 'i') \
7928                      || ('j' <= (c) && (c) <= 'r') \
7929                      || ('s' <= (c) && (c) <= 'z'))
7930 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7931 #endif
7932
7933 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7934 int
7935 main ()
7936 {
7937   int i;
7938   for (i = 0; i < 256; i++)
7939     if (XOR (islower (i), ISLOWER (i))
7940         || toupper (i) != TOUPPER (i))
7941       return 2;
7942   return 0;
7943 }
7944 _ACEOF
7945 if ac_fn_c_try_run "$LINENO"; then :
7946
7947 else
7948   ac_cv_header_stdc=no
7949 fi
7950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7951   conftest.$ac_objext conftest.beam conftest.$ac_ext
7952 fi
7953
7954 fi
7955 fi
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7957 $as_echo "$ac_cv_header_stdc" >&6; }
7958 if test $ac_cv_header_stdc = yes; then
7959
7960 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7961
7962 fi
7963
7964 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7965 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7966                   inttypes.h stdint.h unistd.h
7967 do :
7968   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7969 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7970 "
7971 eval as_val=\$$as_ac_Header
7972    if test "x$as_val" = x""yes; then :
7973   cat >>confdefs.h <<_ACEOF
7974 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7975 _ACEOF
7976
7977 fi
7978
7979 done
7980
7981
7982 for ac_header in dlfcn.h
7983 do :
7984   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7985 "
7986 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7987   cat >>confdefs.h <<_ACEOF
7988 #define HAVE_DLFCN_H 1
7989 _ACEOF
7990
7991 fi
7992
7993 done
7994
7995
7996
7997
7998
7999
8000 # Set options
8001
8002
8003
8004
8005   enable_win32_dll=no
8006
8007
8008             # Check whether --enable-shared was given.
8009 if test "${enable_shared+set}" = set; then :
8010   enableval=$enable_shared; p=${PACKAGE-default}
8011     case $enableval in
8012     yes) enable_shared=yes ;;
8013     no) enable_shared=no ;;
8014     *)
8015       enable_shared=no
8016       # Look at the argument we got.  We use all the common list separators.
8017       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8018       for pkg in $enableval; do
8019         IFS="$lt_save_ifs"
8020         if test "X$pkg" = "X$p"; then
8021           enable_shared=yes
8022         fi
8023       done
8024       IFS="$lt_save_ifs"
8025       ;;
8026     esac
8027 else
8028   enable_shared=yes
8029 fi
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039   # Check whether --enable-static was given.
8040 if test "${enable_static+set}" = set; then :
8041   enableval=$enable_static; p=${PACKAGE-default}
8042     case $enableval in
8043     yes) enable_static=yes ;;
8044     no) enable_static=no ;;
8045     *)
8046      enable_static=no
8047       # Look at the argument we got.  We use all the common list separators.
8048       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8049       for pkg in $enableval; do
8050         IFS="$lt_save_ifs"
8051         if test "X$pkg" = "X$p"; then
8052           enable_static=yes
8053         fi
8054       done
8055       IFS="$lt_save_ifs"
8056       ;;
8057     esac
8058 else
8059   enable_static=yes
8060 fi
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071 # Check whether --with-pic was given.
8072 if test "${with_pic+set}" = set; then :
8073   withval=$with_pic; pic_mode="$withval"
8074 else
8075   pic_mode=default
8076 fi
8077
8078
8079 test -z "$pic_mode" && pic_mode=default
8080
8081
8082
8083
8084
8085
8086
8087   # Check whether --enable-fast-install was given.
8088 if test "${enable_fast_install+set}" = set; then :
8089   enableval=$enable_fast_install; p=${PACKAGE-default}
8090     case $enableval in
8091     yes) enable_fast_install=yes ;;
8092     no) enable_fast_install=no ;;
8093     *)
8094       enable_fast_install=no
8095       # Look at the argument we got.  We use all the common list separators.
8096       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8097       for pkg in $enableval; do
8098         IFS="$lt_save_ifs"
8099         if test "X$pkg" = "X$p"; then
8100           enable_fast_install=yes
8101         fi
8102       done
8103       IFS="$lt_save_ifs"
8104       ;;
8105     esac
8106 else
8107   enable_fast_install=yes
8108 fi
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120 # This can be used to rebuild libtool when needed
8121 LIBTOOL_DEPS="$ltmain"
8122
8123 # Always use our own libtool.
8124 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151 test -z "$LN_S" && LN_S="ln -s"
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166 if test -n "${ZSH_VERSION+set}" ; then
8167    setopt NO_GLOB_SUBST
8168 fi
8169
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8171 $as_echo_n "checking for objdir... " >&6; }
8172 if test "${lt_cv_objdir+set}" = set; then :
8173   $as_echo_n "(cached) " >&6
8174 else
8175   rm -f .libs 2>/dev/null
8176 mkdir .libs 2>/dev/null
8177 if test -d .libs; then
8178   lt_cv_objdir=.libs
8179 else
8180   # MS-DOS does not allow filenames that begin with a dot.
8181   lt_cv_objdir=_libs
8182 fi
8183 rmdir .libs 2>/dev/null
8184 fi
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8186 $as_echo "$lt_cv_objdir" >&6; }
8187 objdir=$lt_cv_objdir
8188
8189
8190
8191
8192
8193 cat >>confdefs.h <<_ACEOF
8194 #define LT_OBJDIR "$lt_cv_objdir/"
8195 _ACEOF
8196
8197
8198
8199
8200 case $host_os in
8201 aix3*)
8202   # AIX sometimes has problems with the GCC collect2 program.  For some
8203   # reason, if we set the COLLECT_NAMES environment variable, the problems
8204   # vanish in a puff of smoke.
8205   if test "X${COLLECT_NAMES+set}" != Xset; then
8206     COLLECT_NAMES=
8207     export COLLECT_NAMES
8208   fi
8209   ;;
8210 esac
8211
8212 # Global variables:
8213 ofile=libtool
8214 can_build_shared=yes
8215
8216 # All known linkers require a `.a' archive for static linking (except MSVC,
8217 # which needs '.lib').
8218 libext=a
8219
8220 with_gnu_ld="$lt_cv_prog_gnu_ld"
8221
8222 old_CC="$CC"
8223 old_CFLAGS="$CFLAGS"
8224
8225 # Set sane defaults for various variables
8226 test -z "$CC" && CC=cc
8227 test -z "$LTCC" && LTCC=$CC
8228 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8229 test -z "$LD" && LD=ld
8230 test -z "$ac_objext" && ac_objext=o
8231
8232 for cc_temp in $compiler""; do
8233   case $cc_temp in
8234     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8235     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8236     \-*) ;;
8237     *) break;;
8238   esac
8239 done
8240 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8241
8242
8243 # Only perform the check for file, if the check method requires it
8244 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8245 case $deplibs_check_method in
8246 file_magic*)
8247   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8248     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8249 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8250 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8251   $as_echo_n "(cached) " >&6
8252 else
8253   case $MAGIC_CMD in
8254 [\\/*] |  ?:[\\/]*)
8255   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8256   ;;
8257 *)
8258   lt_save_MAGIC_CMD="$MAGIC_CMD"
8259   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8260   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8261   for ac_dir in $ac_dummy; do
8262     IFS="$lt_save_ifs"
8263     test -z "$ac_dir" && ac_dir=.
8264     if test -f $ac_dir/${ac_tool_prefix}file; then
8265       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8266       if test -n "$file_magic_test_file"; then
8267         case $deplibs_check_method in
8268         "file_magic "*)
8269           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8270           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8271           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8272             $EGREP "$file_magic_regex" > /dev/null; then
8273             :
8274           else
8275             cat <<_LT_EOF 1>&2
8276
8277 *** Warning: the command libtool uses to detect shared libraries,
8278 *** $file_magic_cmd, produces output that libtool cannot recognize.
8279 *** The result is that libtool may fail to recognize shared libraries
8280 *** as such.  This will affect the creation of libtool libraries that
8281 *** depend on shared libraries, but programs linked with such libtool
8282 *** libraries will work regardless of this problem.  Nevertheless, you
8283 *** may want to report the problem to your system manager and/or to
8284 *** bug-libtool@gnu.org
8285
8286 _LT_EOF
8287           fi ;;
8288         esac
8289       fi
8290       break
8291     fi
8292   done
8293   IFS="$lt_save_ifs"
8294   MAGIC_CMD="$lt_save_MAGIC_CMD"
8295   ;;
8296 esac
8297 fi
8298
8299 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8300 if test -n "$MAGIC_CMD"; then
8301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8302 $as_echo "$MAGIC_CMD" >&6; }
8303 else
8304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8305 $as_echo "no" >&6; }
8306 fi
8307
8308
8309
8310
8311
8312 if test -z "$lt_cv_path_MAGIC_CMD"; then
8313   if test -n "$ac_tool_prefix"; then
8314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8315 $as_echo_n "checking for file... " >&6; }
8316 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8317   $as_echo_n "(cached) " >&6
8318 else
8319   case $MAGIC_CMD in
8320 [\\/*] |  ?:[\\/]*)
8321   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8322   ;;
8323 *)
8324   lt_save_MAGIC_CMD="$MAGIC_CMD"
8325   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8326   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8327   for ac_dir in $ac_dummy; do
8328     IFS="$lt_save_ifs"
8329     test -z "$ac_dir" && ac_dir=.
8330     if test -f $ac_dir/file; then
8331       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8332       if test -n "$file_magic_test_file"; then
8333         case $deplibs_check_method in
8334         "file_magic "*)
8335           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8336           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8337           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8338             $EGREP "$file_magic_regex" > /dev/null; then
8339             :
8340           else
8341             cat <<_LT_EOF 1>&2
8342
8343 *** Warning: the command libtool uses to detect shared libraries,
8344 *** $file_magic_cmd, produces output that libtool cannot recognize.
8345 *** The result is that libtool may fail to recognize shared libraries
8346 *** as such.  This will affect the creation of libtool libraries that
8347 *** depend on shared libraries, but programs linked with such libtool
8348 *** libraries will work regardless of this problem.  Nevertheless, you
8349 *** may want to report the problem to your system manager and/or to
8350 *** bug-libtool@gnu.org
8351
8352 _LT_EOF
8353           fi ;;
8354         esac
8355       fi
8356       break
8357     fi
8358   done
8359   IFS="$lt_save_ifs"
8360   MAGIC_CMD="$lt_save_MAGIC_CMD"
8361   ;;
8362 esac
8363 fi
8364
8365 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8366 if test -n "$MAGIC_CMD"; then
8367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8368 $as_echo "$MAGIC_CMD" >&6; }
8369 else
8370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8372 fi
8373
8374
8375   else
8376     MAGIC_CMD=:
8377   fi
8378 fi
8379
8380   fi
8381   ;;
8382 esac
8383
8384 # Use C for the default configuration in the libtool script
8385
8386 lt_save_CC="$CC"
8387 ac_ext=c
8388 ac_cpp='$CPP $CPPFLAGS'
8389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8392
8393
8394 # Source file extension for C test sources.
8395 ac_ext=c
8396
8397 # Object file extension for compiled C test sources.
8398 objext=o
8399 objext=$objext
8400
8401 # Code to be used in simple compile tests
8402 lt_simple_compile_test_code="int some_variable = 0;"
8403
8404 # Code to be used in simple link tests
8405 lt_simple_link_test_code='int main(){return(0);}'
8406
8407
8408
8409
8410
8411
8412
8413 # If no C compiler was specified, use CC.
8414 LTCC=${LTCC-"$CC"}
8415
8416 # If no C compiler flags were specified, use CFLAGS.
8417 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8418
8419 # Allow CC to be a program name with arguments.
8420 compiler=$CC
8421
8422 # Save the default compiler, since it gets overwritten when the other
8423 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8424 compiler_DEFAULT=$CC
8425
8426 # save warnings/boilerplate of simple test code
8427 ac_outfile=conftest.$ac_objext
8428 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8429 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8430 _lt_compiler_boilerplate=`cat conftest.err`
8431 $RM conftest*
8432
8433 ac_outfile=conftest.$ac_objext
8434 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8435 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8436 _lt_linker_boilerplate=`cat conftest.err`
8437 $RM -r conftest*
8438
8439
8440 ## CAVEAT EMPTOR:
8441 ## There is no encapsulation within the following macros, do not change
8442 ## the running order or otherwise move them around unless you know exactly
8443 ## what you are doing...
8444 if test -n "$compiler"; then
8445
8446 lt_prog_compiler_no_builtin_flag=
8447
8448 if test "$GCC" = yes; then
8449   case $cc_basename in
8450   nvcc*)
8451     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8452   *)
8453     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8454   esac
8455
8456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8457 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8458 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8459   $as_echo_n "(cached) " >&6
8460 else
8461   lt_cv_prog_compiler_rtti_exceptions=no
8462    ac_outfile=conftest.$ac_objext
8463    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8464    lt_compiler_flag="-fno-rtti -fno-exceptions"
8465    # Insert the option either (1) after the last *FLAGS variable, or
8466    # (2) before a word containing "conftest.", or (3) at the end.
8467    # Note that $ac_compile itself does not contain backslashes and begins
8468    # with a dollar sign (not a hyphen), so the echo should work correctly.
8469    # The option is referenced via a variable to avoid confusing sed.
8470    lt_compile=`echo "$ac_compile" | $SED \
8471    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8472    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8473    -e 's:$: $lt_compiler_flag:'`
8474    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8475    (eval "$lt_compile" 2>conftest.err)
8476    ac_status=$?
8477    cat conftest.err >&5
8478    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479    if (exit $ac_status) && test -s "$ac_outfile"; then
8480      # The compiler can only warn and ignore the option if not recognized
8481      # So say no if there are warnings other than the usual output.
8482      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8483      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8484      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8485        lt_cv_prog_compiler_rtti_exceptions=yes
8486      fi
8487    fi
8488    $RM conftest*
8489
8490 fi
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8492 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8493
8494 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8495     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8496 else
8497     :
8498 fi
8499
8500 fi
8501
8502
8503
8504
8505
8506
8507   lt_prog_compiler_wl=
8508 lt_prog_compiler_pic=
8509 lt_prog_compiler_static=
8510
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8512 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8513
8514   if test "$GCC" = yes; then
8515     lt_prog_compiler_wl='-Wl,'
8516     lt_prog_compiler_static='-static'
8517
8518     case $host_os in
8519       aix*)
8520       # All AIX code is PIC.
8521       if test "$host_cpu" = ia64; then
8522         # AIX 5 now supports IA64 processor
8523         lt_prog_compiler_static='-Bstatic'
8524       fi
8525       ;;
8526
8527     amigaos*)
8528       case $host_cpu in
8529       powerpc)
8530             # see comment about AmigaOS4 .so support
8531             lt_prog_compiler_pic='-fPIC'
8532         ;;
8533       m68k)
8534             # FIXME: we need at least 68020 code to build shared libraries, but
8535             # adding the `-m68020' flag to GCC prevents building anything better,
8536             # like `-m68040'.
8537             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8538         ;;
8539       esac
8540       ;;
8541
8542     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8543       # PIC is the default for these OSes.
8544       ;;
8545
8546     mingw* | cygwin* | pw32* | os2* | cegcc*)
8547       # This hack is so that the source file can tell whether it is being
8548       # built for inclusion in a dll (and should export symbols for example).
8549       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8550       # (--disable-auto-import) libraries
8551       lt_prog_compiler_pic='-DDLL_EXPORT'
8552       ;;
8553
8554     darwin* | rhapsody*)
8555       # PIC is the default on this platform
8556       # Common symbols not allowed in MH_DYLIB files
8557       lt_prog_compiler_pic='-fno-common'
8558       ;;
8559
8560     haiku*)
8561       # PIC is the default for Haiku.
8562       # The "-static" flag exists, but is broken.
8563       lt_prog_compiler_static=
8564       ;;
8565
8566     hpux*)
8567       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8568       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8569       # sets the default TLS model and affects inlining.
8570       case $host_cpu in
8571       hppa*64*)
8572         # +Z the default
8573         ;;
8574       *)
8575         lt_prog_compiler_pic='-fPIC'
8576         ;;
8577       esac
8578       ;;
8579
8580     interix[3-9]*)
8581       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8582       # Instead, we relocate shared libraries at runtime.
8583       ;;
8584
8585     msdosdjgpp*)
8586       # Just because we use GCC doesn't mean we suddenly get shared libraries
8587       # on systems that don't support them.
8588       lt_prog_compiler_can_build_shared=no
8589       enable_shared=no
8590       ;;
8591
8592     *nto* | *qnx*)
8593       # QNX uses GNU C++, but need to define -shared option too, otherwise
8594       # it will coredump.
8595       lt_prog_compiler_pic='-fPIC -shared'
8596       ;;
8597
8598     sysv4*MP*)
8599       if test -d /usr/nec; then
8600         lt_prog_compiler_pic=-Kconform_pic
8601       fi
8602       ;;
8603
8604     *)
8605       lt_prog_compiler_pic='-fPIC'
8606       ;;
8607     esac
8608
8609     case $cc_basename in
8610     nvcc*) # Cuda Compiler Driver 2.2
8611       lt_prog_compiler_wl='-Xlinker '
8612       lt_prog_compiler_pic='-Xcompiler -fPIC'
8613       ;;
8614     esac
8615   else
8616     # PORTME Check for flag to pass linker flags through the system compiler.
8617     case $host_os in
8618     aix*)
8619       lt_prog_compiler_wl='-Wl,'
8620       if test "$host_cpu" = ia64; then
8621         # AIX 5 now supports IA64 processor
8622         lt_prog_compiler_static='-Bstatic'
8623       else
8624         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8625       fi
8626       ;;
8627
8628     mingw* | cygwin* | pw32* | os2* | cegcc*)
8629       # This hack is so that the source file can tell whether it is being
8630       # built for inclusion in a dll (and should export symbols for example).
8631       lt_prog_compiler_pic='-DDLL_EXPORT'
8632       ;;
8633
8634     hpux9* | hpux10* | hpux11*)
8635       lt_prog_compiler_wl='-Wl,'
8636       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8637       # not for PA HP-UX.
8638       case $host_cpu in
8639       hppa*64*|ia64*)
8640         # +Z the default
8641         ;;
8642       *)
8643         lt_prog_compiler_pic='+Z'
8644         ;;
8645       esac
8646       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8647       lt_prog_compiler_static='${wl}-a ${wl}archive'
8648       ;;
8649
8650     irix5* | irix6* | nonstopux*)
8651       lt_prog_compiler_wl='-Wl,'
8652       # PIC (with -KPIC) is the default.
8653       lt_prog_compiler_static='-non_shared'
8654       ;;
8655
8656     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8657       case $cc_basename in
8658       # old Intel for x86_64 which still supported -KPIC.
8659       ecc*)
8660         lt_prog_compiler_wl='-Wl,'
8661         lt_prog_compiler_pic='-KPIC'
8662         lt_prog_compiler_static='-static'
8663         ;;
8664       # icc used to be incompatible with GCC.
8665       # ICC 10 doesn't accept -KPIC any more.
8666       icc* | ifort*)
8667         lt_prog_compiler_wl='-Wl,'
8668         lt_prog_compiler_pic='-fPIC'
8669         lt_prog_compiler_static='-static'
8670         ;;
8671       # Lahey Fortran 8.1.
8672       lf95*)
8673         lt_prog_compiler_wl='-Wl,'
8674         lt_prog_compiler_pic='--shared'
8675         lt_prog_compiler_static='--static'
8676         ;;
8677       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8678         # Portland Group compilers (*not* the Pentium gcc compiler,
8679         # which looks to be a dead project)
8680         lt_prog_compiler_wl='-Wl,'
8681         lt_prog_compiler_pic='-fpic'
8682         lt_prog_compiler_static='-Bstatic'
8683         ;;
8684       ccc*)
8685         lt_prog_compiler_wl='-Wl,'
8686         # All Alpha code is PIC.
8687         lt_prog_compiler_static='-non_shared'
8688         ;;
8689       xl* | bgxl* | bgf* | mpixl*)
8690         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8691         lt_prog_compiler_wl='-Wl,'
8692         lt_prog_compiler_pic='-qpic'
8693         lt_prog_compiler_static='-qstaticlink'
8694         ;;
8695       *)
8696         case `$CC -V 2>&1 | sed 5q` in
8697         *Sun\ F* | *Sun*Fortran*)
8698           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8699           lt_prog_compiler_pic='-KPIC'
8700           lt_prog_compiler_static='-Bstatic'
8701           lt_prog_compiler_wl=''
8702           ;;
8703         *Sun\ C*)
8704           # Sun C 5.9
8705           lt_prog_compiler_pic='-KPIC'
8706           lt_prog_compiler_static='-Bstatic'
8707           lt_prog_compiler_wl='-Wl,'
8708           ;;
8709         esac
8710         ;;
8711       esac
8712       ;;
8713
8714     newsos6)
8715       lt_prog_compiler_pic='-KPIC'
8716       lt_prog_compiler_static='-Bstatic'
8717       ;;
8718
8719     *nto* | *qnx*)
8720       # QNX uses GNU C++, but need to define -shared option too, otherwise
8721       # it will coredump.
8722       lt_prog_compiler_pic='-fPIC -shared'
8723       ;;
8724
8725     osf3* | osf4* | osf5*)
8726       lt_prog_compiler_wl='-Wl,'
8727       # All OSF/1 code is PIC.
8728       lt_prog_compiler_static='-non_shared'
8729       ;;
8730
8731     rdos*)
8732       lt_prog_compiler_static='-non_shared'
8733       ;;
8734
8735     solaris*)
8736       lt_prog_compiler_pic='-KPIC'
8737       lt_prog_compiler_static='-Bstatic'
8738       case $cc_basename in
8739       f77* | f90* | f95*)
8740         lt_prog_compiler_wl='-Qoption ld ';;
8741       *)
8742         lt_prog_compiler_wl='-Wl,';;
8743       esac
8744       ;;
8745
8746     sunos4*)
8747       lt_prog_compiler_wl='-Qoption ld '
8748       lt_prog_compiler_pic='-PIC'
8749       lt_prog_compiler_static='-Bstatic'
8750       ;;
8751
8752     sysv4 | sysv4.2uw2* | sysv4.3*)
8753       lt_prog_compiler_wl='-Wl,'
8754       lt_prog_compiler_pic='-KPIC'
8755       lt_prog_compiler_static='-Bstatic'
8756       ;;
8757
8758     sysv4*MP*)
8759       if test -d /usr/nec ;then
8760         lt_prog_compiler_pic='-Kconform_pic'
8761         lt_prog_compiler_static='-Bstatic'
8762       fi
8763       ;;
8764
8765     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8766       lt_prog_compiler_wl='-Wl,'
8767       lt_prog_compiler_pic='-KPIC'
8768       lt_prog_compiler_static='-Bstatic'
8769       ;;
8770
8771     unicos*)
8772       lt_prog_compiler_wl='-Wl,'
8773       lt_prog_compiler_can_build_shared=no
8774       ;;
8775
8776     uts4*)
8777       lt_prog_compiler_pic='-pic'
8778       lt_prog_compiler_static='-Bstatic'
8779       ;;
8780
8781     *)
8782       lt_prog_compiler_can_build_shared=no
8783       ;;
8784     esac
8785   fi
8786
8787 case $host_os in
8788   # For platforms which do not support PIC, -DPIC is meaningless:
8789   *djgpp*)
8790     lt_prog_compiler_pic=
8791     ;;
8792   *)
8793     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8794     ;;
8795 esac
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8797 $as_echo "$lt_prog_compiler_pic" >&6; }
8798
8799
8800
8801
8802
8803
8804 #
8805 # Check to make sure the PIC flag actually works.
8806 #
8807 if test -n "$lt_prog_compiler_pic"; then
8808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8809 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8810 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8811   $as_echo_n "(cached) " >&6
8812 else
8813   lt_cv_prog_compiler_pic_works=no
8814    ac_outfile=conftest.$ac_objext
8815    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8816    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8817    # Insert the option either (1) after the last *FLAGS variable, or
8818    # (2) before a word containing "conftest.", or (3) at the end.
8819    # Note that $ac_compile itself does not contain backslashes and begins
8820    # with a dollar sign (not a hyphen), so the echo should work correctly.
8821    # The option is referenced via a variable to avoid confusing sed.
8822    lt_compile=`echo "$ac_compile" | $SED \
8823    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8824    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8825    -e 's:$: $lt_compiler_flag:'`
8826    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8827    (eval "$lt_compile" 2>conftest.err)
8828    ac_status=$?
8829    cat conftest.err >&5
8830    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831    if (exit $ac_status) && test -s "$ac_outfile"; then
8832      # The compiler can only warn and ignore the option if not recognized
8833      # So say no if there are warnings other than the usual output.
8834      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8835      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8836      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8837        lt_cv_prog_compiler_pic_works=yes
8838      fi
8839    fi
8840    $RM conftest*
8841
8842 fi
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8844 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8845
8846 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8847     case $lt_prog_compiler_pic in
8848      "" | " "*) ;;
8849      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8850      esac
8851 else
8852     lt_prog_compiler_pic=
8853      lt_prog_compiler_can_build_shared=no
8854 fi
8855
8856 fi
8857
8858
8859
8860
8861
8862
8863 #
8864 # Check to make sure the static flag actually works.
8865 #
8866 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8868 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8869 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8870   $as_echo_n "(cached) " >&6
8871 else
8872   lt_cv_prog_compiler_static_works=no
8873    save_LDFLAGS="$LDFLAGS"
8874    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8875    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8876    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8877      # The linker can only warn and ignore the option if not recognized
8878      # So say no if there are warnings
8879      if test -s conftest.err; then
8880        # Append any errors to the config.log.
8881        cat conftest.err 1>&5
8882        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8883        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8884        if diff conftest.exp conftest.er2 >/dev/null; then
8885          lt_cv_prog_compiler_static_works=yes
8886        fi
8887      else
8888        lt_cv_prog_compiler_static_works=yes
8889      fi
8890    fi
8891    $RM -r conftest*
8892    LDFLAGS="$save_LDFLAGS"
8893
8894 fi
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8896 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8897
8898 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8899     :
8900 else
8901     lt_prog_compiler_static=
8902 fi
8903
8904
8905
8906
8907
8908
8909
8910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8911 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8912 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8913   $as_echo_n "(cached) " >&6
8914 else
8915   lt_cv_prog_compiler_c_o=no
8916    $RM -r conftest 2>/dev/null
8917    mkdir conftest
8918    cd conftest
8919    mkdir out
8920    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8921
8922    lt_compiler_flag="-o out/conftest2.$ac_objext"
8923    # Insert the option either (1) after the last *FLAGS variable, or
8924    # (2) before a word containing "conftest.", or (3) at the end.
8925    # Note that $ac_compile itself does not contain backslashes and begins
8926    # with a dollar sign (not a hyphen), so the echo should work correctly.
8927    lt_compile=`echo "$ac_compile" | $SED \
8928    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8929    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8930    -e 's:$: $lt_compiler_flag:'`
8931    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8932    (eval "$lt_compile" 2>out/conftest.err)
8933    ac_status=$?
8934    cat out/conftest.err >&5
8935    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8937    then
8938      # The compiler can only warn and ignore the option if not recognized
8939      # So say no if there are warnings
8940      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8941      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8942      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8943        lt_cv_prog_compiler_c_o=yes
8944      fi
8945    fi
8946    chmod u+w . 2>&5
8947    $RM conftest*
8948    # SGI C++ compiler will create directory out/ii_files/ for
8949    # template instantiation
8950    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8951    $RM out/* && rmdir out
8952    cd ..
8953    $RM -r conftest
8954    $RM conftest*
8955
8956 fi
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8958 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8959
8960
8961
8962
8963
8964
8965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8966 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8967 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8968   $as_echo_n "(cached) " >&6
8969 else
8970   lt_cv_prog_compiler_c_o=no
8971    $RM -r conftest 2>/dev/null
8972    mkdir conftest
8973    cd conftest
8974    mkdir out
8975    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8976
8977    lt_compiler_flag="-o out/conftest2.$ac_objext"
8978    # Insert the option either (1) after the last *FLAGS variable, or
8979    # (2) before a word containing "conftest.", or (3) at the end.
8980    # Note that $ac_compile itself does not contain backslashes and begins
8981    # with a dollar sign (not a hyphen), so the echo should work correctly.
8982    lt_compile=`echo "$ac_compile" | $SED \
8983    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8984    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8985    -e 's:$: $lt_compiler_flag:'`
8986    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8987    (eval "$lt_compile" 2>out/conftest.err)
8988    ac_status=$?
8989    cat out/conftest.err >&5
8990    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8992    then
8993      # The compiler can only warn and ignore the option if not recognized
8994      # So say no if there are warnings
8995      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8996      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8997      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8998        lt_cv_prog_compiler_c_o=yes
8999      fi
9000    fi
9001    chmod u+w . 2>&5
9002    $RM conftest*
9003    # SGI C++ compiler will create directory out/ii_files/ for
9004    # template instantiation
9005    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9006    $RM out/* && rmdir out
9007    cd ..
9008    $RM -r conftest
9009    $RM conftest*
9010
9011 fi
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9013 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9014
9015
9016
9017
9018 hard_links="nottested"
9019 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9020   # do not overwrite the value of need_locks provided by the user
9021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9022 $as_echo_n "checking if we can lock with hard links... " >&6; }
9023   hard_links=yes
9024   $RM conftest*
9025   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9026   touch conftest.a
9027   ln conftest.a conftest.b 2>&5 || hard_links=no
9028   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9030 $as_echo "$hard_links" >&6; }
9031   if test "$hard_links" = no; then
9032     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9033 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9034     need_locks=warn
9035   fi
9036 else
9037   need_locks=no
9038 fi
9039
9040
9041
9042
9043
9044
9045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9046 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9047
9048   runpath_var=
9049   allow_undefined_flag=
9050   always_export_symbols=no
9051   archive_cmds=
9052   archive_expsym_cmds=
9053   compiler_needs_object=no
9054   enable_shared_with_static_runtimes=no
9055   export_dynamic_flag_spec=
9056   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9057   hardcode_automatic=no
9058   hardcode_direct=no
9059   hardcode_direct_absolute=no
9060   hardcode_libdir_flag_spec=
9061   hardcode_libdir_flag_spec_ld=
9062   hardcode_libdir_separator=
9063   hardcode_minus_L=no
9064   hardcode_shlibpath_var=unsupported
9065   inherit_rpath=no
9066   link_all_deplibs=unknown
9067   module_cmds=
9068   module_expsym_cmds=
9069   old_archive_from_new_cmds=
9070   old_archive_from_expsyms_cmds=
9071   thread_safe_flag_spec=
9072   whole_archive_flag_spec=
9073   # include_expsyms should be a list of space-separated symbols to be *always*
9074   # included in the symbol list
9075   include_expsyms=
9076   # exclude_expsyms can be an extended regexp of symbols to exclude
9077   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9078   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9079   # as well as any symbol that contains `d'.
9080   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9081   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9082   # platforms (ab)use it in PIC code, but their linkers get confused if
9083   # the symbol is explicitly referenced.  Since portable code cannot
9084   # rely on this symbol name, it's probably fine to never include it in
9085   # preloaded symbol tables.
9086   # Exclude shared library initialization/finalization symbols.
9087   extract_expsyms_cmds=
9088
9089   case $host_os in
9090   cygwin* | mingw* | pw32* | cegcc*)
9091     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9092     # When not using gcc, we currently assume that we are using
9093     # Microsoft Visual C++.
9094     if test "$GCC" != yes; then
9095       with_gnu_ld=no
9096     fi
9097     ;;
9098   interix*)
9099     # we just hope/assume this is gcc and not c89 (= MSVC++)
9100     with_gnu_ld=yes
9101     ;;
9102   openbsd*)
9103     with_gnu_ld=no
9104     ;;
9105   esac
9106
9107   ld_shlibs=yes
9108
9109   # On some targets, GNU ld is compatible enough with the native linker
9110   # that we're better off using the native interface for both.
9111   lt_use_gnu_ld_interface=no
9112   if test "$with_gnu_ld" = yes; then
9113     case $host_os in
9114       aix*)
9115         # The AIX port of GNU ld has always aspired to compatibility
9116         # with the native linker.  However, as the warning in the GNU ld
9117         # block says, versions before 2.19.5* couldn't really create working
9118         # shared libraries, regardless of the interface used.
9119         case `$LD -v 2>&1` in
9120           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9121           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9122           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9123           *)
9124             lt_use_gnu_ld_interface=yes
9125             ;;
9126         esac
9127         ;;
9128       *)
9129         lt_use_gnu_ld_interface=yes
9130         ;;
9131     esac
9132   fi
9133
9134   if test "$lt_use_gnu_ld_interface" = yes; then
9135     # If archive_cmds runs LD, not CC, wlarc should be empty
9136     wlarc='${wl}'
9137
9138     # Set some defaults for GNU ld with shared library support. These
9139     # are reset later if shared libraries are not supported. Putting them
9140     # here allows them to be overridden if necessary.
9141     runpath_var=LD_RUN_PATH
9142     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9143     export_dynamic_flag_spec='${wl}--export-dynamic'
9144     # ancient GNU ld didn't support --whole-archive et. al.
9145     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9146       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9147     else
9148       whole_archive_flag_spec=
9149     fi
9150     supports_anon_versioning=no
9151     case `$LD -v 2>&1` in
9152       *GNU\ gold*) supports_anon_versioning=yes ;;
9153       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9154       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9155       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9156       *\ 2.11.*) ;; # other 2.11 versions
9157       *) supports_anon_versioning=yes ;;
9158     esac
9159
9160     # See if GNU ld supports shared libraries.
9161     case $host_os in
9162     aix[3-9]*)
9163       # On AIX/PPC, the GNU linker is very broken
9164       if test "$host_cpu" != ia64; then
9165         ld_shlibs=no
9166         cat <<_LT_EOF 1>&2
9167
9168 *** Warning: the GNU linker, at least up to release 2.19, is reported
9169 *** to be unable to reliably create shared libraries on AIX.
9170 *** Therefore, libtool is disabling shared libraries support.  If you
9171 *** really care for shared libraries, you may want to install binutils
9172 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9173 *** You will then need to restart the configuration process.
9174
9175 _LT_EOF
9176       fi
9177       ;;
9178
9179     amigaos*)
9180       case $host_cpu in
9181       powerpc)
9182             # see comment about AmigaOS4 .so support
9183             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184             archive_expsym_cmds=''
9185         ;;
9186       m68k)
9187             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)'
9188             hardcode_libdir_flag_spec='-L$libdir'
9189             hardcode_minus_L=yes
9190         ;;
9191       esac
9192       ;;
9193
9194     beos*)
9195       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9196         allow_undefined_flag=unsupported
9197         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9198         # support --undefined.  This deserves some investigation.  FIXME
9199         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9200       else
9201         ld_shlibs=no
9202       fi
9203       ;;
9204
9205     cygwin* | mingw* | pw32* | cegcc*)
9206       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9207       # as there is no search path for DLLs.
9208       hardcode_libdir_flag_spec='-L$libdir'
9209       export_dynamic_flag_spec='${wl}--export-all-symbols'
9210       allow_undefined_flag=unsupported
9211       always_export_symbols=no
9212       enable_shared_with_static_runtimes=yes
9213       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9214
9215       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9216         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9217         # If the export-symbols file already is a .def file (1st line
9218         # is EXPORTS), use it as is; otherwise, prepend...
9219         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9220           cp $export_symbols $output_objdir/$soname.def;
9221         else
9222           echo EXPORTS > $output_objdir/$soname.def;
9223           cat $export_symbols >> $output_objdir/$soname.def;
9224         fi~
9225         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9226       else
9227         ld_shlibs=no
9228       fi
9229       ;;
9230
9231     haiku*)
9232       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9233       link_all_deplibs=yes
9234       ;;
9235
9236     interix[3-9]*)
9237       hardcode_direct=no
9238       hardcode_shlibpath_var=no
9239       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9240       export_dynamic_flag_spec='${wl}-E'
9241       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9242       # Instead, shared libraries are loaded at an image base (0x10000000 by
9243       # default) and relocated if they conflict, which is a slow very memory
9244       # consuming and fragmenting process.  To avoid this, we pick a random,
9245       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9246       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9247       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9248       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'
9249       ;;
9250
9251     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9252       tmp_diet=no
9253       if test "$host_os" = linux-dietlibc; then
9254         case $cc_basename in
9255           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9256         esac
9257       fi
9258       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9259          && test "$tmp_diet" = no
9260       then
9261         tmp_addflag=
9262         tmp_sharedflag='-shared'
9263         case $cc_basename,$host_cpu in
9264         pgcc*)                          # Portland Group C compiler
9265           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'
9266           tmp_addflag=' $pic_flag'
9267           ;;
9268         pgf77* | pgf90* | pgf95* | pgfortran*)
9269                                         # Portland Group f77 and f90 compilers
9270           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'
9271           tmp_addflag=' $pic_flag -Mnomain' ;;
9272         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9273           tmp_addflag=' -i_dynamic' ;;
9274         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9275           tmp_addflag=' -i_dynamic -nofor_main' ;;
9276         ifc* | ifort*)                  # Intel Fortran compiler
9277           tmp_addflag=' -nofor_main' ;;
9278         lf95*)                          # Lahey Fortran 8.1
9279           whole_archive_flag_spec=
9280           tmp_sharedflag='--shared' ;;
9281         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9282           tmp_sharedflag='-qmkshrobj'
9283           tmp_addflag= ;;
9284         nvcc*)  # Cuda Compiler Driver 2.2
9285           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'
9286           compiler_needs_object=yes
9287           ;;
9288         esac
9289         case `$CC -V 2>&1 | sed 5q` in
9290         *Sun\ C*)                       # Sun C 5.9
9291           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'
9292           compiler_needs_object=yes
9293           tmp_sharedflag='-G' ;;
9294         *Sun\ F*)                       # Sun Fortran 8.3
9295           tmp_sharedflag='-G' ;;
9296         esac
9297         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9298
9299         if test "x$supports_anon_versioning" = xyes; then
9300           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9301             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9302             echo "local: *; };" >> $output_objdir/$libname.ver~
9303             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9304         fi
9305
9306         case $cc_basename in
9307         xlf* | bgf* | bgxlf* | mpixlf*)
9308           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9309           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9310           hardcode_libdir_flag_spec=
9311           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9312           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9313           if test "x$supports_anon_versioning" = xyes; then
9314             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9315               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9316               echo "local: *; };" >> $output_objdir/$libname.ver~
9317               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9318           fi
9319           ;;
9320         esac
9321       else
9322         ld_shlibs=no
9323       fi
9324       ;;
9325
9326     netbsd*)
9327       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9328         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9329         wlarc=
9330       else
9331         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9333       fi
9334       ;;
9335
9336     solaris*)
9337       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9338         ld_shlibs=no
9339         cat <<_LT_EOF 1>&2
9340
9341 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9342 *** create shared libraries on Solaris systems.  Therefore, libtool
9343 *** is disabling shared libraries support.  We urge you to upgrade GNU
9344 *** binutils to release 2.9.1 or newer.  Another option is to modify
9345 *** your PATH or compiler configuration so that the native linker is
9346 *** used, and then restart.
9347
9348 _LT_EOF
9349       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9350         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9351         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9352       else
9353         ld_shlibs=no
9354       fi
9355       ;;
9356
9357     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9358       case `$LD -v 2>&1` in
9359         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9360         ld_shlibs=no
9361         cat <<_LT_EOF 1>&2
9362
9363 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9364 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9365 *** is disabling shared libraries support.  We urge you to upgrade GNU
9366 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9367 *** your PATH or compiler configuration so that the native linker is
9368 *** used, and then restart.
9369
9370 _LT_EOF
9371         ;;
9372         *)
9373           # For security reasons, it is highly recommended that you always
9374           # use absolute paths for naming shared libraries, and exclude the
9375           # DT_RUNPATH tag from executables and libraries.  But doing so
9376           # requires that you compile everything twice, which is a pain.
9377           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9378             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9379             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9380             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9381           else
9382             ld_shlibs=no
9383           fi
9384         ;;
9385       esac
9386       ;;
9387
9388     sunos4*)
9389       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9390       wlarc=
9391       hardcode_direct=yes
9392       hardcode_shlibpath_var=no
9393       ;;
9394
9395     *)
9396       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
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     if test "$ld_shlibs" = no; then
9406       runpath_var=
9407       hardcode_libdir_flag_spec=
9408       export_dynamic_flag_spec=
9409       whole_archive_flag_spec=
9410     fi
9411   else
9412     # PORTME fill in a description of your system's linker (not GNU ld)
9413     case $host_os in
9414     aix3*)
9415       allow_undefined_flag=unsupported
9416       always_export_symbols=yes
9417       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'
9418       # Note: this linker hardcodes the directories in LIBPATH if there
9419       # are no directories specified by -L.
9420       hardcode_minus_L=yes
9421       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9422         # Neither direct hardcoding nor static linking is supported with a
9423         # broken collect2.
9424         hardcode_direct=unsupported
9425       fi
9426       ;;
9427
9428     aix[4-9]*)
9429       if test "$host_cpu" = ia64; then
9430         # On IA64, the linker does run time linking by default, so we don't
9431         # have to do anything special.
9432         aix_use_runtimelinking=no
9433         exp_sym_flag='-Bexport'
9434         no_entry_flag=""
9435       else
9436         # If we're using GNU nm, then we don't want the "-C" option.
9437         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9438         # Also, AIX nm treats weak defined symbols like other global
9439         # defined symbols, whereas GNU nm marks them as "W".
9440         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9441           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'
9442         else
9443           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'
9444         fi
9445         aix_use_runtimelinking=no
9446
9447         # Test if we are trying to use run time linking or normal
9448         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9449         # need to do runtime linking.
9450         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9451           for ld_flag in $LDFLAGS; do
9452           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9453             aix_use_runtimelinking=yes
9454             break
9455           fi
9456           done
9457           ;;
9458         esac
9459
9460         exp_sym_flag='-bexport'
9461         no_entry_flag='-bnoentry'
9462       fi
9463
9464       # When large executables or shared objects are built, AIX ld can
9465       # have problems creating the table of contents.  If linking a library
9466       # or program results in "error TOC overflow" add -mminimal-toc to
9467       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9468       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9469
9470       archive_cmds=''
9471       hardcode_direct=yes
9472       hardcode_direct_absolute=yes
9473       hardcode_libdir_separator=':'
9474       link_all_deplibs=yes
9475       file_list_spec='${wl}-f,'
9476
9477       if test "$GCC" = yes; then
9478         case $host_os in aix4.[012]|aix4.[012].*)
9479         # We only want to do this on AIX 4.2 and lower, the check
9480         # below for broken collect2 doesn't work under 4.3+
9481           collect2name=`${CC} -print-prog-name=collect2`
9482           if test -f "$collect2name" &&
9483            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9484           then
9485           # We have reworked collect2
9486           :
9487           else
9488           # We have old collect2
9489           hardcode_direct=unsupported
9490           # It fails to find uninstalled libraries when the uninstalled
9491           # path is not listed in the libpath.  Setting hardcode_minus_L
9492           # to unsupported forces relinking
9493           hardcode_minus_L=yes
9494           hardcode_libdir_flag_spec='-L$libdir'
9495           hardcode_libdir_separator=
9496           fi
9497           ;;
9498         esac
9499         shared_flag='-shared'
9500         if test "$aix_use_runtimelinking" = yes; then
9501           shared_flag="$shared_flag "'${wl}-G'
9502         fi
9503       else
9504         # not using gcc
9505         if test "$host_cpu" = ia64; then
9506         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9507         # chokes on -Wl,-G. The following line is correct:
9508           shared_flag='-G'
9509         else
9510           if test "$aix_use_runtimelinking" = yes; then
9511             shared_flag='${wl}-G'
9512           else
9513             shared_flag='${wl}-bM:SRE'
9514           fi
9515         fi
9516       fi
9517
9518       export_dynamic_flag_spec='${wl}-bexpall'
9519       # It seems that -bexpall does not export symbols beginning with
9520       # underscore (_), so it is better to generate a list of symbols to export.
9521       always_export_symbols=yes
9522       if test "$aix_use_runtimelinking" = yes; then
9523         # Warning - without using the other runtime loading flags (-brtl),
9524         # -berok will link without error, but may produce a broken library.
9525         allow_undefined_flag='-berok'
9526         # Determine the default libpath from the value encoded in an
9527         # empty executable.
9528         if test x$gcc_no_link = xyes; then
9529   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9530 fi
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h.  */
9533
9534 int
9535 main ()
9536 {
9537
9538   ;
9539   return 0;
9540 }
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"; then :
9543
9544 lt_aix_libpath_sed='
9545     /Import File Strings/,/^$/ {
9546         /^0/ {
9547             s/^0  *\(.*\)$/\1/
9548             p
9549         }
9550     }'
9551 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9552 # Check for a 64-bit object if we didn't find anything.
9553 if test -z "$aix_libpath"; then
9554   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9555 fi
9556 fi
9557 rm -f core conftest.err conftest.$ac_objext \
9558     conftest$ac_exeext conftest.$ac_ext
9559 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9560
9561         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9562         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"
9563       else
9564         if test "$host_cpu" = ia64; then
9565           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9566           allow_undefined_flag="-z nodefs"
9567           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"
9568         else
9569          # Determine the default libpath from the value encoded in an
9570          # empty executable.
9571          if test x$gcc_no_link = xyes; then
9572   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9573 fi
9574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h.  */
9576
9577 int
9578 main ()
9579 {
9580
9581   ;
9582   return 0;
9583 }
9584 _ACEOF
9585 if ac_fn_c_try_link "$LINENO"; then :
9586
9587 lt_aix_libpath_sed='
9588     /Import File Strings/,/^$/ {
9589         /^0/ {
9590             s/^0  *\(.*\)$/\1/
9591             p
9592         }
9593     }'
9594 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9595 # Check for a 64-bit object if we didn't find anything.
9596 if test -z "$aix_libpath"; then
9597   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598 fi
9599 fi
9600 rm -f core conftest.err conftest.$ac_objext \
9601     conftest$ac_exeext conftest.$ac_ext
9602 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9603
9604          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9605           # Warning - without using the other run time loading flags,
9606           # -berok will link without error, but may produce a broken library.
9607           no_undefined_flag=' ${wl}-bernotok'
9608           allow_undefined_flag=' ${wl}-berok'
9609           if test "$with_gnu_ld" = yes; then
9610             # We only use this code for GNU lds that support --whole-archive.
9611             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9612           else
9613             # Exported symbols can be pulled into shared objects from archives
9614             whole_archive_flag_spec='$convenience'
9615           fi
9616           archive_cmds_need_lc=yes
9617           # This is similar to how AIX traditionally builds its shared libraries.
9618           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'
9619         fi
9620       fi
9621       ;;
9622
9623     amigaos*)
9624       case $host_cpu in
9625       powerpc)
9626             # see comment about AmigaOS4 .so support
9627             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9628             archive_expsym_cmds=''
9629         ;;
9630       m68k)
9631             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)'
9632             hardcode_libdir_flag_spec='-L$libdir'
9633             hardcode_minus_L=yes
9634         ;;
9635       esac
9636       ;;
9637
9638     bsdi[45]*)
9639       export_dynamic_flag_spec=-rdynamic
9640       ;;
9641
9642     cygwin* | mingw* | pw32* | cegcc*)
9643       # When not using gcc, we currently assume that we are using
9644       # Microsoft Visual C++.
9645       # hardcode_libdir_flag_spec is actually meaningless, as there is
9646       # no search path for DLLs.
9647       hardcode_libdir_flag_spec=' '
9648       allow_undefined_flag=unsupported
9649       # Tell ltmain to make .lib files, not .a files.
9650       libext=lib
9651       # Tell ltmain to make .dll files, not .so files.
9652       shrext_cmds=".dll"
9653       # FIXME: Setting linknames here is a bad hack.
9654       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9655       # The linker will automatically build a .lib file if we build a DLL.
9656       old_archive_from_new_cmds='true'
9657       # FIXME: Should let the user specify the lib program.
9658       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9659       fix_srcfile_path='`cygpath -w "$srcfile"`'
9660       enable_shared_with_static_runtimes=yes
9661       ;;
9662
9663     darwin* | rhapsody*)
9664
9665
9666   archive_cmds_need_lc=no
9667   hardcode_direct=no
9668   hardcode_automatic=yes
9669   hardcode_shlibpath_var=unsupported
9670   if test "$lt_cv_ld_force_load" = "yes"; then
9671     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\"`'
9672   else
9673     whole_archive_flag_spec=''
9674   fi
9675   link_all_deplibs=yes
9676   allow_undefined_flag="$_lt_dar_allow_undefined"
9677   case $cc_basename in
9678      ifort*) _lt_dar_can_shared=yes ;;
9679      *) _lt_dar_can_shared=$GCC ;;
9680   esac
9681   if test "$_lt_dar_can_shared" = "yes"; then
9682     output_verbose_link_cmd=func_echo_all
9683     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9684     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9685     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}"
9686     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}"
9687
9688   else
9689   ld_shlibs=no
9690   fi
9691
9692       ;;
9693
9694     dgux*)
9695       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9696       hardcode_libdir_flag_spec='-L$libdir'
9697       hardcode_shlibpath_var=no
9698       ;;
9699
9700     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9701     # support.  Future versions do this automatically, but an explicit c++rt0.o
9702     # does not break anything, and helps significantly (at the cost of a little
9703     # extra space).
9704     freebsd2.2*)
9705       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9706       hardcode_libdir_flag_spec='-R$libdir'
9707       hardcode_direct=yes
9708       hardcode_shlibpath_var=no
9709       ;;
9710
9711     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9712     freebsd2.*)
9713       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9714       hardcode_direct=yes
9715       hardcode_minus_L=yes
9716       hardcode_shlibpath_var=no
9717       ;;
9718
9719     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9720     freebsd* | dragonfly*)
9721       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9722       hardcode_libdir_flag_spec='-R$libdir'
9723       hardcode_direct=yes
9724       hardcode_shlibpath_var=no
9725       ;;
9726
9727     hpux9*)
9728       if test "$GCC" = yes; then
9729         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'
9730       else
9731         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'
9732       fi
9733       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9734       hardcode_libdir_separator=:
9735       hardcode_direct=yes
9736
9737       # hardcode_minus_L: Not really in the search PATH,
9738       # but as the default location of the library.
9739       hardcode_minus_L=yes
9740       export_dynamic_flag_spec='${wl}-E'
9741       ;;
9742
9743     hpux10*)
9744       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9745         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9746       else
9747         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9748       fi
9749       if test "$with_gnu_ld" = no; then
9750         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9751         hardcode_libdir_flag_spec_ld='+b $libdir'
9752         hardcode_libdir_separator=:
9753         hardcode_direct=yes
9754         hardcode_direct_absolute=yes
9755         export_dynamic_flag_spec='${wl}-E'
9756         # hardcode_minus_L: Not really in the search PATH,
9757         # but as the default location of the library.
9758         hardcode_minus_L=yes
9759       fi
9760       ;;
9761
9762     hpux11*)
9763       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9764         case $host_cpu in
9765         hppa*64*)
9766           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9767           ;;
9768         ia64*)
9769           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9770           ;;
9771         *)
9772           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9773           ;;
9774         esac
9775       else
9776         case $host_cpu in
9777         hppa*64*)
9778           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9779           ;;
9780         ia64*)
9781           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9782           ;;
9783         *)
9784
9785           # Older versions of the 11.00 compiler do not understand -b yet
9786           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9787           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9788 $as_echo_n "checking if $CC understands -b... " >&6; }
9789 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9790   $as_echo_n "(cached) " >&6
9791 else
9792   lt_cv_prog_compiler__b=no
9793    save_LDFLAGS="$LDFLAGS"
9794    LDFLAGS="$LDFLAGS -b"
9795    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9796    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9797      # The linker can only warn and ignore the option if not recognized
9798      # So say no if there are warnings
9799      if test -s conftest.err; then
9800        # Append any errors to the config.log.
9801        cat conftest.err 1>&5
9802        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9803        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9804        if diff conftest.exp conftest.er2 >/dev/null; then
9805          lt_cv_prog_compiler__b=yes
9806        fi
9807      else
9808        lt_cv_prog_compiler__b=yes
9809      fi
9810    fi
9811    $RM -r conftest*
9812    LDFLAGS="$save_LDFLAGS"
9813
9814 fi
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9816 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9817
9818 if test x"$lt_cv_prog_compiler__b" = xyes; then
9819     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9820 else
9821     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9822 fi
9823
9824           ;;
9825         esac
9826       fi
9827       if test "$with_gnu_ld" = no; then
9828         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9829         hardcode_libdir_separator=:
9830
9831         case $host_cpu in
9832         hppa*64*|ia64*)
9833           hardcode_direct=no
9834           hardcode_shlibpath_var=no
9835           ;;
9836         *)
9837           hardcode_direct=yes
9838           hardcode_direct_absolute=yes
9839           export_dynamic_flag_spec='${wl}-E'
9840
9841           # hardcode_minus_L: Not really in the search PATH,
9842           # but as the default location of the library.
9843           hardcode_minus_L=yes
9844           ;;
9845         esac
9846       fi
9847       ;;
9848
9849     irix5* | irix6* | nonstopux*)
9850       if test "$GCC" = yes; then
9851         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'
9852         # Try to use the -exported_symbol ld option, if it does not
9853         # work, assume that -exports_file does not work either and
9854         # implicitly export all symbols.
9855         save_LDFLAGS="$LDFLAGS"
9856         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9857         if test x$gcc_no_link = xyes; then
9858   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9859 fi
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h.  */
9862 int foo(void) {}
9863 _ACEOF
9864 if ac_fn_c_try_link "$LINENO"; then :
9865   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'
9866
9867 fi
9868 rm -f core conftest.err conftest.$ac_objext \
9869     conftest$ac_exeext conftest.$ac_ext
9870         LDFLAGS="$save_LDFLAGS"
9871       else
9872         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'
9873         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'
9874       fi
9875       archive_cmds_need_lc='no'
9876       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9877       hardcode_libdir_separator=:
9878       inherit_rpath=yes
9879       link_all_deplibs=yes
9880       ;;
9881
9882     netbsd*)
9883       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9884         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9885       else
9886         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9887       fi
9888       hardcode_libdir_flag_spec='-R$libdir'
9889       hardcode_direct=yes
9890       hardcode_shlibpath_var=no
9891       ;;
9892
9893     newsos6)
9894       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9895       hardcode_direct=yes
9896       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9897       hardcode_libdir_separator=:
9898       hardcode_shlibpath_var=no
9899       ;;
9900
9901     *nto* | *qnx*)
9902       ;;
9903
9904     openbsd*)
9905       if test -f /usr/libexec/ld.so; then
9906         hardcode_direct=yes
9907         hardcode_shlibpath_var=no
9908         hardcode_direct_absolute=yes
9909         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9910           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9911           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9912           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9913           export_dynamic_flag_spec='${wl}-E'
9914         else
9915           case $host_os in
9916            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9917              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9918              hardcode_libdir_flag_spec='-R$libdir'
9919              ;;
9920            *)
9921              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9922              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9923              ;;
9924           esac
9925         fi
9926       else
9927         ld_shlibs=no
9928       fi
9929       ;;
9930
9931     os2*)
9932       hardcode_libdir_flag_spec='-L$libdir'
9933       hardcode_minus_L=yes
9934       allow_undefined_flag=unsupported
9935       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'
9936       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9937       ;;
9938
9939     osf3*)
9940       if test "$GCC" = yes; then
9941         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9942         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'
9943       else
9944         allow_undefined_flag=' -expect_unresolved \*'
9945         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'
9946       fi
9947       archive_cmds_need_lc='no'
9948       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9949       hardcode_libdir_separator=:
9950       ;;
9951
9952     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9953       if test "$GCC" = yes; then
9954         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9955         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'
9956         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9957       else
9958         allow_undefined_flag=' -expect_unresolved \*'
9959         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'
9960         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~
9961         $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'
9962
9963         # Both c and cxx compiler support -rpath directly
9964         hardcode_libdir_flag_spec='-rpath $libdir'
9965       fi
9966       archive_cmds_need_lc='no'
9967       hardcode_libdir_separator=:
9968       ;;
9969
9970     solaris*)
9971       no_undefined_flag=' -z defs'
9972       if test "$GCC" = yes; then
9973         wlarc='${wl}'
9974         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9975         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9977       else
9978         case `$CC -V 2>&1` in
9979         *"Compilers 5.0"*)
9980           wlarc=''
9981           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9982           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9983           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9984           ;;
9985         *)
9986           wlarc='${wl}'
9987           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9988           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9989           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9990           ;;
9991         esac
9992       fi
9993       hardcode_libdir_flag_spec='-R$libdir'
9994       hardcode_shlibpath_var=no
9995       case $host_os in
9996       solaris2.[0-5] | solaris2.[0-5].*) ;;
9997       *)
9998         # The compiler driver will combine and reorder linker options,
9999         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10000         # but is careful enough not to reorder.
10001         # Supported since Solaris 2.6 (maybe 2.5.1?)
10002         if test "$GCC" = yes; then
10003           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10004         else
10005           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10006         fi
10007         ;;
10008       esac
10009       link_all_deplibs=yes
10010       ;;
10011
10012     sunos4*)
10013       if test "x$host_vendor" = xsequent; then
10014         # Use $CC to link under sequent, because it throws in some extra .o
10015         # files that make .init and .fini sections work.
10016         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10017       else
10018         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10019       fi
10020       hardcode_libdir_flag_spec='-L$libdir'
10021       hardcode_direct=yes
10022       hardcode_minus_L=yes
10023       hardcode_shlibpath_var=no
10024       ;;
10025
10026     sysv4)
10027       case $host_vendor in
10028         sni)
10029           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10030           hardcode_direct=yes # is this really true???
10031         ;;
10032         siemens)
10033           ## LD is ld it makes a PLAMLIB
10034           ## CC just makes a GrossModule.
10035           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10036           reload_cmds='$CC -r -o $output$reload_objs'
10037           hardcode_direct=no
10038         ;;
10039         motorola)
10040           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10042         ;;
10043       esac
10044       runpath_var='LD_RUN_PATH'
10045       hardcode_shlibpath_var=no
10046       ;;
10047
10048     sysv4.3*)
10049       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050       hardcode_shlibpath_var=no
10051       export_dynamic_flag_spec='-Bexport'
10052       ;;
10053
10054     sysv4*MP*)
10055       if test -d /usr/nec; then
10056         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10057         hardcode_shlibpath_var=no
10058         runpath_var=LD_RUN_PATH
10059         hardcode_runpath_var=yes
10060         ld_shlibs=yes
10061       fi
10062       ;;
10063
10064     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10065       no_undefined_flag='${wl}-z,text'
10066       archive_cmds_need_lc=no
10067       hardcode_shlibpath_var=no
10068       runpath_var='LD_RUN_PATH'
10069
10070       if test "$GCC" = yes; then
10071         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10073       else
10074         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076       fi
10077       ;;
10078
10079     sysv5* | sco3.2v5* | sco5v6*)
10080       # Note: We can NOT use -z defs as we might desire, because we do not
10081       # link with -lc, and that would cause any symbols used from libc to
10082       # always be unresolved, which means just about no library would
10083       # ever link correctly.  If we're not using GNU ld we use -z text
10084       # though, which does catch some bad symbols but isn't as heavy-handed
10085       # as -z defs.
10086       no_undefined_flag='${wl}-z,text'
10087       allow_undefined_flag='${wl}-z,nodefs'
10088       archive_cmds_need_lc=no
10089       hardcode_shlibpath_var=no
10090       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10091       hardcode_libdir_separator=':'
10092       link_all_deplibs=yes
10093       export_dynamic_flag_spec='${wl}-Bexport'
10094       runpath_var='LD_RUN_PATH'
10095
10096       if test "$GCC" = yes; then
10097         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099       else
10100         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10101         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10102       fi
10103       ;;
10104
10105     uts4*)
10106       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10107       hardcode_libdir_flag_spec='-L$libdir'
10108       hardcode_shlibpath_var=no
10109       ;;
10110
10111     *)
10112       ld_shlibs=no
10113       ;;
10114     esac
10115
10116     if test x$host_vendor = xsni; then
10117       case $host in
10118       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10119         export_dynamic_flag_spec='${wl}-Blargedynsym'
10120         ;;
10121       esac
10122     fi
10123   fi
10124
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10126 $as_echo "$ld_shlibs" >&6; }
10127 test "$ld_shlibs" = no && can_build_shared=no
10128
10129 with_gnu_ld=$with_gnu_ld
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145 #
10146 # Do we need to explicitly link libc?
10147 #
10148 case "x$archive_cmds_need_lc" in
10149 x|xyes)
10150   # Assume -lc should be added
10151   archive_cmds_need_lc=yes
10152
10153   if test "$enable_shared" = yes && test "$GCC" = yes; then
10154     case $archive_cmds in
10155     *'~'*)
10156       # FIXME: we may have to deal with multi-command sequences.
10157       ;;
10158     '$CC '*)
10159       # Test whether the compiler implicitly links with -lc since on some
10160       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10161       # to ld, don't add -lc before -lgcc.
10162       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10163 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10164 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10165   $as_echo_n "(cached) " >&6
10166 else
10167   $RM conftest*
10168         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10169
10170         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10171   (eval $ac_compile) 2>&5
10172   ac_status=$?
10173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10174   test $ac_status = 0; } 2>conftest.err; then
10175           soname=conftest
10176           lib=conftest
10177           libobjs=conftest.$ac_objext
10178           deplibs=
10179           wl=$lt_prog_compiler_wl
10180           pic_flag=$lt_prog_compiler_pic
10181           compiler_flags=-v
10182           linker_flags=-v
10183           verstring=
10184           output_objdir=.
10185           libname=conftest
10186           lt_save_allow_undefined_flag=$allow_undefined_flag
10187           allow_undefined_flag=
10188           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10189   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10190   ac_status=$?
10191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192   test $ac_status = 0; }
10193           then
10194             lt_cv_archive_cmds_need_lc=no
10195           else
10196             lt_cv_archive_cmds_need_lc=yes
10197           fi
10198           allow_undefined_flag=$lt_save_allow_undefined_flag
10199         else
10200           cat conftest.err 1>&5
10201         fi
10202         $RM conftest*
10203
10204 fi
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10206 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10207       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10208       ;;
10209     esac
10210   fi
10211   ;;
10212 esac
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10371 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10372
10373 if test "$GCC" = yes; then
10374   case $host_os in
10375     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10376     *) lt_awk_arg="/^libraries:/" ;;
10377   esac
10378   case $host_os in
10379     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10380     *) lt_sed_strip_eq="s,=/,/,g" ;;
10381   esac
10382   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10383   case $lt_search_path_spec in
10384   *\;*)
10385     # if the path contains ";" then we assume it to be the separator
10386     # otherwise default to the standard path separator (i.e. ":") - it is
10387     # assumed that no part of a normal pathname contains ";" but that should
10388     # okay in the real world where ";" in dirpaths is itself problematic.
10389     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10390     ;;
10391   *)
10392     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10393     ;;
10394   esac
10395   # Ok, now we have the path, separated by spaces, we can step through it
10396   # and add multilib dir if necessary.
10397   lt_tmp_lt_search_path_spec=
10398   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10399   for lt_sys_path in $lt_search_path_spec; do
10400     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10401       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10402     else
10403       test -d "$lt_sys_path" && \
10404         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10405     fi
10406   done
10407   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10408 BEGIN {RS=" "; FS="/|\n";} {
10409   lt_foo="";
10410   lt_count=0;
10411   for (lt_i = NF; lt_i > 0; lt_i--) {
10412     if ($lt_i != "" && $lt_i != ".") {
10413       if ($lt_i == "..") {
10414         lt_count++;
10415       } else {
10416         if (lt_count == 0) {
10417           lt_foo="/" $lt_i lt_foo;
10418         } else {
10419           lt_count--;
10420         }
10421       }
10422     }
10423   }
10424   if (lt_foo != "") { lt_freq[lt_foo]++; }
10425   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10426 }'`
10427   # AWK program above erroneously prepends '/' to C:/dos/paths
10428   # for these hosts.
10429   case $host_os in
10430     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10431       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10432   esac
10433   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10434 else
10435   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10436 fi
10437 library_names_spec=
10438 libname_spec='lib$name'
10439 soname_spec=
10440 shrext_cmds=".so"
10441 postinstall_cmds=
10442 postuninstall_cmds=
10443 finish_cmds=
10444 finish_eval=
10445 shlibpath_var=
10446 shlibpath_overrides_runpath=unknown
10447 version_type=none
10448 dynamic_linker="$host_os ld.so"
10449 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10450 need_lib_prefix=unknown
10451 hardcode_into_libs=no
10452
10453 # when you set need_version to no, make sure it does not cause -set_version
10454 # flags to be left without arguments
10455 need_version=unknown
10456
10457 case $host_os in
10458 aix3*)
10459   version_type=linux
10460   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10461   shlibpath_var=LIBPATH
10462
10463   # AIX 3 has no versioning support, so we append a major version to the name.
10464   soname_spec='${libname}${release}${shared_ext}$major'
10465   ;;
10466
10467 aix[4-9]*)
10468   version_type=linux
10469   need_lib_prefix=no
10470   need_version=no
10471   hardcode_into_libs=yes
10472   if test "$host_cpu" = ia64; then
10473     # AIX 5 supports IA64
10474     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10475     shlibpath_var=LD_LIBRARY_PATH
10476   else
10477     # With GCC up to 2.95.x, collect2 would create an import file
10478     # for dependence libraries.  The import file would start with
10479     # the line `#! .'.  This would cause the generated library to
10480     # depend on `.', always an invalid library.  This was fixed in
10481     # development snapshots of GCC prior to 3.0.
10482     case $host_os in
10483       aix4 | aix4.[01] | aix4.[01].*)
10484       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10485            echo ' yes '
10486            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10487         :
10488       else
10489         can_build_shared=no
10490       fi
10491       ;;
10492     esac
10493     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10494     # soname into executable. Probably we can add versioning support to
10495     # collect2, so additional links can be useful in future.
10496     if test "$aix_use_runtimelinking" = yes; then
10497       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10498       # instead of lib<name>.a to let people know that these are not
10499       # typical AIX shared libraries.
10500       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10501     else
10502       # We preserve .a as extension for shared libraries through AIX4.2
10503       # and later when we are not doing run time linking.
10504       library_names_spec='${libname}${release}.a $libname.a'
10505       soname_spec='${libname}${release}${shared_ext}$major'
10506     fi
10507     shlibpath_var=LIBPATH
10508   fi
10509   ;;
10510
10511 amigaos*)
10512   case $host_cpu in
10513   powerpc)
10514     # Since July 2007 AmigaOS4 officially supports .so libraries.
10515     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10516     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10517     ;;
10518   m68k)
10519     library_names_spec='$libname.ixlibrary $libname.a'
10520     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10521     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'
10522     ;;
10523   esac
10524   ;;
10525
10526 beos*)
10527   library_names_spec='${libname}${shared_ext}'
10528   dynamic_linker="$host_os ld.so"
10529   shlibpath_var=LIBRARY_PATH
10530   ;;
10531
10532 bsdi[45]*)
10533   version_type=linux
10534   need_version=no
10535   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536   soname_spec='${libname}${release}${shared_ext}$major'
10537   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10538   shlibpath_var=LD_LIBRARY_PATH
10539   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10540   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10541   # the default ld.so.conf also contains /usr/contrib/lib and
10542   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10543   # libtool to hard-code these into programs
10544   ;;
10545
10546 cygwin* | mingw* | pw32* | cegcc*)
10547   version_type=windows
10548   shrext_cmds=".dll"
10549   need_version=no
10550   need_lib_prefix=no
10551
10552   case $GCC,$host_os in
10553   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10554     library_names_spec='$libname.dll.a'
10555     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10556     postinstall_cmds='base_file=`basename \${file}`~
10557       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10558       dldir=$destdir/`dirname \$dlpath`~
10559       test -d \$dldir || mkdir -p \$dldir~
10560       $install_prog $dir/$dlname \$dldir/$dlname~
10561       chmod a+x \$dldir/$dlname~
10562       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10563         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10564       fi'
10565     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10566       dlpath=$dir/\$dldll~
10567        $RM \$dlpath'
10568     shlibpath_overrides_runpath=yes
10569
10570     case $host_os in
10571     cygwin*)
10572       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10573       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10574
10575       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10576       ;;
10577     mingw* | cegcc*)
10578       # MinGW DLLs use traditional 'lib' prefix
10579       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10580       ;;
10581     pw32*)
10582       # pw32 DLLs use 'pw' prefix rather than 'lib'
10583       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10584       ;;
10585     esac
10586     ;;
10587
10588   *)
10589     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10590     ;;
10591   esac
10592   dynamic_linker='Win32 ld.exe'
10593   # FIXME: first we should search . and the directory the executable is in
10594   shlibpath_var=PATH
10595   ;;
10596
10597 darwin* | rhapsody*)
10598   dynamic_linker="$host_os dyld"
10599   version_type=darwin
10600   need_lib_prefix=no
10601   need_version=no
10602   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10603   soname_spec='${libname}${release}${major}$shared_ext'
10604   shlibpath_overrides_runpath=yes
10605   shlibpath_var=DYLD_LIBRARY_PATH
10606   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10607
10608   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10609   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10610   ;;
10611
10612 dgux*)
10613   version_type=linux
10614   need_lib_prefix=no
10615   need_version=no
10616   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10617   soname_spec='${libname}${release}${shared_ext}$major'
10618   shlibpath_var=LD_LIBRARY_PATH
10619   ;;
10620
10621 freebsd* | dragonfly*)
10622   # DragonFly does not have aout.  When/if they implement a new
10623   # versioning mechanism, adjust this.
10624   if test -x /usr/bin/objformat; then
10625     objformat=`/usr/bin/objformat`
10626   else
10627     case $host_os in
10628     freebsd[23].*) objformat=aout ;;
10629     *) objformat=elf ;;
10630     esac
10631   fi
10632   version_type=freebsd-$objformat
10633   case $version_type in
10634     freebsd-elf*)
10635       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10636       need_version=no
10637       need_lib_prefix=no
10638       ;;
10639     freebsd-*)
10640       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10641       need_version=yes
10642       ;;
10643   esac
10644   shlibpath_var=LD_LIBRARY_PATH
10645   case $host_os in
10646   freebsd2.*)
10647     shlibpath_overrides_runpath=yes
10648     ;;
10649   freebsd3.[01]* | freebsdelf3.[01]*)
10650     shlibpath_overrides_runpath=yes
10651     hardcode_into_libs=yes
10652     ;;
10653   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10654   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10655     shlibpath_overrides_runpath=no
10656     hardcode_into_libs=yes
10657     ;;
10658   *) # from 4.6 on, and DragonFly
10659     shlibpath_overrides_runpath=yes
10660     hardcode_into_libs=yes
10661     ;;
10662   esac
10663   ;;
10664
10665 gnu*)
10666   version_type=linux
10667   need_lib_prefix=no
10668   need_version=no
10669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10670   soname_spec='${libname}${release}${shared_ext}$major'
10671   shlibpath_var=LD_LIBRARY_PATH
10672   hardcode_into_libs=yes
10673   ;;
10674
10675 haiku*)
10676   version_type=linux
10677   need_lib_prefix=no
10678   need_version=no
10679   dynamic_linker="$host_os runtime_loader"
10680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10681   soname_spec='${libname}${release}${shared_ext}$major'
10682   shlibpath_var=LIBRARY_PATH
10683   shlibpath_overrides_runpath=yes
10684   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10685   hardcode_into_libs=yes
10686   ;;
10687
10688 hpux9* | hpux10* | hpux11*)
10689   # Give a soname corresponding to the major version so that dld.sl refuses to
10690   # link against other versions.
10691   version_type=sunos
10692   need_lib_prefix=no
10693   need_version=no
10694   case $host_cpu in
10695   ia64*)
10696     shrext_cmds='.so'
10697     hardcode_into_libs=yes
10698     dynamic_linker="$host_os dld.so"
10699     shlibpath_var=LD_LIBRARY_PATH
10700     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10701     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10702     soname_spec='${libname}${release}${shared_ext}$major'
10703     if test "X$HPUX_IA64_MODE" = X32; then
10704       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10705     else
10706       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10707     fi
10708     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10709     ;;
10710   hppa*64*)
10711     shrext_cmds='.sl'
10712     hardcode_into_libs=yes
10713     dynamic_linker="$host_os dld.sl"
10714     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10715     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10716     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10717     soname_spec='${libname}${release}${shared_ext}$major'
10718     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10719     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10720     ;;
10721   *)
10722     shrext_cmds='.sl'
10723     dynamic_linker="$host_os dld.sl"
10724     shlibpath_var=SHLIB_PATH
10725     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10726     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10727     soname_spec='${libname}${release}${shared_ext}$major'
10728     ;;
10729   esac
10730   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10731   postinstall_cmds='chmod 555 $lib'
10732   # or fails outright, so override atomically:
10733   install_override_mode=555
10734   ;;
10735
10736 interix[3-9]*)
10737   version_type=linux
10738   need_lib_prefix=no
10739   need_version=no
10740   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10741   soname_spec='${libname}${release}${shared_ext}$major'
10742   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10743   shlibpath_var=LD_LIBRARY_PATH
10744   shlibpath_overrides_runpath=no
10745   hardcode_into_libs=yes
10746   ;;
10747
10748 irix5* | irix6* | nonstopux*)
10749   case $host_os in
10750     nonstopux*) version_type=nonstopux ;;
10751     *)
10752         if test "$lt_cv_prog_gnu_ld" = yes; then
10753                 version_type=linux
10754         else
10755                 version_type=irix
10756         fi ;;
10757   esac
10758   need_lib_prefix=no
10759   need_version=no
10760   soname_spec='${libname}${release}${shared_ext}$major'
10761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10762   case $host_os in
10763   irix5* | nonstopux*)
10764     libsuff= shlibsuff=
10765     ;;
10766   *)
10767     case $LD in # libtool.m4 will add one of these switches to LD
10768     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10769       libsuff= shlibsuff= libmagic=32-bit;;
10770     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10771       libsuff=32 shlibsuff=N32 libmagic=N32;;
10772     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10773       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10774     *) libsuff= shlibsuff= libmagic=never-match;;
10775     esac
10776     ;;
10777   esac
10778   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10779   shlibpath_overrides_runpath=no
10780   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10781   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10782   hardcode_into_libs=yes
10783   ;;
10784
10785 # No shared lib support for Linux oldld, aout, or coff.
10786 linux*oldld* | linux*aout* | linux*coff*)
10787   dynamic_linker=no
10788   ;;
10789
10790 # This must be Linux ELF.
10791 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10792   version_type=linux
10793   need_lib_prefix=no
10794   need_version=no
10795   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10796   soname_spec='${libname}${release}${shared_ext}$major'
10797   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10798   shlibpath_var=LD_LIBRARY_PATH
10799   shlibpath_overrides_runpath=no
10800
10801   # Some binutils ld are patched to set DT_RUNPATH
10802   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10803   $as_echo_n "(cached) " >&6
10804 else
10805   lt_cv_shlibpath_overrides_runpath=no
10806     save_LDFLAGS=$LDFLAGS
10807     save_libdir=$libdir
10808     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10809          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10810     if test x$gcc_no_link = xyes; then
10811   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10812 fi
10813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h.  */
10815
10816 int
10817 main ()
10818 {
10819
10820   ;
10821   return 0;
10822 }
10823 _ACEOF
10824 if ac_fn_c_try_link "$LINENO"; then :
10825   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10826   lt_cv_shlibpath_overrides_runpath=yes
10827 fi
10828 fi
10829 rm -f core conftest.err conftest.$ac_objext \
10830     conftest$ac_exeext conftest.$ac_ext
10831     LDFLAGS=$save_LDFLAGS
10832     libdir=$save_libdir
10833
10834 fi
10835
10836   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10837
10838   # This implies no fast_install, which is unacceptable.
10839   # Some rework will be needed to allow for fast_install
10840   # before this can be enabled.
10841   hardcode_into_libs=yes
10842
10843   # Append ld.so.conf contents to the search path
10844   if test -f /etc/ld.so.conf; then
10845     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' ' '`
10846     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10847   fi
10848
10849   # We used to test for /lib/ld.so.1 and disable shared libraries on
10850   # powerpc, because MkLinux only supported shared libraries with the
10851   # GNU dynamic linker.  Since this was broken with cross compilers,
10852   # most powerpc-linux boxes support dynamic linking these days and
10853   # people can always --disable-shared, the test was removed, and we
10854   # assume the GNU/Linux dynamic linker is in use.
10855   dynamic_linker='GNU/Linux ld.so'
10856   ;;
10857
10858 netbsd*)
10859   version_type=sunos
10860   need_lib_prefix=no
10861   need_version=no
10862   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10863     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10864     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10865     dynamic_linker='NetBSD (a.out) ld.so'
10866   else
10867     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10868     soname_spec='${libname}${release}${shared_ext}$major'
10869     dynamic_linker='NetBSD ld.elf_so'
10870   fi
10871   shlibpath_var=LD_LIBRARY_PATH
10872   shlibpath_overrides_runpath=yes
10873   hardcode_into_libs=yes
10874   ;;
10875
10876 newsos6)
10877   version_type=linux
10878   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10879   shlibpath_var=LD_LIBRARY_PATH
10880   shlibpath_overrides_runpath=yes
10881   ;;
10882
10883 *nto* | *qnx*)
10884   version_type=qnx
10885   need_lib_prefix=no
10886   need_version=no
10887   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10888   soname_spec='${libname}${release}${shared_ext}$major'
10889   shlibpath_var=LD_LIBRARY_PATH
10890   shlibpath_overrides_runpath=no
10891   hardcode_into_libs=yes
10892   dynamic_linker='ldqnx.so'
10893   ;;
10894
10895 openbsd*)
10896   version_type=sunos
10897   sys_lib_dlsearch_path_spec="/usr/lib"
10898   need_lib_prefix=no
10899   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10900   case $host_os in
10901     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10902     *)                          need_version=no  ;;
10903   esac
10904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10905   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10906   shlibpath_var=LD_LIBRARY_PATH
10907   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10908     case $host_os in
10909       openbsd2.[89] | openbsd2.[89].*)
10910         shlibpath_overrides_runpath=no
10911         ;;
10912       *)
10913         shlibpath_overrides_runpath=yes
10914         ;;
10915       esac
10916   else
10917     shlibpath_overrides_runpath=yes
10918   fi
10919   ;;
10920
10921 os2*)
10922   libname_spec='$name'
10923   shrext_cmds=".dll"
10924   need_lib_prefix=no
10925   library_names_spec='$libname${shared_ext} $libname.a'
10926   dynamic_linker='OS/2 ld.exe'
10927   shlibpath_var=LIBPATH
10928   ;;
10929
10930 osf3* | osf4* | osf5*)
10931   version_type=osf
10932   need_lib_prefix=no
10933   need_version=no
10934   soname_spec='${libname}${release}${shared_ext}$major'
10935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10936   shlibpath_var=LD_LIBRARY_PATH
10937   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10938   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10939   ;;
10940
10941 rdos*)
10942   dynamic_linker=no
10943   ;;
10944
10945 solaris*)
10946   version_type=linux
10947   need_lib_prefix=no
10948   need_version=no
10949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10950   soname_spec='${libname}${release}${shared_ext}$major'
10951   shlibpath_var=LD_LIBRARY_PATH
10952   shlibpath_overrides_runpath=yes
10953   hardcode_into_libs=yes
10954   # ldd complains unless libraries are executable
10955   postinstall_cmds='chmod +x $lib'
10956   ;;
10957
10958 sunos4*)
10959   version_type=sunos
10960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10961   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10962   shlibpath_var=LD_LIBRARY_PATH
10963   shlibpath_overrides_runpath=yes
10964   if test "$with_gnu_ld" = yes; then
10965     need_lib_prefix=no
10966   fi
10967   need_version=yes
10968   ;;
10969
10970 sysv4 | sysv4.3*)
10971   version_type=linux
10972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10973   soname_spec='${libname}${release}${shared_ext}$major'
10974   shlibpath_var=LD_LIBRARY_PATH
10975   case $host_vendor in
10976     sni)
10977       shlibpath_overrides_runpath=no
10978       need_lib_prefix=no
10979       runpath_var=LD_RUN_PATH
10980       ;;
10981     siemens)
10982       need_lib_prefix=no
10983       ;;
10984     motorola)
10985       need_lib_prefix=no
10986       need_version=no
10987       shlibpath_overrides_runpath=no
10988       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10989       ;;
10990   esac
10991   ;;
10992
10993 sysv4*MP*)
10994   if test -d /usr/nec ;then
10995     version_type=linux
10996     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10997     soname_spec='$libname${shared_ext}.$major'
10998     shlibpath_var=LD_LIBRARY_PATH
10999   fi
11000   ;;
11001
11002 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11003   version_type=freebsd-elf
11004   need_lib_prefix=no
11005   need_version=no
11006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11007   soname_spec='${libname}${release}${shared_ext}$major'
11008   shlibpath_var=LD_LIBRARY_PATH
11009   shlibpath_overrides_runpath=yes
11010   hardcode_into_libs=yes
11011   if test "$with_gnu_ld" = yes; then
11012     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11013   else
11014     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11015     case $host_os in
11016       sco3.2v5*)
11017         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11018         ;;
11019     esac
11020   fi
11021   sys_lib_dlsearch_path_spec='/usr/lib'
11022   ;;
11023
11024 tpf*)
11025   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11026   version_type=linux
11027   need_lib_prefix=no
11028   need_version=no
11029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11030   shlibpath_var=LD_LIBRARY_PATH
11031   shlibpath_overrides_runpath=no
11032   hardcode_into_libs=yes
11033   ;;
11034
11035 uts4*)
11036   version_type=linux
11037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038   soname_spec='${libname}${release}${shared_ext}$major'
11039   shlibpath_var=LD_LIBRARY_PATH
11040   ;;
11041
11042 *)
11043   dynamic_linker=no
11044   ;;
11045 esac
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11047 $as_echo "$dynamic_linker" >&6; }
11048 test "$dynamic_linker" = no && can_build_shared=no
11049
11050 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11051 if test "$GCC" = yes; then
11052   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11053 fi
11054
11055 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11056   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11057 fi
11058 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11059   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11060 fi
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11154 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11155 hardcode_action=
11156 if test -n "$hardcode_libdir_flag_spec" ||
11157    test -n "$runpath_var" ||
11158    test "X$hardcode_automatic" = "Xyes" ; then
11159
11160   # We can hardcode non-existent directories.
11161   if test "$hardcode_direct" != no &&
11162      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11163      # have to relink, otherwise we might link with an installed library
11164      # when we should be linking with a yet-to-be-installed one
11165      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11166      test "$hardcode_minus_L" != no; then
11167     # Linking always hardcodes the temporary library directory.
11168     hardcode_action=relink
11169   else
11170     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11171     hardcode_action=immediate
11172   fi
11173 else
11174   # We cannot hardcode anything, or else we can only hardcode existing
11175   # directories.
11176   hardcode_action=unsupported
11177 fi
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11179 $as_echo "$hardcode_action" >&6; }
11180
11181 if test "$hardcode_action" = relink ||
11182    test "$inherit_rpath" = yes; then
11183   # Fast installation is not supported
11184   enable_fast_install=no
11185 elif test "$shlibpath_overrides_runpath" = yes ||
11186      test "$enable_shared" = no; then
11187   # Fast installation is not necessary
11188   enable_fast_install=needless
11189 fi
11190
11191
11192
11193
11194
11195
11196   if test "x$enable_dlopen" != xyes; then
11197   enable_dlopen=unknown
11198   enable_dlopen_self=unknown
11199   enable_dlopen_self_static=unknown
11200 else
11201   lt_cv_dlopen=no
11202   lt_cv_dlopen_libs=
11203
11204   case $host_os in
11205   beos*)
11206     lt_cv_dlopen="load_add_on"
11207     lt_cv_dlopen_libs=
11208     lt_cv_dlopen_self=yes
11209     ;;
11210
11211   mingw* | pw32* | cegcc*)
11212     lt_cv_dlopen="LoadLibrary"
11213     lt_cv_dlopen_libs=
11214     ;;
11215
11216   cygwin*)
11217     lt_cv_dlopen="dlopen"
11218     lt_cv_dlopen_libs=
11219     ;;
11220
11221   darwin*)
11222   # if libdl is installed we need to link against it
11223     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11224 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11225 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11226   $as_echo_n "(cached) " >&6
11227 else
11228   ac_check_lib_save_LIBS=$LIBS
11229 LIBS="-ldl  $LIBS"
11230 if test x$gcc_no_link = xyes; then
11231   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11232 fi
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h.  */
11235
11236 /* Override any GCC internal prototype to avoid an error.
11237    Use char because int might match the return type of a GCC
11238    builtin and then its argument prototype would still apply.  */
11239 #ifdef __cplusplus
11240 extern "C"
11241 #endif
11242 char dlopen ();
11243 int
11244 main ()
11245 {
11246 return dlopen ();
11247   ;
11248   return 0;
11249 }
11250 _ACEOF
11251 if ac_fn_c_try_link "$LINENO"; then :
11252   ac_cv_lib_dl_dlopen=yes
11253 else
11254   ac_cv_lib_dl_dlopen=no
11255 fi
11256 rm -f core conftest.err conftest.$ac_objext \
11257     conftest$ac_exeext conftest.$ac_ext
11258 LIBS=$ac_check_lib_save_LIBS
11259 fi
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11261 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11262 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11263   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11264 else
11265
11266     lt_cv_dlopen="dyld"
11267     lt_cv_dlopen_libs=
11268     lt_cv_dlopen_self=yes
11269
11270 fi
11271
11272     ;;
11273
11274   *)
11275     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11276 if test "x$ac_cv_func_shl_load" = x""yes; then :
11277   lt_cv_dlopen="shl_load"
11278 else
11279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11280 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11281 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11282   $as_echo_n "(cached) " >&6
11283 else
11284   ac_check_lib_save_LIBS=$LIBS
11285 LIBS="-ldld  $LIBS"
11286 if test x$gcc_no_link = xyes; then
11287   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11288 fi
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h.  */
11291
11292 /* Override any GCC internal prototype to avoid an error.
11293    Use char because int might match the return type of a GCC
11294    builtin and then its argument prototype would still apply.  */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char shl_load ();
11299 int
11300 main ()
11301 {
11302 return shl_load ();
11303   ;
11304   return 0;
11305 }
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"; then :
11308   ac_cv_lib_dld_shl_load=yes
11309 else
11310   ac_cv_lib_dld_shl_load=no
11311 fi
11312 rm -f core conftest.err conftest.$ac_objext \
11313     conftest$ac_exeext conftest.$ac_ext
11314 LIBS=$ac_check_lib_save_LIBS
11315 fi
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11317 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11318 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11319   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11320 else
11321   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11322 if test "x$ac_cv_func_dlopen" = x""yes; then :
11323   lt_cv_dlopen="dlopen"
11324 else
11325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11326 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11327 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11328   $as_echo_n "(cached) " >&6
11329 else
11330   ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-ldl  $LIBS"
11332 if test x$gcc_no_link = xyes; then
11333   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11334 fi
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h.  */
11337
11338 /* Override any GCC internal prototype to avoid an error.
11339    Use char because int might match the return type of a GCC
11340    builtin and then its argument prototype would still apply.  */
11341 #ifdef __cplusplus
11342 extern "C"
11343 #endif
11344 char dlopen ();
11345 int
11346 main ()
11347 {
11348 return dlopen ();
11349   ;
11350   return 0;
11351 }
11352 _ACEOF
11353 if ac_fn_c_try_link "$LINENO"; then :
11354   ac_cv_lib_dl_dlopen=yes
11355 else
11356   ac_cv_lib_dl_dlopen=no
11357 fi
11358 rm -f core conftest.err conftest.$ac_objext \
11359     conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_lib_save_LIBS
11361 fi
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11363 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11364 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11365   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11366 else
11367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11368 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11369 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11370   $as_echo_n "(cached) " >&6
11371 else
11372   ac_check_lib_save_LIBS=$LIBS
11373 LIBS="-lsvld  $LIBS"
11374 if test x$gcc_no_link = xyes; then
11375   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11376 fi
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h.  */
11379
11380 /* Override any GCC internal prototype to avoid an error.
11381    Use char because int might match the return type of a GCC
11382    builtin and then its argument prototype would still apply.  */
11383 #ifdef __cplusplus
11384 extern "C"
11385 #endif
11386 char dlopen ();
11387 int
11388 main ()
11389 {
11390 return dlopen ();
11391   ;
11392   return 0;
11393 }
11394 _ACEOF
11395 if ac_fn_c_try_link "$LINENO"; then :
11396   ac_cv_lib_svld_dlopen=yes
11397 else
11398   ac_cv_lib_svld_dlopen=no
11399 fi
11400 rm -f core conftest.err conftest.$ac_objext \
11401     conftest$ac_exeext conftest.$ac_ext
11402 LIBS=$ac_check_lib_save_LIBS
11403 fi
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11405 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11406 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11407   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11408 else
11409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11410 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11411 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11412   $as_echo_n "(cached) " >&6
11413 else
11414   ac_check_lib_save_LIBS=$LIBS
11415 LIBS="-ldld  $LIBS"
11416 if test x$gcc_no_link = xyes; then
11417   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11418 fi
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h.  */
11421
11422 /* Override any GCC internal prototype to avoid an error.
11423    Use char because int might match the return type of a GCC
11424    builtin and then its argument prototype would still apply.  */
11425 #ifdef __cplusplus
11426 extern "C"
11427 #endif
11428 char dld_link ();
11429 int
11430 main ()
11431 {
11432 return dld_link ();
11433   ;
11434   return 0;
11435 }
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"; then :
11438   ac_cv_lib_dld_dld_link=yes
11439 else
11440   ac_cv_lib_dld_dld_link=no
11441 fi
11442 rm -f core conftest.err conftest.$ac_objext \
11443     conftest$ac_exeext conftest.$ac_ext
11444 LIBS=$ac_check_lib_save_LIBS
11445 fi
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11447 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11448 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11449   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11450 fi
11451
11452
11453 fi
11454
11455
11456 fi
11457
11458
11459 fi
11460
11461
11462 fi
11463
11464
11465 fi
11466
11467     ;;
11468   esac
11469
11470   if test "x$lt_cv_dlopen" != xno; then
11471     enable_dlopen=yes
11472   else
11473     enable_dlopen=no
11474   fi
11475
11476   case $lt_cv_dlopen in
11477   dlopen)
11478     save_CPPFLAGS="$CPPFLAGS"
11479     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11480
11481     save_LDFLAGS="$LDFLAGS"
11482     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11483
11484     save_LIBS="$LIBS"
11485     LIBS="$lt_cv_dlopen_libs $LIBS"
11486
11487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11488 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11489 if test "${lt_cv_dlopen_self+set}" = set; then :
11490   $as_echo_n "(cached) " >&6
11491 else
11492           if test "$cross_compiling" = yes; then :
11493   lt_cv_dlopen_self=cross
11494 else
11495   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11496   lt_status=$lt_dlunknown
11497   cat > conftest.$ac_ext <<_LT_EOF
11498 #line 11498 "configure"
11499 #include "confdefs.h"
11500
11501 #if HAVE_DLFCN_H
11502 #include <dlfcn.h>
11503 #endif
11504
11505 #include <stdio.h>
11506
11507 #ifdef RTLD_GLOBAL
11508 #  define LT_DLGLOBAL           RTLD_GLOBAL
11509 #else
11510 #  ifdef DL_GLOBAL
11511 #    define LT_DLGLOBAL         DL_GLOBAL
11512 #  else
11513 #    define LT_DLGLOBAL         0
11514 #  endif
11515 #endif
11516
11517 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11518    find out it does not work in some platform. */
11519 #ifndef LT_DLLAZY_OR_NOW
11520 #  ifdef RTLD_LAZY
11521 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11522 #  else
11523 #    ifdef DL_LAZY
11524 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11525 #    else
11526 #      ifdef RTLD_NOW
11527 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11528 #      else
11529 #        ifdef DL_NOW
11530 #          define LT_DLLAZY_OR_NOW      DL_NOW
11531 #        else
11532 #          define LT_DLLAZY_OR_NOW      0
11533 #        endif
11534 #      endif
11535 #    endif
11536 #  endif
11537 #endif
11538
11539 /* When -fvisbility=hidden is used, assume the code has been annotated
11540    correspondingly for the symbols needed.  */
11541 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11542 void fnord () __attribute__((visibility("default")));
11543 #endif
11544
11545 void fnord () { int i=42; }
11546 int main ()
11547 {
11548   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11549   int status = $lt_dlunknown;
11550
11551   if (self)
11552     {
11553       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11554       else
11555         {
11556           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11557           else puts (dlerror ());
11558         }
11559       /* dlclose (self); */
11560     }
11561   else
11562     puts (dlerror ());
11563
11564   return status;
11565 }
11566 _LT_EOF
11567   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11568   (eval $ac_link) 2>&5
11569   ac_status=$?
11570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11571   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11572     (./conftest; exit; ) >&5 2>/dev/null
11573     lt_status=$?
11574     case x$lt_status in
11575       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11576       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11577       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11578     esac
11579   else :
11580     # compilation failed
11581     lt_cv_dlopen_self=no
11582   fi
11583 fi
11584 rm -fr conftest*
11585
11586
11587 fi
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11589 $as_echo "$lt_cv_dlopen_self" >&6; }
11590
11591     if test "x$lt_cv_dlopen_self" = xyes; then
11592       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11593       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11594 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11595 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11596   $as_echo_n "(cached) " >&6
11597 else
11598           if test "$cross_compiling" = yes; then :
11599   lt_cv_dlopen_self_static=cross
11600 else
11601   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11602   lt_status=$lt_dlunknown
11603   cat > conftest.$ac_ext <<_LT_EOF
11604 #line 11604 "configure"
11605 #include "confdefs.h"
11606
11607 #if HAVE_DLFCN_H
11608 #include <dlfcn.h>
11609 #endif
11610
11611 #include <stdio.h>
11612
11613 #ifdef RTLD_GLOBAL
11614 #  define LT_DLGLOBAL           RTLD_GLOBAL
11615 #else
11616 #  ifdef DL_GLOBAL
11617 #    define LT_DLGLOBAL         DL_GLOBAL
11618 #  else
11619 #    define LT_DLGLOBAL         0
11620 #  endif
11621 #endif
11622
11623 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11624    find out it does not work in some platform. */
11625 #ifndef LT_DLLAZY_OR_NOW
11626 #  ifdef RTLD_LAZY
11627 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11628 #  else
11629 #    ifdef DL_LAZY
11630 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11631 #    else
11632 #      ifdef RTLD_NOW
11633 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11634 #      else
11635 #        ifdef DL_NOW
11636 #          define LT_DLLAZY_OR_NOW      DL_NOW
11637 #        else
11638 #          define LT_DLLAZY_OR_NOW      0
11639 #        endif
11640 #      endif
11641 #    endif
11642 #  endif
11643 #endif
11644
11645 /* When -fvisbility=hidden is used, assume the code has been annotated
11646    correspondingly for the symbols needed.  */
11647 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11648 void fnord () __attribute__((visibility("default")));
11649 #endif
11650
11651 void fnord () { int i=42; }
11652 int main ()
11653 {
11654   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11655   int status = $lt_dlunknown;
11656
11657   if (self)
11658     {
11659       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11660       else
11661         {
11662           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11663           else puts (dlerror ());
11664         }
11665       /* dlclose (self); */
11666     }
11667   else
11668     puts (dlerror ());
11669
11670   return status;
11671 }
11672 _LT_EOF
11673   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11674   (eval $ac_link) 2>&5
11675   ac_status=$?
11676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11677   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11678     (./conftest; exit; ) >&5 2>/dev/null
11679     lt_status=$?
11680     case x$lt_status in
11681       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11682       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11683       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11684     esac
11685   else :
11686     # compilation failed
11687     lt_cv_dlopen_self_static=no
11688   fi
11689 fi
11690 rm -fr conftest*
11691
11692
11693 fi
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11695 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11696     fi
11697
11698     CPPFLAGS="$save_CPPFLAGS"
11699     LDFLAGS="$save_LDFLAGS"
11700     LIBS="$save_LIBS"
11701     ;;
11702   esac
11703
11704   case $lt_cv_dlopen_self in
11705   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11706   *) enable_dlopen_self=unknown ;;
11707   esac
11708
11709   case $lt_cv_dlopen_self_static in
11710   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11711   *) enable_dlopen_self_static=unknown ;;
11712   esac
11713 fi
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731 striplib=
11732 old_striplib=
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11734 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11735 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11736   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11737   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11739 $as_echo "yes" >&6; }
11740 else
11741 # FIXME - insert some real tests, host_os isn't really good enough
11742   case $host_os in
11743   darwin*)
11744     if test -n "$STRIP" ; then
11745       striplib="$STRIP -x"
11746       old_striplib="$STRIP -S"
11747       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11748 $as_echo "yes" >&6; }
11749     else
11750       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 $as_echo "no" >&6; }
11752     fi
11753     ;;
11754   *)
11755     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11756 $as_echo "no" >&6; }
11757     ;;
11758   esac
11759 fi
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772   # Report which library types will actually be built
11773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11774 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11776 $as_echo "$can_build_shared" >&6; }
11777
11778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11779 $as_echo_n "checking whether to build shared libraries... " >&6; }
11780   test "$can_build_shared" = "no" && enable_shared=no
11781
11782   # On AIX, shared libraries and static libraries use the same namespace, and
11783   # are all built from PIC.
11784   case $host_os in
11785   aix3*)
11786     test "$enable_shared" = yes && enable_static=no
11787     if test -n "$RANLIB"; then
11788       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11789       postinstall_cmds='$RANLIB $lib'
11790     fi
11791     ;;
11792
11793   aix[4-9]*)
11794     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11795       test "$enable_shared" = yes && enable_static=no
11796     fi
11797     ;;
11798   esac
11799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11800 $as_echo "$enable_shared" >&6; }
11801
11802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11803 $as_echo_n "checking whether to build static libraries... " >&6; }
11804   # Make sure either enable_shared or enable_static is yes.
11805   test "$enable_shared" = yes || enable_static=yes
11806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11807 $as_echo "$enable_static" >&6; }
11808
11809
11810
11811
11812 fi
11813 ac_ext=c
11814 ac_cpp='$CPP $CPPFLAGS'
11815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11818
11819 CC="$lt_save_CC"
11820
11821       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11822     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11823     (test "X$CXX" != "Xg++"))) ; then
11824   ac_ext=cpp
11825 ac_cpp='$CXXCPP $CPPFLAGS'
11826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11830 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11831 if test -z "$CXXCPP"; then
11832   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11833   $as_echo_n "(cached) " >&6
11834 else
11835       # Double quotes because CXXCPP needs to be expanded
11836     for CXXCPP in "$CXX -E" "/lib/cpp"
11837     do
11838       ac_preproc_ok=false
11839 for ac_cxx_preproc_warn_flag in '' yes
11840 do
11841   # Use a header file that comes with gcc, so configuring glibc
11842   # with a fresh cross-compiler works.
11843   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11844   # <limits.h> exists even on freestanding compilers.
11845   # On the NeXT, cc -E runs the code through the compiler's parser,
11846   # not just through cpp. "Syntax error" is here to catch this case.
11847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h.  */
11849 #ifdef __STDC__
11850 # include <limits.h>
11851 #else
11852 # include <assert.h>
11853 #endif
11854                      Syntax error
11855 _ACEOF
11856 if ac_fn_cxx_try_cpp "$LINENO"; then :
11857
11858 else
11859   # Broken: fails on valid input.
11860 continue
11861 fi
11862 rm -f conftest.err conftest.$ac_ext
11863
11864   # OK, works on sane cases.  Now check whether nonexistent headers
11865   # can be detected and how.
11866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h.  */
11868 #include <ac_nonexistent.h>
11869 _ACEOF
11870 if ac_fn_cxx_try_cpp "$LINENO"; then :
11871   # Broken: success on invalid input.
11872 continue
11873 else
11874   # Passes both tests.
11875 ac_preproc_ok=:
11876 break
11877 fi
11878 rm -f conftest.err conftest.$ac_ext
11879
11880 done
11881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11882 rm -f conftest.err conftest.$ac_ext
11883 if $ac_preproc_ok; then :
11884   break
11885 fi
11886
11887     done
11888     ac_cv_prog_CXXCPP=$CXXCPP
11889
11890 fi
11891   CXXCPP=$ac_cv_prog_CXXCPP
11892 else
11893   ac_cv_prog_CXXCPP=$CXXCPP
11894 fi
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11896 $as_echo "$CXXCPP" >&6; }
11897 ac_preproc_ok=false
11898 for ac_cxx_preproc_warn_flag in '' yes
11899 do
11900   # Use a header file that comes with gcc, so configuring glibc
11901   # with a fresh cross-compiler works.
11902   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11903   # <limits.h> exists even on freestanding compilers.
11904   # On the NeXT, cc -E runs the code through the compiler's parser,
11905   # not just through cpp. "Syntax error" is here to catch this case.
11906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h.  */
11908 #ifdef __STDC__
11909 # include <limits.h>
11910 #else
11911 # include <assert.h>
11912 #endif
11913                      Syntax error
11914 _ACEOF
11915 if ac_fn_cxx_try_cpp "$LINENO"; then :
11916
11917 else
11918   # Broken: fails on valid input.
11919 continue
11920 fi
11921 rm -f conftest.err conftest.$ac_ext
11922
11923   # OK, works on sane cases.  Now check whether nonexistent headers
11924   # can be detected and how.
11925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h.  */
11927 #include <ac_nonexistent.h>
11928 _ACEOF
11929 if ac_fn_cxx_try_cpp "$LINENO"; then :
11930   # Broken: success on invalid input.
11931 continue
11932 else
11933   # Passes both tests.
11934 ac_preproc_ok=:
11935 break
11936 fi
11937 rm -f conftest.err conftest.$ac_ext
11938
11939 done
11940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11941 rm -f conftest.err conftest.$ac_ext
11942 if $ac_preproc_ok; then :
11943
11944 else
11945   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11947 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11948 See \`config.log' for more details." "$LINENO" 5; }
11949 fi
11950
11951 ac_ext=c
11952 ac_cpp='$CPP $CPPFLAGS'
11953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11956
11957 else
11958   _lt_caught_CXX_error=yes
11959 fi
11960
11961 ac_ext=cpp
11962 ac_cpp='$CXXCPP $CPPFLAGS'
11963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11966
11967 archive_cmds_need_lc_CXX=no
11968 allow_undefined_flag_CXX=
11969 always_export_symbols_CXX=no
11970 archive_expsym_cmds_CXX=
11971 compiler_needs_object_CXX=no
11972 export_dynamic_flag_spec_CXX=
11973 hardcode_direct_CXX=no
11974 hardcode_direct_absolute_CXX=no
11975 hardcode_libdir_flag_spec_CXX=
11976 hardcode_libdir_flag_spec_ld_CXX=
11977 hardcode_libdir_separator_CXX=
11978 hardcode_minus_L_CXX=no
11979 hardcode_shlibpath_var_CXX=unsupported
11980 hardcode_automatic_CXX=no
11981 inherit_rpath_CXX=no
11982 module_cmds_CXX=
11983 module_expsym_cmds_CXX=
11984 link_all_deplibs_CXX=unknown
11985 old_archive_cmds_CXX=$old_archive_cmds
11986 reload_flag_CXX=$reload_flag
11987 reload_cmds_CXX=$reload_cmds
11988 no_undefined_flag_CXX=
11989 whole_archive_flag_spec_CXX=
11990 enable_shared_with_static_runtimes_CXX=no
11991
11992 # Source file extension for C++ test sources.
11993 ac_ext=cpp
11994
11995 # Object file extension for compiled C++ test sources.
11996 objext=o
11997 objext_CXX=$objext
11998
11999 # No sense in running all these tests if we already determined that
12000 # the CXX compiler isn't working.  Some variables (like enable_shared)
12001 # are currently assumed to apply to all compilers on this platform,
12002 # and will be corrupted by setting them based on a non-working compiler.
12003 if test "$_lt_caught_CXX_error" != yes; then
12004   # Code to be used in simple compile tests
12005   lt_simple_compile_test_code="int some_variable = 0;"
12006
12007   # Code to be used in simple link tests
12008   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12009
12010   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12011
12012
12013
12014
12015
12016
12017 # If no C compiler was specified, use CC.
12018 LTCC=${LTCC-"$CC"}
12019
12020 # If no C compiler flags were specified, use CFLAGS.
12021 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12022
12023 # Allow CC to be a program name with arguments.
12024 compiler=$CC
12025
12026
12027   # save warnings/boilerplate of simple test code
12028   ac_outfile=conftest.$ac_objext
12029 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12030 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12031 _lt_compiler_boilerplate=`cat conftest.err`
12032 $RM conftest*
12033
12034   ac_outfile=conftest.$ac_objext
12035 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12036 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12037 _lt_linker_boilerplate=`cat conftest.err`
12038 $RM -r conftest*
12039
12040
12041   # Allow CC to be a program name with arguments.
12042   lt_save_CC=$CC
12043   lt_save_LD=$LD
12044   lt_save_GCC=$GCC
12045   GCC=$GXX
12046   lt_save_with_gnu_ld=$with_gnu_ld
12047   lt_save_path_LD=$lt_cv_path_LD
12048   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12049     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12050   else
12051     $as_unset lt_cv_prog_gnu_ld
12052   fi
12053   if test -n "${lt_cv_path_LDCXX+set}"; then
12054     lt_cv_path_LD=$lt_cv_path_LDCXX
12055   else
12056     $as_unset lt_cv_path_LD
12057   fi
12058   test -z "${LDCXX+set}" || LD=$LDCXX
12059   CC=${CXX-"c++"}
12060   compiler=$CC
12061   compiler_CXX=$CC
12062   for cc_temp in $compiler""; do
12063   case $cc_temp in
12064     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12065     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12066     \-*) ;;
12067     *) break;;
12068   esac
12069 done
12070 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12071
12072
12073   if test -n "$compiler"; then
12074     # We don't want -fno-exception when compiling C++ code, so set the
12075     # no_builtin_flag separately
12076     if test "$GXX" = yes; then
12077       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12078     else
12079       lt_prog_compiler_no_builtin_flag_CXX=
12080     fi
12081
12082     if test "$GXX" = yes; then
12083       # Set up default GNU C++ configuration
12084
12085
12086
12087 # Check whether --with-gnu-ld was given.
12088 if test "${with_gnu_ld+set}" = set; then :
12089   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12090 else
12091   with_gnu_ld=no
12092 fi
12093
12094 ac_prog=ld
12095 if test "$GCC" = yes; then
12096   # Check if gcc -print-prog-name=ld gives a path.
12097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12098 $as_echo_n "checking for ld used by $CC... " >&6; }
12099   case $host in
12100   *-*-mingw*)
12101     # gcc leaves a trailing carriage return which upsets mingw
12102     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12103   *)
12104     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12105   esac
12106   case $ac_prog in
12107     # Accept absolute paths.
12108     [\\/]* | ?:[\\/]*)
12109       re_direlt='/[^/][^/]*/\.\./'
12110       # Canonicalize the pathname of ld
12111       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12112       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12113         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12114       done
12115       test -z "$LD" && LD="$ac_prog"
12116       ;;
12117   "")
12118     # If it fails, then pretend we aren't using GCC.
12119     ac_prog=ld
12120     ;;
12121   *)
12122     # If it is relative, then search for the first ld in PATH.
12123     with_gnu_ld=unknown
12124     ;;
12125   esac
12126 elif test "$with_gnu_ld" = yes; then
12127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12128 $as_echo_n "checking for GNU ld... " >&6; }
12129 else
12130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12131 $as_echo_n "checking for non-GNU ld... " >&6; }
12132 fi
12133 if test "${lt_cv_path_LD+set}" = set; then :
12134   $as_echo_n "(cached) " >&6
12135 else
12136   if test -z "$LD"; then
12137   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12138   for ac_dir in $PATH; do
12139     IFS="$lt_save_ifs"
12140     test -z "$ac_dir" && ac_dir=.
12141     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12142       lt_cv_path_LD="$ac_dir/$ac_prog"
12143       # Check to see if the program is GNU ld.  I'd rather use --version,
12144       # but apparently some variants of GNU ld only accept -v.
12145       # Break only if it was the GNU/non-GNU ld that we prefer.
12146       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12147       *GNU* | *'with BFD'*)
12148         test "$with_gnu_ld" != no && break
12149         ;;
12150       *)
12151         test "$with_gnu_ld" != yes && break
12152         ;;
12153       esac
12154     fi
12155   done
12156   IFS="$lt_save_ifs"
12157 else
12158   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12159 fi
12160 fi
12161
12162 LD="$lt_cv_path_LD"
12163 if test -n "$LD"; then
12164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12165 $as_echo "$LD" >&6; }
12166 else
12167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12168 $as_echo "no" >&6; }
12169 fi
12170 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12172 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12173 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12174   $as_echo_n "(cached) " >&6
12175 else
12176   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12177 case `$LD -v 2>&1 </dev/null` in
12178 *GNU* | *'with BFD'*)
12179   lt_cv_prog_gnu_ld=yes
12180   ;;
12181 *)
12182   lt_cv_prog_gnu_ld=no
12183   ;;
12184 esac
12185 fi
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12187 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12188 with_gnu_ld=$lt_cv_prog_gnu_ld
12189
12190
12191
12192
12193
12194
12195
12196       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12197       # archiving commands below assume that GNU ld is being used.
12198       if test "$with_gnu_ld" = yes; then
12199         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12200         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'
12201
12202         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12203         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12204
12205         # If archive_cmds runs LD, not CC, wlarc should be empty
12206         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12207         #     investigate it a little bit more. (MM)
12208         wlarc='${wl}'
12209
12210         # ancient GNU ld didn't support --whole-archive et. al.
12211         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12212           $GREP 'no-whole-archive' > /dev/null; then
12213           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12214         else
12215           whole_archive_flag_spec_CXX=
12216         fi
12217       else
12218         with_gnu_ld=no
12219         wlarc=
12220
12221         # A generic and very simple default shared library creation
12222         # command for GNU C++ for the case where it uses the native
12223         # linker, instead of GNU ld.  If possible, this setting should
12224         # overridden to take advantage of the native linker features on
12225         # the platform it is being used on.
12226         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12227       fi
12228
12229       # Commands to make compiler produce verbose output that lists
12230       # what "hidden" libraries, object files and flags are used when
12231       # linking a shared library.
12232       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12233
12234     else
12235       GXX=no
12236       with_gnu_ld=no
12237       wlarc=
12238     fi
12239
12240     # PORTME: fill in a description of your system's C++ link characteristics
12241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12242 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12243     ld_shlibs_CXX=yes
12244     case $host_os in
12245       aix3*)
12246         # FIXME: insert proper C++ library support
12247         ld_shlibs_CXX=no
12248         ;;
12249       aix[4-9]*)
12250         if test "$host_cpu" = ia64; then
12251           # On IA64, the linker does run time linking by default, so we don't
12252           # have to do anything special.
12253           aix_use_runtimelinking=no
12254           exp_sym_flag='-Bexport'
12255           no_entry_flag=""
12256         else
12257           aix_use_runtimelinking=no
12258
12259           # Test if we are trying to use run time linking or normal
12260           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12261           # need to do runtime linking.
12262           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12263             for ld_flag in $LDFLAGS; do
12264               case $ld_flag in
12265               *-brtl*)
12266                 aix_use_runtimelinking=yes
12267                 break
12268                 ;;
12269               esac
12270             done
12271             ;;
12272           esac
12273
12274           exp_sym_flag='-bexport'
12275           no_entry_flag='-bnoentry'
12276         fi
12277
12278         # When large executables or shared objects are built, AIX ld can
12279         # have problems creating the table of contents.  If linking a library
12280         # or program results in "error TOC overflow" add -mminimal-toc to
12281         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12282         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12283
12284         archive_cmds_CXX=''
12285         hardcode_direct_CXX=yes
12286         hardcode_direct_absolute_CXX=yes
12287         hardcode_libdir_separator_CXX=':'
12288         link_all_deplibs_CXX=yes
12289         file_list_spec_CXX='${wl}-f,'
12290
12291         if test "$GXX" = yes; then
12292           case $host_os in aix4.[012]|aix4.[012].*)
12293           # We only want to do this on AIX 4.2 and lower, the check
12294           # below for broken collect2 doesn't work under 4.3+
12295           collect2name=`${CC} -print-prog-name=collect2`
12296           if test -f "$collect2name" &&
12297              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12298           then
12299             # We have reworked collect2
12300             :
12301           else
12302             # We have old collect2
12303             hardcode_direct_CXX=unsupported
12304             # It fails to find uninstalled libraries when the uninstalled
12305             # path is not listed in the libpath.  Setting hardcode_minus_L
12306             # to unsupported forces relinking
12307             hardcode_minus_L_CXX=yes
12308             hardcode_libdir_flag_spec_CXX='-L$libdir'
12309             hardcode_libdir_separator_CXX=
12310           fi
12311           esac
12312           shared_flag='-shared'
12313           if test "$aix_use_runtimelinking" = yes; then
12314             shared_flag="$shared_flag "'${wl}-G'
12315           fi
12316         else
12317           # not using gcc
12318           if test "$host_cpu" = ia64; then
12319           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12320           # chokes on -Wl,-G. The following line is correct:
12321           shared_flag='-G'
12322           else
12323             if test "$aix_use_runtimelinking" = yes; then
12324               shared_flag='${wl}-G'
12325             else
12326               shared_flag='${wl}-bM:SRE'
12327             fi
12328           fi
12329         fi
12330
12331         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12332         # It seems that -bexpall does not export symbols beginning with
12333         # underscore (_), so it is better to generate a list of symbols to
12334         # export.
12335         always_export_symbols_CXX=yes
12336         if test "$aix_use_runtimelinking" = yes; then
12337           # Warning - without using the other runtime loading flags (-brtl),
12338           # -berok will link without error, but may produce a broken library.
12339           allow_undefined_flag_CXX='-berok'
12340           # Determine the default libpath from the value encoded in an empty
12341           # executable.
12342           if test x$gcc_no_link = xyes; then
12343   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12344 fi
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h.  */
12347
12348 int
12349 main ()
12350 {
12351
12352   ;
12353   return 0;
12354 }
12355 _ACEOF
12356 if ac_fn_cxx_try_link "$LINENO"; then :
12357
12358 lt_aix_libpath_sed='
12359     /Import File Strings/,/^$/ {
12360         /^0/ {
12361             s/^0  *\(.*\)$/\1/
12362             p
12363         }
12364     }'
12365 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12366 # Check for a 64-bit object if we didn't find anything.
12367 if test -z "$aix_libpath"; then
12368   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12369 fi
12370 fi
12371 rm -f core conftest.err conftest.$ac_objext \
12372     conftest$ac_exeext conftest.$ac_ext
12373 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12374
12375           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12376
12377           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"
12378         else
12379           if test "$host_cpu" = ia64; then
12380             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12381             allow_undefined_flag_CXX="-z nodefs"
12382             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"
12383           else
12384             # Determine the default libpath from the value encoded in an
12385             # empty executable.
12386             if test x$gcc_no_link = xyes; then
12387   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12388 fi
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h.  */
12391
12392 int
12393 main ()
12394 {
12395
12396   ;
12397   return 0;
12398 }
12399 _ACEOF
12400 if ac_fn_cxx_try_link "$LINENO"; then :
12401
12402 lt_aix_libpath_sed='
12403     /Import File Strings/,/^$/ {
12404         /^0/ {
12405             s/^0  *\(.*\)$/\1/
12406             p
12407         }
12408     }'
12409 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12410 # Check for a 64-bit object if we didn't find anything.
12411 if test -z "$aix_libpath"; then
12412   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12413 fi
12414 fi
12415 rm -f core conftest.err conftest.$ac_objext \
12416     conftest$ac_exeext conftest.$ac_ext
12417 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12418
12419             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12420             # Warning - without using the other run time loading flags,
12421             # -berok will link without error, but may produce a broken library.
12422             no_undefined_flag_CXX=' ${wl}-bernotok'
12423             allow_undefined_flag_CXX=' ${wl}-berok'
12424             if test "$with_gnu_ld" = yes; then
12425               # We only use this code for GNU lds that support --whole-archive.
12426               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12427             else
12428               # Exported symbols can be pulled into shared objects from archives
12429               whole_archive_flag_spec_CXX='$convenience'
12430             fi
12431             archive_cmds_need_lc_CXX=yes
12432             # This is similar to how AIX traditionally builds its shared
12433             # libraries.
12434             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'
12435           fi
12436         fi
12437         ;;
12438
12439       beos*)
12440         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12441           allow_undefined_flag_CXX=unsupported
12442           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12443           # support --undefined.  This deserves some investigation.  FIXME
12444           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12445         else
12446           ld_shlibs_CXX=no
12447         fi
12448         ;;
12449
12450       chorus*)
12451         case $cc_basename in
12452           *)
12453           # FIXME: insert proper C++ library support
12454           ld_shlibs_CXX=no
12455           ;;
12456         esac
12457         ;;
12458
12459       cygwin* | mingw* | pw32* | cegcc*)
12460         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12461         # as there is no search path for DLLs.
12462         hardcode_libdir_flag_spec_CXX='-L$libdir'
12463         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12464         allow_undefined_flag_CXX=unsupported
12465         always_export_symbols_CXX=no
12466         enable_shared_with_static_runtimes_CXX=yes
12467
12468         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12469           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'
12470           # If the export-symbols file already is a .def file (1st line
12471           # is EXPORTS), use it as is; otherwise, prepend...
12472           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12473             cp $export_symbols $output_objdir/$soname.def;
12474           else
12475             echo EXPORTS > $output_objdir/$soname.def;
12476             cat $export_symbols >> $output_objdir/$soname.def;
12477           fi~
12478           $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'
12479         else
12480           ld_shlibs_CXX=no
12481         fi
12482         ;;
12483       darwin* | rhapsody*)
12484
12485
12486   archive_cmds_need_lc_CXX=no
12487   hardcode_direct_CXX=no
12488   hardcode_automatic_CXX=yes
12489   hardcode_shlibpath_var_CXX=unsupported
12490   if test "$lt_cv_ld_force_load" = "yes"; then
12491     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\"`'
12492   else
12493     whole_archive_flag_spec_CXX=''
12494   fi
12495   link_all_deplibs_CXX=yes
12496   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12497   case $cc_basename in
12498      ifort*) _lt_dar_can_shared=yes ;;
12499      *) _lt_dar_can_shared=$GCC ;;
12500   esac
12501   if test "$_lt_dar_can_shared" = "yes"; then
12502     output_verbose_link_cmd=func_echo_all
12503     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}"
12504     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12505     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}"
12506     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}"
12507        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12508       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}"
12509       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}"
12510     fi
12511
12512   else
12513   ld_shlibs_CXX=no
12514   fi
12515
12516         ;;
12517
12518       dgux*)
12519         case $cc_basename in
12520           ec++*)
12521             # FIXME: insert proper C++ library support
12522             ld_shlibs_CXX=no
12523             ;;
12524           ghcx*)
12525             # Green Hills C++ Compiler
12526             # FIXME: insert proper C++ library support
12527             ld_shlibs_CXX=no
12528             ;;
12529           *)
12530             # FIXME: insert proper C++ library support
12531             ld_shlibs_CXX=no
12532             ;;
12533         esac
12534         ;;
12535
12536       freebsd2.*)
12537         # C++ shared libraries reported to be fairly broken before
12538         # switch to ELF
12539         ld_shlibs_CXX=no
12540         ;;
12541
12542       freebsd-elf*)
12543         archive_cmds_need_lc_CXX=no
12544         ;;
12545
12546       freebsd* | dragonfly*)
12547         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12548         # conventions
12549         ld_shlibs_CXX=yes
12550         ;;
12551
12552       gnu*)
12553         ;;
12554
12555       haiku*)
12556         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12557         link_all_deplibs_CXX=yes
12558         ;;
12559
12560       hpux9*)
12561         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12562         hardcode_libdir_separator_CXX=:
12563         export_dynamic_flag_spec_CXX='${wl}-E'
12564         hardcode_direct_CXX=yes
12565         hardcode_minus_L_CXX=yes # Not in the search PATH,
12566                                              # but as the default
12567                                              # location of the library.
12568
12569         case $cc_basename in
12570           CC*)
12571             # FIXME: insert proper C++ library support
12572             ld_shlibs_CXX=no
12573             ;;
12574           aCC*)
12575             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'
12576             # Commands to make compiler produce verbose output that lists
12577             # what "hidden" libraries, object files and flags are used when
12578             # linking a shared library.
12579             #
12580             # There doesn't appear to be a way to prevent this compiler from
12581             # explicitly linking system object files so we need to strip them
12582             # from the output so that they don't get included in the library
12583             # dependencies.
12584             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"'
12585             ;;
12586           *)
12587             if test "$GXX" = yes; then
12588               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'
12589             else
12590               # FIXME: insert proper C++ library support
12591               ld_shlibs_CXX=no
12592             fi
12593             ;;
12594         esac
12595         ;;
12596
12597       hpux10*|hpux11*)
12598         if test $with_gnu_ld = no; then
12599           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12600           hardcode_libdir_separator_CXX=:
12601
12602           case $host_cpu in
12603             hppa*64*|ia64*)
12604               ;;
12605             *)
12606               export_dynamic_flag_spec_CXX='${wl}-E'
12607               ;;
12608           esac
12609         fi
12610         case $host_cpu in
12611           hppa*64*|ia64*)
12612             hardcode_direct_CXX=no
12613             hardcode_shlibpath_var_CXX=no
12614             ;;
12615           *)
12616             hardcode_direct_CXX=yes
12617             hardcode_direct_absolute_CXX=yes
12618             hardcode_minus_L_CXX=yes # Not in the search PATH,
12619                                                  # but as the default
12620                                                  # location of the library.
12621             ;;
12622         esac
12623
12624         case $cc_basename in
12625           CC*)
12626             # FIXME: insert proper C++ library support
12627             ld_shlibs_CXX=no
12628             ;;
12629           aCC*)
12630             case $host_cpu in
12631               hppa*64*)
12632                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12633                 ;;
12634               ia64*)
12635                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12636                 ;;
12637               *)
12638                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12639                 ;;
12640             esac
12641             # Commands to make compiler produce verbose output that lists
12642             # what "hidden" libraries, object files and flags are used when
12643             # linking a shared library.
12644             #
12645             # There doesn't appear to be a way to prevent this compiler from
12646             # explicitly linking system object files so we need to strip them
12647             # from the output so that they don't get included in the library
12648             # dependencies.
12649             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"'
12650             ;;
12651           *)
12652             if test "$GXX" = yes; then
12653               if test $with_gnu_ld = no; then
12654                 case $host_cpu in
12655                   hppa*64*)
12656                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657                     ;;
12658                   ia64*)
12659                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12660                     ;;
12661                   *)
12662                     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'
12663                     ;;
12664                 esac
12665               fi
12666             else
12667               # FIXME: insert proper C++ library support
12668               ld_shlibs_CXX=no
12669             fi
12670             ;;
12671         esac
12672         ;;
12673
12674       interix[3-9]*)
12675         hardcode_direct_CXX=no
12676         hardcode_shlibpath_var_CXX=no
12677         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12678         export_dynamic_flag_spec_CXX='${wl}-E'
12679         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12680         # Instead, shared libraries are loaded at an image base (0x10000000 by
12681         # default) and relocated if they conflict, which is a slow very memory
12682         # consuming and fragmenting process.  To avoid this, we pick a random,
12683         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12684         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12685         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'
12686         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'
12687         ;;
12688       irix5* | irix6*)
12689         case $cc_basename in
12690           CC*)
12691             # SGI C++
12692             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'
12693
12694             # Archives containing C++ object files must be created using
12695             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12696             # necessary to make sure instantiated templates are included
12697             # in the archive.
12698             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12699             ;;
12700           *)
12701             if test "$GXX" = yes; then
12702               if test "$with_gnu_ld" = no; then
12703                 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'
12704               else
12705                 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'
12706               fi
12707             fi
12708             link_all_deplibs_CXX=yes
12709             ;;
12710         esac
12711         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12712         hardcode_libdir_separator_CXX=:
12713         inherit_rpath_CXX=yes
12714         ;;
12715
12716       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12717         case $cc_basename in
12718           KCC*)
12719             # Kuck and Associates, Inc. (KAI) C++ Compiler
12720
12721             # KCC will only create a shared library if the output file
12722             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12723             # to its proper name (with version) after linking.
12724             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'
12725             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'
12726             # Commands to make compiler produce verbose output that lists
12727             # what "hidden" libraries, object files and flags are used when
12728             # linking a shared library.
12729             #
12730             # There doesn't appear to be a way to prevent this compiler from
12731             # explicitly linking system object files so we need to strip them
12732             # from the output so that they don't get included in the library
12733             # dependencies.
12734             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"'
12735
12736             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12737             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12738
12739             # Archives containing C++ object files must be created using
12740             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12741             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12742             ;;
12743           icpc* | ecpc* )
12744             # Intel C++
12745             with_gnu_ld=yes
12746             # version 8.0 and above of icpc choke on multiply defined symbols
12747             # if we add $predep_objects and $postdep_objects, however 7.1 and
12748             # earlier do not add the objects themselves.
12749             case `$CC -V 2>&1` in
12750               *"Version 7."*)
12751                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12752                 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'
12753                 ;;
12754               *)  # Version 8.0 or newer
12755                 tmp_idyn=
12756                 case $host_cpu in
12757                   ia64*) tmp_idyn=' -i_dynamic';;
12758                 esac
12759                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12760                 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'
12761                 ;;
12762             esac
12763             archive_cmds_need_lc_CXX=no
12764             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12765             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12766             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12767             ;;
12768           pgCC* | pgcpp*)
12769             # Portland Group C++ compiler
12770             case `$CC -V` in
12771             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12772               prelink_cmds_CXX='tpldir=Template.dir~
12773                 rm -rf $tpldir~
12774                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12775                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12776               old_archive_cmds_CXX='tpldir=Template.dir~
12777                 rm -rf $tpldir~
12778                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12779                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12780                 $RANLIB $oldlib'
12781               archive_cmds_CXX='tpldir=Template.dir~
12782                 rm -rf $tpldir~
12783                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12784                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12785               archive_expsym_cmds_CXX='tpldir=Template.dir~
12786                 rm -rf $tpldir~
12787                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12788                 $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'
12789               ;;
12790             *) # Version 6 and above use weak symbols
12791               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12792               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'
12793               ;;
12794             esac
12795
12796             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12797             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12798             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'
12799             ;;
12800           cxx*)
12801             # Compaq C++
12802             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12803             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'
12804
12805             runpath_var=LD_RUN_PATH
12806             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12807             hardcode_libdir_separator_CXX=:
12808
12809             # Commands to make compiler produce verbose output that lists
12810             # what "hidden" libraries, object files and flags are used when
12811             # linking a shared library.
12812             #
12813             # There doesn't appear to be a way to prevent this compiler from
12814             # explicitly linking system object files so we need to strip them
12815             # from the output so that they don't get included in the library
12816             # dependencies.
12817             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'
12818             ;;
12819           xl* | mpixl* | bgxl*)
12820             # IBM XL 8.0 on PPC, with GNU ld
12821             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12822             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12823             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12824             if test "x$supports_anon_versioning" = xyes; then
12825               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12826                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12827                 echo "local: *; };" >> $output_objdir/$libname.ver~
12828                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12829             fi
12830             ;;
12831           *)
12832             case `$CC -V 2>&1 | sed 5q` in
12833             *Sun\ C*)
12834               # Sun C++ 5.9
12835               no_undefined_flag_CXX=' -zdefs'
12836               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12837               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'
12838               hardcode_libdir_flag_spec_CXX='-R$libdir'
12839               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'
12840               compiler_needs_object_CXX=yes
12841
12842               # Not sure whether something based on
12843               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12844               # would be better.
12845               output_verbose_link_cmd='func_echo_all'
12846
12847               # Archives containing C++ object files must be created using
12848               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12849               # necessary to make sure instantiated templates are included
12850               # in the archive.
12851               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12852               ;;
12853             esac
12854             ;;
12855         esac
12856         ;;
12857
12858       lynxos*)
12859         # FIXME: insert proper C++ library support
12860         ld_shlibs_CXX=no
12861         ;;
12862
12863       m88k*)
12864         # FIXME: insert proper C++ library support
12865         ld_shlibs_CXX=no
12866         ;;
12867
12868       mvs*)
12869         case $cc_basename in
12870           cxx*)
12871             # FIXME: insert proper C++ library support
12872             ld_shlibs_CXX=no
12873             ;;
12874           *)
12875             # FIXME: insert proper C++ library support
12876             ld_shlibs_CXX=no
12877             ;;
12878         esac
12879         ;;
12880
12881       netbsd*)
12882         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12883           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12884           wlarc=
12885           hardcode_libdir_flag_spec_CXX='-R$libdir'
12886           hardcode_direct_CXX=yes
12887           hardcode_shlibpath_var_CXX=no
12888         fi
12889         # Workaround some broken pre-1.5 toolchains
12890         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12891         ;;
12892
12893       *nto* | *qnx*)
12894         ld_shlibs_CXX=yes
12895         ;;
12896
12897       openbsd2*)
12898         # C++ shared libraries are fairly broken
12899         ld_shlibs_CXX=no
12900         ;;
12901
12902       openbsd*)
12903         if test -f /usr/libexec/ld.so; then
12904           hardcode_direct_CXX=yes
12905           hardcode_shlibpath_var_CXX=no
12906           hardcode_direct_absolute_CXX=yes
12907           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12908           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12909           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12910             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12911             export_dynamic_flag_spec_CXX='${wl}-E'
12912             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12913           fi
12914           output_verbose_link_cmd=func_echo_all
12915         else
12916           ld_shlibs_CXX=no
12917         fi
12918         ;;
12919
12920       osf3* | osf4* | osf5*)
12921         case $cc_basename in
12922           KCC*)
12923             # Kuck and Associates, Inc. (KAI) C++ Compiler
12924
12925             # KCC will only create a shared library if the output file
12926             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12927             # to its proper name (with version) after linking.
12928             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'
12929
12930             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12931             hardcode_libdir_separator_CXX=:
12932
12933             # Archives containing C++ object files must be created using
12934             # the KAI C++ compiler.
12935             case $host in
12936               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12937               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12938             esac
12939             ;;
12940           RCC*)
12941             # Rational C++ 2.4.1
12942             # FIXME: insert proper C++ library support
12943             ld_shlibs_CXX=no
12944             ;;
12945           cxx*)
12946             case $host in
12947               osf3*)
12948                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12949                 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'
12950                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12951                 ;;
12952               *)
12953                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12954                 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'
12955                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12956                   echo "-hidden">> $lib.exp~
12957                   $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~
12958                   $RM $lib.exp'
12959                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12960                 ;;
12961             esac
12962
12963             hardcode_libdir_separator_CXX=:
12964
12965             # Commands to make compiler produce verbose output that lists
12966             # what "hidden" libraries, object files and flags are used when
12967             # linking a shared library.
12968             #
12969             # There doesn't appear to be a way to prevent this compiler from
12970             # explicitly linking system object files so we need to strip them
12971             # from the output so that they don't get included in the library
12972             # dependencies.
12973             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"'
12974             ;;
12975           *)
12976             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12977               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12978               case $host in
12979                 osf3*)
12980                   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'
12981                   ;;
12982                 *)
12983                   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'
12984                   ;;
12985               esac
12986
12987               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12988               hardcode_libdir_separator_CXX=:
12989
12990               # Commands to make compiler produce verbose output that lists
12991               # what "hidden" libraries, object files and flags are used when
12992               # linking a shared library.
12993               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12994
12995             else
12996               # FIXME: insert proper C++ library support
12997               ld_shlibs_CXX=no
12998             fi
12999             ;;
13000         esac
13001         ;;
13002
13003       psos*)
13004         # FIXME: insert proper C++ library support
13005         ld_shlibs_CXX=no
13006         ;;
13007
13008       sunos4*)
13009         case $cc_basename in
13010           CC*)
13011             # Sun C++ 4.x
13012             # FIXME: insert proper C++ library support
13013             ld_shlibs_CXX=no
13014             ;;
13015           lcc*)
13016             # Lucid
13017             # FIXME: insert proper C++ library support
13018             ld_shlibs_CXX=no
13019             ;;
13020           *)
13021             # FIXME: insert proper C++ library support
13022             ld_shlibs_CXX=no
13023             ;;
13024         esac
13025         ;;
13026
13027       solaris*)
13028         case $cc_basename in
13029           CC*)
13030             # Sun C++ 4.2, 5.x and Centerline C++
13031             archive_cmds_need_lc_CXX=yes
13032             no_undefined_flag_CXX=' -zdefs'
13033             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13034             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13035               $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'
13036
13037             hardcode_libdir_flag_spec_CXX='-R$libdir'
13038             hardcode_shlibpath_var_CXX=no
13039             case $host_os in
13040               solaris2.[0-5] | solaris2.[0-5].*) ;;
13041               *)
13042                 # The compiler driver will combine and reorder linker options,
13043                 # but understands `-z linker_flag'.
13044                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13045                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13046                 ;;
13047             esac
13048             link_all_deplibs_CXX=yes
13049
13050             output_verbose_link_cmd='func_echo_all'
13051
13052             # Archives containing C++ object files must be created using
13053             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13054             # necessary to make sure instantiated templates are included
13055             # in the archive.
13056             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13057             ;;
13058           gcx*)
13059             # Green Hills C++ Compiler
13060             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13061
13062             # The C++ compiler must be used to create the archive.
13063             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13064             ;;
13065           *)
13066             # GNU C++ compiler with Solaris linker
13067             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13068               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13069               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13070                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13071                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13072                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13073
13074                 # Commands to make compiler produce verbose output that lists
13075                 # what "hidden" libraries, object files and flags are used when
13076                 # linking a shared library.
13077                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13078               else
13079                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13080                 # platform.
13081                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13082                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13083                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13084
13085                 # Commands to make compiler produce verbose output that lists
13086                 # what "hidden" libraries, object files and flags are used when
13087                 # linking a shared library.
13088                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13089               fi
13090
13091               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13092               case $host_os in
13093                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13094                 *)
13095                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13096                   ;;
13097               esac
13098             fi
13099             ;;
13100         esac
13101         ;;
13102
13103     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13104       no_undefined_flag_CXX='${wl}-z,text'
13105       archive_cmds_need_lc_CXX=no
13106       hardcode_shlibpath_var_CXX=no
13107       runpath_var='LD_RUN_PATH'
13108
13109       case $cc_basename in
13110         CC*)
13111           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13112           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13113           ;;
13114         *)
13115           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13116           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13117           ;;
13118       esac
13119       ;;
13120
13121       sysv5* | sco3.2v5* | sco5v6*)
13122         # Note: We can NOT use -z defs as we might desire, because we do not
13123         # link with -lc, and that would cause any symbols used from libc to
13124         # always be unresolved, which means just about no library would
13125         # ever link correctly.  If we're not using GNU ld we use -z text
13126         # though, which does catch some bad symbols but isn't as heavy-handed
13127         # as -z defs.
13128         no_undefined_flag_CXX='${wl}-z,text'
13129         allow_undefined_flag_CXX='${wl}-z,nodefs'
13130         archive_cmds_need_lc_CXX=no
13131         hardcode_shlibpath_var_CXX=no
13132         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13133         hardcode_libdir_separator_CXX=':'
13134         link_all_deplibs_CXX=yes
13135         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13136         runpath_var='LD_RUN_PATH'
13137
13138         case $cc_basename in
13139           CC*)
13140             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13143               '"$old_archive_cmds_CXX"
13144             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13145               '"$reload_cmds_CXX"
13146             ;;
13147           *)
13148             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13150             ;;
13151         esac
13152       ;;
13153
13154       tandem*)
13155         case $cc_basename in
13156           NCC*)
13157             # NonStop-UX NCC 3.20
13158             # FIXME: insert proper C++ library support
13159             ld_shlibs_CXX=no
13160             ;;
13161           *)
13162             # FIXME: insert proper C++ library support
13163             ld_shlibs_CXX=no
13164             ;;
13165         esac
13166         ;;
13167
13168       vxworks*)
13169         # FIXME: insert proper C++ library support
13170         ld_shlibs_CXX=no
13171         ;;
13172
13173       *)
13174         # FIXME: insert proper C++ library support
13175         ld_shlibs_CXX=no
13176         ;;
13177     esac
13178
13179     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13180 $as_echo "$ld_shlibs_CXX" >&6; }
13181     test "$ld_shlibs_CXX" = no && can_build_shared=no
13182
13183     GCC_CXX="$GXX"
13184     LD_CXX="$LD"
13185
13186     ## CAVEAT EMPTOR:
13187     ## There is no encapsulation within the following macros, do not change
13188     ## the running order or otherwise move them around unless you know exactly
13189     ## what you are doing...
13190     # Dependencies to place before and after the object being linked:
13191 predep_objects_CXX=
13192 postdep_objects_CXX=
13193 predeps_CXX=
13194 postdeps_CXX=
13195 compiler_lib_search_path_CXX=
13196
13197 cat > conftest.$ac_ext <<_LT_EOF
13198 class Foo
13199 {
13200 public:
13201   Foo (void) { a = 0; }
13202 private:
13203   int a;
13204 };
13205 _LT_EOF
13206
13207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13208   (eval $ac_compile) 2>&5
13209   ac_status=$?
13210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13211   test $ac_status = 0; }; then
13212   # Parse the compiler output and extract the necessary
13213   # objects, libraries and library flags.
13214
13215   # Sentinel used to keep track of whether or not we are before
13216   # the conftest object file.
13217   pre_test_object_deps_done=no
13218
13219   for p in `eval "$output_verbose_link_cmd"`; do
13220     case $p in
13221
13222     -L* | -R* | -l*)
13223        # Some compilers place space between "-{L,R}" and the path.
13224        # Remove the space.
13225        if test $p = "-L" ||
13226           test $p = "-R"; then
13227          prev=$p
13228          continue
13229        else
13230          prev=
13231        fi
13232
13233        if test "$pre_test_object_deps_done" = no; then
13234          case $p in
13235          -L* | -R*)
13236            # Internal compiler library paths should come after those
13237            # provided the user.  The postdeps already come after the
13238            # user supplied libs so there is no need to process them.
13239            if test -z "$compiler_lib_search_path_CXX"; then
13240              compiler_lib_search_path_CXX="${prev}${p}"
13241            else
13242              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13243            fi
13244            ;;
13245          # The "-l" case would never come before the object being
13246          # linked, so don't bother handling this case.
13247          esac
13248        else
13249          if test -z "$postdeps_CXX"; then
13250            postdeps_CXX="${prev}${p}"
13251          else
13252            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13253          fi
13254        fi
13255        ;;
13256
13257     *.$objext)
13258        # This assumes that the test object file only shows up
13259        # once in the compiler output.
13260        if test "$p" = "conftest.$objext"; then
13261          pre_test_object_deps_done=yes
13262          continue
13263        fi
13264
13265        if test "$pre_test_object_deps_done" = no; then
13266          if test -z "$predep_objects_CXX"; then
13267            predep_objects_CXX="$p"
13268          else
13269            predep_objects_CXX="$predep_objects_CXX $p"
13270          fi
13271        else
13272          if test -z "$postdep_objects_CXX"; then
13273            postdep_objects_CXX="$p"
13274          else
13275            postdep_objects_CXX="$postdep_objects_CXX $p"
13276          fi
13277        fi
13278        ;;
13279
13280     *) ;; # Ignore the rest.
13281
13282     esac
13283   done
13284
13285   # Clean up.
13286   rm -f a.out a.exe
13287 else
13288   echo "libtool.m4: error: problem compiling CXX test program"
13289 fi
13290
13291 $RM -f confest.$objext
13292
13293 # PORTME: override above test on systems where it is broken
13294 case $host_os in
13295 interix[3-9]*)
13296   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13297   # hack all around it, let's just trust "g++" to DTRT.
13298   predep_objects_CXX=
13299   postdep_objects_CXX=
13300   postdeps_CXX=
13301   ;;
13302
13303 linux*)
13304   case `$CC -V 2>&1 | sed 5q` in
13305   *Sun\ C*)
13306     # Sun C++ 5.9
13307
13308     # The more standards-conforming stlport4 library is
13309     # incompatible with the Cstd library. Avoid specifying
13310     # it if it's in CXXFLAGS. Ignore libCrun as
13311     # -library=stlport4 depends on it.
13312     case " $CXX $CXXFLAGS " in
13313     *" -library=stlport4 "*)
13314       solaris_use_stlport4=yes
13315       ;;
13316     esac
13317
13318     if test "$solaris_use_stlport4" != yes; then
13319       postdeps_CXX='-library=Cstd -library=Crun'
13320     fi
13321     ;;
13322   esac
13323   ;;
13324
13325 solaris*)
13326   case $cc_basename in
13327   CC*)
13328     # The more standards-conforming stlport4 library is
13329     # incompatible with the Cstd library. Avoid specifying
13330     # it if it's in CXXFLAGS. Ignore libCrun as
13331     # -library=stlport4 depends on it.
13332     case " $CXX $CXXFLAGS " in
13333     *" -library=stlport4 "*)
13334       solaris_use_stlport4=yes
13335       ;;
13336     esac
13337
13338     # Adding this requires a known-good setup of shared libraries for
13339     # Sun compiler versions before 5.6, else PIC objects from an old
13340     # archive will be linked into the output, leading to subtle bugs.
13341     if test "$solaris_use_stlport4" != yes; then
13342       postdeps_CXX='-library=Cstd -library=Crun'
13343     fi
13344     ;;
13345   esac
13346   ;;
13347 esac
13348
13349
13350 case " $postdeps_CXX " in
13351 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13352 esac
13353  compiler_lib_search_dirs_CXX=
13354 if test -n "${compiler_lib_search_path_CXX}"; then
13355  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13356 fi
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388     lt_prog_compiler_wl_CXX=
13389 lt_prog_compiler_pic_CXX=
13390 lt_prog_compiler_static_CXX=
13391
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13393 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13394
13395   # C++ specific cases for pic, static, wl, etc.
13396   if test "$GXX" = yes; then
13397     lt_prog_compiler_wl_CXX='-Wl,'
13398     lt_prog_compiler_static_CXX='-static'
13399
13400     case $host_os in
13401     aix*)
13402       # All AIX code is PIC.
13403       if test "$host_cpu" = ia64; then
13404         # AIX 5 now supports IA64 processor
13405         lt_prog_compiler_static_CXX='-Bstatic'
13406       fi
13407       ;;
13408
13409     amigaos*)
13410       case $host_cpu in
13411       powerpc)
13412             # see comment about AmigaOS4 .so support
13413             lt_prog_compiler_pic_CXX='-fPIC'
13414         ;;
13415       m68k)
13416             # FIXME: we need at least 68020 code to build shared libraries, but
13417             # adding the `-m68020' flag to GCC prevents building anything better,
13418             # like `-m68040'.
13419             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13420         ;;
13421       esac
13422       ;;
13423
13424     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13425       # PIC is the default for these OSes.
13426       ;;
13427     mingw* | cygwin* | os2* | pw32* | cegcc*)
13428       # This hack is so that the source file can tell whether it is being
13429       # built for inclusion in a dll (and should export symbols for example).
13430       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13431       # (--disable-auto-import) libraries
13432       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13433       ;;
13434     darwin* | rhapsody*)
13435       # PIC is the default on this platform
13436       # Common symbols not allowed in MH_DYLIB files
13437       lt_prog_compiler_pic_CXX='-fno-common'
13438       ;;
13439     *djgpp*)
13440       # DJGPP does not support shared libraries at all
13441       lt_prog_compiler_pic_CXX=
13442       ;;
13443     haiku*)
13444       # PIC is the default for Haiku.
13445       # The "-static" flag exists, but is broken.
13446       lt_prog_compiler_static_CXX=
13447       ;;
13448     interix[3-9]*)
13449       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13450       # Instead, we relocate shared libraries at runtime.
13451       ;;
13452     sysv4*MP*)
13453       if test -d /usr/nec; then
13454         lt_prog_compiler_pic_CXX=-Kconform_pic
13455       fi
13456       ;;
13457     hpux*)
13458       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13459       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13460       # sets the default TLS model and affects inlining.
13461       case $host_cpu in
13462       hppa*64*)
13463         ;;
13464       *)
13465         lt_prog_compiler_pic_CXX='-fPIC'
13466         ;;
13467       esac
13468       ;;
13469     *qnx* | *nto*)
13470       # QNX uses GNU C++, but need to define -shared option too, otherwise
13471       # it will coredump.
13472       lt_prog_compiler_pic_CXX='-fPIC -shared'
13473       ;;
13474     *)
13475       lt_prog_compiler_pic_CXX='-fPIC'
13476       ;;
13477     esac
13478   else
13479     case $host_os in
13480       aix[4-9]*)
13481         # All AIX code is PIC.
13482         if test "$host_cpu" = ia64; then
13483           # AIX 5 now supports IA64 processor
13484           lt_prog_compiler_static_CXX='-Bstatic'
13485         else
13486           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13487         fi
13488         ;;
13489       chorus*)
13490         case $cc_basename in
13491         cxch68*)
13492           # Green Hills C++ Compiler
13493           # _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"
13494           ;;
13495         esac
13496         ;;
13497       dgux*)
13498         case $cc_basename in
13499           ec++*)
13500             lt_prog_compiler_pic_CXX='-KPIC'
13501             ;;
13502           ghcx*)
13503             # Green Hills C++ Compiler
13504             lt_prog_compiler_pic_CXX='-pic'
13505             ;;
13506           *)
13507             ;;
13508         esac
13509         ;;
13510       freebsd* | dragonfly*)
13511         # FreeBSD uses GNU C++
13512         ;;
13513       hpux9* | hpux10* | hpux11*)
13514         case $cc_basename in
13515           CC*)
13516             lt_prog_compiler_wl_CXX='-Wl,'
13517             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13518             if test "$host_cpu" != ia64; then
13519               lt_prog_compiler_pic_CXX='+Z'
13520             fi
13521             ;;
13522           aCC*)
13523             lt_prog_compiler_wl_CXX='-Wl,'
13524             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13525             case $host_cpu in
13526             hppa*64*|ia64*)
13527               # +Z the default
13528               ;;
13529             *)
13530               lt_prog_compiler_pic_CXX='+Z'
13531               ;;
13532             esac
13533             ;;
13534           *)
13535             ;;
13536         esac
13537         ;;
13538       interix*)
13539         # This is c89, which is MS Visual C++ (no shared libs)
13540         # Anyone wants to do a port?
13541         ;;
13542       irix5* | irix6* | nonstopux*)
13543         case $cc_basename in
13544           CC*)
13545             lt_prog_compiler_wl_CXX='-Wl,'
13546             lt_prog_compiler_static_CXX='-non_shared'
13547             # CC pic flag -KPIC is the default.
13548             ;;
13549           *)
13550             ;;
13551         esac
13552         ;;
13553       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13554         case $cc_basename in
13555           KCC*)
13556             # KAI C++ Compiler
13557             lt_prog_compiler_wl_CXX='--backend -Wl,'
13558             lt_prog_compiler_pic_CXX='-fPIC'
13559             ;;
13560           ecpc* )
13561             # old Intel C++ for x86_64 which still supported -KPIC.
13562             lt_prog_compiler_wl_CXX='-Wl,'
13563             lt_prog_compiler_pic_CXX='-KPIC'
13564             lt_prog_compiler_static_CXX='-static'
13565             ;;
13566           icpc* )
13567             # Intel C++, used to be incompatible with GCC.
13568             # ICC 10 doesn't accept -KPIC any more.
13569             lt_prog_compiler_wl_CXX='-Wl,'
13570             lt_prog_compiler_pic_CXX='-fPIC'
13571             lt_prog_compiler_static_CXX='-static'
13572             ;;
13573           pgCC* | pgcpp*)
13574             # Portland Group C++ compiler
13575             lt_prog_compiler_wl_CXX='-Wl,'
13576             lt_prog_compiler_pic_CXX='-fpic'
13577             lt_prog_compiler_static_CXX='-Bstatic'
13578             ;;
13579           cxx*)
13580             # Compaq C++
13581             # Make sure the PIC flag is empty.  It appears that all Alpha
13582             # Linux and Compaq Tru64 Unix objects are PIC.
13583             lt_prog_compiler_pic_CXX=
13584             lt_prog_compiler_static_CXX='-non_shared'
13585             ;;
13586           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13587             # IBM XL 8.0, 9.0 on PPC and BlueGene
13588             lt_prog_compiler_wl_CXX='-Wl,'
13589             lt_prog_compiler_pic_CXX='-qpic'
13590             lt_prog_compiler_static_CXX='-qstaticlink'
13591             ;;
13592           *)
13593             case `$CC -V 2>&1 | sed 5q` in
13594             *Sun\ C*)
13595               # Sun C++ 5.9
13596               lt_prog_compiler_pic_CXX='-KPIC'
13597               lt_prog_compiler_static_CXX='-Bstatic'
13598               lt_prog_compiler_wl_CXX='-Qoption ld '
13599               ;;
13600             esac
13601             ;;
13602         esac
13603         ;;
13604       lynxos*)
13605         ;;
13606       m88k*)
13607         ;;
13608       mvs*)
13609         case $cc_basename in
13610           cxx*)
13611             lt_prog_compiler_pic_CXX='-W c,exportall'
13612             ;;
13613           *)
13614             ;;
13615         esac
13616         ;;
13617       netbsd*)
13618         ;;
13619       *qnx* | *nto*)
13620         # QNX uses GNU C++, but need to define -shared option too, otherwise
13621         # it will coredump.
13622         lt_prog_compiler_pic_CXX='-fPIC -shared'
13623         ;;
13624       osf3* | osf4* | osf5*)
13625         case $cc_basename in
13626           KCC*)
13627             lt_prog_compiler_wl_CXX='--backend -Wl,'
13628             ;;
13629           RCC*)
13630             # Rational C++ 2.4.1
13631             lt_prog_compiler_pic_CXX='-pic'
13632             ;;
13633           cxx*)
13634             # Digital/Compaq C++
13635             lt_prog_compiler_wl_CXX='-Wl,'
13636             # Make sure the PIC flag is empty.  It appears that all Alpha
13637             # Linux and Compaq Tru64 Unix objects are PIC.
13638             lt_prog_compiler_pic_CXX=
13639             lt_prog_compiler_static_CXX='-non_shared'
13640             ;;
13641           *)
13642             ;;
13643         esac
13644         ;;
13645       psos*)
13646         ;;
13647       solaris*)
13648         case $cc_basename in
13649           CC*)
13650             # Sun C++ 4.2, 5.x and Centerline C++
13651             lt_prog_compiler_pic_CXX='-KPIC'
13652             lt_prog_compiler_static_CXX='-Bstatic'
13653             lt_prog_compiler_wl_CXX='-Qoption ld '
13654             ;;
13655           gcx*)
13656             # Green Hills C++ Compiler
13657             lt_prog_compiler_pic_CXX='-PIC'
13658             ;;
13659           *)
13660             ;;
13661         esac
13662         ;;
13663       sunos4*)
13664         case $cc_basename in
13665           CC*)
13666             # Sun C++ 4.x
13667             lt_prog_compiler_pic_CXX='-pic'
13668             lt_prog_compiler_static_CXX='-Bstatic'
13669             ;;
13670           lcc*)
13671             # Lucid
13672             lt_prog_compiler_pic_CXX='-pic'
13673             ;;
13674           *)
13675             ;;
13676         esac
13677         ;;
13678       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13679         case $cc_basename in
13680           CC*)
13681             lt_prog_compiler_wl_CXX='-Wl,'
13682             lt_prog_compiler_pic_CXX='-KPIC'
13683             lt_prog_compiler_static_CXX='-Bstatic'
13684             ;;
13685         esac
13686         ;;
13687       tandem*)
13688         case $cc_basename in
13689           NCC*)
13690             # NonStop-UX NCC 3.20
13691             lt_prog_compiler_pic_CXX='-KPIC'
13692             ;;
13693           *)
13694             ;;
13695         esac
13696         ;;
13697       vxworks*)
13698         ;;
13699       *)
13700         lt_prog_compiler_can_build_shared_CXX=no
13701         ;;
13702     esac
13703   fi
13704
13705 case $host_os in
13706   # For platforms which do not support PIC, -DPIC is meaningless:
13707   *djgpp*)
13708     lt_prog_compiler_pic_CXX=
13709     ;;
13710   *)
13711     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13712     ;;
13713 esac
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13715 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13716
13717
13718
13719 #
13720 # Check to make sure the PIC flag actually works.
13721 #
13722 if test -n "$lt_prog_compiler_pic_CXX"; then
13723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13724 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13725 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13726   $as_echo_n "(cached) " >&6
13727 else
13728   lt_cv_prog_compiler_pic_works_CXX=no
13729    ac_outfile=conftest.$ac_objext
13730    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13731    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13732    # Insert the option either (1) after the last *FLAGS variable, or
13733    # (2) before a word containing "conftest.", or (3) at the end.
13734    # Note that $ac_compile itself does not contain backslashes and begins
13735    # with a dollar sign (not a hyphen), so the echo should work correctly.
13736    # The option is referenced via a variable to avoid confusing sed.
13737    lt_compile=`echo "$ac_compile" | $SED \
13738    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13739    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13740    -e 's:$: $lt_compiler_flag:'`
13741    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13742    (eval "$lt_compile" 2>conftest.err)
13743    ac_status=$?
13744    cat conftest.err >&5
13745    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746    if (exit $ac_status) && test -s "$ac_outfile"; then
13747      # The compiler can only warn and ignore the option if not recognized
13748      # So say no if there are warnings other than the usual output.
13749      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13750      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13751      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13752        lt_cv_prog_compiler_pic_works_CXX=yes
13753      fi
13754    fi
13755    $RM conftest*
13756
13757 fi
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13759 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13760
13761 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13762     case $lt_prog_compiler_pic_CXX in
13763      "" | " "*) ;;
13764      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13765      esac
13766 else
13767     lt_prog_compiler_pic_CXX=
13768      lt_prog_compiler_can_build_shared_CXX=no
13769 fi
13770
13771 fi
13772
13773
13774
13775 #
13776 # Check to make sure the static flag actually works.
13777 #
13778 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13780 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13781 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13782   $as_echo_n "(cached) " >&6
13783 else
13784   lt_cv_prog_compiler_static_works_CXX=no
13785    save_LDFLAGS="$LDFLAGS"
13786    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13787    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13788    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13789      # The linker can only warn and ignore the option if not recognized
13790      # So say no if there are warnings
13791      if test -s conftest.err; then
13792        # Append any errors to the config.log.
13793        cat conftest.err 1>&5
13794        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13795        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13796        if diff conftest.exp conftest.er2 >/dev/null; then
13797          lt_cv_prog_compiler_static_works_CXX=yes
13798        fi
13799      else
13800        lt_cv_prog_compiler_static_works_CXX=yes
13801      fi
13802    fi
13803    $RM -r conftest*
13804    LDFLAGS="$save_LDFLAGS"
13805
13806 fi
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13808 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13809
13810 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13811     :
13812 else
13813     lt_prog_compiler_static_CXX=
13814 fi
13815
13816
13817
13818
13819     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13820 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13821 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13822   $as_echo_n "(cached) " >&6
13823 else
13824   lt_cv_prog_compiler_c_o_CXX=no
13825    $RM -r conftest 2>/dev/null
13826    mkdir conftest
13827    cd conftest
13828    mkdir out
13829    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13830
13831    lt_compiler_flag="-o out/conftest2.$ac_objext"
13832    # Insert the option either (1) after the last *FLAGS variable, or
13833    # (2) before a word containing "conftest.", or (3) at the end.
13834    # Note that $ac_compile itself does not contain backslashes and begins
13835    # with a dollar sign (not a hyphen), so the echo should work correctly.
13836    lt_compile=`echo "$ac_compile" | $SED \
13837    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13838    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13839    -e 's:$: $lt_compiler_flag:'`
13840    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13841    (eval "$lt_compile" 2>out/conftest.err)
13842    ac_status=$?
13843    cat out/conftest.err >&5
13844    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13846    then
13847      # The compiler can only warn and ignore the option if not recognized
13848      # So say no if there are warnings
13849      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13850      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13851      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13852        lt_cv_prog_compiler_c_o_CXX=yes
13853      fi
13854    fi
13855    chmod u+w . 2>&5
13856    $RM conftest*
13857    # SGI C++ compiler will create directory out/ii_files/ for
13858    # template instantiation
13859    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13860    $RM out/* && rmdir out
13861    cd ..
13862    $RM -r conftest
13863    $RM conftest*
13864
13865 fi
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13867 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13868
13869
13870
13871     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13872 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13873 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13874   $as_echo_n "(cached) " >&6
13875 else
13876   lt_cv_prog_compiler_c_o_CXX=no
13877    $RM -r conftest 2>/dev/null
13878    mkdir conftest
13879    cd conftest
13880    mkdir out
13881    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13882
13883    lt_compiler_flag="-o out/conftest2.$ac_objext"
13884    # Insert the option either (1) after the last *FLAGS variable, or
13885    # (2) before a word containing "conftest.", or (3) at the end.
13886    # Note that $ac_compile itself does not contain backslashes and begins
13887    # with a dollar sign (not a hyphen), so the echo should work correctly.
13888    lt_compile=`echo "$ac_compile" | $SED \
13889    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13890    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13891    -e 's:$: $lt_compiler_flag:'`
13892    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13893    (eval "$lt_compile" 2>out/conftest.err)
13894    ac_status=$?
13895    cat out/conftest.err >&5
13896    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13898    then
13899      # The compiler can only warn and ignore the option if not recognized
13900      # So say no if there are warnings
13901      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13902      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13903      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13904        lt_cv_prog_compiler_c_o_CXX=yes
13905      fi
13906    fi
13907    chmod u+w . 2>&5
13908    $RM conftest*
13909    # SGI C++ compiler will create directory out/ii_files/ for
13910    # template instantiation
13911    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13912    $RM out/* && rmdir out
13913    cd ..
13914    $RM -r conftest
13915    $RM conftest*
13916
13917 fi
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13919 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13920
13921
13922
13923
13924 hard_links="nottested"
13925 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13926   # do not overwrite the value of need_locks provided by the user
13927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13928 $as_echo_n "checking if we can lock with hard links... " >&6; }
13929   hard_links=yes
13930   $RM conftest*
13931   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13932   touch conftest.a
13933   ln conftest.a conftest.b 2>&5 || hard_links=no
13934   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13936 $as_echo "$hard_links" >&6; }
13937   if test "$hard_links" = no; then
13938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13939 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13940     need_locks=warn
13941   fi
13942 else
13943   need_locks=no
13944 fi
13945
13946
13947
13948     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13949 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13950
13951   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13952   case $host_os in
13953   aix[4-9]*)
13954     # If we're using GNU nm, then we don't want the "-C" option.
13955     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13956     # Also, AIX nm treats weak defined symbols like other global defined
13957     # symbols, whereas GNU nm marks them as "W".
13958     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13959       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'
13960     else
13961       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'
13962     fi
13963     ;;
13964   pw32*)
13965     export_symbols_cmds_CXX="$ltdll_cmds"
13966   ;;
13967   cygwin* | mingw* | cegcc*)
13968     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'
13969   ;;
13970   *)
13971     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13972   ;;
13973   esac
13974   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13975
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13977 $as_echo "$ld_shlibs_CXX" >&6; }
13978 test "$ld_shlibs_CXX" = no && can_build_shared=no
13979
13980 with_gnu_ld_CXX=$with_gnu_ld
13981
13982
13983
13984
13985
13986
13987 #
13988 # Do we need to explicitly link libc?
13989 #
13990 case "x$archive_cmds_need_lc_CXX" in
13991 x|xyes)
13992   # Assume -lc should be added
13993   archive_cmds_need_lc_CXX=yes
13994
13995   if test "$enable_shared" = yes && test "$GCC" = yes; then
13996     case $archive_cmds_CXX in
13997     *'~'*)
13998       # FIXME: we may have to deal with multi-command sequences.
13999       ;;
14000     '$CC '*)
14001       # Test whether the compiler implicitly links with -lc since on some
14002       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14003       # to ld, don't add -lc before -lgcc.
14004       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14005 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14006 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14007   $as_echo_n "(cached) " >&6
14008 else
14009   $RM conftest*
14010         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14011
14012         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14013   (eval $ac_compile) 2>&5
14014   ac_status=$?
14015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14016   test $ac_status = 0; } 2>conftest.err; then
14017           soname=conftest
14018           lib=conftest
14019           libobjs=conftest.$ac_objext
14020           deplibs=
14021           wl=$lt_prog_compiler_wl_CXX
14022           pic_flag=$lt_prog_compiler_pic_CXX
14023           compiler_flags=-v
14024           linker_flags=-v
14025           verstring=
14026           output_objdir=.
14027           libname=conftest
14028           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14029           allow_undefined_flag_CXX=
14030           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14031   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14032   ac_status=$?
14033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14034   test $ac_status = 0; }
14035           then
14036             lt_cv_archive_cmds_need_lc_CXX=no
14037           else
14038             lt_cv_archive_cmds_need_lc_CXX=yes
14039           fi
14040           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14041         else
14042           cat conftest.err 1>&5
14043         fi
14044         $RM conftest*
14045
14046 fi
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14048 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14049       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14050       ;;
14051     esac
14052   fi
14053   ;;
14054 esac
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14120 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14121
14122 library_names_spec=
14123 libname_spec='lib$name'
14124 soname_spec=
14125 shrext_cmds=".so"
14126 postinstall_cmds=
14127 postuninstall_cmds=
14128 finish_cmds=
14129 finish_eval=
14130 shlibpath_var=
14131 shlibpath_overrides_runpath=unknown
14132 version_type=none
14133 dynamic_linker="$host_os ld.so"
14134 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14135 need_lib_prefix=unknown
14136 hardcode_into_libs=no
14137
14138 # when you set need_version to no, make sure it does not cause -set_version
14139 # flags to be left without arguments
14140 need_version=unknown
14141
14142 case $host_os in
14143 aix3*)
14144   version_type=linux
14145   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14146   shlibpath_var=LIBPATH
14147
14148   # AIX 3 has no versioning support, so we append a major version to the name.
14149   soname_spec='${libname}${release}${shared_ext}$major'
14150   ;;
14151
14152 aix[4-9]*)
14153   version_type=linux
14154   need_lib_prefix=no
14155   need_version=no
14156   hardcode_into_libs=yes
14157   if test "$host_cpu" = ia64; then
14158     # AIX 5 supports IA64
14159     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14160     shlibpath_var=LD_LIBRARY_PATH
14161   else
14162     # With GCC up to 2.95.x, collect2 would create an import file
14163     # for dependence libraries.  The import file would start with
14164     # the line `#! .'.  This would cause the generated library to
14165     # depend on `.', always an invalid library.  This was fixed in
14166     # development snapshots of GCC prior to 3.0.
14167     case $host_os in
14168       aix4 | aix4.[01] | aix4.[01].*)
14169       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14170            echo ' yes '
14171            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14172         :
14173       else
14174         can_build_shared=no
14175       fi
14176       ;;
14177     esac
14178     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14179     # soname into executable. Probably we can add versioning support to
14180     # collect2, so additional links can be useful in future.
14181     if test "$aix_use_runtimelinking" = yes; then
14182       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14183       # instead of lib<name>.a to let people know that these are not
14184       # typical AIX shared libraries.
14185       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14186     else
14187       # We preserve .a as extension for shared libraries through AIX4.2
14188       # and later when we are not doing run time linking.
14189       library_names_spec='${libname}${release}.a $libname.a'
14190       soname_spec='${libname}${release}${shared_ext}$major'
14191     fi
14192     shlibpath_var=LIBPATH
14193   fi
14194   ;;
14195
14196 amigaos*)
14197   case $host_cpu in
14198   powerpc)
14199     # Since July 2007 AmigaOS4 officially supports .so libraries.
14200     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14201     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14202     ;;
14203   m68k)
14204     library_names_spec='$libname.ixlibrary $libname.a'
14205     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14206     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'
14207     ;;
14208   esac
14209   ;;
14210
14211 beos*)
14212   library_names_spec='${libname}${shared_ext}'
14213   dynamic_linker="$host_os ld.so"
14214   shlibpath_var=LIBRARY_PATH
14215   ;;
14216
14217 bsdi[45]*)
14218   version_type=linux
14219   need_version=no
14220   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221   soname_spec='${libname}${release}${shared_ext}$major'
14222   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14223   shlibpath_var=LD_LIBRARY_PATH
14224   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14225   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14226   # the default ld.so.conf also contains /usr/contrib/lib and
14227   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14228   # libtool to hard-code these into programs
14229   ;;
14230
14231 cygwin* | mingw* | pw32* | cegcc*)
14232   version_type=windows
14233   shrext_cmds=".dll"
14234   need_version=no
14235   need_lib_prefix=no
14236
14237   case $GCC,$host_os in
14238   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14239     library_names_spec='$libname.dll.a'
14240     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14241     postinstall_cmds='base_file=`basename \${file}`~
14242       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14243       dldir=$destdir/`dirname \$dlpath`~
14244       test -d \$dldir || mkdir -p \$dldir~
14245       $install_prog $dir/$dlname \$dldir/$dlname~
14246       chmod a+x \$dldir/$dlname~
14247       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14248         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14249       fi'
14250     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14251       dlpath=$dir/\$dldll~
14252        $RM \$dlpath'
14253     shlibpath_overrides_runpath=yes
14254
14255     case $host_os in
14256     cygwin*)
14257       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14258       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14259
14260       ;;
14261     mingw* | cegcc*)
14262       # MinGW DLLs use traditional 'lib' prefix
14263       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14264       ;;
14265     pw32*)
14266       # pw32 DLLs use 'pw' prefix rather than 'lib'
14267       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14268       ;;
14269     esac
14270     ;;
14271
14272   *)
14273     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14274     ;;
14275   esac
14276   dynamic_linker='Win32 ld.exe'
14277   # FIXME: first we should search . and the directory the executable is in
14278   shlibpath_var=PATH
14279   ;;
14280
14281 darwin* | rhapsody*)
14282   dynamic_linker="$host_os dyld"
14283   version_type=darwin
14284   need_lib_prefix=no
14285   need_version=no
14286   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14287   soname_spec='${libname}${release}${major}$shared_ext'
14288   shlibpath_overrides_runpath=yes
14289   shlibpath_var=DYLD_LIBRARY_PATH
14290   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14291
14292   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14293   ;;
14294
14295 dgux*)
14296   version_type=linux
14297   need_lib_prefix=no
14298   need_version=no
14299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14300   soname_spec='${libname}${release}${shared_ext}$major'
14301   shlibpath_var=LD_LIBRARY_PATH
14302   ;;
14303
14304 freebsd* | dragonfly*)
14305   # DragonFly does not have aout.  When/if they implement a new
14306   # versioning mechanism, adjust this.
14307   if test -x /usr/bin/objformat; then
14308     objformat=`/usr/bin/objformat`
14309   else
14310     case $host_os in
14311     freebsd[23].*) objformat=aout ;;
14312     *) objformat=elf ;;
14313     esac
14314   fi
14315   version_type=freebsd-$objformat
14316   case $version_type in
14317     freebsd-elf*)
14318       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14319       need_version=no
14320       need_lib_prefix=no
14321       ;;
14322     freebsd-*)
14323       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14324       need_version=yes
14325       ;;
14326   esac
14327   shlibpath_var=LD_LIBRARY_PATH
14328   case $host_os in
14329   freebsd2.*)
14330     shlibpath_overrides_runpath=yes
14331     ;;
14332   freebsd3.[01]* | freebsdelf3.[01]*)
14333     shlibpath_overrides_runpath=yes
14334     hardcode_into_libs=yes
14335     ;;
14336   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14337   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14338     shlibpath_overrides_runpath=no
14339     hardcode_into_libs=yes
14340     ;;
14341   *) # from 4.6 on, and DragonFly
14342     shlibpath_overrides_runpath=yes
14343     hardcode_into_libs=yes
14344     ;;
14345   esac
14346   ;;
14347
14348 gnu*)
14349   version_type=linux
14350   need_lib_prefix=no
14351   need_version=no
14352   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14353   soname_spec='${libname}${release}${shared_ext}$major'
14354   shlibpath_var=LD_LIBRARY_PATH
14355   hardcode_into_libs=yes
14356   ;;
14357
14358 haiku*)
14359   version_type=linux
14360   need_lib_prefix=no
14361   need_version=no
14362   dynamic_linker="$host_os runtime_loader"
14363   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14364   soname_spec='${libname}${release}${shared_ext}$major'
14365   shlibpath_var=LIBRARY_PATH
14366   shlibpath_overrides_runpath=yes
14367   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14368   hardcode_into_libs=yes
14369   ;;
14370
14371 hpux9* | hpux10* | hpux11*)
14372   # Give a soname corresponding to the major version so that dld.sl refuses to
14373   # link against other versions.
14374   version_type=sunos
14375   need_lib_prefix=no
14376   need_version=no
14377   case $host_cpu in
14378   ia64*)
14379     shrext_cmds='.so'
14380     hardcode_into_libs=yes
14381     dynamic_linker="$host_os dld.so"
14382     shlibpath_var=LD_LIBRARY_PATH
14383     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14384     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14385     soname_spec='${libname}${release}${shared_ext}$major'
14386     if test "X$HPUX_IA64_MODE" = X32; then
14387       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14388     else
14389       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14390     fi
14391     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14392     ;;
14393   hppa*64*)
14394     shrext_cmds='.sl'
14395     hardcode_into_libs=yes
14396     dynamic_linker="$host_os dld.sl"
14397     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14398     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14399     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14400     soname_spec='${libname}${release}${shared_ext}$major'
14401     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14402     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14403     ;;
14404   *)
14405     shrext_cmds='.sl'
14406     dynamic_linker="$host_os dld.sl"
14407     shlibpath_var=SHLIB_PATH
14408     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14409     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14410     soname_spec='${libname}${release}${shared_ext}$major'
14411     ;;
14412   esac
14413   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14414   postinstall_cmds='chmod 555 $lib'
14415   # or fails outright, so override atomically:
14416   install_override_mode=555
14417   ;;
14418
14419 interix[3-9]*)
14420   version_type=linux
14421   need_lib_prefix=no
14422   need_version=no
14423   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14424   soname_spec='${libname}${release}${shared_ext}$major'
14425   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14426   shlibpath_var=LD_LIBRARY_PATH
14427   shlibpath_overrides_runpath=no
14428   hardcode_into_libs=yes
14429   ;;
14430
14431 irix5* | irix6* | nonstopux*)
14432   case $host_os in
14433     nonstopux*) version_type=nonstopux ;;
14434     *)
14435         if test "$lt_cv_prog_gnu_ld" = yes; then
14436                 version_type=linux
14437         else
14438                 version_type=irix
14439         fi ;;
14440   esac
14441   need_lib_prefix=no
14442   need_version=no
14443   soname_spec='${libname}${release}${shared_ext}$major'
14444   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14445   case $host_os in
14446   irix5* | nonstopux*)
14447     libsuff= shlibsuff=
14448     ;;
14449   *)
14450     case $LD in # libtool.m4 will add one of these switches to LD
14451     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14452       libsuff= shlibsuff= libmagic=32-bit;;
14453     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14454       libsuff=32 shlibsuff=N32 libmagic=N32;;
14455     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14456       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14457     *) libsuff= shlibsuff= libmagic=never-match;;
14458     esac
14459     ;;
14460   esac
14461   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14462   shlibpath_overrides_runpath=no
14463   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14464   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14465   hardcode_into_libs=yes
14466   ;;
14467
14468 # No shared lib support for Linux oldld, aout, or coff.
14469 linux*oldld* | linux*aout* | linux*coff*)
14470   dynamic_linker=no
14471   ;;
14472
14473 # This must be Linux ELF.
14474 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14475   version_type=linux
14476   need_lib_prefix=no
14477   need_version=no
14478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14479   soname_spec='${libname}${release}${shared_ext}$major'
14480   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14481   shlibpath_var=LD_LIBRARY_PATH
14482   shlibpath_overrides_runpath=no
14483
14484   # Some binutils ld are patched to set DT_RUNPATH
14485   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14486   $as_echo_n "(cached) " >&6
14487 else
14488   lt_cv_shlibpath_overrides_runpath=no
14489     save_LDFLAGS=$LDFLAGS
14490     save_libdir=$libdir
14491     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14492          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14493     if test x$gcc_no_link = xyes; then
14494   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14495 fi
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h.  */
14498
14499 int
14500 main ()
14501 {
14502
14503   ;
14504   return 0;
14505 }
14506 _ACEOF
14507 if ac_fn_cxx_try_link "$LINENO"; then :
14508   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14509   lt_cv_shlibpath_overrides_runpath=yes
14510 fi
14511 fi
14512 rm -f core conftest.err conftest.$ac_objext \
14513     conftest$ac_exeext conftest.$ac_ext
14514     LDFLAGS=$save_LDFLAGS
14515     libdir=$save_libdir
14516
14517 fi
14518
14519   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14520
14521   # This implies no fast_install, which is unacceptable.
14522   # Some rework will be needed to allow for fast_install
14523   # before this can be enabled.
14524   hardcode_into_libs=yes
14525
14526   # Append ld.so.conf contents to the search path
14527   if test -f /etc/ld.so.conf; then
14528     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' ' '`
14529     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14530   fi
14531
14532   # We used to test for /lib/ld.so.1 and disable shared libraries on
14533   # powerpc, because MkLinux only supported shared libraries with the
14534   # GNU dynamic linker.  Since this was broken with cross compilers,
14535   # most powerpc-linux boxes support dynamic linking these days and
14536   # people can always --disable-shared, the test was removed, and we
14537   # assume the GNU/Linux dynamic linker is in use.
14538   dynamic_linker='GNU/Linux ld.so'
14539   ;;
14540
14541 netbsd*)
14542   version_type=sunos
14543   need_lib_prefix=no
14544   need_version=no
14545   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14546     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14547     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14548     dynamic_linker='NetBSD (a.out) ld.so'
14549   else
14550     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14551     soname_spec='${libname}${release}${shared_ext}$major'
14552     dynamic_linker='NetBSD ld.elf_so'
14553   fi
14554   shlibpath_var=LD_LIBRARY_PATH
14555   shlibpath_overrides_runpath=yes
14556   hardcode_into_libs=yes
14557   ;;
14558
14559 newsos6)
14560   version_type=linux
14561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14562   shlibpath_var=LD_LIBRARY_PATH
14563   shlibpath_overrides_runpath=yes
14564   ;;
14565
14566 *nto* | *qnx*)
14567   version_type=qnx
14568   need_lib_prefix=no
14569   need_version=no
14570   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14571   soname_spec='${libname}${release}${shared_ext}$major'
14572   shlibpath_var=LD_LIBRARY_PATH
14573   shlibpath_overrides_runpath=no
14574   hardcode_into_libs=yes
14575   dynamic_linker='ldqnx.so'
14576   ;;
14577
14578 openbsd*)
14579   version_type=sunos
14580   sys_lib_dlsearch_path_spec="/usr/lib"
14581   need_lib_prefix=no
14582   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14583   case $host_os in
14584     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14585     *)                          need_version=no  ;;
14586   esac
14587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14588   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14589   shlibpath_var=LD_LIBRARY_PATH
14590   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14591     case $host_os in
14592       openbsd2.[89] | openbsd2.[89].*)
14593         shlibpath_overrides_runpath=no
14594         ;;
14595       *)
14596         shlibpath_overrides_runpath=yes
14597         ;;
14598       esac
14599   else
14600     shlibpath_overrides_runpath=yes
14601   fi
14602   ;;
14603
14604 os2*)
14605   libname_spec='$name'
14606   shrext_cmds=".dll"
14607   need_lib_prefix=no
14608   library_names_spec='$libname${shared_ext} $libname.a'
14609   dynamic_linker='OS/2 ld.exe'
14610   shlibpath_var=LIBPATH
14611   ;;
14612
14613 osf3* | osf4* | osf5*)
14614   version_type=osf
14615   need_lib_prefix=no
14616   need_version=no
14617   soname_spec='${libname}${release}${shared_ext}$major'
14618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14619   shlibpath_var=LD_LIBRARY_PATH
14620   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14621   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14622   ;;
14623
14624 rdos*)
14625   dynamic_linker=no
14626   ;;
14627
14628 solaris*)
14629   version_type=linux
14630   need_lib_prefix=no
14631   need_version=no
14632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14633   soname_spec='${libname}${release}${shared_ext}$major'
14634   shlibpath_var=LD_LIBRARY_PATH
14635   shlibpath_overrides_runpath=yes
14636   hardcode_into_libs=yes
14637   # ldd complains unless libraries are executable
14638   postinstall_cmds='chmod +x $lib'
14639   ;;
14640
14641 sunos4*)
14642   version_type=sunos
14643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14644   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14645   shlibpath_var=LD_LIBRARY_PATH
14646   shlibpath_overrides_runpath=yes
14647   if test "$with_gnu_ld" = yes; then
14648     need_lib_prefix=no
14649   fi
14650   need_version=yes
14651   ;;
14652
14653 sysv4 | sysv4.3*)
14654   version_type=linux
14655   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14656   soname_spec='${libname}${release}${shared_ext}$major'
14657   shlibpath_var=LD_LIBRARY_PATH
14658   case $host_vendor in
14659     sni)
14660       shlibpath_overrides_runpath=no
14661       need_lib_prefix=no
14662       runpath_var=LD_RUN_PATH
14663       ;;
14664     siemens)
14665       need_lib_prefix=no
14666       ;;
14667     motorola)
14668       need_lib_prefix=no
14669       need_version=no
14670       shlibpath_overrides_runpath=no
14671       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14672       ;;
14673   esac
14674   ;;
14675
14676 sysv4*MP*)
14677   if test -d /usr/nec ;then
14678     version_type=linux
14679     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14680     soname_spec='$libname${shared_ext}.$major'
14681     shlibpath_var=LD_LIBRARY_PATH
14682   fi
14683   ;;
14684
14685 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14686   version_type=freebsd-elf
14687   need_lib_prefix=no
14688   need_version=no
14689   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14690   soname_spec='${libname}${release}${shared_ext}$major'
14691   shlibpath_var=LD_LIBRARY_PATH
14692   shlibpath_overrides_runpath=yes
14693   hardcode_into_libs=yes
14694   if test "$with_gnu_ld" = yes; then
14695     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14696   else
14697     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14698     case $host_os in
14699       sco3.2v5*)
14700         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14701         ;;
14702     esac
14703   fi
14704   sys_lib_dlsearch_path_spec='/usr/lib'
14705   ;;
14706
14707 tpf*)
14708   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14709   version_type=linux
14710   need_lib_prefix=no
14711   need_version=no
14712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14713   shlibpath_var=LD_LIBRARY_PATH
14714   shlibpath_overrides_runpath=no
14715   hardcode_into_libs=yes
14716   ;;
14717
14718 uts4*)
14719   version_type=linux
14720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721   soname_spec='${libname}${release}${shared_ext}$major'
14722   shlibpath_var=LD_LIBRARY_PATH
14723   ;;
14724
14725 *)
14726   dynamic_linker=no
14727   ;;
14728 esac
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14730 $as_echo "$dynamic_linker" >&6; }
14731 test "$dynamic_linker" = no && can_build_shared=no
14732
14733 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14734 if test "$GCC" = yes; then
14735   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14736 fi
14737
14738 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14739   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14740 fi
14741 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14742   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14743 fi
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14783 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14784 hardcode_action_CXX=
14785 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14786    test -n "$runpath_var_CXX" ||
14787    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14788
14789   # We can hardcode non-existent directories.
14790   if test "$hardcode_direct_CXX" != no &&
14791      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14792      # have to relink, otherwise we might link with an installed library
14793      # when we should be linking with a yet-to-be-installed one
14794      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14795      test "$hardcode_minus_L_CXX" != no; then
14796     # Linking always hardcodes the temporary library directory.
14797     hardcode_action_CXX=relink
14798   else
14799     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14800     hardcode_action_CXX=immediate
14801   fi
14802 else
14803   # We cannot hardcode anything, or else we can only hardcode existing
14804   # directories.
14805   hardcode_action_CXX=unsupported
14806 fi
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14808 $as_echo "$hardcode_action_CXX" >&6; }
14809
14810 if test "$hardcode_action_CXX" = relink ||
14811    test "$inherit_rpath_CXX" = yes; then
14812   # Fast installation is not supported
14813   enable_fast_install=no
14814 elif test "$shlibpath_overrides_runpath" = yes ||
14815      test "$enable_shared" = no; then
14816   # Fast installation is not necessary
14817   enable_fast_install=needless
14818 fi
14819
14820
14821
14822
14823
14824
14825
14826   fi # test -n "$compiler"
14827
14828   CC=$lt_save_CC
14829   LDCXX=$LD
14830   LD=$lt_save_LD
14831   GCC=$lt_save_GCC
14832   with_gnu_ld=$lt_save_with_gnu_ld
14833   lt_cv_path_LDCXX=$lt_cv_path_LD
14834   lt_cv_path_LD=$lt_save_path_LD
14835   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14836   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14837 fi # test "$_lt_caught_CXX_error" != yes
14838
14839 ac_ext=c
14840 ac_cpp='$CPP $CPPFLAGS'
14841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857         ac_config_commands="$ac_config_commands libtool"
14858
14859
14860
14861
14862 # Only expand once:
14863
14864
14865
14866
14867
14868 case $host in
14869   *-cygwin* | *-mingw*)
14870     # 'host' will be top-level target in the case of a target lib,
14871     # we must compare to with_cross_host to decide if this is a native
14872     # or cross-compiler and select where to install dlls appropriately.
14873     if test -n "$with_cross_host" &&
14874         test x"$with_cross_host" != x"no"; then
14875       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14876     else
14877       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14878     fi
14879     ;;
14880   *)
14881     lt_host_flags=
14882     ;;
14883 esac
14884
14885
14886
14887
14888
14889
14890 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14891 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14892
14893 # Possibly disable most of the library.
14894 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14895 ## than just ignoring the results.  Faster /and/ more correct, win win.
14896
14897   # Check whether --enable-hosted-libstdcxx was given.
14898 if test "${enable_hosted_libstdcxx+set}" = set; then :
14899   enableval=$enable_hosted_libstdcxx;
14900 else
14901   case "$host" in
14902         arm*-*-symbianelf*)
14903             enable_hosted_libstdcxx=no
14904             ;;
14905         *)
14906             enable_hosted_libstdcxx=yes
14907             ;;
14908      esac
14909 fi
14910
14911   if test "$enable_hosted_libstdcxx" = no; then
14912     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14913 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14914     is_hosted=no
14915     hosted_define=0
14916     enable_abi_check=no
14917     enable_libstdcxx_pch=no
14918   else
14919     is_hosted=yes
14920     hosted_define=1
14921   fi
14922
14923
14924 cat >>confdefs.h <<_ACEOF
14925 #define _GLIBCXX_HOSTED $hosted_define
14926 _ACEOF
14927
14928
14929
14930 # Enable compiler support that doesn't require linking.
14931
14932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14933 $as_echo_n "checking for exception model to use... " >&6; }
14934
14935   ac_ext=cpp
14936 ac_cpp='$CXXCPP $CPPFLAGS'
14937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14940
14941    # Check whether --enable-sjlj-exceptions was given.
14942 if test "${enable_sjlj_exceptions+set}" = set; then :
14943   enableval=$enable_sjlj_exceptions;
14944       case "$enableval" in
14945        yes|no|auto) ;;
14946        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14947                         esac
14948
14949 else
14950   enable_sjlj_exceptions=auto
14951 fi
14952
14953
14954
14955   if test $enable_sjlj_exceptions = auto; then
14956     # Botheration.  Now we've got to detect the exception model.  Link tests
14957     # against libgcc.a are problematic since we've not been given proper -L
14958     # bits for single-tree newlib and libgloss.
14959     #
14960     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14961     cat > conftest.$ac_ext << EOF
14962 #line 14962 "configure"
14963 struct S { ~S(); };
14964 void bar();
14965 void foo()
14966 {
14967   S s;
14968   bar();
14969 }
14970 EOF
14971     old_CXXFLAGS="$CXXFLAGS"
14972     CXXFLAGS=-S
14973     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14974   (eval $ac_compile) 2>&5
14975   ac_status=$?
14976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14977   test $ac_status = 0; }; then
14978       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14979         enable_sjlj_exceptions=yes
14980       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14981         enable_sjlj_exceptions=no
14982       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14983         enable_sjlj_exceptions=no
14984       fi
14985     fi
14986     CXXFLAGS="$old_CXXFLAGS"
14987     rm -f conftest*
14988   fi
14989
14990   # This is a tad weird, for hysterical raisins.  We have to map
14991   # enable/disable to two different models.
14992   case $enable_sjlj_exceptions in
14993     yes)
14994
14995 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14996
14997       ac_exception_model_name=sjlj
14998       ;;
14999     no)
15000       ac_exception_model_name="call frame"
15001       ;;
15002     *)
15003       as_fn_error "unable to detect exception model" "$LINENO" 5
15004       ;;
15005   esac
15006  ac_ext=c
15007 ac_cpp='$CPP $CPPFLAGS'
15008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15011
15012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15013 $as_echo "$ac_exception_model_name" >&6; }
15014
15015
15016    # Check whether --enable-libstdcxx-pch was given.
15017 if test "${enable_libstdcxx_pch+set}" = set; then :
15018   enableval=$enable_libstdcxx_pch;
15019       case "$enableval" in
15020        yes|no) ;;
15021        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15022       esac
15023
15024 else
15025   enable_libstdcxx_pch=$is_hosted
15026 fi
15027
15028
15029   if test $enable_libstdcxx_pch = yes; then
15030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15031 $as_echo_n "checking for compiler with PCH support... " >&6; }
15032 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15033   $as_echo_n "(cached) " >&6
15034 else
15035   ac_save_CXXFLAGS="$CXXFLAGS"
15036        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15037
15038        ac_ext=cpp
15039 ac_cpp='$CXXCPP $CPPFLAGS'
15040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15043
15044        echo '#include <math.h>' > conftest.h
15045        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15046                           -o conftest.h.gch 1>&5 2>&1 &&
15047                 echo '#error "pch failed"' > conftest.h &&
15048           echo '#include "conftest.h"' > conftest.cc &&
15049                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15050        then
15051          glibcxx_cv_prog_CXX_pch=yes
15052        else
15053          glibcxx_cv_prog_CXX_pch=no
15054        fi
15055        rm -f conftest*
15056        CXXFLAGS=$ac_save_CXXFLAGS
15057        ac_ext=c
15058 ac_cpp='$CPP $CPPFLAGS'
15059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15062
15063
15064 fi
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15066 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15067     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15068   fi
15069
15070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15071 $as_echo_n "checking for enabled PCH... " >&6; }
15072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15073 $as_echo "$enable_libstdcxx_pch" >&6; }
15074
15075
15076   if test $enable_libstdcxx_pch = yes; then
15077     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15078   else
15079     glibcxx_PCHFLAGS=""
15080   fi
15081
15082
15083
15084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15085 $as_echo_n "checking for thread model used by GCC... " >&6; }
15086   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15088 $as_echo "$target_thread_file" >&6; }
15089
15090
15091
15092   ac_ext=cpp
15093 ac_cpp='$CXXCPP $CPPFLAGS'
15094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15097
15098   old_CXXFLAGS="$CXXFLAGS"
15099
15100   # Do link tests if possible, instead asm tests, limited to some platforms
15101   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15102   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15103   atomic_builtins_link_tests=no
15104   if test x$gcc_no_link != xyes; then
15105     # Can do link tests. Limit to some tested platforms
15106     case "$host" in
15107       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15108         atomic_builtins_link_tests=yes
15109         ;;
15110     esac
15111   fi
15112
15113   if test x$atomic_builtins_link_tests = xyes; then
15114
15115   # Do link tests.
15116
15117   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15118
15119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15120 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15121   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15122   $as_echo_n "(cached) " >&6
15123 else
15124
15125     if test x$gcc_no_link = xyes; then
15126   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15127 fi
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h.  */
15130
15131 int
15132 main ()
15133 {
15134 typedef bool atomic_type;
15135        atomic_type c1;
15136        atomic_type c2;
15137        atomic_type c3(0);
15138        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15139        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15140                                    __ATOMIC_RELAXED);
15141        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15142        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15143
15144   ;
15145   return 0;
15146 }
15147 _ACEOF
15148 if ac_fn_cxx_try_link "$LINENO"; then :
15149   glibcxx_cv_atomic_bool=yes
15150 else
15151   glibcxx_cv_atomic_bool=no
15152 fi
15153 rm -f core conftest.err conftest.$ac_objext \
15154     conftest$ac_exeext conftest.$ac_ext
15155
15156 fi
15157
15158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15159 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15160
15161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15162 $as_echo_n "checking for atomic builtins for short... " >&6; }
15163   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15164   $as_echo_n "(cached) " >&6
15165 else
15166
15167     if test x$gcc_no_link = xyes; then
15168   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15169 fi
15170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h.  */
15172
15173 int
15174 main ()
15175 {
15176 typedef short atomic_type;
15177        atomic_type c1;
15178        atomic_type c2;
15179        atomic_type c3(0);
15180        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15181        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15182                                    __ATOMIC_RELAXED);
15183        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15184        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15185
15186   ;
15187   return 0;
15188 }
15189 _ACEOF
15190 if ac_fn_cxx_try_link "$LINENO"; then :
15191   glibcxx_cv_atomic_short=yes
15192 else
15193   glibcxx_cv_atomic_short=no
15194 fi
15195 rm -f core conftest.err conftest.$ac_objext \
15196     conftest$ac_exeext conftest.$ac_ext
15197
15198 fi
15199
15200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15201 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15202
15203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15204 $as_echo_n "checking for atomic builtins for int... " >&6; }
15205   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15206   $as_echo_n "(cached) " >&6
15207 else
15208
15209     if test x$gcc_no_link = xyes; then
15210   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15211 fi
15212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h.  */
15214
15215 int
15216 main ()
15217 {
15218 typedef int atomic_type;
15219        atomic_type c1;
15220        atomic_type c2;
15221        atomic_type c3(0);
15222        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15223        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15224                                    __ATOMIC_RELAXED);
15225        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15226        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15227
15228   ;
15229   return 0;
15230 }
15231 _ACEOF
15232 if ac_fn_cxx_try_link "$LINENO"; then :
15233   glibcxx_cv_atomic_int=yes
15234 else
15235   glibcxx_cv_atomic_int=no
15236 fi
15237 rm -f core conftest.err conftest.$ac_objext \
15238     conftest$ac_exeext conftest.$ac_ext
15239
15240 fi
15241
15242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15243 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15244
15245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15246 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15247   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15248   $as_echo_n "(cached) " >&6
15249 else
15250
15251     if test x$gcc_no_link = xyes; then
15252   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15253 fi
15254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15255 /* end confdefs.h.  */
15256
15257 int
15258 main ()
15259 {
15260 typedef long long atomic_type;
15261        atomic_type c1;
15262        atomic_type c2;
15263        atomic_type c3(0);
15264        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15265        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15266                                    __ATOMIC_RELAXED);
15267        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15268        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15269
15270   ;
15271   return 0;
15272 }
15273 _ACEOF
15274 if ac_fn_cxx_try_link "$LINENO"; then :
15275   glibcxx_cv_atomic_long_long=yes
15276 else
15277   glibcxx_cv_atomic_long_long=no
15278 fi
15279 rm -f core conftest.err conftest.$ac_objext \
15280     conftest$ac_exeext conftest.$ac_ext
15281
15282 fi
15283
15284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15285 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15286
15287   else
15288
15289   # Do asm tests.
15290
15291   # Compile unoptimized.
15292   CXXFLAGS='-O0 -S'
15293
15294   # Fake what AC_TRY_COMPILE does.
15295
15296     cat > conftest.$ac_ext << EOF
15297 #line 15297 "configure"
15298 int main()
15299 {
15300   typedef bool atomic_type;
15301   atomic_type c1;
15302   atomic_type c2;
15303   atomic_type c3(0);
15304   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15305   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15306                               __ATOMIC_RELAXED);
15307   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15308   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15309
15310   return 0;
15311 }
15312 EOF
15313
15314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15315 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15316     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15317   (eval $ac_compile) 2>&5
15318   ac_status=$?
15319   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15320   test $ac_status = 0; }; then
15321       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15322         glibcxx_cv_atomic_bool=no
15323       else
15324         glibcxx_cv_atomic_bool=yes
15325       fi
15326     fi
15327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15328 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15329     rm -f conftest*
15330
15331     cat > conftest.$ac_ext << EOF
15332 #line 15332 "configure"
15333 int main()
15334 {
15335   typedef short atomic_type;
15336   atomic_type c1;
15337   atomic_type c2;
15338   atomic_type c3(0);
15339   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15340   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15341                               __ATOMIC_RELAXED);
15342   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15343   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15344
15345   return 0;
15346 }
15347 EOF
15348
15349     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15350 $as_echo_n "checking for atomic builtins for short... " >&6; }
15351     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15352   (eval $ac_compile) 2>&5
15353   ac_status=$?
15354   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15355   test $ac_status = 0; }; then
15356       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15357         glibcxx_cv_atomic_short=no
15358       else
15359         glibcxx_cv_atomic_short=yes
15360       fi
15361     fi
15362     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15363 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15364     rm -f conftest*
15365
15366     cat > conftest.$ac_ext << EOF
15367 #line 15367 "configure"
15368 int main()
15369 {
15370   // NB: _Atomic_word not necessarily int.
15371   typedef int atomic_type;
15372   atomic_type c1;
15373   atomic_type c2;
15374   atomic_type c3(0);
15375   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15376   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15377                               __ATOMIC_RELAXED);
15378   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15379   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15380
15381   return 0;
15382 }
15383 EOF
15384
15385     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15386 $as_echo_n "checking for atomic builtins for int... " >&6; }
15387     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15388   (eval $ac_compile) 2>&5
15389   ac_status=$?
15390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15391   test $ac_status = 0; }; then
15392       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15393         glibcxx_cv_atomic_int=no
15394       else
15395         glibcxx_cv_atomic_int=yes
15396       fi
15397     fi
15398     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15399 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15400     rm -f conftest*
15401
15402     cat > conftest.$ac_ext << EOF
15403 #line 15403 "configure"
15404 int main()
15405 {
15406   typedef long long atomic_type;
15407   atomic_type c1;
15408   atomic_type c2;
15409   atomic_type c3(0);
15410   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15411   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15412                               __ATOMIC_RELAXED);
15413   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15414   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15415
15416   return 0;
15417 }
15418 EOF
15419
15420     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15421 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15422     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15423   (eval $ac_compile) 2>&5
15424   ac_status=$?
15425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426   test $ac_status = 0; }; then
15427       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15428         glibcxx_cv_atomic_long_long=no
15429       else
15430         glibcxx_cv_atomic_long_long=yes
15431       fi
15432     fi
15433     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15434 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15435     rm -f conftest*
15436
15437   fi
15438
15439   CXXFLAGS="$old_CXXFLAGS"
15440   ac_ext=c
15441 ac_cpp='$CPP $CPPFLAGS'
15442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15445
15446
15447   # Set atomicity_dir to builtins if all of above tests pass.
15448   if test $glibcxx_cv_atomic_bool = yes \
15449      && test $glibcxx_cv_atomic_short = yes \
15450      && test $glibcxx_cv_atomic_int = yes \
15451      && test $glibcxx_cv_atomic_long_long = yes ; then
15452
15453 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15454
15455     atomicity_dir=cpu/generic/atomicity_builtins
15456   fi
15457
15458   # If still generic, set to mutex.
15459   if test $atomicity_dir = "cpu/generic" ; then
15460     atomicity_dir=cpu/generic/atomicity_mutex
15461     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15462 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15463       if test "x$target_thread_file" = xsingle; then
15464         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15465 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15466         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15467 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15468       else
15469         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15470 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15471         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15472 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15473       fi
15474   fi
15475
15476
15477
15478
15479   # Fake what AC_TRY_COMPILE does, without linking as this is
15480   # unnecessary for this test.
15481
15482     cat > conftest.$ac_ext << EOF
15483 #line 15483 "configure"
15484 int main()
15485 {
15486   _Decimal32 d1;
15487   _Decimal64 d2;
15488   _Decimal128 d3;
15489   return 0;
15490 }
15491 EOF
15492
15493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15494 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15495     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15496   (eval $ac_compile) 2>&5
15497   ac_status=$?
15498   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15499   test $ac_status = 0; }; then
15500
15501 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15502
15503       enable_dfp=yes
15504     else
15505       enable_dfp=no
15506     fi
15507     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15508 $as_echo "$enable_dfp" >&6; }
15509     rm -f conftest*
15510
15511
15512
15513
15514   ac_ext=cpp
15515 ac_cpp='$CXXCPP $CPPFLAGS'
15516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15519
15520
15521   # Fake what AC_TRY_COMPILE does, without linking as this is
15522   # unnecessary for this test.
15523
15524     cat > conftest.$ac_ext << EOF
15525 #line 15525 "configure"
15526 template<typename T1, typename T2>
15527   struct same
15528   { typedef T2 type; };
15529
15530 template<typename T>
15531   struct same<T, T>;
15532
15533 int main()
15534 {
15535   typename same<long, __int128>::type                i1;
15536   typename same<long long, __int128>::type           i2;
15537 }
15538 EOF
15539
15540     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15541 $as_echo_n "checking for __int128... " >&6; }
15542     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15543   (eval $ac_compile) 2>&5
15544   ac_status=$?
15545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15546   test $ac_status = 0; }; then
15547
15548 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15549
15550       enable_int128=yes
15551     else
15552       enable_int128=no
15553     fi
15554     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15555 $as_echo "$enable_int128" >&6; }
15556     rm -f conftest*
15557
15558     cat > conftest.$ac_ext << EOF
15559 #line 15559 "configure"
15560 template<typename T1, typename T2>
15561   struct same
15562   { typedef T2 type; };
15563
15564 template<typename T>
15565   struct same<T, T>;
15566
15567 int main()
15568 {
15569   typename same<double, __float128>::type      f1;
15570   typename same<long double, __float128>::type f2;
15571 }
15572 EOF
15573
15574     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15575 $as_echo_n "checking for __float128... " >&6; }
15576     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15577   (eval $ac_compile) 2>&5
15578   ac_status=$?
15579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15580   test $ac_status = 0; }; then
15581
15582 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15583
15584       enable_float128=yes
15585     else
15586       enable_float128=no
15587     fi
15588     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15589 $as_echo "$enable_float128" >&6; }
15590     rm -f conftest*
15591
15592   ac_ext=c
15593 ac_cpp='$CPP $CPPFLAGS'
15594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15597
15598
15599
15600 # Checks for compiler support that doesn't require linking.
15601
15602   # All these tests are for C++; save the language and the compiler flags.
15603   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15604   # found in GLIBCXX_CONFIGURE.
15605
15606   ac_ext=cpp
15607 ac_cpp='$CXXCPP $CPPFLAGS'
15608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15611
15612   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15613   ac_save_CXXFLAGS="$CXXFLAGS"
15614
15615   # Check for maintainer-mode bits.
15616   if test x"$USE_MAINTAINER_MODE" = xno; then
15617     WERROR=''
15618   else
15619     WERROR='-Werror'
15620   fi
15621
15622   # Check for -ffunction-sections -fdata-sections
15623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15624 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15625   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h.  */
15628 int foo; void bar() { };
15629 int
15630 main ()
15631 {
15632
15633   ;
15634   return 0;
15635 }
15636 _ACEOF
15637 if ac_fn_cxx_try_compile "$LINENO"; then :
15638   ac_fdsections=yes
15639 else
15640   ac_fdsections=no
15641 fi
15642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15643   if test "$ac_test_CXXFLAGS" = set; then
15644     CXXFLAGS="$ac_save_CXXFLAGS"
15645   else
15646     # this is the suspicious part
15647     CXXFLAGS=''
15648   fi
15649   if test x"$ac_fdsections" = x"yes"; then
15650     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15651   fi
15652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15653 $as_echo "$ac_fdsections" >&6; }
15654
15655   ac_ext=c
15656 ac_cpp='$CPP $CPPFLAGS'
15657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15660
15661
15662
15663
15664
15665 # Enable all the variable C++ runtime options that don't require linking.
15666
15667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15668 $as_echo_n "checking for underlying I/O to use... " >&6; }
15669    # Check whether --enable-cstdio was given.
15670 if test "${enable_cstdio+set}" = set; then :
15671   enableval=$enable_cstdio;
15672       case "$enableval" in
15673        stdio) ;;
15674        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15675                         esac
15676
15677 else
15678   enable_cstdio=stdio
15679 fi
15680
15681
15682
15683   # Now that libio has been removed, you can have any color you want as long
15684   # as it's black.  This is one big no-op until other packages are added, but
15685   # showing the framework never hurts.
15686   case ${enable_cstdio} in
15687     stdio)
15688       CSTDIO_H=config/io/c_io_stdio.h
15689       BASIC_FILE_H=config/io/basic_file_stdio.h
15690       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15691       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15692 $as_echo "stdio" >&6; }
15693       ;;
15694   esac
15695
15696
15697
15698
15699
15700
15701    # Check whether --enable-clocale was given.
15702 if test "${enable_clocale+set}" = set; then :
15703   enableval=$enable_clocale;
15704       case "$enableval" in
15705        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15706        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15707                         esac
15708
15709 else
15710   enable_clocale=auto
15711 fi
15712
15713
15714
15715   # Deal with gettext issues.  Default to not using it (=no) until we detect
15716   # support for it later.  Let the user turn it off via --e/d, but let that
15717   # default to on for easier handling.
15718   USE_NLS=no
15719   # Check whether --enable-nls was given.
15720 if test "${enable_nls+set}" = set; then :
15721   enableval=$enable_nls;
15722 else
15723   enable_nls=yes
15724 fi
15725
15726
15727   # Either a known package, or "auto"
15728   if test $enable_clocale = no || test $enable_clocale = yes; then
15729      enable_clocale=auto
15730   fi
15731   enable_clocale_flag=$enable_clocale
15732
15733   # Probe for locale model to use if none specified.
15734   # Default to "generic".
15735   if test $enable_clocale_flag = auto; then
15736     case ${target_os} in
15737       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15738         enable_clocale_flag=gnu
15739         ;;
15740       darwin* | freebsd*)
15741         enable_clocale_flag=darwin
15742         ;;
15743       *)
15744         if test x"$with_newlib" = x"yes"; then
15745           enable_clocale_flag=newlib
15746         else
15747           enable_clocale_flag=generic
15748         fi
15749         ;;
15750     esac
15751   fi
15752
15753   # Sanity check model, and test for special functionality.
15754   if test $enable_clocale_flag = gnu; then
15755     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15756 /* end confdefs.h.  */
15757
15758     #include <features.h>
15759     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15760       _GLIBCXX_ok
15761     #endif
15762
15763 _ACEOF
15764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15765   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15766   enable_clocale_flag=gnu
15767 else
15768   enable_clocale_flag=generic
15769 fi
15770 rm -f conftest*
15771
15772
15773     # Set it to scream when it hurts.
15774     ac_save_CFLAGS="$CFLAGS"
15775     CFLAGS="-Wimplicit-function-declaration -Werror"
15776
15777     # Use strxfrm_l if available.
15778     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15779 /* end confdefs.h.  */
15780 #define _GNU_SOURCE 1
15781                     #include <string.h>
15782                     #include <locale.h>
15783 int
15784 main ()
15785 {
15786 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15787   ;
15788   return 0;
15789 }
15790 _ACEOF
15791 if ac_fn_c_try_compile "$LINENO"; then :
15792
15793 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15794
15795 fi
15796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15797
15798     # Use strerror_l if available.
15799     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h.  */
15801 #define _GNU_SOURCE 1
15802                     #include <string.h>
15803                     #include <locale.h>
15804 int
15805 main ()
15806 {
15807 __locale_t loc; strerror_l(5, loc);
15808   ;
15809   return 0;
15810 }
15811 _ACEOF
15812 if ac_fn_c_try_compile "$LINENO"; then :
15813
15814 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15815
15816 fi
15817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15818
15819     CFLAGS="$ac_save_CFLAGS"
15820   fi
15821
15822   # Perhaps use strerror_r if available, and strerror_l isn't.
15823   ac_save_CFLAGS="$CFLAGS"
15824   CFLAGS="-Wimplicit-function-declaration -Werror"
15825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15826 /* end confdefs.h.  */
15827 #define _GNU_SOURCE 1
15828                   #include <string.h>
15829                   #include <locale.h>
15830 int
15831 main ()
15832 {
15833 char s[128]; strerror_r(5, s, 128);
15834   ;
15835   return 0;
15836 }
15837 _ACEOF
15838 if ac_fn_c_try_compile "$LINENO"; then :
15839
15840 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15841
15842 fi
15843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15844   CFLAGS="$ac_save_CFLAGS"
15845
15846   # Set configure bits for specified locale package
15847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15848 $as_echo_n "checking for C locale to use... " >&6; }
15849   case ${enable_clocale_flag} in
15850     generic)
15851       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15852 $as_echo "generic" >&6; }
15853
15854       CLOCALE_H=config/locale/generic/c_locale.h
15855       CLOCALE_CC=config/locale/generic/c_locale.cc
15856       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15857       CCOLLATE_CC=config/locale/generic/collate_members.cc
15858       CCTYPE_CC=config/locale/generic/ctype_members.cc
15859       CMESSAGES_H=config/locale/generic/messages_members.h
15860       CMESSAGES_CC=config/locale/generic/messages_members.cc
15861       CMONEY_CC=config/locale/generic/monetary_members.cc
15862       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15863       CTIME_H=config/locale/generic/time_members.h
15864       CTIME_CC=config/locale/generic/time_members.cc
15865       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15866       ;;
15867     darwin)
15868       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15869 $as_echo "darwin or freebsd" >&6; }
15870
15871       CLOCALE_H=config/locale/generic/c_locale.h
15872       CLOCALE_CC=config/locale/generic/c_locale.cc
15873       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15874       CCOLLATE_CC=config/locale/generic/collate_members.cc
15875       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15876       CMESSAGES_H=config/locale/generic/messages_members.h
15877       CMESSAGES_CC=config/locale/generic/messages_members.cc
15878       CMONEY_CC=config/locale/generic/monetary_members.cc
15879       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15880       CTIME_H=config/locale/generic/time_members.h
15881       CTIME_CC=config/locale/generic/time_members.cc
15882       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15883       ;;
15884
15885     gnu)
15886       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15887 $as_echo "gnu" >&6; }
15888
15889       # Declare intention to use gettext, and add support for specific
15890       # languages.
15891       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15892       ALL_LINGUAS="de fr"
15893
15894       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15895       # Extract the first word of "msgfmt", so it can be a program name with args.
15896 set dummy msgfmt; ac_word=$2
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15898 $as_echo_n "checking for $ac_word... " >&6; }
15899 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15900   $as_echo_n "(cached) " >&6
15901 else
15902   if test -n "$check_msgfmt"; then
15903   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15904 else
15905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15906 for as_dir in $PATH
15907 do
15908   IFS=$as_save_IFS
15909   test -z "$as_dir" && as_dir=.
15910     for ac_exec_ext in '' $ac_executable_extensions; do
15911   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15912     ac_cv_prog_check_msgfmt="yes"
15913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15914     break 2
15915   fi
15916 done
15917   done
15918 IFS=$as_save_IFS
15919
15920   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15921 fi
15922 fi
15923 check_msgfmt=$ac_cv_prog_check_msgfmt
15924 if test -n "$check_msgfmt"; then
15925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15926 $as_echo "$check_msgfmt" >&6; }
15927 else
15928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15929 $as_echo "no" >&6; }
15930 fi
15931
15932
15933       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15934         USE_NLS=yes
15935       fi
15936       # Export the build objects.
15937       for ling in $ALL_LINGUAS; do \
15938         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15939         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15940       done
15941
15942
15943
15944       CLOCALE_H=config/locale/gnu/c_locale.h
15945       CLOCALE_CC=config/locale/gnu/c_locale.cc
15946       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15947       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15948       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15949       CMESSAGES_H=config/locale/gnu/messages_members.h
15950       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15951       CMONEY_CC=config/locale/gnu/monetary_members.cc
15952       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15953       CTIME_H=config/locale/gnu/time_members.h
15954       CTIME_CC=config/locale/gnu/time_members.cc
15955       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15956       ;;
15957     ieee_1003.1-2001)
15958       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15959 $as_echo "IEEE 1003.1" >&6; }
15960
15961       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15962       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15963       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15964       CCOLLATE_CC=config/locale/generic/collate_members.cc
15965       CCTYPE_CC=config/locale/generic/ctype_members.cc
15966       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15967       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15968       CMONEY_CC=config/locale/generic/monetary_members.cc
15969       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15970       CTIME_H=config/locale/generic/time_members.h
15971       CTIME_CC=config/locale/generic/time_members.cc
15972       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15973       ;;
15974     newlib)
15975       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15976 $as_echo "newlib" >&6; }
15977
15978       CLOCALE_H=config/locale/generic/c_locale.h
15979       CLOCALE_CC=config/locale/generic/c_locale.cc
15980       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15981       CCOLLATE_CC=config/locale/generic/collate_members.cc
15982       CCTYPE_CC=config/locale/newlib/ctype_members.cc
15983       CMESSAGES_H=config/locale/generic/messages_members.h
15984       CMESSAGES_CC=config/locale/generic/messages_members.cc
15985       CMONEY_CC=config/locale/generic/monetary_members.cc
15986       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15987       CTIME_H=config/locale/generic/time_members.h
15988       CTIME_CC=config/locale/generic/time_members.cc
15989       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15990       ;;
15991   esac
15992
15993   # This is where the testsuite looks for locale catalogs, using the
15994   # -DLOCALEDIR define during testsuite compilation.
15995   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15996
15997
15998   # A standalone libintl (e.g., GNU libintl) may be in use.
15999   if test $USE_NLS = yes; then
16000     for ac_header in libintl.h
16001 do :
16002   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16003 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16004   cat >>confdefs.h <<_ACEOF
16005 #define HAVE_LIBINTL_H 1
16006 _ACEOF
16007
16008 else
16009   USE_NLS=no
16010 fi
16011
16012 done
16013
16014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16015 $as_echo_n "checking for library containing gettext... " >&6; }
16016 if test "${ac_cv_search_gettext+set}" = set; then :
16017   $as_echo_n "(cached) " >&6
16018 else
16019   ac_func_search_save_LIBS=$LIBS
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h.  */
16022
16023 /* Override any GCC internal prototype to avoid an error.
16024    Use char because int might match the return type of a GCC
16025    builtin and then its argument prototype would still apply.  */
16026 #ifdef __cplusplus
16027 extern "C"
16028 #endif
16029 char gettext ();
16030 int
16031 main ()
16032 {
16033 return gettext ();
16034   ;
16035   return 0;
16036 }
16037 _ACEOF
16038 for ac_lib in '' intl; do
16039   if test -z "$ac_lib"; then
16040     ac_res="none required"
16041   else
16042     ac_res=-l$ac_lib
16043     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16044   fi
16045   if test x$gcc_no_link = xyes; then
16046   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16047 fi
16048 if ac_fn_c_try_link "$LINENO"; then :
16049   ac_cv_search_gettext=$ac_res
16050 fi
16051 rm -f core conftest.err conftest.$ac_objext \
16052     conftest$ac_exeext
16053   if test "${ac_cv_search_gettext+set}" = set; then :
16054   break
16055 fi
16056 done
16057 if test "${ac_cv_search_gettext+set}" = set; then :
16058
16059 else
16060   ac_cv_search_gettext=no
16061 fi
16062 rm conftest.$ac_ext
16063 LIBS=$ac_func_search_save_LIBS
16064 fi
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16066 $as_echo "$ac_cv_search_gettext" >&6; }
16067 ac_res=$ac_cv_search_gettext
16068 if test "$ac_res" != no; then :
16069   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16070
16071 else
16072   USE_NLS=no
16073 fi
16074
16075   fi
16076   if test $USE_NLS = yes; then
16077
16078 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16079
16080   fi
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16098 $as_echo_n "checking for std::allocator base class... " >&6; }
16099    # Check whether --enable-libstdcxx-allocator was given.
16100 if test "${enable_libstdcxx_allocator+set}" = set; then :
16101   enableval=$enable_libstdcxx_allocator;
16102       case "$enableval" in
16103        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16104        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16105                         esac
16106
16107 else
16108   enable_libstdcxx_allocator=auto
16109 fi
16110
16111
16112
16113   # If they didn't use this option switch, or if they specified --enable
16114   # with no specific model, we'll have to look for one.  If they
16115   # specified --disable (???), do likewise.
16116   if test $enable_libstdcxx_allocator = no ||
16117      test $enable_libstdcxx_allocator = yes;
16118   then
16119      enable_libstdcxx_allocator=auto
16120   fi
16121
16122   # Either a known package, or "auto". Auto implies the default choice
16123   # for a particular platform.
16124   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16125
16126   # Probe for host-specific support if no specific model is specified.
16127   # Default to "new".
16128   if test $enable_libstdcxx_allocator_flag = auto; then
16129     case ${target_os} in
16130       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16131         enable_libstdcxx_allocator_flag=new
16132         ;;
16133       *)
16134         enable_libstdcxx_allocator_flag=new
16135         ;;
16136     esac
16137   fi
16138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16139 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16140
16141
16142   # Set configure bits for specified locale package
16143   case ${enable_libstdcxx_allocator_flag} in
16144     bitmap)
16145       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16146       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16147       ;;
16148     malloc)
16149       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16150       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16151       ;;
16152     mt)
16153       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16154       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16155       ;;
16156     new)
16157       ALLOCATOR_H=config/allocator/new_allocator_base.h
16158       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16159       ;;
16160     pool)
16161       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16162       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16163       ;;
16164   esac
16165
16166
16167
16168
16169
16170    # Check whether --enable-cheaders was given.
16171 if test "${enable_cheaders+set}" = set; then :
16172   enableval=$enable_cheaders;
16173       case "$enableval" in
16174        c|c_std|c_global) ;;
16175        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16176                         esac
16177
16178 else
16179   enable_cheaders=$c_model
16180 fi
16181
16182
16183   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16184 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16185
16186   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16187
16188   # Allow overrides to configure.host here.
16189   if test $enable_cheaders = c_global; then
16190      c_compatibility=yes
16191   fi
16192
16193
16194
16195
16196
16197
16198
16199    # Check whether --enable-long-long was given.
16200 if test "${enable_long_long+set}" = set; then :
16201   enableval=$enable_long_long;
16202       case "$enableval" in
16203        yes|no) ;;
16204        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16205       esac
16206
16207 else
16208   enable_long_long=yes
16209 fi
16210
16211
16212   if test $enable_long_long = yes; then
16213
16214 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16215
16216   fi
16217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16218 $as_echo_n "checking for enabled long long specializations... " >&6; }
16219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16220 $as_echo "$enable_long_long" >&6; }
16221
16222
16223    # Check whether --enable-wchar_t was given.
16224 if test "${enable_wchar_t+set}" = set; then :
16225   enableval=$enable_wchar_t;
16226       case "$enableval" in
16227        yes|no) ;;
16228        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16229       esac
16230
16231 else
16232   enable_wchar_t=yes
16233 fi
16234
16235
16236
16237   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16238   for ac_header in wchar.h
16239 do :
16240   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16241 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16242   cat >>confdefs.h <<_ACEOF
16243 #define HAVE_WCHAR_H 1
16244 _ACEOF
16245  ac_has_wchar_h=yes
16246 else
16247   ac_has_wchar_h=no
16248 fi
16249
16250 done
16251
16252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16253 $as_echo_n "checking for mbstate_t... " >&6; }
16254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h.  */
16256 #include <wchar.h>
16257 int
16258 main ()
16259 {
16260 mbstate_t teststate;
16261   ;
16262   return 0;
16263 }
16264 _ACEOF
16265 if ac_fn_c_try_compile "$LINENO"; then :
16266   have_mbstate_t=yes
16267 else
16268   have_mbstate_t=no
16269 fi
16270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16272 $as_echo "$have_mbstate_t" >&6; }
16273   if test x"$have_mbstate_t" = xyes; then
16274
16275 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16276
16277   fi
16278
16279   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16280   # ac_has_wchar_h.
16281   for ac_header in wctype.h
16282 do :
16283   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16284 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16285   cat >>confdefs.h <<_ACEOF
16286 #define HAVE_WCTYPE_H 1
16287 _ACEOF
16288  ac_has_wctype_h=yes
16289 else
16290   ac_has_wctype_h=no
16291 fi
16292
16293 done
16294
16295
16296   if test x"$enable_wchar_t" = x"yes"; then
16297
16298
16299     ac_ext=cpp
16300 ac_cpp='$CXXCPP $CPPFLAGS'
16301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16304
16305
16306     if test x"$ac_has_wchar_h" = xyes &&
16307        test x"$ac_has_wctype_h" = xyes; then
16308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h.  */
16310 #include <wchar.h>
16311                       #include <stddef.h>
16312                       wint_t i;
16313                       long l = WEOF;
16314                       long j = WCHAR_MIN;
16315                       long k = WCHAR_MAX;
16316                       namespace test
16317                       {
16318                         using ::btowc;
16319                         using ::fgetwc;
16320                         using ::fgetws;
16321                         using ::fputwc;
16322                         using ::fputws;
16323                         using ::fwide;
16324                         using ::fwprintf;
16325                         using ::fwscanf;
16326                         using ::getwc;
16327                         using ::getwchar;
16328                         using ::mbrlen;
16329                         using ::mbrtowc;
16330                         using ::mbsinit;
16331                         using ::mbsrtowcs;
16332                         using ::putwc;
16333                         using ::putwchar;
16334                         using ::swprintf;
16335                         using ::swscanf;
16336                         using ::ungetwc;
16337                         using ::vfwprintf;
16338                         using ::vswprintf;
16339                         using ::vwprintf;
16340                         using ::wcrtomb;
16341                         using ::wcscat;
16342                         using ::wcschr;
16343                         using ::wcscmp;
16344                         using ::wcscoll;
16345                         using ::wcscpy;
16346                         using ::wcscspn;
16347                         using ::wcsftime;
16348                         using ::wcslen;
16349                         using ::wcsncat;
16350                         using ::wcsncmp;
16351                         using ::wcsncpy;
16352                         using ::wcspbrk;
16353                         using ::wcsrchr;
16354                         using ::wcsrtombs;
16355                         using ::wcsspn;
16356                         using ::wcsstr;
16357                         using ::wcstod;
16358                         using ::wcstok;
16359                         using ::wcstol;
16360                         using ::wcstoul;
16361                         using ::wcsxfrm;
16362                         using ::wctob;
16363                         using ::wmemchr;
16364                         using ::wmemcmp;
16365                         using ::wmemcpy;
16366                         using ::wmemmove;
16367                         using ::wmemset;
16368                         using ::wprintf;
16369                         using ::wscanf;
16370                       }
16371
16372 int
16373 main ()
16374 {
16375
16376   ;
16377   return 0;
16378 }
16379 _ACEOF
16380 if ac_fn_cxx_try_compile "$LINENO"; then :
16381
16382 else
16383   enable_wchar_t=no
16384 fi
16385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16386     else
16387       enable_wchar_t=no
16388     fi
16389
16390     ac_ext=c
16391 ac_cpp='$CPP $CPPFLAGS'
16392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16395
16396   fi
16397
16398   if test x"$enable_wchar_t" = x"yes"; then
16399
16400 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16401
16402   fi
16403
16404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16405 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16407 $as_echo "$enable_wchar_t" >&6; }
16408
16409
16410
16411    # Check whether --enable-c99 was given.
16412 if test "${enable_c99+set}" = set; then :
16413   enableval=$enable_c99;
16414       case "$enableval" in
16415        yes|no) ;;
16416        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16417       esac
16418
16419 else
16420   enable_c99=yes
16421 fi
16422
16423
16424
16425   if test x"$enable_c99" = x"yes"; then
16426
16427
16428   ac_ext=cpp
16429 ac_cpp='$CXXCPP $CPPFLAGS'
16430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16433
16434
16435   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16436   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16437   # spuriously enabled.
16438   # Long term, -std=c++0x could be even better, could manage to explicitely
16439   # request C99 facilities to the underlying C headers.
16440   ac_save_CXXFLAGS="$CXXFLAGS"
16441   CXXFLAGS="$CXXFLAGS -std=c++98"
16442   ac_save_LIBS="$LIBS"
16443   ac_save_gcc_no_link="$gcc_no_link"
16444
16445   if test x$gcc_no_link != xyes; then
16446     # Use -fno-exceptions to that the C driver can link these tests without
16447     # hitting undefined references to personality routines.
16448     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16449     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16450 $as_echo_n "checking for sin in -lm... " >&6; }
16451 if test "${ac_cv_lib_m_sin+set}" = set; then :
16452   $as_echo_n "(cached) " >&6
16453 else
16454   ac_check_lib_save_LIBS=$LIBS
16455 LIBS="-lm  $LIBS"
16456 if test x$gcc_no_link = xyes; then
16457   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16458 fi
16459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h.  */
16461
16462 /* Override any GCC internal prototype to avoid an error.
16463    Use char because int might match the return type of a GCC
16464    builtin and then its argument prototype would still apply.  */
16465 #ifdef __cplusplus
16466 extern "C"
16467 #endif
16468 char sin ();
16469 int
16470 main ()
16471 {
16472 return sin ();
16473   ;
16474   return 0;
16475 }
16476 _ACEOF
16477 if ac_fn_cxx_try_link "$LINENO"; then :
16478   ac_cv_lib_m_sin=yes
16479 else
16480   ac_cv_lib_m_sin=no
16481 fi
16482 rm -f core conftest.err conftest.$ac_objext \
16483     conftest$ac_exeext conftest.$ac_ext
16484 LIBS=$ac_check_lib_save_LIBS
16485 fi
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16487 $as_echo "$ac_cv_lib_m_sin" >&6; }
16488 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16489
16490       LIBS="$LIBS -lm"
16491
16492 else
16493
16494       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16495       gcc_no_link=yes
16496
16497 fi
16498
16499   fi
16500
16501   # Check for the existence of <math.h> functions used if C99 is enabled.
16502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16503 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16504   if test "${glibcxx_cv_c99_math+set}" = set; then :
16505   $as_echo_n "(cached) " >&6
16506 else
16507
16508   if test x$gcc_no_link = xyes; then
16509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h.  */
16511 #include <math.h>
16512       volatile double d1, d2;
16513       volatile int i;
16514 int
16515 main ()
16516 {
16517 i = fpclassify(d1);
16518       i = isfinite(d1);
16519       i = isinf(d1);
16520       i = isnan(d1);
16521       i = isnormal(d1);
16522       i = signbit(d1);
16523       i = isgreater(d1, d2);
16524       i = isgreaterequal(d1, d2);
16525       i = isless(d1, d2);
16526       i = islessequal(d1, d2);
16527       i = islessgreater(d1, d2);
16528       i = islessgreater(d1, d2);
16529       i = isunordered(d1, d2);
16530
16531   ;
16532   return 0;
16533 }
16534 _ACEOF
16535 if ac_fn_cxx_try_compile "$LINENO"; then :
16536   glibcxx_cv_c99_math=yes
16537 else
16538   glibcxx_cv_c99_math=no
16539 fi
16540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16541 else
16542   if test x$gcc_no_link = xyes; then
16543   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16544 fi
16545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h.  */
16547 #include <math.h>
16548       volatile double d1, d2;
16549       volatile int i;
16550 int
16551 main ()
16552 {
16553 i = fpclassify(d1);
16554       i = isfinite(d1);
16555       i = isinf(d1);
16556       i = isnan(d1);
16557       i = isnormal(d1);
16558       i = signbit(d1);
16559       i = isgreater(d1, d2);
16560       i = isgreaterequal(d1, d2);
16561       i = isless(d1, d2);
16562       i = islessequal(d1, d2);
16563       i = islessgreater(d1, d2);
16564       i = islessgreater(d1, d2);
16565       i = isunordered(d1, d2);
16566
16567   ;
16568   return 0;
16569 }
16570 _ACEOF
16571 if ac_fn_cxx_try_link "$LINENO"; then :
16572   glibcxx_cv_c99_math=yes
16573 else
16574   glibcxx_cv_c99_math=no
16575 fi
16576 rm -f core conftest.err conftest.$ac_objext \
16577     conftest$ac_exeext conftest.$ac_ext
16578 fi
16579
16580 fi
16581
16582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16583 $as_echo "$glibcxx_cv_c99_math" >&6; }
16584   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16585
16586 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16587
16588   fi
16589
16590   # Check for the existence of <complex.h> complex math functions.
16591   # This is necessary even though libstdc++ uses the builtin versions
16592   # of these functions, because if the builtin cannot be used, a reference
16593   # to the library function is emitted.
16594   for ac_header in tgmath.h
16595 do :
16596   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16597 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16598   cat >>confdefs.h <<_ACEOF
16599 #define HAVE_TGMATH_H 1
16600 _ACEOF
16601  ac_has_tgmath_h=yes
16602 else
16603   ac_has_tgmath_h=no
16604 fi
16605
16606 done
16607
16608   for ac_header in complex.h
16609 do :
16610   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16611 if test "x$ac_cv_header_complex_h" = x""yes; then :
16612   cat >>confdefs.h <<_ACEOF
16613 #define HAVE_COMPLEX_H 1
16614 _ACEOF
16615  ac_has_complex_h=yes
16616 else
16617   ac_has_complex_h=no
16618 fi
16619
16620 done
16621
16622   glibcxx_cv_c99_complex=no;
16623   if test x"$ac_has_complex_h" = x"yes"; then
16624     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16625 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16626     if test x$gcc_no_link = xyes; then
16627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h.  */
16629 #include <complex.h>
16630         typedef __complex__ float float_type;
16631         typedef __complex__ double double_type;
16632         typedef __complex__ long double ld_type;
16633         volatile float_type tmpf;
16634         volatile double_type tmpd;
16635         volatile ld_type tmpld;
16636         volatile float f;
16637         volatile double d;
16638         volatile long double ld;
16639 int
16640 main ()
16641 {
16642 f = cabsf(tmpf);
16643         f = cargf(tmpf);
16644         tmpf = ccosf(tmpf);
16645         tmpf = ccoshf(tmpf);
16646         tmpf = cexpf(tmpf);
16647         tmpf = clogf(tmpf);
16648         tmpf = csinf(tmpf);
16649         tmpf = csinhf(tmpf);
16650         tmpf = csqrtf(tmpf);
16651         tmpf = ctanf(tmpf);
16652         tmpf = ctanhf(tmpf);
16653         tmpf = cpowf(tmpf, tmpf);
16654         tmpf = cprojf(tmpf);
16655         d = cabs(tmpd);
16656         d = carg(tmpd);
16657         tmpd = ccos(tmpd);
16658         tmpd = ccosh(tmpd);
16659         tmpd = cexp(tmpd);
16660         tmpd = clog(tmpd);
16661         tmpd = csin(tmpd);
16662         tmpd = csinh(tmpd);
16663         tmpd = csqrt(tmpd);
16664         tmpd = ctan(tmpd);
16665         tmpd = ctanh(tmpd);
16666         tmpd = cpow(tmpd, tmpd);
16667         tmpd = cproj(tmpd);
16668         ld = cabsl(tmpld);
16669         ld = cargl(tmpld);
16670         tmpld = ccosl(tmpld);
16671         tmpld = ccoshl(tmpld);
16672         tmpld = cexpl(tmpld);
16673         tmpld = clogl(tmpld);
16674         tmpld = csinl(tmpld);
16675         tmpld = csinhl(tmpld);
16676         tmpld = csqrtl(tmpld);
16677         tmpld = ctanl(tmpld);
16678         tmpld = ctanhl(tmpld);
16679         tmpld = cpowl(tmpld, tmpld);
16680         tmpld = cprojl(tmpld);
16681
16682   ;
16683   return 0;
16684 }
16685 _ACEOF
16686 if ac_fn_cxx_try_compile "$LINENO"; then :
16687   glibcxx_cv_c99_complex=yes
16688 else
16689   glibcxx_cv_c99_complex=no
16690 fi
16691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16692 else
16693   if test x$gcc_no_link = xyes; then
16694   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16695 fi
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h.  */
16698 #include <complex.h>
16699         typedef __complex__ float float_type;
16700         typedef __complex__ double double_type;
16701         typedef __complex__ long double ld_type;
16702         volatile float_type tmpf;
16703         volatile double_type tmpd;
16704         volatile ld_type tmpld;
16705         volatile float f;
16706         volatile double d;
16707         volatile long double ld;
16708 int
16709 main ()
16710 {
16711 f = cabsf(tmpf);
16712         f = cargf(tmpf);
16713         tmpf = ccosf(tmpf);
16714         tmpf = ccoshf(tmpf);
16715         tmpf = cexpf(tmpf);
16716         tmpf = clogf(tmpf);
16717         tmpf = csinf(tmpf);
16718         tmpf = csinhf(tmpf);
16719         tmpf = csqrtf(tmpf);
16720         tmpf = ctanf(tmpf);
16721         tmpf = ctanhf(tmpf);
16722         tmpf = cpowf(tmpf, tmpf);
16723         tmpf = cprojf(tmpf);
16724         d = cabs(tmpd);
16725         d = carg(tmpd);
16726         tmpd = ccos(tmpd);
16727         tmpd = ccosh(tmpd);
16728         tmpd = cexp(tmpd);
16729         tmpd = clog(tmpd);
16730         tmpd = csin(tmpd);
16731         tmpd = csinh(tmpd);
16732         tmpd = csqrt(tmpd);
16733         tmpd = ctan(tmpd);
16734         tmpd = ctanh(tmpd);
16735         tmpd = cpow(tmpd, tmpd);
16736         tmpd = cproj(tmpd);
16737         ld = cabsl(tmpld);
16738         ld = cargl(tmpld);
16739         tmpld = ccosl(tmpld);
16740         tmpld = ccoshl(tmpld);
16741         tmpld = cexpl(tmpld);
16742         tmpld = clogl(tmpld);
16743         tmpld = csinl(tmpld);
16744         tmpld = csinhl(tmpld);
16745         tmpld = csqrtl(tmpld);
16746         tmpld = ctanl(tmpld);
16747         tmpld = ctanhl(tmpld);
16748         tmpld = cpowl(tmpld, tmpld);
16749         tmpld = cprojl(tmpld);
16750
16751   ;
16752   return 0;
16753 }
16754 _ACEOF
16755 if ac_fn_cxx_try_link "$LINENO"; then :
16756   glibcxx_cv_c99_complex=yes
16757 else
16758   glibcxx_cv_c99_complex=no
16759 fi
16760 rm -f core conftest.err conftest.$ac_objext \
16761     conftest$ac_exeext conftest.$ac_ext
16762 fi
16763   fi
16764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16765 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16766   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16767
16768 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16769
16770   fi
16771
16772   # Check for the existence in <stdio.h> of vscanf, et. al.
16773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16774 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16775   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16776   $as_echo_n "(cached) " >&6
16777 else
16778
16779   if test x$gcc_no_link = xyes; then
16780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h.  */
16782 #include <stdio.h>
16783       #include <stdarg.h>
16784       void foo(char* fmt, ...)
16785       {
16786         va_list args; va_start(args, fmt);
16787         vfscanf(stderr, "%i", args);
16788         vscanf("%i", args);
16789         vsnprintf(fmt, 0, "%i", args);
16790         vsscanf(fmt, "%i", args);
16791       }
16792 int
16793 main ()
16794 {
16795 snprintf("12", 0, "%i");
16796   ;
16797   return 0;
16798 }
16799 _ACEOF
16800 if ac_fn_cxx_try_compile "$LINENO"; then :
16801   glibcxx_cv_c99_stdio=yes
16802 else
16803   glibcxx_cv_c99_stdio=no
16804 fi
16805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16806 else
16807   if test x$gcc_no_link = xyes; then
16808   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16809 fi
16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h.  */
16812 #include <stdio.h>
16813       #include <stdarg.h>
16814       void foo(char* fmt, ...)
16815       {
16816         va_list args; va_start(args, fmt);
16817         vfscanf(stderr, "%i", args);
16818         vscanf("%i", args);
16819         vsnprintf(fmt, 0, "%i", args);
16820         vsscanf(fmt, "%i", args);
16821       }
16822 int
16823 main ()
16824 {
16825 snprintf("12", 0, "%i");
16826   ;
16827   return 0;
16828 }
16829 _ACEOF
16830 if ac_fn_cxx_try_link "$LINENO"; then :
16831   glibcxx_cv_c99_stdio=yes
16832 else
16833   glibcxx_cv_c99_stdio=no
16834 fi
16835 rm -f core conftest.err conftest.$ac_objext \
16836     conftest$ac_exeext conftest.$ac_ext
16837 fi
16838
16839 fi
16840
16841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16842 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16843
16844   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16846 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16847   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16848   $as_echo_n "(cached) " >&6
16849 else
16850
16851   if test x$gcc_no_link = xyes; then
16852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h.  */
16854 #include <stdlib.h>
16855       volatile float f;
16856       volatile long double ld;
16857       volatile unsigned long long ll;
16858       lldiv_t mydivt;
16859 int
16860 main ()
16861 {
16862 char* tmp;
16863       f = strtof("gnu", &tmp);
16864       ld = strtold("gnu", &tmp);
16865       ll = strtoll("gnu", &tmp, 10);
16866       ll = strtoull("gnu", &tmp, 10);
16867       ll = llabs(10);
16868       mydivt = lldiv(10,1);
16869       ll = mydivt.quot;
16870       ll = mydivt.rem;
16871       ll = atoll("10");
16872       _Exit(0);
16873
16874   ;
16875   return 0;
16876 }
16877 _ACEOF
16878 if ac_fn_cxx_try_compile "$LINENO"; then :
16879   glibcxx_cv_c99_stdlib=yes
16880 else
16881   glibcxx_cv_c99_stdlib=no
16882 fi
16883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16884 else
16885   if test x$gcc_no_link = xyes; then
16886   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16887 fi
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h.  */
16890 #include <stdlib.h>
16891       volatile float f;
16892       volatile long double ld;
16893       volatile unsigned long long ll;
16894       lldiv_t mydivt;
16895 int
16896 main ()
16897 {
16898 char* tmp;
16899       f = strtof("gnu", &tmp);
16900       ld = strtold("gnu", &tmp);
16901       ll = strtoll("gnu", &tmp, 10);
16902       ll = strtoull("gnu", &tmp, 10);
16903       ll = llabs(10);
16904       mydivt = lldiv(10,1);
16905       ll = mydivt.quot;
16906       ll = mydivt.rem;
16907       ll = atoll("10");
16908       _Exit(0);
16909
16910   ;
16911   return 0;
16912 }
16913 _ACEOF
16914 if ac_fn_cxx_try_link "$LINENO"; then :
16915   glibcxx_cv_c99_stdlib=yes
16916 else
16917   glibcxx_cv_c99_stdlib=no
16918 fi
16919 rm -f core conftest.err conftest.$ac_objext \
16920     conftest$ac_exeext conftest.$ac_ext
16921 fi
16922
16923 fi
16924
16925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16926 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16927
16928   # Check for the existence in <wchar.h> of wcstold, etc.
16929   glibcxx_cv_c99_wchar=no;
16930   if test x"$ac_has_wchar_h" = xyes &&
16931      test x"$ac_has_wctype_h" = xyes; then
16932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16933 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16934     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h.  */
16936 #include <wchar.h>
16937                     namespace test
16938                     {
16939                       using ::wcstold;
16940                       using ::wcstoll;
16941                       using ::wcstoull;
16942                     }
16943
16944 int
16945 main ()
16946 {
16947
16948   ;
16949   return 0;
16950 }
16951 _ACEOF
16952 if ac_fn_cxx_try_compile "$LINENO"; then :
16953   glibcxx_cv_c99_wchar=yes
16954 else
16955   glibcxx_cv_c99_wchar=no
16956 fi
16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958
16959     # Checks for wide character functions that may not be present.
16960     # Injection of these is wrapped with guard macros.
16961     # NB: only put functions here, instead of immediately above, if
16962     # absolutely necessary.
16963     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h.  */
16965 #include <wchar.h>
16966                     namespace test { using ::vfwscanf; }
16967 int
16968 main ()
16969 {
16970
16971   ;
16972   return 0;
16973 }
16974 _ACEOF
16975 if ac_fn_cxx_try_compile "$LINENO"; then :
16976
16977 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16978
16979 fi
16980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16981
16982     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h.  */
16984 #include <wchar.h>
16985                     namespace test { using ::vswscanf; }
16986 int
16987 main ()
16988 {
16989
16990   ;
16991   return 0;
16992 }
16993 _ACEOF
16994 if ac_fn_cxx_try_compile "$LINENO"; then :
16995
16996 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16997
16998 fi
16999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17000
17001     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h.  */
17003 #include <wchar.h>
17004                     namespace test { using ::vwscanf; }
17005 int
17006 main ()
17007 {
17008
17009   ;
17010   return 0;
17011 }
17012 _ACEOF
17013 if ac_fn_cxx_try_compile "$LINENO"; then :
17014
17015 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17016
17017 fi
17018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17019
17020     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h.  */
17022 #include <wchar.h>
17023                     namespace test { using ::wcstof; }
17024 int
17025 main ()
17026 {
17027
17028   ;
17029   return 0;
17030 }
17031 _ACEOF
17032 if ac_fn_cxx_try_compile "$LINENO"; then :
17033
17034 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17035
17036 fi
17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17038
17039     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h.  */
17041 #include <wctype.h>
17042 int
17043 main ()
17044 {
17045  wint_t t; int i = iswblank(t);
17046   ;
17047   return 0;
17048 }
17049 _ACEOF
17050 if ac_fn_cxx_try_compile "$LINENO"; then :
17051
17052 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17053
17054 fi
17055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17056
17057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17058 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17059   fi
17060
17061   # Option parsed, now set things appropriately.
17062   if test x"$glibcxx_cv_c99_math" = x"no" ||
17063      test x"$glibcxx_cv_c99_complex" = x"no" ||
17064      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17065      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17066      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17067     enable_c99=no;
17068   else
17069
17070 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17071
17072   fi
17073
17074   gcc_no_link="$ac_save_gcc_no_link"
17075   LIBS="$ac_save_LIBS"
17076   CXXFLAGS="$ac_save_CXXFLAGS"
17077   ac_ext=c
17078 ac_cpp='$CPP $CPPFLAGS'
17079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17082
17083   fi
17084
17085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17086 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17088 $as_echo "$enable_c99" >&6; }
17089
17090
17091    # Check whether --enable-concept-checks was given.
17092 if test "${enable_concept_checks+set}" = set; then :
17093   enableval=$enable_concept_checks;
17094       case "$enableval" in
17095        yes|no) ;;
17096        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17097       esac
17098
17099 else
17100   enable_concept_checks=no
17101 fi
17102
17103
17104   if test $enable_concept_checks = yes; then
17105
17106 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17107
17108   fi
17109
17110
17111    # Check whether --enable-libstdcxx-debug-flags was given.
17112 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17113   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17114       xno | x)    enable_libstdcxx_debug_flags= ;;
17115       x-*)        ;;
17116       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17117      esac
17118 else
17119   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17120 fi
17121
17122
17123
17124   # Option parsed, now set things appropriately
17125   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17126
17127
17128   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17129 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17130
17131
17132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17133 $as_echo_n "checking for additional debug build... " >&6; }
17134    # Check whether --enable-libstdcxx-debug was given.
17135 if test "${enable_libstdcxx_debug+set}" = set; then :
17136   enableval=$enable_libstdcxx_debug;
17137       case "$enableval" in
17138        yes|no) ;;
17139        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17140       esac
17141
17142 else
17143   enable_libstdcxx_debug=no
17144 fi
17145
17146
17147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17148 $as_echo "$enable_libstdcxx_debug" >&6; }
17149
17150
17151
17152
17153   enable_parallel=no;
17154
17155   # See if configured libgomp/omp.h exists. (libgomp may be in
17156   # noconfigdirs but not explicitly disabled.)
17157   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17158     enable_parallel=yes;
17159   else
17160     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17161 $as_echo "$as_me: target-libgomp not built" >&6;}
17162   fi
17163
17164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17165 $as_echo_n "checking for parallel mode support... " >&6; }
17166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17167 $as_echo "$enable_parallel" >&6; }
17168
17169
17170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17171 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17172    # Check whether --enable-cxx-flags was given.
17173 if test "${enable_cxx_flags+set}" = set; then :
17174   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17175       xno | x)   enable_cxx_flags= ;;
17176       x-*)       ;;
17177       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17178      esac
17179 else
17180   enable_cxx_flags=
17181 fi
17182
17183
17184
17185   # Run through flags (either default or command-line) and set anything
17186   # extra (e.g., #defines) that must accompany particular g++ options.
17187   if test -n "$enable_cxx_flags"; then
17188     for f in $enable_cxx_flags; do
17189       case "$f" in
17190         -fhonor-std)  ;;
17191         -*)  ;;
17192         *)   # and we're trying to pass /what/ exactly?
17193              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17194       esac
17195     done
17196   fi
17197
17198   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17200 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17201
17202
17203
17204    # Check whether --enable-fully-dynamic-string was given.
17205 if test "${enable_fully_dynamic_string+set}" = set; then :
17206   enableval=$enable_fully_dynamic_string;
17207       case "$enableval" in
17208        yes|no) ;;
17209        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17210       esac
17211
17212 else
17213   enable_fully_dynamic_string=no
17214 fi
17215
17216
17217   if test $enable_fully_dynamic_string = yes; then
17218     enable_fully_dynamic_string_def=1
17219   else
17220     enable_fully_dynamic_string_def=0
17221   fi
17222
17223 cat >>confdefs.h <<_ACEOF
17224 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17225 _ACEOF
17226
17227
17228
17229
17230    # Check whether --enable-extern-template was given.
17231 if test "${enable_extern_template+set}" = set; then :
17232   enableval=$enable_extern_template;
17233       case "$enableval" in
17234        yes|no) ;;
17235        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17236       esac
17237
17238 else
17239   enable_extern_template=yes
17240 fi
17241
17242
17243
17244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17245 $as_echo_n "checking for extern template support... " >&6; }
17246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17247 $as_echo "$enable_extern_template" >&6; }
17248
17249
17250
17251
17252
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17254 $as_echo_n "checking for custom python install directory... " >&6; }
17255
17256 # Check whether --with-python-dir was given.
17257 if test "${with_python_dir+set}" = set; then :
17258   withval=$with_python_dir; with_python_dir=$withval
17259 else
17260   with_python_dir="no"
17261 fi
17262
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17264 $as_echo "${with_python_dir}" >&6; }
17265
17266 # Needed for installing Python modules during make install.
17267 python_mod_dir="${with_python_dir}"
17268
17269
17270
17271
17272 # Checks for operating systems support that doesn't require linking.
17273
17274
17275
17276   ac_ext=cpp
17277 ac_cpp='$CXXCPP $CPPFLAGS'
17278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17281
17282
17283   case "$host" in
17284     *-*-solaris2.*)
17285       # Solaris 8 FCS only had an overload for double std::abs(double) in
17286       # <iso/math_iso.h>.  Patches 111721-04 (SPARC) and 112757-01 (x86)
17287       # introduced the full set also found from Solaris 9 onwards.
17288       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17289 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17290       if test "${glibcxx_cv_abs_float+set}" = set; then :
17291   $as_echo_n "(cached) " >&6
17292 else
17293
17294         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h.  */
17296 #include <math.h>
17297            namespace std {
17298              inline float abs(float __x)
17299              {  return __builtin_fabsf(__x); }
17300            }
17301
17302 _ACEOF
17303 if ac_fn_cxx_try_compile "$LINENO"; then :
17304   glibcxx_cv_abs_float=no
17305 else
17306   glibcxx_cv_abs_float=yes
17307
17308 fi
17309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17310 fi
17311
17312
17313       # autoheader cannot handle indented templates.
17314
17315
17316
17317       if test $glibcxx_cv_abs_float = yes; then
17318         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17319
17320       else
17321         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17322
17323       fi
17324       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17325 $as_echo "$glibcxx_cv_abs_float" >&6; }
17326       ;;
17327   esac
17328
17329   ac_ext=c
17330 ac_cpp='$CPP $CPPFLAGS'
17331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17334
17335
17336
17337
17338
17339   ac_ext=cpp
17340 ac_cpp='$CXXCPP $CPPFLAGS'
17341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17344
17345
17346   case "$host" in
17347     *-*-solaris2.*)
17348       # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17349       # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>.  Patches 109607-02
17350       # (SPARC) and 109608-02 (x86) introduced them.
17351       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17352 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17353       if test "${glibcxx_cv_abs_long+set}" = set; then :
17354   $as_echo_n "(cached) " >&6
17355 else
17356
17357         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h.  */
17359 #include <stdlib.h>
17360            namespace std {
17361              inline long
17362              abs(long __i) { return labs(__i); }
17363            }
17364
17365 _ACEOF
17366 if ac_fn_cxx_try_compile "$LINENO"; then :
17367   glibcxx_cv_abs_long=no
17368 else
17369   glibcxx_cv_abs_long=yes
17370
17371 fi
17372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17373 fi
17374
17375
17376       # autoheader cannot handle indented templates.
17377
17378       if test $glibcxx_cv_abs_long = yes; then
17379         $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17380
17381       fi
17382       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17383 $as_echo "$glibcxx_cv_abs_long" >&6; }
17384       ;;
17385   esac
17386
17387   ac_ext=c
17388 ac_cpp='$CPP $CPPFLAGS'
17389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17392
17393
17394
17395
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17397 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17398 if test "${glibcxx_cv_system_error1+set}" = set; then :
17399   $as_echo_n "(cached) " >&6
17400 else
17401
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h.  */
17404 #include <errno.h>
17405 int
17406 main ()
17407 {
17408 int i = EOWNERDEAD;
17409   ;
17410   return 0;
17411 }
17412 _ACEOF
17413 if ac_fn_c_try_compile "$LINENO"; then :
17414   glibcxx_cv_system_error1=yes
17415 else
17416   glibcxx_cv_system_error1=no
17417 fi
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419
17420 fi
17421
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17423 $as_echo "$glibcxx_cv_system_error1" >&6; }
17424 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17425
17426 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17427
17428 fi
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17430 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17431 if test "${glibcxx_cv_system_error2+set}" = set; then :
17432   $as_echo_n "(cached) " >&6
17433 else
17434
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h.  */
17437 #include <errno.h>
17438 int
17439 main ()
17440 {
17441 int i = ENOTRECOVERABLE;
17442   ;
17443   return 0;
17444 }
17445 _ACEOF
17446 if ac_fn_c_try_compile "$LINENO"; then :
17447   glibcxx_cv_system_error2=yes
17448 else
17449   glibcxx_cv_system_error2=no
17450 fi
17451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17452
17453 fi
17454
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17456 $as_echo "$glibcxx_cv_system_error2" >&6; }
17457 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17458
17459 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17460
17461 fi
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17463 $as_echo_n "checking for ENOLINK... " >&6; }
17464 if test "${glibcxx_cv_system_error3+set}" = set; then :
17465   $as_echo_n "(cached) " >&6
17466 else
17467
17468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h.  */
17470 #include <errno.h>
17471 int
17472 main ()
17473 {
17474 int i = ENOLINK;
17475   ;
17476   return 0;
17477 }
17478 _ACEOF
17479 if ac_fn_c_try_compile "$LINENO"; then :
17480   glibcxx_cv_system_error3=yes
17481 else
17482   glibcxx_cv_system_error3=no
17483 fi
17484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17485
17486 fi
17487
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17489 $as_echo "$glibcxx_cv_system_error3" >&6; }
17490 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17491
17492 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17493
17494 fi
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17496 $as_echo_n "checking for EPROTO... " >&6; }
17497 if test "${glibcxx_cv_system_error4+set}" = set; then :
17498   $as_echo_n "(cached) " >&6
17499 else
17500
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h.  */
17503 #include <errno.h>
17504 int
17505 main ()
17506 {
17507 int i = EPROTO;
17508   ;
17509   return 0;
17510 }
17511 _ACEOF
17512 if ac_fn_c_try_compile "$LINENO"; then :
17513   glibcxx_cv_system_error4=yes
17514 else
17515   glibcxx_cv_system_error4=no
17516 fi
17517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518
17519 fi
17520
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17522 $as_echo "$glibcxx_cv_system_error4" >&6; }
17523 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17524
17525 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17526
17527 fi
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17529 $as_echo_n "checking for ENODATA... " >&6; }
17530 if test "${glibcxx_cv_system_error5+set}" = set; then :
17531   $as_echo_n "(cached) " >&6
17532 else
17533
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h.  */
17536 #include <errno.h>
17537 int
17538 main ()
17539 {
17540 int i = ENODATA;
17541   ;
17542   return 0;
17543 }
17544 _ACEOF
17545 if ac_fn_c_try_compile "$LINENO"; then :
17546   glibcxx_cv_system_error5=yes
17547 else
17548   glibcxx_cv_system_error5=no
17549 fi
17550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551
17552 fi
17553
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17555 $as_echo "$glibcxx_cv_system_error5" >&6; }
17556 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17557
17558 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17559
17560 fi
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17562 $as_echo_n "checking for ENOSR... " >&6; }
17563 if test "${glibcxx_cv_system_error6+set}" = set; then :
17564   $as_echo_n "(cached) " >&6
17565 else
17566
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h.  */
17569 #include <errno.h>
17570 int
17571 main ()
17572 {
17573 int i = ENOSR;
17574   ;
17575   return 0;
17576 }
17577 _ACEOF
17578 if ac_fn_c_try_compile "$LINENO"; then :
17579   glibcxx_cv_system_error6=yes
17580 else
17581   glibcxx_cv_system_error6=no
17582 fi
17583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584
17585 fi
17586
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17588 $as_echo "$glibcxx_cv_system_error6" >&6; }
17589 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17590
17591 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17592
17593 fi
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17595 $as_echo_n "checking for ENOSTR... " >&6; }
17596 if test "${glibcxx_cv_system_error7+set}" = set; then :
17597   $as_echo_n "(cached) " >&6
17598 else
17599
17600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h.  */
17602 #include <errno.h>
17603 int
17604 main ()
17605 {
17606 int i = ENOSTR;
17607   ;
17608   return 0;
17609 }
17610 _ACEOF
17611 if ac_fn_c_try_compile "$LINENO"; then :
17612   glibcxx_cv_system_error7=yes
17613 else
17614   glibcxx_cv_system_error7=no
17615 fi
17616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17617
17618 fi
17619
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17621 $as_echo "$glibcxx_cv_system_error7" >&6; }
17622 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17623
17624 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17625
17626 fi
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17628 $as_echo_n "checking for ETIME... " >&6; }
17629 if test "${glibcxx_cv_system_error8+set}" = set; then :
17630   $as_echo_n "(cached) " >&6
17631 else
17632
17633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17634 /* end confdefs.h.  */
17635 #include <errno.h>
17636 int
17637 main ()
17638 {
17639 int i = ETIME;
17640   ;
17641   return 0;
17642 }
17643 _ACEOF
17644 if ac_fn_c_try_compile "$LINENO"; then :
17645   glibcxx_cv_system_error8=yes
17646 else
17647   glibcxx_cv_system_error8=no
17648 fi
17649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650
17651 fi
17652
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17654 $as_echo "$glibcxx_cv_system_error8" >&6; }
17655 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17656
17657 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17658
17659 fi
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17661 $as_echo_n "checking for EBADMSG... " >&6; }
17662 if test "${glibcxx_cv_system_error9+set}" = set; then :
17663   $as_echo_n "(cached) " >&6
17664 else
17665
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h.  */
17668 #include <errno.h>
17669 int
17670 main ()
17671 {
17672 int i = EBADMSG;
17673   ;
17674   return 0;
17675 }
17676 _ACEOF
17677 if ac_fn_c_try_compile "$LINENO"; then :
17678   glibcxx_cv_system_error9=yes
17679 else
17680   glibcxx_cv_system_error9=no
17681 fi
17682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17683
17684 fi
17685
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17687 $as_echo "$glibcxx_cv_system_error9" >&6; }
17688 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17689
17690 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17691
17692 fi
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17694 $as_echo_n "checking for ECANCELED... " >&6; }
17695 if test "${glibcxx_cv_system_error10+set}" = set; then :
17696   $as_echo_n "(cached) " >&6
17697 else
17698
17699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17700 /* end confdefs.h.  */
17701 #include <errno.h>
17702 int
17703 main ()
17704 {
17705 int i = ECANCELED;
17706   ;
17707   return 0;
17708 }
17709 _ACEOF
17710 if ac_fn_c_try_compile "$LINENO"; then :
17711   glibcxx_cv_system_error10=yes
17712 else
17713   glibcxx_cv_system_error10=no
17714 fi
17715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17716
17717 fi
17718
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17720 $as_echo "$glibcxx_cv_system_error10" >&6; }
17721 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17722
17723 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17724
17725 fi
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17727 $as_echo_n "checking for EOVERFLOW... " >&6; }
17728 if test "${glibcxx_cv_system_error11+set}" = set; then :
17729   $as_echo_n "(cached) " >&6
17730 else
17731
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h.  */
17734 #include <errno.h>
17735 int
17736 main ()
17737 {
17738 int i = EOVERFLOW;
17739   ;
17740   return 0;
17741 }
17742 _ACEOF
17743 if ac_fn_c_try_compile "$LINENO"; then :
17744   glibcxx_cv_system_error11=yes
17745 else
17746   glibcxx_cv_system_error11=no
17747 fi
17748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749
17750 fi
17751
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17753 $as_echo "$glibcxx_cv_system_error11" >&6; }
17754 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17755
17756 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17757
17758 fi
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17760 $as_echo_n "checking for ENOTSUP... " >&6; }
17761 if test "${glibcxx_cv_system_error12+set}" = set; then :
17762   $as_echo_n "(cached) " >&6
17763 else
17764
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h.  */
17767 #include <errno.h>
17768 int
17769 main ()
17770 {
17771 int i = ENOTSUP;
17772   ;
17773   return 0;
17774 }
17775 _ACEOF
17776 if ac_fn_c_try_compile "$LINENO"; then :
17777   glibcxx_cv_system_error12=yes
17778 else
17779   glibcxx_cv_system_error12=no
17780 fi
17781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782
17783 fi
17784
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17786 $as_echo "$glibcxx_cv_system_error12" >&6; }
17787 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17788
17789 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17790
17791 fi
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17793 $as_echo_n "checking for EIDRM... " >&6; }
17794 if test "${glibcxx_cv_system_error13+set}" = set; then :
17795   $as_echo_n "(cached) " >&6
17796 else
17797
17798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h.  */
17800 #include <errno.h>
17801 int
17802 main ()
17803 {
17804 int i = EIDRM;
17805   ;
17806   return 0;
17807 }
17808 _ACEOF
17809 if ac_fn_c_try_compile "$LINENO"; then :
17810   glibcxx_cv_system_error13=yes
17811 else
17812   glibcxx_cv_system_error13=no
17813 fi
17814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815
17816 fi
17817
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17819 $as_echo "$glibcxx_cv_system_error13" >&6; }
17820 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17821
17822 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17823
17824 fi
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17826 $as_echo_n "checking for ETXTBSY... " >&6; }
17827 if test "${glibcxx_cv_system_error14+set}" = set; then :
17828   $as_echo_n "(cached) " >&6
17829 else
17830
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h.  */
17833 #include <errno.h>
17834 int
17835 main ()
17836 {
17837 int i = ETXTBSY;
17838   ;
17839   return 0;
17840 }
17841 _ACEOF
17842 if ac_fn_c_try_compile "$LINENO"; then :
17843   glibcxx_cv_system_error14=yes
17844 else
17845   glibcxx_cv_system_error14=no
17846 fi
17847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17848
17849 fi
17850
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17852 $as_echo "$glibcxx_cv_system_error14" >&6; }
17853 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17854
17855 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17856
17857 fi
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17859 $as_echo_n "checking for ECHILD... " >&6; }
17860 if test "${glibcxx_cv_system_error15+set}" = set; then :
17861   $as_echo_n "(cached) " >&6
17862 else
17863
17864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h.  */
17866 #include <errno.h>
17867 int
17868 main ()
17869 {
17870 int i = ECHILD;
17871   ;
17872   return 0;
17873 }
17874 _ACEOF
17875 if ac_fn_c_try_compile "$LINENO"; then :
17876   glibcxx_cv_system_error15=yes
17877 else
17878   glibcxx_cv_system_error15=no
17879 fi
17880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881
17882 fi
17883
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17885 $as_echo "$glibcxx_cv_system_error15" >&6; }
17886 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17887
17888 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17889
17890 fi
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17892 $as_echo_n "checking for ENOSPC... " >&6; }
17893 if test "${glibcxx_cv_system_error16+set}" = set; then :
17894   $as_echo_n "(cached) " >&6
17895 else
17896
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h.  */
17899 #include <errno.h>
17900 int
17901 main ()
17902 {
17903 int i = ENOSPC;
17904   ;
17905   return 0;
17906 }
17907 _ACEOF
17908 if ac_fn_c_try_compile "$LINENO"; then :
17909   glibcxx_cv_system_error16=yes
17910 else
17911   glibcxx_cv_system_error16=no
17912 fi
17913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914
17915 fi
17916
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17918 $as_echo "$glibcxx_cv_system_error16" >&6; }
17919 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17920
17921 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17922
17923 fi
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17925 $as_echo_n "checking for EPERM... " >&6; }
17926 if test "${glibcxx_cv_system_error17+set}" = set; then :
17927   $as_echo_n "(cached) " >&6
17928 else
17929
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h.  */
17932 #include <errno.h>
17933 int
17934 main ()
17935 {
17936 int i = EPERM;
17937   ;
17938   return 0;
17939 }
17940 _ACEOF
17941 if ac_fn_c_try_compile "$LINENO"; then :
17942   glibcxx_cv_system_error17=yes
17943 else
17944   glibcxx_cv_system_error17=no
17945 fi
17946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947
17948 fi
17949
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17951 $as_echo "$glibcxx_cv_system_error17" >&6; }
17952 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17953
17954 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17955
17956 fi
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17958 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17959 if test "${glibcxx_cv_system_error18+set}" = set; then :
17960   $as_echo_n "(cached) " >&6
17961 else
17962
17963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17964 /* end confdefs.h.  */
17965 #include <errno.h>
17966 int
17967 main ()
17968 {
17969 int i = ETIMEDOUT;
17970   ;
17971   return 0;
17972 }
17973 _ACEOF
17974 if ac_fn_c_try_compile "$LINENO"; then :
17975   glibcxx_cv_system_error18=yes
17976 else
17977   glibcxx_cv_system_error18=no
17978 fi
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980
17981 fi
17982
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17984 $as_echo "$glibcxx_cv_system_error18" >&6; }
17985 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17986
17987 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17988
17989 fi
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17991 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17992 if test "${glibcxx_cv_system_error19+set}" = set; then :
17993   $as_echo_n "(cached) " >&6
17994 else
17995
17996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17997 /* end confdefs.h.  */
17998 #include <errno.h>
17999 int
18000 main ()
18001 {
18002 int i = EWOULDBLOCK;
18003   ;
18004   return 0;
18005 }
18006 _ACEOF
18007 if ac_fn_c_try_compile "$LINENO"; then :
18008   glibcxx_cv_system_error19=yes
18009 else
18010   glibcxx_cv_system_error19=no
18011 fi
18012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013
18014 fi
18015
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18017 $as_echo "$glibcxx_cv_system_error19" >&6; }
18018 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18019
18020 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18021
18022 fi
18023
18024
18025
18026 # For the streamoff typedef.
18027
18028
18029
18030   ac_ext=cpp
18031 ac_cpp='$CXXCPP $CPPFLAGS'
18032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18035
18036
18037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18038 $as_echo_n "checking for int64_t... " >&6; }
18039   if test "${glibcxx_cv_INT64_T+set}" = set; then :
18040   $as_echo_n "(cached) " >&6
18041 else
18042
18043     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h.  */
18045 #include <stdint.h>
18046 int
18047 main ()
18048 {
18049 int64_t var;
18050   ;
18051   return 0;
18052 }
18053 _ACEOF
18054 if ac_fn_cxx_try_compile "$LINENO"; then :
18055   glibcxx_cv_INT64_T=yes
18056 else
18057   glibcxx_cv_INT64_T=no
18058 fi
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18060
18061 fi
18062
18063
18064   if test $glibcxx_cv_INT64_T = yes; then
18065
18066 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18067
18068     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18069 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18070
18071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18072 $as_echo_n "checking for int64_t as long... " >&6; }
18073     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18074   $as_echo_n "(cached) " >&6
18075 else
18076
18077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h.  */
18079 #include <stdint.h>
18080         template<typename, typename> struct same { enum { value = -1 }; };
18081         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18082         int array[same<int64_t, long>::value];
18083 int
18084 main ()
18085 {
18086
18087   ;
18088   return 0;
18089 }
18090 _ACEOF
18091 if ac_fn_cxx_try_compile "$LINENO"; then :
18092   glibcxx_cv_int64_t_long=yes
18093 else
18094   glibcxx_cv_int64_t_long=no
18095 fi
18096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18097
18098 fi
18099
18100
18101     if test $glibcxx_cv_int64_t_long = yes; then
18102
18103 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18104
18105       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18106 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18107     fi
18108
18109     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18110 $as_echo_n "checking for int64_t as long long... " >&6; }
18111     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18112   $as_echo_n "(cached) " >&6
18113 else
18114
18115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18116 /* end confdefs.h.  */
18117 #include <stdint.h>
18118         template<typename, typename> struct same { enum { value = -1 }; };
18119         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18120         int array[same<int64_t, long long>::value];
18121 int
18122 main ()
18123 {
18124
18125   ;
18126   return 0;
18127 }
18128 _ACEOF
18129 if ac_fn_cxx_try_compile "$LINENO"; then :
18130   glibcxx_cv_int64_t_long_long=yes
18131 else
18132   glibcxx_cv_int64_t_long_long=no
18133 fi
18134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18135
18136 fi
18137
18138
18139     if test $glibcxx_cv_int64_t_long_long = yes; then
18140
18141 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18142
18143       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18144 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18145     fi
18146   fi
18147
18148   ac_ext=c
18149 ac_cpp='$CPP $CPPFLAGS'
18150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18153
18154
18155
18156 # For LFS support.
18157
18158
18159   ac_ext=cpp
18160 ac_cpp='$CXXCPP $CPPFLAGS'
18161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18164
18165   ac_save_CXXFLAGS="$CXXFLAGS"
18166   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18168 $as_echo_n "checking for LFS support... " >&6; }
18169   if test "${glibcxx_cv_LFS+set}" = set; then :
18170   $as_echo_n "(cached) " >&6
18171 else
18172
18173     if test x$gcc_no_link = xyes; then
18174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h.  */
18176 #include <unistd.h>
18177        #include <stdio.h>
18178        #include <sys/stat.h>
18179
18180 int
18181 main ()
18182 {
18183 FILE* fp;
18184        fopen64("t", "w");
18185        fseeko64(fp, 0, SEEK_CUR);
18186        ftello64(fp);
18187        lseek64(1, 0, SEEK_CUR);
18188        struct stat64 buf;
18189        fstat64(1, &buf);
18190   ;
18191   return 0;
18192 }
18193 _ACEOF
18194 if ac_fn_cxx_try_compile "$LINENO"; then :
18195   glibcxx_cv_LFS=yes
18196 else
18197   glibcxx_cv_LFS=no
18198 fi
18199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18200 else
18201   if test x$gcc_no_link = xyes; then
18202   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18203 fi
18204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h.  */
18206 #include <unistd.h>
18207        #include <stdio.h>
18208        #include <sys/stat.h>
18209
18210 int
18211 main ()
18212 {
18213 FILE* fp;
18214        fopen64("t", "w");
18215        fseeko64(fp, 0, SEEK_CUR);
18216        ftello64(fp);
18217        lseek64(1, 0, SEEK_CUR);
18218        struct stat64 buf;
18219        fstat64(1, &buf);
18220   ;
18221   return 0;
18222 }
18223 _ACEOF
18224 if ac_fn_cxx_try_link "$LINENO"; then :
18225   glibcxx_cv_LFS=yes
18226 else
18227   glibcxx_cv_LFS=no
18228 fi
18229 rm -f core conftest.err conftest.$ac_objext \
18230     conftest$ac_exeext conftest.$ac_ext
18231 fi
18232
18233 fi
18234
18235   if test $glibcxx_cv_LFS = yes; then
18236
18237 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18238
18239   fi
18240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18241 $as_echo "$glibcxx_cv_LFS" >&6; }
18242   CXXFLAGS="$ac_save_CXXFLAGS"
18243   ac_ext=c
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18248
18249
18250
18251 # For showmanyc_helper().
18252 for ac_header in sys/ioctl.h sys/filio.h
18253 do :
18254   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18255 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18256 eval as_val=\$$as_ac_Header
18257    if test "x$as_val" = x""yes; then :
18258   cat >>confdefs.h <<_ACEOF
18259 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18260 _ACEOF
18261
18262 fi
18263
18264 done
18265
18266
18267
18268
18269   ac_ext=cpp
18270 ac_cpp='$CXXCPP $CPPFLAGS'
18271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18274
18275   ac_save_CXXFLAGS="$CXXFLAGS"
18276   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18277
18278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18279 $as_echo_n "checking for poll... " >&6; }
18280   if test "${glibcxx_cv_POLL+set}" = set; then :
18281   $as_echo_n "(cached) " >&6
18282 else
18283
18284     if test x$gcc_no_link = xyes; then
18285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h.  */
18287 #include <poll.h>
18288 int
18289 main ()
18290 {
18291 struct pollfd pfd[1];
18292        pfd[0].events = POLLIN;
18293        poll(pfd, 1, 0);
18294   ;
18295   return 0;
18296 }
18297 _ACEOF
18298 if ac_fn_cxx_try_compile "$LINENO"; then :
18299   glibcxx_cv_POLL=yes
18300 else
18301   glibcxx_cv_POLL=no
18302 fi
18303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18304 else
18305   if test x$gcc_no_link = xyes; then
18306   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18307 fi
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h.  */
18310 #include <poll.h>
18311 int
18312 main ()
18313 {
18314 struct pollfd pfd[1];
18315        pfd[0].events = POLLIN;
18316        poll(pfd, 1, 0);
18317   ;
18318   return 0;
18319 }
18320 _ACEOF
18321 if ac_fn_cxx_try_link "$LINENO"; then :
18322   glibcxx_cv_POLL=yes
18323 else
18324   glibcxx_cv_POLL=no
18325 fi
18326 rm -f core conftest.err conftest.$ac_objext \
18327     conftest$ac_exeext conftest.$ac_ext
18328 fi
18329
18330 fi
18331
18332   if test $glibcxx_cv_POLL = yes; then
18333
18334 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18335
18336   fi
18337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18338 $as_echo "$glibcxx_cv_POLL" >&6; }
18339
18340   CXXFLAGS="$ac_save_CXXFLAGS"
18341   ac_ext=c
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18346
18347
18348
18349
18350
18351   ac_ext=cpp
18352 ac_cpp='$CXXCPP $CPPFLAGS'
18353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18356
18357   ac_save_CXXFLAGS="$CXXFLAGS"
18358   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18359
18360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18361 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18362   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18363   $as_echo_n "(cached) " >&6
18364 else
18365
18366     if test x$gcc_no_link = xyes; then
18367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h.  */
18369 #include <sys/stat.h>
18370 int
18371 main ()
18372 {
18373 struct stat buffer;
18374        fstat(0, &buffer);
18375        S_ISREG(buffer.st_mode);
18376   ;
18377   return 0;
18378 }
18379 _ACEOF
18380 if ac_fn_cxx_try_compile "$LINENO"; then :
18381   glibcxx_cv_S_ISREG=yes
18382 else
18383   glibcxx_cv_S_ISREG=no
18384 fi
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18386 else
18387   if test x$gcc_no_link = xyes; then
18388   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18389 fi
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h.  */
18392 #include <sys/stat.h>
18393 int
18394 main ()
18395 {
18396 struct stat buffer;
18397        fstat(0, &buffer);
18398        S_ISREG(buffer.st_mode);
18399   ;
18400   return 0;
18401 }
18402 _ACEOF
18403 if ac_fn_cxx_try_link "$LINENO"; then :
18404   glibcxx_cv_S_ISREG=yes
18405 else
18406   glibcxx_cv_S_ISREG=no
18407 fi
18408 rm -f core conftest.err conftest.$ac_objext \
18409     conftest$ac_exeext conftest.$ac_ext
18410 fi
18411
18412 fi
18413
18414   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18415   $as_echo_n "(cached) " >&6
18416 else
18417
18418     if test x$gcc_no_link = xyes; then
18419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18420 /* end confdefs.h.  */
18421 #include <sys/stat.h>
18422 int
18423 main ()
18424 {
18425 struct stat buffer;
18426        fstat(0, &buffer);
18427        S_IFREG & buffer.st_mode;
18428   ;
18429   return 0;
18430 }
18431 _ACEOF
18432 if ac_fn_cxx_try_compile "$LINENO"; then :
18433   glibcxx_cv_S_IFREG=yes
18434 else
18435   glibcxx_cv_S_IFREG=no
18436 fi
18437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18438 else
18439   if test x$gcc_no_link = xyes; then
18440   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18441 fi
18442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18443 /* end confdefs.h.  */
18444 #include <sys/stat.h>
18445 int
18446 main ()
18447 {
18448 struct stat buffer;
18449        fstat(0, &buffer);
18450        S_IFREG & buffer.st_mode;
18451   ;
18452   return 0;
18453 }
18454 _ACEOF
18455 if ac_fn_cxx_try_link "$LINENO"; then :
18456   glibcxx_cv_S_IFREG=yes
18457 else
18458   glibcxx_cv_S_IFREG=no
18459 fi
18460 rm -f core conftest.err conftest.$ac_objext \
18461     conftest$ac_exeext conftest.$ac_ext
18462 fi
18463
18464 fi
18465
18466   res=no
18467   if test $glibcxx_cv_S_ISREG = yes; then
18468
18469 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18470
18471     res=S_ISREG
18472   elif test $glibcxx_cv_S_IFREG = yes; then
18473
18474 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18475
18476     res=S_IFREG
18477   fi
18478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18479 $as_echo "$res" >&6; }
18480
18481   CXXFLAGS="$ac_save_CXXFLAGS"
18482   ac_ext=c
18483 ac_cpp='$CPP $CPPFLAGS'
18484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18487
18488
18489
18490 # For xsputn_2().
18491 for ac_header in sys/uio.h
18492 do :
18493   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18494 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18495   cat >>confdefs.h <<_ACEOF
18496 #define HAVE_SYS_UIO_H 1
18497 _ACEOF
18498
18499 fi
18500
18501 done
18502
18503
18504
18505
18506   ac_ext=cpp
18507 ac_cpp='$CXXCPP $CPPFLAGS'
18508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18511
18512   ac_save_CXXFLAGS="$CXXFLAGS"
18513   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18514
18515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18516 $as_echo_n "checking for writev... " >&6; }
18517   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18518   $as_echo_n "(cached) " >&6
18519 else
18520
18521     if test x$gcc_no_link = xyes; then
18522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h.  */
18524 #include <sys/uio.h>
18525 int
18526 main ()
18527 {
18528 struct iovec iov[2];
18529        writev(0, iov, 0);
18530   ;
18531   return 0;
18532 }
18533 _ACEOF
18534 if ac_fn_cxx_try_compile "$LINENO"; then :
18535   glibcxx_cv_WRITEV=yes
18536 else
18537   glibcxx_cv_WRITEV=no
18538 fi
18539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18540 else
18541   if test x$gcc_no_link = xyes; then
18542   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18543 fi
18544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18545 /* end confdefs.h.  */
18546 #include <sys/uio.h>
18547 int
18548 main ()
18549 {
18550 struct iovec iov[2];
18551        writev(0, iov, 0);
18552   ;
18553   return 0;
18554 }
18555 _ACEOF
18556 if ac_fn_cxx_try_link "$LINENO"; then :
18557   glibcxx_cv_WRITEV=yes
18558 else
18559   glibcxx_cv_WRITEV=no
18560 fi
18561 rm -f core conftest.err conftest.$ac_objext \
18562     conftest$ac_exeext conftest.$ac_ext
18563 fi
18564
18565 fi
18566
18567   if test $glibcxx_cv_WRITEV = yes; then
18568
18569 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18570
18571   fi
18572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18573 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18574
18575   CXXFLAGS="$ac_save_CXXFLAGS"
18576   ac_ext=c
18577 ac_cpp='$CPP $CPPFLAGS'
18578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18581
18582
18583
18584 # For C99 support to TR1.
18585
18586
18587
18588   ac_ext=cpp
18589 ac_cpp='$CXXCPP $CPPFLAGS'
18590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18593
18594
18595   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18596   # undefined and fake C99 facilities may be spuriously enabled.
18597   ac_save_CXXFLAGS="$CXXFLAGS"
18598   CXXFLAGS="$CXXFLAGS -std=c++98"
18599
18600   # Check for the existence of <complex.h> complex math functions used
18601   # by tr1/complex.
18602   for ac_header in complex.h
18603 do :
18604   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18605 if test "x$ac_cv_header_complex_h" = x""yes; then :
18606   cat >>confdefs.h <<_ACEOF
18607 #define HAVE_COMPLEX_H 1
18608 _ACEOF
18609  ac_has_complex_h=yes
18610 else
18611   ac_has_complex_h=no
18612 fi
18613
18614 done
18615
18616   ac_c99_complex_tr1=no;
18617   if test x"$ac_has_complex_h" = x"yes"; then
18618     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18619 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18620     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18621 /* end confdefs.h.  */
18622 #include <complex.h>
18623 int
18624 main ()
18625 {
18626 typedef __complex__ float float_type; float_type tmpf;
18627                     cacosf(tmpf);
18628                     casinf(tmpf);
18629                     catanf(tmpf);
18630                     cacoshf(tmpf);
18631                     casinhf(tmpf);
18632                     catanhf(tmpf);
18633                     typedef __complex__ double double_type; double_type tmpd;
18634                     cacos(tmpd);
18635                     casin(tmpd);
18636                     catan(tmpd);
18637                     cacosh(tmpd);
18638                     casinh(tmpd);
18639                     catanh(tmpd);
18640                     typedef __complex__ long double ld_type; ld_type tmpld;
18641                     cacosl(tmpld);
18642                     casinl(tmpld);
18643                     catanl(tmpld);
18644                     cacoshl(tmpld);
18645                     casinhl(tmpld);
18646                     catanhl(tmpld);
18647
18648   ;
18649   return 0;
18650 }
18651 _ACEOF
18652 if ac_fn_cxx_try_compile "$LINENO"; then :
18653   ac_c99_complex_tr1=yes
18654 else
18655   ac_c99_complex_tr1=no
18656 fi
18657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18658   fi
18659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18660 $as_echo "$ac_c99_complex_tr1" >&6; }
18661   if test x"$ac_c99_complex_tr1" = x"yes"; then
18662
18663 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18664
18665   fi
18666
18667   # Check for the existence of <ctype.h> functions.
18668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18669 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18670   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18671   $as_echo_n "(cached) " >&6
18672 else
18673
18674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h.  */
18676 #include <ctype.h>
18677 int
18678 main ()
18679 {
18680 int ch;
18681                   int ret;
18682                   ret = isblank(ch);
18683
18684   ;
18685   return 0;
18686 }
18687 _ACEOF
18688 if ac_fn_cxx_try_compile "$LINENO"; then :
18689   glibcxx_cv_c99_ctype_tr1=yes
18690 else
18691   glibcxx_cv_c99_ctype_tr1=no
18692 fi
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694
18695 fi
18696
18697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18698 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18699   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18700
18701 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18702
18703   fi
18704
18705   # Check for the existence of <fenv.h> functions.
18706   for ac_header in fenv.h
18707 do :
18708   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18709 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18710   cat >>confdefs.h <<_ACEOF
18711 #define HAVE_FENV_H 1
18712 _ACEOF
18713  ac_has_fenv_h=yes
18714 else
18715   ac_has_fenv_h=no
18716 fi
18717
18718 done
18719
18720   ac_c99_fenv_tr1=no;
18721   if test x"$ac_has_fenv_h" = x"yes"; then
18722     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18723 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18724     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h.  */
18726 #include <fenv.h>
18727 int
18728 main ()
18729 {
18730 int except, mode;
18731                     fexcept_t* pflag;
18732                     fenv_t* penv;
18733                     int ret;
18734                     ret = feclearexcept(except);
18735                     ret = fegetexceptflag(pflag, except);
18736                     ret = feraiseexcept(except);
18737                     ret = fesetexceptflag(pflag, except);
18738                     ret = fetestexcept(except);
18739                     ret = fegetround();
18740                     ret = fesetround(mode);
18741                     ret = fegetenv(penv);
18742                     ret = feholdexcept(penv);
18743                     ret = fesetenv(penv);
18744                     ret = feupdateenv(penv);
18745
18746   ;
18747   return 0;
18748 }
18749 _ACEOF
18750 if ac_fn_cxx_try_compile "$LINENO"; then :
18751   ac_c99_fenv_tr1=yes
18752 else
18753   ac_c99_fenv_tr1=no
18754 fi
18755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18756   fi
18757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18758 $as_echo "$ac_c99_fenv_tr1" >&6; }
18759   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18760
18761 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18762
18763   fi
18764
18765   # Check for the existence of <stdint.h> types.
18766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18767 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18768   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18769   $as_echo_n "(cached) " >&6
18770 else
18771
18772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h.  */
18774 #define __STDC_LIMIT_MACROS
18775                   #define __STDC_CONSTANT_MACROS
18776                   #include <stdint.h>
18777 int
18778 main ()
18779 {
18780 typedef int8_t          my_int8_t;
18781                   my_int8_t               i8 = INT8_MIN;
18782                   i8 = INT8_MAX;
18783                   typedef int16_t         my_int16_t;
18784                   my_int16_t              i16 = INT16_MIN;
18785                   i16 = INT16_MAX;
18786                   typedef int32_t         my_int32_t;
18787                   my_int32_t              i32 = INT32_MIN;
18788                   i32 = INT32_MAX;
18789                   typedef int64_t         my_int64_t;
18790                   my_int64_t              i64 = INT64_MIN;
18791                   i64 = INT64_MAX;
18792                   typedef int_fast8_t     my_int_fast8_t;
18793                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18794                   if8 = INT_FAST8_MAX;
18795                   typedef int_fast16_t    my_int_fast16_t;
18796                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18797                   if16 = INT_FAST16_MAX;
18798                   typedef int_fast32_t    my_int_fast32_t;
18799                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18800                   if32 = INT_FAST32_MAX;
18801                   typedef int_fast64_t    my_int_fast64_t;
18802                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18803                   if64 = INT_FAST64_MAX;
18804                   typedef int_least8_t    my_int_least8_t;
18805                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18806                   il8 = INT_LEAST8_MAX;
18807                   typedef int_least16_t   my_int_least16_t;
18808                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18809                   il16 = INT_LEAST16_MAX;
18810                   typedef int_least32_t   my_int_least32_t;
18811                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18812                   il32 = INT_LEAST32_MAX;
18813                   typedef int_least64_t   my_int_least64_t;
18814                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18815                   il64 = INT_LEAST64_MAX;
18816                   typedef intmax_t        my_intmax_t;
18817                   my_intmax_t             im = INTMAX_MAX;
18818                   im = INTMAX_MIN;
18819                   typedef intptr_t        my_intptr_t;
18820                   my_intptr_t             ip = INTPTR_MAX;
18821                   ip = INTPTR_MIN;
18822                   typedef uint8_t         my_uint8_t;
18823                   my_uint8_t              ui8 = UINT8_MAX;
18824                   ui8 = UINT8_MAX;
18825                   typedef uint16_t        my_uint16_t;
18826                   my_uint16_t             ui16 = UINT16_MAX;
18827                   ui16 = UINT16_MAX;
18828                   typedef uint32_t        my_uint32_t;
18829                   my_uint32_t             ui32 = UINT32_MAX;
18830                   ui32 = UINT32_MAX;
18831                   typedef uint64_t        my_uint64_t;
18832                   my_uint64_t             ui64 = UINT64_MAX;
18833                   ui64 = UINT64_MAX;
18834                   typedef uint_fast8_t    my_uint_fast8_t;
18835                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18836                   uif8 = UINT_FAST8_MAX;
18837                   typedef uint_fast16_t   my_uint_fast16_t;
18838                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18839                   uif16 = UINT_FAST16_MAX;
18840                   typedef uint_fast32_t   my_uint_fast32_t;
18841                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18842                   uif32 = UINT_FAST32_MAX;
18843                   typedef uint_fast64_t   my_uint_fast64_t;
18844                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18845                   uif64 = UINT_FAST64_MAX;
18846                   typedef uint_least8_t   my_uint_least8_t;
18847                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18848                   uil8 = UINT_LEAST8_MAX;
18849                   typedef uint_least16_t  my_uint_least16_t;
18850                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18851                   uil16 = UINT_LEAST16_MAX;
18852                   typedef uint_least32_t  my_uint_least32_t;
18853                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18854                   uil32 = UINT_LEAST32_MAX;
18855                   typedef uint_least64_t  my_uint_least64_t;
18856                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18857                   uil64 = UINT_LEAST64_MAX;
18858                   typedef uintmax_t       my_uintmax_t;
18859                   my_uintmax_t            uim = UINTMAX_MAX;
18860                   uim = UINTMAX_MAX;
18861                   typedef uintptr_t       my_uintptr_t;
18862                   my_uintptr_t            uip = UINTPTR_MAX;
18863                   uip = UINTPTR_MAX;
18864
18865   ;
18866   return 0;
18867 }
18868 _ACEOF
18869 if ac_fn_cxx_try_compile "$LINENO"; then :
18870   glibcxx_cv_c99_stdint_tr1=yes
18871 else
18872   glibcxx_cv_c99_stdint_tr1=no
18873 fi
18874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18875
18876 fi
18877
18878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18879 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18880   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18881
18882 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18883
18884   fi
18885
18886   # Check for the existence of <math.h> functions.
18887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18888 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18889   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18890   $as_echo_n "(cached) " >&6
18891 else
18892
18893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h.  */
18895 #include <math.h>
18896 int
18897 main ()
18898 {
18899 typedef double_t  my_double_t;
18900                   typedef float_t   my_float_t;
18901                   acosh(0.0);
18902                   acoshf(0.0f);
18903                   acoshl(0.0l);
18904                   asinh(0.0);
18905                   asinhf(0.0f);
18906                   asinhl(0.0l);
18907                   atanh(0.0);
18908                   atanhf(0.0f);
18909                   atanhl(0.0l);
18910                   cbrt(0.0);
18911                   cbrtf(0.0f);
18912                   cbrtl(0.0l);
18913                   copysign(0.0, 0.0);
18914                   copysignf(0.0f, 0.0f);
18915                   copysignl(0.0l, 0.0l);
18916                   erf(0.0);
18917                   erff(0.0f);
18918                   erfl(0.0l);
18919                   erfc(0.0);
18920                   erfcf(0.0f);
18921                   erfcl(0.0l);
18922                   exp2(0.0);
18923                   exp2f(0.0f);
18924                   exp2l(0.0l);
18925                   expm1(0.0);
18926                   expm1f(0.0f);
18927                   expm1l(0.0l);
18928                   fdim(0.0, 0.0);
18929                   fdimf(0.0f, 0.0f);
18930                   fdiml(0.0l, 0.0l);
18931                   fma(0.0, 0.0, 0.0);
18932                   fmaf(0.0f, 0.0f, 0.0f);
18933                   fmal(0.0l, 0.0l, 0.0l);
18934                   fmax(0.0, 0.0);
18935                   fmaxf(0.0f, 0.0f);
18936                   fmaxl(0.0l, 0.0l);
18937                   fmin(0.0, 0.0);
18938                   fminf(0.0f, 0.0f);
18939                   fminl(0.0l, 0.0l);
18940                   hypot(0.0, 0.0);
18941                   hypotf(0.0f, 0.0f);
18942                   hypotl(0.0l, 0.0l);
18943                   ilogb(0.0);
18944                   ilogbf(0.0f);
18945                   ilogbl(0.0l);
18946                   lgamma(0.0);
18947                   lgammaf(0.0f);
18948                   lgammal(0.0l);
18949                   llrint(0.0);
18950                   llrintf(0.0f);
18951                   llrintl(0.0l);
18952                   llround(0.0);
18953                   llroundf(0.0f);
18954                   llroundl(0.0l);
18955                   log1p(0.0);
18956                   log1pf(0.0f);
18957                   log1pl(0.0l);
18958                   log2(0.0);
18959                   log2f(0.0f);
18960                   log2l(0.0l);
18961                   logb(0.0);
18962                   logbf(0.0f);
18963                   logbl(0.0l);
18964                   lrint(0.0);
18965                   lrintf(0.0f);
18966                   lrintl(0.0l);
18967                   lround(0.0);
18968                   lroundf(0.0f);
18969                   lroundl(0.0l);
18970                   nan(0);
18971                   nanf(0);
18972                   nanl(0);
18973                   nearbyint(0.0);
18974                   nearbyintf(0.0f);
18975                   nearbyintl(0.0l);
18976                   nextafter(0.0, 0.0);
18977                   nextafterf(0.0f, 0.0f);
18978                   nextafterl(0.0l, 0.0l);
18979                   nexttoward(0.0, 0.0);
18980                   nexttowardf(0.0f, 0.0f);
18981                   nexttowardl(0.0l, 0.0l);
18982                   remainder(0.0, 0.0);
18983                   remainderf(0.0f, 0.0f);
18984                   remainderl(0.0l, 0.0l);
18985                   remquo(0.0, 0.0, 0);
18986                   remquof(0.0f, 0.0f, 0);
18987                   remquol(0.0l, 0.0l, 0);
18988                   rint(0.0);
18989                   rintf(0.0f);
18990                   rintl(0.0l);
18991                   round(0.0);
18992                   roundf(0.0f);
18993                   roundl(0.0l);
18994                   scalbln(0.0, 0l);
18995                   scalblnf(0.0f, 0l);
18996                   scalblnl(0.0l, 0l);
18997                   scalbn(0.0, 0);
18998                   scalbnf(0.0f, 0);
18999                   scalbnl(0.0l, 0);
19000                   tgamma(0.0);
19001                   tgammaf(0.0f);
19002                   tgammal(0.0l);
19003                   trunc(0.0);
19004                   truncf(0.0f);
19005                   truncl(0.0l);
19006
19007   ;
19008   return 0;
19009 }
19010 _ACEOF
19011 if ac_fn_cxx_try_compile "$LINENO"; then :
19012   glibcxx_cv_c99_math_tr1=yes
19013 else
19014   glibcxx_cv_c99_math_tr1=no
19015 fi
19016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19017
19018 fi
19019
19020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19021 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19022   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19023
19024 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19025
19026   fi
19027
19028   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19029   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19030   ac_c99_inttypes_tr1=no;
19031   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19033 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19034     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h.  */
19036 #include <inttypes.h>
19037 int
19038 main ()
19039 {
19040 intmax_t i, numer, denom, base;
19041                     const char* s;
19042                     char** endptr;
19043                     intmax_t ret = imaxabs(i);
19044                     imaxdiv_t dret = imaxdiv(numer, denom);
19045                     ret = strtoimax(s, endptr, base);
19046                     uintmax_t uret = strtoumax(s, endptr, base);
19047
19048   ;
19049   return 0;
19050 }
19051 _ACEOF
19052 if ac_fn_cxx_try_compile "$LINENO"; then :
19053   ac_c99_inttypes_tr1=yes
19054 else
19055   ac_c99_inttypes_tr1=no
19056 fi
19057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058   fi
19059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19060 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19061   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19062
19063 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19064
19065   fi
19066
19067   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19068   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069   ac_c99_inttypes_wchar_t_tr1=no;
19070   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19072 $as_echo_n "checking for wchar_t 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 base;
19080                     const wchar_t* s;
19081                     wchar_t** endptr;
19082                     intmax_t ret = wcstoimax(s, endptr, base);
19083                     uintmax_t uret = wcstoumax(s, endptr, base);
19084
19085   ;
19086   return 0;
19087 }
19088 _ACEOF
19089 if ac_fn_cxx_try_compile "$LINENO"; then :
19090   ac_c99_inttypes_wchar_t_tr1=yes
19091 else
19092   ac_c99_inttypes_wchar_t_tr1=no
19093 fi
19094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19095   fi
19096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19097 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19098   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19099
19100 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19101
19102   fi
19103
19104   # Check for the existence of the <stdbool.h> header.
19105   for ac_header in stdbool.h
19106 do :
19107   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19108 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19109   cat >>confdefs.h <<_ACEOF
19110 #define HAVE_STDBOOL_H 1
19111 _ACEOF
19112
19113 fi
19114
19115 done
19116
19117
19118   # Check for the existence of the <stdalign.h> header.
19119   for ac_header in stdalign.h
19120 do :
19121   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19122 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19123   cat >>confdefs.h <<_ACEOF
19124 #define HAVE_STDALIGN_H 1
19125 _ACEOF
19126
19127 fi
19128
19129 done
19130
19131
19132   CXXFLAGS="$ac_save_CXXFLAGS"
19133   ac_ext=c
19134 ac_cpp='$CPP $CPPFLAGS'
19135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19138
19139
19140
19141 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19142
19143
19144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19145 $as_echo_n "checking for the value of EOF... " >&6; }
19146 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19147   $as_echo_n "(cached) " >&6
19148 else
19149
19150   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19151
19152 else
19153   as_fn_error "computing EOF failed" "$LINENO" 5
19154 fi
19155
19156
19157 fi
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19159 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19160
19161 cat >>confdefs.h <<_ACEOF
19162 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19163 _ACEOF
19164
19165
19166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19167 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19168 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19169   $as_echo_n "(cached) " >&6
19170 else
19171
19172   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19173
19174 else
19175   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19176 fi
19177
19178
19179 fi
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19181 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19182
19183 cat >>confdefs.h <<_ACEOF
19184 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19185 _ACEOF
19186
19187
19188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19189 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19190 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19191   $as_echo_n "(cached) " >&6
19192 else
19193
19194   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19195
19196 else
19197   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19198 fi
19199
19200
19201 fi
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19203 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19204
19205 cat >>confdefs.h <<_ACEOF
19206 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19207 _ACEOF
19208
19209
19210
19211 # For gettimeofday support.
19212
19213
19214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19215 $as_echo_n "checking for gettimeofday... " >&6; }
19216
19217
19218   ac_ext=cpp
19219 ac_cpp='$CXXCPP $CPPFLAGS'
19220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19223
19224   ac_save_CXXFLAGS="$CXXFLAGS"
19225   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19226
19227   ac_has_gettimeofday=no;
19228   for ac_header in sys/time.h
19229 do :
19230   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19231 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19232   cat >>confdefs.h <<_ACEOF
19233 #define HAVE_SYS_TIME_H 1
19234 _ACEOF
19235  ac_has_sys_time_h=yes
19236 else
19237   ac_has_sys_time_h=no
19238 fi
19239
19240 done
19241
19242   if test x"$ac_has_sys_time_h" = x"yes"; then
19243     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19244 $as_echo_n "checking for gettimeofday... " >&6; }
19245     if test x$gcc_no_link = xyes; then
19246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19247 /* end confdefs.h.  */
19248 #include <sys/time.h>
19249 int
19250 main ()
19251 {
19252 timeval tv; gettimeofday(&tv, 0);
19253   ;
19254   return 0;
19255 }
19256 _ACEOF
19257 if ac_fn_cxx_try_compile "$LINENO"; then :
19258   ac_has_gettimeofday=yes
19259 else
19260   ac_has_gettimeofday=no
19261 fi
19262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263 else
19264   if test x$gcc_no_link = xyes; then
19265   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19266 fi
19267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19268 /* end confdefs.h.  */
19269 #include <sys/time.h>
19270 int
19271 main ()
19272 {
19273 timeval tv; gettimeofday(&tv, 0);
19274   ;
19275   return 0;
19276 }
19277 _ACEOF
19278 if ac_fn_cxx_try_link "$LINENO"; then :
19279   ac_has_gettimeofday=yes
19280 else
19281   ac_has_gettimeofday=no
19282 fi
19283 rm -f core conftest.err conftest.$ac_objext \
19284     conftest$ac_exeext conftest.$ac_ext
19285 fi
19286
19287     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19288 $as_echo "$ac_has_gettimeofday" >&6; }
19289   fi
19290
19291   if test x"$ac_has_gettimeofday" = x"yes"; then
19292
19293 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19294
19295   fi
19296
19297   CXXFLAGS="$ac_save_CXXFLAGS"
19298   ac_ext=c
19299 ac_cpp='$CPP $CPPFLAGS'
19300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19303
19304
19305
19306 # For clock_gettime, nanosleep and sched_yield support.
19307 # NB: The default is [no], because otherwise it requires linking.
19308
19309
19310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19311 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19312    # Check whether --enable-libstdcxx-time was given.
19313 if test "${enable_libstdcxx_time+set}" = set; then :
19314   enableval=$enable_libstdcxx_time;
19315       case "$enableval" in
19316        yes|no|rt) ;;
19317        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19318                         esac
19319
19320 else
19321   enable_libstdcxx_time=no
19322 fi
19323
19324
19325
19326
19327   ac_ext=cpp
19328 ac_cpp='$CXXCPP $CPPFLAGS'
19329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19332
19333   ac_save_CXXFLAGS="$CXXFLAGS"
19334   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19335   ac_save_LIBS="$LIBS"
19336
19337   ac_has_clock_monotonic=no
19338   ac_has_clock_realtime=no
19339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19340 $as_echo "$enable_libstdcxx_time" >&6; }
19341
19342   if test x"$enable_libstdcxx_time" != x"no"; then
19343
19344     if test x"$enable_libstdcxx_time" = x"rt"; then
19345       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19346 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19347 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19348   $as_echo_n "(cached) " >&6
19349 else
19350   ac_func_search_save_LIBS=$LIBS
19351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19352 /* end confdefs.h.  */
19353
19354 /* Override any GCC internal prototype to avoid an error.
19355    Use char because int might match the return type of a GCC
19356    builtin and then its argument prototype would still apply.  */
19357 #ifdef __cplusplus
19358 extern "C"
19359 #endif
19360 char clock_gettime ();
19361 int
19362 main ()
19363 {
19364 return clock_gettime ();
19365   ;
19366   return 0;
19367 }
19368 _ACEOF
19369 for ac_lib in '' rt posix4; do
19370   if test -z "$ac_lib"; then
19371     ac_res="none required"
19372   else
19373     ac_res=-l$ac_lib
19374     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19375   fi
19376   if test x$gcc_no_link = xyes; then
19377   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19378 fi
19379 if ac_fn_cxx_try_link "$LINENO"; then :
19380   ac_cv_search_clock_gettime=$ac_res
19381 fi
19382 rm -f core conftest.err conftest.$ac_objext \
19383     conftest$ac_exeext
19384   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19385   break
19386 fi
19387 done
19388 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19389
19390 else
19391   ac_cv_search_clock_gettime=no
19392 fi
19393 rm conftest.$ac_ext
19394 LIBS=$ac_func_search_save_LIBS
19395 fi
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19397 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19398 ac_res=$ac_cv_search_clock_gettime
19399 if test "$ac_res" != no; then :
19400   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19401
19402 fi
19403
19404       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19405 $as_echo_n "checking for library containing nanosleep... " >&6; }
19406 if test "${ac_cv_search_nanosleep+set}" = set; then :
19407   $as_echo_n "(cached) " >&6
19408 else
19409   ac_func_search_save_LIBS=$LIBS
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h.  */
19412
19413 /* Override any GCC internal prototype to avoid an error.
19414    Use char because int might match the return type of a GCC
19415    builtin and then its argument prototype would still apply.  */
19416 #ifdef __cplusplus
19417 extern "C"
19418 #endif
19419 char nanosleep ();
19420 int
19421 main ()
19422 {
19423 return nanosleep ();
19424   ;
19425   return 0;
19426 }
19427 _ACEOF
19428 for ac_lib in '' rt posix4; do
19429   if test -z "$ac_lib"; then
19430     ac_res="none required"
19431   else
19432     ac_res=-l$ac_lib
19433     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19434   fi
19435   if test x$gcc_no_link = xyes; then
19436   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19437 fi
19438 if ac_fn_cxx_try_link "$LINENO"; then :
19439   ac_cv_search_nanosleep=$ac_res
19440 fi
19441 rm -f core conftest.err conftest.$ac_objext \
19442     conftest$ac_exeext
19443   if test "${ac_cv_search_nanosleep+set}" = set; then :
19444   break
19445 fi
19446 done
19447 if test "${ac_cv_search_nanosleep+set}" = set; then :
19448
19449 else
19450   ac_cv_search_nanosleep=no
19451 fi
19452 rm conftest.$ac_ext
19453 LIBS=$ac_func_search_save_LIBS
19454 fi
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19456 $as_echo "$ac_cv_search_nanosleep" >&6; }
19457 ac_res=$ac_cv_search_nanosleep
19458 if test "$ac_res" != no; then :
19459   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19460
19461 fi
19462
19463     else
19464       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19465 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19466 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19467   $as_echo_n "(cached) " >&6
19468 else
19469   ac_func_search_save_LIBS=$LIBS
19470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19471 /* end confdefs.h.  */
19472
19473 /* Override any GCC internal prototype to avoid an error.
19474    Use char because int might match the return type of a GCC
19475    builtin and then its argument prototype would still apply.  */
19476 #ifdef __cplusplus
19477 extern "C"
19478 #endif
19479 char clock_gettime ();
19480 int
19481 main ()
19482 {
19483 return clock_gettime ();
19484   ;
19485   return 0;
19486 }
19487 _ACEOF
19488 for ac_lib in '' posix4; do
19489   if test -z "$ac_lib"; then
19490     ac_res="none required"
19491   else
19492     ac_res=-l$ac_lib
19493     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19494   fi
19495   if test x$gcc_no_link = xyes; then
19496   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19497 fi
19498 if ac_fn_cxx_try_link "$LINENO"; then :
19499   ac_cv_search_clock_gettime=$ac_res
19500 fi
19501 rm -f core conftest.err conftest.$ac_objext \
19502     conftest$ac_exeext
19503   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19504   break
19505 fi
19506 done
19507 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19508
19509 else
19510   ac_cv_search_clock_gettime=no
19511 fi
19512 rm conftest.$ac_ext
19513 LIBS=$ac_func_search_save_LIBS
19514 fi
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19516 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19517 ac_res=$ac_cv_search_clock_gettime
19518 if test "$ac_res" != no; then :
19519   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19520
19521 fi
19522
19523       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19524 $as_echo_n "checking for library containing nanosleep... " >&6; }
19525 if test "${ac_cv_search_nanosleep+set}" = set; then :
19526   $as_echo_n "(cached) " >&6
19527 else
19528   ac_func_search_save_LIBS=$LIBS
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h.  */
19531
19532 /* Override any GCC internal prototype to avoid an error.
19533    Use char because int might match the return type of a GCC
19534    builtin and then its argument prototype would still apply.  */
19535 #ifdef __cplusplus
19536 extern "C"
19537 #endif
19538 char nanosleep ();
19539 int
19540 main ()
19541 {
19542 return nanosleep ();
19543   ;
19544   return 0;
19545 }
19546 _ACEOF
19547 for ac_lib in '' posix4; do
19548   if test -z "$ac_lib"; then
19549     ac_res="none required"
19550   else
19551     ac_res=-l$ac_lib
19552     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19553   fi
19554   if test x$gcc_no_link = xyes; then
19555   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19556 fi
19557 if ac_fn_cxx_try_link "$LINENO"; then :
19558   ac_cv_search_nanosleep=$ac_res
19559 fi
19560 rm -f core conftest.err conftest.$ac_objext \
19561     conftest$ac_exeext
19562   if test "${ac_cv_search_nanosleep+set}" = set; then :
19563   break
19564 fi
19565 done
19566 if test "${ac_cv_search_nanosleep+set}" = set; then :
19567
19568 else
19569   ac_cv_search_nanosleep=no
19570 fi
19571 rm conftest.$ac_ext
19572 LIBS=$ac_func_search_save_LIBS
19573 fi
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19575 $as_echo "$ac_cv_search_nanosleep" >&6; }
19576 ac_res=$ac_cv_search_nanosleep
19577 if test "$ac_res" != no; then :
19578   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19579
19580 fi
19581
19582     fi
19583
19584     case "$ac_cv_search_clock_gettime" in
19585       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19586       ;;
19587     esac
19588     case "$ac_cv_search_nanosleep" in
19589       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19590       ;;
19591     esac
19592
19593     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19594 $as_echo_n "checking for library containing sched_yield... " >&6; }
19595 if test "${ac_cv_search_sched_yield+set}" = set; then :
19596   $as_echo_n "(cached) " >&6
19597 else
19598   ac_func_search_save_LIBS=$LIBS
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h.  */
19601
19602 /* Override any GCC internal prototype to avoid an error.
19603    Use char because int might match the return type of a GCC
19604    builtin and then its argument prototype would still apply.  */
19605 #ifdef __cplusplus
19606 extern "C"
19607 #endif
19608 char sched_yield ();
19609 int
19610 main ()
19611 {
19612 return sched_yield ();
19613   ;
19614   return 0;
19615 }
19616 _ACEOF
19617 for ac_lib in '' rt posix4; do
19618   if test -z "$ac_lib"; then
19619     ac_res="none required"
19620   else
19621     ac_res=-l$ac_lib
19622     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19623   fi
19624   if test x$gcc_no_link = xyes; then
19625   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19626 fi
19627 if ac_fn_cxx_try_link "$LINENO"; then :
19628   ac_cv_search_sched_yield=$ac_res
19629 fi
19630 rm -f core conftest.err conftest.$ac_objext \
19631     conftest$ac_exeext
19632   if test "${ac_cv_search_sched_yield+set}" = set; then :
19633   break
19634 fi
19635 done
19636 if test "${ac_cv_search_sched_yield+set}" = set; then :
19637
19638 else
19639   ac_cv_search_sched_yield=no
19640 fi
19641 rm conftest.$ac_ext
19642 LIBS=$ac_func_search_save_LIBS
19643 fi
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19645 $as_echo "$ac_cv_search_sched_yield" >&6; }
19646 ac_res=$ac_cv_search_sched_yield
19647 if test "$ac_res" != no; then :
19648   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19649
19650 fi
19651
19652
19653     case "$ac_cv_search_sched_yield" in
19654       -lposix4*)
19655       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19656
19657 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19658
19659       ;;
19660       -lrt*)
19661       if test x"$enable_libstdcxx_time" = x"rt"; then
19662         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19663
19664 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19665
19666       fi
19667       ;;
19668       *)
19669
19670 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19671
19672       ;;
19673     esac
19674
19675     for ac_header in unistd.h
19676 do :
19677   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19678 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19679   cat >>confdefs.h <<_ACEOF
19680 #define HAVE_UNISTD_H 1
19681 _ACEOF
19682  ac_has_unistd_h=yes
19683 else
19684   ac_has_unistd_h=no
19685 fi
19686
19687 done
19688
19689
19690     if test x"$ac_has_unistd_h" = x"yes"; then
19691       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19692 $as_echo_n "checking for monotonic clock... " >&6; }
19693       if test x$gcc_no_link = xyes; then
19694   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19695 fi
19696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19697 /* end confdefs.h.  */
19698 #include <unistd.h>
19699          #include <time.h>
19700
19701 int
19702 main ()
19703 {
19704 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19705           timespec tp;
19706          #endif
19707           clock_gettime(CLOCK_MONOTONIC, &tp);
19708
19709   ;
19710   return 0;
19711 }
19712 _ACEOF
19713 if ac_fn_cxx_try_link "$LINENO"; then :
19714   ac_has_clock_monotonic=yes
19715 else
19716   ac_has_clock_monotonic=no
19717 fi
19718 rm -f core conftest.err conftest.$ac_objext \
19719     conftest$ac_exeext conftest.$ac_ext
19720
19721       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19722 $as_echo "$ac_has_clock_monotonic" >&6; }
19723
19724       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19725 $as_echo_n "checking for realtime clock... " >&6; }
19726       if test x$gcc_no_link = xyes; then
19727   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19728 fi
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h.  */
19731 #include <unistd.h>
19732          #include <time.h>
19733
19734 int
19735 main ()
19736 {
19737 #if _POSIX_TIMERS > 0
19738           timespec tp;
19739          #endif
19740           clock_gettime(CLOCK_REALTIME, &tp);
19741
19742   ;
19743   return 0;
19744 }
19745 _ACEOF
19746 if ac_fn_cxx_try_link "$LINENO"; then :
19747   ac_has_clock_realtime=yes
19748 else
19749   ac_has_clock_realtime=no
19750 fi
19751 rm -f core conftest.err conftest.$ac_objext \
19752     conftest$ac_exeext conftest.$ac_ext
19753
19754       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19755 $as_echo "$ac_has_clock_realtime" >&6; }
19756
19757       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19758 $as_echo_n "checking for nanosleep... " >&6; }
19759       if test x$gcc_no_link = xyes; then
19760   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19761 fi
19762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19763 /* end confdefs.h.  */
19764 #include <unistd.h>
19765          #include <time.h>
19766
19767 int
19768 main ()
19769 {
19770 #if _POSIX_TIMERS > 0
19771           timespec tp;
19772          #endif
19773           nanosleep(&tp, 0);
19774
19775   ;
19776   return 0;
19777 }
19778 _ACEOF
19779 if ac_fn_cxx_try_link "$LINENO"; then :
19780   ac_has_nanosleep=yes
19781 else
19782   ac_has_nanosleep=no
19783 fi
19784 rm -f core conftest.err conftest.$ac_objext \
19785     conftest$ac_exeext conftest.$ac_ext
19786
19787       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19788 $as_echo "$ac_has_nanosleep" >&6; }
19789     fi
19790   fi
19791
19792   if test x"$ac_has_clock_monotonic" = x"yes"; then
19793
19794 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19795
19796   fi
19797
19798   if test x"$ac_has_clock_realtime" = x"yes"; then
19799
19800 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19801
19802   fi
19803
19804   if test x"$ac_has_nanosleep" = x"yes"; then
19805
19806 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19807
19808   fi
19809
19810
19811
19812   CXXFLAGS="$ac_save_CXXFLAGS"
19813   LIBS="$ac_save_LIBS"
19814   ac_ext=c
19815 ac_cpp='$CPP $CPPFLAGS'
19816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19819
19820
19821
19822
19823   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19824 if test "x$ac_cv_header_locale_h" = x""yes; then :
19825
19826     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19827 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19828 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19829   $as_echo_n "(cached) " >&6
19830 else
19831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h.  */
19833 #include <locale.h>
19834 int
19835 main ()
19836 {
19837 return LC_MESSAGES
19838   ;
19839   return 0;
19840 }
19841 _ACEOF
19842 if ac_fn_c_try_compile "$LINENO"; then :
19843   ac_cv_val_LC_MESSAGES=yes
19844 else
19845   ac_cv_val_LC_MESSAGES=no
19846 fi
19847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19848 fi
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19850 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19851     if test $ac_cv_val_LC_MESSAGES = yes; then
19852
19853 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19854
19855     fi
19856
19857 fi
19858
19859
19860
19861
19862 # For hardware_concurrency
19863 for ac_header in sys/sysinfo.h
19864 do :
19865   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19866 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19867   cat >>confdefs.h <<_ACEOF
19868 #define HAVE_SYS_SYSINFO_H 1
19869 _ACEOF
19870
19871 fi
19872
19873 done
19874
19875
19876
19877
19878   ac_ext=cpp
19879 ac_cpp='$CXXCPP $CPPFLAGS'
19880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19883
19884   ac_save_CXXFLAGS="$CXXFLAGS"
19885   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19886
19887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19888 $as_echo_n "checking for get_nprocs... " >&6; }
19889   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19890   $as_echo_n "(cached) " >&6
19891 else
19892
19893     if test x$gcc_no_link = xyes; then
19894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h.  */
19896 #include <sys/sysinfo.h>
19897 int
19898 main ()
19899 {
19900 int n = get_nprocs();
19901   ;
19902   return 0;
19903 }
19904 _ACEOF
19905 if ac_fn_cxx_try_compile "$LINENO"; then :
19906   glibcxx_cv_GET_NPROCS=yes
19907 else
19908   glibcxx_cv_GET_NPROCS=no
19909 fi
19910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19911 else
19912   if test x$gcc_no_link = xyes; then
19913   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19914 fi
19915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916 /* end confdefs.h.  */
19917 #include <sys/sysinfo.h>
19918 int
19919 main ()
19920 {
19921 int n = get_nprocs();
19922   ;
19923   return 0;
19924 }
19925 _ACEOF
19926 if ac_fn_cxx_try_link "$LINENO"; then :
19927   glibcxx_cv_GET_NPROCS=yes
19928 else
19929   glibcxx_cv_GET_NPROCS=no
19930 fi
19931 rm -f core conftest.err conftest.$ac_objext \
19932     conftest$ac_exeext conftest.$ac_ext
19933 fi
19934
19935 fi
19936
19937   if test $glibcxx_cv_GET_NPROCS = yes; then
19938
19939 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19940
19941   fi
19942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19943 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19944
19945   CXXFLAGS="$ac_save_CXXFLAGS"
19946   ac_ext=c
19947 ac_cpp='$CPP $CPPFLAGS'
19948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19951
19952
19953 for ac_header in unistd.h
19954 do :
19955   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19956 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19957   cat >>confdefs.h <<_ACEOF
19958 #define HAVE_UNISTD_H 1
19959 _ACEOF
19960
19961 fi
19962
19963 done
19964
19965
19966
19967
19968   ac_ext=cpp
19969 ac_cpp='$CXXCPP $CPPFLAGS'
19970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19973
19974   ac_save_CXXFLAGS="$CXXFLAGS"
19975   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19976
19977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19978 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19979   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19980   $as_echo_n "(cached) " >&6
19981 else
19982
19983     if test x$gcc_no_link = xyes; then
19984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19985 /* end confdefs.h.  */
19986 #include <unistd.h>
19987 int
19988 main ()
19989 {
19990 int n = sysconf(_SC_NPROCESSORS_ONLN);
19991   ;
19992   return 0;
19993 }
19994 _ACEOF
19995 if ac_fn_cxx_try_compile "$LINENO"; then :
19996   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19997 else
19998   glibcxx_cv_SC_NPROCESSORS_ONLN=no
19999 fi
20000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20001 else
20002   if test x$gcc_no_link = xyes; then
20003   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20004 fi
20005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20006 /* end confdefs.h.  */
20007 #include <unistd.h>
20008 int
20009 main ()
20010 {
20011 int n = sysconf(_SC_NPROCESSORS_ONLN);
20012   ;
20013   return 0;
20014 }
20015 _ACEOF
20016 if ac_fn_cxx_try_link "$LINENO"; then :
20017   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20018 else
20019   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20020 fi
20021 rm -f core conftest.err conftest.$ac_objext \
20022     conftest$ac_exeext conftest.$ac_ext
20023 fi
20024
20025 fi
20026
20027   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20028
20029 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20030
20031   fi
20032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20033 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20034
20035   CXXFLAGS="$ac_save_CXXFLAGS"
20036   ac_ext=c
20037 ac_cpp='$CPP $CPPFLAGS'
20038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20041
20042
20043
20044
20045
20046   ac_ext=cpp
20047 ac_cpp='$CXXCPP $CPPFLAGS'
20048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20051
20052   ac_save_CXXFLAGS="$CXXFLAGS"
20053   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20054
20055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20056 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20057   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20058   $as_echo_n "(cached) " >&6
20059 else
20060
20061     if test x$gcc_no_link = xyes; then
20062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20063 /* end confdefs.h.  */
20064 #include <unistd.h>
20065 int
20066 main ()
20067 {
20068 int n = sysconf(_SC_NPROC_ONLN);
20069   ;
20070   return 0;
20071 }
20072 _ACEOF
20073 if ac_fn_cxx_try_compile "$LINENO"; then :
20074   glibcxx_cv_SC_NPROC_ONLN=yes
20075 else
20076   glibcxx_cv_SC_NPROC_ONLN=no
20077 fi
20078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20079 else
20080   if test x$gcc_no_link = xyes; then
20081   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20082 fi
20083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20084 /* end confdefs.h.  */
20085 #include <unistd.h>
20086 int
20087 main ()
20088 {
20089 int n = sysconf(_SC_NPROC_ONLN);
20090   ;
20091   return 0;
20092 }
20093 _ACEOF
20094 if ac_fn_cxx_try_link "$LINENO"; then :
20095   glibcxx_cv_SC_NPROC_ONLN=yes
20096 else
20097   glibcxx_cv_SC_NPROC_ONLN=no
20098 fi
20099 rm -f core conftest.err conftest.$ac_objext \
20100     conftest$ac_exeext conftest.$ac_ext
20101 fi
20102
20103 fi
20104
20105   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20106
20107 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20108
20109   fi
20110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20111 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20112
20113   CXXFLAGS="$ac_save_CXXFLAGS"
20114   ac_ext=c
20115 ac_cpp='$CPP $CPPFLAGS'
20116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20119
20120
20121
20122
20123
20124   ac_ext=cpp
20125 ac_cpp='$CXXCPP $CPPFLAGS'
20126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20129
20130   ac_save_CXXFLAGS="$CXXFLAGS"
20131   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20132
20133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20134 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20135   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20136   $as_echo_n "(cached) " >&6
20137 else
20138
20139     if test x$gcc_no_link = xyes; then
20140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h.  */
20142 #include <pthread.h>
20143 int
20144 main ()
20145 {
20146 int n = pthread_num_processors_np();
20147   ;
20148   return 0;
20149 }
20150 _ACEOF
20151 if ac_fn_cxx_try_compile "$LINENO"; then :
20152   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20153 else
20154   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20155 fi
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20157 else
20158   if test x$gcc_no_link = xyes; then
20159   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20160 fi
20161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h.  */
20163 #include <pthread.h>
20164 int
20165 main ()
20166 {
20167 int n = pthread_num_processors_np();
20168   ;
20169   return 0;
20170 }
20171 _ACEOF
20172 if ac_fn_cxx_try_link "$LINENO"; then :
20173   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20174 else
20175   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20176 fi
20177 rm -f core conftest.err conftest.$ac_objext \
20178     conftest$ac_exeext conftest.$ac_ext
20179 fi
20180
20181 fi
20182
20183   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20184
20185 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20186
20187   fi
20188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20189 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20190
20191   CXXFLAGS="$ac_save_CXXFLAGS"
20192   ac_ext=c
20193 ac_cpp='$CPP $CPPFLAGS'
20194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20197
20198
20199
20200
20201
20202   ac_ext=cpp
20203 ac_cpp='$CXXCPP $CPPFLAGS'
20204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20207
20208   ac_save_CXXFLAGS="$CXXFLAGS"
20209   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20210
20211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20212 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20213   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20214   $as_echo_n "(cached) " >&6
20215 else
20216
20217     if test x$gcc_no_link = xyes; then
20218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20219 /* end confdefs.h.  */
20220
20221        #include <stddef.h>
20222        #include <sys/sysctl.h>
20223
20224 int
20225 main ()
20226 {
20227
20228        int count;
20229        size_t size = sizeof(count);
20230        int mib[] = { CTL_HW, HW_NCPU };
20231        sysctl(mib, 2, &count, &size, NULL, 0);
20232
20233   ;
20234   return 0;
20235 }
20236 _ACEOF
20237 if ac_fn_cxx_try_compile "$LINENO"; then :
20238   glibcxx_cv_SYSCTL_HW_NCPU=yes
20239 else
20240   glibcxx_cv_SYSCTL_HW_NCPU=no
20241 fi
20242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20243 else
20244   if test x$gcc_no_link = xyes; then
20245   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20246 fi
20247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20248 /* end confdefs.h.  */
20249
20250        #include <stddef.h>
20251        #include <sys/sysctl.h>
20252
20253 int
20254 main ()
20255 {
20256
20257        int count;
20258        size_t size = sizeof(count);
20259        int mib[] = { CTL_HW, HW_NCPU };
20260        sysctl(mib, 2, &count, &size, NULL, 0);
20261
20262   ;
20263   return 0;
20264 }
20265 _ACEOF
20266 if ac_fn_cxx_try_link "$LINENO"; then :
20267   glibcxx_cv_SYSCTL_HW_NCPU=yes
20268 else
20269   glibcxx_cv_SYSCTL_HW_NCPU=no
20270 fi
20271 rm -f core conftest.err conftest.$ac_objext \
20272     conftest$ac_exeext conftest.$ac_ext
20273 fi
20274
20275 fi
20276
20277   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20278
20279 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20280
20281   fi
20282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20283 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20284
20285   CXXFLAGS="$ac_save_CXXFLAGS"
20286   ac_ext=c
20287 ac_cpp='$CPP $CPPFLAGS'
20288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20291
20292
20293
20294 # Check for available headers.
20295 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20296 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20297 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20298 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20299 wchar.h wctype.h
20300 do :
20301   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20302 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20303 eval as_val=\$$as_ac_Header
20304    if test "x$as_val" = x""yes; then :
20305   cat >>confdefs.h <<_ACEOF
20306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20307 _ACEOF
20308
20309 fi
20310
20311 done
20312
20313
20314 # Only do link tests if native. Else, hardcode.
20315 if $GLIBCXX_IS_NATIVE; then
20316
20317   # We can do more elaborate tests that assume a working linker.
20318   CANADIAN=no
20319
20320
20321
20322 # Check whether --with-gnu-ld was given.
20323 if test "${with_gnu_ld+set}" = set; then :
20324   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20325 else
20326   with_gnu_ld=no
20327 fi
20328
20329 ac_prog=ld
20330 if test "$GCC" = yes; then
20331   # Check if gcc -print-prog-name=ld gives a path.
20332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20333 $as_echo_n "checking for ld used by $CC... " >&6; }
20334   case $host in
20335   *-*-mingw*)
20336     # gcc leaves a trailing carriage return which upsets mingw
20337     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20338   *)
20339     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20340   esac
20341   case $ac_prog in
20342     # Accept absolute paths.
20343     [\\/]* | ?:[\\/]*)
20344       re_direlt='/[^/][^/]*/\.\./'
20345       # Canonicalize the pathname of ld
20346       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20347       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20348         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20349       done
20350       test -z "$LD" && LD="$ac_prog"
20351       ;;
20352   "")
20353     # If it fails, then pretend we aren't using GCC.
20354     ac_prog=ld
20355     ;;
20356   *)
20357     # If it is relative, then search for the first ld in PATH.
20358     with_gnu_ld=unknown
20359     ;;
20360   esac
20361 elif test "$with_gnu_ld" = yes; then
20362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20363 $as_echo_n "checking for GNU ld... " >&6; }
20364 else
20365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20366 $as_echo_n "checking for non-GNU ld... " >&6; }
20367 fi
20368 if test "${lt_cv_path_LD+set}" = set; then :
20369   $as_echo_n "(cached) " >&6
20370 else
20371   if test -z "$LD"; then
20372   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20373   for ac_dir in $PATH; do
20374     IFS="$lt_save_ifs"
20375     test -z "$ac_dir" && ac_dir=.
20376     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20377       lt_cv_path_LD="$ac_dir/$ac_prog"
20378       # Check to see if the program is GNU ld.  I'd rather use --version,
20379       # but apparently some variants of GNU ld only accept -v.
20380       # Break only if it was the GNU/non-GNU ld that we prefer.
20381       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20382       *GNU* | *'with BFD'*)
20383         test "$with_gnu_ld" != no && break
20384         ;;
20385       *)
20386         test "$with_gnu_ld" != yes && break
20387         ;;
20388       esac
20389     fi
20390   done
20391   IFS="$lt_save_ifs"
20392 else
20393   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20394 fi
20395 fi
20396
20397 LD="$lt_cv_path_LD"
20398 if test -n "$LD"; then
20399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20400 $as_echo "$LD" >&6; }
20401 else
20402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20403 $as_echo "no" >&6; }
20404 fi
20405 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20407 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20408 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20409   $as_echo_n "(cached) " >&6
20410 else
20411   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20412 case `$LD -v 2>&1 </dev/null` in
20413 *GNU* | *'with BFD'*)
20414   lt_cv_prog_gnu_ld=yes
20415   ;;
20416 *)
20417   lt_cv_prog_gnu_ld=no
20418   ;;
20419 esac
20420 fi
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20422 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20423 with_gnu_ld=$lt_cv_prog_gnu_ld
20424
20425
20426
20427
20428
20429
20430
20431   # If we're not using GNU ld, then there's no point in even trying these
20432   # tests.  Check for that first.  We should have already tested for gld
20433   # by now (in libtool), but require it now just to be safe...
20434   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20435   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20436
20437
20438
20439   # The name set by libtool depends on the version of libtool.  Shame on us
20440   # for depending on an impl detail, but c'est la vie.  Older versions used
20441   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20442   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20443   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20444   # set (hence we're using an older libtool), then set it.
20445   if test x${with_gnu_ld+set} != xset; then
20446     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20447       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20448       with_gnu_ld=no
20449     else
20450       with_gnu_ld=$ac_cv_prog_gnu_ld
20451     fi
20452   fi
20453
20454   # Start by getting the version number.  I think the libtool test already
20455   # does some of this, but throws away the result.
20456   glibcxx_ld_is_gold=no
20457   if test x"$with_gnu_ld" = x"yes"; then
20458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20459 $as_echo_n "checking for ld version... " >&6; }
20460
20461     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20462       glibcxx_ld_is_gold=yes
20463     fi
20464     ldver=`$LD --version 2>/dev/null |
20465            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'`
20466
20467     glibcxx_gnu_ld_version=`echo $ldver | \
20468            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20469     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20470 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20471   fi
20472
20473   # Set --gc-sections.
20474   glibcxx_have_gc_sections=no
20475   if test "$glibcxx_ld_is_gold" = "yes"; then
20476     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20477       glibcxx_have_gc_sections=yes
20478     fi
20479   else
20480     glibcxx_gcsections_min_ld=21602
20481     if test x"$with_gnu_ld" = x"yes" &&
20482         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20483       glibcxx_have_gc_sections=yes
20484     fi
20485   fi
20486   if test "$glibcxx_have_gc_sections" = "yes"; then
20487     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20488     # NB: This flag only works reliably after 2.16.1. Configure tests
20489     # for this are difficult, so hard wire a value that should work.
20490
20491     ac_test_CFLAGS="${CFLAGS+set}"
20492     ac_save_CFLAGS="$CFLAGS"
20493     CFLAGS='-Wl,--gc-sections'
20494
20495     # Check for -Wl,--gc-sections
20496     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20497 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20498     if test x$gcc_no_link = xyes; then
20499   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20500 fi
20501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20502 /* end confdefs.h.  */
20503  int one(void) { return 1; }
20504      int two(void) { return 2; }
20505
20506 int
20507 main ()
20508 {
20509  two();
20510   ;
20511   return 0;
20512 }
20513 _ACEOF
20514 if ac_fn_c_try_link "$LINENO"; then :
20515   ac_gcsections=yes
20516 else
20517   ac_gcsections=no
20518 fi
20519 rm -f core conftest.err conftest.$ac_objext \
20520     conftest$ac_exeext conftest.$ac_ext
20521     if test "$ac_gcsections" = "yes"; then
20522       rm -f conftest.c
20523       touch conftest.c
20524       if $CC -c conftest.c; then
20525         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20526            grep "Warning: gc-sections option ignored" > /dev/null; then
20527           ac_gcsections=no
20528         fi
20529       fi
20530       rm -f conftest.c conftest.o conftest
20531     fi
20532     if test "$ac_gcsections" = "yes"; then
20533       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20534     fi
20535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20536 $as_echo "$ac_gcsections" >&6; }
20537
20538     if test "$ac_test_CFLAGS" = set; then
20539       CFLAGS="$ac_save_CFLAGS"
20540     else
20541       # this is the suspicious part
20542       CFLAGS=''
20543     fi
20544   fi
20545
20546   # Set -z,relro.
20547   # Note this is only for shared objects.
20548   ac_ld_relro=no
20549   if test x"$with_gnu_ld" = x"yes"; then
20550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20551 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20552     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20553     if test -n "$cxx_z_relo"; then
20554       OPT_LDFLAGS="-Wl,-z,relro"
20555       ac_ld_relro=yes
20556     fi
20557     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20558 $as_echo "$ac_ld_relro" >&6; }
20559   fi
20560
20561   # Set linker optimization flags.
20562   if test x"$with_gnu_ld" = x"yes"; then
20563     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20564   fi
20565
20566
20567
20568
20569
20570   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20571   ac_save_CXXFLAGS="$CXXFLAGS"
20572   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20573
20574     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20575 $as_echo_n "checking for sin in -lm... " >&6; }
20576 if test "${ac_cv_lib_m_sin+set}" = set; then :
20577   $as_echo_n "(cached) " >&6
20578 else
20579   ac_check_lib_save_LIBS=$LIBS
20580 LIBS="-lm  $LIBS"
20581 if test x$gcc_no_link = xyes; then
20582   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20583 fi
20584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20585 /* end confdefs.h.  */
20586
20587 /* Override any GCC internal prototype to avoid an error.
20588    Use char because int might match the return type of a GCC
20589    builtin and then its argument prototype would still apply.  */
20590 #ifdef __cplusplus
20591 extern "C"
20592 #endif
20593 char sin ();
20594 int
20595 main ()
20596 {
20597 return sin ();
20598   ;
20599   return 0;
20600 }
20601 _ACEOF
20602 if ac_fn_c_try_link "$LINENO"; then :
20603   ac_cv_lib_m_sin=yes
20604 else
20605   ac_cv_lib_m_sin=no
20606 fi
20607 rm -f core conftest.err conftest.$ac_objext \
20608     conftest$ac_exeext conftest.$ac_ext
20609 LIBS=$ac_check_lib_save_LIBS
20610 fi
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20612 $as_echo "$ac_cv_lib_m_sin" >&6; }
20613 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20614   libm="-lm"
20615 fi
20616
20617   ac_save_LIBS="$LIBS"
20618   LIBS="$LIBS $libm"
20619
20620
20621
20622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20623 $as_echo_n "checking for isinf declaration... " >&6; }
20624   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20625     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20626   $as_echo_n "(cached) " >&6
20627 else
20628
20629
20630       ac_ext=cpp
20631 ac_cpp='$CXXCPP $CPPFLAGS'
20632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20635
20636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20637 /* end confdefs.h.  */
20638 #include <math.h>
20639                       #ifdef HAVE_IEEEFP_H
20640                       #include <ieeefp.h>
20641                       #endif
20642
20643 int
20644 main ()
20645 {
20646  isinf(0);
20647   ;
20648   return 0;
20649 }
20650 _ACEOF
20651 if ac_fn_cxx_try_compile "$LINENO"; then :
20652   glibcxx_cv_func_isinf_use=yes
20653 else
20654   glibcxx_cv_func_isinf_use=no
20655 fi
20656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20657       ac_ext=c
20658 ac_cpp='$CPP $CPPFLAGS'
20659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20662
20663
20664 fi
20665
20666   fi
20667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20668 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20669
20670   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20671     for ac_func in isinf
20672 do :
20673   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20674 if test "x$ac_cv_func_isinf" = x""yes; then :
20675   cat >>confdefs.h <<_ACEOF
20676 #define HAVE_ISINF 1
20677 _ACEOF
20678
20679 fi
20680 done
20681
20682   else
20683
20684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20685 $as_echo_n "checking for _isinf declaration... " >&6; }
20686   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20687     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20688   $as_echo_n "(cached) " >&6
20689 else
20690
20691
20692       ac_ext=cpp
20693 ac_cpp='$CXXCPP $CPPFLAGS'
20694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20697
20698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20699 /* end confdefs.h.  */
20700 #include <math.h>
20701                       #ifdef HAVE_IEEEFP_H
20702                       #include <ieeefp.h>
20703                       #endif
20704
20705 int
20706 main ()
20707 {
20708  _isinf(0);
20709   ;
20710   return 0;
20711 }
20712 _ACEOF
20713 if ac_fn_cxx_try_compile "$LINENO"; then :
20714   glibcxx_cv_func__isinf_use=yes
20715 else
20716   glibcxx_cv_func__isinf_use=no
20717 fi
20718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20719       ac_ext=c
20720 ac_cpp='$CPP $CPPFLAGS'
20721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20724
20725
20726 fi
20727
20728   fi
20729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20730 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20731
20732     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20733       for ac_func in _isinf
20734 do :
20735   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20736 if test "x$ac_cv_func__isinf" = x""yes; then :
20737   cat >>confdefs.h <<_ACEOF
20738 #define HAVE__ISINF 1
20739 _ACEOF
20740
20741 fi
20742 done
20743
20744     fi
20745   fi
20746
20747
20748
20749
20750
20751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20752 $as_echo_n "checking for isnan declaration... " >&6; }
20753   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20754     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20755   $as_echo_n "(cached) " >&6
20756 else
20757
20758
20759       ac_ext=cpp
20760 ac_cpp='$CXXCPP $CPPFLAGS'
20761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20764
20765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20766 /* end confdefs.h.  */
20767 #include <math.h>
20768                       #ifdef HAVE_IEEEFP_H
20769                       #include <ieeefp.h>
20770                       #endif
20771
20772 int
20773 main ()
20774 {
20775  isnan(0);
20776   ;
20777   return 0;
20778 }
20779 _ACEOF
20780 if ac_fn_cxx_try_compile "$LINENO"; then :
20781   glibcxx_cv_func_isnan_use=yes
20782 else
20783   glibcxx_cv_func_isnan_use=no
20784 fi
20785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20786       ac_ext=c
20787 ac_cpp='$CPP $CPPFLAGS'
20788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20791
20792
20793 fi
20794
20795   fi
20796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20797 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20798
20799   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20800     for ac_func in isnan
20801 do :
20802   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20803 if test "x$ac_cv_func_isnan" = x""yes; then :
20804   cat >>confdefs.h <<_ACEOF
20805 #define HAVE_ISNAN 1
20806 _ACEOF
20807
20808 fi
20809 done
20810
20811   else
20812
20813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20814 $as_echo_n "checking for _isnan declaration... " >&6; }
20815   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20816     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20817   $as_echo_n "(cached) " >&6
20818 else
20819
20820
20821       ac_ext=cpp
20822 ac_cpp='$CXXCPP $CPPFLAGS'
20823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20826
20827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h.  */
20829 #include <math.h>
20830                       #ifdef HAVE_IEEEFP_H
20831                       #include <ieeefp.h>
20832                       #endif
20833
20834 int
20835 main ()
20836 {
20837  _isnan(0);
20838   ;
20839   return 0;
20840 }
20841 _ACEOF
20842 if ac_fn_cxx_try_compile "$LINENO"; then :
20843   glibcxx_cv_func__isnan_use=yes
20844 else
20845   glibcxx_cv_func__isnan_use=no
20846 fi
20847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848       ac_ext=c
20849 ac_cpp='$CPP $CPPFLAGS'
20850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20853
20854
20855 fi
20856
20857   fi
20858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20859 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20860
20861     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20862       for ac_func in _isnan
20863 do :
20864   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20865 if test "x$ac_cv_func__isnan" = x""yes; then :
20866   cat >>confdefs.h <<_ACEOF
20867 #define HAVE__ISNAN 1
20868 _ACEOF
20869
20870 fi
20871 done
20872
20873     fi
20874   fi
20875
20876
20877
20878
20879
20880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20881 $as_echo_n "checking for finite declaration... " >&6; }
20882   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20883     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20884   $as_echo_n "(cached) " >&6
20885 else
20886
20887
20888       ac_ext=cpp
20889 ac_cpp='$CXXCPP $CPPFLAGS'
20890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20893
20894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20895 /* end confdefs.h.  */
20896 #include <math.h>
20897                       #ifdef HAVE_IEEEFP_H
20898                       #include <ieeefp.h>
20899                       #endif
20900
20901 int
20902 main ()
20903 {
20904  finite(0);
20905   ;
20906   return 0;
20907 }
20908 _ACEOF
20909 if ac_fn_cxx_try_compile "$LINENO"; then :
20910   glibcxx_cv_func_finite_use=yes
20911 else
20912   glibcxx_cv_func_finite_use=no
20913 fi
20914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20915       ac_ext=c
20916 ac_cpp='$CPP $CPPFLAGS'
20917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20920
20921
20922 fi
20923
20924   fi
20925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20926 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20927
20928   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20929     for ac_func in finite
20930 do :
20931   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20932 if test "x$ac_cv_func_finite" = x""yes; then :
20933   cat >>confdefs.h <<_ACEOF
20934 #define HAVE_FINITE 1
20935 _ACEOF
20936
20937 fi
20938 done
20939
20940   else
20941
20942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20943 $as_echo_n "checking for _finite declaration... " >&6; }
20944   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20945     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20946   $as_echo_n "(cached) " >&6
20947 else
20948
20949
20950       ac_ext=cpp
20951 ac_cpp='$CXXCPP $CPPFLAGS'
20952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20955
20956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20957 /* end confdefs.h.  */
20958 #include <math.h>
20959                       #ifdef HAVE_IEEEFP_H
20960                       #include <ieeefp.h>
20961                       #endif
20962
20963 int
20964 main ()
20965 {
20966  _finite(0);
20967   ;
20968   return 0;
20969 }
20970 _ACEOF
20971 if ac_fn_cxx_try_compile "$LINENO"; then :
20972   glibcxx_cv_func__finite_use=yes
20973 else
20974   glibcxx_cv_func__finite_use=no
20975 fi
20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20977       ac_ext=c
20978 ac_cpp='$CPP $CPPFLAGS'
20979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20982
20983
20984 fi
20985
20986   fi
20987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20988 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20989
20990     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20991       for ac_func in _finite
20992 do :
20993   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20994 if test "x$ac_cv_func__finite" = x""yes; then :
20995   cat >>confdefs.h <<_ACEOF
20996 #define HAVE__FINITE 1
20997 _ACEOF
20998
20999 fi
21000 done
21001
21002     fi
21003   fi
21004
21005
21006
21007
21008
21009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21010 $as_echo_n "checking for sincos declaration... " >&6; }
21011   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21012     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21013   $as_echo_n "(cached) " >&6
21014 else
21015
21016
21017       ac_ext=cpp
21018 ac_cpp='$CXXCPP $CPPFLAGS'
21019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21022
21023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21024 /* end confdefs.h.  */
21025 #include <math.h>
21026 int
21027 main ()
21028 {
21029  sincos(0, 0, 0);
21030   ;
21031   return 0;
21032 }
21033 _ACEOF
21034 if ac_fn_cxx_try_compile "$LINENO"; then :
21035   glibcxx_cv_func_sincos_use=yes
21036 else
21037   glibcxx_cv_func_sincos_use=no
21038 fi
21039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040       ac_ext=c
21041 ac_cpp='$CPP $CPPFLAGS'
21042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21045
21046
21047 fi
21048
21049   fi
21050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21051 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21052
21053   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21054     for ac_func in sincos
21055 do :
21056   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21057 if test "x$ac_cv_func_sincos" = x""yes; then :
21058   cat >>confdefs.h <<_ACEOF
21059 #define HAVE_SINCOS 1
21060 _ACEOF
21061
21062 fi
21063 done
21064
21065   else
21066
21067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21068 $as_echo_n "checking for _sincos declaration... " >&6; }
21069   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21070     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21071   $as_echo_n "(cached) " >&6
21072 else
21073
21074
21075       ac_ext=cpp
21076 ac_cpp='$CXXCPP $CPPFLAGS'
21077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21080
21081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21082 /* end confdefs.h.  */
21083 #include <math.h>
21084 int
21085 main ()
21086 {
21087  _sincos(0, 0, 0);
21088   ;
21089   return 0;
21090 }
21091 _ACEOF
21092 if ac_fn_cxx_try_compile "$LINENO"; then :
21093   glibcxx_cv_func__sincos_use=yes
21094 else
21095   glibcxx_cv_func__sincos_use=no
21096 fi
21097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21098       ac_ext=c
21099 ac_cpp='$CPP $CPPFLAGS'
21100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21103
21104
21105 fi
21106
21107   fi
21108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21109 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21110
21111     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21112       for ac_func in _sincos
21113 do :
21114   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21115 if test "x$ac_cv_func__sincos" = x""yes; then :
21116   cat >>confdefs.h <<_ACEOF
21117 #define HAVE__SINCOS 1
21118 _ACEOF
21119
21120 fi
21121 done
21122
21123     fi
21124   fi
21125
21126
21127
21128
21129
21130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21131 $as_echo_n "checking for fpclass declaration... " >&6; }
21132   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21133     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21134   $as_echo_n "(cached) " >&6
21135 else
21136
21137
21138       ac_ext=cpp
21139 ac_cpp='$CXXCPP $CPPFLAGS'
21140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21143
21144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21145 /* end confdefs.h.  */
21146 #include <math.h>
21147                       #ifdef HAVE_IEEEFP_H
21148                       #include <ieeefp.h>
21149                       #endif
21150
21151 int
21152 main ()
21153 {
21154  fpclass(0);
21155   ;
21156   return 0;
21157 }
21158 _ACEOF
21159 if ac_fn_cxx_try_compile "$LINENO"; then :
21160   glibcxx_cv_func_fpclass_use=yes
21161 else
21162   glibcxx_cv_func_fpclass_use=no
21163 fi
21164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21165       ac_ext=c
21166 ac_cpp='$CPP $CPPFLAGS'
21167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21170
21171
21172 fi
21173
21174   fi
21175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21176 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21177
21178   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21179     for ac_func in fpclass
21180 do :
21181   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21182 if test "x$ac_cv_func_fpclass" = x""yes; then :
21183   cat >>confdefs.h <<_ACEOF
21184 #define HAVE_FPCLASS 1
21185 _ACEOF
21186
21187 fi
21188 done
21189
21190   else
21191
21192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21193 $as_echo_n "checking for _fpclass declaration... " >&6; }
21194   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21195     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21196   $as_echo_n "(cached) " >&6
21197 else
21198
21199
21200       ac_ext=cpp
21201 ac_cpp='$CXXCPP $CPPFLAGS'
21202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205
21206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21207 /* end confdefs.h.  */
21208 #include <math.h>
21209                       #ifdef HAVE_IEEEFP_H
21210                       #include <ieeefp.h>
21211                       #endif
21212
21213 int
21214 main ()
21215 {
21216  _fpclass(0);
21217   ;
21218   return 0;
21219 }
21220 _ACEOF
21221 if ac_fn_cxx_try_compile "$LINENO"; then :
21222   glibcxx_cv_func__fpclass_use=yes
21223 else
21224   glibcxx_cv_func__fpclass_use=no
21225 fi
21226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227       ac_ext=c
21228 ac_cpp='$CPP $CPPFLAGS'
21229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21232
21233
21234 fi
21235
21236   fi
21237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21238 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21239
21240     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21241       for ac_func in _fpclass
21242 do :
21243   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21244 if test "x$ac_cv_func__fpclass" = x""yes; then :
21245   cat >>confdefs.h <<_ACEOF
21246 #define HAVE__FPCLASS 1
21247 _ACEOF
21248
21249 fi
21250 done
21251
21252     fi
21253   fi
21254
21255
21256
21257
21258
21259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21260 $as_echo_n "checking for qfpclass declaration... " >&6; }
21261   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21262     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21263   $as_echo_n "(cached) " >&6
21264 else
21265
21266
21267       ac_ext=cpp
21268 ac_cpp='$CXXCPP $CPPFLAGS'
21269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21272
21273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21274 /* end confdefs.h.  */
21275 #include <math.h>
21276                       #ifdef HAVE_IEEEFP_H
21277                       #include <ieeefp.h>
21278                       #endif
21279
21280 int
21281 main ()
21282 {
21283  qfpclass(0);
21284   ;
21285   return 0;
21286 }
21287 _ACEOF
21288 if ac_fn_cxx_try_compile "$LINENO"; then :
21289   glibcxx_cv_func_qfpclass_use=yes
21290 else
21291   glibcxx_cv_func_qfpclass_use=no
21292 fi
21293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21294       ac_ext=c
21295 ac_cpp='$CPP $CPPFLAGS'
21296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21299
21300
21301 fi
21302
21303   fi
21304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21305 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21306
21307   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21308     for ac_func in qfpclass
21309 do :
21310   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21311 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21312   cat >>confdefs.h <<_ACEOF
21313 #define HAVE_QFPCLASS 1
21314 _ACEOF
21315
21316 fi
21317 done
21318
21319   else
21320
21321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21322 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21323   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21324     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21325   $as_echo_n "(cached) " >&6
21326 else
21327
21328
21329       ac_ext=cpp
21330 ac_cpp='$CXXCPP $CPPFLAGS'
21331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21334
21335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21336 /* end confdefs.h.  */
21337 #include <math.h>
21338                       #ifdef HAVE_IEEEFP_H
21339                       #include <ieeefp.h>
21340                       #endif
21341
21342 int
21343 main ()
21344 {
21345  _qfpclass(0);
21346   ;
21347   return 0;
21348 }
21349 _ACEOF
21350 if ac_fn_cxx_try_compile "$LINENO"; then :
21351   glibcxx_cv_func__qfpclass_use=yes
21352 else
21353   glibcxx_cv_func__qfpclass_use=no
21354 fi
21355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21356       ac_ext=c
21357 ac_cpp='$CPP $CPPFLAGS'
21358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21361
21362
21363 fi
21364
21365   fi
21366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21367 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21368
21369     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21370       for ac_func in _qfpclass
21371 do :
21372   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21373 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21374   cat >>confdefs.h <<_ACEOF
21375 #define HAVE__QFPCLASS 1
21376 _ACEOF
21377
21378 fi
21379 done
21380
21381     fi
21382   fi
21383
21384
21385
21386
21387
21388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21389 $as_echo_n "checking for hypot declaration... " >&6; }
21390   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21391     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21392   $as_echo_n "(cached) " >&6
21393 else
21394
21395
21396       ac_ext=cpp
21397 ac_cpp='$CXXCPP $CPPFLAGS'
21398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21401
21402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h.  */
21404 #include <math.h>
21405 int
21406 main ()
21407 {
21408  hypot(0, 0);
21409   ;
21410   return 0;
21411 }
21412 _ACEOF
21413 if ac_fn_cxx_try_compile "$LINENO"; then :
21414   glibcxx_cv_func_hypot_use=yes
21415 else
21416   glibcxx_cv_func_hypot_use=no
21417 fi
21418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21419       ac_ext=c
21420 ac_cpp='$CPP $CPPFLAGS'
21421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21424
21425
21426 fi
21427
21428   fi
21429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21430 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21431
21432   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21433     for ac_func in hypot
21434 do :
21435   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21436 if test "x$ac_cv_func_hypot" = x""yes; then :
21437   cat >>confdefs.h <<_ACEOF
21438 #define HAVE_HYPOT 1
21439 _ACEOF
21440
21441 fi
21442 done
21443
21444   else
21445
21446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21447 $as_echo_n "checking for _hypot declaration... " >&6; }
21448   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21449     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21450   $as_echo_n "(cached) " >&6
21451 else
21452
21453
21454       ac_ext=cpp
21455 ac_cpp='$CXXCPP $CPPFLAGS'
21456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21459
21460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21461 /* end confdefs.h.  */
21462 #include <math.h>
21463 int
21464 main ()
21465 {
21466  _hypot(0, 0);
21467   ;
21468   return 0;
21469 }
21470 _ACEOF
21471 if ac_fn_cxx_try_compile "$LINENO"; then :
21472   glibcxx_cv_func__hypot_use=yes
21473 else
21474   glibcxx_cv_func__hypot_use=no
21475 fi
21476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21477       ac_ext=c
21478 ac_cpp='$CPP $CPPFLAGS'
21479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21482
21483
21484 fi
21485
21486   fi
21487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21488 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21489
21490     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21491       for ac_func in _hypot
21492 do :
21493   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21494 if test "x$ac_cv_func__hypot" = x""yes; then :
21495   cat >>confdefs.h <<_ACEOF
21496 #define HAVE__HYPOT 1
21497 _ACEOF
21498
21499 fi
21500 done
21501
21502     fi
21503   fi
21504
21505
21506
21507
21508
21509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21510 $as_echo_n "checking for float trig functions... " >&6; }
21511   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21512   $as_echo_n "(cached) " >&6
21513 else
21514
21515
21516     ac_ext=cpp
21517 ac_cpp='$CXXCPP $CPPFLAGS'
21518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21521
21522     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21523 /* end confdefs.h.  */
21524 #include <math.h>
21525 int
21526 main ()
21527 {
21528 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21529   ;
21530   return 0;
21531 }
21532 _ACEOF
21533 if ac_fn_cxx_try_compile "$LINENO"; then :
21534   glibcxx_cv_func_float_trig_use=yes
21535 else
21536   glibcxx_cv_func_float_trig_use=no
21537 fi
21538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539     ac_ext=c
21540 ac_cpp='$CPP $CPPFLAGS'
21541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21544
21545 fi
21546
21547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21548 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21549   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21550     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21551 do :
21552   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21554 eval as_val=\$$as_ac_var
21555    if test "x$as_val" = x""yes; then :
21556   cat >>confdefs.h <<_ACEOF
21557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21558 _ACEOF
21559
21560 fi
21561 done
21562
21563   else
21564     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21565 $as_echo_n "checking for _float trig functions... " >&6; }
21566     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21567   $as_echo_n "(cached) " >&6
21568 else
21569
21570
21571       ac_ext=cpp
21572 ac_cpp='$CXXCPP $CPPFLAGS'
21573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21576
21577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21578 /* end confdefs.h.  */
21579 #include <math.h>
21580 int
21581 main ()
21582 {
21583 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21584   ;
21585   return 0;
21586 }
21587 _ACEOF
21588 if ac_fn_cxx_try_compile "$LINENO"; then :
21589   glibcxx_cv_func__float_trig_use=yes
21590 else
21591   glibcxx_cv_func__float_trig_use=no
21592 fi
21593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21594       ac_ext=c
21595 ac_cpp='$CPP $CPPFLAGS'
21596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21599
21600 fi
21601
21602     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21603 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21604     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21605       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21606 do :
21607   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21609 eval as_val=\$$as_ac_var
21610    if test "x$as_val" = x""yes; then :
21611   cat >>confdefs.h <<_ACEOF
21612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21613 _ACEOF
21614
21615 fi
21616 done
21617
21618     fi
21619   fi
21620
21621
21622
21623
21624
21625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21626 $as_echo_n "checking for float round functions... " >&6; }
21627   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21628   $as_echo_n "(cached) " >&6
21629 else
21630
21631
21632     ac_ext=cpp
21633 ac_cpp='$CXXCPP $CPPFLAGS'
21634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21637
21638     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h.  */
21640 #include <math.h>
21641 int
21642 main ()
21643 {
21644 ceilf (0); floorf (0);
21645   ;
21646   return 0;
21647 }
21648 _ACEOF
21649 if ac_fn_cxx_try_compile "$LINENO"; then :
21650   glibcxx_cv_func_float_round_use=yes
21651 else
21652   glibcxx_cv_func_float_round_use=no
21653 fi
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21655     ac_ext=c
21656 ac_cpp='$CPP $CPPFLAGS'
21657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21660
21661 fi
21662
21663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21664 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21665   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21666     for ac_func in ceilf floorf
21667 do :
21668   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21670 eval as_val=\$$as_ac_var
21671    if test "x$as_val" = x""yes; then :
21672   cat >>confdefs.h <<_ACEOF
21673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21674 _ACEOF
21675
21676 fi
21677 done
21678
21679   else
21680     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21681 $as_echo_n "checking for _float round functions... " >&6; }
21682     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21683   $as_echo_n "(cached) " >&6
21684 else
21685
21686
21687       ac_ext=cpp
21688 ac_cpp='$CXXCPP $CPPFLAGS'
21689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21692
21693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21694 /* end confdefs.h.  */
21695 #include <math.h>
21696 int
21697 main ()
21698 {
21699 _ceilf (0); _floorf (0);
21700   ;
21701   return 0;
21702 }
21703 _ACEOF
21704 if ac_fn_cxx_try_compile "$LINENO"; then :
21705   glibcxx_cv_func__float_round_use=yes
21706 else
21707   glibcxx_cv_func__float_round_use=no
21708 fi
21709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21710       ac_ext=c
21711 ac_cpp='$CPP $CPPFLAGS'
21712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21715
21716 fi
21717
21718     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21719 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21720     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21721       for ac_func in _ceilf _floorf
21722 do :
21723   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21725 eval as_val=\$$as_ac_var
21726    if test "x$as_val" = x""yes; then :
21727   cat >>confdefs.h <<_ACEOF
21728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21729 _ACEOF
21730
21731 fi
21732 done
21733
21734     fi
21735   fi
21736
21737
21738
21739
21740
21741
21742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21743 $as_echo_n "checking for expf declaration... " >&6; }
21744   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21745     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21746   $as_echo_n "(cached) " >&6
21747 else
21748
21749
21750       ac_ext=cpp
21751 ac_cpp='$CXXCPP $CPPFLAGS'
21752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21755
21756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h.  */
21758 #include <math.h>
21759                       #ifdef HAVE_IEEEFP_H
21760                       #include <ieeefp.h>
21761                       #endif
21762
21763 int
21764 main ()
21765 {
21766  expf(0);
21767   ;
21768   return 0;
21769 }
21770 _ACEOF
21771 if ac_fn_cxx_try_compile "$LINENO"; then :
21772   glibcxx_cv_func_expf_use=yes
21773 else
21774   glibcxx_cv_func_expf_use=no
21775 fi
21776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21777       ac_ext=c
21778 ac_cpp='$CPP $CPPFLAGS'
21779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21782
21783
21784 fi
21785
21786   fi
21787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21788 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21789
21790   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21791     for ac_func in expf
21792 do :
21793   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21794 if test "x$ac_cv_func_expf" = x""yes; then :
21795   cat >>confdefs.h <<_ACEOF
21796 #define HAVE_EXPF 1
21797 _ACEOF
21798
21799 fi
21800 done
21801
21802   else
21803
21804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21805 $as_echo_n "checking for _expf declaration... " >&6; }
21806   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21807     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21808   $as_echo_n "(cached) " >&6
21809 else
21810
21811
21812       ac_ext=cpp
21813 ac_cpp='$CXXCPP $CPPFLAGS'
21814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21817
21818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h.  */
21820 #include <math.h>
21821                       #ifdef HAVE_IEEEFP_H
21822                       #include <ieeefp.h>
21823                       #endif
21824
21825 int
21826 main ()
21827 {
21828  _expf(0);
21829   ;
21830   return 0;
21831 }
21832 _ACEOF
21833 if ac_fn_cxx_try_compile "$LINENO"; then :
21834   glibcxx_cv_func__expf_use=yes
21835 else
21836   glibcxx_cv_func__expf_use=no
21837 fi
21838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21839       ac_ext=c
21840 ac_cpp='$CPP $CPPFLAGS'
21841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21844
21845
21846 fi
21847
21848   fi
21849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21850 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21851
21852     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21853       for ac_func in _expf
21854 do :
21855   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21856 if test "x$ac_cv_func__expf" = x""yes; then :
21857   cat >>confdefs.h <<_ACEOF
21858 #define HAVE__EXPF 1
21859 _ACEOF
21860
21861 fi
21862 done
21863
21864     fi
21865   fi
21866
21867
21868
21869
21870
21871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21872 $as_echo_n "checking for isnanf declaration... " >&6; }
21873   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21874     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21875   $as_echo_n "(cached) " >&6
21876 else
21877
21878
21879       ac_ext=cpp
21880 ac_cpp='$CXXCPP $CPPFLAGS'
21881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21884
21885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21886 /* end confdefs.h.  */
21887 #include <math.h>
21888                       #ifdef HAVE_IEEEFP_H
21889                       #include <ieeefp.h>
21890                       #endif
21891
21892 int
21893 main ()
21894 {
21895  isnanf(0);
21896   ;
21897   return 0;
21898 }
21899 _ACEOF
21900 if ac_fn_cxx_try_compile "$LINENO"; then :
21901   glibcxx_cv_func_isnanf_use=yes
21902 else
21903   glibcxx_cv_func_isnanf_use=no
21904 fi
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21906       ac_ext=c
21907 ac_cpp='$CPP $CPPFLAGS'
21908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21911
21912
21913 fi
21914
21915   fi
21916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21917 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21918
21919   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21920     for ac_func in isnanf
21921 do :
21922   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21923 if test "x$ac_cv_func_isnanf" = x""yes; then :
21924   cat >>confdefs.h <<_ACEOF
21925 #define HAVE_ISNANF 1
21926 _ACEOF
21927
21928 fi
21929 done
21930
21931   else
21932
21933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21934 $as_echo_n "checking for _isnanf declaration... " >&6; }
21935   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21936     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21937   $as_echo_n "(cached) " >&6
21938 else
21939
21940
21941       ac_ext=cpp
21942 ac_cpp='$CXXCPP $CPPFLAGS'
21943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21946
21947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21948 /* end confdefs.h.  */
21949 #include <math.h>
21950                       #ifdef HAVE_IEEEFP_H
21951                       #include <ieeefp.h>
21952                       #endif
21953
21954 int
21955 main ()
21956 {
21957  _isnanf(0);
21958   ;
21959   return 0;
21960 }
21961 _ACEOF
21962 if ac_fn_cxx_try_compile "$LINENO"; then :
21963   glibcxx_cv_func__isnanf_use=yes
21964 else
21965   glibcxx_cv_func__isnanf_use=no
21966 fi
21967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21968       ac_ext=c
21969 ac_cpp='$CPP $CPPFLAGS'
21970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21973
21974
21975 fi
21976
21977   fi
21978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21979 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21980
21981     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21982       for ac_func in _isnanf
21983 do :
21984   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21985 if test "x$ac_cv_func__isnanf" = x""yes; then :
21986   cat >>confdefs.h <<_ACEOF
21987 #define HAVE__ISNANF 1
21988 _ACEOF
21989
21990 fi
21991 done
21992
21993     fi
21994   fi
21995
21996
21997
21998
21999
22000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22001 $as_echo_n "checking for isinff declaration... " >&6; }
22002   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22003     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22004   $as_echo_n "(cached) " >&6
22005 else
22006
22007
22008       ac_ext=cpp
22009 ac_cpp='$CXXCPP $CPPFLAGS'
22010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22013
22014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22015 /* end confdefs.h.  */
22016 #include <math.h>
22017                       #ifdef HAVE_IEEEFP_H
22018                       #include <ieeefp.h>
22019                       #endif
22020
22021 int
22022 main ()
22023 {
22024  isinff(0);
22025   ;
22026   return 0;
22027 }
22028 _ACEOF
22029 if ac_fn_cxx_try_compile "$LINENO"; then :
22030   glibcxx_cv_func_isinff_use=yes
22031 else
22032   glibcxx_cv_func_isinff_use=no
22033 fi
22034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22035       ac_ext=c
22036 ac_cpp='$CPP $CPPFLAGS'
22037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22040
22041
22042 fi
22043
22044   fi
22045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22046 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22047
22048   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22049     for ac_func in isinff
22050 do :
22051   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22052 if test "x$ac_cv_func_isinff" = x""yes; then :
22053   cat >>confdefs.h <<_ACEOF
22054 #define HAVE_ISINFF 1
22055 _ACEOF
22056
22057 fi
22058 done
22059
22060   else
22061
22062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22063 $as_echo_n "checking for _isinff declaration... " >&6; }
22064   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22065     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22066   $as_echo_n "(cached) " >&6
22067 else
22068
22069
22070       ac_ext=cpp
22071 ac_cpp='$CXXCPP $CPPFLAGS'
22072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22075
22076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22077 /* end confdefs.h.  */
22078 #include <math.h>
22079                       #ifdef HAVE_IEEEFP_H
22080                       #include <ieeefp.h>
22081                       #endif
22082
22083 int
22084 main ()
22085 {
22086  _isinff(0);
22087   ;
22088   return 0;
22089 }
22090 _ACEOF
22091 if ac_fn_cxx_try_compile "$LINENO"; then :
22092   glibcxx_cv_func__isinff_use=yes
22093 else
22094   glibcxx_cv_func__isinff_use=no
22095 fi
22096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22097       ac_ext=c
22098 ac_cpp='$CPP $CPPFLAGS'
22099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22102
22103
22104 fi
22105
22106   fi
22107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22108 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22109
22110     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22111       for ac_func in _isinff
22112 do :
22113   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22114 if test "x$ac_cv_func__isinff" = x""yes; then :
22115   cat >>confdefs.h <<_ACEOF
22116 #define HAVE__ISINFF 1
22117 _ACEOF
22118
22119 fi
22120 done
22121
22122     fi
22123   fi
22124
22125
22126
22127
22128
22129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22130 $as_echo_n "checking for atan2f declaration... " >&6; }
22131   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22132     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22133   $as_echo_n "(cached) " >&6
22134 else
22135
22136
22137       ac_ext=cpp
22138 ac_cpp='$CXXCPP $CPPFLAGS'
22139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22142
22143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22144 /* end confdefs.h.  */
22145 #include <math.h>
22146 int
22147 main ()
22148 {
22149  atan2f(0, 0);
22150   ;
22151   return 0;
22152 }
22153 _ACEOF
22154 if ac_fn_cxx_try_compile "$LINENO"; then :
22155   glibcxx_cv_func_atan2f_use=yes
22156 else
22157   glibcxx_cv_func_atan2f_use=no
22158 fi
22159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22160       ac_ext=c
22161 ac_cpp='$CPP $CPPFLAGS'
22162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22165
22166
22167 fi
22168
22169   fi
22170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22171 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22172
22173   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22174     for ac_func in atan2f
22175 do :
22176   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22177 if test "x$ac_cv_func_atan2f" = x""yes; then :
22178   cat >>confdefs.h <<_ACEOF
22179 #define HAVE_ATAN2F 1
22180 _ACEOF
22181
22182 fi
22183 done
22184
22185   else
22186
22187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22188 $as_echo_n "checking for _atan2f declaration... " >&6; }
22189   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22190     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22191   $as_echo_n "(cached) " >&6
22192 else
22193
22194
22195       ac_ext=cpp
22196 ac_cpp='$CXXCPP $CPPFLAGS'
22197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22200
22201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22202 /* end confdefs.h.  */
22203 #include <math.h>
22204 int
22205 main ()
22206 {
22207  _atan2f(0, 0);
22208   ;
22209   return 0;
22210 }
22211 _ACEOF
22212 if ac_fn_cxx_try_compile "$LINENO"; then :
22213   glibcxx_cv_func__atan2f_use=yes
22214 else
22215   glibcxx_cv_func__atan2f_use=no
22216 fi
22217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22218       ac_ext=c
22219 ac_cpp='$CPP $CPPFLAGS'
22220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22223
22224
22225 fi
22226
22227   fi
22228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22229 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22230
22231     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22232       for ac_func in _atan2f
22233 do :
22234   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22235 if test "x$ac_cv_func__atan2f" = x""yes; then :
22236   cat >>confdefs.h <<_ACEOF
22237 #define HAVE__ATAN2F 1
22238 _ACEOF
22239
22240 fi
22241 done
22242
22243     fi
22244   fi
22245
22246
22247
22248
22249
22250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22251 $as_echo_n "checking for fabsf declaration... " >&6; }
22252   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22253     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22254   $as_echo_n "(cached) " >&6
22255 else
22256
22257
22258       ac_ext=cpp
22259 ac_cpp='$CXXCPP $CPPFLAGS'
22260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22263
22264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h.  */
22266 #include <math.h>
22267                       #ifdef HAVE_IEEEFP_H
22268                       #include <ieeefp.h>
22269                       #endif
22270
22271 int
22272 main ()
22273 {
22274  fabsf(0);
22275   ;
22276   return 0;
22277 }
22278 _ACEOF
22279 if ac_fn_cxx_try_compile "$LINENO"; then :
22280   glibcxx_cv_func_fabsf_use=yes
22281 else
22282   glibcxx_cv_func_fabsf_use=no
22283 fi
22284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22285       ac_ext=c
22286 ac_cpp='$CPP $CPPFLAGS'
22287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22290
22291
22292 fi
22293
22294   fi
22295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22296 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22297
22298   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22299     for ac_func in fabsf
22300 do :
22301   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22302 if test "x$ac_cv_func_fabsf" = x""yes; then :
22303   cat >>confdefs.h <<_ACEOF
22304 #define HAVE_FABSF 1
22305 _ACEOF
22306
22307 fi
22308 done
22309
22310   else
22311
22312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22313 $as_echo_n "checking for _fabsf declaration... " >&6; }
22314   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22315     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22316   $as_echo_n "(cached) " >&6
22317 else
22318
22319
22320       ac_ext=cpp
22321 ac_cpp='$CXXCPP $CPPFLAGS'
22322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22325
22326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22327 /* end confdefs.h.  */
22328 #include <math.h>
22329                       #ifdef HAVE_IEEEFP_H
22330                       #include <ieeefp.h>
22331                       #endif
22332
22333 int
22334 main ()
22335 {
22336  _fabsf(0);
22337   ;
22338   return 0;
22339 }
22340 _ACEOF
22341 if ac_fn_cxx_try_compile "$LINENO"; then :
22342   glibcxx_cv_func__fabsf_use=yes
22343 else
22344   glibcxx_cv_func__fabsf_use=no
22345 fi
22346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22347       ac_ext=c
22348 ac_cpp='$CPP $CPPFLAGS'
22349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22352
22353
22354 fi
22355
22356   fi
22357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22358 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22359
22360     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22361       for ac_func in _fabsf
22362 do :
22363   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22364 if test "x$ac_cv_func__fabsf" = x""yes; then :
22365   cat >>confdefs.h <<_ACEOF
22366 #define HAVE__FABSF 1
22367 _ACEOF
22368
22369 fi
22370 done
22371
22372     fi
22373   fi
22374
22375
22376
22377
22378
22379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22380 $as_echo_n "checking for fmodf declaration... " >&6; }
22381   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22382     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22383   $as_echo_n "(cached) " >&6
22384 else
22385
22386
22387       ac_ext=cpp
22388 ac_cpp='$CXXCPP $CPPFLAGS'
22389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22392
22393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22394 /* end confdefs.h.  */
22395 #include <math.h>
22396 int
22397 main ()
22398 {
22399  fmodf(0, 0);
22400   ;
22401   return 0;
22402 }
22403 _ACEOF
22404 if ac_fn_cxx_try_compile "$LINENO"; then :
22405   glibcxx_cv_func_fmodf_use=yes
22406 else
22407   glibcxx_cv_func_fmodf_use=no
22408 fi
22409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22410       ac_ext=c
22411 ac_cpp='$CPP $CPPFLAGS'
22412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22415
22416
22417 fi
22418
22419   fi
22420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22421 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22422
22423   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22424     for ac_func in fmodf
22425 do :
22426   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22427 if test "x$ac_cv_func_fmodf" = x""yes; then :
22428   cat >>confdefs.h <<_ACEOF
22429 #define HAVE_FMODF 1
22430 _ACEOF
22431
22432 fi
22433 done
22434
22435   else
22436
22437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22438 $as_echo_n "checking for _fmodf declaration... " >&6; }
22439   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22440     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22441   $as_echo_n "(cached) " >&6
22442 else
22443
22444
22445       ac_ext=cpp
22446 ac_cpp='$CXXCPP $CPPFLAGS'
22447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22450
22451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22452 /* end confdefs.h.  */
22453 #include <math.h>
22454 int
22455 main ()
22456 {
22457  _fmodf(0, 0);
22458   ;
22459   return 0;
22460 }
22461 _ACEOF
22462 if ac_fn_cxx_try_compile "$LINENO"; then :
22463   glibcxx_cv_func__fmodf_use=yes
22464 else
22465   glibcxx_cv_func__fmodf_use=no
22466 fi
22467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22468       ac_ext=c
22469 ac_cpp='$CPP $CPPFLAGS'
22470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22473
22474
22475 fi
22476
22477   fi
22478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22479 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22480
22481     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22482       for ac_func in _fmodf
22483 do :
22484   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22485 if test "x$ac_cv_func__fmodf" = x""yes; then :
22486   cat >>confdefs.h <<_ACEOF
22487 #define HAVE__FMODF 1
22488 _ACEOF
22489
22490 fi
22491 done
22492
22493     fi
22494   fi
22495
22496
22497
22498
22499
22500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22501 $as_echo_n "checking for frexpf declaration... " >&6; }
22502   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22503     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22504   $as_echo_n "(cached) " >&6
22505 else
22506
22507
22508       ac_ext=cpp
22509 ac_cpp='$CXXCPP $CPPFLAGS'
22510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22513
22514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22515 /* end confdefs.h.  */
22516 #include <math.h>
22517 int
22518 main ()
22519 {
22520  frexpf(0, 0);
22521   ;
22522   return 0;
22523 }
22524 _ACEOF
22525 if ac_fn_cxx_try_compile "$LINENO"; then :
22526   glibcxx_cv_func_frexpf_use=yes
22527 else
22528   glibcxx_cv_func_frexpf_use=no
22529 fi
22530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22531       ac_ext=c
22532 ac_cpp='$CPP $CPPFLAGS'
22533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22536
22537
22538 fi
22539
22540   fi
22541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22542 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22543
22544   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22545     for ac_func in frexpf
22546 do :
22547   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22548 if test "x$ac_cv_func_frexpf" = x""yes; then :
22549   cat >>confdefs.h <<_ACEOF
22550 #define HAVE_FREXPF 1
22551 _ACEOF
22552
22553 fi
22554 done
22555
22556   else
22557
22558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22559 $as_echo_n "checking for _frexpf declaration... " >&6; }
22560   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22561     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22562   $as_echo_n "(cached) " >&6
22563 else
22564
22565
22566       ac_ext=cpp
22567 ac_cpp='$CXXCPP $CPPFLAGS'
22568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22571
22572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22573 /* end confdefs.h.  */
22574 #include <math.h>
22575 int
22576 main ()
22577 {
22578  _frexpf(0, 0);
22579   ;
22580   return 0;
22581 }
22582 _ACEOF
22583 if ac_fn_cxx_try_compile "$LINENO"; then :
22584   glibcxx_cv_func__frexpf_use=yes
22585 else
22586   glibcxx_cv_func__frexpf_use=no
22587 fi
22588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22589       ac_ext=c
22590 ac_cpp='$CPP $CPPFLAGS'
22591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22594
22595
22596 fi
22597
22598   fi
22599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22600 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22601
22602     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22603       for ac_func in _frexpf
22604 do :
22605   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22606 if test "x$ac_cv_func__frexpf" = x""yes; then :
22607   cat >>confdefs.h <<_ACEOF
22608 #define HAVE__FREXPF 1
22609 _ACEOF
22610
22611 fi
22612 done
22613
22614     fi
22615   fi
22616
22617
22618
22619
22620
22621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22622 $as_echo_n "checking for hypotf declaration... " >&6; }
22623   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22624     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22625   $as_echo_n "(cached) " >&6
22626 else
22627
22628
22629       ac_ext=cpp
22630 ac_cpp='$CXXCPP $CPPFLAGS'
22631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22634
22635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22636 /* end confdefs.h.  */
22637 #include <math.h>
22638 int
22639 main ()
22640 {
22641  hypotf(0, 0);
22642   ;
22643   return 0;
22644 }
22645 _ACEOF
22646 if ac_fn_cxx_try_compile "$LINENO"; then :
22647   glibcxx_cv_func_hypotf_use=yes
22648 else
22649   glibcxx_cv_func_hypotf_use=no
22650 fi
22651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22652       ac_ext=c
22653 ac_cpp='$CPP $CPPFLAGS'
22654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22657
22658
22659 fi
22660
22661   fi
22662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22663 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22664
22665   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22666     for ac_func in hypotf
22667 do :
22668   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22669 if test "x$ac_cv_func_hypotf" = x""yes; then :
22670   cat >>confdefs.h <<_ACEOF
22671 #define HAVE_HYPOTF 1
22672 _ACEOF
22673
22674 fi
22675 done
22676
22677   else
22678
22679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22680 $as_echo_n "checking for _hypotf declaration... " >&6; }
22681   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22682     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22683   $as_echo_n "(cached) " >&6
22684 else
22685
22686
22687       ac_ext=cpp
22688 ac_cpp='$CXXCPP $CPPFLAGS'
22689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22692
22693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22694 /* end confdefs.h.  */
22695 #include <math.h>
22696 int
22697 main ()
22698 {
22699  _hypotf(0, 0);
22700   ;
22701   return 0;
22702 }
22703 _ACEOF
22704 if ac_fn_cxx_try_compile "$LINENO"; then :
22705   glibcxx_cv_func__hypotf_use=yes
22706 else
22707   glibcxx_cv_func__hypotf_use=no
22708 fi
22709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22710       ac_ext=c
22711 ac_cpp='$CPP $CPPFLAGS'
22712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22715
22716
22717 fi
22718
22719   fi
22720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22721 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22722
22723     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22724       for ac_func in _hypotf
22725 do :
22726   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22727 if test "x$ac_cv_func__hypotf" = x""yes; then :
22728   cat >>confdefs.h <<_ACEOF
22729 #define HAVE__HYPOTF 1
22730 _ACEOF
22731
22732 fi
22733 done
22734
22735     fi
22736   fi
22737
22738
22739
22740
22741
22742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22743 $as_echo_n "checking for ldexpf declaration... " >&6; }
22744   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22745     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22746   $as_echo_n "(cached) " >&6
22747 else
22748
22749
22750       ac_ext=cpp
22751 ac_cpp='$CXXCPP $CPPFLAGS'
22752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22755
22756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22757 /* end confdefs.h.  */
22758 #include <math.h>
22759 int
22760 main ()
22761 {
22762  ldexpf(0, 0);
22763   ;
22764   return 0;
22765 }
22766 _ACEOF
22767 if ac_fn_cxx_try_compile "$LINENO"; then :
22768   glibcxx_cv_func_ldexpf_use=yes
22769 else
22770   glibcxx_cv_func_ldexpf_use=no
22771 fi
22772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22773       ac_ext=c
22774 ac_cpp='$CPP $CPPFLAGS'
22775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22778
22779
22780 fi
22781
22782   fi
22783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22784 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22785
22786   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22787     for ac_func in ldexpf
22788 do :
22789   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22790 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22791   cat >>confdefs.h <<_ACEOF
22792 #define HAVE_LDEXPF 1
22793 _ACEOF
22794
22795 fi
22796 done
22797
22798   else
22799
22800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22801 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22802   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22803     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22804   $as_echo_n "(cached) " >&6
22805 else
22806
22807
22808       ac_ext=cpp
22809 ac_cpp='$CXXCPP $CPPFLAGS'
22810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22813
22814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22815 /* end confdefs.h.  */
22816 #include <math.h>
22817 int
22818 main ()
22819 {
22820  _ldexpf(0, 0);
22821   ;
22822   return 0;
22823 }
22824 _ACEOF
22825 if ac_fn_cxx_try_compile "$LINENO"; then :
22826   glibcxx_cv_func__ldexpf_use=yes
22827 else
22828   glibcxx_cv_func__ldexpf_use=no
22829 fi
22830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22831       ac_ext=c
22832 ac_cpp='$CPP $CPPFLAGS'
22833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22836
22837
22838 fi
22839
22840   fi
22841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22842 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22843
22844     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22845       for ac_func in _ldexpf
22846 do :
22847   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22848 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22849   cat >>confdefs.h <<_ACEOF
22850 #define HAVE__LDEXPF 1
22851 _ACEOF
22852
22853 fi
22854 done
22855
22856     fi
22857   fi
22858
22859
22860
22861
22862
22863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22864 $as_echo_n "checking for logf declaration... " >&6; }
22865   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22866     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22867   $as_echo_n "(cached) " >&6
22868 else
22869
22870
22871       ac_ext=cpp
22872 ac_cpp='$CXXCPP $CPPFLAGS'
22873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22876
22877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22878 /* end confdefs.h.  */
22879 #include <math.h>
22880                       #ifdef HAVE_IEEEFP_H
22881                       #include <ieeefp.h>
22882                       #endif
22883
22884 int
22885 main ()
22886 {
22887  logf(0);
22888   ;
22889   return 0;
22890 }
22891 _ACEOF
22892 if ac_fn_cxx_try_compile "$LINENO"; then :
22893   glibcxx_cv_func_logf_use=yes
22894 else
22895   glibcxx_cv_func_logf_use=no
22896 fi
22897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898       ac_ext=c
22899 ac_cpp='$CPP $CPPFLAGS'
22900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22903
22904
22905 fi
22906
22907   fi
22908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22909 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22910
22911   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22912     for ac_func in logf
22913 do :
22914   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22915 if test "x$ac_cv_func_logf" = x""yes; then :
22916   cat >>confdefs.h <<_ACEOF
22917 #define HAVE_LOGF 1
22918 _ACEOF
22919
22920 fi
22921 done
22922
22923   else
22924
22925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22926 $as_echo_n "checking for _logf declaration... " >&6; }
22927   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22928     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22929   $as_echo_n "(cached) " >&6
22930 else
22931
22932
22933       ac_ext=cpp
22934 ac_cpp='$CXXCPP $CPPFLAGS'
22935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22938
22939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22940 /* end confdefs.h.  */
22941 #include <math.h>
22942                       #ifdef HAVE_IEEEFP_H
22943                       #include <ieeefp.h>
22944                       #endif
22945
22946 int
22947 main ()
22948 {
22949  _logf(0);
22950   ;
22951   return 0;
22952 }
22953 _ACEOF
22954 if ac_fn_cxx_try_compile "$LINENO"; then :
22955   glibcxx_cv_func__logf_use=yes
22956 else
22957   glibcxx_cv_func__logf_use=no
22958 fi
22959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22960       ac_ext=c
22961 ac_cpp='$CPP $CPPFLAGS'
22962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22965
22966
22967 fi
22968
22969   fi
22970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22971 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22972
22973     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22974       for ac_func in _logf
22975 do :
22976   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22977 if test "x$ac_cv_func__logf" = x""yes; then :
22978   cat >>confdefs.h <<_ACEOF
22979 #define HAVE__LOGF 1
22980 _ACEOF
22981
22982 fi
22983 done
22984
22985     fi
22986   fi
22987
22988
22989
22990
22991
22992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22993 $as_echo_n "checking for log10f declaration... " >&6; }
22994   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22995     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22996   $as_echo_n "(cached) " >&6
22997 else
22998
22999
23000       ac_ext=cpp
23001 ac_cpp='$CXXCPP $CPPFLAGS'
23002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23005
23006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23007 /* end confdefs.h.  */
23008 #include <math.h>
23009                       #ifdef HAVE_IEEEFP_H
23010                       #include <ieeefp.h>
23011                       #endif
23012
23013 int
23014 main ()
23015 {
23016  log10f(0);
23017   ;
23018   return 0;
23019 }
23020 _ACEOF
23021 if ac_fn_cxx_try_compile "$LINENO"; then :
23022   glibcxx_cv_func_log10f_use=yes
23023 else
23024   glibcxx_cv_func_log10f_use=no
23025 fi
23026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23027       ac_ext=c
23028 ac_cpp='$CPP $CPPFLAGS'
23029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23032
23033
23034 fi
23035
23036   fi
23037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23038 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23039
23040   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23041     for ac_func in log10f
23042 do :
23043   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23044 if test "x$ac_cv_func_log10f" = x""yes; then :
23045   cat >>confdefs.h <<_ACEOF
23046 #define HAVE_LOG10F 1
23047 _ACEOF
23048
23049 fi
23050 done
23051
23052   else
23053
23054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23055 $as_echo_n "checking for _log10f declaration... " >&6; }
23056   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23057     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23058   $as_echo_n "(cached) " >&6
23059 else
23060
23061
23062       ac_ext=cpp
23063 ac_cpp='$CXXCPP $CPPFLAGS'
23064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23067
23068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23069 /* end confdefs.h.  */
23070 #include <math.h>
23071                       #ifdef HAVE_IEEEFP_H
23072                       #include <ieeefp.h>
23073                       #endif
23074
23075 int
23076 main ()
23077 {
23078  _log10f(0);
23079   ;
23080   return 0;
23081 }
23082 _ACEOF
23083 if ac_fn_cxx_try_compile "$LINENO"; then :
23084   glibcxx_cv_func__log10f_use=yes
23085 else
23086   glibcxx_cv_func__log10f_use=no
23087 fi
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089       ac_ext=c
23090 ac_cpp='$CPP $CPPFLAGS'
23091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23094
23095
23096 fi
23097
23098   fi
23099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23100 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23101
23102     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23103       for ac_func in _log10f
23104 do :
23105   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23106 if test "x$ac_cv_func__log10f" = x""yes; then :
23107   cat >>confdefs.h <<_ACEOF
23108 #define HAVE__LOG10F 1
23109 _ACEOF
23110
23111 fi
23112 done
23113
23114     fi
23115   fi
23116
23117
23118
23119
23120
23121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23122 $as_echo_n "checking for modff declaration... " >&6; }
23123   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23124     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23125   $as_echo_n "(cached) " >&6
23126 else
23127
23128
23129       ac_ext=cpp
23130 ac_cpp='$CXXCPP $CPPFLAGS'
23131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23134
23135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23136 /* end confdefs.h.  */
23137 #include <math.h>
23138 int
23139 main ()
23140 {
23141  modff(0, 0);
23142   ;
23143   return 0;
23144 }
23145 _ACEOF
23146 if ac_fn_cxx_try_compile "$LINENO"; then :
23147   glibcxx_cv_func_modff_use=yes
23148 else
23149   glibcxx_cv_func_modff_use=no
23150 fi
23151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152       ac_ext=c
23153 ac_cpp='$CPP $CPPFLAGS'
23154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23157
23158
23159 fi
23160
23161   fi
23162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23163 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23164
23165   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23166     for ac_func in modff
23167 do :
23168   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23169 if test "x$ac_cv_func_modff" = x""yes; then :
23170   cat >>confdefs.h <<_ACEOF
23171 #define HAVE_MODFF 1
23172 _ACEOF
23173
23174 fi
23175 done
23176
23177   else
23178
23179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23180 $as_echo_n "checking for _modff declaration... " >&6; }
23181   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23182     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23183   $as_echo_n "(cached) " >&6
23184 else
23185
23186
23187       ac_ext=cpp
23188 ac_cpp='$CXXCPP $CPPFLAGS'
23189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23192
23193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23194 /* end confdefs.h.  */
23195 #include <math.h>
23196 int
23197 main ()
23198 {
23199  _modff(0, 0);
23200   ;
23201   return 0;
23202 }
23203 _ACEOF
23204 if ac_fn_cxx_try_compile "$LINENO"; then :
23205   glibcxx_cv_func__modff_use=yes
23206 else
23207   glibcxx_cv_func__modff_use=no
23208 fi
23209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23210       ac_ext=c
23211 ac_cpp='$CPP $CPPFLAGS'
23212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23215
23216
23217 fi
23218
23219   fi
23220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23221 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23222
23223     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23224       for ac_func in _modff
23225 do :
23226   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23227 if test "x$ac_cv_func__modff" = x""yes; then :
23228   cat >>confdefs.h <<_ACEOF
23229 #define HAVE__MODFF 1
23230 _ACEOF
23231
23232 fi
23233 done
23234
23235     fi
23236   fi
23237
23238
23239
23240
23241
23242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23243 $as_echo_n "checking for modf declaration... " >&6; }
23244   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23245     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23246   $as_echo_n "(cached) " >&6
23247 else
23248
23249
23250       ac_ext=cpp
23251 ac_cpp='$CXXCPP $CPPFLAGS'
23252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23255
23256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23257 /* end confdefs.h.  */
23258 #include <math.h>
23259 int
23260 main ()
23261 {
23262  modf(0, 0);
23263   ;
23264   return 0;
23265 }
23266 _ACEOF
23267 if ac_fn_cxx_try_compile "$LINENO"; then :
23268   glibcxx_cv_func_modf_use=yes
23269 else
23270   glibcxx_cv_func_modf_use=no
23271 fi
23272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23273       ac_ext=c
23274 ac_cpp='$CPP $CPPFLAGS'
23275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23278
23279
23280 fi
23281
23282   fi
23283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23284 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23285
23286   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23287     for ac_func in modf
23288 do :
23289   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23290 if test "x$ac_cv_func_modf" = x""yes; then :
23291   cat >>confdefs.h <<_ACEOF
23292 #define HAVE_MODF 1
23293 _ACEOF
23294
23295 fi
23296 done
23297
23298   else
23299
23300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23301 $as_echo_n "checking for _modf declaration... " >&6; }
23302   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23303     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23304   $as_echo_n "(cached) " >&6
23305 else
23306
23307
23308       ac_ext=cpp
23309 ac_cpp='$CXXCPP $CPPFLAGS'
23310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23313
23314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23315 /* end confdefs.h.  */
23316 #include <math.h>
23317 int
23318 main ()
23319 {
23320  _modf(0, 0);
23321   ;
23322   return 0;
23323 }
23324 _ACEOF
23325 if ac_fn_cxx_try_compile "$LINENO"; then :
23326   glibcxx_cv_func__modf_use=yes
23327 else
23328   glibcxx_cv_func__modf_use=no
23329 fi
23330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23331       ac_ext=c
23332 ac_cpp='$CPP $CPPFLAGS'
23333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23336
23337
23338 fi
23339
23340   fi
23341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23342 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23343
23344     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23345       for ac_func in _modf
23346 do :
23347   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23348 if test "x$ac_cv_func__modf" = x""yes; then :
23349   cat >>confdefs.h <<_ACEOF
23350 #define HAVE__MODF 1
23351 _ACEOF
23352
23353 fi
23354 done
23355
23356     fi
23357   fi
23358
23359
23360
23361
23362
23363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23364 $as_echo_n "checking for powf declaration... " >&6; }
23365   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23366     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23367   $as_echo_n "(cached) " >&6
23368 else
23369
23370
23371       ac_ext=cpp
23372 ac_cpp='$CXXCPP $CPPFLAGS'
23373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23376
23377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23378 /* end confdefs.h.  */
23379 #include <math.h>
23380 int
23381 main ()
23382 {
23383  powf(0, 0);
23384   ;
23385   return 0;
23386 }
23387 _ACEOF
23388 if ac_fn_cxx_try_compile "$LINENO"; then :
23389   glibcxx_cv_func_powf_use=yes
23390 else
23391   glibcxx_cv_func_powf_use=no
23392 fi
23393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23394       ac_ext=c
23395 ac_cpp='$CPP $CPPFLAGS'
23396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23399
23400
23401 fi
23402
23403   fi
23404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23405 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23406
23407   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23408     for ac_func in powf
23409 do :
23410   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23411 if test "x$ac_cv_func_powf" = x""yes; then :
23412   cat >>confdefs.h <<_ACEOF
23413 #define HAVE_POWF 1
23414 _ACEOF
23415
23416 fi
23417 done
23418
23419   else
23420
23421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23422 $as_echo_n "checking for _powf declaration... " >&6; }
23423   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23424     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23425   $as_echo_n "(cached) " >&6
23426 else
23427
23428
23429       ac_ext=cpp
23430 ac_cpp='$CXXCPP $CPPFLAGS'
23431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23434
23435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23436 /* end confdefs.h.  */
23437 #include <math.h>
23438 int
23439 main ()
23440 {
23441  _powf(0, 0);
23442   ;
23443   return 0;
23444 }
23445 _ACEOF
23446 if ac_fn_cxx_try_compile "$LINENO"; then :
23447   glibcxx_cv_func__powf_use=yes
23448 else
23449   glibcxx_cv_func__powf_use=no
23450 fi
23451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23452       ac_ext=c
23453 ac_cpp='$CPP $CPPFLAGS'
23454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23457
23458
23459 fi
23460
23461   fi
23462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23463 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23464
23465     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23466       for ac_func in _powf
23467 do :
23468   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23469 if test "x$ac_cv_func__powf" = x""yes; then :
23470   cat >>confdefs.h <<_ACEOF
23471 #define HAVE__POWF 1
23472 _ACEOF
23473
23474 fi
23475 done
23476
23477     fi
23478   fi
23479
23480
23481
23482
23483
23484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23485 $as_echo_n "checking for sqrtf declaration... " >&6; }
23486   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23487     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23488   $as_echo_n "(cached) " >&6
23489 else
23490
23491
23492       ac_ext=cpp
23493 ac_cpp='$CXXCPP $CPPFLAGS'
23494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23497
23498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 /* end confdefs.h.  */
23500 #include <math.h>
23501                       #ifdef HAVE_IEEEFP_H
23502                       #include <ieeefp.h>
23503                       #endif
23504
23505 int
23506 main ()
23507 {
23508  sqrtf(0);
23509   ;
23510   return 0;
23511 }
23512 _ACEOF
23513 if ac_fn_cxx_try_compile "$LINENO"; then :
23514   glibcxx_cv_func_sqrtf_use=yes
23515 else
23516   glibcxx_cv_func_sqrtf_use=no
23517 fi
23518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23519       ac_ext=c
23520 ac_cpp='$CPP $CPPFLAGS'
23521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23524
23525
23526 fi
23527
23528   fi
23529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23530 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23531
23532   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23533     for ac_func in sqrtf
23534 do :
23535   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23536 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23537   cat >>confdefs.h <<_ACEOF
23538 #define HAVE_SQRTF 1
23539 _ACEOF
23540
23541 fi
23542 done
23543
23544   else
23545
23546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23547 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23548   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23549     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23550   $as_echo_n "(cached) " >&6
23551 else
23552
23553
23554       ac_ext=cpp
23555 ac_cpp='$CXXCPP $CPPFLAGS'
23556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23559
23560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23561 /* end confdefs.h.  */
23562 #include <math.h>
23563                       #ifdef HAVE_IEEEFP_H
23564                       #include <ieeefp.h>
23565                       #endif
23566
23567 int
23568 main ()
23569 {
23570  _sqrtf(0);
23571   ;
23572   return 0;
23573 }
23574 _ACEOF
23575 if ac_fn_cxx_try_compile "$LINENO"; then :
23576   glibcxx_cv_func__sqrtf_use=yes
23577 else
23578   glibcxx_cv_func__sqrtf_use=no
23579 fi
23580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23581       ac_ext=c
23582 ac_cpp='$CPP $CPPFLAGS'
23583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23586
23587
23588 fi
23589
23590   fi
23591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23592 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23593
23594     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23595       for ac_func in _sqrtf
23596 do :
23597   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23598 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23599   cat >>confdefs.h <<_ACEOF
23600 #define HAVE__SQRTF 1
23601 _ACEOF
23602
23603 fi
23604 done
23605
23606     fi
23607   fi
23608
23609
23610
23611
23612
23613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23614 $as_echo_n "checking for sincosf declaration... " >&6; }
23615   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23616     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23617   $as_echo_n "(cached) " >&6
23618 else
23619
23620
23621       ac_ext=cpp
23622 ac_cpp='$CXXCPP $CPPFLAGS'
23623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23626
23627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23628 /* end confdefs.h.  */
23629 #include <math.h>
23630 int
23631 main ()
23632 {
23633  sincosf(0, 0, 0);
23634   ;
23635   return 0;
23636 }
23637 _ACEOF
23638 if ac_fn_cxx_try_compile "$LINENO"; then :
23639   glibcxx_cv_func_sincosf_use=yes
23640 else
23641   glibcxx_cv_func_sincosf_use=no
23642 fi
23643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23644       ac_ext=c
23645 ac_cpp='$CPP $CPPFLAGS'
23646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23649
23650
23651 fi
23652
23653   fi
23654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23655 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23656
23657   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23658     for ac_func in sincosf
23659 do :
23660   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23661 if test "x$ac_cv_func_sincosf" = x""yes; then :
23662   cat >>confdefs.h <<_ACEOF
23663 #define HAVE_SINCOSF 1
23664 _ACEOF
23665
23666 fi
23667 done
23668
23669   else
23670
23671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23672 $as_echo_n "checking for _sincosf declaration... " >&6; }
23673   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23674     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23675   $as_echo_n "(cached) " >&6
23676 else
23677
23678
23679       ac_ext=cpp
23680 ac_cpp='$CXXCPP $CPPFLAGS'
23681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23684
23685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23686 /* end confdefs.h.  */
23687 #include <math.h>
23688 int
23689 main ()
23690 {
23691  _sincosf(0, 0, 0);
23692   ;
23693   return 0;
23694 }
23695 _ACEOF
23696 if ac_fn_cxx_try_compile "$LINENO"; then :
23697   glibcxx_cv_func__sincosf_use=yes
23698 else
23699   glibcxx_cv_func__sincosf_use=no
23700 fi
23701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23702       ac_ext=c
23703 ac_cpp='$CPP $CPPFLAGS'
23704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23707
23708
23709 fi
23710
23711   fi
23712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23713 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23714
23715     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23716       for ac_func in _sincosf
23717 do :
23718   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23719 if test "x$ac_cv_func__sincosf" = x""yes; then :
23720   cat >>confdefs.h <<_ACEOF
23721 #define HAVE__SINCOSF 1
23722 _ACEOF
23723
23724 fi
23725 done
23726
23727     fi
23728   fi
23729
23730
23731
23732
23733
23734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23735 $as_echo_n "checking for finitef declaration... " >&6; }
23736   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23737     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23738   $as_echo_n "(cached) " >&6
23739 else
23740
23741
23742       ac_ext=cpp
23743 ac_cpp='$CXXCPP $CPPFLAGS'
23744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23747
23748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23749 /* end confdefs.h.  */
23750 #include <math.h>
23751                       #ifdef HAVE_IEEEFP_H
23752                       #include <ieeefp.h>
23753                       #endif
23754
23755 int
23756 main ()
23757 {
23758  finitef(0);
23759   ;
23760   return 0;
23761 }
23762 _ACEOF
23763 if ac_fn_cxx_try_compile "$LINENO"; then :
23764   glibcxx_cv_func_finitef_use=yes
23765 else
23766   glibcxx_cv_func_finitef_use=no
23767 fi
23768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23769       ac_ext=c
23770 ac_cpp='$CPP $CPPFLAGS'
23771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23774
23775
23776 fi
23777
23778   fi
23779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23780 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23781
23782   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23783     for ac_func in finitef
23784 do :
23785   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23786 if test "x$ac_cv_func_finitef" = x""yes; then :
23787   cat >>confdefs.h <<_ACEOF
23788 #define HAVE_FINITEF 1
23789 _ACEOF
23790
23791 fi
23792 done
23793
23794   else
23795
23796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23797 $as_echo_n "checking for _finitef declaration... " >&6; }
23798   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23799     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23800   $as_echo_n "(cached) " >&6
23801 else
23802
23803
23804       ac_ext=cpp
23805 ac_cpp='$CXXCPP $CPPFLAGS'
23806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23809
23810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23811 /* end confdefs.h.  */
23812 #include <math.h>
23813                       #ifdef HAVE_IEEEFP_H
23814                       #include <ieeefp.h>
23815                       #endif
23816
23817 int
23818 main ()
23819 {
23820  _finitef(0);
23821   ;
23822   return 0;
23823 }
23824 _ACEOF
23825 if ac_fn_cxx_try_compile "$LINENO"; then :
23826   glibcxx_cv_func__finitef_use=yes
23827 else
23828   glibcxx_cv_func__finitef_use=no
23829 fi
23830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23831       ac_ext=c
23832 ac_cpp='$CPP $CPPFLAGS'
23833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23836
23837
23838 fi
23839
23840   fi
23841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23842 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23843
23844     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23845       for ac_func in _finitef
23846 do :
23847   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23848 if test "x$ac_cv_func__finitef" = x""yes; then :
23849   cat >>confdefs.h <<_ACEOF
23850 #define HAVE__FINITEF 1
23851 _ACEOF
23852
23853 fi
23854 done
23855
23856     fi
23857   fi
23858
23859
23860
23861
23862
23863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23864 $as_echo_n "checking for long double trig functions... " >&6; }
23865   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23866   $as_echo_n "(cached) " >&6
23867 else
23868
23869
23870     ac_ext=cpp
23871 ac_cpp='$CXXCPP $CPPFLAGS'
23872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23875
23876     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23877 /* end confdefs.h.  */
23878 #include <math.h>
23879 int
23880 main ()
23881 {
23882 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23883   ;
23884   return 0;
23885 }
23886 _ACEOF
23887 if ac_fn_cxx_try_compile "$LINENO"; then :
23888   glibcxx_cv_func_long_double_trig_use=yes
23889 else
23890   glibcxx_cv_func_long_double_trig_use=no
23891 fi
23892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23893     ac_ext=c
23894 ac_cpp='$CPP $CPPFLAGS'
23895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23898
23899 fi
23900
23901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23902 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23903   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23904     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23905 do :
23906   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23908 eval as_val=\$$as_ac_var
23909    if test "x$as_val" = x""yes; then :
23910   cat >>confdefs.h <<_ACEOF
23911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23912 _ACEOF
23913
23914 fi
23915 done
23916
23917   else
23918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23919 $as_echo_n "checking for _long double trig functions... " >&6; }
23920     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23921   $as_echo_n "(cached) " >&6
23922 else
23923
23924
23925       ac_ext=cpp
23926 ac_cpp='$CXXCPP $CPPFLAGS'
23927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23930
23931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23932 /* end confdefs.h.  */
23933 #include <math.h>
23934 int
23935 main ()
23936 {
23937 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23938   ;
23939   return 0;
23940 }
23941 _ACEOF
23942 if ac_fn_cxx_try_compile "$LINENO"; then :
23943   glibcxx_cv_func__long_double_trig_use=yes
23944 else
23945   glibcxx_cv_func__long_double_trig_use=no
23946 fi
23947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23948       ac_ext=c
23949 ac_cpp='$CPP $CPPFLAGS'
23950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23953
23954 fi
23955
23956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23957 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23958     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23959       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23960 do :
23961   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23963 eval as_val=\$$as_ac_var
23964    if test "x$as_val" = x""yes; then :
23965   cat >>confdefs.h <<_ACEOF
23966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23967 _ACEOF
23968
23969 fi
23970 done
23971
23972     fi
23973   fi
23974
23975
23976
23977
23978
23979     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23980 $as_echo_n "checking for long double round functions... " >&6; }
23981   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23982   $as_echo_n "(cached) " >&6
23983 else
23984
23985
23986     ac_ext=cpp
23987 ac_cpp='$CXXCPP $CPPFLAGS'
23988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23991
23992     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23993 /* end confdefs.h.  */
23994 #include <math.h>
23995 int
23996 main ()
23997 {
23998 ceill (0); floorl (0);
23999   ;
24000   return 0;
24001 }
24002 _ACEOF
24003 if ac_fn_cxx_try_compile "$LINENO"; then :
24004   glibcxx_cv_func_long_double_round_use=yes
24005 else
24006   glibcxx_cv_func_long_double_round_use=no
24007 fi
24008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24009     ac_ext=c
24010 ac_cpp='$CPP $CPPFLAGS'
24011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24014
24015 fi
24016
24017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24018 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24019   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24020     for ac_func in ceill floorl
24021 do :
24022   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24023 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24024 eval as_val=\$$as_ac_var
24025    if test "x$as_val" = x""yes; then :
24026   cat >>confdefs.h <<_ACEOF
24027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24028 _ACEOF
24029
24030 fi
24031 done
24032
24033   else
24034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24035 $as_echo_n "checking for _long double round functions... " >&6; }
24036     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24037   $as_echo_n "(cached) " >&6
24038 else
24039
24040
24041       ac_ext=cpp
24042 ac_cpp='$CXXCPP $CPPFLAGS'
24043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24046
24047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24048 /* end confdefs.h.  */
24049 #include <math.h>
24050 int
24051 main ()
24052 {
24053 _ceill (0); _floorl (0);
24054   ;
24055   return 0;
24056 }
24057 _ACEOF
24058 if ac_fn_cxx_try_compile "$LINENO"; then :
24059   glibcxx_cv_func__long_double_round_use=yes
24060 else
24061   glibcxx_cv_func__long_double_round_use=no
24062 fi
24063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24064       ac_ext=c
24065 ac_cpp='$CPP $CPPFLAGS'
24066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24069
24070 fi
24071
24072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24073 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24074     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24075       for ac_func in _ceill _floorl
24076 do :
24077   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24079 eval as_val=\$$as_ac_var
24080    if test "x$as_val" = x""yes; then :
24081   cat >>confdefs.h <<_ACEOF
24082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24083 _ACEOF
24084
24085 fi
24086 done
24087
24088     fi
24089   fi
24090
24091
24092
24093
24094
24095
24096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24097 $as_echo_n "checking for isnanl declaration... " >&6; }
24098   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24099     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24100   $as_echo_n "(cached) " >&6
24101 else
24102
24103
24104       ac_ext=cpp
24105 ac_cpp='$CXXCPP $CPPFLAGS'
24106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24109
24110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24111 /* end confdefs.h.  */
24112 #include <math.h>
24113                       #ifdef HAVE_IEEEFP_H
24114                       #include <ieeefp.h>
24115                       #endif
24116
24117 int
24118 main ()
24119 {
24120  isnanl(0);
24121   ;
24122   return 0;
24123 }
24124 _ACEOF
24125 if ac_fn_cxx_try_compile "$LINENO"; then :
24126   glibcxx_cv_func_isnanl_use=yes
24127 else
24128   glibcxx_cv_func_isnanl_use=no
24129 fi
24130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24131       ac_ext=c
24132 ac_cpp='$CPP $CPPFLAGS'
24133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24136
24137
24138 fi
24139
24140   fi
24141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24142 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24143
24144   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24145     for ac_func in isnanl
24146 do :
24147   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24148 if test "x$ac_cv_func_isnanl" = x""yes; then :
24149   cat >>confdefs.h <<_ACEOF
24150 #define HAVE_ISNANL 1
24151 _ACEOF
24152
24153 fi
24154 done
24155
24156   else
24157
24158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24159 $as_echo_n "checking for _isnanl declaration... " >&6; }
24160   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24161     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24162   $as_echo_n "(cached) " >&6
24163 else
24164
24165
24166       ac_ext=cpp
24167 ac_cpp='$CXXCPP $CPPFLAGS'
24168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24171
24172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24173 /* end confdefs.h.  */
24174 #include <math.h>
24175                       #ifdef HAVE_IEEEFP_H
24176                       #include <ieeefp.h>
24177                       #endif
24178
24179 int
24180 main ()
24181 {
24182  _isnanl(0);
24183   ;
24184   return 0;
24185 }
24186 _ACEOF
24187 if ac_fn_cxx_try_compile "$LINENO"; then :
24188   glibcxx_cv_func__isnanl_use=yes
24189 else
24190   glibcxx_cv_func__isnanl_use=no
24191 fi
24192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24193       ac_ext=c
24194 ac_cpp='$CPP $CPPFLAGS'
24195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24198
24199
24200 fi
24201
24202   fi
24203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24204 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24205
24206     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24207       for ac_func in _isnanl
24208 do :
24209   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24210 if test "x$ac_cv_func__isnanl" = x""yes; then :
24211   cat >>confdefs.h <<_ACEOF
24212 #define HAVE__ISNANL 1
24213 _ACEOF
24214
24215 fi
24216 done
24217
24218     fi
24219   fi
24220
24221
24222
24223
24224
24225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24226 $as_echo_n "checking for isinfl declaration... " >&6; }
24227   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24228     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24229   $as_echo_n "(cached) " >&6
24230 else
24231
24232
24233       ac_ext=cpp
24234 ac_cpp='$CXXCPP $CPPFLAGS'
24235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24238
24239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24240 /* end confdefs.h.  */
24241 #include <math.h>
24242                       #ifdef HAVE_IEEEFP_H
24243                       #include <ieeefp.h>
24244                       #endif
24245
24246 int
24247 main ()
24248 {
24249  isinfl(0);
24250   ;
24251   return 0;
24252 }
24253 _ACEOF
24254 if ac_fn_cxx_try_compile "$LINENO"; then :
24255   glibcxx_cv_func_isinfl_use=yes
24256 else
24257   glibcxx_cv_func_isinfl_use=no
24258 fi
24259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24260       ac_ext=c
24261 ac_cpp='$CPP $CPPFLAGS'
24262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24265
24266
24267 fi
24268
24269   fi
24270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24271 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24272
24273   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24274     for ac_func in isinfl
24275 do :
24276   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24277 if test "x$ac_cv_func_isinfl" = x""yes; then :
24278   cat >>confdefs.h <<_ACEOF
24279 #define HAVE_ISINFL 1
24280 _ACEOF
24281
24282 fi
24283 done
24284
24285   else
24286
24287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24288 $as_echo_n "checking for _isinfl declaration... " >&6; }
24289   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24290     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24291   $as_echo_n "(cached) " >&6
24292 else
24293
24294
24295       ac_ext=cpp
24296 ac_cpp='$CXXCPP $CPPFLAGS'
24297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24300
24301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24302 /* end confdefs.h.  */
24303 #include <math.h>
24304                       #ifdef HAVE_IEEEFP_H
24305                       #include <ieeefp.h>
24306                       #endif
24307
24308 int
24309 main ()
24310 {
24311  _isinfl(0);
24312   ;
24313   return 0;
24314 }
24315 _ACEOF
24316 if ac_fn_cxx_try_compile "$LINENO"; then :
24317   glibcxx_cv_func__isinfl_use=yes
24318 else
24319   glibcxx_cv_func__isinfl_use=no
24320 fi
24321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24322       ac_ext=c
24323 ac_cpp='$CPP $CPPFLAGS'
24324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24327
24328
24329 fi
24330
24331   fi
24332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24333 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24334
24335     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24336       for ac_func in _isinfl
24337 do :
24338   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24339 if test "x$ac_cv_func__isinfl" = x""yes; then :
24340   cat >>confdefs.h <<_ACEOF
24341 #define HAVE__ISINFL 1
24342 _ACEOF
24343
24344 fi
24345 done
24346
24347     fi
24348   fi
24349
24350
24351
24352
24353
24354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24355 $as_echo_n "checking for atan2l declaration... " >&6; }
24356   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24357     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24358   $as_echo_n "(cached) " >&6
24359 else
24360
24361
24362       ac_ext=cpp
24363 ac_cpp='$CXXCPP $CPPFLAGS'
24364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24367
24368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24369 /* end confdefs.h.  */
24370 #include <math.h>
24371 int
24372 main ()
24373 {
24374  atan2l(0, 0);
24375   ;
24376   return 0;
24377 }
24378 _ACEOF
24379 if ac_fn_cxx_try_compile "$LINENO"; then :
24380   glibcxx_cv_func_atan2l_use=yes
24381 else
24382   glibcxx_cv_func_atan2l_use=no
24383 fi
24384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24385       ac_ext=c
24386 ac_cpp='$CPP $CPPFLAGS'
24387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24390
24391
24392 fi
24393
24394   fi
24395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24396 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24397
24398   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24399     for ac_func in atan2l
24400 do :
24401   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24402 if test "x$ac_cv_func_atan2l" = x""yes; then :
24403   cat >>confdefs.h <<_ACEOF
24404 #define HAVE_ATAN2L 1
24405 _ACEOF
24406
24407 fi
24408 done
24409
24410   else
24411
24412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24413 $as_echo_n "checking for _atan2l declaration... " >&6; }
24414   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24415     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24416   $as_echo_n "(cached) " >&6
24417 else
24418
24419
24420       ac_ext=cpp
24421 ac_cpp='$CXXCPP $CPPFLAGS'
24422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24425
24426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24427 /* end confdefs.h.  */
24428 #include <math.h>
24429 int
24430 main ()
24431 {
24432  _atan2l(0, 0);
24433   ;
24434   return 0;
24435 }
24436 _ACEOF
24437 if ac_fn_cxx_try_compile "$LINENO"; then :
24438   glibcxx_cv_func__atan2l_use=yes
24439 else
24440   glibcxx_cv_func__atan2l_use=no
24441 fi
24442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24443       ac_ext=c
24444 ac_cpp='$CPP $CPPFLAGS'
24445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24448
24449
24450 fi
24451
24452   fi
24453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24454 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24455
24456     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24457       for ac_func in _atan2l
24458 do :
24459   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24460 if test "x$ac_cv_func__atan2l" = x""yes; then :
24461   cat >>confdefs.h <<_ACEOF
24462 #define HAVE__ATAN2L 1
24463 _ACEOF
24464
24465 fi
24466 done
24467
24468     fi
24469   fi
24470
24471
24472
24473
24474
24475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24476 $as_echo_n "checking for expl declaration... " >&6; }
24477   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24478     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24479   $as_echo_n "(cached) " >&6
24480 else
24481
24482
24483       ac_ext=cpp
24484 ac_cpp='$CXXCPP $CPPFLAGS'
24485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24488
24489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24490 /* end confdefs.h.  */
24491 #include <math.h>
24492                       #ifdef HAVE_IEEEFP_H
24493                       #include <ieeefp.h>
24494                       #endif
24495
24496 int
24497 main ()
24498 {
24499  expl(0);
24500   ;
24501   return 0;
24502 }
24503 _ACEOF
24504 if ac_fn_cxx_try_compile "$LINENO"; then :
24505   glibcxx_cv_func_expl_use=yes
24506 else
24507   glibcxx_cv_func_expl_use=no
24508 fi
24509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24510       ac_ext=c
24511 ac_cpp='$CPP $CPPFLAGS'
24512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24515
24516
24517 fi
24518
24519   fi
24520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24521 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24522
24523   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24524     for ac_func in expl
24525 do :
24526   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24527 if test "x$ac_cv_func_expl" = x""yes; then :
24528   cat >>confdefs.h <<_ACEOF
24529 #define HAVE_EXPL 1
24530 _ACEOF
24531
24532 fi
24533 done
24534
24535   else
24536
24537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24538 $as_echo_n "checking for _expl declaration... " >&6; }
24539   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24540     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24541   $as_echo_n "(cached) " >&6
24542 else
24543
24544
24545       ac_ext=cpp
24546 ac_cpp='$CXXCPP $CPPFLAGS'
24547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24550
24551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24552 /* end confdefs.h.  */
24553 #include <math.h>
24554                       #ifdef HAVE_IEEEFP_H
24555                       #include <ieeefp.h>
24556                       #endif
24557
24558 int
24559 main ()
24560 {
24561  _expl(0);
24562   ;
24563   return 0;
24564 }
24565 _ACEOF
24566 if ac_fn_cxx_try_compile "$LINENO"; then :
24567   glibcxx_cv_func__expl_use=yes
24568 else
24569   glibcxx_cv_func__expl_use=no
24570 fi
24571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24572       ac_ext=c
24573 ac_cpp='$CPP $CPPFLAGS'
24574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24577
24578
24579 fi
24580
24581   fi
24582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24583 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24584
24585     if test x$glibcxx_cv_func__expl_use = x"yes"; then
24586       for ac_func in _expl
24587 do :
24588   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24589 if test "x$ac_cv_func__expl" = x""yes; then :
24590   cat >>confdefs.h <<_ACEOF
24591 #define HAVE__EXPL 1
24592 _ACEOF
24593
24594 fi
24595 done
24596
24597     fi
24598   fi
24599
24600
24601
24602
24603
24604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24605 $as_echo_n "checking for fabsl declaration... " >&6; }
24606   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24607     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24608   $as_echo_n "(cached) " >&6
24609 else
24610
24611
24612       ac_ext=cpp
24613 ac_cpp='$CXXCPP $CPPFLAGS'
24614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24617
24618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24619 /* end confdefs.h.  */
24620 #include <math.h>
24621                       #ifdef HAVE_IEEEFP_H
24622                       #include <ieeefp.h>
24623                       #endif
24624
24625 int
24626 main ()
24627 {
24628  fabsl(0);
24629   ;
24630   return 0;
24631 }
24632 _ACEOF
24633 if ac_fn_cxx_try_compile "$LINENO"; then :
24634   glibcxx_cv_func_fabsl_use=yes
24635 else
24636   glibcxx_cv_func_fabsl_use=no
24637 fi
24638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24639       ac_ext=c
24640 ac_cpp='$CPP $CPPFLAGS'
24641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24644
24645
24646 fi
24647
24648   fi
24649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24650 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24651
24652   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24653     for ac_func in fabsl
24654 do :
24655   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24656 if test "x$ac_cv_func_fabsl" = x""yes; then :
24657   cat >>confdefs.h <<_ACEOF
24658 #define HAVE_FABSL 1
24659 _ACEOF
24660
24661 fi
24662 done
24663
24664   else
24665
24666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24667 $as_echo_n "checking for _fabsl declaration... " >&6; }
24668   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24669     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24670   $as_echo_n "(cached) " >&6
24671 else
24672
24673
24674       ac_ext=cpp
24675 ac_cpp='$CXXCPP $CPPFLAGS'
24676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24679
24680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24681 /* end confdefs.h.  */
24682 #include <math.h>
24683                       #ifdef HAVE_IEEEFP_H
24684                       #include <ieeefp.h>
24685                       #endif
24686
24687 int
24688 main ()
24689 {
24690  _fabsl(0);
24691   ;
24692   return 0;
24693 }
24694 _ACEOF
24695 if ac_fn_cxx_try_compile "$LINENO"; then :
24696   glibcxx_cv_func__fabsl_use=yes
24697 else
24698   glibcxx_cv_func__fabsl_use=no
24699 fi
24700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24701       ac_ext=c
24702 ac_cpp='$CPP $CPPFLAGS'
24703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24706
24707
24708 fi
24709
24710   fi
24711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24712 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24713
24714     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24715       for ac_func in _fabsl
24716 do :
24717   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24718 if test "x$ac_cv_func__fabsl" = x""yes; then :
24719   cat >>confdefs.h <<_ACEOF
24720 #define HAVE__FABSL 1
24721 _ACEOF
24722
24723 fi
24724 done
24725
24726     fi
24727   fi
24728
24729
24730
24731
24732
24733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24734 $as_echo_n "checking for fmodl declaration... " >&6; }
24735   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24736     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24737   $as_echo_n "(cached) " >&6
24738 else
24739
24740
24741       ac_ext=cpp
24742 ac_cpp='$CXXCPP $CPPFLAGS'
24743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24746
24747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24748 /* end confdefs.h.  */
24749 #include <math.h>
24750 int
24751 main ()
24752 {
24753  fmodl(0, 0);
24754   ;
24755   return 0;
24756 }
24757 _ACEOF
24758 if ac_fn_cxx_try_compile "$LINENO"; then :
24759   glibcxx_cv_func_fmodl_use=yes
24760 else
24761   glibcxx_cv_func_fmodl_use=no
24762 fi
24763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24764       ac_ext=c
24765 ac_cpp='$CPP $CPPFLAGS'
24766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24769
24770
24771 fi
24772
24773   fi
24774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24775 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24776
24777   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24778     for ac_func in fmodl
24779 do :
24780   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24781 if test "x$ac_cv_func_fmodl" = x""yes; then :
24782   cat >>confdefs.h <<_ACEOF
24783 #define HAVE_FMODL 1
24784 _ACEOF
24785
24786 fi
24787 done
24788
24789   else
24790
24791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24792 $as_echo_n "checking for _fmodl declaration... " >&6; }
24793   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24794     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24795   $as_echo_n "(cached) " >&6
24796 else
24797
24798
24799       ac_ext=cpp
24800 ac_cpp='$CXXCPP $CPPFLAGS'
24801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24804
24805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24806 /* end confdefs.h.  */
24807 #include <math.h>
24808 int
24809 main ()
24810 {
24811  _fmodl(0, 0);
24812   ;
24813   return 0;
24814 }
24815 _ACEOF
24816 if ac_fn_cxx_try_compile "$LINENO"; then :
24817   glibcxx_cv_func__fmodl_use=yes
24818 else
24819   glibcxx_cv_func__fmodl_use=no
24820 fi
24821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24822       ac_ext=c
24823 ac_cpp='$CPP $CPPFLAGS'
24824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24827
24828
24829 fi
24830
24831   fi
24832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24833 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24834
24835     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24836       for ac_func in _fmodl
24837 do :
24838   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24839 if test "x$ac_cv_func__fmodl" = x""yes; then :
24840   cat >>confdefs.h <<_ACEOF
24841 #define HAVE__FMODL 1
24842 _ACEOF
24843
24844 fi
24845 done
24846
24847     fi
24848   fi
24849
24850
24851
24852
24853
24854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24855 $as_echo_n "checking for frexpl declaration... " >&6; }
24856   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24857     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24858   $as_echo_n "(cached) " >&6
24859 else
24860
24861
24862       ac_ext=cpp
24863 ac_cpp='$CXXCPP $CPPFLAGS'
24864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24867
24868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24869 /* end confdefs.h.  */
24870 #include <math.h>
24871 int
24872 main ()
24873 {
24874  frexpl(0, 0);
24875   ;
24876   return 0;
24877 }
24878 _ACEOF
24879 if ac_fn_cxx_try_compile "$LINENO"; then :
24880   glibcxx_cv_func_frexpl_use=yes
24881 else
24882   glibcxx_cv_func_frexpl_use=no
24883 fi
24884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24885       ac_ext=c
24886 ac_cpp='$CPP $CPPFLAGS'
24887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24890
24891
24892 fi
24893
24894   fi
24895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24896 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24897
24898   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24899     for ac_func in frexpl
24900 do :
24901   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24902 if test "x$ac_cv_func_frexpl" = x""yes; then :
24903   cat >>confdefs.h <<_ACEOF
24904 #define HAVE_FREXPL 1
24905 _ACEOF
24906
24907 fi
24908 done
24909
24910   else
24911
24912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24913 $as_echo_n "checking for _frexpl declaration... " >&6; }
24914   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24915     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24916   $as_echo_n "(cached) " >&6
24917 else
24918
24919
24920       ac_ext=cpp
24921 ac_cpp='$CXXCPP $CPPFLAGS'
24922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24925
24926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24927 /* end confdefs.h.  */
24928 #include <math.h>
24929 int
24930 main ()
24931 {
24932  _frexpl(0, 0);
24933   ;
24934   return 0;
24935 }
24936 _ACEOF
24937 if ac_fn_cxx_try_compile "$LINENO"; then :
24938   glibcxx_cv_func__frexpl_use=yes
24939 else
24940   glibcxx_cv_func__frexpl_use=no
24941 fi
24942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24943       ac_ext=c
24944 ac_cpp='$CPP $CPPFLAGS'
24945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24948
24949
24950 fi
24951
24952   fi
24953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24954 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24955
24956     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24957       for ac_func in _frexpl
24958 do :
24959   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24960 if test "x$ac_cv_func__frexpl" = x""yes; then :
24961   cat >>confdefs.h <<_ACEOF
24962 #define HAVE__FREXPL 1
24963 _ACEOF
24964
24965 fi
24966 done
24967
24968     fi
24969   fi
24970
24971
24972
24973
24974
24975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24976 $as_echo_n "checking for hypotl declaration... " >&6; }
24977   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24978     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24979   $as_echo_n "(cached) " >&6
24980 else
24981
24982
24983       ac_ext=cpp
24984 ac_cpp='$CXXCPP $CPPFLAGS'
24985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24988
24989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24990 /* end confdefs.h.  */
24991 #include <math.h>
24992 int
24993 main ()
24994 {
24995  hypotl(0, 0);
24996   ;
24997   return 0;
24998 }
24999 _ACEOF
25000 if ac_fn_cxx_try_compile "$LINENO"; then :
25001   glibcxx_cv_func_hypotl_use=yes
25002 else
25003   glibcxx_cv_func_hypotl_use=no
25004 fi
25005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25006       ac_ext=c
25007 ac_cpp='$CPP $CPPFLAGS'
25008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25011
25012
25013 fi
25014
25015   fi
25016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25017 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25018
25019   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25020     for ac_func in hypotl
25021 do :
25022   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25023 if test "x$ac_cv_func_hypotl" = x""yes; then :
25024   cat >>confdefs.h <<_ACEOF
25025 #define HAVE_HYPOTL 1
25026 _ACEOF
25027
25028 fi
25029 done
25030
25031   else
25032
25033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25034 $as_echo_n "checking for _hypotl declaration... " >&6; }
25035   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25036     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25037   $as_echo_n "(cached) " >&6
25038 else
25039
25040
25041       ac_ext=cpp
25042 ac_cpp='$CXXCPP $CPPFLAGS'
25043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25046
25047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25048 /* end confdefs.h.  */
25049 #include <math.h>
25050 int
25051 main ()
25052 {
25053  _hypotl(0, 0);
25054   ;
25055   return 0;
25056 }
25057 _ACEOF
25058 if ac_fn_cxx_try_compile "$LINENO"; then :
25059   glibcxx_cv_func__hypotl_use=yes
25060 else
25061   glibcxx_cv_func__hypotl_use=no
25062 fi
25063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25064       ac_ext=c
25065 ac_cpp='$CPP $CPPFLAGS'
25066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25069
25070
25071 fi
25072
25073   fi
25074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25075 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25076
25077     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25078       for ac_func in _hypotl
25079 do :
25080   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25081 if test "x$ac_cv_func__hypotl" = x""yes; then :
25082   cat >>confdefs.h <<_ACEOF
25083 #define HAVE__HYPOTL 1
25084 _ACEOF
25085
25086 fi
25087 done
25088
25089     fi
25090   fi
25091
25092
25093
25094
25095
25096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25097 $as_echo_n "checking for ldexpl declaration... " >&6; }
25098   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25099     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25100   $as_echo_n "(cached) " >&6
25101 else
25102
25103
25104       ac_ext=cpp
25105 ac_cpp='$CXXCPP $CPPFLAGS'
25106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25109
25110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25111 /* end confdefs.h.  */
25112 #include <math.h>
25113 int
25114 main ()
25115 {
25116  ldexpl(0, 0);
25117   ;
25118   return 0;
25119 }
25120 _ACEOF
25121 if ac_fn_cxx_try_compile "$LINENO"; then :
25122   glibcxx_cv_func_ldexpl_use=yes
25123 else
25124   glibcxx_cv_func_ldexpl_use=no
25125 fi
25126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25127       ac_ext=c
25128 ac_cpp='$CPP $CPPFLAGS'
25129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25132
25133
25134 fi
25135
25136   fi
25137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25138 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25139
25140   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25141     for ac_func in ldexpl
25142 do :
25143   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25144 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25145   cat >>confdefs.h <<_ACEOF
25146 #define HAVE_LDEXPL 1
25147 _ACEOF
25148
25149 fi
25150 done
25151
25152   else
25153
25154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25155 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25156   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25157     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25158   $as_echo_n "(cached) " >&6
25159 else
25160
25161
25162       ac_ext=cpp
25163 ac_cpp='$CXXCPP $CPPFLAGS'
25164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25167
25168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25169 /* end confdefs.h.  */
25170 #include <math.h>
25171 int
25172 main ()
25173 {
25174  _ldexpl(0, 0);
25175   ;
25176   return 0;
25177 }
25178 _ACEOF
25179 if ac_fn_cxx_try_compile "$LINENO"; then :
25180   glibcxx_cv_func__ldexpl_use=yes
25181 else
25182   glibcxx_cv_func__ldexpl_use=no
25183 fi
25184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25185       ac_ext=c
25186 ac_cpp='$CPP $CPPFLAGS'
25187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25190
25191
25192 fi
25193
25194   fi
25195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25196 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25197
25198     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25199       for ac_func in _ldexpl
25200 do :
25201   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25202 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25203   cat >>confdefs.h <<_ACEOF
25204 #define HAVE__LDEXPL 1
25205 _ACEOF
25206
25207 fi
25208 done
25209
25210     fi
25211   fi
25212
25213
25214
25215
25216
25217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25218 $as_echo_n "checking for logl declaration... " >&6; }
25219   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25220     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25221   $as_echo_n "(cached) " >&6
25222 else
25223
25224
25225       ac_ext=cpp
25226 ac_cpp='$CXXCPP $CPPFLAGS'
25227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25230
25231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25232 /* end confdefs.h.  */
25233 #include <math.h>
25234                       #ifdef HAVE_IEEEFP_H
25235                       #include <ieeefp.h>
25236                       #endif
25237
25238 int
25239 main ()
25240 {
25241  logl(0);
25242   ;
25243   return 0;
25244 }
25245 _ACEOF
25246 if ac_fn_cxx_try_compile "$LINENO"; then :
25247   glibcxx_cv_func_logl_use=yes
25248 else
25249   glibcxx_cv_func_logl_use=no
25250 fi
25251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25252       ac_ext=c
25253 ac_cpp='$CPP $CPPFLAGS'
25254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25257
25258
25259 fi
25260
25261   fi
25262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25263 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25264
25265   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25266     for ac_func in logl
25267 do :
25268   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25269 if test "x$ac_cv_func_logl" = x""yes; then :
25270   cat >>confdefs.h <<_ACEOF
25271 #define HAVE_LOGL 1
25272 _ACEOF
25273
25274 fi
25275 done
25276
25277   else
25278
25279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25280 $as_echo_n "checking for _logl declaration... " >&6; }
25281   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25282     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25283   $as_echo_n "(cached) " >&6
25284 else
25285
25286
25287       ac_ext=cpp
25288 ac_cpp='$CXXCPP $CPPFLAGS'
25289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25292
25293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25294 /* end confdefs.h.  */
25295 #include <math.h>
25296                       #ifdef HAVE_IEEEFP_H
25297                       #include <ieeefp.h>
25298                       #endif
25299
25300 int
25301 main ()
25302 {
25303  _logl(0);
25304   ;
25305   return 0;
25306 }
25307 _ACEOF
25308 if ac_fn_cxx_try_compile "$LINENO"; then :
25309   glibcxx_cv_func__logl_use=yes
25310 else
25311   glibcxx_cv_func__logl_use=no
25312 fi
25313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25314       ac_ext=c
25315 ac_cpp='$CPP $CPPFLAGS'
25316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25319
25320
25321 fi
25322
25323   fi
25324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25325 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25326
25327     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25328       for ac_func in _logl
25329 do :
25330   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25331 if test "x$ac_cv_func__logl" = x""yes; then :
25332   cat >>confdefs.h <<_ACEOF
25333 #define HAVE__LOGL 1
25334 _ACEOF
25335
25336 fi
25337 done
25338
25339     fi
25340   fi
25341
25342
25343
25344
25345
25346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25347 $as_echo_n "checking for log10l declaration... " >&6; }
25348   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25349     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25350   $as_echo_n "(cached) " >&6
25351 else
25352
25353
25354       ac_ext=cpp
25355 ac_cpp='$CXXCPP $CPPFLAGS'
25356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25359
25360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25361 /* end confdefs.h.  */
25362 #include <math.h>
25363                       #ifdef HAVE_IEEEFP_H
25364                       #include <ieeefp.h>
25365                       #endif
25366
25367 int
25368 main ()
25369 {
25370  log10l(0);
25371   ;
25372   return 0;
25373 }
25374 _ACEOF
25375 if ac_fn_cxx_try_compile "$LINENO"; then :
25376   glibcxx_cv_func_log10l_use=yes
25377 else
25378   glibcxx_cv_func_log10l_use=no
25379 fi
25380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25381       ac_ext=c
25382 ac_cpp='$CPP $CPPFLAGS'
25383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25386
25387
25388 fi
25389
25390   fi
25391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25392 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25393
25394   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25395     for ac_func in log10l
25396 do :
25397   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25398 if test "x$ac_cv_func_log10l" = x""yes; then :
25399   cat >>confdefs.h <<_ACEOF
25400 #define HAVE_LOG10L 1
25401 _ACEOF
25402
25403 fi
25404 done
25405
25406   else
25407
25408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25409 $as_echo_n "checking for _log10l declaration... " >&6; }
25410   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25411     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25412   $as_echo_n "(cached) " >&6
25413 else
25414
25415
25416       ac_ext=cpp
25417 ac_cpp='$CXXCPP $CPPFLAGS'
25418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25421
25422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25423 /* end confdefs.h.  */
25424 #include <math.h>
25425                       #ifdef HAVE_IEEEFP_H
25426                       #include <ieeefp.h>
25427                       #endif
25428
25429 int
25430 main ()
25431 {
25432  _log10l(0);
25433   ;
25434   return 0;
25435 }
25436 _ACEOF
25437 if ac_fn_cxx_try_compile "$LINENO"; then :
25438   glibcxx_cv_func__log10l_use=yes
25439 else
25440   glibcxx_cv_func__log10l_use=no
25441 fi
25442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25443       ac_ext=c
25444 ac_cpp='$CPP $CPPFLAGS'
25445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25448
25449
25450 fi
25451
25452   fi
25453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25454 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25455
25456     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25457       for ac_func in _log10l
25458 do :
25459   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25460 if test "x$ac_cv_func__log10l" = x""yes; then :
25461   cat >>confdefs.h <<_ACEOF
25462 #define HAVE__LOG10L 1
25463 _ACEOF
25464
25465 fi
25466 done
25467
25468     fi
25469   fi
25470
25471
25472
25473
25474
25475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25476 $as_echo_n "checking for modfl declaration... " >&6; }
25477   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25478     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25479   $as_echo_n "(cached) " >&6
25480 else
25481
25482
25483       ac_ext=cpp
25484 ac_cpp='$CXXCPP $CPPFLAGS'
25485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25488
25489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25490 /* end confdefs.h.  */
25491 #include <math.h>
25492 int
25493 main ()
25494 {
25495  modfl(0, 0);
25496   ;
25497   return 0;
25498 }
25499 _ACEOF
25500 if ac_fn_cxx_try_compile "$LINENO"; then :
25501   glibcxx_cv_func_modfl_use=yes
25502 else
25503   glibcxx_cv_func_modfl_use=no
25504 fi
25505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25506       ac_ext=c
25507 ac_cpp='$CPP $CPPFLAGS'
25508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25511
25512
25513 fi
25514
25515   fi
25516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25517 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25518
25519   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25520     for ac_func in modfl
25521 do :
25522   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25523 if test "x$ac_cv_func_modfl" = x""yes; then :
25524   cat >>confdefs.h <<_ACEOF
25525 #define HAVE_MODFL 1
25526 _ACEOF
25527
25528 fi
25529 done
25530
25531   else
25532
25533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25534 $as_echo_n "checking for _modfl declaration... " >&6; }
25535   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25536     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25537   $as_echo_n "(cached) " >&6
25538 else
25539
25540
25541       ac_ext=cpp
25542 ac_cpp='$CXXCPP $CPPFLAGS'
25543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25546
25547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25548 /* end confdefs.h.  */
25549 #include <math.h>
25550 int
25551 main ()
25552 {
25553  _modfl(0, 0);
25554   ;
25555   return 0;
25556 }
25557 _ACEOF
25558 if ac_fn_cxx_try_compile "$LINENO"; then :
25559   glibcxx_cv_func__modfl_use=yes
25560 else
25561   glibcxx_cv_func__modfl_use=no
25562 fi
25563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25564       ac_ext=c
25565 ac_cpp='$CPP $CPPFLAGS'
25566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25569
25570
25571 fi
25572
25573   fi
25574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25575 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25576
25577     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25578       for ac_func in _modfl
25579 do :
25580   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25581 if test "x$ac_cv_func__modfl" = x""yes; then :
25582   cat >>confdefs.h <<_ACEOF
25583 #define HAVE__MODFL 1
25584 _ACEOF
25585
25586 fi
25587 done
25588
25589     fi
25590   fi
25591
25592
25593
25594
25595
25596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25597 $as_echo_n "checking for powl declaration... " >&6; }
25598   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25599     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25600   $as_echo_n "(cached) " >&6
25601 else
25602
25603
25604       ac_ext=cpp
25605 ac_cpp='$CXXCPP $CPPFLAGS'
25606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25609
25610       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25611 /* end confdefs.h.  */
25612 #include <math.h>
25613 int
25614 main ()
25615 {
25616  powl(0, 0);
25617   ;
25618   return 0;
25619 }
25620 _ACEOF
25621 if ac_fn_cxx_try_compile "$LINENO"; then :
25622   glibcxx_cv_func_powl_use=yes
25623 else
25624   glibcxx_cv_func_powl_use=no
25625 fi
25626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25627       ac_ext=c
25628 ac_cpp='$CPP $CPPFLAGS'
25629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25632
25633
25634 fi
25635
25636   fi
25637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25638 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25639
25640   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25641     for ac_func in powl
25642 do :
25643   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25644 if test "x$ac_cv_func_powl" = x""yes; then :
25645   cat >>confdefs.h <<_ACEOF
25646 #define HAVE_POWL 1
25647 _ACEOF
25648
25649 fi
25650 done
25651
25652   else
25653
25654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25655 $as_echo_n "checking for _powl declaration... " >&6; }
25656   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25657     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25658   $as_echo_n "(cached) " >&6
25659 else
25660
25661
25662       ac_ext=cpp
25663 ac_cpp='$CXXCPP $CPPFLAGS'
25664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25667
25668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25669 /* end confdefs.h.  */
25670 #include <math.h>
25671 int
25672 main ()
25673 {
25674  _powl(0, 0);
25675   ;
25676   return 0;
25677 }
25678 _ACEOF
25679 if ac_fn_cxx_try_compile "$LINENO"; then :
25680   glibcxx_cv_func__powl_use=yes
25681 else
25682   glibcxx_cv_func__powl_use=no
25683 fi
25684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25685       ac_ext=c
25686 ac_cpp='$CPP $CPPFLAGS'
25687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25690
25691
25692 fi
25693
25694   fi
25695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25696 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25697
25698     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25699       for ac_func in _powl
25700 do :
25701   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25702 if test "x$ac_cv_func__powl" = x""yes; then :
25703   cat >>confdefs.h <<_ACEOF
25704 #define HAVE__POWL 1
25705 _ACEOF
25706
25707 fi
25708 done
25709
25710     fi
25711   fi
25712
25713
25714
25715
25716
25717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25718 $as_echo_n "checking for sqrtl declaration... " >&6; }
25719   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25720     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25721   $as_echo_n "(cached) " >&6
25722 else
25723
25724
25725       ac_ext=cpp
25726 ac_cpp='$CXXCPP $CPPFLAGS'
25727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25730
25731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25732 /* end confdefs.h.  */
25733 #include <math.h>
25734                       #ifdef HAVE_IEEEFP_H
25735                       #include <ieeefp.h>
25736                       #endif
25737
25738 int
25739 main ()
25740 {
25741  sqrtl(0);
25742   ;
25743   return 0;
25744 }
25745 _ACEOF
25746 if ac_fn_cxx_try_compile "$LINENO"; then :
25747   glibcxx_cv_func_sqrtl_use=yes
25748 else
25749   glibcxx_cv_func_sqrtl_use=no
25750 fi
25751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25752       ac_ext=c
25753 ac_cpp='$CPP $CPPFLAGS'
25754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25757
25758
25759 fi
25760
25761   fi
25762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25763 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25764
25765   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25766     for ac_func in sqrtl
25767 do :
25768   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25769 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25770   cat >>confdefs.h <<_ACEOF
25771 #define HAVE_SQRTL 1
25772 _ACEOF
25773
25774 fi
25775 done
25776
25777   else
25778
25779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25780 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25781   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25782     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25783   $as_echo_n "(cached) " >&6
25784 else
25785
25786
25787       ac_ext=cpp
25788 ac_cpp='$CXXCPP $CPPFLAGS'
25789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25792
25793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25794 /* end confdefs.h.  */
25795 #include <math.h>
25796                       #ifdef HAVE_IEEEFP_H
25797                       #include <ieeefp.h>
25798                       #endif
25799
25800 int
25801 main ()
25802 {
25803  _sqrtl(0);
25804   ;
25805   return 0;
25806 }
25807 _ACEOF
25808 if ac_fn_cxx_try_compile "$LINENO"; then :
25809   glibcxx_cv_func__sqrtl_use=yes
25810 else
25811   glibcxx_cv_func__sqrtl_use=no
25812 fi
25813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25814       ac_ext=c
25815 ac_cpp='$CPP $CPPFLAGS'
25816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25819
25820
25821 fi
25822
25823   fi
25824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25825 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25826
25827     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25828       for ac_func in _sqrtl
25829 do :
25830   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25831 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25832   cat >>confdefs.h <<_ACEOF
25833 #define HAVE__SQRTL 1
25834 _ACEOF
25835
25836 fi
25837 done
25838
25839     fi
25840   fi
25841
25842
25843
25844
25845
25846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25847 $as_echo_n "checking for sincosl declaration... " >&6; }
25848   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25849     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25850   $as_echo_n "(cached) " >&6
25851 else
25852
25853
25854       ac_ext=cpp
25855 ac_cpp='$CXXCPP $CPPFLAGS'
25856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25859
25860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25861 /* end confdefs.h.  */
25862 #include <math.h>
25863 int
25864 main ()
25865 {
25866  sincosl(0, 0, 0);
25867   ;
25868   return 0;
25869 }
25870 _ACEOF
25871 if ac_fn_cxx_try_compile "$LINENO"; then :
25872   glibcxx_cv_func_sincosl_use=yes
25873 else
25874   glibcxx_cv_func_sincosl_use=no
25875 fi
25876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25877       ac_ext=c
25878 ac_cpp='$CPP $CPPFLAGS'
25879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25882
25883
25884 fi
25885
25886   fi
25887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25888 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25889
25890   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25891     for ac_func in sincosl
25892 do :
25893   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25894 if test "x$ac_cv_func_sincosl" = x""yes; then :
25895   cat >>confdefs.h <<_ACEOF
25896 #define HAVE_SINCOSL 1
25897 _ACEOF
25898
25899 fi
25900 done
25901
25902   else
25903
25904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25905 $as_echo_n "checking for _sincosl declaration... " >&6; }
25906   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25907     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25908   $as_echo_n "(cached) " >&6
25909 else
25910
25911
25912       ac_ext=cpp
25913 ac_cpp='$CXXCPP $CPPFLAGS'
25914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25917
25918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25919 /* end confdefs.h.  */
25920 #include <math.h>
25921 int
25922 main ()
25923 {
25924  _sincosl(0, 0, 0);
25925   ;
25926   return 0;
25927 }
25928 _ACEOF
25929 if ac_fn_cxx_try_compile "$LINENO"; then :
25930   glibcxx_cv_func__sincosl_use=yes
25931 else
25932   glibcxx_cv_func__sincosl_use=no
25933 fi
25934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25935       ac_ext=c
25936 ac_cpp='$CPP $CPPFLAGS'
25937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25940
25941
25942 fi
25943
25944   fi
25945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25946 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25947
25948     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25949       for ac_func in _sincosl
25950 do :
25951   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25952 if test "x$ac_cv_func__sincosl" = x""yes; then :
25953   cat >>confdefs.h <<_ACEOF
25954 #define HAVE__SINCOSL 1
25955 _ACEOF
25956
25957 fi
25958 done
25959
25960     fi
25961   fi
25962
25963
25964
25965
25966
25967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25968 $as_echo_n "checking for finitel declaration... " >&6; }
25969   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25970     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25971   $as_echo_n "(cached) " >&6
25972 else
25973
25974
25975       ac_ext=cpp
25976 ac_cpp='$CXXCPP $CPPFLAGS'
25977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25980
25981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25982 /* end confdefs.h.  */
25983 #include <math.h>
25984                       #ifdef HAVE_IEEEFP_H
25985                       #include <ieeefp.h>
25986                       #endif
25987
25988 int
25989 main ()
25990 {
25991  finitel(0);
25992   ;
25993   return 0;
25994 }
25995 _ACEOF
25996 if ac_fn_cxx_try_compile "$LINENO"; then :
25997   glibcxx_cv_func_finitel_use=yes
25998 else
25999   glibcxx_cv_func_finitel_use=no
26000 fi
26001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26002       ac_ext=c
26003 ac_cpp='$CPP $CPPFLAGS'
26004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26007
26008
26009 fi
26010
26011   fi
26012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26013 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26014
26015   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26016     for ac_func in finitel
26017 do :
26018   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26019 if test "x$ac_cv_func_finitel" = x""yes; then :
26020   cat >>confdefs.h <<_ACEOF
26021 #define HAVE_FINITEL 1
26022 _ACEOF
26023
26024 fi
26025 done
26026
26027   else
26028
26029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26030 $as_echo_n "checking for _finitel declaration... " >&6; }
26031   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26032     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26033   $as_echo_n "(cached) " >&6
26034 else
26035
26036
26037       ac_ext=cpp
26038 ac_cpp='$CXXCPP $CPPFLAGS'
26039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26042
26043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26044 /* end confdefs.h.  */
26045 #include <math.h>
26046                       #ifdef HAVE_IEEEFP_H
26047                       #include <ieeefp.h>
26048                       #endif
26049
26050 int
26051 main ()
26052 {
26053  _finitel(0);
26054   ;
26055   return 0;
26056 }
26057 _ACEOF
26058 if ac_fn_cxx_try_compile "$LINENO"; then :
26059   glibcxx_cv_func__finitel_use=yes
26060 else
26061   glibcxx_cv_func__finitel_use=no
26062 fi
26063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26064       ac_ext=c
26065 ac_cpp='$CPP $CPPFLAGS'
26066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26069
26070
26071 fi
26072
26073   fi
26074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26075 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26076
26077     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26078       for ac_func in _finitel
26079 do :
26080   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26081 if test "x$ac_cv_func__finitel" = x""yes; then :
26082   cat >>confdefs.h <<_ACEOF
26083 #define HAVE__FINITEL 1
26084 _ACEOF
26085
26086 fi
26087 done
26088
26089     fi
26090   fi
26091
26092
26093
26094
26095   LIBS="$ac_save_LIBS"
26096   CXXFLAGS="$ac_save_CXXFLAGS"
26097
26098
26099   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26100   ac_save_CXXFLAGS="$CXXFLAGS"
26101   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26102
26103
26104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26105 $as_echo_n "checking for strtold declaration... " >&6; }
26106   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26107     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26108   $as_echo_n "(cached) " >&6
26109 else
26110
26111
26112       ac_ext=cpp
26113 ac_cpp='$CXXCPP $CPPFLAGS'
26114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26117
26118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26119 /* end confdefs.h.  */
26120 #include <stdlib.h>
26121 int
26122 main ()
26123 {
26124  strtold(0, 0);
26125   ;
26126   return 0;
26127 }
26128 _ACEOF
26129 if ac_fn_cxx_try_compile "$LINENO"; then :
26130   glibcxx_cv_func_strtold_use=yes
26131 else
26132   glibcxx_cv_func_strtold_use=no
26133 fi
26134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26135       ac_ext=c
26136 ac_cpp='$CPP $CPPFLAGS'
26137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26140
26141
26142 fi
26143
26144   fi
26145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26146 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26147   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26148     for ac_func in strtold
26149 do :
26150   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26151 if test "x$ac_cv_func_strtold" = x""yes; then :
26152   cat >>confdefs.h <<_ACEOF
26153 #define HAVE_STRTOLD 1
26154 _ACEOF
26155
26156 fi
26157 done
26158
26159   fi
26160
26161
26162
26163
26164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26165 $as_echo_n "checking for strtof declaration... " >&6; }
26166   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26167     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26168   $as_echo_n "(cached) " >&6
26169 else
26170
26171
26172       ac_ext=cpp
26173 ac_cpp='$CXXCPP $CPPFLAGS'
26174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26177
26178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26179 /* end confdefs.h.  */
26180 #include <stdlib.h>
26181 int
26182 main ()
26183 {
26184  strtof(0, 0);
26185   ;
26186   return 0;
26187 }
26188 _ACEOF
26189 if ac_fn_cxx_try_compile "$LINENO"; then :
26190   glibcxx_cv_func_strtof_use=yes
26191 else
26192   glibcxx_cv_func_strtof_use=no
26193 fi
26194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26195       ac_ext=c
26196 ac_cpp='$CPP $CPPFLAGS'
26197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26200
26201
26202 fi
26203
26204   fi
26205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26206 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26207   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26208     for ac_func in strtof
26209 do :
26210   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26211 if test "x$ac_cv_func_strtof" = x""yes; then :
26212   cat >>confdefs.h <<_ACEOF
26213 #define HAVE_STRTOF 1
26214 _ACEOF
26215
26216 fi
26217 done
26218
26219   fi
26220
26221
26222
26223
26224   CXXFLAGS="$ac_save_CXXFLAGS"
26225
26226
26227   # For /dev/random and /dev/urandom for TR1.
26228
26229
26230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26231 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26232   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26233   $as_echo_n "(cached) " >&6
26234 else
26235
26236     if test -r /dev/random && test -r /dev/urandom; then
26237       glibcxx_cv_random_tr1=yes;
26238     else
26239       glibcxx_cv_random_tr1=no;
26240     fi
26241
26242 fi
26243
26244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26245 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26246
26247   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26248
26249 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26250
26251   fi
26252
26253
26254
26255   # For TLS support.
26256
26257
26258    # Check whether --enable-tls was given.
26259 if test "${enable_tls+set}" = set; then :
26260   enableval=$enable_tls;
26261       case "$enableval" in
26262        yes|no) ;;
26263        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26264       esac
26265
26266 else
26267   enable_tls=yes
26268 fi
26269
26270
26271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26272 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26273 if test "${gcc_cv_have_tls+set}" = set; then :
26274   $as_echo_n "(cached) " >&6
26275 else
26276
26277     if test "$cross_compiling" = yes; then :
26278                 if test x$gcc_no_link = xyes; then
26279   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26280 fi
26281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26282 /* end confdefs.h.  */
26283 __thread int a; int b; int main() { return a = b; }
26284 _ACEOF
26285 if ac_fn_c_try_link "$LINENO"; then :
26286   chktls_save_LDFLAGS="$LDFLAGS"
26287                           case $host in
26288             *-*-linux*)
26289               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26290               ;;
26291           esac
26292           chktls_save_CFLAGS="$CFLAGS"
26293           CFLAGS="-fPIC $CFLAGS"
26294                   if test x$gcc_no_link = xyes; then
26295   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26296 fi
26297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26298 /* end confdefs.h.  */
26299 int f() { return 0; }
26300 _ACEOF
26301 if ac_fn_c_try_link "$LINENO"; then :
26302   if test x$gcc_no_link = xyes; then
26303   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26304 fi
26305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26306 /* end confdefs.h.  */
26307 __thread int a; int b; int f() { return a = b; }
26308 _ACEOF
26309 if ac_fn_c_try_link "$LINENO"; then :
26310   gcc_cv_have_tls=yes
26311 else
26312   gcc_cv_have_tls=no
26313 fi
26314 rm -f core conftest.err conftest.$ac_objext \
26315     conftest$ac_exeext conftest.$ac_ext
26316 else
26317   gcc_cv_have_tls=yes
26318 fi
26319 rm -f core conftest.err conftest.$ac_objext \
26320     conftest$ac_exeext conftest.$ac_ext
26321           CFLAGS="$chktls_save_CFLAGS"
26322           LDFLAGS="$chktls_save_LDFLAGS"
26323 else
26324   gcc_cv_have_tls=no
26325 fi
26326 rm -f core conftest.err conftest.$ac_objext \
26327     conftest$ac_exeext conftest.$ac_ext
26328
26329
26330 else
26331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26332 /* end confdefs.h.  */
26333 __thread int a; int b; int main() { return a = b; }
26334 _ACEOF
26335 if ac_fn_c_try_run "$LINENO"; then :
26336                       chktls_save_LDFLAGS="$LDFLAGS"
26337       LDFLAGS="-static $LDFLAGS"
26338       if test x$gcc_no_link = xyes; then
26339   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26340 fi
26341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26342 /* end confdefs.h.  */
26343 int main() { return 0; }
26344 _ACEOF
26345 if ac_fn_c_try_link "$LINENO"; then :
26346   if test "$cross_compiling" = yes; then :
26347   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26349 as_fn_error "cannot run test program while cross compiling
26350 See \`config.log' for more details." "$LINENO" 5; }
26351 else
26352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26353 /* end confdefs.h.  */
26354 __thread int a; int b; int main() { return a = b; }
26355 _ACEOF
26356 if ac_fn_c_try_run "$LINENO"; then :
26357   gcc_cv_have_tls=yes
26358 else
26359   gcc_cv_have_tls=no
26360 fi
26361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26362   conftest.$ac_objext conftest.beam conftest.$ac_ext
26363 fi
26364
26365 else
26366   gcc_cv_have_tls=yes
26367 fi
26368 rm -f core conftest.err conftest.$ac_objext \
26369     conftest$ac_exeext conftest.$ac_ext
26370       LDFLAGS="$chktls_save_LDFLAGS"
26371       if test $gcc_cv_have_tls = yes; then
26372                                                 chktls_save_CFLAGS="$CFLAGS"
26373         thread_CFLAGS=failed
26374         for flag in '' '-pthread' '-lpthread'; do
26375           CFLAGS="$flag $chktls_save_CFLAGS"
26376           if test x$gcc_no_link = xyes; then
26377   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26378 fi
26379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26380 /* end confdefs.h.  */
26381 #include <pthread.h>
26382                 void *g(void *d) { return NULL; }
26383 int
26384 main ()
26385 {
26386 pthread_t t; pthread_create(&t,NULL,g,NULL);
26387   ;
26388   return 0;
26389 }
26390 _ACEOF
26391 if ac_fn_c_try_link "$LINENO"; then :
26392   thread_CFLAGS="$flag"
26393 fi
26394 rm -f core conftest.err conftest.$ac_objext \
26395     conftest$ac_exeext conftest.$ac_ext
26396           if test "X$thread_CFLAGS" != Xfailed; then
26397             break
26398           fi
26399         done
26400         CFLAGS="$chktls_save_CFLAGS"
26401         if test "X$thread_CFLAGS" != Xfailed; then
26402           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26403                                                   if test "$cross_compiling" = yes; then :
26404   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26406 as_fn_error "cannot run test program while cross compiling
26407 See \`config.log' for more details." "$LINENO" 5; }
26408 else
26409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26410 /* end confdefs.h.  */
26411 #include <pthread.h>
26412                 __thread int a;
26413                 static int *volatile a_in_other_thread;
26414                 static void *
26415                 thread_func (void *arg)
26416                 {
26417                   a_in_other_thread = &a;
26418                   return (void *)0;
26419                 }
26420 int
26421 main ()
26422 {
26423 pthread_t thread;
26424                 void *thread_retval;
26425                 int *volatile a_in_main_thread;
26426                 a_in_main_thread = &a;
26427                 if (pthread_create (&thread, (pthread_attr_t *)0,
26428                                     thread_func, (void *)0))
26429                   return 0;
26430                 if (pthread_join (thread, &thread_retval))
26431                   return 0;
26432                 return (a_in_other_thread == a_in_main_thread);
26433   ;
26434   return 0;
26435 }
26436 _ACEOF
26437 if ac_fn_c_try_run "$LINENO"; then :
26438   gcc_cv_have_tls=yes
26439 else
26440   gcc_cv_have_tls=no
26441 fi
26442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26443   conftest.$ac_objext conftest.beam conftest.$ac_ext
26444 fi
26445
26446           CFLAGS="$chktls_save_CFLAGS"
26447         fi
26448       fi
26449 else
26450   gcc_cv_have_tls=no
26451 fi
26452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26453   conftest.$ac_objext conftest.beam conftest.$ac_ext
26454 fi
26455
26456 fi
26457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26458 $as_echo "$gcc_cv_have_tls" >&6; }
26459   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26460
26461 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26462
26463   fi
26464
26465   # For iconv support.
26466
26467       if test "X$prefix" = "XNONE"; then
26468     acl_final_prefix="$ac_default_prefix"
26469   else
26470     acl_final_prefix="$prefix"
26471   fi
26472   if test "X$exec_prefix" = "XNONE"; then
26473     acl_final_exec_prefix='${prefix}'
26474   else
26475     acl_final_exec_prefix="$exec_prefix"
26476   fi
26477   acl_save_prefix="$prefix"
26478   prefix="$acl_final_prefix"
26479   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26480   prefix="$acl_save_prefix"
26481
26482
26483 # Check whether --with-gnu-ld was given.
26484 if test "${with_gnu_ld+set}" = set; then :
26485   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26486 else
26487   with_gnu_ld=no
26488 fi
26489
26490 # Prepare PATH_SEPARATOR.
26491 # The user is always right.
26492 if test "${PATH_SEPARATOR+set}" != set; then
26493   echo "#! /bin/sh" >conf$$.sh
26494   echo  "exit 0"   >>conf$$.sh
26495   chmod +x conf$$.sh
26496   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26497     PATH_SEPARATOR=';'
26498   else
26499     PATH_SEPARATOR=:
26500   fi
26501   rm -f conf$$.sh
26502 fi
26503 ac_prog=ld
26504 if test "$GCC" = yes; then
26505   # Check if gcc -print-prog-name=ld gives a path.
26506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26507 $as_echo_n "checking for ld used by GCC... " >&6; }
26508   case $host in
26509   *-*-mingw*)
26510     # gcc leaves a trailing carriage return which upsets mingw
26511     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26512   *)
26513     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26514   esac
26515   case $ac_prog in
26516     # Accept absolute paths.
26517     [\\/]* | [A-Za-z]:[\\/]*)
26518       re_direlt='/[^/][^/]*/\.\./'
26519       # Canonicalize the path of ld
26520       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26521       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26522         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26523       done
26524       test -z "$LD" && LD="$ac_prog"
26525       ;;
26526   "")
26527     # If it fails, then pretend we aren't using GCC.
26528     ac_prog=ld
26529     ;;
26530   *)
26531     # If it is relative, then search for the first ld in PATH.
26532     with_gnu_ld=unknown
26533     ;;
26534   esac
26535 elif test "$with_gnu_ld" = yes; then
26536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26537 $as_echo_n "checking for GNU ld... " >&6; }
26538 else
26539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26540 $as_echo_n "checking for non-GNU ld... " >&6; }
26541 fi
26542 if test "${acl_cv_path_LD+set}" = set; then :
26543   $as_echo_n "(cached) " >&6
26544 else
26545   if test -z "$LD"; then
26546   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26547   for ac_dir in $PATH; do
26548     test -z "$ac_dir" && ac_dir=.
26549     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26550       acl_cv_path_LD="$ac_dir/$ac_prog"
26551       # Check to see if the program is GNU ld.  I'd rather use --version,
26552       # but apparently some GNU ld's only accept -v.
26553       # Break only if it was the GNU/non-GNU ld that we prefer.
26554       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26555         test "$with_gnu_ld" != no && break
26556       else
26557         test "$with_gnu_ld" != yes && break
26558       fi
26559     fi
26560   done
26561   IFS="$ac_save_ifs"
26562 else
26563   acl_cv_path_LD="$LD" # Let the user override the test with a path.
26564 fi
26565 fi
26566
26567 LD="$acl_cv_path_LD"
26568 if test -n "$LD"; then
26569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26570 $as_echo "$LD" >&6; }
26571 else
26572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26573 $as_echo "no" >&6; }
26574 fi
26575 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26577 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26578 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26579   $as_echo_n "(cached) " >&6
26580 else
26581   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26582 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26583   acl_cv_prog_gnu_ld=yes
26584 else
26585   acl_cv_prog_gnu_ld=no
26586 fi
26587 fi
26588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26589 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26590 with_gnu_ld=$acl_cv_prog_gnu_ld
26591
26592
26593
26594                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26595 $as_echo_n "checking for shared library run path origin... " >&6; }
26596 if test "${acl_cv_rpath+set}" = set; then :
26597   $as_echo_n "(cached) " >&6
26598 else
26599
26600     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26601     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26602     . ./conftest.sh
26603     rm -f ./conftest.sh
26604     acl_cv_rpath=done
26605
26606 fi
26607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26608 $as_echo "$acl_cv_rpath" >&6; }
26609   wl="$acl_cv_wl"
26610   libext="$acl_cv_libext"
26611   shlibext="$acl_cv_shlibext"
26612   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26613   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26614   hardcode_direct="$acl_cv_hardcode_direct"
26615   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26616     # Check whether --enable-rpath was given.
26617 if test "${enable_rpath+set}" = set; then :
26618   enableval=$enable_rpath; :
26619 else
26620   enable_rpath=yes
26621 fi
26622
26623
26624
26625
26626
26627
26628
26629
26630     use_additional=yes
26631
26632   acl_save_prefix="$prefix"
26633   prefix="$acl_final_prefix"
26634   acl_save_exec_prefix="$exec_prefix"
26635   exec_prefix="$acl_final_exec_prefix"
26636
26637     eval additional_includedir=\"$includedir\"
26638     eval additional_libdir=\"$libdir\"
26639
26640   exec_prefix="$acl_save_exec_prefix"
26641   prefix="$acl_save_prefix"
26642
26643
26644 # Check whether --with-libiconv-prefix was given.
26645 if test "${with_libiconv_prefix+set}" = set; then :
26646   withval=$with_libiconv_prefix;
26647     if test "X$withval" = "Xno"; then
26648       use_additional=no
26649     else
26650       if test "X$withval" = "X"; then
26651
26652   acl_save_prefix="$prefix"
26653   prefix="$acl_final_prefix"
26654   acl_save_exec_prefix="$exec_prefix"
26655   exec_prefix="$acl_final_exec_prefix"
26656
26657           eval additional_includedir=\"$includedir\"
26658           eval additional_libdir=\"$libdir\"
26659
26660   exec_prefix="$acl_save_exec_prefix"
26661   prefix="$acl_save_prefix"
26662
26663       else
26664         additional_includedir="$withval/include"
26665         additional_libdir="$withval/lib"
26666       fi
26667     fi
26668
26669 fi
26670
26671       LIBICONV=
26672   LTLIBICONV=
26673   INCICONV=
26674   rpathdirs=
26675   ltrpathdirs=
26676   names_already_handled=
26677   names_next_round='iconv '
26678   while test -n "$names_next_round"; do
26679     names_this_round="$names_next_round"
26680     names_next_round=
26681     for name in $names_this_round; do
26682       already_handled=
26683       for n in $names_already_handled; do
26684         if test "$n" = "$name"; then
26685           already_handled=yes
26686           break
26687         fi
26688       done
26689       if test -z "$already_handled"; then
26690         names_already_handled="$names_already_handled $name"
26691                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26692         eval value=\"\$HAVE_LIB$uppername\"
26693         if test -n "$value"; then
26694           if test "$value" = yes; then
26695             eval value=\"\$LIB$uppername\"
26696             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26697             eval value=\"\$LTLIB$uppername\"
26698             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26699           else
26700                                     :
26701           fi
26702         else
26703                               found_dir=
26704           found_la=
26705           found_so=
26706           found_a=
26707           if test $use_additional = yes; then
26708             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26709               found_dir="$additional_libdir"
26710               found_so="$additional_libdir/lib$name.$shlibext"
26711               if test -f "$additional_libdir/lib$name.la"; then
26712                 found_la="$additional_libdir/lib$name.la"
26713               fi
26714             else
26715               if test -f "$additional_libdir/lib$name.$libext"; then
26716                 found_dir="$additional_libdir"
26717                 found_a="$additional_libdir/lib$name.$libext"
26718                 if test -f "$additional_libdir/lib$name.la"; then
26719                   found_la="$additional_libdir/lib$name.la"
26720                 fi
26721               fi
26722             fi
26723           fi
26724           if test "X$found_dir" = "X"; then
26725             for x in $LDFLAGS $LTLIBICONV; do
26726
26727   acl_save_prefix="$prefix"
26728   prefix="$acl_final_prefix"
26729   acl_save_exec_prefix="$exec_prefix"
26730   exec_prefix="$acl_final_exec_prefix"
26731   eval x=\"$x\"
26732   exec_prefix="$acl_save_exec_prefix"
26733   prefix="$acl_save_prefix"
26734
26735               case "$x" in
26736                 -L*)
26737                   dir=`echo "X$x" | sed -e 's/^X-L//'`
26738                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26739                     found_dir="$dir"
26740                     found_so="$dir/lib$name.$shlibext"
26741                     if test -f "$dir/lib$name.la"; then
26742                       found_la="$dir/lib$name.la"
26743                     fi
26744                   else
26745                     if test -f "$dir/lib$name.$libext"; then
26746                       found_dir="$dir"
26747                       found_a="$dir/lib$name.$libext"
26748                       if test -f "$dir/lib$name.la"; then
26749                         found_la="$dir/lib$name.la"
26750                       fi
26751                     fi
26752                   fi
26753                   ;;
26754               esac
26755               if test "X$found_dir" != "X"; then
26756                 break
26757               fi
26758             done
26759           fi
26760           if test "X$found_dir" != "X"; then
26761                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26762             if test "X$found_so" != "X"; then
26763                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26764                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26765               else
26766                                                                                 haveit=
26767                 for x in $ltrpathdirs; do
26768                   if test "X$x" = "X$found_dir"; then
26769                     haveit=yes
26770                     break
26771                   fi
26772                 done
26773                 if test -z "$haveit"; then
26774                   ltrpathdirs="$ltrpathdirs $found_dir"
26775                 fi
26776                                 if test "$hardcode_direct" = yes; then
26777                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26778                 else
26779                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26780                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26781                                                             haveit=
26782                     for x in $rpathdirs; do
26783                       if test "X$x" = "X$found_dir"; then
26784                         haveit=yes
26785                         break
26786                       fi
26787                     done
26788                     if test -z "$haveit"; then
26789                       rpathdirs="$rpathdirs $found_dir"
26790                     fi
26791                   else
26792                                                                                 haveit=
26793                     for x in $LDFLAGS $LIBICONV; do
26794
26795   acl_save_prefix="$prefix"
26796   prefix="$acl_final_prefix"
26797   acl_save_exec_prefix="$exec_prefix"
26798   exec_prefix="$acl_final_exec_prefix"
26799   eval x=\"$x\"
26800   exec_prefix="$acl_save_exec_prefix"
26801   prefix="$acl_save_prefix"
26802
26803                       if test "X$x" = "X-L$found_dir"; then
26804                         haveit=yes
26805                         break
26806                       fi
26807                     done
26808                     if test -z "$haveit"; then
26809                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26810                     fi
26811                     if test "$hardcode_minus_L" != no; then
26812                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26813                     else
26814                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26815                     fi
26816                   fi
26817                 fi
26818               fi
26819             else
26820               if test "X$found_a" != "X"; then
26821                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26822               else
26823                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26824               fi
26825             fi
26826                         additional_includedir=
26827             case "$found_dir" in
26828               */lib | */lib/)
26829                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26830                 additional_includedir="$basedir/include"
26831                 ;;
26832             esac
26833             if test "X$additional_includedir" != "X"; then
26834                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26835                 haveit=
26836                 if test "X$additional_includedir" = "X/usr/local/include"; then
26837                   if test -n "$GCC"; then
26838                     case $host_os in
26839                       linux*) haveit=yes;;
26840                     esac
26841                   fi
26842                 fi
26843                 if test -z "$haveit"; then
26844                   for x in $CPPFLAGS $INCICONV; do
26845
26846   acl_save_prefix="$prefix"
26847   prefix="$acl_final_prefix"
26848   acl_save_exec_prefix="$exec_prefix"
26849   exec_prefix="$acl_final_exec_prefix"
26850   eval x=\"$x\"
26851   exec_prefix="$acl_save_exec_prefix"
26852   prefix="$acl_save_prefix"
26853
26854                     if test "X$x" = "X-I$additional_includedir"; then
26855                       haveit=yes
26856                       break
26857                     fi
26858                   done
26859                   if test -z "$haveit"; then
26860                     if test -d "$additional_includedir"; then
26861                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26862                     fi
26863                   fi
26864                 fi
26865               fi
26866             fi
26867                         if test -n "$found_la"; then
26868                                                         save_libdir="$libdir"
26869               case "$found_la" in
26870                 */* | *\\*) . "$found_la" ;;
26871                 *) . "./$found_la" ;;
26872               esac
26873               libdir="$save_libdir"
26874                             for dep in $dependency_libs; do
26875                 case "$dep" in
26876                   -L*)
26877                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26878                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26879                       haveit=
26880                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26881                         if test -n "$GCC"; then
26882                           case $host_os in
26883                             linux*) haveit=yes;;
26884                           esac
26885                         fi
26886                       fi
26887                       if test -z "$haveit"; then
26888                         haveit=
26889                         for x in $LDFLAGS $LIBICONV; do
26890
26891   acl_save_prefix="$prefix"
26892   prefix="$acl_final_prefix"
26893   acl_save_exec_prefix="$exec_prefix"
26894   exec_prefix="$acl_final_exec_prefix"
26895   eval x=\"$x\"
26896   exec_prefix="$acl_save_exec_prefix"
26897   prefix="$acl_save_prefix"
26898
26899                           if test "X$x" = "X-L$additional_libdir"; then
26900                             haveit=yes
26901                             break
26902                           fi
26903                         done
26904                         if test -z "$haveit"; then
26905                           if test -d "$additional_libdir"; then
26906                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26907                           fi
26908                         fi
26909                         haveit=
26910                         for x in $LDFLAGS $LTLIBICONV; do
26911
26912   acl_save_prefix="$prefix"
26913   prefix="$acl_final_prefix"
26914   acl_save_exec_prefix="$exec_prefix"
26915   exec_prefix="$acl_final_exec_prefix"
26916   eval x=\"$x\"
26917   exec_prefix="$acl_save_exec_prefix"
26918   prefix="$acl_save_prefix"
26919
26920                           if test "X$x" = "X-L$additional_libdir"; then
26921                             haveit=yes
26922                             break
26923                           fi
26924                         done
26925                         if test -z "$haveit"; then
26926                           if test -d "$additional_libdir"; then
26927                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26928                           fi
26929                         fi
26930                       fi
26931                     fi
26932                     ;;
26933                   -R*)
26934                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26935                     if test "$enable_rpath" != no; then
26936                                                                   haveit=
26937                       for x in $rpathdirs; do
26938                         if test "X$x" = "X$dir"; then
26939                           haveit=yes
26940                           break
26941                         fi
26942                       done
26943                       if test -z "$haveit"; then
26944                         rpathdirs="$rpathdirs $dir"
26945                       fi
26946                                                                   haveit=
26947                       for x in $ltrpathdirs; do
26948                         if test "X$x" = "X$dir"; then
26949                           haveit=yes
26950                           break
26951                         fi
26952                       done
26953                       if test -z "$haveit"; then
26954                         ltrpathdirs="$ltrpathdirs $dir"
26955                       fi
26956                     fi
26957                     ;;
26958                   -l*)
26959                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26960                     ;;
26961                   *.la)
26962                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26963                     ;;
26964                   *)
26965                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26966                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26967                     ;;
26968                 esac
26969               done
26970             fi
26971           else
26972                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26973             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26974           fi
26975         fi
26976       fi
26977     done
26978   done
26979   if test "X$rpathdirs" != "X"; then
26980     if test -n "$hardcode_libdir_separator"; then
26981                         alldirs=
26982       for found_dir in $rpathdirs; do
26983         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26984       done
26985             acl_save_libdir="$libdir"
26986       libdir="$alldirs"
26987       eval flag=\"$hardcode_libdir_flag_spec\"
26988       libdir="$acl_save_libdir"
26989       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26990     else
26991             for found_dir in $rpathdirs; do
26992         acl_save_libdir="$libdir"
26993         libdir="$found_dir"
26994         eval flag=\"$hardcode_libdir_flag_spec\"
26995         libdir="$acl_save_libdir"
26996         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26997       done
26998     fi
26999   fi
27000   if test "X$ltrpathdirs" != "X"; then
27001             for found_dir in $ltrpathdirs; do
27002       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27003     done
27004   fi
27005
27006
27007
27008
27009
27010
27011
27012           am_save_CPPFLAGS="$CPPFLAGS"
27013
27014   for element in $INCICONV; do
27015     haveit=
27016     for x in $CPPFLAGS; do
27017
27018   acl_save_prefix="$prefix"
27019   prefix="$acl_final_prefix"
27020   acl_save_exec_prefix="$exec_prefix"
27021   exec_prefix="$acl_final_exec_prefix"
27022   eval x=\"$x\"
27023   exec_prefix="$acl_save_exec_prefix"
27024   prefix="$acl_save_prefix"
27025
27026       if test "X$x" = "X$element"; then
27027         haveit=yes
27028         break
27029       fi
27030     done
27031     if test -z "$haveit"; then
27032       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27033     fi
27034   done
27035
27036
27037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27038 $as_echo_n "checking for iconv... " >&6; }
27039 if test "${am_cv_func_iconv+set}" = set; then :
27040   $as_echo_n "(cached) " >&6
27041 else
27042
27043     am_cv_func_iconv="no, consider installing GNU libiconv"
27044     am_cv_lib_iconv=no
27045     if test x$gcc_no_link = xyes; then
27046   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27047 fi
27048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27049 /* end confdefs.h.  */
27050 #include <stdlib.h>
27051 #include <iconv.h>
27052 int
27053 main ()
27054 {
27055 iconv_t cd = iconv_open("","");
27056        iconv(cd,NULL,NULL,NULL,NULL);
27057        iconv_close(cd);
27058   ;
27059   return 0;
27060 }
27061 _ACEOF
27062 if ac_fn_c_try_link "$LINENO"; then :
27063   am_cv_func_iconv=yes
27064 fi
27065 rm -f core conftest.err conftest.$ac_objext \
27066     conftest$ac_exeext conftest.$ac_ext
27067     if test "$am_cv_func_iconv" != yes; then
27068       am_save_LIBS="$LIBS"
27069       LIBS="$LIBS $LIBICONV"
27070       if test x$gcc_no_link = xyes; then
27071   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27072 fi
27073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27074 /* end confdefs.h.  */
27075 #include <stdlib.h>
27076 #include <iconv.h>
27077 int
27078 main ()
27079 {
27080 iconv_t cd = iconv_open("","");
27081          iconv(cd,NULL,NULL,NULL,NULL);
27082          iconv_close(cd);
27083   ;
27084   return 0;
27085 }
27086 _ACEOF
27087 if ac_fn_c_try_link "$LINENO"; then :
27088   am_cv_lib_iconv=yes
27089         am_cv_func_iconv=yes
27090 fi
27091 rm -f core conftest.err conftest.$ac_objext \
27092     conftest$ac_exeext conftest.$ac_ext
27093       LIBS="$am_save_LIBS"
27094     fi
27095
27096 fi
27097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27098 $as_echo "$am_cv_func_iconv" >&6; }
27099   if test "$am_cv_func_iconv" = yes; then
27100
27101 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27102
27103   fi
27104   if test "$am_cv_lib_iconv" = yes; then
27105     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27106 $as_echo_n "checking how to link with libiconv... " >&6; }
27107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27108 $as_echo "$LIBICONV" >&6; }
27109   else
27110             CPPFLAGS="$am_save_CPPFLAGS"
27111     LIBICONV=
27112     LTLIBICONV=
27113   fi
27114
27115
27116
27117   if test "$am_cv_func_iconv" = yes; then
27118     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27119 $as_echo_n "checking for iconv declaration... " >&6; }
27120     if test "${am_cv_proto_iconv+set}" = set; then :
27121   $as_echo_n "(cached) " >&6
27122 else
27123
27124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27125 /* end confdefs.h.  */
27126
27127 #include <stdlib.h>
27128 #include <iconv.h>
27129 extern
27130 #ifdef __cplusplus
27131 "C"
27132 #endif
27133 #if defined(__STDC__) || defined(__cplusplus)
27134 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27135 #else
27136 size_t iconv();
27137 #endif
27138
27139 int
27140 main ()
27141 {
27142
27143   ;
27144   return 0;
27145 }
27146 _ACEOF
27147 if ac_fn_c_try_compile "$LINENO"; then :
27148   am_cv_proto_iconv_arg1=""
27149 else
27150   am_cv_proto_iconv_arg1="const"
27151 fi
27152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27153       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);"
27154 fi
27155
27156     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27157     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27158          }$am_cv_proto_iconv" >&5
27159 $as_echo "${ac_t:-
27160          }$am_cv_proto_iconv" >&6; }
27161
27162 cat >>confdefs.h <<_ACEOF
27163 #define ICONV_CONST $am_cv_proto_iconv_arg1
27164 _ACEOF
27165
27166   fi
27167
27168
27169 else
27170
27171   # This lets us hard-code the functionality we know we'll have in the cross
27172   # target environment.  "Let" is a sugar-coated word placed on an especially
27173   # dull and tedious hack, actually.
27174   #
27175   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27176   # that involve linking, can't be used:
27177   #    "cannot open sim-crt0.o"
27178   #    "cannot open crt0.o"
27179   # etc.  All this is because there currently exists no unified, consistent
27180   # way for top level CC information to be passed down to target directories:
27181   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27182   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27183   # crosses can be removed.
27184
27185   # If Canadian cross, then don't pick up tools from the build directory.
27186   # Used only in GLIBCXX_EXPORT_INCLUDES.
27187   if test -n "$with_cross_host" &&
27188      test x"$build_alias" != x"$with_cross_host" &&
27189      test x"$build" != x"$target";
27190   then
27191     CANADIAN=yes
27192   else
27193     CANADIAN=no
27194   fi
27195
27196   # Construct crosses by hand, eliminating bits that need ld...
27197   # GLIBCXX_CHECK_MATH_SUPPORT
27198
27199   # First, test for "known" system libraries.  We may be using newlib even
27200   # on a hosted environment.
27201   if test "x${with_newlib}" = "xyes"; then
27202     os_include_dir="os/newlib"
27203     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27204
27205
27206     # GLIBCXX_CHECK_STDLIB_SUPPORT
27207     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27208
27209
27210     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27211
27212     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27213
27214     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27215
27216     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27217
27218     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27219
27220     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27221
27222     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27223
27224     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27225
27226     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27227
27228     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27229
27230     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27231
27232     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27233
27234     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27235
27236     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27237
27238     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27239
27240     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27241
27242     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27243
27244     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27245
27246     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27247
27248     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27249
27250     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27251
27252     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27253
27254
27255     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27256
27257   else
27258
27259 # Base decisions on target environment.
27260 case "${host}" in
27261   arm*-*-symbianelf*)
27262     # This is a freestanding configuration; there is nothing to do here.
27263     ;;
27264
27265   mips*-sde-elf*)
27266     # These definitions are for the SDE C library rather than newlib.
27267     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27268
27269
27270   # All these tests are for C++; save the language and the compiler flags.
27271   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27272   # found in GLIBCXX_CONFIGURE.
27273
27274   ac_ext=cpp
27275 ac_cpp='$CXXCPP $CPPFLAGS'
27276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27279
27280   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27281   ac_save_CXXFLAGS="$CXXFLAGS"
27282
27283   # Check for maintainer-mode bits.
27284   if test x"$USE_MAINTAINER_MODE" = xno; then
27285     WERROR=''
27286   else
27287     WERROR='-Werror'
27288   fi
27289
27290   # Check for -ffunction-sections -fdata-sections
27291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27292 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27293   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27295 /* end confdefs.h.  */
27296 int foo; void bar() { };
27297 int
27298 main ()
27299 {
27300
27301   ;
27302   return 0;
27303 }
27304 _ACEOF
27305 if ac_fn_cxx_try_compile "$LINENO"; then :
27306   ac_fdsections=yes
27307 else
27308   ac_fdsections=no
27309 fi
27310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27311   if test "$ac_test_CXXFLAGS" = set; then
27312     CXXFLAGS="$ac_save_CXXFLAGS"
27313   else
27314     # this is the suspicious part
27315     CXXFLAGS=''
27316   fi
27317   if test x"$ac_fdsections" = x"yes"; then
27318     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27319   fi
27320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27321 $as_echo "$ac_fdsections" >&6; }
27322
27323   ac_ext=c
27324 ac_cpp='$CPP $CPPFLAGS'
27325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27328
27329
27330
27331
27332
27333   # If we're not using GNU ld, then there's no point in even trying these
27334   # tests.  Check for that first.  We should have already tested for gld
27335   # by now (in libtool), but require it now just to be safe...
27336   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27337   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27338
27339
27340
27341   # The name set by libtool depends on the version of libtool.  Shame on us
27342   # for depending on an impl detail, but c'est la vie.  Older versions used
27343   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27344   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27345   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27346   # set (hence we're using an older libtool), then set it.
27347   if test x${with_gnu_ld+set} != xset; then
27348     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27349       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27350       with_gnu_ld=no
27351     else
27352       with_gnu_ld=$ac_cv_prog_gnu_ld
27353     fi
27354   fi
27355
27356   # Start by getting the version number.  I think the libtool test already
27357   # does some of this, but throws away the result.
27358   glibcxx_ld_is_gold=no
27359   if test x"$with_gnu_ld" = x"yes"; then
27360     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27361 $as_echo_n "checking for ld version... " >&6; }
27362
27363     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27364       glibcxx_ld_is_gold=yes
27365     fi
27366     ldver=`$LD --version 2>/dev/null |
27367            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'`
27368
27369     glibcxx_gnu_ld_version=`echo $ldver | \
27370            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27371     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27372 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27373   fi
27374
27375   # Set --gc-sections.
27376   glibcxx_have_gc_sections=no
27377   if test "$glibcxx_ld_is_gold" = "yes"; then
27378     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27379       glibcxx_have_gc_sections=yes
27380     fi
27381   else
27382     glibcxx_gcsections_min_ld=21602
27383     if test x"$with_gnu_ld" = x"yes" &&
27384         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27385       glibcxx_have_gc_sections=yes
27386     fi
27387   fi
27388   if test "$glibcxx_have_gc_sections" = "yes"; then
27389     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27390     # NB: This flag only works reliably after 2.16.1. Configure tests
27391     # for this are difficult, so hard wire a value that should work.
27392
27393     ac_test_CFLAGS="${CFLAGS+set}"
27394     ac_save_CFLAGS="$CFLAGS"
27395     CFLAGS='-Wl,--gc-sections'
27396
27397     # Check for -Wl,--gc-sections
27398     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27399 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27400     if test x$gcc_no_link = xyes; then
27401   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27402 fi
27403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27404 /* end confdefs.h.  */
27405  int one(void) { return 1; }
27406      int two(void) { return 2; }
27407
27408 int
27409 main ()
27410 {
27411  two();
27412   ;
27413   return 0;
27414 }
27415 _ACEOF
27416 if ac_fn_c_try_link "$LINENO"; then :
27417   ac_gcsections=yes
27418 else
27419   ac_gcsections=no
27420 fi
27421 rm -f core conftest.err conftest.$ac_objext \
27422     conftest$ac_exeext conftest.$ac_ext
27423     if test "$ac_gcsections" = "yes"; then
27424       rm -f conftest.c
27425       touch conftest.c
27426       if $CC -c conftest.c; then
27427         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27428            grep "Warning: gc-sections option ignored" > /dev/null; then
27429           ac_gcsections=no
27430         fi
27431       fi
27432       rm -f conftest.c conftest.o conftest
27433     fi
27434     if test "$ac_gcsections" = "yes"; then
27435       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27436     fi
27437     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27438 $as_echo "$ac_gcsections" >&6; }
27439
27440     if test "$ac_test_CFLAGS" = set; then
27441       CFLAGS="$ac_save_CFLAGS"
27442     else
27443       # this is the suspicious part
27444       CFLAGS=''
27445     fi
27446   fi
27447
27448   # Set -z,relro.
27449   # Note this is only for shared objects.
27450   ac_ld_relro=no
27451   if test x"$with_gnu_ld" = x"yes"; then
27452     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27453 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27454     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27455     if test -n "$cxx_z_relo"; then
27456       OPT_LDFLAGS="-Wl,-z,relro"
27457       ac_ld_relro=yes
27458     fi
27459     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27460 $as_echo "$ac_ld_relro" >&6; }
27461   fi
27462
27463   # Set linker optimization flags.
27464   if test x"$with_gnu_ld" = x"yes"; then
27465     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27466   fi
27467
27468
27469
27470
27471
27472   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27473   ac_save_CXXFLAGS="$CXXFLAGS"
27474   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27475
27476     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27477 $as_echo_n "checking for sin in -lm... " >&6; }
27478 if test "${ac_cv_lib_m_sin+set}" = set; then :
27479   $as_echo_n "(cached) " >&6
27480 else
27481   ac_check_lib_save_LIBS=$LIBS
27482 LIBS="-lm  $LIBS"
27483 if test x$gcc_no_link = xyes; then
27484   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27485 fi
27486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27487 /* end confdefs.h.  */
27488
27489 /* Override any GCC internal prototype to avoid an error.
27490    Use char because int might match the return type of a GCC
27491    builtin and then its argument prototype would still apply.  */
27492 #ifdef __cplusplus
27493 extern "C"
27494 #endif
27495 char sin ();
27496 int
27497 main ()
27498 {
27499 return sin ();
27500   ;
27501   return 0;
27502 }
27503 _ACEOF
27504 if ac_fn_c_try_link "$LINENO"; then :
27505   ac_cv_lib_m_sin=yes
27506 else
27507   ac_cv_lib_m_sin=no
27508 fi
27509 rm -f core conftest.err conftest.$ac_objext \
27510     conftest$ac_exeext conftest.$ac_ext
27511 LIBS=$ac_check_lib_save_LIBS
27512 fi
27513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27514 $as_echo "$ac_cv_lib_m_sin" >&6; }
27515 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27516   libm="-lm"
27517 fi
27518
27519   ac_save_LIBS="$LIBS"
27520   LIBS="$LIBS $libm"
27521
27522
27523
27524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27525 $as_echo_n "checking for isinf declaration... " >&6; }
27526   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27527     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27528   $as_echo_n "(cached) " >&6
27529 else
27530
27531
27532       ac_ext=cpp
27533 ac_cpp='$CXXCPP $CPPFLAGS'
27534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27537
27538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27539 /* end confdefs.h.  */
27540 #include <math.h>
27541                       #ifdef HAVE_IEEEFP_H
27542                       #include <ieeefp.h>
27543                       #endif
27544
27545 int
27546 main ()
27547 {
27548  isinf(0);
27549   ;
27550   return 0;
27551 }
27552 _ACEOF
27553 if ac_fn_cxx_try_compile "$LINENO"; then :
27554   glibcxx_cv_func_isinf_use=yes
27555 else
27556   glibcxx_cv_func_isinf_use=no
27557 fi
27558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27559       ac_ext=c
27560 ac_cpp='$CPP $CPPFLAGS'
27561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27564
27565
27566 fi
27567
27568   fi
27569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27570 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27571
27572   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27573     for ac_func in isinf
27574 do :
27575   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27576 if test "x$ac_cv_func_isinf" = x""yes; then :
27577   cat >>confdefs.h <<_ACEOF
27578 #define HAVE_ISINF 1
27579 _ACEOF
27580
27581 fi
27582 done
27583
27584   else
27585
27586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27587 $as_echo_n "checking for _isinf declaration... " >&6; }
27588   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27589     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27590   $as_echo_n "(cached) " >&6
27591 else
27592
27593
27594       ac_ext=cpp
27595 ac_cpp='$CXXCPP $CPPFLAGS'
27596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27599
27600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27601 /* end confdefs.h.  */
27602 #include <math.h>
27603                       #ifdef HAVE_IEEEFP_H
27604                       #include <ieeefp.h>
27605                       #endif
27606
27607 int
27608 main ()
27609 {
27610  _isinf(0);
27611   ;
27612   return 0;
27613 }
27614 _ACEOF
27615 if ac_fn_cxx_try_compile "$LINENO"; then :
27616   glibcxx_cv_func__isinf_use=yes
27617 else
27618   glibcxx_cv_func__isinf_use=no
27619 fi
27620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27621       ac_ext=c
27622 ac_cpp='$CPP $CPPFLAGS'
27623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27626
27627
27628 fi
27629
27630   fi
27631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27632 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27633
27634     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27635       for ac_func in _isinf
27636 do :
27637   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27638 if test "x$ac_cv_func__isinf" = x""yes; then :
27639   cat >>confdefs.h <<_ACEOF
27640 #define HAVE__ISINF 1
27641 _ACEOF
27642
27643 fi
27644 done
27645
27646     fi
27647   fi
27648
27649
27650
27651
27652
27653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27654 $as_echo_n "checking for isnan declaration... " >&6; }
27655   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27656     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27657   $as_echo_n "(cached) " >&6
27658 else
27659
27660
27661       ac_ext=cpp
27662 ac_cpp='$CXXCPP $CPPFLAGS'
27663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27666
27667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27668 /* end confdefs.h.  */
27669 #include <math.h>
27670                       #ifdef HAVE_IEEEFP_H
27671                       #include <ieeefp.h>
27672                       #endif
27673
27674 int
27675 main ()
27676 {
27677  isnan(0);
27678   ;
27679   return 0;
27680 }
27681 _ACEOF
27682 if ac_fn_cxx_try_compile "$LINENO"; then :
27683   glibcxx_cv_func_isnan_use=yes
27684 else
27685   glibcxx_cv_func_isnan_use=no
27686 fi
27687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27688       ac_ext=c
27689 ac_cpp='$CPP $CPPFLAGS'
27690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27693
27694
27695 fi
27696
27697   fi
27698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27699 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27700
27701   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27702     for ac_func in isnan
27703 do :
27704   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27705 if test "x$ac_cv_func_isnan" = x""yes; then :
27706   cat >>confdefs.h <<_ACEOF
27707 #define HAVE_ISNAN 1
27708 _ACEOF
27709
27710 fi
27711 done
27712
27713   else
27714
27715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27716 $as_echo_n "checking for _isnan declaration... " >&6; }
27717   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27718     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27719   $as_echo_n "(cached) " >&6
27720 else
27721
27722
27723       ac_ext=cpp
27724 ac_cpp='$CXXCPP $CPPFLAGS'
27725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27728
27729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27730 /* end confdefs.h.  */
27731 #include <math.h>
27732                       #ifdef HAVE_IEEEFP_H
27733                       #include <ieeefp.h>
27734                       #endif
27735
27736 int
27737 main ()
27738 {
27739  _isnan(0);
27740   ;
27741   return 0;
27742 }
27743 _ACEOF
27744 if ac_fn_cxx_try_compile "$LINENO"; then :
27745   glibcxx_cv_func__isnan_use=yes
27746 else
27747   glibcxx_cv_func__isnan_use=no
27748 fi
27749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27750       ac_ext=c
27751 ac_cpp='$CPP $CPPFLAGS'
27752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27755
27756
27757 fi
27758
27759   fi
27760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27761 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27762
27763     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27764       for ac_func in _isnan
27765 do :
27766   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27767 if test "x$ac_cv_func__isnan" = x""yes; then :
27768   cat >>confdefs.h <<_ACEOF
27769 #define HAVE__ISNAN 1
27770 _ACEOF
27771
27772 fi
27773 done
27774
27775     fi
27776   fi
27777
27778
27779
27780
27781
27782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27783 $as_echo_n "checking for finite declaration... " >&6; }
27784   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27785     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27786   $as_echo_n "(cached) " >&6
27787 else
27788
27789
27790       ac_ext=cpp
27791 ac_cpp='$CXXCPP $CPPFLAGS'
27792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27795
27796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27797 /* end confdefs.h.  */
27798 #include <math.h>
27799                       #ifdef HAVE_IEEEFP_H
27800                       #include <ieeefp.h>
27801                       #endif
27802
27803 int
27804 main ()
27805 {
27806  finite(0);
27807   ;
27808   return 0;
27809 }
27810 _ACEOF
27811 if ac_fn_cxx_try_compile "$LINENO"; then :
27812   glibcxx_cv_func_finite_use=yes
27813 else
27814   glibcxx_cv_func_finite_use=no
27815 fi
27816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27817       ac_ext=c
27818 ac_cpp='$CPP $CPPFLAGS'
27819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27822
27823
27824 fi
27825
27826   fi
27827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27828 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27829
27830   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27831     for ac_func in finite
27832 do :
27833   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27834 if test "x$ac_cv_func_finite" = x""yes; then :
27835   cat >>confdefs.h <<_ACEOF
27836 #define HAVE_FINITE 1
27837 _ACEOF
27838
27839 fi
27840 done
27841
27842   else
27843
27844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27845 $as_echo_n "checking for _finite declaration... " >&6; }
27846   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27847     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27848   $as_echo_n "(cached) " >&6
27849 else
27850
27851
27852       ac_ext=cpp
27853 ac_cpp='$CXXCPP $CPPFLAGS'
27854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27857
27858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27859 /* end confdefs.h.  */
27860 #include <math.h>
27861                       #ifdef HAVE_IEEEFP_H
27862                       #include <ieeefp.h>
27863                       #endif
27864
27865 int
27866 main ()
27867 {
27868  _finite(0);
27869   ;
27870   return 0;
27871 }
27872 _ACEOF
27873 if ac_fn_cxx_try_compile "$LINENO"; then :
27874   glibcxx_cv_func__finite_use=yes
27875 else
27876   glibcxx_cv_func__finite_use=no
27877 fi
27878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27879       ac_ext=c
27880 ac_cpp='$CPP $CPPFLAGS'
27881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27884
27885
27886 fi
27887
27888   fi
27889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27890 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27891
27892     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27893       for ac_func in _finite
27894 do :
27895   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27896 if test "x$ac_cv_func__finite" = x""yes; then :
27897   cat >>confdefs.h <<_ACEOF
27898 #define HAVE__FINITE 1
27899 _ACEOF
27900
27901 fi
27902 done
27903
27904     fi
27905   fi
27906
27907
27908
27909
27910
27911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27912 $as_echo_n "checking for sincos declaration... " >&6; }
27913   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27914     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27915   $as_echo_n "(cached) " >&6
27916 else
27917
27918
27919       ac_ext=cpp
27920 ac_cpp='$CXXCPP $CPPFLAGS'
27921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27924
27925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27926 /* end confdefs.h.  */
27927 #include <math.h>
27928 int
27929 main ()
27930 {
27931  sincos(0, 0, 0);
27932   ;
27933   return 0;
27934 }
27935 _ACEOF
27936 if ac_fn_cxx_try_compile "$LINENO"; then :
27937   glibcxx_cv_func_sincos_use=yes
27938 else
27939   glibcxx_cv_func_sincos_use=no
27940 fi
27941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27942       ac_ext=c
27943 ac_cpp='$CPP $CPPFLAGS'
27944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27947
27948
27949 fi
27950
27951   fi
27952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27953 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27954
27955   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27956     for ac_func in sincos
27957 do :
27958   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27959 if test "x$ac_cv_func_sincos" = x""yes; then :
27960   cat >>confdefs.h <<_ACEOF
27961 #define HAVE_SINCOS 1
27962 _ACEOF
27963
27964 fi
27965 done
27966
27967   else
27968
27969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27970 $as_echo_n "checking for _sincos declaration... " >&6; }
27971   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27972     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27973   $as_echo_n "(cached) " >&6
27974 else
27975
27976
27977       ac_ext=cpp
27978 ac_cpp='$CXXCPP $CPPFLAGS'
27979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27982
27983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27984 /* end confdefs.h.  */
27985 #include <math.h>
27986 int
27987 main ()
27988 {
27989  _sincos(0, 0, 0);
27990   ;
27991   return 0;
27992 }
27993 _ACEOF
27994 if ac_fn_cxx_try_compile "$LINENO"; then :
27995   glibcxx_cv_func__sincos_use=yes
27996 else
27997   glibcxx_cv_func__sincos_use=no
27998 fi
27999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28000       ac_ext=c
28001 ac_cpp='$CPP $CPPFLAGS'
28002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28005
28006
28007 fi
28008
28009   fi
28010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28011 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28012
28013     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28014       for ac_func in _sincos
28015 do :
28016   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28017 if test "x$ac_cv_func__sincos" = x""yes; then :
28018   cat >>confdefs.h <<_ACEOF
28019 #define HAVE__SINCOS 1
28020 _ACEOF
28021
28022 fi
28023 done
28024
28025     fi
28026   fi
28027
28028
28029
28030
28031
28032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28033 $as_echo_n "checking for fpclass declaration... " >&6; }
28034   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28035     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28036   $as_echo_n "(cached) " >&6
28037 else
28038
28039
28040       ac_ext=cpp
28041 ac_cpp='$CXXCPP $CPPFLAGS'
28042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28045
28046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28047 /* end confdefs.h.  */
28048 #include <math.h>
28049                       #ifdef HAVE_IEEEFP_H
28050                       #include <ieeefp.h>
28051                       #endif
28052
28053 int
28054 main ()
28055 {
28056  fpclass(0);
28057   ;
28058   return 0;
28059 }
28060 _ACEOF
28061 if ac_fn_cxx_try_compile "$LINENO"; then :
28062   glibcxx_cv_func_fpclass_use=yes
28063 else
28064   glibcxx_cv_func_fpclass_use=no
28065 fi
28066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28067       ac_ext=c
28068 ac_cpp='$CPP $CPPFLAGS'
28069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28072
28073
28074 fi
28075
28076   fi
28077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28078 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28079
28080   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28081     for ac_func in fpclass
28082 do :
28083   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28084 if test "x$ac_cv_func_fpclass" = x""yes; then :
28085   cat >>confdefs.h <<_ACEOF
28086 #define HAVE_FPCLASS 1
28087 _ACEOF
28088
28089 fi
28090 done
28091
28092   else
28093
28094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28095 $as_echo_n "checking for _fpclass declaration... " >&6; }
28096   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28097     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28098   $as_echo_n "(cached) " >&6
28099 else
28100
28101
28102       ac_ext=cpp
28103 ac_cpp='$CXXCPP $CPPFLAGS'
28104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28107
28108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28109 /* end confdefs.h.  */
28110 #include <math.h>
28111                       #ifdef HAVE_IEEEFP_H
28112                       #include <ieeefp.h>
28113                       #endif
28114
28115 int
28116 main ()
28117 {
28118  _fpclass(0);
28119   ;
28120   return 0;
28121 }
28122 _ACEOF
28123 if ac_fn_cxx_try_compile "$LINENO"; then :
28124   glibcxx_cv_func__fpclass_use=yes
28125 else
28126   glibcxx_cv_func__fpclass_use=no
28127 fi
28128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28129       ac_ext=c
28130 ac_cpp='$CPP $CPPFLAGS'
28131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28134
28135
28136 fi
28137
28138   fi
28139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28140 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28141
28142     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28143       for ac_func in _fpclass
28144 do :
28145   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28146 if test "x$ac_cv_func__fpclass" = x""yes; then :
28147   cat >>confdefs.h <<_ACEOF
28148 #define HAVE__FPCLASS 1
28149 _ACEOF
28150
28151 fi
28152 done
28153
28154     fi
28155   fi
28156
28157
28158
28159
28160
28161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28162 $as_echo_n "checking for qfpclass declaration... " >&6; }
28163   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28164     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28165   $as_echo_n "(cached) " >&6
28166 else
28167
28168
28169       ac_ext=cpp
28170 ac_cpp='$CXXCPP $CPPFLAGS'
28171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28174
28175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28176 /* end confdefs.h.  */
28177 #include <math.h>
28178                       #ifdef HAVE_IEEEFP_H
28179                       #include <ieeefp.h>
28180                       #endif
28181
28182 int
28183 main ()
28184 {
28185  qfpclass(0);
28186   ;
28187   return 0;
28188 }
28189 _ACEOF
28190 if ac_fn_cxx_try_compile "$LINENO"; then :
28191   glibcxx_cv_func_qfpclass_use=yes
28192 else
28193   glibcxx_cv_func_qfpclass_use=no
28194 fi
28195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28196       ac_ext=c
28197 ac_cpp='$CPP $CPPFLAGS'
28198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28201
28202
28203 fi
28204
28205   fi
28206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28207 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28208
28209   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28210     for ac_func in qfpclass
28211 do :
28212   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28213 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28214   cat >>confdefs.h <<_ACEOF
28215 #define HAVE_QFPCLASS 1
28216 _ACEOF
28217
28218 fi
28219 done
28220
28221   else
28222
28223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28224 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28225   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28226     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28227   $as_echo_n "(cached) " >&6
28228 else
28229
28230
28231       ac_ext=cpp
28232 ac_cpp='$CXXCPP $CPPFLAGS'
28233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28236
28237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28238 /* end confdefs.h.  */
28239 #include <math.h>
28240                       #ifdef HAVE_IEEEFP_H
28241                       #include <ieeefp.h>
28242                       #endif
28243
28244 int
28245 main ()
28246 {
28247  _qfpclass(0);
28248   ;
28249   return 0;
28250 }
28251 _ACEOF
28252 if ac_fn_cxx_try_compile "$LINENO"; then :
28253   glibcxx_cv_func__qfpclass_use=yes
28254 else
28255   glibcxx_cv_func__qfpclass_use=no
28256 fi
28257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28258       ac_ext=c
28259 ac_cpp='$CPP $CPPFLAGS'
28260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28263
28264
28265 fi
28266
28267   fi
28268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28269 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28270
28271     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28272       for ac_func in _qfpclass
28273 do :
28274   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28275 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28276   cat >>confdefs.h <<_ACEOF
28277 #define HAVE__QFPCLASS 1
28278 _ACEOF
28279
28280 fi
28281 done
28282
28283     fi
28284   fi
28285
28286
28287
28288
28289
28290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28291 $as_echo_n "checking for hypot declaration... " >&6; }
28292   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28293     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28294   $as_echo_n "(cached) " >&6
28295 else
28296
28297
28298       ac_ext=cpp
28299 ac_cpp='$CXXCPP $CPPFLAGS'
28300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28303
28304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28305 /* end confdefs.h.  */
28306 #include <math.h>
28307 int
28308 main ()
28309 {
28310  hypot(0, 0);
28311   ;
28312   return 0;
28313 }
28314 _ACEOF
28315 if ac_fn_cxx_try_compile "$LINENO"; then :
28316   glibcxx_cv_func_hypot_use=yes
28317 else
28318   glibcxx_cv_func_hypot_use=no
28319 fi
28320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28321       ac_ext=c
28322 ac_cpp='$CPP $CPPFLAGS'
28323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28326
28327
28328 fi
28329
28330   fi
28331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28332 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28333
28334   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28335     for ac_func in hypot
28336 do :
28337   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28338 if test "x$ac_cv_func_hypot" = x""yes; then :
28339   cat >>confdefs.h <<_ACEOF
28340 #define HAVE_HYPOT 1
28341 _ACEOF
28342
28343 fi
28344 done
28345
28346   else
28347
28348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28349 $as_echo_n "checking for _hypot declaration... " >&6; }
28350   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28351     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28352   $as_echo_n "(cached) " >&6
28353 else
28354
28355
28356       ac_ext=cpp
28357 ac_cpp='$CXXCPP $CPPFLAGS'
28358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28361
28362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28363 /* end confdefs.h.  */
28364 #include <math.h>
28365 int
28366 main ()
28367 {
28368  _hypot(0, 0);
28369   ;
28370   return 0;
28371 }
28372 _ACEOF
28373 if ac_fn_cxx_try_compile "$LINENO"; then :
28374   glibcxx_cv_func__hypot_use=yes
28375 else
28376   glibcxx_cv_func__hypot_use=no
28377 fi
28378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28379       ac_ext=c
28380 ac_cpp='$CPP $CPPFLAGS'
28381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28384
28385
28386 fi
28387
28388   fi
28389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28390 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28391
28392     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28393       for ac_func in _hypot
28394 do :
28395   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28396 if test "x$ac_cv_func__hypot" = x""yes; then :
28397   cat >>confdefs.h <<_ACEOF
28398 #define HAVE__HYPOT 1
28399 _ACEOF
28400
28401 fi
28402 done
28403
28404     fi
28405   fi
28406
28407
28408
28409
28410
28411     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28412 $as_echo_n "checking for float trig functions... " >&6; }
28413   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28414   $as_echo_n "(cached) " >&6
28415 else
28416
28417
28418     ac_ext=cpp
28419 ac_cpp='$CXXCPP $CPPFLAGS'
28420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28423
28424     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28425 /* end confdefs.h.  */
28426 #include <math.h>
28427 int
28428 main ()
28429 {
28430 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28431   ;
28432   return 0;
28433 }
28434 _ACEOF
28435 if ac_fn_cxx_try_compile "$LINENO"; then :
28436   glibcxx_cv_func_float_trig_use=yes
28437 else
28438   glibcxx_cv_func_float_trig_use=no
28439 fi
28440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28441     ac_ext=c
28442 ac_cpp='$CPP $CPPFLAGS'
28443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28446
28447 fi
28448
28449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28450 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28451   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28452     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28453 do :
28454   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28456 eval as_val=\$$as_ac_var
28457    if test "x$as_val" = x""yes; then :
28458   cat >>confdefs.h <<_ACEOF
28459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28460 _ACEOF
28461
28462 fi
28463 done
28464
28465   else
28466     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28467 $as_echo_n "checking for _float trig functions... " >&6; }
28468     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28469   $as_echo_n "(cached) " >&6
28470 else
28471
28472
28473       ac_ext=cpp
28474 ac_cpp='$CXXCPP $CPPFLAGS'
28475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28478
28479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28480 /* end confdefs.h.  */
28481 #include <math.h>
28482 int
28483 main ()
28484 {
28485 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28486   ;
28487   return 0;
28488 }
28489 _ACEOF
28490 if ac_fn_cxx_try_compile "$LINENO"; then :
28491   glibcxx_cv_func__float_trig_use=yes
28492 else
28493   glibcxx_cv_func__float_trig_use=no
28494 fi
28495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28496       ac_ext=c
28497 ac_cpp='$CPP $CPPFLAGS'
28498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28501
28502 fi
28503
28504     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28505 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28506     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28507       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28508 do :
28509   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28511 eval as_val=\$$as_ac_var
28512    if test "x$as_val" = x""yes; then :
28513   cat >>confdefs.h <<_ACEOF
28514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28515 _ACEOF
28516
28517 fi
28518 done
28519
28520     fi
28521   fi
28522
28523
28524
28525
28526
28527     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28528 $as_echo_n "checking for float round functions... " >&6; }
28529   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28530   $as_echo_n "(cached) " >&6
28531 else
28532
28533
28534     ac_ext=cpp
28535 ac_cpp='$CXXCPP $CPPFLAGS'
28536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28539
28540     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28541 /* end confdefs.h.  */
28542 #include <math.h>
28543 int
28544 main ()
28545 {
28546 ceilf (0); floorf (0);
28547   ;
28548   return 0;
28549 }
28550 _ACEOF
28551 if ac_fn_cxx_try_compile "$LINENO"; then :
28552   glibcxx_cv_func_float_round_use=yes
28553 else
28554   glibcxx_cv_func_float_round_use=no
28555 fi
28556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28557     ac_ext=c
28558 ac_cpp='$CPP $CPPFLAGS'
28559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28562
28563 fi
28564
28565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28566 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28567   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28568     for ac_func in ceilf floorf
28569 do :
28570   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28572 eval as_val=\$$as_ac_var
28573    if test "x$as_val" = x""yes; then :
28574   cat >>confdefs.h <<_ACEOF
28575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28576 _ACEOF
28577
28578 fi
28579 done
28580
28581   else
28582     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28583 $as_echo_n "checking for _float round functions... " >&6; }
28584     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28585   $as_echo_n "(cached) " >&6
28586 else
28587
28588
28589       ac_ext=cpp
28590 ac_cpp='$CXXCPP $CPPFLAGS'
28591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28594
28595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28596 /* end confdefs.h.  */
28597 #include <math.h>
28598 int
28599 main ()
28600 {
28601 _ceilf (0); _floorf (0);
28602   ;
28603   return 0;
28604 }
28605 _ACEOF
28606 if ac_fn_cxx_try_compile "$LINENO"; then :
28607   glibcxx_cv_func__float_round_use=yes
28608 else
28609   glibcxx_cv_func__float_round_use=no
28610 fi
28611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28612       ac_ext=c
28613 ac_cpp='$CPP $CPPFLAGS'
28614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28617
28618 fi
28619
28620     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28621 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28622     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28623       for ac_func in _ceilf _floorf
28624 do :
28625   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28626 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28627 eval as_val=\$$as_ac_var
28628    if test "x$as_val" = x""yes; then :
28629   cat >>confdefs.h <<_ACEOF
28630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28631 _ACEOF
28632
28633 fi
28634 done
28635
28636     fi
28637   fi
28638
28639
28640
28641
28642
28643
28644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28645 $as_echo_n "checking for expf declaration... " >&6; }
28646   if test x${glibcxx_cv_func_expf_use+set} != xset; then
28647     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28648   $as_echo_n "(cached) " >&6
28649 else
28650
28651
28652       ac_ext=cpp
28653 ac_cpp='$CXXCPP $CPPFLAGS'
28654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28657
28658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28659 /* end confdefs.h.  */
28660 #include <math.h>
28661                       #ifdef HAVE_IEEEFP_H
28662                       #include <ieeefp.h>
28663                       #endif
28664
28665 int
28666 main ()
28667 {
28668  expf(0);
28669   ;
28670   return 0;
28671 }
28672 _ACEOF
28673 if ac_fn_cxx_try_compile "$LINENO"; then :
28674   glibcxx_cv_func_expf_use=yes
28675 else
28676   glibcxx_cv_func_expf_use=no
28677 fi
28678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28679       ac_ext=c
28680 ac_cpp='$CPP $CPPFLAGS'
28681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28684
28685
28686 fi
28687
28688   fi
28689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28690 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28691
28692   if test x$glibcxx_cv_func_expf_use = x"yes"; then
28693     for ac_func in expf
28694 do :
28695   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28696 if test "x$ac_cv_func_expf" = x""yes; then :
28697   cat >>confdefs.h <<_ACEOF
28698 #define HAVE_EXPF 1
28699 _ACEOF
28700
28701 fi
28702 done
28703
28704   else
28705
28706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28707 $as_echo_n "checking for _expf declaration... " >&6; }
28708   if test x${glibcxx_cv_func__expf_use+set} != xset; then
28709     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28710   $as_echo_n "(cached) " >&6
28711 else
28712
28713
28714       ac_ext=cpp
28715 ac_cpp='$CXXCPP $CPPFLAGS'
28716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28719
28720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28721 /* end confdefs.h.  */
28722 #include <math.h>
28723                       #ifdef HAVE_IEEEFP_H
28724                       #include <ieeefp.h>
28725                       #endif
28726
28727 int
28728 main ()
28729 {
28730  _expf(0);
28731   ;
28732   return 0;
28733 }
28734 _ACEOF
28735 if ac_fn_cxx_try_compile "$LINENO"; then :
28736   glibcxx_cv_func__expf_use=yes
28737 else
28738   glibcxx_cv_func__expf_use=no
28739 fi
28740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28741       ac_ext=c
28742 ac_cpp='$CPP $CPPFLAGS'
28743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28746
28747
28748 fi
28749
28750   fi
28751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28752 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28753
28754     if test x$glibcxx_cv_func__expf_use = x"yes"; then
28755       for ac_func in _expf
28756 do :
28757   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28758 if test "x$ac_cv_func__expf" = x""yes; then :
28759   cat >>confdefs.h <<_ACEOF
28760 #define HAVE__EXPF 1
28761 _ACEOF
28762
28763 fi
28764 done
28765
28766     fi
28767   fi
28768
28769
28770
28771
28772
28773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28774 $as_echo_n "checking for isnanf declaration... " >&6; }
28775   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28776     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28777   $as_echo_n "(cached) " >&6
28778 else
28779
28780
28781       ac_ext=cpp
28782 ac_cpp='$CXXCPP $CPPFLAGS'
28783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28786
28787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28788 /* end confdefs.h.  */
28789 #include <math.h>
28790                       #ifdef HAVE_IEEEFP_H
28791                       #include <ieeefp.h>
28792                       #endif
28793
28794 int
28795 main ()
28796 {
28797  isnanf(0);
28798   ;
28799   return 0;
28800 }
28801 _ACEOF
28802 if ac_fn_cxx_try_compile "$LINENO"; then :
28803   glibcxx_cv_func_isnanf_use=yes
28804 else
28805   glibcxx_cv_func_isnanf_use=no
28806 fi
28807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28808       ac_ext=c
28809 ac_cpp='$CPP $CPPFLAGS'
28810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28813
28814
28815 fi
28816
28817   fi
28818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28819 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28820
28821   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28822     for ac_func in isnanf
28823 do :
28824   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28825 if test "x$ac_cv_func_isnanf" = x""yes; then :
28826   cat >>confdefs.h <<_ACEOF
28827 #define HAVE_ISNANF 1
28828 _ACEOF
28829
28830 fi
28831 done
28832
28833   else
28834
28835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28836 $as_echo_n "checking for _isnanf declaration... " >&6; }
28837   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28838     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28839   $as_echo_n "(cached) " >&6
28840 else
28841
28842
28843       ac_ext=cpp
28844 ac_cpp='$CXXCPP $CPPFLAGS'
28845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28848
28849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28850 /* end confdefs.h.  */
28851 #include <math.h>
28852                       #ifdef HAVE_IEEEFP_H
28853                       #include <ieeefp.h>
28854                       #endif
28855
28856 int
28857 main ()
28858 {
28859  _isnanf(0);
28860   ;
28861   return 0;
28862 }
28863 _ACEOF
28864 if ac_fn_cxx_try_compile "$LINENO"; then :
28865   glibcxx_cv_func__isnanf_use=yes
28866 else
28867   glibcxx_cv_func__isnanf_use=no
28868 fi
28869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28870       ac_ext=c
28871 ac_cpp='$CPP $CPPFLAGS'
28872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28875
28876
28877 fi
28878
28879   fi
28880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28881 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28882
28883     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28884       for ac_func in _isnanf
28885 do :
28886   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28887 if test "x$ac_cv_func__isnanf" = x""yes; then :
28888   cat >>confdefs.h <<_ACEOF
28889 #define HAVE__ISNANF 1
28890 _ACEOF
28891
28892 fi
28893 done
28894
28895     fi
28896   fi
28897
28898
28899
28900
28901
28902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28903 $as_echo_n "checking for isinff declaration... " >&6; }
28904   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28905     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28906   $as_echo_n "(cached) " >&6
28907 else
28908
28909
28910       ac_ext=cpp
28911 ac_cpp='$CXXCPP $CPPFLAGS'
28912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28915
28916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28917 /* end confdefs.h.  */
28918 #include <math.h>
28919                       #ifdef HAVE_IEEEFP_H
28920                       #include <ieeefp.h>
28921                       #endif
28922
28923 int
28924 main ()
28925 {
28926  isinff(0);
28927   ;
28928   return 0;
28929 }
28930 _ACEOF
28931 if ac_fn_cxx_try_compile "$LINENO"; then :
28932   glibcxx_cv_func_isinff_use=yes
28933 else
28934   glibcxx_cv_func_isinff_use=no
28935 fi
28936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28937       ac_ext=c
28938 ac_cpp='$CPP $CPPFLAGS'
28939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28942
28943
28944 fi
28945
28946   fi
28947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28948 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28949
28950   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28951     for ac_func in isinff
28952 do :
28953   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28954 if test "x$ac_cv_func_isinff" = x""yes; then :
28955   cat >>confdefs.h <<_ACEOF
28956 #define HAVE_ISINFF 1
28957 _ACEOF
28958
28959 fi
28960 done
28961
28962   else
28963
28964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28965 $as_echo_n "checking for _isinff declaration... " >&6; }
28966   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28967     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28968   $as_echo_n "(cached) " >&6
28969 else
28970
28971
28972       ac_ext=cpp
28973 ac_cpp='$CXXCPP $CPPFLAGS'
28974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28977
28978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28979 /* end confdefs.h.  */
28980 #include <math.h>
28981                       #ifdef HAVE_IEEEFP_H
28982                       #include <ieeefp.h>
28983                       #endif
28984
28985 int
28986 main ()
28987 {
28988  _isinff(0);
28989   ;
28990   return 0;
28991 }
28992 _ACEOF
28993 if ac_fn_cxx_try_compile "$LINENO"; then :
28994   glibcxx_cv_func__isinff_use=yes
28995 else
28996   glibcxx_cv_func__isinff_use=no
28997 fi
28998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28999       ac_ext=c
29000 ac_cpp='$CPP $CPPFLAGS'
29001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29004
29005
29006 fi
29007
29008   fi
29009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29010 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29011
29012     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29013       for ac_func in _isinff
29014 do :
29015   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29016 if test "x$ac_cv_func__isinff" = x""yes; then :
29017   cat >>confdefs.h <<_ACEOF
29018 #define HAVE__ISINFF 1
29019 _ACEOF
29020
29021 fi
29022 done
29023
29024     fi
29025   fi
29026
29027
29028
29029
29030
29031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29032 $as_echo_n "checking for atan2f declaration... " >&6; }
29033   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29034     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29035   $as_echo_n "(cached) " >&6
29036 else
29037
29038
29039       ac_ext=cpp
29040 ac_cpp='$CXXCPP $CPPFLAGS'
29041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29044
29045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29046 /* end confdefs.h.  */
29047 #include <math.h>
29048 int
29049 main ()
29050 {
29051  atan2f(0, 0);
29052   ;
29053   return 0;
29054 }
29055 _ACEOF
29056 if ac_fn_cxx_try_compile "$LINENO"; then :
29057   glibcxx_cv_func_atan2f_use=yes
29058 else
29059   glibcxx_cv_func_atan2f_use=no
29060 fi
29061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29062       ac_ext=c
29063 ac_cpp='$CPP $CPPFLAGS'
29064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29067
29068
29069 fi
29070
29071   fi
29072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29073 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29074
29075   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29076     for ac_func in atan2f
29077 do :
29078   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29079 if test "x$ac_cv_func_atan2f" = x""yes; then :
29080   cat >>confdefs.h <<_ACEOF
29081 #define HAVE_ATAN2F 1
29082 _ACEOF
29083
29084 fi
29085 done
29086
29087   else
29088
29089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29090 $as_echo_n "checking for _atan2f declaration... " >&6; }
29091   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29092     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29093   $as_echo_n "(cached) " >&6
29094 else
29095
29096
29097       ac_ext=cpp
29098 ac_cpp='$CXXCPP $CPPFLAGS'
29099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29102
29103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29104 /* end confdefs.h.  */
29105 #include <math.h>
29106 int
29107 main ()
29108 {
29109  _atan2f(0, 0);
29110   ;
29111   return 0;
29112 }
29113 _ACEOF
29114 if ac_fn_cxx_try_compile "$LINENO"; then :
29115   glibcxx_cv_func__atan2f_use=yes
29116 else
29117   glibcxx_cv_func__atan2f_use=no
29118 fi
29119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29120       ac_ext=c
29121 ac_cpp='$CPP $CPPFLAGS'
29122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29125
29126
29127 fi
29128
29129   fi
29130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29131 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29132
29133     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29134       for ac_func in _atan2f
29135 do :
29136   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29137 if test "x$ac_cv_func__atan2f" = x""yes; then :
29138   cat >>confdefs.h <<_ACEOF
29139 #define HAVE__ATAN2F 1
29140 _ACEOF
29141
29142 fi
29143 done
29144
29145     fi
29146   fi
29147
29148
29149
29150
29151
29152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29153 $as_echo_n "checking for fabsf declaration... " >&6; }
29154   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29155     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29156   $as_echo_n "(cached) " >&6
29157 else
29158
29159
29160       ac_ext=cpp
29161 ac_cpp='$CXXCPP $CPPFLAGS'
29162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29165
29166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29167 /* end confdefs.h.  */
29168 #include <math.h>
29169                       #ifdef HAVE_IEEEFP_H
29170                       #include <ieeefp.h>
29171                       #endif
29172
29173 int
29174 main ()
29175 {
29176  fabsf(0);
29177   ;
29178   return 0;
29179 }
29180 _ACEOF
29181 if ac_fn_cxx_try_compile "$LINENO"; then :
29182   glibcxx_cv_func_fabsf_use=yes
29183 else
29184   glibcxx_cv_func_fabsf_use=no
29185 fi
29186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29187       ac_ext=c
29188 ac_cpp='$CPP $CPPFLAGS'
29189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29192
29193
29194 fi
29195
29196   fi
29197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29198 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29199
29200   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29201     for ac_func in fabsf
29202 do :
29203   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29204 if test "x$ac_cv_func_fabsf" = x""yes; then :
29205   cat >>confdefs.h <<_ACEOF
29206 #define HAVE_FABSF 1
29207 _ACEOF
29208
29209 fi
29210 done
29211
29212   else
29213
29214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29215 $as_echo_n "checking for _fabsf declaration... " >&6; }
29216   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29217     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29218   $as_echo_n "(cached) " >&6
29219 else
29220
29221
29222       ac_ext=cpp
29223 ac_cpp='$CXXCPP $CPPFLAGS'
29224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29227
29228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29229 /* end confdefs.h.  */
29230 #include <math.h>
29231                       #ifdef HAVE_IEEEFP_H
29232                       #include <ieeefp.h>
29233                       #endif
29234
29235 int
29236 main ()
29237 {
29238  _fabsf(0);
29239   ;
29240   return 0;
29241 }
29242 _ACEOF
29243 if ac_fn_cxx_try_compile "$LINENO"; then :
29244   glibcxx_cv_func__fabsf_use=yes
29245 else
29246   glibcxx_cv_func__fabsf_use=no
29247 fi
29248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29249       ac_ext=c
29250 ac_cpp='$CPP $CPPFLAGS'
29251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29254
29255
29256 fi
29257
29258   fi
29259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29260 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29261
29262     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29263       for ac_func in _fabsf
29264 do :
29265   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29266 if test "x$ac_cv_func__fabsf" = x""yes; then :
29267   cat >>confdefs.h <<_ACEOF
29268 #define HAVE__FABSF 1
29269 _ACEOF
29270
29271 fi
29272 done
29273
29274     fi
29275   fi
29276
29277
29278
29279
29280
29281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29282 $as_echo_n "checking for fmodf declaration... " >&6; }
29283   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29284     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29285   $as_echo_n "(cached) " >&6
29286 else
29287
29288
29289       ac_ext=cpp
29290 ac_cpp='$CXXCPP $CPPFLAGS'
29291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29294
29295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29296 /* end confdefs.h.  */
29297 #include <math.h>
29298 int
29299 main ()
29300 {
29301  fmodf(0, 0);
29302   ;
29303   return 0;
29304 }
29305 _ACEOF
29306 if ac_fn_cxx_try_compile "$LINENO"; then :
29307   glibcxx_cv_func_fmodf_use=yes
29308 else
29309   glibcxx_cv_func_fmodf_use=no
29310 fi
29311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29312       ac_ext=c
29313 ac_cpp='$CPP $CPPFLAGS'
29314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29317
29318
29319 fi
29320
29321   fi
29322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29323 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29324
29325   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29326     for ac_func in fmodf
29327 do :
29328   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29329 if test "x$ac_cv_func_fmodf" = x""yes; then :
29330   cat >>confdefs.h <<_ACEOF
29331 #define HAVE_FMODF 1
29332 _ACEOF
29333
29334 fi
29335 done
29336
29337   else
29338
29339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29340 $as_echo_n "checking for _fmodf declaration... " >&6; }
29341   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29342     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29343   $as_echo_n "(cached) " >&6
29344 else
29345
29346
29347       ac_ext=cpp
29348 ac_cpp='$CXXCPP $CPPFLAGS'
29349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29352
29353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29354 /* end confdefs.h.  */
29355 #include <math.h>
29356 int
29357 main ()
29358 {
29359  _fmodf(0, 0);
29360   ;
29361   return 0;
29362 }
29363 _ACEOF
29364 if ac_fn_cxx_try_compile "$LINENO"; then :
29365   glibcxx_cv_func__fmodf_use=yes
29366 else
29367   glibcxx_cv_func__fmodf_use=no
29368 fi
29369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29370       ac_ext=c
29371 ac_cpp='$CPP $CPPFLAGS'
29372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29375
29376
29377 fi
29378
29379   fi
29380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29381 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29382
29383     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29384       for ac_func in _fmodf
29385 do :
29386   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29387 if test "x$ac_cv_func__fmodf" = x""yes; then :
29388   cat >>confdefs.h <<_ACEOF
29389 #define HAVE__FMODF 1
29390 _ACEOF
29391
29392 fi
29393 done
29394
29395     fi
29396   fi
29397
29398
29399
29400
29401
29402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29403 $as_echo_n "checking for frexpf declaration... " >&6; }
29404   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29405     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29406   $as_echo_n "(cached) " >&6
29407 else
29408
29409
29410       ac_ext=cpp
29411 ac_cpp='$CXXCPP $CPPFLAGS'
29412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29415
29416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29417 /* end confdefs.h.  */
29418 #include <math.h>
29419 int
29420 main ()
29421 {
29422  frexpf(0, 0);
29423   ;
29424   return 0;
29425 }
29426 _ACEOF
29427 if ac_fn_cxx_try_compile "$LINENO"; then :
29428   glibcxx_cv_func_frexpf_use=yes
29429 else
29430   glibcxx_cv_func_frexpf_use=no
29431 fi
29432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433       ac_ext=c
29434 ac_cpp='$CPP $CPPFLAGS'
29435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29438
29439
29440 fi
29441
29442   fi
29443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29444 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29445
29446   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29447     for ac_func in frexpf
29448 do :
29449   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29450 if test "x$ac_cv_func_frexpf" = x""yes; then :
29451   cat >>confdefs.h <<_ACEOF
29452 #define HAVE_FREXPF 1
29453 _ACEOF
29454
29455 fi
29456 done
29457
29458   else
29459
29460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29461 $as_echo_n "checking for _frexpf declaration... " >&6; }
29462   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29463     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29464   $as_echo_n "(cached) " >&6
29465 else
29466
29467
29468       ac_ext=cpp
29469 ac_cpp='$CXXCPP $CPPFLAGS'
29470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29473
29474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29475 /* end confdefs.h.  */
29476 #include <math.h>
29477 int
29478 main ()
29479 {
29480  _frexpf(0, 0);
29481   ;
29482   return 0;
29483 }
29484 _ACEOF
29485 if ac_fn_cxx_try_compile "$LINENO"; then :
29486   glibcxx_cv_func__frexpf_use=yes
29487 else
29488   glibcxx_cv_func__frexpf_use=no
29489 fi
29490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29491       ac_ext=c
29492 ac_cpp='$CPP $CPPFLAGS'
29493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29496
29497
29498 fi
29499
29500   fi
29501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29502 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29503
29504     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29505       for ac_func in _frexpf
29506 do :
29507   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29508 if test "x$ac_cv_func__frexpf" = x""yes; then :
29509   cat >>confdefs.h <<_ACEOF
29510 #define HAVE__FREXPF 1
29511 _ACEOF
29512
29513 fi
29514 done
29515
29516     fi
29517   fi
29518
29519
29520
29521
29522
29523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29524 $as_echo_n "checking for hypotf declaration... " >&6; }
29525   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29526     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29527   $as_echo_n "(cached) " >&6
29528 else
29529
29530
29531       ac_ext=cpp
29532 ac_cpp='$CXXCPP $CPPFLAGS'
29533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29536
29537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29538 /* end confdefs.h.  */
29539 #include <math.h>
29540 int
29541 main ()
29542 {
29543  hypotf(0, 0);
29544   ;
29545   return 0;
29546 }
29547 _ACEOF
29548 if ac_fn_cxx_try_compile "$LINENO"; then :
29549   glibcxx_cv_func_hypotf_use=yes
29550 else
29551   glibcxx_cv_func_hypotf_use=no
29552 fi
29553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29554       ac_ext=c
29555 ac_cpp='$CPP $CPPFLAGS'
29556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29559
29560
29561 fi
29562
29563   fi
29564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29565 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29566
29567   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29568     for ac_func in hypotf
29569 do :
29570   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29571 if test "x$ac_cv_func_hypotf" = x""yes; then :
29572   cat >>confdefs.h <<_ACEOF
29573 #define HAVE_HYPOTF 1
29574 _ACEOF
29575
29576 fi
29577 done
29578
29579   else
29580
29581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29582 $as_echo_n "checking for _hypotf declaration... " >&6; }
29583   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29584     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29585   $as_echo_n "(cached) " >&6
29586 else
29587
29588
29589       ac_ext=cpp
29590 ac_cpp='$CXXCPP $CPPFLAGS'
29591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29594
29595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29596 /* end confdefs.h.  */
29597 #include <math.h>
29598 int
29599 main ()
29600 {
29601  _hypotf(0, 0);
29602   ;
29603   return 0;
29604 }
29605 _ACEOF
29606 if ac_fn_cxx_try_compile "$LINENO"; then :
29607   glibcxx_cv_func__hypotf_use=yes
29608 else
29609   glibcxx_cv_func__hypotf_use=no
29610 fi
29611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29612       ac_ext=c
29613 ac_cpp='$CPP $CPPFLAGS'
29614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29617
29618
29619 fi
29620
29621   fi
29622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29623 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29624
29625     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29626       for ac_func in _hypotf
29627 do :
29628   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29629 if test "x$ac_cv_func__hypotf" = x""yes; then :
29630   cat >>confdefs.h <<_ACEOF
29631 #define HAVE__HYPOTF 1
29632 _ACEOF
29633
29634 fi
29635 done
29636
29637     fi
29638   fi
29639
29640
29641
29642
29643
29644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29645 $as_echo_n "checking for ldexpf declaration... " >&6; }
29646   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29647     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29648   $as_echo_n "(cached) " >&6
29649 else
29650
29651
29652       ac_ext=cpp
29653 ac_cpp='$CXXCPP $CPPFLAGS'
29654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29657
29658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29659 /* end confdefs.h.  */
29660 #include <math.h>
29661 int
29662 main ()
29663 {
29664  ldexpf(0, 0);
29665   ;
29666   return 0;
29667 }
29668 _ACEOF
29669 if ac_fn_cxx_try_compile "$LINENO"; then :
29670   glibcxx_cv_func_ldexpf_use=yes
29671 else
29672   glibcxx_cv_func_ldexpf_use=no
29673 fi
29674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29675       ac_ext=c
29676 ac_cpp='$CPP $CPPFLAGS'
29677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29680
29681
29682 fi
29683
29684   fi
29685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29686 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29687
29688   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29689     for ac_func in ldexpf
29690 do :
29691   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29692 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29693   cat >>confdefs.h <<_ACEOF
29694 #define HAVE_LDEXPF 1
29695 _ACEOF
29696
29697 fi
29698 done
29699
29700   else
29701
29702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29703 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29704   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29705     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29706   $as_echo_n "(cached) " >&6
29707 else
29708
29709
29710       ac_ext=cpp
29711 ac_cpp='$CXXCPP $CPPFLAGS'
29712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29715
29716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29717 /* end confdefs.h.  */
29718 #include <math.h>
29719 int
29720 main ()
29721 {
29722  _ldexpf(0, 0);
29723   ;
29724   return 0;
29725 }
29726 _ACEOF
29727 if ac_fn_cxx_try_compile "$LINENO"; then :
29728   glibcxx_cv_func__ldexpf_use=yes
29729 else
29730   glibcxx_cv_func__ldexpf_use=no
29731 fi
29732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29733       ac_ext=c
29734 ac_cpp='$CPP $CPPFLAGS'
29735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29738
29739
29740 fi
29741
29742   fi
29743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29744 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29745
29746     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29747       for ac_func in _ldexpf
29748 do :
29749   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29750 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29751   cat >>confdefs.h <<_ACEOF
29752 #define HAVE__LDEXPF 1
29753 _ACEOF
29754
29755 fi
29756 done
29757
29758     fi
29759   fi
29760
29761
29762
29763
29764
29765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29766 $as_echo_n "checking for logf declaration... " >&6; }
29767   if test x${glibcxx_cv_func_logf_use+set} != xset; then
29768     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29769   $as_echo_n "(cached) " >&6
29770 else
29771
29772
29773       ac_ext=cpp
29774 ac_cpp='$CXXCPP $CPPFLAGS'
29775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29778
29779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29780 /* end confdefs.h.  */
29781 #include <math.h>
29782                       #ifdef HAVE_IEEEFP_H
29783                       #include <ieeefp.h>
29784                       #endif
29785
29786 int
29787 main ()
29788 {
29789  logf(0);
29790   ;
29791   return 0;
29792 }
29793 _ACEOF
29794 if ac_fn_cxx_try_compile "$LINENO"; then :
29795   glibcxx_cv_func_logf_use=yes
29796 else
29797   glibcxx_cv_func_logf_use=no
29798 fi
29799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29800       ac_ext=c
29801 ac_cpp='$CPP $CPPFLAGS'
29802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29805
29806
29807 fi
29808
29809   fi
29810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29811 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29812
29813   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29814     for ac_func in logf
29815 do :
29816   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29817 if test "x$ac_cv_func_logf" = x""yes; then :
29818   cat >>confdefs.h <<_ACEOF
29819 #define HAVE_LOGF 1
29820 _ACEOF
29821
29822 fi
29823 done
29824
29825   else
29826
29827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29828 $as_echo_n "checking for _logf declaration... " >&6; }
29829   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29830     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29831   $as_echo_n "(cached) " >&6
29832 else
29833
29834
29835       ac_ext=cpp
29836 ac_cpp='$CXXCPP $CPPFLAGS'
29837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29840
29841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29842 /* end confdefs.h.  */
29843 #include <math.h>
29844                       #ifdef HAVE_IEEEFP_H
29845                       #include <ieeefp.h>
29846                       #endif
29847
29848 int
29849 main ()
29850 {
29851  _logf(0);
29852   ;
29853   return 0;
29854 }
29855 _ACEOF
29856 if ac_fn_cxx_try_compile "$LINENO"; then :
29857   glibcxx_cv_func__logf_use=yes
29858 else
29859   glibcxx_cv_func__logf_use=no
29860 fi
29861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29862       ac_ext=c
29863 ac_cpp='$CPP $CPPFLAGS'
29864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29867
29868
29869 fi
29870
29871   fi
29872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29873 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29874
29875     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29876       for ac_func in _logf
29877 do :
29878   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29879 if test "x$ac_cv_func__logf" = x""yes; then :
29880   cat >>confdefs.h <<_ACEOF
29881 #define HAVE__LOGF 1
29882 _ACEOF
29883
29884 fi
29885 done
29886
29887     fi
29888   fi
29889
29890
29891
29892
29893
29894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29895 $as_echo_n "checking for log10f declaration... " >&6; }
29896   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29897     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29898   $as_echo_n "(cached) " >&6
29899 else
29900
29901
29902       ac_ext=cpp
29903 ac_cpp='$CXXCPP $CPPFLAGS'
29904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29907
29908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29909 /* end confdefs.h.  */
29910 #include <math.h>
29911                       #ifdef HAVE_IEEEFP_H
29912                       #include <ieeefp.h>
29913                       #endif
29914
29915 int
29916 main ()
29917 {
29918  log10f(0);
29919   ;
29920   return 0;
29921 }
29922 _ACEOF
29923 if ac_fn_cxx_try_compile "$LINENO"; then :
29924   glibcxx_cv_func_log10f_use=yes
29925 else
29926   glibcxx_cv_func_log10f_use=no
29927 fi
29928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29929       ac_ext=c
29930 ac_cpp='$CPP $CPPFLAGS'
29931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29934
29935
29936 fi
29937
29938   fi
29939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29940 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29941
29942   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29943     for ac_func in log10f
29944 do :
29945   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29946 if test "x$ac_cv_func_log10f" = x""yes; then :
29947   cat >>confdefs.h <<_ACEOF
29948 #define HAVE_LOG10F 1
29949 _ACEOF
29950
29951 fi
29952 done
29953
29954   else
29955
29956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29957 $as_echo_n "checking for _log10f declaration... " >&6; }
29958   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29959     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29960   $as_echo_n "(cached) " >&6
29961 else
29962
29963
29964       ac_ext=cpp
29965 ac_cpp='$CXXCPP $CPPFLAGS'
29966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29969
29970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29971 /* end confdefs.h.  */
29972 #include <math.h>
29973                       #ifdef HAVE_IEEEFP_H
29974                       #include <ieeefp.h>
29975                       #endif
29976
29977 int
29978 main ()
29979 {
29980  _log10f(0);
29981   ;
29982   return 0;
29983 }
29984 _ACEOF
29985 if ac_fn_cxx_try_compile "$LINENO"; then :
29986   glibcxx_cv_func__log10f_use=yes
29987 else
29988   glibcxx_cv_func__log10f_use=no
29989 fi
29990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29991       ac_ext=c
29992 ac_cpp='$CPP $CPPFLAGS'
29993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29996
29997
29998 fi
29999
30000   fi
30001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30002 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30003
30004     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30005       for ac_func in _log10f
30006 do :
30007   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30008 if test "x$ac_cv_func__log10f" = x""yes; then :
30009   cat >>confdefs.h <<_ACEOF
30010 #define HAVE__LOG10F 1
30011 _ACEOF
30012
30013 fi
30014 done
30015
30016     fi
30017   fi
30018
30019
30020
30021
30022
30023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30024 $as_echo_n "checking for modff declaration... " >&6; }
30025   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30026     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30027   $as_echo_n "(cached) " >&6
30028 else
30029
30030
30031       ac_ext=cpp
30032 ac_cpp='$CXXCPP $CPPFLAGS'
30033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30036
30037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30038 /* end confdefs.h.  */
30039 #include <math.h>
30040 int
30041 main ()
30042 {
30043  modff(0, 0);
30044   ;
30045   return 0;
30046 }
30047 _ACEOF
30048 if ac_fn_cxx_try_compile "$LINENO"; then :
30049   glibcxx_cv_func_modff_use=yes
30050 else
30051   glibcxx_cv_func_modff_use=no
30052 fi
30053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30054       ac_ext=c
30055 ac_cpp='$CPP $CPPFLAGS'
30056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30059
30060
30061 fi
30062
30063   fi
30064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30065 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30066
30067   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30068     for ac_func in modff
30069 do :
30070   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30071 if test "x$ac_cv_func_modff" = x""yes; then :
30072   cat >>confdefs.h <<_ACEOF
30073 #define HAVE_MODFF 1
30074 _ACEOF
30075
30076 fi
30077 done
30078
30079   else
30080
30081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30082 $as_echo_n "checking for _modff declaration... " >&6; }
30083   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30084     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30085   $as_echo_n "(cached) " >&6
30086 else
30087
30088
30089       ac_ext=cpp
30090 ac_cpp='$CXXCPP $CPPFLAGS'
30091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30094
30095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30096 /* end confdefs.h.  */
30097 #include <math.h>
30098 int
30099 main ()
30100 {
30101  _modff(0, 0);
30102   ;
30103   return 0;
30104 }
30105 _ACEOF
30106 if ac_fn_cxx_try_compile "$LINENO"; then :
30107   glibcxx_cv_func__modff_use=yes
30108 else
30109   glibcxx_cv_func__modff_use=no
30110 fi
30111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30112       ac_ext=c
30113 ac_cpp='$CPP $CPPFLAGS'
30114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30117
30118
30119 fi
30120
30121   fi
30122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30123 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30124
30125     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30126       for ac_func in _modff
30127 do :
30128   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30129 if test "x$ac_cv_func__modff" = x""yes; then :
30130   cat >>confdefs.h <<_ACEOF
30131 #define HAVE__MODFF 1
30132 _ACEOF
30133
30134 fi
30135 done
30136
30137     fi
30138   fi
30139
30140
30141
30142
30143
30144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30145 $as_echo_n "checking for modf declaration... " >&6; }
30146   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30147     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30148   $as_echo_n "(cached) " >&6
30149 else
30150
30151
30152       ac_ext=cpp
30153 ac_cpp='$CXXCPP $CPPFLAGS'
30154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30157
30158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h.  */
30160 #include <math.h>
30161 int
30162 main ()
30163 {
30164  modf(0, 0);
30165   ;
30166   return 0;
30167 }
30168 _ACEOF
30169 if ac_fn_cxx_try_compile "$LINENO"; then :
30170   glibcxx_cv_func_modf_use=yes
30171 else
30172   glibcxx_cv_func_modf_use=no
30173 fi
30174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30175       ac_ext=c
30176 ac_cpp='$CPP $CPPFLAGS'
30177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30180
30181
30182 fi
30183
30184   fi
30185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30186 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30187
30188   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30189     for ac_func in modf
30190 do :
30191   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30192 if test "x$ac_cv_func_modf" = x""yes; then :
30193   cat >>confdefs.h <<_ACEOF
30194 #define HAVE_MODF 1
30195 _ACEOF
30196
30197 fi
30198 done
30199
30200   else
30201
30202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30203 $as_echo_n "checking for _modf declaration... " >&6; }
30204   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30205     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30206   $as_echo_n "(cached) " >&6
30207 else
30208
30209
30210       ac_ext=cpp
30211 ac_cpp='$CXXCPP $CPPFLAGS'
30212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30215
30216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30217 /* end confdefs.h.  */
30218 #include <math.h>
30219 int
30220 main ()
30221 {
30222  _modf(0, 0);
30223   ;
30224   return 0;
30225 }
30226 _ACEOF
30227 if ac_fn_cxx_try_compile "$LINENO"; then :
30228   glibcxx_cv_func__modf_use=yes
30229 else
30230   glibcxx_cv_func__modf_use=no
30231 fi
30232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30233       ac_ext=c
30234 ac_cpp='$CPP $CPPFLAGS'
30235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30238
30239
30240 fi
30241
30242   fi
30243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30244 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30245
30246     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30247       for ac_func in _modf
30248 do :
30249   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30250 if test "x$ac_cv_func__modf" = x""yes; then :
30251   cat >>confdefs.h <<_ACEOF
30252 #define HAVE__MODF 1
30253 _ACEOF
30254
30255 fi
30256 done
30257
30258     fi
30259   fi
30260
30261
30262
30263
30264
30265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30266 $as_echo_n "checking for powf declaration... " >&6; }
30267   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30268     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30269   $as_echo_n "(cached) " >&6
30270 else
30271
30272
30273       ac_ext=cpp
30274 ac_cpp='$CXXCPP $CPPFLAGS'
30275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30278
30279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30280 /* end confdefs.h.  */
30281 #include <math.h>
30282 int
30283 main ()
30284 {
30285  powf(0, 0);
30286   ;
30287   return 0;
30288 }
30289 _ACEOF
30290 if ac_fn_cxx_try_compile "$LINENO"; then :
30291   glibcxx_cv_func_powf_use=yes
30292 else
30293   glibcxx_cv_func_powf_use=no
30294 fi
30295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30296       ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30301
30302
30303 fi
30304
30305   fi
30306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30307 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30308
30309   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30310     for ac_func in powf
30311 do :
30312   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30313 if test "x$ac_cv_func_powf" = x""yes; then :
30314   cat >>confdefs.h <<_ACEOF
30315 #define HAVE_POWF 1
30316 _ACEOF
30317
30318 fi
30319 done
30320
30321   else
30322
30323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30324 $as_echo_n "checking for _powf declaration... " >&6; }
30325   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30326     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30327   $as_echo_n "(cached) " >&6
30328 else
30329
30330
30331       ac_ext=cpp
30332 ac_cpp='$CXXCPP $CPPFLAGS'
30333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30336
30337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30338 /* end confdefs.h.  */
30339 #include <math.h>
30340 int
30341 main ()
30342 {
30343  _powf(0, 0);
30344   ;
30345   return 0;
30346 }
30347 _ACEOF
30348 if ac_fn_cxx_try_compile "$LINENO"; then :
30349   glibcxx_cv_func__powf_use=yes
30350 else
30351   glibcxx_cv_func__powf_use=no
30352 fi
30353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30354       ac_ext=c
30355 ac_cpp='$CPP $CPPFLAGS'
30356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30359
30360
30361 fi
30362
30363   fi
30364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30365 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30366
30367     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30368       for ac_func in _powf
30369 do :
30370   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30371 if test "x$ac_cv_func__powf" = x""yes; then :
30372   cat >>confdefs.h <<_ACEOF
30373 #define HAVE__POWF 1
30374 _ACEOF
30375
30376 fi
30377 done
30378
30379     fi
30380   fi
30381
30382
30383
30384
30385
30386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30387 $as_echo_n "checking for sqrtf declaration... " >&6; }
30388   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30389     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30390   $as_echo_n "(cached) " >&6
30391 else
30392
30393
30394       ac_ext=cpp
30395 ac_cpp='$CXXCPP $CPPFLAGS'
30396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30399
30400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30401 /* end confdefs.h.  */
30402 #include <math.h>
30403                       #ifdef HAVE_IEEEFP_H
30404                       #include <ieeefp.h>
30405                       #endif
30406
30407 int
30408 main ()
30409 {
30410  sqrtf(0);
30411   ;
30412   return 0;
30413 }
30414 _ACEOF
30415 if ac_fn_cxx_try_compile "$LINENO"; then :
30416   glibcxx_cv_func_sqrtf_use=yes
30417 else
30418   glibcxx_cv_func_sqrtf_use=no
30419 fi
30420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30421       ac_ext=c
30422 ac_cpp='$CPP $CPPFLAGS'
30423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30426
30427
30428 fi
30429
30430   fi
30431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30432 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30433
30434   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30435     for ac_func in sqrtf
30436 do :
30437   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30438 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30439   cat >>confdefs.h <<_ACEOF
30440 #define HAVE_SQRTF 1
30441 _ACEOF
30442
30443 fi
30444 done
30445
30446   else
30447
30448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30449 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30450   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30451     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30452   $as_echo_n "(cached) " >&6
30453 else
30454
30455
30456       ac_ext=cpp
30457 ac_cpp='$CXXCPP $CPPFLAGS'
30458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30461
30462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30463 /* end confdefs.h.  */
30464 #include <math.h>
30465                       #ifdef HAVE_IEEEFP_H
30466                       #include <ieeefp.h>
30467                       #endif
30468
30469 int
30470 main ()
30471 {
30472  _sqrtf(0);
30473   ;
30474   return 0;
30475 }
30476 _ACEOF
30477 if ac_fn_cxx_try_compile "$LINENO"; then :
30478   glibcxx_cv_func__sqrtf_use=yes
30479 else
30480   glibcxx_cv_func__sqrtf_use=no
30481 fi
30482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30483       ac_ext=c
30484 ac_cpp='$CPP $CPPFLAGS'
30485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30488
30489
30490 fi
30491
30492   fi
30493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30494 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30495
30496     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30497       for ac_func in _sqrtf
30498 do :
30499   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30500 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30501   cat >>confdefs.h <<_ACEOF
30502 #define HAVE__SQRTF 1
30503 _ACEOF
30504
30505 fi
30506 done
30507
30508     fi
30509   fi
30510
30511
30512
30513
30514
30515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30516 $as_echo_n "checking for sincosf declaration... " >&6; }
30517   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30518     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30519   $as_echo_n "(cached) " >&6
30520 else
30521
30522
30523       ac_ext=cpp
30524 ac_cpp='$CXXCPP $CPPFLAGS'
30525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30528
30529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30530 /* end confdefs.h.  */
30531 #include <math.h>
30532 int
30533 main ()
30534 {
30535  sincosf(0, 0, 0);
30536   ;
30537   return 0;
30538 }
30539 _ACEOF
30540 if ac_fn_cxx_try_compile "$LINENO"; then :
30541   glibcxx_cv_func_sincosf_use=yes
30542 else
30543   glibcxx_cv_func_sincosf_use=no
30544 fi
30545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30546       ac_ext=c
30547 ac_cpp='$CPP $CPPFLAGS'
30548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30551
30552
30553 fi
30554
30555   fi
30556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30557 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30558
30559   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30560     for ac_func in sincosf
30561 do :
30562   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30563 if test "x$ac_cv_func_sincosf" = x""yes; then :
30564   cat >>confdefs.h <<_ACEOF
30565 #define HAVE_SINCOSF 1
30566 _ACEOF
30567
30568 fi
30569 done
30570
30571   else
30572
30573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30574 $as_echo_n "checking for _sincosf declaration... " >&6; }
30575   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30576     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30577   $as_echo_n "(cached) " >&6
30578 else
30579
30580
30581       ac_ext=cpp
30582 ac_cpp='$CXXCPP $CPPFLAGS'
30583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30586
30587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30588 /* end confdefs.h.  */
30589 #include <math.h>
30590 int
30591 main ()
30592 {
30593  _sincosf(0, 0, 0);
30594   ;
30595   return 0;
30596 }
30597 _ACEOF
30598 if ac_fn_cxx_try_compile "$LINENO"; then :
30599   glibcxx_cv_func__sincosf_use=yes
30600 else
30601   glibcxx_cv_func__sincosf_use=no
30602 fi
30603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30604       ac_ext=c
30605 ac_cpp='$CPP $CPPFLAGS'
30606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30609
30610
30611 fi
30612
30613   fi
30614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30615 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30616
30617     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30618       for ac_func in _sincosf
30619 do :
30620   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30621 if test "x$ac_cv_func__sincosf" = x""yes; then :
30622   cat >>confdefs.h <<_ACEOF
30623 #define HAVE__SINCOSF 1
30624 _ACEOF
30625
30626 fi
30627 done
30628
30629     fi
30630   fi
30631
30632
30633
30634
30635
30636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30637 $as_echo_n "checking for finitef declaration... " >&6; }
30638   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30639     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30640   $as_echo_n "(cached) " >&6
30641 else
30642
30643
30644       ac_ext=cpp
30645 ac_cpp='$CXXCPP $CPPFLAGS'
30646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30649
30650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30651 /* end confdefs.h.  */
30652 #include <math.h>
30653                       #ifdef HAVE_IEEEFP_H
30654                       #include <ieeefp.h>
30655                       #endif
30656
30657 int
30658 main ()
30659 {
30660  finitef(0);
30661   ;
30662   return 0;
30663 }
30664 _ACEOF
30665 if ac_fn_cxx_try_compile "$LINENO"; then :
30666   glibcxx_cv_func_finitef_use=yes
30667 else
30668   glibcxx_cv_func_finitef_use=no
30669 fi
30670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30671       ac_ext=c
30672 ac_cpp='$CPP $CPPFLAGS'
30673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30676
30677
30678 fi
30679
30680   fi
30681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30682 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30683
30684   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30685     for ac_func in finitef
30686 do :
30687   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30688 if test "x$ac_cv_func_finitef" = x""yes; then :
30689   cat >>confdefs.h <<_ACEOF
30690 #define HAVE_FINITEF 1
30691 _ACEOF
30692
30693 fi
30694 done
30695
30696   else
30697
30698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30699 $as_echo_n "checking for _finitef declaration... " >&6; }
30700   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30701     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30702   $as_echo_n "(cached) " >&6
30703 else
30704
30705
30706       ac_ext=cpp
30707 ac_cpp='$CXXCPP $CPPFLAGS'
30708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30711
30712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30713 /* end confdefs.h.  */
30714 #include <math.h>
30715                       #ifdef HAVE_IEEEFP_H
30716                       #include <ieeefp.h>
30717                       #endif
30718
30719 int
30720 main ()
30721 {
30722  _finitef(0);
30723   ;
30724   return 0;
30725 }
30726 _ACEOF
30727 if ac_fn_cxx_try_compile "$LINENO"; then :
30728   glibcxx_cv_func__finitef_use=yes
30729 else
30730   glibcxx_cv_func__finitef_use=no
30731 fi
30732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30733       ac_ext=c
30734 ac_cpp='$CPP $CPPFLAGS'
30735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30738
30739
30740 fi
30741
30742   fi
30743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30744 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30745
30746     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30747       for ac_func in _finitef
30748 do :
30749   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30750 if test "x$ac_cv_func__finitef" = x""yes; then :
30751   cat >>confdefs.h <<_ACEOF
30752 #define HAVE__FINITEF 1
30753 _ACEOF
30754
30755 fi
30756 done
30757
30758     fi
30759   fi
30760
30761
30762
30763
30764
30765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30766 $as_echo_n "checking for long double trig functions... " >&6; }
30767   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30768   $as_echo_n "(cached) " >&6
30769 else
30770
30771
30772     ac_ext=cpp
30773 ac_cpp='$CXXCPP $CPPFLAGS'
30774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30777
30778     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30779 /* end confdefs.h.  */
30780 #include <math.h>
30781 int
30782 main ()
30783 {
30784 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30785   ;
30786   return 0;
30787 }
30788 _ACEOF
30789 if ac_fn_cxx_try_compile "$LINENO"; then :
30790   glibcxx_cv_func_long_double_trig_use=yes
30791 else
30792   glibcxx_cv_func_long_double_trig_use=no
30793 fi
30794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30795     ac_ext=c
30796 ac_cpp='$CPP $CPPFLAGS'
30797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30800
30801 fi
30802
30803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30804 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30805   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30806     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30807 do :
30808   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30810 eval as_val=\$$as_ac_var
30811    if test "x$as_val" = x""yes; then :
30812   cat >>confdefs.h <<_ACEOF
30813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30814 _ACEOF
30815
30816 fi
30817 done
30818
30819   else
30820     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30821 $as_echo_n "checking for _long double trig functions... " >&6; }
30822     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30823   $as_echo_n "(cached) " >&6
30824 else
30825
30826
30827       ac_ext=cpp
30828 ac_cpp='$CXXCPP $CPPFLAGS'
30829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30832
30833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30834 /* end confdefs.h.  */
30835 #include <math.h>
30836 int
30837 main ()
30838 {
30839 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30840   ;
30841   return 0;
30842 }
30843 _ACEOF
30844 if ac_fn_cxx_try_compile "$LINENO"; then :
30845   glibcxx_cv_func__long_double_trig_use=yes
30846 else
30847   glibcxx_cv_func__long_double_trig_use=no
30848 fi
30849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30850       ac_ext=c
30851 ac_cpp='$CPP $CPPFLAGS'
30852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30855
30856 fi
30857
30858     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30859 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30860     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30861       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30862 do :
30863   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30864 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30865 eval as_val=\$$as_ac_var
30866    if test "x$as_val" = x""yes; then :
30867   cat >>confdefs.h <<_ACEOF
30868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30869 _ACEOF
30870
30871 fi
30872 done
30873
30874     fi
30875   fi
30876
30877
30878
30879
30880
30881     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30882 $as_echo_n "checking for long double round functions... " >&6; }
30883   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30884   $as_echo_n "(cached) " >&6
30885 else
30886
30887
30888     ac_ext=cpp
30889 ac_cpp='$CXXCPP $CPPFLAGS'
30890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30893
30894     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30895 /* end confdefs.h.  */
30896 #include <math.h>
30897 int
30898 main ()
30899 {
30900 ceill (0); floorl (0);
30901   ;
30902   return 0;
30903 }
30904 _ACEOF
30905 if ac_fn_cxx_try_compile "$LINENO"; then :
30906   glibcxx_cv_func_long_double_round_use=yes
30907 else
30908   glibcxx_cv_func_long_double_round_use=no
30909 fi
30910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30911     ac_ext=c
30912 ac_cpp='$CPP $CPPFLAGS'
30913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30916
30917 fi
30918
30919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30920 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30921   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30922     for ac_func in ceill floorl
30923 do :
30924   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30926 eval as_val=\$$as_ac_var
30927    if test "x$as_val" = x""yes; then :
30928   cat >>confdefs.h <<_ACEOF
30929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30930 _ACEOF
30931
30932 fi
30933 done
30934
30935   else
30936     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30937 $as_echo_n "checking for _long double round functions... " >&6; }
30938     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30939   $as_echo_n "(cached) " >&6
30940 else
30941
30942
30943       ac_ext=cpp
30944 ac_cpp='$CXXCPP $CPPFLAGS'
30945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30948
30949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30950 /* end confdefs.h.  */
30951 #include <math.h>
30952 int
30953 main ()
30954 {
30955 _ceill (0); _floorl (0);
30956   ;
30957   return 0;
30958 }
30959 _ACEOF
30960 if ac_fn_cxx_try_compile "$LINENO"; then :
30961   glibcxx_cv_func__long_double_round_use=yes
30962 else
30963   glibcxx_cv_func__long_double_round_use=no
30964 fi
30965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30966       ac_ext=c
30967 ac_cpp='$CPP $CPPFLAGS'
30968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30971
30972 fi
30973
30974     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30975 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30976     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30977       for ac_func in _ceill _floorl
30978 do :
30979   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30981 eval as_val=\$$as_ac_var
30982    if test "x$as_val" = x""yes; then :
30983   cat >>confdefs.h <<_ACEOF
30984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30985 _ACEOF
30986
30987 fi
30988 done
30989
30990     fi
30991   fi
30992
30993
30994
30995
30996
30997
30998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30999 $as_echo_n "checking for isnanl declaration... " >&6; }
31000   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31001     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31002   $as_echo_n "(cached) " >&6
31003 else
31004
31005
31006       ac_ext=cpp
31007 ac_cpp='$CXXCPP $CPPFLAGS'
31008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31011
31012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31013 /* end confdefs.h.  */
31014 #include <math.h>
31015                       #ifdef HAVE_IEEEFP_H
31016                       #include <ieeefp.h>
31017                       #endif
31018
31019 int
31020 main ()
31021 {
31022  isnanl(0);
31023   ;
31024   return 0;
31025 }
31026 _ACEOF
31027 if ac_fn_cxx_try_compile "$LINENO"; then :
31028   glibcxx_cv_func_isnanl_use=yes
31029 else
31030   glibcxx_cv_func_isnanl_use=no
31031 fi
31032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31033       ac_ext=c
31034 ac_cpp='$CPP $CPPFLAGS'
31035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31038
31039
31040 fi
31041
31042   fi
31043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31044 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31045
31046   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31047     for ac_func in isnanl
31048 do :
31049   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31050 if test "x$ac_cv_func_isnanl" = x""yes; then :
31051   cat >>confdefs.h <<_ACEOF
31052 #define HAVE_ISNANL 1
31053 _ACEOF
31054
31055 fi
31056 done
31057
31058   else
31059
31060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31061 $as_echo_n "checking for _isnanl declaration... " >&6; }
31062   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31063     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31064   $as_echo_n "(cached) " >&6
31065 else
31066
31067
31068       ac_ext=cpp
31069 ac_cpp='$CXXCPP $CPPFLAGS'
31070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31073
31074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31075 /* end confdefs.h.  */
31076 #include <math.h>
31077                       #ifdef HAVE_IEEEFP_H
31078                       #include <ieeefp.h>
31079                       #endif
31080
31081 int
31082 main ()
31083 {
31084  _isnanl(0);
31085   ;
31086   return 0;
31087 }
31088 _ACEOF
31089 if ac_fn_cxx_try_compile "$LINENO"; then :
31090   glibcxx_cv_func__isnanl_use=yes
31091 else
31092   glibcxx_cv_func__isnanl_use=no
31093 fi
31094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31095       ac_ext=c
31096 ac_cpp='$CPP $CPPFLAGS'
31097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31100
31101
31102 fi
31103
31104   fi
31105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31106 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31107
31108     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31109       for ac_func in _isnanl
31110 do :
31111   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31112 if test "x$ac_cv_func__isnanl" = x""yes; then :
31113   cat >>confdefs.h <<_ACEOF
31114 #define HAVE__ISNANL 1
31115 _ACEOF
31116
31117 fi
31118 done
31119
31120     fi
31121   fi
31122
31123
31124
31125
31126
31127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31128 $as_echo_n "checking for isinfl declaration... " >&6; }
31129   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31130     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31131   $as_echo_n "(cached) " >&6
31132 else
31133
31134
31135       ac_ext=cpp
31136 ac_cpp='$CXXCPP $CPPFLAGS'
31137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31140
31141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31142 /* end confdefs.h.  */
31143 #include <math.h>
31144                       #ifdef HAVE_IEEEFP_H
31145                       #include <ieeefp.h>
31146                       #endif
31147
31148 int
31149 main ()
31150 {
31151  isinfl(0);
31152   ;
31153   return 0;
31154 }
31155 _ACEOF
31156 if ac_fn_cxx_try_compile "$LINENO"; then :
31157   glibcxx_cv_func_isinfl_use=yes
31158 else
31159   glibcxx_cv_func_isinfl_use=no
31160 fi
31161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31162       ac_ext=c
31163 ac_cpp='$CPP $CPPFLAGS'
31164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31167
31168
31169 fi
31170
31171   fi
31172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31173 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31174
31175   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31176     for ac_func in isinfl
31177 do :
31178   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31179 if test "x$ac_cv_func_isinfl" = x""yes; then :
31180   cat >>confdefs.h <<_ACEOF
31181 #define HAVE_ISINFL 1
31182 _ACEOF
31183
31184 fi
31185 done
31186
31187   else
31188
31189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31190 $as_echo_n "checking for _isinfl declaration... " >&6; }
31191   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31192     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31193   $as_echo_n "(cached) " >&6
31194 else
31195
31196
31197       ac_ext=cpp
31198 ac_cpp='$CXXCPP $CPPFLAGS'
31199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31202
31203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31204 /* end confdefs.h.  */
31205 #include <math.h>
31206                       #ifdef HAVE_IEEEFP_H
31207                       #include <ieeefp.h>
31208                       #endif
31209
31210 int
31211 main ()
31212 {
31213  _isinfl(0);
31214   ;
31215   return 0;
31216 }
31217 _ACEOF
31218 if ac_fn_cxx_try_compile "$LINENO"; then :
31219   glibcxx_cv_func__isinfl_use=yes
31220 else
31221   glibcxx_cv_func__isinfl_use=no
31222 fi
31223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31224       ac_ext=c
31225 ac_cpp='$CPP $CPPFLAGS'
31226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31229
31230
31231 fi
31232
31233   fi
31234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31235 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31236
31237     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31238       for ac_func in _isinfl
31239 do :
31240   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31241 if test "x$ac_cv_func__isinfl" = x""yes; then :
31242   cat >>confdefs.h <<_ACEOF
31243 #define HAVE__ISINFL 1
31244 _ACEOF
31245
31246 fi
31247 done
31248
31249     fi
31250   fi
31251
31252
31253
31254
31255
31256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31257 $as_echo_n "checking for atan2l declaration... " >&6; }
31258   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31259     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31260   $as_echo_n "(cached) " >&6
31261 else
31262
31263
31264       ac_ext=cpp
31265 ac_cpp='$CXXCPP $CPPFLAGS'
31266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31269
31270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31271 /* end confdefs.h.  */
31272 #include <math.h>
31273 int
31274 main ()
31275 {
31276  atan2l(0, 0);
31277   ;
31278   return 0;
31279 }
31280 _ACEOF
31281 if ac_fn_cxx_try_compile "$LINENO"; then :
31282   glibcxx_cv_func_atan2l_use=yes
31283 else
31284   glibcxx_cv_func_atan2l_use=no
31285 fi
31286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31287       ac_ext=c
31288 ac_cpp='$CPP $CPPFLAGS'
31289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31292
31293
31294 fi
31295
31296   fi
31297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31298 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31299
31300   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31301     for ac_func in atan2l
31302 do :
31303   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31304 if test "x$ac_cv_func_atan2l" = x""yes; then :
31305   cat >>confdefs.h <<_ACEOF
31306 #define HAVE_ATAN2L 1
31307 _ACEOF
31308
31309 fi
31310 done
31311
31312   else
31313
31314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31315 $as_echo_n "checking for _atan2l declaration... " >&6; }
31316   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31317     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31318   $as_echo_n "(cached) " >&6
31319 else
31320
31321
31322       ac_ext=cpp
31323 ac_cpp='$CXXCPP $CPPFLAGS'
31324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31327
31328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31329 /* end confdefs.h.  */
31330 #include <math.h>
31331 int
31332 main ()
31333 {
31334  _atan2l(0, 0);
31335   ;
31336   return 0;
31337 }
31338 _ACEOF
31339 if ac_fn_cxx_try_compile "$LINENO"; then :
31340   glibcxx_cv_func__atan2l_use=yes
31341 else
31342   glibcxx_cv_func__atan2l_use=no
31343 fi
31344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31345       ac_ext=c
31346 ac_cpp='$CPP $CPPFLAGS'
31347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31350
31351
31352 fi
31353
31354   fi
31355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31356 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31357
31358     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31359       for ac_func in _atan2l
31360 do :
31361   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31362 if test "x$ac_cv_func__atan2l" = x""yes; then :
31363   cat >>confdefs.h <<_ACEOF
31364 #define HAVE__ATAN2L 1
31365 _ACEOF
31366
31367 fi
31368 done
31369
31370     fi
31371   fi
31372
31373
31374
31375
31376
31377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31378 $as_echo_n "checking for expl declaration... " >&6; }
31379   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31380     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31381   $as_echo_n "(cached) " >&6
31382 else
31383
31384
31385       ac_ext=cpp
31386 ac_cpp='$CXXCPP $CPPFLAGS'
31387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31390
31391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31392 /* end confdefs.h.  */
31393 #include <math.h>
31394                       #ifdef HAVE_IEEEFP_H
31395                       #include <ieeefp.h>
31396                       #endif
31397
31398 int
31399 main ()
31400 {
31401  expl(0);
31402   ;
31403   return 0;
31404 }
31405 _ACEOF
31406 if ac_fn_cxx_try_compile "$LINENO"; then :
31407   glibcxx_cv_func_expl_use=yes
31408 else
31409   glibcxx_cv_func_expl_use=no
31410 fi
31411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31412       ac_ext=c
31413 ac_cpp='$CPP $CPPFLAGS'
31414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31417
31418
31419 fi
31420
31421   fi
31422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31423 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31424
31425   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31426     for ac_func in expl
31427 do :
31428   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31429 if test "x$ac_cv_func_expl" = x""yes; then :
31430   cat >>confdefs.h <<_ACEOF
31431 #define HAVE_EXPL 1
31432 _ACEOF
31433
31434 fi
31435 done
31436
31437   else
31438
31439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31440 $as_echo_n "checking for _expl declaration... " >&6; }
31441   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31442     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31443   $as_echo_n "(cached) " >&6
31444 else
31445
31446
31447       ac_ext=cpp
31448 ac_cpp='$CXXCPP $CPPFLAGS'
31449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31452
31453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31454 /* end confdefs.h.  */
31455 #include <math.h>
31456                       #ifdef HAVE_IEEEFP_H
31457                       #include <ieeefp.h>
31458                       #endif
31459
31460 int
31461 main ()
31462 {
31463  _expl(0);
31464   ;
31465   return 0;
31466 }
31467 _ACEOF
31468 if ac_fn_cxx_try_compile "$LINENO"; then :
31469   glibcxx_cv_func__expl_use=yes
31470 else
31471   glibcxx_cv_func__expl_use=no
31472 fi
31473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31474       ac_ext=c
31475 ac_cpp='$CPP $CPPFLAGS'
31476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31479
31480
31481 fi
31482
31483   fi
31484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31485 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31486
31487     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31488       for ac_func in _expl
31489 do :
31490   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31491 if test "x$ac_cv_func__expl" = x""yes; then :
31492   cat >>confdefs.h <<_ACEOF
31493 #define HAVE__EXPL 1
31494 _ACEOF
31495
31496 fi
31497 done
31498
31499     fi
31500   fi
31501
31502
31503
31504
31505
31506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31507 $as_echo_n "checking for fabsl declaration... " >&6; }
31508   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31509     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31510   $as_echo_n "(cached) " >&6
31511 else
31512
31513
31514       ac_ext=cpp
31515 ac_cpp='$CXXCPP $CPPFLAGS'
31516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31519
31520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31521 /* end confdefs.h.  */
31522 #include <math.h>
31523                       #ifdef HAVE_IEEEFP_H
31524                       #include <ieeefp.h>
31525                       #endif
31526
31527 int
31528 main ()
31529 {
31530  fabsl(0);
31531   ;
31532   return 0;
31533 }
31534 _ACEOF
31535 if ac_fn_cxx_try_compile "$LINENO"; then :
31536   glibcxx_cv_func_fabsl_use=yes
31537 else
31538   glibcxx_cv_func_fabsl_use=no
31539 fi
31540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31541       ac_ext=c
31542 ac_cpp='$CPP $CPPFLAGS'
31543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31546
31547
31548 fi
31549
31550   fi
31551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31552 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31553
31554   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31555     for ac_func in fabsl
31556 do :
31557   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31558 if test "x$ac_cv_func_fabsl" = x""yes; then :
31559   cat >>confdefs.h <<_ACEOF
31560 #define HAVE_FABSL 1
31561 _ACEOF
31562
31563 fi
31564 done
31565
31566   else
31567
31568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31569 $as_echo_n "checking for _fabsl declaration... " >&6; }
31570   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31571     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31572   $as_echo_n "(cached) " >&6
31573 else
31574
31575
31576       ac_ext=cpp
31577 ac_cpp='$CXXCPP $CPPFLAGS'
31578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31581
31582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31583 /* end confdefs.h.  */
31584 #include <math.h>
31585                       #ifdef HAVE_IEEEFP_H
31586                       #include <ieeefp.h>
31587                       #endif
31588
31589 int
31590 main ()
31591 {
31592  _fabsl(0);
31593   ;
31594   return 0;
31595 }
31596 _ACEOF
31597 if ac_fn_cxx_try_compile "$LINENO"; then :
31598   glibcxx_cv_func__fabsl_use=yes
31599 else
31600   glibcxx_cv_func__fabsl_use=no
31601 fi
31602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31603       ac_ext=c
31604 ac_cpp='$CPP $CPPFLAGS'
31605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31608
31609
31610 fi
31611
31612   fi
31613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31614 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31615
31616     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31617       for ac_func in _fabsl
31618 do :
31619   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31620 if test "x$ac_cv_func__fabsl" = x""yes; then :
31621   cat >>confdefs.h <<_ACEOF
31622 #define HAVE__FABSL 1
31623 _ACEOF
31624
31625 fi
31626 done
31627
31628     fi
31629   fi
31630
31631
31632
31633
31634
31635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31636 $as_echo_n "checking for fmodl declaration... " >&6; }
31637   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31638     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31639   $as_echo_n "(cached) " >&6
31640 else
31641
31642
31643       ac_ext=cpp
31644 ac_cpp='$CXXCPP $CPPFLAGS'
31645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31648
31649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31650 /* end confdefs.h.  */
31651 #include <math.h>
31652 int
31653 main ()
31654 {
31655  fmodl(0, 0);
31656   ;
31657   return 0;
31658 }
31659 _ACEOF
31660 if ac_fn_cxx_try_compile "$LINENO"; then :
31661   glibcxx_cv_func_fmodl_use=yes
31662 else
31663   glibcxx_cv_func_fmodl_use=no
31664 fi
31665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31666       ac_ext=c
31667 ac_cpp='$CPP $CPPFLAGS'
31668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31671
31672
31673 fi
31674
31675   fi
31676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31677 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31678
31679   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31680     for ac_func in fmodl
31681 do :
31682   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31683 if test "x$ac_cv_func_fmodl" = x""yes; then :
31684   cat >>confdefs.h <<_ACEOF
31685 #define HAVE_FMODL 1
31686 _ACEOF
31687
31688 fi
31689 done
31690
31691   else
31692
31693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31694 $as_echo_n "checking for _fmodl declaration... " >&6; }
31695   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31696     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31697   $as_echo_n "(cached) " >&6
31698 else
31699
31700
31701       ac_ext=cpp
31702 ac_cpp='$CXXCPP $CPPFLAGS'
31703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31706
31707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31708 /* end confdefs.h.  */
31709 #include <math.h>
31710 int
31711 main ()
31712 {
31713  _fmodl(0, 0);
31714   ;
31715   return 0;
31716 }
31717 _ACEOF
31718 if ac_fn_cxx_try_compile "$LINENO"; then :
31719   glibcxx_cv_func__fmodl_use=yes
31720 else
31721   glibcxx_cv_func__fmodl_use=no
31722 fi
31723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31724       ac_ext=c
31725 ac_cpp='$CPP $CPPFLAGS'
31726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31729
31730
31731 fi
31732
31733   fi
31734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31735 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31736
31737     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31738       for ac_func in _fmodl
31739 do :
31740   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31741 if test "x$ac_cv_func__fmodl" = x""yes; then :
31742   cat >>confdefs.h <<_ACEOF
31743 #define HAVE__FMODL 1
31744 _ACEOF
31745
31746 fi
31747 done
31748
31749     fi
31750   fi
31751
31752
31753
31754
31755
31756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31757 $as_echo_n "checking for frexpl declaration... " >&6; }
31758   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31759     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31760   $as_echo_n "(cached) " >&6
31761 else
31762
31763
31764       ac_ext=cpp
31765 ac_cpp='$CXXCPP $CPPFLAGS'
31766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31769
31770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31771 /* end confdefs.h.  */
31772 #include <math.h>
31773 int
31774 main ()
31775 {
31776  frexpl(0, 0);
31777   ;
31778   return 0;
31779 }
31780 _ACEOF
31781 if ac_fn_cxx_try_compile "$LINENO"; then :
31782   glibcxx_cv_func_frexpl_use=yes
31783 else
31784   glibcxx_cv_func_frexpl_use=no
31785 fi
31786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31787       ac_ext=c
31788 ac_cpp='$CPP $CPPFLAGS'
31789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31792
31793
31794 fi
31795
31796   fi
31797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31798 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31799
31800   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31801     for ac_func in frexpl
31802 do :
31803   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31804 if test "x$ac_cv_func_frexpl" = x""yes; then :
31805   cat >>confdefs.h <<_ACEOF
31806 #define HAVE_FREXPL 1
31807 _ACEOF
31808
31809 fi
31810 done
31811
31812   else
31813
31814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31815 $as_echo_n "checking for _frexpl declaration... " >&6; }
31816   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31817     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31818   $as_echo_n "(cached) " >&6
31819 else
31820
31821
31822       ac_ext=cpp
31823 ac_cpp='$CXXCPP $CPPFLAGS'
31824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31827
31828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31829 /* end confdefs.h.  */
31830 #include <math.h>
31831 int
31832 main ()
31833 {
31834  _frexpl(0, 0);
31835   ;
31836   return 0;
31837 }
31838 _ACEOF
31839 if ac_fn_cxx_try_compile "$LINENO"; then :
31840   glibcxx_cv_func__frexpl_use=yes
31841 else
31842   glibcxx_cv_func__frexpl_use=no
31843 fi
31844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31845       ac_ext=c
31846 ac_cpp='$CPP $CPPFLAGS'
31847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31850
31851
31852 fi
31853
31854   fi
31855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31856 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31857
31858     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31859       for ac_func in _frexpl
31860 do :
31861   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31862 if test "x$ac_cv_func__frexpl" = x""yes; then :
31863   cat >>confdefs.h <<_ACEOF
31864 #define HAVE__FREXPL 1
31865 _ACEOF
31866
31867 fi
31868 done
31869
31870     fi
31871   fi
31872
31873
31874
31875
31876
31877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31878 $as_echo_n "checking for hypotl declaration... " >&6; }
31879   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31880     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31881   $as_echo_n "(cached) " >&6
31882 else
31883
31884
31885       ac_ext=cpp
31886 ac_cpp='$CXXCPP $CPPFLAGS'
31887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31890
31891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31892 /* end confdefs.h.  */
31893 #include <math.h>
31894 int
31895 main ()
31896 {
31897  hypotl(0, 0);
31898   ;
31899   return 0;
31900 }
31901 _ACEOF
31902 if ac_fn_cxx_try_compile "$LINENO"; then :
31903   glibcxx_cv_func_hypotl_use=yes
31904 else
31905   glibcxx_cv_func_hypotl_use=no
31906 fi
31907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31908       ac_ext=c
31909 ac_cpp='$CPP $CPPFLAGS'
31910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31913
31914
31915 fi
31916
31917   fi
31918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31919 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31920
31921   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31922     for ac_func in hypotl
31923 do :
31924   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31925 if test "x$ac_cv_func_hypotl" = x""yes; then :
31926   cat >>confdefs.h <<_ACEOF
31927 #define HAVE_HYPOTL 1
31928 _ACEOF
31929
31930 fi
31931 done
31932
31933   else
31934
31935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31936 $as_echo_n "checking for _hypotl declaration... " >&6; }
31937   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31938     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31939   $as_echo_n "(cached) " >&6
31940 else
31941
31942
31943       ac_ext=cpp
31944 ac_cpp='$CXXCPP $CPPFLAGS'
31945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31948
31949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31950 /* end confdefs.h.  */
31951 #include <math.h>
31952 int
31953 main ()
31954 {
31955  _hypotl(0, 0);
31956   ;
31957   return 0;
31958 }
31959 _ACEOF
31960 if ac_fn_cxx_try_compile "$LINENO"; then :
31961   glibcxx_cv_func__hypotl_use=yes
31962 else
31963   glibcxx_cv_func__hypotl_use=no
31964 fi
31965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31966       ac_ext=c
31967 ac_cpp='$CPP $CPPFLAGS'
31968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31971
31972
31973 fi
31974
31975   fi
31976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31977 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31978
31979     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31980       for ac_func in _hypotl
31981 do :
31982   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31983 if test "x$ac_cv_func__hypotl" = x""yes; then :
31984   cat >>confdefs.h <<_ACEOF
31985 #define HAVE__HYPOTL 1
31986 _ACEOF
31987
31988 fi
31989 done
31990
31991     fi
31992   fi
31993
31994
31995
31996
31997
31998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31999 $as_echo_n "checking for ldexpl declaration... " >&6; }
32000   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32001     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32002   $as_echo_n "(cached) " >&6
32003 else
32004
32005
32006       ac_ext=cpp
32007 ac_cpp='$CXXCPP $CPPFLAGS'
32008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32011
32012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32013 /* end confdefs.h.  */
32014 #include <math.h>
32015 int
32016 main ()
32017 {
32018  ldexpl(0, 0);
32019   ;
32020   return 0;
32021 }
32022 _ACEOF
32023 if ac_fn_cxx_try_compile "$LINENO"; then :
32024   glibcxx_cv_func_ldexpl_use=yes
32025 else
32026   glibcxx_cv_func_ldexpl_use=no
32027 fi
32028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32029       ac_ext=c
32030 ac_cpp='$CPP $CPPFLAGS'
32031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32034
32035
32036 fi
32037
32038   fi
32039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32040 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32041
32042   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32043     for ac_func in ldexpl
32044 do :
32045   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32046 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32047   cat >>confdefs.h <<_ACEOF
32048 #define HAVE_LDEXPL 1
32049 _ACEOF
32050
32051 fi
32052 done
32053
32054   else
32055
32056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32057 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32058   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32059     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32060   $as_echo_n "(cached) " >&6
32061 else
32062
32063
32064       ac_ext=cpp
32065 ac_cpp='$CXXCPP $CPPFLAGS'
32066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32069
32070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32071 /* end confdefs.h.  */
32072 #include <math.h>
32073 int
32074 main ()
32075 {
32076  _ldexpl(0, 0);
32077   ;
32078   return 0;
32079 }
32080 _ACEOF
32081 if ac_fn_cxx_try_compile "$LINENO"; then :
32082   glibcxx_cv_func__ldexpl_use=yes
32083 else
32084   glibcxx_cv_func__ldexpl_use=no
32085 fi
32086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32087       ac_ext=c
32088 ac_cpp='$CPP $CPPFLAGS'
32089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32092
32093
32094 fi
32095
32096   fi
32097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32098 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32099
32100     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32101       for ac_func in _ldexpl
32102 do :
32103   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32104 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32105   cat >>confdefs.h <<_ACEOF
32106 #define HAVE__LDEXPL 1
32107 _ACEOF
32108
32109 fi
32110 done
32111
32112     fi
32113   fi
32114
32115
32116
32117
32118
32119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32120 $as_echo_n "checking for logl declaration... " >&6; }
32121   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32122     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32123   $as_echo_n "(cached) " >&6
32124 else
32125
32126
32127       ac_ext=cpp
32128 ac_cpp='$CXXCPP $CPPFLAGS'
32129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32132
32133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32134 /* end confdefs.h.  */
32135 #include <math.h>
32136                       #ifdef HAVE_IEEEFP_H
32137                       #include <ieeefp.h>
32138                       #endif
32139
32140 int
32141 main ()
32142 {
32143  logl(0);
32144   ;
32145   return 0;
32146 }
32147 _ACEOF
32148 if ac_fn_cxx_try_compile "$LINENO"; then :
32149   glibcxx_cv_func_logl_use=yes
32150 else
32151   glibcxx_cv_func_logl_use=no
32152 fi
32153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32154       ac_ext=c
32155 ac_cpp='$CPP $CPPFLAGS'
32156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32159
32160
32161 fi
32162
32163   fi
32164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32165 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32166
32167   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32168     for ac_func in logl
32169 do :
32170   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32171 if test "x$ac_cv_func_logl" = x""yes; then :
32172   cat >>confdefs.h <<_ACEOF
32173 #define HAVE_LOGL 1
32174 _ACEOF
32175
32176 fi
32177 done
32178
32179   else
32180
32181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32182 $as_echo_n "checking for _logl declaration... " >&6; }
32183   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32184     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32185   $as_echo_n "(cached) " >&6
32186 else
32187
32188
32189       ac_ext=cpp
32190 ac_cpp='$CXXCPP $CPPFLAGS'
32191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32194
32195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32196 /* end confdefs.h.  */
32197 #include <math.h>
32198                       #ifdef HAVE_IEEEFP_H
32199                       #include <ieeefp.h>
32200                       #endif
32201
32202 int
32203 main ()
32204 {
32205  _logl(0);
32206   ;
32207   return 0;
32208 }
32209 _ACEOF
32210 if ac_fn_cxx_try_compile "$LINENO"; then :
32211   glibcxx_cv_func__logl_use=yes
32212 else
32213   glibcxx_cv_func__logl_use=no
32214 fi
32215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32216       ac_ext=c
32217 ac_cpp='$CPP $CPPFLAGS'
32218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32221
32222
32223 fi
32224
32225   fi
32226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32227 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32228
32229     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32230       for ac_func in _logl
32231 do :
32232   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32233 if test "x$ac_cv_func__logl" = x""yes; then :
32234   cat >>confdefs.h <<_ACEOF
32235 #define HAVE__LOGL 1
32236 _ACEOF
32237
32238 fi
32239 done
32240
32241     fi
32242   fi
32243
32244
32245
32246
32247
32248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32249 $as_echo_n "checking for log10l declaration... " >&6; }
32250   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32251     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32252   $as_echo_n "(cached) " >&6
32253 else
32254
32255
32256       ac_ext=cpp
32257 ac_cpp='$CXXCPP $CPPFLAGS'
32258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32261
32262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32263 /* end confdefs.h.  */
32264 #include <math.h>
32265                       #ifdef HAVE_IEEEFP_H
32266                       #include <ieeefp.h>
32267                       #endif
32268
32269 int
32270 main ()
32271 {
32272  log10l(0);
32273   ;
32274   return 0;
32275 }
32276 _ACEOF
32277 if ac_fn_cxx_try_compile "$LINENO"; then :
32278   glibcxx_cv_func_log10l_use=yes
32279 else
32280   glibcxx_cv_func_log10l_use=no
32281 fi
32282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32283       ac_ext=c
32284 ac_cpp='$CPP $CPPFLAGS'
32285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32288
32289
32290 fi
32291
32292   fi
32293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32294 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32295
32296   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32297     for ac_func in log10l
32298 do :
32299   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32300 if test "x$ac_cv_func_log10l" = x""yes; then :
32301   cat >>confdefs.h <<_ACEOF
32302 #define HAVE_LOG10L 1
32303 _ACEOF
32304
32305 fi
32306 done
32307
32308   else
32309
32310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32311 $as_echo_n "checking for _log10l declaration... " >&6; }
32312   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32313     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32314   $as_echo_n "(cached) " >&6
32315 else
32316
32317
32318       ac_ext=cpp
32319 ac_cpp='$CXXCPP $CPPFLAGS'
32320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32323
32324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32325 /* end confdefs.h.  */
32326 #include <math.h>
32327                       #ifdef HAVE_IEEEFP_H
32328                       #include <ieeefp.h>
32329                       #endif
32330
32331 int
32332 main ()
32333 {
32334  _log10l(0);
32335   ;
32336   return 0;
32337 }
32338 _ACEOF
32339 if ac_fn_cxx_try_compile "$LINENO"; then :
32340   glibcxx_cv_func__log10l_use=yes
32341 else
32342   glibcxx_cv_func__log10l_use=no
32343 fi
32344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32345       ac_ext=c
32346 ac_cpp='$CPP $CPPFLAGS'
32347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32350
32351
32352 fi
32353
32354   fi
32355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32356 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32357
32358     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32359       for ac_func in _log10l
32360 do :
32361   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32362 if test "x$ac_cv_func__log10l" = x""yes; then :
32363   cat >>confdefs.h <<_ACEOF
32364 #define HAVE__LOG10L 1
32365 _ACEOF
32366
32367 fi
32368 done
32369
32370     fi
32371   fi
32372
32373
32374
32375
32376
32377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32378 $as_echo_n "checking for modfl declaration... " >&6; }
32379   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32380     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32381   $as_echo_n "(cached) " >&6
32382 else
32383
32384
32385       ac_ext=cpp
32386 ac_cpp='$CXXCPP $CPPFLAGS'
32387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32390
32391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32392 /* end confdefs.h.  */
32393 #include <math.h>
32394 int
32395 main ()
32396 {
32397  modfl(0, 0);
32398   ;
32399   return 0;
32400 }
32401 _ACEOF
32402 if ac_fn_cxx_try_compile "$LINENO"; then :
32403   glibcxx_cv_func_modfl_use=yes
32404 else
32405   glibcxx_cv_func_modfl_use=no
32406 fi
32407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32408       ac_ext=c
32409 ac_cpp='$CPP $CPPFLAGS'
32410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32413
32414
32415 fi
32416
32417   fi
32418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32419 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32420
32421   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32422     for ac_func in modfl
32423 do :
32424   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32425 if test "x$ac_cv_func_modfl" = x""yes; then :
32426   cat >>confdefs.h <<_ACEOF
32427 #define HAVE_MODFL 1
32428 _ACEOF
32429
32430 fi
32431 done
32432
32433   else
32434
32435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32436 $as_echo_n "checking for _modfl declaration... " >&6; }
32437   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32438     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32439   $as_echo_n "(cached) " >&6
32440 else
32441
32442
32443       ac_ext=cpp
32444 ac_cpp='$CXXCPP $CPPFLAGS'
32445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32448
32449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32450 /* end confdefs.h.  */
32451 #include <math.h>
32452 int
32453 main ()
32454 {
32455  _modfl(0, 0);
32456   ;
32457   return 0;
32458 }
32459 _ACEOF
32460 if ac_fn_cxx_try_compile "$LINENO"; then :
32461   glibcxx_cv_func__modfl_use=yes
32462 else
32463   glibcxx_cv_func__modfl_use=no
32464 fi
32465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32466       ac_ext=c
32467 ac_cpp='$CPP $CPPFLAGS'
32468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32471
32472
32473 fi
32474
32475   fi
32476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32477 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32478
32479     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32480       for ac_func in _modfl
32481 do :
32482   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32483 if test "x$ac_cv_func__modfl" = x""yes; then :
32484   cat >>confdefs.h <<_ACEOF
32485 #define HAVE__MODFL 1
32486 _ACEOF
32487
32488 fi
32489 done
32490
32491     fi
32492   fi
32493
32494
32495
32496
32497
32498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32499 $as_echo_n "checking for powl declaration... " >&6; }
32500   if test x${glibcxx_cv_func_powl_use+set} != xset; then
32501     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32502   $as_echo_n "(cached) " >&6
32503 else
32504
32505
32506       ac_ext=cpp
32507 ac_cpp='$CXXCPP $CPPFLAGS'
32508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32511
32512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32513 /* end confdefs.h.  */
32514 #include <math.h>
32515 int
32516 main ()
32517 {
32518  powl(0, 0);
32519   ;
32520   return 0;
32521 }
32522 _ACEOF
32523 if ac_fn_cxx_try_compile "$LINENO"; then :
32524   glibcxx_cv_func_powl_use=yes
32525 else
32526   glibcxx_cv_func_powl_use=no
32527 fi
32528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32529       ac_ext=c
32530 ac_cpp='$CPP $CPPFLAGS'
32531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32534
32535
32536 fi
32537
32538   fi
32539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32540 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32541
32542   if test x$glibcxx_cv_func_powl_use = x"yes"; then
32543     for ac_func in powl
32544 do :
32545   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32546 if test "x$ac_cv_func_powl" = x""yes; then :
32547   cat >>confdefs.h <<_ACEOF
32548 #define HAVE_POWL 1
32549 _ACEOF
32550
32551 fi
32552 done
32553
32554   else
32555
32556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32557 $as_echo_n "checking for _powl declaration... " >&6; }
32558   if test x${glibcxx_cv_func__powl_use+set} != xset; then
32559     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32560   $as_echo_n "(cached) " >&6
32561 else
32562
32563
32564       ac_ext=cpp
32565 ac_cpp='$CXXCPP $CPPFLAGS'
32566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32569
32570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32571 /* end confdefs.h.  */
32572 #include <math.h>
32573 int
32574 main ()
32575 {
32576  _powl(0, 0);
32577   ;
32578   return 0;
32579 }
32580 _ACEOF
32581 if ac_fn_cxx_try_compile "$LINENO"; then :
32582   glibcxx_cv_func__powl_use=yes
32583 else
32584   glibcxx_cv_func__powl_use=no
32585 fi
32586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32587       ac_ext=c
32588 ac_cpp='$CPP $CPPFLAGS'
32589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32592
32593
32594 fi
32595
32596   fi
32597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32598 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32599
32600     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32601       for ac_func in _powl
32602 do :
32603   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32604 if test "x$ac_cv_func__powl" = x""yes; then :
32605   cat >>confdefs.h <<_ACEOF
32606 #define HAVE__POWL 1
32607 _ACEOF
32608
32609 fi
32610 done
32611
32612     fi
32613   fi
32614
32615
32616
32617
32618
32619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32620 $as_echo_n "checking for sqrtl declaration... " >&6; }
32621   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32622     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32623   $as_echo_n "(cached) " >&6
32624 else
32625
32626
32627       ac_ext=cpp
32628 ac_cpp='$CXXCPP $CPPFLAGS'
32629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32632
32633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32634 /* end confdefs.h.  */
32635 #include <math.h>
32636                       #ifdef HAVE_IEEEFP_H
32637                       #include <ieeefp.h>
32638                       #endif
32639
32640 int
32641 main ()
32642 {
32643  sqrtl(0);
32644   ;
32645   return 0;
32646 }
32647 _ACEOF
32648 if ac_fn_cxx_try_compile "$LINENO"; then :
32649   glibcxx_cv_func_sqrtl_use=yes
32650 else
32651   glibcxx_cv_func_sqrtl_use=no
32652 fi
32653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32654       ac_ext=c
32655 ac_cpp='$CPP $CPPFLAGS'
32656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32659
32660
32661 fi
32662
32663   fi
32664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32665 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32666
32667   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32668     for ac_func in sqrtl
32669 do :
32670   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32671 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32672   cat >>confdefs.h <<_ACEOF
32673 #define HAVE_SQRTL 1
32674 _ACEOF
32675
32676 fi
32677 done
32678
32679   else
32680
32681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32682 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32683   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32684     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32685   $as_echo_n "(cached) " >&6
32686 else
32687
32688
32689       ac_ext=cpp
32690 ac_cpp='$CXXCPP $CPPFLAGS'
32691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32694
32695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32696 /* end confdefs.h.  */
32697 #include <math.h>
32698                       #ifdef HAVE_IEEEFP_H
32699                       #include <ieeefp.h>
32700                       #endif
32701
32702 int
32703 main ()
32704 {
32705  _sqrtl(0);
32706   ;
32707   return 0;
32708 }
32709 _ACEOF
32710 if ac_fn_cxx_try_compile "$LINENO"; then :
32711   glibcxx_cv_func__sqrtl_use=yes
32712 else
32713   glibcxx_cv_func__sqrtl_use=no
32714 fi
32715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32716       ac_ext=c
32717 ac_cpp='$CPP $CPPFLAGS'
32718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32721
32722
32723 fi
32724
32725   fi
32726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32727 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32728
32729     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32730       for ac_func in _sqrtl
32731 do :
32732   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32733 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32734   cat >>confdefs.h <<_ACEOF
32735 #define HAVE__SQRTL 1
32736 _ACEOF
32737
32738 fi
32739 done
32740
32741     fi
32742   fi
32743
32744
32745
32746
32747
32748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32749 $as_echo_n "checking for sincosl declaration... " >&6; }
32750   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32751     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32752   $as_echo_n "(cached) " >&6
32753 else
32754
32755
32756       ac_ext=cpp
32757 ac_cpp='$CXXCPP $CPPFLAGS'
32758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32761
32762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32763 /* end confdefs.h.  */
32764 #include <math.h>
32765 int
32766 main ()
32767 {
32768  sincosl(0, 0, 0);
32769   ;
32770   return 0;
32771 }
32772 _ACEOF
32773 if ac_fn_cxx_try_compile "$LINENO"; then :
32774   glibcxx_cv_func_sincosl_use=yes
32775 else
32776   glibcxx_cv_func_sincosl_use=no
32777 fi
32778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32779       ac_ext=c
32780 ac_cpp='$CPP $CPPFLAGS'
32781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32784
32785
32786 fi
32787
32788   fi
32789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32790 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32791
32792   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32793     for ac_func in sincosl
32794 do :
32795   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32796 if test "x$ac_cv_func_sincosl" = x""yes; then :
32797   cat >>confdefs.h <<_ACEOF
32798 #define HAVE_SINCOSL 1
32799 _ACEOF
32800
32801 fi
32802 done
32803
32804   else
32805
32806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32807 $as_echo_n "checking for _sincosl declaration... " >&6; }
32808   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32809     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32810   $as_echo_n "(cached) " >&6
32811 else
32812
32813
32814       ac_ext=cpp
32815 ac_cpp='$CXXCPP $CPPFLAGS'
32816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32819
32820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32821 /* end confdefs.h.  */
32822 #include <math.h>
32823 int
32824 main ()
32825 {
32826  _sincosl(0, 0, 0);
32827   ;
32828   return 0;
32829 }
32830 _ACEOF
32831 if ac_fn_cxx_try_compile "$LINENO"; then :
32832   glibcxx_cv_func__sincosl_use=yes
32833 else
32834   glibcxx_cv_func__sincosl_use=no
32835 fi
32836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32837       ac_ext=c
32838 ac_cpp='$CPP $CPPFLAGS'
32839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32842
32843
32844 fi
32845
32846   fi
32847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32848 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32849
32850     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32851       for ac_func in _sincosl
32852 do :
32853   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32854 if test "x$ac_cv_func__sincosl" = x""yes; then :
32855   cat >>confdefs.h <<_ACEOF
32856 #define HAVE__SINCOSL 1
32857 _ACEOF
32858
32859 fi
32860 done
32861
32862     fi
32863   fi
32864
32865
32866
32867
32868
32869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32870 $as_echo_n "checking for finitel declaration... " >&6; }
32871   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32872     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32873   $as_echo_n "(cached) " >&6
32874 else
32875
32876
32877       ac_ext=cpp
32878 ac_cpp='$CXXCPP $CPPFLAGS'
32879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32882
32883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32884 /* end confdefs.h.  */
32885 #include <math.h>
32886                       #ifdef HAVE_IEEEFP_H
32887                       #include <ieeefp.h>
32888                       #endif
32889
32890 int
32891 main ()
32892 {
32893  finitel(0);
32894   ;
32895   return 0;
32896 }
32897 _ACEOF
32898 if ac_fn_cxx_try_compile "$LINENO"; then :
32899   glibcxx_cv_func_finitel_use=yes
32900 else
32901   glibcxx_cv_func_finitel_use=no
32902 fi
32903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32904       ac_ext=c
32905 ac_cpp='$CPP $CPPFLAGS'
32906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32909
32910
32911 fi
32912
32913   fi
32914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32915 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32916
32917   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32918     for ac_func in finitel
32919 do :
32920   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32921 if test "x$ac_cv_func_finitel" = x""yes; then :
32922   cat >>confdefs.h <<_ACEOF
32923 #define HAVE_FINITEL 1
32924 _ACEOF
32925
32926 fi
32927 done
32928
32929   else
32930
32931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32932 $as_echo_n "checking for _finitel declaration... " >&6; }
32933   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32934     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32935   $as_echo_n "(cached) " >&6
32936 else
32937
32938
32939       ac_ext=cpp
32940 ac_cpp='$CXXCPP $CPPFLAGS'
32941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32944
32945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32946 /* end confdefs.h.  */
32947 #include <math.h>
32948                       #ifdef HAVE_IEEEFP_H
32949                       #include <ieeefp.h>
32950                       #endif
32951
32952 int
32953 main ()
32954 {
32955  _finitel(0);
32956   ;
32957   return 0;
32958 }
32959 _ACEOF
32960 if ac_fn_cxx_try_compile "$LINENO"; then :
32961   glibcxx_cv_func__finitel_use=yes
32962 else
32963   glibcxx_cv_func__finitel_use=no
32964 fi
32965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32966       ac_ext=c
32967 ac_cpp='$CPP $CPPFLAGS'
32968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32971
32972
32973 fi
32974
32975   fi
32976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32977 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32978
32979     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32980       for ac_func in _finitel
32981 do :
32982   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32983 if test "x$ac_cv_func__finitel" = x""yes; then :
32984   cat >>confdefs.h <<_ACEOF
32985 #define HAVE__FINITEL 1
32986 _ACEOF
32987
32988 fi
32989 done
32990
32991     fi
32992   fi
32993
32994
32995
32996
32997   LIBS="$ac_save_LIBS"
32998   CXXFLAGS="$ac_save_CXXFLAGS"
32999
33000
33001   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33002   ac_save_CXXFLAGS="$CXXFLAGS"
33003   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33004
33005
33006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33007 $as_echo_n "checking for strtold declaration... " >&6; }
33008   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33009     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33010   $as_echo_n "(cached) " >&6
33011 else
33012
33013
33014       ac_ext=cpp
33015 ac_cpp='$CXXCPP $CPPFLAGS'
33016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33019
33020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33021 /* end confdefs.h.  */
33022 #include <stdlib.h>
33023 int
33024 main ()
33025 {
33026  strtold(0, 0);
33027   ;
33028   return 0;
33029 }
33030 _ACEOF
33031 if ac_fn_cxx_try_compile "$LINENO"; then :
33032   glibcxx_cv_func_strtold_use=yes
33033 else
33034   glibcxx_cv_func_strtold_use=no
33035 fi
33036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33037       ac_ext=c
33038 ac_cpp='$CPP $CPPFLAGS'
33039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33042
33043
33044 fi
33045
33046   fi
33047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33048 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33049   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33050     for ac_func in strtold
33051 do :
33052   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33053 if test "x$ac_cv_func_strtold" = x""yes; then :
33054   cat >>confdefs.h <<_ACEOF
33055 #define HAVE_STRTOLD 1
33056 _ACEOF
33057
33058 fi
33059 done
33060
33061   fi
33062
33063
33064
33065
33066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33067 $as_echo_n "checking for strtof declaration... " >&6; }
33068   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33069     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33070   $as_echo_n "(cached) " >&6
33071 else
33072
33073
33074       ac_ext=cpp
33075 ac_cpp='$CXXCPP $CPPFLAGS'
33076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33079
33080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33081 /* end confdefs.h.  */
33082 #include <stdlib.h>
33083 int
33084 main ()
33085 {
33086  strtof(0, 0);
33087   ;
33088   return 0;
33089 }
33090 _ACEOF
33091 if ac_fn_cxx_try_compile "$LINENO"; then :
33092   glibcxx_cv_func_strtof_use=yes
33093 else
33094   glibcxx_cv_func_strtof_use=no
33095 fi
33096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33097       ac_ext=c
33098 ac_cpp='$CPP $CPPFLAGS'
33099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33102
33103
33104 fi
33105
33106   fi
33107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33108 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33109   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33110     for ac_func in strtof
33111 do :
33112   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33113 if test "x$ac_cv_func_strtof" = x""yes; then :
33114   cat >>confdefs.h <<_ACEOF
33115 #define HAVE_STRTOF 1
33116 _ACEOF
33117
33118 fi
33119 done
33120
33121   fi
33122
33123
33124
33125
33126   CXXFLAGS="$ac_save_CXXFLAGS"
33127
33128
33129     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33130
33131     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33132
33133     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33134
33135     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33136
33137
33138     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33139
33140     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33141
33142     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33143
33144     ;;
33145
33146   *-aix*)
33147
33148   # If we're not using GNU ld, then there's no point in even trying these
33149   # tests.  Check for that first.  We should have already tested for gld
33150   # by now (in libtool), but require it now just to be safe...
33151   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33152   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33153
33154
33155
33156   # The name set by libtool depends on the version of libtool.  Shame on us
33157   # for depending on an impl detail, but c'est la vie.  Older versions used
33158   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33159   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33160   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33161   # set (hence we're using an older libtool), then set it.
33162   if test x${with_gnu_ld+set} != xset; then
33163     if test x${ac_cv_prog_gnu_ld+set} != xset; then
33164       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33165       with_gnu_ld=no
33166     else
33167       with_gnu_ld=$ac_cv_prog_gnu_ld
33168     fi
33169   fi
33170
33171   # Start by getting the version number.  I think the libtool test already
33172   # does some of this, but throws away the result.
33173   glibcxx_ld_is_gold=no
33174   if test x"$with_gnu_ld" = x"yes"; then
33175     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33176 $as_echo_n "checking for ld version... " >&6; }
33177
33178     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33179       glibcxx_ld_is_gold=yes
33180     fi
33181     ldver=`$LD --version 2>/dev/null |
33182            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'`
33183
33184     glibcxx_gnu_ld_version=`echo $ldver | \
33185            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33187 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33188   fi
33189
33190   # Set --gc-sections.
33191   glibcxx_have_gc_sections=no
33192   if test "$glibcxx_ld_is_gold" = "yes"; then
33193     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33194       glibcxx_have_gc_sections=yes
33195     fi
33196   else
33197     glibcxx_gcsections_min_ld=21602
33198     if test x"$with_gnu_ld" = x"yes" &&
33199         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33200       glibcxx_have_gc_sections=yes
33201     fi
33202   fi
33203   if test "$glibcxx_have_gc_sections" = "yes"; then
33204     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33205     # NB: This flag only works reliably after 2.16.1. Configure tests
33206     # for this are difficult, so hard wire a value that should work.
33207
33208     ac_test_CFLAGS="${CFLAGS+set}"
33209     ac_save_CFLAGS="$CFLAGS"
33210     CFLAGS='-Wl,--gc-sections'
33211
33212     # Check for -Wl,--gc-sections
33213     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33214 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33215     if test x$gcc_no_link = xyes; then
33216   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33217 fi
33218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33219 /* end confdefs.h.  */
33220  int one(void) { return 1; }
33221      int two(void) { return 2; }
33222
33223 int
33224 main ()
33225 {
33226  two();
33227   ;
33228   return 0;
33229 }
33230 _ACEOF
33231 if ac_fn_c_try_link "$LINENO"; then :
33232   ac_gcsections=yes
33233 else
33234   ac_gcsections=no
33235 fi
33236 rm -f core conftest.err conftest.$ac_objext \
33237     conftest$ac_exeext conftest.$ac_ext
33238     if test "$ac_gcsections" = "yes"; then
33239       rm -f conftest.c
33240       touch conftest.c
33241       if $CC -c conftest.c; then
33242         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33243            grep "Warning: gc-sections option ignored" > /dev/null; then
33244           ac_gcsections=no
33245         fi
33246       fi
33247       rm -f conftest.c conftest.o conftest
33248     fi
33249     if test "$ac_gcsections" = "yes"; then
33250       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33251     fi
33252     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33253 $as_echo "$ac_gcsections" >&6; }
33254
33255     if test "$ac_test_CFLAGS" = set; then
33256       CFLAGS="$ac_save_CFLAGS"
33257     else
33258       # this is the suspicious part
33259       CFLAGS=''
33260     fi
33261   fi
33262
33263   # Set -z,relro.
33264   # Note this is only for shared objects.
33265   ac_ld_relro=no
33266   if test x"$with_gnu_ld" = x"yes"; then
33267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33268 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33269     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33270     if test -n "$cxx_z_relo"; then
33271       OPT_LDFLAGS="-Wl,-z,relro"
33272       ac_ld_relro=yes
33273     fi
33274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33275 $as_echo "$ac_ld_relro" >&6; }
33276   fi
33277
33278   # Set linker optimization flags.
33279   if test x"$with_gnu_ld" = x"yes"; then
33280     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33281   fi
33282
33283
33284
33285
33286
33287   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33288   ac_save_CXXFLAGS="$CXXFLAGS"
33289   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33290
33291     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33292 $as_echo_n "checking for sin in -lm... " >&6; }
33293 if test "${ac_cv_lib_m_sin+set}" = set; then :
33294   $as_echo_n "(cached) " >&6
33295 else
33296   ac_check_lib_save_LIBS=$LIBS
33297 LIBS="-lm  $LIBS"
33298 if test x$gcc_no_link = xyes; then
33299   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33300 fi
33301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33302 /* end confdefs.h.  */
33303
33304 /* Override any GCC internal prototype to avoid an error.
33305    Use char because int might match the return type of a GCC
33306    builtin and then its argument prototype would still apply.  */
33307 #ifdef __cplusplus
33308 extern "C"
33309 #endif
33310 char sin ();
33311 int
33312 main ()
33313 {
33314 return sin ();
33315   ;
33316   return 0;
33317 }
33318 _ACEOF
33319 if ac_fn_c_try_link "$LINENO"; then :
33320   ac_cv_lib_m_sin=yes
33321 else
33322   ac_cv_lib_m_sin=no
33323 fi
33324 rm -f core conftest.err conftest.$ac_objext \
33325     conftest$ac_exeext conftest.$ac_ext
33326 LIBS=$ac_check_lib_save_LIBS
33327 fi
33328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33329 $as_echo "$ac_cv_lib_m_sin" >&6; }
33330 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33331   libm="-lm"
33332 fi
33333
33334   ac_save_LIBS="$LIBS"
33335   LIBS="$LIBS $libm"
33336
33337
33338
33339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33340 $as_echo_n "checking for isinf declaration... " >&6; }
33341   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33342     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33343   $as_echo_n "(cached) " >&6
33344 else
33345
33346
33347       ac_ext=cpp
33348 ac_cpp='$CXXCPP $CPPFLAGS'
33349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33352
33353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33354 /* end confdefs.h.  */
33355 #include <math.h>
33356                       #ifdef HAVE_IEEEFP_H
33357                       #include <ieeefp.h>
33358                       #endif
33359
33360 int
33361 main ()
33362 {
33363  isinf(0);
33364   ;
33365   return 0;
33366 }
33367 _ACEOF
33368 if ac_fn_cxx_try_compile "$LINENO"; then :
33369   glibcxx_cv_func_isinf_use=yes
33370 else
33371   glibcxx_cv_func_isinf_use=no
33372 fi
33373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33374       ac_ext=c
33375 ac_cpp='$CPP $CPPFLAGS'
33376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33379
33380
33381 fi
33382
33383   fi
33384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33385 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33386
33387   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33388     for ac_func in isinf
33389 do :
33390   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33391 if test "x$ac_cv_func_isinf" = x""yes; then :
33392   cat >>confdefs.h <<_ACEOF
33393 #define HAVE_ISINF 1
33394 _ACEOF
33395
33396 fi
33397 done
33398
33399   else
33400
33401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33402 $as_echo_n "checking for _isinf declaration... " >&6; }
33403   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33404     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33405   $as_echo_n "(cached) " >&6
33406 else
33407
33408
33409       ac_ext=cpp
33410 ac_cpp='$CXXCPP $CPPFLAGS'
33411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33414
33415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33416 /* end confdefs.h.  */
33417 #include <math.h>
33418                       #ifdef HAVE_IEEEFP_H
33419                       #include <ieeefp.h>
33420                       #endif
33421
33422 int
33423 main ()
33424 {
33425  _isinf(0);
33426   ;
33427   return 0;
33428 }
33429 _ACEOF
33430 if ac_fn_cxx_try_compile "$LINENO"; then :
33431   glibcxx_cv_func__isinf_use=yes
33432 else
33433   glibcxx_cv_func__isinf_use=no
33434 fi
33435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33436       ac_ext=c
33437 ac_cpp='$CPP $CPPFLAGS'
33438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33441
33442
33443 fi
33444
33445   fi
33446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33447 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33448
33449     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33450       for ac_func in _isinf
33451 do :
33452   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33453 if test "x$ac_cv_func__isinf" = x""yes; then :
33454   cat >>confdefs.h <<_ACEOF
33455 #define HAVE__ISINF 1
33456 _ACEOF
33457
33458 fi
33459 done
33460
33461     fi
33462   fi
33463
33464
33465
33466
33467
33468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33469 $as_echo_n "checking for isnan declaration... " >&6; }
33470   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33471     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33472   $as_echo_n "(cached) " >&6
33473 else
33474
33475
33476       ac_ext=cpp
33477 ac_cpp='$CXXCPP $CPPFLAGS'
33478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33481
33482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33483 /* end confdefs.h.  */
33484 #include <math.h>
33485                       #ifdef HAVE_IEEEFP_H
33486                       #include <ieeefp.h>
33487                       #endif
33488
33489 int
33490 main ()
33491 {
33492  isnan(0);
33493   ;
33494   return 0;
33495 }
33496 _ACEOF
33497 if ac_fn_cxx_try_compile "$LINENO"; then :
33498   glibcxx_cv_func_isnan_use=yes
33499 else
33500   glibcxx_cv_func_isnan_use=no
33501 fi
33502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33503       ac_ext=c
33504 ac_cpp='$CPP $CPPFLAGS'
33505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33508
33509
33510 fi
33511
33512   fi
33513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33514 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33515
33516   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33517     for ac_func in isnan
33518 do :
33519   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33520 if test "x$ac_cv_func_isnan" = x""yes; then :
33521   cat >>confdefs.h <<_ACEOF
33522 #define HAVE_ISNAN 1
33523 _ACEOF
33524
33525 fi
33526 done
33527
33528   else
33529
33530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33531 $as_echo_n "checking for _isnan declaration... " >&6; }
33532   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33533     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33534   $as_echo_n "(cached) " >&6
33535 else
33536
33537
33538       ac_ext=cpp
33539 ac_cpp='$CXXCPP $CPPFLAGS'
33540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33543
33544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33545 /* end confdefs.h.  */
33546 #include <math.h>
33547                       #ifdef HAVE_IEEEFP_H
33548                       #include <ieeefp.h>
33549                       #endif
33550
33551 int
33552 main ()
33553 {
33554  _isnan(0);
33555   ;
33556   return 0;
33557 }
33558 _ACEOF
33559 if ac_fn_cxx_try_compile "$LINENO"; then :
33560   glibcxx_cv_func__isnan_use=yes
33561 else
33562   glibcxx_cv_func__isnan_use=no
33563 fi
33564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33565       ac_ext=c
33566 ac_cpp='$CPP $CPPFLAGS'
33567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33570
33571
33572 fi
33573
33574   fi
33575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33576 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33577
33578     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33579       for ac_func in _isnan
33580 do :
33581   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33582 if test "x$ac_cv_func__isnan" = x""yes; then :
33583   cat >>confdefs.h <<_ACEOF
33584 #define HAVE__ISNAN 1
33585 _ACEOF
33586
33587 fi
33588 done
33589
33590     fi
33591   fi
33592
33593
33594
33595
33596
33597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33598 $as_echo_n "checking for finite declaration... " >&6; }
33599   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33600     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33601   $as_echo_n "(cached) " >&6
33602 else
33603
33604
33605       ac_ext=cpp
33606 ac_cpp='$CXXCPP $CPPFLAGS'
33607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33610
33611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33612 /* end confdefs.h.  */
33613 #include <math.h>
33614                       #ifdef HAVE_IEEEFP_H
33615                       #include <ieeefp.h>
33616                       #endif
33617
33618 int
33619 main ()
33620 {
33621  finite(0);
33622   ;
33623   return 0;
33624 }
33625 _ACEOF
33626 if ac_fn_cxx_try_compile "$LINENO"; then :
33627   glibcxx_cv_func_finite_use=yes
33628 else
33629   glibcxx_cv_func_finite_use=no
33630 fi
33631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33632       ac_ext=c
33633 ac_cpp='$CPP $CPPFLAGS'
33634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33637
33638
33639 fi
33640
33641   fi
33642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33643 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33644
33645   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33646     for ac_func in finite
33647 do :
33648   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33649 if test "x$ac_cv_func_finite" = x""yes; then :
33650   cat >>confdefs.h <<_ACEOF
33651 #define HAVE_FINITE 1
33652 _ACEOF
33653
33654 fi
33655 done
33656
33657   else
33658
33659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33660 $as_echo_n "checking for _finite declaration... " >&6; }
33661   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33662     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33663   $as_echo_n "(cached) " >&6
33664 else
33665
33666
33667       ac_ext=cpp
33668 ac_cpp='$CXXCPP $CPPFLAGS'
33669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33672
33673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33674 /* end confdefs.h.  */
33675 #include <math.h>
33676                       #ifdef HAVE_IEEEFP_H
33677                       #include <ieeefp.h>
33678                       #endif
33679
33680 int
33681 main ()
33682 {
33683  _finite(0);
33684   ;
33685   return 0;
33686 }
33687 _ACEOF
33688 if ac_fn_cxx_try_compile "$LINENO"; then :
33689   glibcxx_cv_func__finite_use=yes
33690 else
33691   glibcxx_cv_func__finite_use=no
33692 fi
33693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33694       ac_ext=c
33695 ac_cpp='$CPP $CPPFLAGS'
33696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33699
33700
33701 fi
33702
33703   fi
33704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33705 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33706
33707     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33708       for ac_func in _finite
33709 do :
33710   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33711 if test "x$ac_cv_func__finite" = x""yes; then :
33712   cat >>confdefs.h <<_ACEOF
33713 #define HAVE__FINITE 1
33714 _ACEOF
33715
33716 fi
33717 done
33718
33719     fi
33720   fi
33721
33722
33723
33724
33725
33726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33727 $as_echo_n "checking for sincos declaration... " >&6; }
33728   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33729     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33730   $as_echo_n "(cached) " >&6
33731 else
33732
33733
33734       ac_ext=cpp
33735 ac_cpp='$CXXCPP $CPPFLAGS'
33736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33739
33740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33741 /* end confdefs.h.  */
33742 #include <math.h>
33743 int
33744 main ()
33745 {
33746  sincos(0, 0, 0);
33747   ;
33748   return 0;
33749 }
33750 _ACEOF
33751 if ac_fn_cxx_try_compile "$LINENO"; then :
33752   glibcxx_cv_func_sincos_use=yes
33753 else
33754   glibcxx_cv_func_sincos_use=no
33755 fi
33756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33757       ac_ext=c
33758 ac_cpp='$CPP $CPPFLAGS'
33759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33762
33763
33764 fi
33765
33766   fi
33767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33768 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33769
33770   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33771     for ac_func in sincos
33772 do :
33773   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33774 if test "x$ac_cv_func_sincos" = x""yes; then :
33775   cat >>confdefs.h <<_ACEOF
33776 #define HAVE_SINCOS 1
33777 _ACEOF
33778
33779 fi
33780 done
33781
33782   else
33783
33784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33785 $as_echo_n "checking for _sincos declaration... " >&6; }
33786   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33787     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33788   $as_echo_n "(cached) " >&6
33789 else
33790
33791
33792       ac_ext=cpp
33793 ac_cpp='$CXXCPP $CPPFLAGS'
33794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33797
33798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33799 /* end confdefs.h.  */
33800 #include <math.h>
33801 int
33802 main ()
33803 {
33804  _sincos(0, 0, 0);
33805   ;
33806   return 0;
33807 }
33808 _ACEOF
33809 if ac_fn_cxx_try_compile "$LINENO"; then :
33810   glibcxx_cv_func__sincos_use=yes
33811 else
33812   glibcxx_cv_func__sincos_use=no
33813 fi
33814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33815       ac_ext=c
33816 ac_cpp='$CPP $CPPFLAGS'
33817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33820
33821
33822 fi
33823
33824   fi
33825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33826 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33827
33828     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33829       for ac_func in _sincos
33830 do :
33831   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33832 if test "x$ac_cv_func__sincos" = x""yes; then :
33833   cat >>confdefs.h <<_ACEOF
33834 #define HAVE__SINCOS 1
33835 _ACEOF
33836
33837 fi
33838 done
33839
33840     fi
33841   fi
33842
33843
33844
33845
33846
33847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33848 $as_echo_n "checking for fpclass declaration... " >&6; }
33849   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33850     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33851   $as_echo_n "(cached) " >&6
33852 else
33853
33854
33855       ac_ext=cpp
33856 ac_cpp='$CXXCPP $CPPFLAGS'
33857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33860
33861       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33862 /* end confdefs.h.  */
33863 #include <math.h>
33864                       #ifdef HAVE_IEEEFP_H
33865                       #include <ieeefp.h>
33866                       #endif
33867
33868 int
33869 main ()
33870 {
33871  fpclass(0);
33872   ;
33873   return 0;
33874 }
33875 _ACEOF
33876 if ac_fn_cxx_try_compile "$LINENO"; then :
33877   glibcxx_cv_func_fpclass_use=yes
33878 else
33879   glibcxx_cv_func_fpclass_use=no
33880 fi
33881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33882       ac_ext=c
33883 ac_cpp='$CPP $CPPFLAGS'
33884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33887
33888
33889 fi
33890
33891   fi
33892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33893 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33894
33895   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33896     for ac_func in fpclass
33897 do :
33898   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33899 if test "x$ac_cv_func_fpclass" = x""yes; then :
33900   cat >>confdefs.h <<_ACEOF
33901 #define HAVE_FPCLASS 1
33902 _ACEOF
33903
33904 fi
33905 done
33906
33907   else
33908
33909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33910 $as_echo_n "checking for _fpclass declaration... " >&6; }
33911   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33912     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33913   $as_echo_n "(cached) " >&6
33914 else
33915
33916
33917       ac_ext=cpp
33918 ac_cpp='$CXXCPP $CPPFLAGS'
33919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33922
33923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33924 /* end confdefs.h.  */
33925 #include <math.h>
33926                       #ifdef HAVE_IEEEFP_H
33927                       #include <ieeefp.h>
33928                       #endif
33929
33930 int
33931 main ()
33932 {
33933  _fpclass(0);
33934   ;
33935   return 0;
33936 }
33937 _ACEOF
33938 if ac_fn_cxx_try_compile "$LINENO"; then :
33939   glibcxx_cv_func__fpclass_use=yes
33940 else
33941   glibcxx_cv_func__fpclass_use=no
33942 fi
33943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33944       ac_ext=c
33945 ac_cpp='$CPP $CPPFLAGS'
33946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33949
33950
33951 fi
33952
33953   fi
33954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33955 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33956
33957     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33958       for ac_func in _fpclass
33959 do :
33960   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33961 if test "x$ac_cv_func__fpclass" = x""yes; then :
33962   cat >>confdefs.h <<_ACEOF
33963 #define HAVE__FPCLASS 1
33964 _ACEOF
33965
33966 fi
33967 done
33968
33969     fi
33970   fi
33971
33972
33973
33974
33975
33976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33977 $as_echo_n "checking for qfpclass declaration... " >&6; }
33978   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33979     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33980   $as_echo_n "(cached) " >&6
33981 else
33982
33983
33984       ac_ext=cpp
33985 ac_cpp='$CXXCPP $CPPFLAGS'
33986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33989
33990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33991 /* end confdefs.h.  */
33992 #include <math.h>
33993                       #ifdef HAVE_IEEEFP_H
33994                       #include <ieeefp.h>
33995                       #endif
33996
33997 int
33998 main ()
33999 {
34000  qfpclass(0);
34001   ;
34002   return 0;
34003 }
34004 _ACEOF
34005 if ac_fn_cxx_try_compile "$LINENO"; then :
34006   glibcxx_cv_func_qfpclass_use=yes
34007 else
34008   glibcxx_cv_func_qfpclass_use=no
34009 fi
34010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34011       ac_ext=c
34012 ac_cpp='$CPP $CPPFLAGS'
34013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34016
34017
34018 fi
34019
34020   fi
34021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34022 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34023
34024   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34025     for ac_func in qfpclass
34026 do :
34027   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34028 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34029   cat >>confdefs.h <<_ACEOF
34030 #define HAVE_QFPCLASS 1
34031 _ACEOF
34032
34033 fi
34034 done
34035
34036   else
34037
34038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34039 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34040   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34041     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34042   $as_echo_n "(cached) " >&6
34043 else
34044
34045
34046       ac_ext=cpp
34047 ac_cpp='$CXXCPP $CPPFLAGS'
34048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34051
34052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34053 /* end confdefs.h.  */
34054 #include <math.h>
34055                       #ifdef HAVE_IEEEFP_H
34056                       #include <ieeefp.h>
34057                       #endif
34058
34059 int
34060 main ()
34061 {
34062  _qfpclass(0);
34063   ;
34064   return 0;
34065 }
34066 _ACEOF
34067 if ac_fn_cxx_try_compile "$LINENO"; then :
34068   glibcxx_cv_func__qfpclass_use=yes
34069 else
34070   glibcxx_cv_func__qfpclass_use=no
34071 fi
34072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34073       ac_ext=c
34074 ac_cpp='$CPP $CPPFLAGS'
34075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34078
34079
34080 fi
34081
34082   fi
34083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34084 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34085
34086     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34087       for ac_func in _qfpclass
34088 do :
34089   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34090 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34091   cat >>confdefs.h <<_ACEOF
34092 #define HAVE__QFPCLASS 1
34093 _ACEOF
34094
34095 fi
34096 done
34097
34098     fi
34099   fi
34100
34101
34102
34103
34104
34105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34106 $as_echo_n "checking for hypot declaration... " >&6; }
34107   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34108     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34109   $as_echo_n "(cached) " >&6
34110 else
34111
34112
34113       ac_ext=cpp
34114 ac_cpp='$CXXCPP $CPPFLAGS'
34115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34118
34119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34120 /* end confdefs.h.  */
34121 #include <math.h>
34122 int
34123 main ()
34124 {
34125  hypot(0, 0);
34126   ;
34127   return 0;
34128 }
34129 _ACEOF
34130 if ac_fn_cxx_try_compile "$LINENO"; then :
34131   glibcxx_cv_func_hypot_use=yes
34132 else
34133   glibcxx_cv_func_hypot_use=no
34134 fi
34135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34136       ac_ext=c
34137 ac_cpp='$CPP $CPPFLAGS'
34138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34141
34142
34143 fi
34144
34145   fi
34146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34147 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34148
34149   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34150     for ac_func in hypot
34151 do :
34152   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34153 if test "x$ac_cv_func_hypot" = x""yes; then :
34154   cat >>confdefs.h <<_ACEOF
34155 #define HAVE_HYPOT 1
34156 _ACEOF
34157
34158 fi
34159 done
34160
34161   else
34162
34163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34164 $as_echo_n "checking for _hypot declaration... " >&6; }
34165   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34166     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34167   $as_echo_n "(cached) " >&6
34168 else
34169
34170
34171       ac_ext=cpp
34172 ac_cpp='$CXXCPP $CPPFLAGS'
34173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34176
34177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34178 /* end confdefs.h.  */
34179 #include <math.h>
34180 int
34181 main ()
34182 {
34183  _hypot(0, 0);
34184   ;
34185   return 0;
34186 }
34187 _ACEOF
34188 if ac_fn_cxx_try_compile "$LINENO"; then :
34189   glibcxx_cv_func__hypot_use=yes
34190 else
34191   glibcxx_cv_func__hypot_use=no
34192 fi
34193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34194       ac_ext=c
34195 ac_cpp='$CPP $CPPFLAGS'
34196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34199
34200
34201 fi
34202
34203   fi
34204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34205 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34206
34207     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34208       for ac_func in _hypot
34209 do :
34210   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34211 if test "x$ac_cv_func__hypot" = x""yes; then :
34212   cat >>confdefs.h <<_ACEOF
34213 #define HAVE__HYPOT 1
34214 _ACEOF
34215
34216 fi
34217 done
34218
34219     fi
34220   fi
34221
34222
34223
34224
34225
34226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34227 $as_echo_n "checking for float trig functions... " >&6; }
34228   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34229   $as_echo_n "(cached) " >&6
34230 else
34231
34232
34233     ac_ext=cpp
34234 ac_cpp='$CXXCPP $CPPFLAGS'
34235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34238
34239     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34240 /* end confdefs.h.  */
34241 #include <math.h>
34242 int
34243 main ()
34244 {
34245 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34246   ;
34247   return 0;
34248 }
34249 _ACEOF
34250 if ac_fn_cxx_try_compile "$LINENO"; then :
34251   glibcxx_cv_func_float_trig_use=yes
34252 else
34253   glibcxx_cv_func_float_trig_use=no
34254 fi
34255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34256     ac_ext=c
34257 ac_cpp='$CPP $CPPFLAGS'
34258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34261
34262 fi
34263
34264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34265 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34266   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34267     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34268 do :
34269   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34271 eval as_val=\$$as_ac_var
34272    if test "x$as_val" = x""yes; then :
34273   cat >>confdefs.h <<_ACEOF
34274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34275 _ACEOF
34276
34277 fi
34278 done
34279
34280   else
34281     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34282 $as_echo_n "checking for _float trig functions... " >&6; }
34283     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34284   $as_echo_n "(cached) " >&6
34285 else
34286
34287
34288       ac_ext=cpp
34289 ac_cpp='$CXXCPP $CPPFLAGS'
34290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34293
34294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34295 /* end confdefs.h.  */
34296 #include <math.h>
34297 int
34298 main ()
34299 {
34300 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34301   ;
34302   return 0;
34303 }
34304 _ACEOF
34305 if ac_fn_cxx_try_compile "$LINENO"; then :
34306   glibcxx_cv_func__float_trig_use=yes
34307 else
34308   glibcxx_cv_func__float_trig_use=no
34309 fi
34310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34311       ac_ext=c
34312 ac_cpp='$CPP $CPPFLAGS'
34313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34316
34317 fi
34318
34319     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34320 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34321     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34322       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34323 do :
34324   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34326 eval as_val=\$$as_ac_var
34327    if test "x$as_val" = x""yes; then :
34328   cat >>confdefs.h <<_ACEOF
34329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34330 _ACEOF
34331
34332 fi
34333 done
34334
34335     fi
34336   fi
34337
34338
34339
34340
34341
34342     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34343 $as_echo_n "checking for float round functions... " >&6; }
34344   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34345   $as_echo_n "(cached) " >&6
34346 else
34347
34348
34349     ac_ext=cpp
34350 ac_cpp='$CXXCPP $CPPFLAGS'
34351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34354
34355     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34356 /* end confdefs.h.  */
34357 #include <math.h>
34358 int
34359 main ()
34360 {
34361 ceilf (0); floorf (0);
34362   ;
34363   return 0;
34364 }
34365 _ACEOF
34366 if ac_fn_cxx_try_compile "$LINENO"; then :
34367   glibcxx_cv_func_float_round_use=yes
34368 else
34369   glibcxx_cv_func_float_round_use=no
34370 fi
34371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34372     ac_ext=c
34373 ac_cpp='$CPP $CPPFLAGS'
34374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34377
34378 fi
34379
34380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34381 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34382   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34383     for ac_func in ceilf floorf
34384 do :
34385   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34386 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34387 eval as_val=\$$as_ac_var
34388    if test "x$as_val" = x""yes; then :
34389   cat >>confdefs.h <<_ACEOF
34390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34391 _ACEOF
34392
34393 fi
34394 done
34395
34396   else
34397     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34398 $as_echo_n "checking for _float round functions... " >&6; }
34399     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34400   $as_echo_n "(cached) " >&6
34401 else
34402
34403
34404       ac_ext=cpp
34405 ac_cpp='$CXXCPP $CPPFLAGS'
34406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34409
34410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34411 /* end confdefs.h.  */
34412 #include <math.h>
34413 int
34414 main ()
34415 {
34416 _ceilf (0); _floorf (0);
34417   ;
34418   return 0;
34419 }
34420 _ACEOF
34421 if ac_fn_cxx_try_compile "$LINENO"; then :
34422   glibcxx_cv_func__float_round_use=yes
34423 else
34424   glibcxx_cv_func__float_round_use=no
34425 fi
34426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34427       ac_ext=c
34428 ac_cpp='$CPP $CPPFLAGS'
34429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34432
34433 fi
34434
34435     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34436 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34437     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34438       for ac_func in _ceilf _floorf
34439 do :
34440   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34442 eval as_val=\$$as_ac_var
34443    if test "x$as_val" = x""yes; then :
34444   cat >>confdefs.h <<_ACEOF
34445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34446 _ACEOF
34447
34448 fi
34449 done
34450
34451     fi
34452   fi
34453
34454
34455
34456
34457
34458
34459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34460 $as_echo_n "checking for expf declaration... " >&6; }
34461   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34462     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34463   $as_echo_n "(cached) " >&6
34464 else
34465
34466
34467       ac_ext=cpp
34468 ac_cpp='$CXXCPP $CPPFLAGS'
34469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34472
34473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34474 /* end confdefs.h.  */
34475 #include <math.h>
34476                       #ifdef HAVE_IEEEFP_H
34477                       #include <ieeefp.h>
34478                       #endif
34479
34480 int
34481 main ()
34482 {
34483  expf(0);
34484   ;
34485   return 0;
34486 }
34487 _ACEOF
34488 if ac_fn_cxx_try_compile "$LINENO"; then :
34489   glibcxx_cv_func_expf_use=yes
34490 else
34491   glibcxx_cv_func_expf_use=no
34492 fi
34493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494       ac_ext=c
34495 ac_cpp='$CPP $CPPFLAGS'
34496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34499
34500
34501 fi
34502
34503   fi
34504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34505 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34506
34507   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34508     for ac_func in expf
34509 do :
34510   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34511 if test "x$ac_cv_func_expf" = x""yes; then :
34512   cat >>confdefs.h <<_ACEOF
34513 #define HAVE_EXPF 1
34514 _ACEOF
34515
34516 fi
34517 done
34518
34519   else
34520
34521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34522 $as_echo_n "checking for _expf declaration... " >&6; }
34523   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34524     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34525   $as_echo_n "(cached) " >&6
34526 else
34527
34528
34529       ac_ext=cpp
34530 ac_cpp='$CXXCPP $CPPFLAGS'
34531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34534
34535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34536 /* end confdefs.h.  */
34537 #include <math.h>
34538                       #ifdef HAVE_IEEEFP_H
34539                       #include <ieeefp.h>
34540                       #endif
34541
34542 int
34543 main ()
34544 {
34545  _expf(0);
34546   ;
34547   return 0;
34548 }
34549 _ACEOF
34550 if ac_fn_cxx_try_compile "$LINENO"; then :
34551   glibcxx_cv_func__expf_use=yes
34552 else
34553   glibcxx_cv_func__expf_use=no
34554 fi
34555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34556       ac_ext=c
34557 ac_cpp='$CPP $CPPFLAGS'
34558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34561
34562
34563 fi
34564
34565   fi
34566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34567 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34568
34569     if test x$glibcxx_cv_func__expf_use = x"yes"; then
34570       for ac_func in _expf
34571 do :
34572   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34573 if test "x$ac_cv_func__expf" = x""yes; then :
34574   cat >>confdefs.h <<_ACEOF
34575 #define HAVE__EXPF 1
34576 _ACEOF
34577
34578 fi
34579 done
34580
34581     fi
34582   fi
34583
34584
34585
34586
34587
34588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34589 $as_echo_n "checking for isnanf declaration... " >&6; }
34590   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34591     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34592   $as_echo_n "(cached) " >&6
34593 else
34594
34595
34596       ac_ext=cpp
34597 ac_cpp='$CXXCPP $CPPFLAGS'
34598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34601
34602       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34603 /* end confdefs.h.  */
34604 #include <math.h>
34605                       #ifdef HAVE_IEEEFP_H
34606                       #include <ieeefp.h>
34607                       #endif
34608
34609 int
34610 main ()
34611 {
34612  isnanf(0);
34613   ;
34614   return 0;
34615 }
34616 _ACEOF
34617 if ac_fn_cxx_try_compile "$LINENO"; then :
34618   glibcxx_cv_func_isnanf_use=yes
34619 else
34620   glibcxx_cv_func_isnanf_use=no
34621 fi
34622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34623       ac_ext=c
34624 ac_cpp='$CPP $CPPFLAGS'
34625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34628
34629
34630 fi
34631
34632   fi
34633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34634 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34635
34636   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34637     for ac_func in isnanf
34638 do :
34639   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34640 if test "x$ac_cv_func_isnanf" = x""yes; then :
34641   cat >>confdefs.h <<_ACEOF
34642 #define HAVE_ISNANF 1
34643 _ACEOF
34644
34645 fi
34646 done
34647
34648   else
34649
34650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34651 $as_echo_n "checking for _isnanf declaration... " >&6; }
34652   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34653     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34654   $as_echo_n "(cached) " >&6
34655 else
34656
34657
34658       ac_ext=cpp
34659 ac_cpp='$CXXCPP $CPPFLAGS'
34660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34663
34664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34665 /* end confdefs.h.  */
34666 #include <math.h>
34667                       #ifdef HAVE_IEEEFP_H
34668                       #include <ieeefp.h>
34669                       #endif
34670
34671 int
34672 main ()
34673 {
34674  _isnanf(0);
34675   ;
34676   return 0;
34677 }
34678 _ACEOF
34679 if ac_fn_cxx_try_compile "$LINENO"; then :
34680   glibcxx_cv_func__isnanf_use=yes
34681 else
34682   glibcxx_cv_func__isnanf_use=no
34683 fi
34684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34685       ac_ext=c
34686 ac_cpp='$CPP $CPPFLAGS'
34687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34690
34691
34692 fi
34693
34694   fi
34695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34696 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34697
34698     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34699       for ac_func in _isnanf
34700 do :
34701   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34702 if test "x$ac_cv_func__isnanf" = x""yes; then :
34703   cat >>confdefs.h <<_ACEOF
34704 #define HAVE__ISNANF 1
34705 _ACEOF
34706
34707 fi
34708 done
34709
34710     fi
34711   fi
34712
34713
34714
34715
34716
34717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34718 $as_echo_n "checking for isinff declaration... " >&6; }
34719   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34720     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34721   $as_echo_n "(cached) " >&6
34722 else
34723
34724
34725       ac_ext=cpp
34726 ac_cpp='$CXXCPP $CPPFLAGS'
34727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34730
34731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34732 /* end confdefs.h.  */
34733 #include <math.h>
34734                       #ifdef HAVE_IEEEFP_H
34735                       #include <ieeefp.h>
34736                       #endif
34737
34738 int
34739 main ()
34740 {
34741  isinff(0);
34742   ;
34743   return 0;
34744 }
34745 _ACEOF
34746 if ac_fn_cxx_try_compile "$LINENO"; then :
34747   glibcxx_cv_func_isinff_use=yes
34748 else
34749   glibcxx_cv_func_isinff_use=no
34750 fi
34751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34752       ac_ext=c
34753 ac_cpp='$CPP $CPPFLAGS'
34754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34757
34758
34759 fi
34760
34761   fi
34762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34763 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34764
34765   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34766     for ac_func in isinff
34767 do :
34768   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34769 if test "x$ac_cv_func_isinff" = x""yes; then :
34770   cat >>confdefs.h <<_ACEOF
34771 #define HAVE_ISINFF 1
34772 _ACEOF
34773
34774 fi
34775 done
34776
34777   else
34778
34779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34780 $as_echo_n "checking for _isinff declaration... " >&6; }
34781   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34782     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34783   $as_echo_n "(cached) " >&6
34784 else
34785
34786
34787       ac_ext=cpp
34788 ac_cpp='$CXXCPP $CPPFLAGS'
34789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34792
34793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34794 /* end confdefs.h.  */
34795 #include <math.h>
34796                       #ifdef HAVE_IEEEFP_H
34797                       #include <ieeefp.h>
34798                       #endif
34799
34800 int
34801 main ()
34802 {
34803  _isinff(0);
34804   ;
34805   return 0;
34806 }
34807 _ACEOF
34808 if ac_fn_cxx_try_compile "$LINENO"; then :
34809   glibcxx_cv_func__isinff_use=yes
34810 else
34811   glibcxx_cv_func__isinff_use=no
34812 fi
34813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34814       ac_ext=c
34815 ac_cpp='$CPP $CPPFLAGS'
34816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34819
34820
34821 fi
34822
34823   fi
34824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34825 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34826
34827     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34828       for ac_func in _isinff
34829 do :
34830   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34831 if test "x$ac_cv_func__isinff" = x""yes; then :
34832   cat >>confdefs.h <<_ACEOF
34833 #define HAVE__ISINFF 1
34834 _ACEOF
34835
34836 fi
34837 done
34838
34839     fi
34840   fi
34841
34842
34843
34844
34845
34846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34847 $as_echo_n "checking for atan2f declaration... " >&6; }
34848   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34849     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34850   $as_echo_n "(cached) " >&6
34851 else
34852
34853
34854       ac_ext=cpp
34855 ac_cpp='$CXXCPP $CPPFLAGS'
34856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34859
34860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34861 /* end confdefs.h.  */
34862 #include <math.h>
34863 int
34864 main ()
34865 {
34866  atan2f(0, 0);
34867   ;
34868   return 0;
34869 }
34870 _ACEOF
34871 if ac_fn_cxx_try_compile "$LINENO"; then :
34872   glibcxx_cv_func_atan2f_use=yes
34873 else
34874   glibcxx_cv_func_atan2f_use=no
34875 fi
34876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34877       ac_ext=c
34878 ac_cpp='$CPP $CPPFLAGS'
34879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34882
34883
34884 fi
34885
34886   fi
34887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34888 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34889
34890   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34891     for ac_func in atan2f
34892 do :
34893   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34894 if test "x$ac_cv_func_atan2f" = x""yes; then :
34895   cat >>confdefs.h <<_ACEOF
34896 #define HAVE_ATAN2F 1
34897 _ACEOF
34898
34899 fi
34900 done
34901
34902   else
34903
34904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34905 $as_echo_n "checking for _atan2f declaration... " >&6; }
34906   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34907     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34908   $as_echo_n "(cached) " >&6
34909 else
34910
34911
34912       ac_ext=cpp
34913 ac_cpp='$CXXCPP $CPPFLAGS'
34914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34917
34918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34919 /* end confdefs.h.  */
34920 #include <math.h>
34921 int
34922 main ()
34923 {
34924  _atan2f(0, 0);
34925   ;
34926   return 0;
34927 }
34928 _ACEOF
34929 if ac_fn_cxx_try_compile "$LINENO"; then :
34930   glibcxx_cv_func__atan2f_use=yes
34931 else
34932   glibcxx_cv_func__atan2f_use=no
34933 fi
34934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34935       ac_ext=c
34936 ac_cpp='$CPP $CPPFLAGS'
34937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34940
34941
34942 fi
34943
34944   fi
34945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34946 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34947
34948     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34949       for ac_func in _atan2f
34950 do :
34951   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34952 if test "x$ac_cv_func__atan2f" = x""yes; then :
34953   cat >>confdefs.h <<_ACEOF
34954 #define HAVE__ATAN2F 1
34955 _ACEOF
34956
34957 fi
34958 done
34959
34960     fi
34961   fi
34962
34963
34964
34965
34966
34967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34968 $as_echo_n "checking for fabsf declaration... " >&6; }
34969   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34970     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34971   $as_echo_n "(cached) " >&6
34972 else
34973
34974
34975       ac_ext=cpp
34976 ac_cpp='$CXXCPP $CPPFLAGS'
34977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34980
34981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34982 /* end confdefs.h.  */
34983 #include <math.h>
34984                       #ifdef HAVE_IEEEFP_H
34985                       #include <ieeefp.h>
34986                       #endif
34987
34988 int
34989 main ()
34990 {
34991  fabsf(0);
34992   ;
34993   return 0;
34994 }
34995 _ACEOF
34996 if ac_fn_cxx_try_compile "$LINENO"; then :
34997   glibcxx_cv_func_fabsf_use=yes
34998 else
34999   glibcxx_cv_func_fabsf_use=no
35000 fi
35001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35002       ac_ext=c
35003 ac_cpp='$CPP $CPPFLAGS'
35004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35007
35008
35009 fi
35010
35011   fi
35012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35013 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35014
35015   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35016     for ac_func in fabsf
35017 do :
35018   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35019 if test "x$ac_cv_func_fabsf" = x""yes; then :
35020   cat >>confdefs.h <<_ACEOF
35021 #define HAVE_FABSF 1
35022 _ACEOF
35023
35024 fi
35025 done
35026
35027   else
35028
35029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35030 $as_echo_n "checking for _fabsf declaration... " >&6; }
35031   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35032     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35033   $as_echo_n "(cached) " >&6
35034 else
35035
35036
35037       ac_ext=cpp
35038 ac_cpp='$CXXCPP $CPPFLAGS'
35039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35042
35043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35044 /* end confdefs.h.  */
35045 #include <math.h>
35046                       #ifdef HAVE_IEEEFP_H
35047                       #include <ieeefp.h>
35048                       #endif
35049
35050 int
35051 main ()
35052 {
35053  _fabsf(0);
35054   ;
35055   return 0;
35056 }
35057 _ACEOF
35058 if ac_fn_cxx_try_compile "$LINENO"; then :
35059   glibcxx_cv_func__fabsf_use=yes
35060 else
35061   glibcxx_cv_func__fabsf_use=no
35062 fi
35063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35064       ac_ext=c
35065 ac_cpp='$CPP $CPPFLAGS'
35066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35069
35070
35071 fi
35072
35073   fi
35074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35075 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35076
35077     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35078       for ac_func in _fabsf
35079 do :
35080   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35081 if test "x$ac_cv_func__fabsf" = x""yes; then :
35082   cat >>confdefs.h <<_ACEOF
35083 #define HAVE__FABSF 1
35084 _ACEOF
35085
35086 fi
35087 done
35088
35089     fi
35090   fi
35091
35092
35093
35094
35095
35096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35097 $as_echo_n "checking for fmodf declaration... " >&6; }
35098   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35099     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35100   $as_echo_n "(cached) " >&6
35101 else
35102
35103
35104       ac_ext=cpp
35105 ac_cpp='$CXXCPP $CPPFLAGS'
35106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35109
35110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35111 /* end confdefs.h.  */
35112 #include <math.h>
35113 int
35114 main ()
35115 {
35116  fmodf(0, 0);
35117   ;
35118   return 0;
35119 }
35120 _ACEOF
35121 if ac_fn_cxx_try_compile "$LINENO"; then :
35122   glibcxx_cv_func_fmodf_use=yes
35123 else
35124   glibcxx_cv_func_fmodf_use=no
35125 fi
35126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35127       ac_ext=c
35128 ac_cpp='$CPP $CPPFLAGS'
35129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35132
35133
35134 fi
35135
35136   fi
35137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35138 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35139
35140   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35141     for ac_func in fmodf
35142 do :
35143   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35144 if test "x$ac_cv_func_fmodf" = x""yes; then :
35145   cat >>confdefs.h <<_ACEOF
35146 #define HAVE_FMODF 1
35147 _ACEOF
35148
35149 fi
35150 done
35151
35152   else
35153
35154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35155 $as_echo_n "checking for _fmodf declaration... " >&6; }
35156   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35157     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35158   $as_echo_n "(cached) " >&6
35159 else
35160
35161
35162       ac_ext=cpp
35163 ac_cpp='$CXXCPP $CPPFLAGS'
35164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35167
35168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35169 /* end confdefs.h.  */
35170 #include <math.h>
35171 int
35172 main ()
35173 {
35174  _fmodf(0, 0);
35175   ;
35176   return 0;
35177 }
35178 _ACEOF
35179 if ac_fn_cxx_try_compile "$LINENO"; then :
35180   glibcxx_cv_func__fmodf_use=yes
35181 else
35182   glibcxx_cv_func__fmodf_use=no
35183 fi
35184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35185       ac_ext=c
35186 ac_cpp='$CPP $CPPFLAGS'
35187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35190
35191
35192 fi
35193
35194   fi
35195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35196 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35197
35198     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35199       for ac_func in _fmodf
35200 do :
35201   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35202 if test "x$ac_cv_func__fmodf" = x""yes; then :
35203   cat >>confdefs.h <<_ACEOF
35204 #define HAVE__FMODF 1
35205 _ACEOF
35206
35207 fi
35208 done
35209
35210     fi
35211   fi
35212
35213
35214
35215
35216
35217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35218 $as_echo_n "checking for frexpf declaration... " >&6; }
35219   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35220     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35221   $as_echo_n "(cached) " >&6
35222 else
35223
35224
35225       ac_ext=cpp
35226 ac_cpp='$CXXCPP $CPPFLAGS'
35227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35230
35231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35232 /* end confdefs.h.  */
35233 #include <math.h>
35234 int
35235 main ()
35236 {
35237  frexpf(0, 0);
35238   ;
35239   return 0;
35240 }
35241 _ACEOF
35242 if ac_fn_cxx_try_compile "$LINENO"; then :
35243   glibcxx_cv_func_frexpf_use=yes
35244 else
35245   glibcxx_cv_func_frexpf_use=no
35246 fi
35247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35248       ac_ext=c
35249 ac_cpp='$CPP $CPPFLAGS'
35250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35253
35254
35255 fi
35256
35257   fi
35258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35259 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35260
35261   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35262     for ac_func in frexpf
35263 do :
35264   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35265 if test "x$ac_cv_func_frexpf" = x""yes; then :
35266   cat >>confdefs.h <<_ACEOF
35267 #define HAVE_FREXPF 1
35268 _ACEOF
35269
35270 fi
35271 done
35272
35273   else
35274
35275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35276 $as_echo_n "checking for _frexpf declaration... " >&6; }
35277   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35278     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35279   $as_echo_n "(cached) " >&6
35280 else
35281
35282
35283       ac_ext=cpp
35284 ac_cpp='$CXXCPP $CPPFLAGS'
35285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35288
35289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35290 /* end confdefs.h.  */
35291 #include <math.h>
35292 int
35293 main ()
35294 {
35295  _frexpf(0, 0);
35296   ;
35297   return 0;
35298 }
35299 _ACEOF
35300 if ac_fn_cxx_try_compile "$LINENO"; then :
35301   glibcxx_cv_func__frexpf_use=yes
35302 else
35303   glibcxx_cv_func__frexpf_use=no
35304 fi
35305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35306       ac_ext=c
35307 ac_cpp='$CPP $CPPFLAGS'
35308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35311
35312
35313 fi
35314
35315   fi
35316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35317 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35318
35319     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35320       for ac_func in _frexpf
35321 do :
35322   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35323 if test "x$ac_cv_func__frexpf" = x""yes; then :
35324   cat >>confdefs.h <<_ACEOF
35325 #define HAVE__FREXPF 1
35326 _ACEOF
35327
35328 fi
35329 done
35330
35331     fi
35332   fi
35333
35334
35335
35336
35337
35338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35339 $as_echo_n "checking for hypotf declaration... " >&6; }
35340   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35341     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35342   $as_echo_n "(cached) " >&6
35343 else
35344
35345
35346       ac_ext=cpp
35347 ac_cpp='$CXXCPP $CPPFLAGS'
35348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35351
35352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35353 /* end confdefs.h.  */
35354 #include <math.h>
35355 int
35356 main ()
35357 {
35358  hypotf(0, 0);
35359   ;
35360   return 0;
35361 }
35362 _ACEOF
35363 if ac_fn_cxx_try_compile "$LINENO"; then :
35364   glibcxx_cv_func_hypotf_use=yes
35365 else
35366   glibcxx_cv_func_hypotf_use=no
35367 fi
35368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35369       ac_ext=c
35370 ac_cpp='$CPP $CPPFLAGS'
35371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35374
35375
35376 fi
35377
35378   fi
35379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35380 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35381
35382   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35383     for ac_func in hypotf
35384 do :
35385   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35386 if test "x$ac_cv_func_hypotf" = x""yes; then :
35387   cat >>confdefs.h <<_ACEOF
35388 #define HAVE_HYPOTF 1
35389 _ACEOF
35390
35391 fi
35392 done
35393
35394   else
35395
35396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35397 $as_echo_n "checking for _hypotf declaration... " >&6; }
35398   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35399     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35400   $as_echo_n "(cached) " >&6
35401 else
35402
35403
35404       ac_ext=cpp
35405 ac_cpp='$CXXCPP $CPPFLAGS'
35406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35409
35410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35411 /* end confdefs.h.  */
35412 #include <math.h>
35413 int
35414 main ()
35415 {
35416  _hypotf(0, 0);
35417   ;
35418   return 0;
35419 }
35420 _ACEOF
35421 if ac_fn_cxx_try_compile "$LINENO"; then :
35422   glibcxx_cv_func__hypotf_use=yes
35423 else
35424   glibcxx_cv_func__hypotf_use=no
35425 fi
35426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35427       ac_ext=c
35428 ac_cpp='$CPP $CPPFLAGS'
35429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35432
35433
35434 fi
35435
35436   fi
35437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35438 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35439
35440     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35441       for ac_func in _hypotf
35442 do :
35443   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35444 if test "x$ac_cv_func__hypotf" = x""yes; then :
35445   cat >>confdefs.h <<_ACEOF
35446 #define HAVE__HYPOTF 1
35447 _ACEOF
35448
35449 fi
35450 done
35451
35452     fi
35453   fi
35454
35455
35456
35457
35458
35459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35460 $as_echo_n "checking for ldexpf declaration... " >&6; }
35461   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35462     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35463   $as_echo_n "(cached) " >&6
35464 else
35465
35466
35467       ac_ext=cpp
35468 ac_cpp='$CXXCPP $CPPFLAGS'
35469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35472
35473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35474 /* end confdefs.h.  */
35475 #include <math.h>
35476 int
35477 main ()
35478 {
35479  ldexpf(0, 0);
35480   ;
35481   return 0;
35482 }
35483 _ACEOF
35484 if ac_fn_cxx_try_compile "$LINENO"; then :
35485   glibcxx_cv_func_ldexpf_use=yes
35486 else
35487   glibcxx_cv_func_ldexpf_use=no
35488 fi
35489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35490       ac_ext=c
35491 ac_cpp='$CPP $CPPFLAGS'
35492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35495
35496
35497 fi
35498
35499   fi
35500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35501 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35502
35503   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35504     for ac_func in ldexpf
35505 do :
35506   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35507 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35508   cat >>confdefs.h <<_ACEOF
35509 #define HAVE_LDEXPF 1
35510 _ACEOF
35511
35512 fi
35513 done
35514
35515   else
35516
35517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35518 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35519   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35520     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35521   $as_echo_n "(cached) " >&6
35522 else
35523
35524
35525       ac_ext=cpp
35526 ac_cpp='$CXXCPP $CPPFLAGS'
35527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35530
35531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35532 /* end confdefs.h.  */
35533 #include <math.h>
35534 int
35535 main ()
35536 {
35537  _ldexpf(0, 0);
35538   ;
35539   return 0;
35540 }
35541 _ACEOF
35542 if ac_fn_cxx_try_compile "$LINENO"; then :
35543   glibcxx_cv_func__ldexpf_use=yes
35544 else
35545   glibcxx_cv_func__ldexpf_use=no
35546 fi
35547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35548       ac_ext=c
35549 ac_cpp='$CPP $CPPFLAGS'
35550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35553
35554
35555 fi
35556
35557   fi
35558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35559 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35560
35561     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35562       for ac_func in _ldexpf
35563 do :
35564   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35565 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35566   cat >>confdefs.h <<_ACEOF
35567 #define HAVE__LDEXPF 1
35568 _ACEOF
35569
35570 fi
35571 done
35572
35573     fi
35574   fi
35575
35576
35577
35578
35579
35580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35581 $as_echo_n "checking for logf declaration... " >&6; }
35582   if test x${glibcxx_cv_func_logf_use+set} != xset; then
35583     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35584   $as_echo_n "(cached) " >&6
35585 else
35586
35587
35588       ac_ext=cpp
35589 ac_cpp='$CXXCPP $CPPFLAGS'
35590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35593
35594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35595 /* end confdefs.h.  */
35596 #include <math.h>
35597                       #ifdef HAVE_IEEEFP_H
35598                       #include <ieeefp.h>
35599                       #endif
35600
35601 int
35602 main ()
35603 {
35604  logf(0);
35605   ;
35606   return 0;
35607 }
35608 _ACEOF
35609 if ac_fn_cxx_try_compile "$LINENO"; then :
35610   glibcxx_cv_func_logf_use=yes
35611 else
35612   glibcxx_cv_func_logf_use=no
35613 fi
35614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35615       ac_ext=c
35616 ac_cpp='$CPP $CPPFLAGS'
35617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35620
35621
35622 fi
35623
35624   fi
35625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35626 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35627
35628   if test x$glibcxx_cv_func_logf_use = x"yes"; then
35629     for ac_func in logf
35630 do :
35631   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35632 if test "x$ac_cv_func_logf" = x""yes; then :
35633   cat >>confdefs.h <<_ACEOF
35634 #define HAVE_LOGF 1
35635 _ACEOF
35636
35637 fi
35638 done
35639
35640   else
35641
35642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35643 $as_echo_n "checking for _logf declaration... " >&6; }
35644   if test x${glibcxx_cv_func__logf_use+set} != xset; then
35645     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35646   $as_echo_n "(cached) " >&6
35647 else
35648
35649
35650       ac_ext=cpp
35651 ac_cpp='$CXXCPP $CPPFLAGS'
35652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35655
35656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35657 /* end confdefs.h.  */
35658 #include <math.h>
35659                       #ifdef HAVE_IEEEFP_H
35660                       #include <ieeefp.h>
35661                       #endif
35662
35663 int
35664 main ()
35665 {
35666  _logf(0);
35667   ;
35668   return 0;
35669 }
35670 _ACEOF
35671 if ac_fn_cxx_try_compile "$LINENO"; then :
35672   glibcxx_cv_func__logf_use=yes
35673 else
35674   glibcxx_cv_func__logf_use=no
35675 fi
35676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35677       ac_ext=c
35678 ac_cpp='$CPP $CPPFLAGS'
35679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35682
35683
35684 fi
35685
35686   fi
35687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35688 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35689
35690     if test x$glibcxx_cv_func__logf_use = x"yes"; then
35691       for ac_func in _logf
35692 do :
35693   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35694 if test "x$ac_cv_func__logf" = x""yes; then :
35695   cat >>confdefs.h <<_ACEOF
35696 #define HAVE__LOGF 1
35697 _ACEOF
35698
35699 fi
35700 done
35701
35702     fi
35703   fi
35704
35705
35706
35707
35708
35709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35710 $as_echo_n "checking for log10f declaration... " >&6; }
35711   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35712     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35713   $as_echo_n "(cached) " >&6
35714 else
35715
35716
35717       ac_ext=cpp
35718 ac_cpp='$CXXCPP $CPPFLAGS'
35719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35722
35723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35724 /* end confdefs.h.  */
35725 #include <math.h>
35726                       #ifdef HAVE_IEEEFP_H
35727                       #include <ieeefp.h>
35728                       #endif
35729
35730 int
35731 main ()
35732 {
35733  log10f(0);
35734   ;
35735   return 0;
35736 }
35737 _ACEOF
35738 if ac_fn_cxx_try_compile "$LINENO"; then :
35739   glibcxx_cv_func_log10f_use=yes
35740 else
35741   glibcxx_cv_func_log10f_use=no
35742 fi
35743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35744       ac_ext=c
35745 ac_cpp='$CPP $CPPFLAGS'
35746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35749
35750
35751 fi
35752
35753   fi
35754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35755 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35756
35757   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35758     for ac_func in log10f
35759 do :
35760   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35761 if test "x$ac_cv_func_log10f" = x""yes; then :
35762   cat >>confdefs.h <<_ACEOF
35763 #define HAVE_LOG10F 1
35764 _ACEOF
35765
35766 fi
35767 done
35768
35769   else
35770
35771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35772 $as_echo_n "checking for _log10f declaration... " >&6; }
35773   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35774     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35775   $as_echo_n "(cached) " >&6
35776 else
35777
35778
35779       ac_ext=cpp
35780 ac_cpp='$CXXCPP $CPPFLAGS'
35781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35784
35785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35786 /* end confdefs.h.  */
35787 #include <math.h>
35788                       #ifdef HAVE_IEEEFP_H
35789                       #include <ieeefp.h>
35790                       #endif
35791
35792 int
35793 main ()
35794 {
35795  _log10f(0);
35796   ;
35797   return 0;
35798 }
35799 _ACEOF
35800 if ac_fn_cxx_try_compile "$LINENO"; then :
35801   glibcxx_cv_func__log10f_use=yes
35802 else
35803   glibcxx_cv_func__log10f_use=no
35804 fi
35805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806       ac_ext=c
35807 ac_cpp='$CPP $CPPFLAGS'
35808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35811
35812
35813 fi
35814
35815   fi
35816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35817 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35818
35819     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35820       for ac_func in _log10f
35821 do :
35822   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35823 if test "x$ac_cv_func__log10f" = x""yes; then :
35824   cat >>confdefs.h <<_ACEOF
35825 #define HAVE__LOG10F 1
35826 _ACEOF
35827
35828 fi
35829 done
35830
35831     fi
35832   fi
35833
35834
35835
35836
35837
35838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35839 $as_echo_n "checking for modff declaration... " >&6; }
35840   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35841     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35842   $as_echo_n "(cached) " >&6
35843 else
35844
35845
35846       ac_ext=cpp
35847 ac_cpp='$CXXCPP $CPPFLAGS'
35848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35851
35852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35853 /* end confdefs.h.  */
35854 #include <math.h>
35855 int
35856 main ()
35857 {
35858  modff(0, 0);
35859   ;
35860   return 0;
35861 }
35862 _ACEOF
35863 if ac_fn_cxx_try_compile "$LINENO"; then :
35864   glibcxx_cv_func_modff_use=yes
35865 else
35866   glibcxx_cv_func_modff_use=no
35867 fi
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35869       ac_ext=c
35870 ac_cpp='$CPP $CPPFLAGS'
35871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35874
35875
35876 fi
35877
35878   fi
35879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35880 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35881
35882   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35883     for ac_func in modff
35884 do :
35885   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35886 if test "x$ac_cv_func_modff" = x""yes; then :
35887   cat >>confdefs.h <<_ACEOF
35888 #define HAVE_MODFF 1
35889 _ACEOF
35890
35891 fi
35892 done
35893
35894   else
35895
35896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35897 $as_echo_n "checking for _modff declaration... " >&6; }
35898   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35899     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35900   $as_echo_n "(cached) " >&6
35901 else
35902
35903
35904       ac_ext=cpp
35905 ac_cpp='$CXXCPP $CPPFLAGS'
35906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35909
35910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35911 /* end confdefs.h.  */
35912 #include <math.h>
35913 int
35914 main ()
35915 {
35916  _modff(0, 0);
35917   ;
35918   return 0;
35919 }
35920 _ACEOF
35921 if ac_fn_cxx_try_compile "$LINENO"; then :
35922   glibcxx_cv_func__modff_use=yes
35923 else
35924   glibcxx_cv_func__modff_use=no
35925 fi
35926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35927       ac_ext=c
35928 ac_cpp='$CPP $CPPFLAGS'
35929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35932
35933
35934 fi
35935
35936   fi
35937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35938 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35939
35940     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35941       for ac_func in _modff
35942 do :
35943   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35944 if test "x$ac_cv_func__modff" = x""yes; then :
35945   cat >>confdefs.h <<_ACEOF
35946 #define HAVE__MODFF 1
35947 _ACEOF
35948
35949 fi
35950 done
35951
35952     fi
35953   fi
35954
35955
35956
35957
35958
35959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35960 $as_echo_n "checking for modf declaration... " >&6; }
35961   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35962     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35963   $as_echo_n "(cached) " >&6
35964 else
35965
35966
35967       ac_ext=cpp
35968 ac_cpp='$CXXCPP $CPPFLAGS'
35969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35972
35973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35974 /* end confdefs.h.  */
35975 #include <math.h>
35976 int
35977 main ()
35978 {
35979  modf(0, 0);
35980   ;
35981   return 0;
35982 }
35983 _ACEOF
35984 if ac_fn_cxx_try_compile "$LINENO"; then :
35985   glibcxx_cv_func_modf_use=yes
35986 else
35987   glibcxx_cv_func_modf_use=no
35988 fi
35989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35990       ac_ext=c
35991 ac_cpp='$CPP $CPPFLAGS'
35992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35995
35996
35997 fi
35998
35999   fi
36000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36001 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36002
36003   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36004     for ac_func in modf
36005 do :
36006   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36007 if test "x$ac_cv_func_modf" = x""yes; then :
36008   cat >>confdefs.h <<_ACEOF
36009 #define HAVE_MODF 1
36010 _ACEOF
36011
36012 fi
36013 done
36014
36015   else
36016
36017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36018 $as_echo_n "checking for _modf declaration... " >&6; }
36019   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36020     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36021   $as_echo_n "(cached) " >&6
36022 else
36023
36024
36025       ac_ext=cpp
36026 ac_cpp='$CXXCPP $CPPFLAGS'
36027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36030
36031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36032 /* end confdefs.h.  */
36033 #include <math.h>
36034 int
36035 main ()
36036 {
36037  _modf(0, 0);
36038   ;
36039   return 0;
36040 }
36041 _ACEOF
36042 if ac_fn_cxx_try_compile "$LINENO"; then :
36043   glibcxx_cv_func__modf_use=yes
36044 else
36045   glibcxx_cv_func__modf_use=no
36046 fi
36047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36048       ac_ext=c
36049 ac_cpp='$CPP $CPPFLAGS'
36050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36053
36054
36055 fi
36056
36057   fi
36058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36059 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36060
36061     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36062       for ac_func in _modf
36063 do :
36064   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36065 if test "x$ac_cv_func__modf" = x""yes; then :
36066   cat >>confdefs.h <<_ACEOF
36067 #define HAVE__MODF 1
36068 _ACEOF
36069
36070 fi
36071 done
36072
36073     fi
36074   fi
36075
36076
36077
36078
36079
36080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36081 $as_echo_n "checking for powf declaration... " >&6; }
36082   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36083     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36084   $as_echo_n "(cached) " >&6
36085 else
36086
36087
36088       ac_ext=cpp
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36093
36094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36095 /* end confdefs.h.  */
36096 #include <math.h>
36097 int
36098 main ()
36099 {
36100  powf(0, 0);
36101   ;
36102   return 0;
36103 }
36104 _ACEOF
36105 if ac_fn_cxx_try_compile "$LINENO"; then :
36106   glibcxx_cv_func_powf_use=yes
36107 else
36108   glibcxx_cv_func_powf_use=no
36109 fi
36110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36111       ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36116
36117
36118 fi
36119
36120   fi
36121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36122 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36123
36124   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36125     for ac_func in powf
36126 do :
36127   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36128 if test "x$ac_cv_func_powf" = x""yes; then :
36129   cat >>confdefs.h <<_ACEOF
36130 #define HAVE_POWF 1
36131 _ACEOF
36132
36133 fi
36134 done
36135
36136   else
36137
36138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36139 $as_echo_n "checking for _powf declaration... " >&6; }
36140   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36141     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36142   $as_echo_n "(cached) " >&6
36143 else
36144
36145
36146       ac_ext=cpp
36147 ac_cpp='$CXXCPP $CPPFLAGS'
36148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36151
36152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36153 /* end confdefs.h.  */
36154 #include <math.h>
36155 int
36156 main ()
36157 {
36158  _powf(0, 0);
36159   ;
36160   return 0;
36161 }
36162 _ACEOF
36163 if ac_fn_cxx_try_compile "$LINENO"; then :
36164   glibcxx_cv_func__powf_use=yes
36165 else
36166   glibcxx_cv_func__powf_use=no
36167 fi
36168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36169       ac_ext=c
36170 ac_cpp='$CPP $CPPFLAGS'
36171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36174
36175
36176 fi
36177
36178   fi
36179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36180 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36181
36182     if test x$glibcxx_cv_func__powf_use = x"yes"; then
36183       for ac_func in _powf
36184 do :
36185   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36186 if test "x$ac_cv_func__powf" = x""yes; then :
36187   cat >>confdefs.h <<_ACEOF
36188 #define HAVE__POWF 1
36189 _ACEOF
36190
36191 fi
36192 done
36193
36194     fi
36195   fi
36196
36197
36198
36199
36200
36201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36202 $as_echo_n "checking for sqrtf declaration... " >&6; }
36203   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36204     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36205   $as_echo_n "(cached) " >&6
36206 else
36207
36208
36209       ac_ext=cpp
36210 ac_cpp='$CXXCPP $CPPFLAGS'
36211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36214
36215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36216 /* end confdefs.h.  */
36217 #include <math.h>
36218                       #ifdef HAVE_IEEEFP_H
36219                       #include <ieeefp.h>
36220                       #endif
36221
36222 int
36223 main ()
36224 {
36225  sqrtf(0);
36226   ;
36227   return 0;
36228 }
36229 _ACEOF
36230 if ac_fn_cxx_try_compile "$LINENO"; then :
36231   glibcxx_cv_func_sqrtf_use=yes
36232 else
36233   glibcxx_cv_func_sqrtf_use=no
36234 fi
36235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36236       ac_ext=c
36237 ac_cpp='$CPP $CPPFLAGS'
36238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36241
36242
36243 fi
36244
36245   fi
36246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36247 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36248
36249   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36250     for ac_func in sqrtf
36251 do :
36252   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36253 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36254   cat >>confdefs.h <<_ACEOF
36255 #define HAVE_SQRTF 1
36256 _ACEOF
36257
36258 fi
36259 done
36260
36261   else
36262
36263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36264 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36265   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36266     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36267   $as_echo_n "(cached) " >&6
36268 else
36269
36270
36271       ac_ext=cpp
36272 ac_cpp='$CXXCPP $CPPFLAGS'
36273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36276
36277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36278 /* end confdefs.h.  */
36279 #include <math.h>
36280                       #ifdef HAVE_IEEEFP_H
36281                       #include <ieeefp.h>
36282                       #endif
36283
36284 int
36285 main ()
36286 {
36287  _sqrtf(0);
36288   ;
36289   return 0;
36290 }
36291 _ACEOF
36292 if ac_fn_cxx_try_compile "$LINENO"; then :
36293   glibcxx_cv_func__sqrtf_use=yes
36294 else
36295   glibcxx_cv_func__sqrtf_use=no
36296 fi
36297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36298       ac_ext=c
36299 ac_cpp='$CPP $CPPFLAGS'
36300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36303
36304
36305 fi
36306
36307   fi
36308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36309 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36310
36311     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36312       for ac_func in _sqrtf
36313 do :
36314   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36315 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36316   cat >>confdefs.h <<_ACEOF
36317 #define HAVE__SQRTF 1
36318 _ACEOF
36319
36320 fi
36321 done
36322
36323     fi
36324   fi
36325
36326
36327
36328
36329
36330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36331 $as_echo_n "checking for sincosf declaration... " >&6; }
36332   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36333     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36334   $as_echo_n "(cached) " >&6
36335 else
36336
36337
36338       ac_ext=cpp
36339 ac_cpp='$CXXCPP $CPPFLAGS'
36340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36343
36344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36345 /* end confdefs.h.  */
36346 #include <math.h>
36347 int
36348 main ()
36349 {
36350  sincosf(0, 0, 0);
36351   ;
36352   return 0;
36353 }
36354 _ACEOF
36355 if ac_fn_cxx_try_compile "$LINENO"; then :
36356   glibcxx_cv_func_sincosf_use=yes
36357 else
36358   glibcxx_cv_func_sincosf_use=no
36359 fi
36360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36361       ac_ext=c
36362 ac_cpp='$CPP $CPPFLAGS'
36363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36366
36367
36368 fi
36369
36370   fi
36371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36372 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36373
36374   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36375     for ac_func in sincosf
36376 do :
36377   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36378 if test "x$ac_cv_func_sincosf" = x""yes; then :
36379   cat >>confdefs.h <<_ACEOF
36380 #define HAVE_SINCOSF 1
36381 _ACEOF
36382
36383 fi
36384 done
36385
36386   else
36387
36388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36389 $as_echo_n "checking for _sincosf declaration... " >&6; }
36390   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36391     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36392   $as_echo_n "(cached) " >&6
36393 else
36394
36395
36396       ac_ext=cpp
36397 ac_cpp='$CXXCPP $CPPFLAGS'
36398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36401
36402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36403 /* end confdefs.h.  */
36404 #include <math.h>
36405 int
36406 main ()
36407 {
36408  _sincosf(0, 0, 0);
36409   ;
36410   return 0;
36411 }
36412 _ACEOF
36413 if ac_fn_cxx_try_compile "$LINENO"; then :
36414   glibcxx_cv_func__sincosf_use=yes
36415 else
36416   glibcxx_cv_func__sincosf_use=no
36417 fi
36418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36419       ac_ext=c
36420 ac_cpp='$CPP $CPPFLAGS'
36421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36424
36425
36426 fi
36427
36428   fi
36429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36430 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36431
36432     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36433       for ac_func in _sincosf
36434 do :
36435   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36436 if test "x$ac_cv_func__sincosf" = x""yes; then :
36437   cat >>confdefs.h <<_ACEOF
36438 #define HAVE__SINCOSF 1
36439 _ACEOF
36440
36441 fi
36442 done
36443
36444     fi
36445   fi
36446
36447
36448
36449
36450
36451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36452 $as_echo_n "checking for finitef declaration... " >&6; }
36453   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36454     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36455   $as_echo_n "(cached) " >&6
36456 else
36457
36458
36459       ac_ext=cpp
36460 ac_cpp='$CXXCPP $CPPFLAGS'
36461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36464
36465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36466 /* end confdefs.h.  */
36467 #include <math.h>
36468                       #ifdef HAVE_IEEEFP_H
36469                       #include <ieeefp.h>
36470                       #endif
36471
36472 int
36473 main ()
36474 {
36475  finitef(0);
36476   ;
36477   return 0;
36478 }
36479 _ACEOF
36480 if ac_fn_cxx_try_compile "$LINENO"; then :
36481   glibcxx_cv_func_finitef_use=yes
36482 else
36483   glibcxx_cv_func_finitef_use=no
36484 fi
36485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36486       ac_ext=c
36487 ac_cpp='$CPP $CPPFLAGS'
36488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36491
36492
36493 fi
36494
36495   fi
36496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36497 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36498
36499   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36500     for ac_func in finitef
36501 do :
36502   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36503 if test "x$ac_cv_func_finitef" = x""yes; then :
36504   cat >>confdefs.h <<_ACEOF
36505 #define HAVE_FINITEF 1
36506 _ACEOF
36507
36508 fi
36509 done
36510
36511   else
36512
36513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36514 $as_echo_n "checking for _finitef declaration... " >&6; }
36515   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36516     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36517   $as_echo_n "(cached) " >&6
36518 else
36519
36520
36521       ac_ext=cpp
36522 ac_cpp='$CXXCPP $CPPFLAGS'
36523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36526
36527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36528 /* end confdefs.h.  */
36529 #include <math.h>
36530                       #ifdef HAVE_IEEEFP_H
36531                       #include <ieeefp.h>
36532                       #endif
36533
36534 int
36535 main ()
36536 {
36537  _finitef(0);
36538   ;
36539   return 0;
36540 }
36541 _ACEOF
36542 if ac_fn_cxx_try_compile "$LINENO"; then :
36543   glibcxx_cv_func__finitef_use=yes
36544 else
36545   glibcxx_cv_func__finitef_use=no
36546 fi
36547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36548       ac_ext=c
36549 ac_cpp='$CPP $CPPFLAGS'
36550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36553
36554
36555 fi
36556
36557   fi
36558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36559 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36560
36561     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36562       for ac_func in _finitef
36563 do :
36564   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36565 if test "x$ac_cv_func__finitef" = x""yes; then :
36566   cat >>confdefs.h <<_ACEOF
36567 #define HAVE__FINITEF 1
36568 _ACEOF
36569
36570 fi
36571 done
36572
36573     fi
36574   fi
36575
36576
36577
36578
36579
36580     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36581 $as_echo_n "checking for long double trig functions... " >&6; }
36582   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36583   $as_echo_n "(cached) " >&6
36584 else
36585
36586
36587     ac_ext=cpp
36588 ac_cpp='$CXXCPP $CPPFLAGS'
36589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36592
36593     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36594 /* end confdefs.h.  */
36595 #include <math.h>
36596 int
36597 main ()
36598 {
36599 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36600   ;
36601   return 0;
36602 }
36603 _ACEOF
36604 if ac_fn_cxx_try_compile "$LINENO"; then :
36605   glibcxx_cv_func_long_double_trig_use=yes
36606 else
36607   glibcxx_cv_func_long_double_trig_use=no
36608 fi
36609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36610     ac_ext=c
36611 ac_cpp='$CPP $CPPFLAGS'
36612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36615
36616 fi
36617
36618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36619 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36620   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36621     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36622 do :
36623   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36625 eval as_val=\$$as_ac_var
36626    if test "x$as_val" = x""yes; then :
36627   cat >>confdefs.h <<_ACEOF
36628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36629 _ACEOF
36630
36631 fi
36632 done
36633
36634   else
36635     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36636 $as_echo_n "checking for _long double trig functions... " >&6; }
36637     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36638   $as_echo_n "(cached) " >&6
36639 else
36640
36641
36642       ac_ext=cpp
36643 ac_cpp='$CXXCPP $CPPFLAGS'
36644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36647
36648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36649 /* end confdefs.h.  */
36650 #include <math.h>
36651 int
36652 main ()
36653 {
36654 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36655   ;
36656   return 0;
36657 }
36658 _ACEOF
36659 if ac_fn_cxx_try_compile "$LINENO"; then :
36660   glibcxx_cv_func__long_double_trig_use=yes
36661 else
36662   glibcxx_cv_func__long_double_trig_use=no
36663 fi
36664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36665       ac_ext=c
36666 ac_cpp='$CPP $CPPFLAGS'
36667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36670
36671 fi
36672
36673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36674 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36675     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36676       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36677 do :
36678   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36680 eval as_val=\$$as_ac_var
36681    if test "x$as_val" = x""yes; then :
36682   cat >>confdefs.h <<_ACEOF
36683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36684 _ACEOF
36685
36686 fi
36687 done
36688
36689     fi
36690   fi
36691
36692
36693
36694
36695
36696     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36697 $as_echo_n "checking for long double round functions... " >&6; }
36698   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36699   $as_echo_n "(cached) " >&6
36700 else
36701
36702
36703     ac_ext=cpp
36704 ac_cpp='$CXXCPP $CPPFLAGS'
36705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36708
36709     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36710 /* end confdefs.h.  */
36711 #include <math.h>
36712 int
36713 main ()
36714 {
36715 ceill (0); floorl (0);
36716   ;
36717   return 0;
36718 }
36719 _ACEOF
36720 if ac_fn_cxx_try_compile "$LINENO"; then :
36721   glibcxx_cv_func_long_double_round_use=yes
36722 else
36723   glibcxx_cv_func_long_double_round_use=no
36724 fi
36725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36726     ac_ext=c
36727 ac_cpp='$CPP $CPPFLAGS'
36728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36731
36732 fi
36733
36734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36735 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36736   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36737     for ac_func in ceill floorl
36738 do :
36739   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36741 eval as_val=\$$as_ac_var
36742    if test "x$as_val" = x""yes; then :
36743   cat >>confdefs.h <<_ACEOF
36744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36745 _ACEOF
36746
36747 fi
36748 done
36749
36750   else
36751     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36752 $as_echo_n "checking for _long double round functions... " >&6; }
36753     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36754   $as_echo_n "(cached) " >&6
36755 else
36756
36757
36758       ac_ext=cpp
36759 ac_cpp='$CXXCPP $CPPFLAGS'
36760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36763
36764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36765 /* end confdefs.h.  */
36766 #include <math.h>
36767 int
36768 main ()
36769 {
36770 _ceill (0); _floorl (0);
36771   ;
36772   return 0;
36773 }
36774 _ACEOF
36775 if ac_fn_cxx_try_compile "$LINENO"; then :
36776   glibcxx_cv_func__long_double_round_use=yes
36777 else
36778   glibcxx_cv_func__long_double_round_use=no
36779 fi
36780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36781       ac_ext=c
36782 ac_cpp='$CPP $CPPFLAGS'
36783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36786
36787 fi
36788
36789     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36790 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36791     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36792       for ac_func in _ceill _floorl
36793 do :
36794   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36796 eval as_val=\$$as_ac_var
36797    if test "x$as_val" = x""yes; then :
36798   cat >>confdefs.h <<_ACEOF
36799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36800 _ACEOF
36801
36802 fi
36803 done
36804
36805     fi
36806   fi
36807
36808
36809
36810
36811
36812
36813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36814 $as_echo_n "checking for isnanl declaration... " >&6; }
36815   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36816     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36817   $as_echo_n "(cached) " >&6
36818 else
36819
36820
36821       ac_ext=cpp
36822 ac_cpp='$CXXCPP $CPPFLAGS'
36823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36826
36827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36828 /* end confdefs.h.  */
36829 #include <math.h>
36830                       #ifdef HAVE_IEEEFP_H
36831                       #include <ieeefp.h>
36832                       #endif
36833
36834 int
36835 main ()
36836 {
36837  isnanl(0);
36838   ;
36839   return 0;
36840 }
36841 _ACEOF
36842 if ac_fn_cxx_try_compile "$LINENO"; then :
36843   glibcxx_cv_func_isnanl_use=yes
36844 else
36845   glibcxx_cv_func_isnanl_use=no
36846 fi
36847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36848       ac_ext=c
36849 ac_cpp='$CPP $CPPFLAGS'
36850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36853
36854
36855 fi
36856
36857   fi
36858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36859 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36860
36861   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36862     for ac_func in isnanl
36863 do :
36864   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36865 if test "x$ac_cv_func_isnanl" = x""yes; then :
36866   cat >>confdefs.h <<_ACEOF
36867 #define HAVE_ISNANL 1
36868 _ACEOF
36869
36870 fi
36871 done
36872
36873   else
36874
36875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36876 $as_echo_n "checking for _isnanl declaration... " >&6; }
36877   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36878     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36879   $as_echo_n "(cached) " >&6
36880 else
36881
36882
36883       ac_ext=cpp
36884 ac_cpp='$CXXCPP $CPPFLAGS'
36885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36888
36889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36890 /* end confdefs.h.  */
36891 #include <math.h>
36892                       #ifdef HAVE_IEEEFP_H
36893                       #include <ieeefp.h>
36894                       #endif
36895
36896 int
36897 main ()
36898 {
36899  _isnanl(0);
36900   ;
36901   return 0;
36902 }
36903 _ACEOF
36904 if ac_fn_cxx_try_compile "$LINENO"; then :
36905   glibcxx_cv_func__isnanl_use=yes
36906 else
36907   glibcxx_cv_func__isnanl_use=no
36908 fi
36909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36910       ac_ext=c
36911 ac_cpp='$CPP $CPPFLAGS'
36912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36915
36916
36917 fi
36918
36919   fi
36920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36921 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36922
36923     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36924       for ac_func in _isnanl
36925 do :
36926   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36927 if test "x$ac_cv_func__isnanl" = x""yes; then :
36928   cat >>confdefs.h <<_ACEOF
36929 #define HAVE__ISNANL 1
36930 _ACEOF
36931
36932 fi
36933 done
36934
36935     fi
36936   fi
36937
36938
36939
36940
36941
36942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36943 $as_echo_n "checking for isinfl declaration... " >&6; }
36944   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36945     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36946   $as_echo_n "(cached) " >&6
36947 else
36948
36949
36950       ac_ext=cpp
36951 ac_cpp='$CXXCPP $CPPFLAGS'
36952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36955
36956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36957 /* end confdefs.h.  */
36958 #include <math.h>
36959                       #ifdef HAVE_IEEEFP_H
36960                       #include <ieeefp.h>
36961                       #endif
36962
36963 int
36964 main ()
36965 {
36966  isinfl(0);
36967   ;
36968   return 0;
36969 }
36970 _ACEOF
36971 if ac_fn_cxx_try_compile "$LINENO"; then :
36972   glibcxx_cv_func_isinfl_use=yes
36973 else
36974   glibcxx_cv_func_isinfl_use=no
36975 fi
36976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36977       ac_ext=c
36978 ac_cpp='$CPP $CPPFLAGS'
36979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36982
36983
36984 fi
36985
36986   fi
36987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36988 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36989
36990   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36991     for ac_func in isinfl
36992 do :
36993   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36994 if test "x$ac_cv_func_isinfl" = x""yes; then :
36995   cat >>confdefs.h <<_ACEOF
36996 #define HAVE_ISINFL 1
36997 _ACEOF
36998
36999 fi
37000 done
37001
37002   else
37003
37004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37005 $as_echo_n "checking for _isinfl declaration... " >&6; }
37006   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37007     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37008   $as_echo_n "(cached) " >&6
37009 else
37010
37011
37012       ac_ext=cpp
37013 ac_cpp='$CXXCPP $CPPFLAGS'
37014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37017
37018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37019 /* end confdefs.h.  */
37020 #include <math.h>
37021                       #ifdef HAVE_IEEEFP_H
37022                       #include <ieeefp.h>
37023                       #endif
37024
37025 int
37026 main ()
37027 {
37028  _isinfl(0);
37029   ;
37030   return 0;
37031 }
37032 _ACEOF
37033 if ac_fn_cxx_try_compile "$LINENO"; then :
37034   glibcxx_cv_func__isinfl_use=yes
37035 else
37036   glibcxx_cv_func__isinfl_use=no
37037 fi
37038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37039       ac_ext=c
37040 ac_cpp='$CPP $CPPFLAGS'
37041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37044
37045
37046 fi
37047
37048   fi
37049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37050 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37051
37052     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37053       for ac_func in _isinfl
37054 do :
37055   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37056 if test "x$ac_cv_func__isinfl" = x""yes; then :
37057   cat >>confdefs.h <<_ACEOF
37058 #define HAVE__ISINFL 1
37059 _ACEOF
37060
37061 fi
37062 done
37063
37064     fi
37065   fi
37066
37067
37068
37069
37070
37071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37072 $as_echo_n "checking for atan2l declaration... " >&6; }
37073   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37074     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37075   $as_echo_n "(cached) " >&6
37076 else
37077
37078
37079       ac_ext=cpp
37080 ac_cpp='$CXXCPP $CPPFLAGS'
37081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37084
37085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37086 /* end confdefs.h.  */
37087 #include <math.h>
37088 int
37089 main ()
37090 {
37091  atan2l(0, 0);
37092   ;
37093   return 0;
37094 }
37095 _ACEOF
37096 if ac_fn_cxx_try_compile "$LINENO"; then :
37097   glibcxx_cv_func_atan2l_use=yes
37098 else
37099   glibcxx_cv_func_atan2l_use=no
37100 fi
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37102       ac_ext=c
37103 ac_cpp='$CPP $CPPFLAGS'
37104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37107
37108
37109 fi
37110
37111   fi
37112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37113 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37114
37115   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37116     for ac_func in atan2l
37117 do :
37118   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37119 if test "x$ac_cv_func_atan2l" = x""yes; then :
37120   cat >>confdefs.h <<_ACEOF
37121 #define HAVE_ATAN2L 1
37122 _ACEOF
37123
37124 fi
37125 done
37126
37127   else
37128
37129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37130 $as_echo_n "checking for _atan2l declaration... " >&6; }
37131   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37132     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37133   $as_echo_n "(cached) " >&6
37134 else
37135
37136
37137       ac_ext=cpp
37138 ac_cpp='$CXXCPP $CPPFLAGS'
37139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37142
37143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37144 /* end confdefs.h.  */
37145 #include <math.h>
37146 int
37147 main ()
37148 {
37149  _atan2l(0, 0);
37150   ;
37151   return 0;
37152 }
37153 _ACEOF
37154 if ac_fn_cxx_try_compile "$LINENO"; then :
37155   glibcxx_cv_func__atan2l_use=yes
37156 else
37157   glibcxx_cv_func__atan2l_use=no
37158 fi
37159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37160       ac_ext=c
37161 ac_cpp='$CPP $CPPFLAGS'
37162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37165
37166
37167 fi
37168
37169   fi
37170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37171 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37172
37173     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37174       for ac_func in _atan2l
37175 do :
37176   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37177 if test "x$ac_cv_func__atan2l" = x""yes; then :
37178   cat >>confdefs.h <<_ACEOF
37179 #define HAVE__ATAN2L 1
37180 _ACEOF
37181
37182 fi
37183 done
37184
37185     fi
37186   fi
37187
37188
37189
37190
37191
37192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37193 $as_echo_n "checking for expl declaration... " >&6; }
37194   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37195     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37196   $as_echo_n "(cached) " >&6
37197 else
37198
37199
37200       ac_ext=cpp
37201 ac_cpp='$CXXCPP $CPPFLAGS'
37202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37205
37206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37207 /* end confdefs.h.  */
37208 #include <math.h>
37209                       #ifdef HAVE_IEEEFP_H
37210                       #include <ieeefp.h>
37211                       #endif
37212
37213 int
37214 main ()
37215 {
37216  expl(0);
37217   ;
37218   return 0;
37219 }
37220 _ACEOF
37221 if ac_fn_cxx_try_compile "$LINENO"; then :
37222   glibcxx_cv_func_expl_use=yes
37223 else
37224   glibcxx_cv_func_expl_use=no
37225 fi
37226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37227       ac_ext=c
37228 ac_cpp='$CPP $CPPFLAGS'
37229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37232
37233
37234 fi
37235
37236   fi
37237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37238 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37239
37240   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37241     for ac_func in expl
37242 do :
37243   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37244 if test "x$ac_cv_func_expl" = x""yes; then :
37245   cat >>confdefs.h <<_ACEOF
37246 #define HAVE_EXPL 1
37247 _ACEOF
37248
37249 fi
37250 done
37251
37252   else
37253
37254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37255 $as_echo_n "checking for _expl declaration... " >&6; }
37256   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37257     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37258   $as_echo_n "(cached) " >&6
37259 else
37260
37261
37262       ac_ext=cpp
37263 ac_cpp='$CXXCPP $CPPFLAGS'
37264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37267
37268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37269 /* end confdefs.h.  */
37270 #include <math.h>
37271                       #ifdef HAVE_IEEEFP_H
37272                       #include <ieeefp.h>
37273                       #endif
37274
37275 int
37276 main ()
37277 {
37278  _expl(0);
37279   ;
37280   return 0;
37281 }
37282 _ACEOF
37283 if ac_fn_cxx_try_compile "$LINENO"; then :
37284   glibcxx_cv_func__expl_use=yes
37285 else
37286   glibcxx_cv_func__expl_use=no
37287 fi
37288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37289       ac_ext=c
37290 ac_cpp='$CPP $CPPFLAGS'
37291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37294
37295
37296 fi
37297
37298   fi
37299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37300 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37301
37302     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37303       for ac_func in _expl
37304 do :
37305   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37306 if test "x$ac_cv_func__expl" = x""yes; then :
37307   cat >>confdefs.h <<_ACEOF
37308 #define HAVE__EXPL 1
37309 _ACEOF
37310
37311 fi
37312 done
37313
37314     fi
37315   fi
37316
37317
37318
37319
37320
37321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37322 $as_echo_n "checking for fabsl declaration... " >&6; }
37323   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37324     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37325   $as_echo_n "(cached) " >&6
37326 else
37327
37328
37329       ac_ext=cpp
37330 ac_cpp='$CXXCPP $CPPFLAGS'
37331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37334
37335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37336 /* end confdefs.h.  */
37337 #include <math.h>
37338                       #ifdef HAVE_IEEEFP_H
37339                       #include <ieeefp.h>
37340                       #endif
37341
37342 int
37343 main ()
37344 {
37345  fabsl(0);
37346   ;
37347   return 0;
37348 }
37349 _ACEOF
37350 if ac_fn_cxx_try_compile "$LINENO"; then :
37351   glibcxx_cv_func_fabsl_use=yes
37352 else
37353   glibcxx_cv_func_fabsl_use=no
37354 fi
37355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37356       ac_ext=c
37357 ac_cpp='$CPP $CPPFLAGS'
37358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37361
37362
37363 fi
37364
37365   fi
37366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37367 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37368
37369   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37370     for ac_func in fabsl
37371 do :
37372   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37373 if test "x$ac_cv_func_fabsl" = x""yes; then :
37374   cat >>confdefs.h <<_ACEOF
37375 #define HAVE_FABSL 1
37376 _ACEOF
37377
37378 fi
37379 done
37380
37381   else
37382
37383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37384 $as_echo_n "checking for _fabsl declaration... " >&6; }
37385   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37386     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37387   $as_echo_n "(cached) " >&6
37388 else
37389
37390
37391       ac_ext=cpp
37392 ac_cpp='$CXXCPP $CPPFLAGS'
37393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37396
37397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37398 /* end confdefs.h.  */
37399 #include <math.h>
37400                       #ifdef HAVE_IEEEFP_H
37401                       #include <ieeefp.h>
37402                       #endif
37403
37404 int
37405 main ()
37406 {
37407  _fabsl(0);
37408   ;
37409   return 0;
37410 }
37411 _ACEOF
37412 if ac_fn_cxx_try_compile "$LINENO"; then :
37413   glibcxx_cv_func__fabsl_use=yes
37414 else
37415   glibcxx_cv_func__fabsl_use=no
37416 fi
37417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37418       ac_ext=c
37419 ac_cpp='$CPP $CPPFLAGS'
37420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37423
37424
37425 fi
37426
37427   fi
37428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37429 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37430
37431     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37432       for ac_func in _fabsl
37433 do :
37434   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37435 if test "x$ac_cv_func__fabsl" = x""yes; then :
37436   cat >>confdefs.h <<_ACEOF
37437 #define HAVE__FABSL 1
37438 _ACEOF
37439
37440 fi
37441 done
37442
37443     fi
37444   fi
37445
37446
37447
37448
37449
37450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37451 $as_echo_n "checking for fmodl declaration... " >&6; }
37452   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37453     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37454   $as_echo_n "(cached) " >&6
37455 else
37456
37457
37458       ac_ext=cpp
37459 ac_cpp='$CXXCPP $CPPFLAGS'
37460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37463
37464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37465 /* end confdefs.h.  */
37466 #include <math.h>
37467 int
37468 main ()
37469 {
37470  fmodl(0, 0);
37471   ;
37472   return 0;
37473 }
37474 _ACEOF
37475 if ac_fn_cxx_try_compile "$LINENO"; then :
37476   glibcxx_cv_func_fmodl_use=yes
37477 else
37478   glibcxx_cv_func_fmodl_use=no
37479 fi
37480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37481       ac_ext=c
37482 ac_cpp='$CPP $CPPFLAGS'
37483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37486
37487
37488 fi
37489
37490   fi
37491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37492 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37493
37494   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37495     for ac_func in fmodl
37496 do :
37497   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37498 if test "x$ac_cv_func_fmodl" = x""yes; then :
37499   cat >>confdefs.h <<_ACEOF
37500 #define HAVE_FMODL 1
37501 _ACEOF
37502
37503 fi
37504 done
37505
37506   else
37507
37508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37509 $as_echo_n "checking for _fmodl declaration... " >&6; }
37510   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37511     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37512   $as_echo_n "(cached) " >&6
37513 else
37514
37515
37516       ac_ext=cpp
37517 ac_cpp='$CXXCPP $CPPFLAGS'
37518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37521
37522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37523 /* end confdefs.h.  */
37524 #include <math.h>
37525 int
37526 main ()
37527 {
37528  _fmodl(0, 0);
37529   ;
37530   return 0;
37531 }
37532 _ACEOF
37533 if ac_fn_cxx_try_compile "$LINENO"; then :
37534   glibcxx_cv_func__fmodl_use=yes
37535 else
37536   glibcxx_cv_func__fmodl_use=no
37537 fi
37538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37539       ac_ext=c
37540 ac_cpp='$CPP $CPPFLAGS'
37541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37544
37545
37546 fi
37547
37548   fi
37549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37550 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37551
37552     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37553       for ac_func in _fmodl
37554 do :
37555   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37556 if test "x$ac_cv_func__fmodl" = x""yes; then :
37557   cat >>confdefs.h <<_ACEOF
37558 #define HAVE__FMODL 1
37559 _ACEOF
37560
37561 fi
37562 done
37563
37564     fi
37565   fi
37566
37567
37568
37569
37570
37571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37572 $as_echo_n "checking for frexpl declaration... " >&6; }
37573   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37574     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37575   $as_echo_n "(cached) " >&6
37576 else
37577
37578
37579       ac_ext=cpp
37580 ac_cpp='$CXXCPP $CPPFLAGS'
37581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37584
37585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37586 /* end confdefs.h.  */
37587 #include <math.h>
37588 int
37589 main ()
37590 {
37591  frexpl(0, 0);
37592   ;
37593   return 0;
37594 }
37595 _ACEOF
37596 if ac_fn_cxx_try_compile "$LINENO"; then :
37597   glibcxx_cv_func_frexpl_use=yes
37598 else
37599   glibcxx_cv_func_frexpl_use=no
37600 fi
37601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37602       ac_ext=c
37603 ac_cpp='$CPP $CPPFLAGS'
37604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37607
37608
37609 fi
37610
37611   fi
37612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37613 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37614
37615   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37616     for ac_func in frexpl
37617 do :
37618   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37619 if test "x$ac_cv_func_frexpl" = x""yes; then :
37620   cat >>confdefs.h <<_ACEOF
37621 #define HAVE_FREXPL 1
37622 _ACEOF
37623
37624 fi
37625 done
37626
37627   else
37628
37629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37630 $as_echo_n "checking for _frexpl declaration... " >&6; }
37631   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37632     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37633   $as_echo_n "(cached) " >&6
37634 else
37635
37636
37637       ac_ext=cpp
37638 ac_cpp='$CXXCPP $CPPFLAGS'
37639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37642
37643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37644 /* end confdefs.h.  */
37645 #include <math.h>
37646 int
37647 main ()
37648 {
37649  _frexpl(0, 0);
37650   ;
37651   return 0;
37652 }
37653 _ACEOF
37654 if ac_fn_cxx_try_compile "$LINENO"; then :
37655   glibcxx_cv_func__frexpl_use=yes
37656 else
37657   glibcxx_cv_func__frexpl_use=no
37658 fi
37659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37660       ac_ext=c
37661 ac_cpp='$CPP $CPPFLAGS'
37662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37665
37666
37667 fi
37668
37669   fi
37670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37671 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37672
37673     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37674       for ac_func in _frexpl
37675 do :
37676   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37677 if test "x$ac_cv_func__frexpl" = x""yes; then :
37678   cat >>confdefs.h <<_ACEOF
37679 #define HAVE__FREXPL 1
37680 _ACEOF
37681
37682 fi
37683 done
37684
37685     fi
37686   fi
37687
37688
37689
37690
37691
37692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37693 $as_echo_n "checking for hypotl declaration... " >&6; }
37694   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37695     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37696   $as_echo_n "(cached) " >&6
37697 else
37698
37699
37700       ac_ext=cpp
37701 ac_cpp='$CXXCPP $CPPFLAGS'
37702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37705
37706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37707 /* end confdefs.h.  */
37708 #include <math.h>
37709 int
37710 main ()
37711 {
37712  hypotl(0, 0);
37713   ;
37714   return 0;
37715 }
37716 _ACEOF
37717 if ac_fn_cxx_try_compile "$LINENO"; then :
37718   glibcxx_cv_func_hypotl_use=yes
37719 else
37720   glibcxx_cv_func_hypotl_use=no
37721 fi
37722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37723       ac_ext=c
37724 ac_cpp='$CPP $CPPFLAGS'
37725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37728
37729
37730 fi
37731
37732   fi
37733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37734 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37735
37736   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37737     for ac_func in hypotl
37738 do :
37739   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37740 if test "x$ac_cv_func_hypotl" = x""yes; then :
37741   cat >>confdefs.h <<_ACEOF
37742 #define HAVE_HYPOTL 1
37743 _ACEOF
37744
37745 fi
37746 done
37747
37748   else
37749
37750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37751 $as_echo_n "checking for _hypotl declaration... " >&6; }
37752   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37753     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37754   $as_echo_n "(cached) " >&6
37755 else
37756
37757
37758       ac_ext=cpp
37759 ac_cpp='$CXXCPP $CPPFLAGS'
37760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37763
37764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37765 /* end confdefs.h.  */
37766 #include <math.h>
37767 int
37768 main ()
37769 {
37770  _hypotl(0, 0);
37771   ;
37772   return 0;
37773 }
37774 _ACEOF
37775 if ac_fn_cxx_try_compile "$LINENO"; then :
37776   glibcxx_cv_func__hypotl_use=yes
37777 else
37778   glibcxx_cv_func__hypotl_use=no
37779 fi
37780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37781       ac_ext=c
37782 ac_cpp='$CPP $CPPFLAGS'
37783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37786
37787
37788 fi
37789
37790   fi
37791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37792 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37793
37794     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37795       for ac_func in _hypotl
37796 do :
37797   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37798 if test "x$ac_cv_func__hypotl" = x""yes; then :
37799   cat >>confdefs.h <<_ACEOF
37800 #define HAVE__HYPOTL 1
37801 _ACEOF
37802
37803 fi
37804 done
37805
37806     fi
37807   fi
37808
37809
37810
37811
37812
37813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37814 $as_echo_n "checking for ldexpl declaration... " >&6; }
37815   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37816     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37817   $as_echo_n "(cached) " >&6
37818 else
37819
37820
37821       ac_ext=cpp
37822 ac_cpp='$CXXCPP $CPPFLAGS'
37823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37826
37827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37828 /* end confdefs.h.  */
37829 #include <math.h>
37830 int
37831 main ()
37832 {
37833  ldexpl(0, 0);
37834   ;
37835   return 0;
37836 }
37837 _ACEOF
37838 if ac_fn_cxx_try_compile "$LINENO"; then :
37839   glibcxx_cv_func_ldexpl_use=yes
37840 else
37841   glibcxx_cv_func_ldexpl_use=no
37842 fi
37843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37844       ac_ext=c
37845 ac_cpp='$CPP $CPPFLAGS'
37846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37849
37850
37851 fi
37852
37853   fi
37854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37855 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37856
37857   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37858     for ac_func in ldexpl
37859 do :
37860   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37861 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37862   cat >>confdefs.h <<_ACEOF
37863 #define HAVE_LDEXPL 1
37864 _ACEOF
37865
37866 fi
37867 done
37868
37869   else
37870
37871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37872 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37873   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37874     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37875   $as_echo_n "(cached) " >&6
37876 else
37877
37878
37879       ac_ext=cpp
37880 ac_cpp='$CXXCPP $CPPFLAGS'
37881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37884
37885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37886 /* end confdefs.h.  */
37887 #include <math.h>
37888 int
37889 main ()
37890 {
37891  _ldexpl(0, 0);
37892   ;
37893   return 0;
37894 }
37895 _ACEOF
37896 if ac_fn_cxx_try_compile "$LINENO"; then :
37897   glibcxx_cv_func__ldexpl_use=yes
37898 else
37899   glibcxx_cv_func__ldexpl_use=no
37900 fi
37901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37902       ac_ext=c
37903 ac_cpp='$CPP $CPPFLAGS'
37904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37907
37908
37909 fi
37910
37911   fi
37912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37913 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37914
37915     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37916       for ac_func in _ldexpl
37917 do :
37918   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37919 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37920   cat >>confdefs.h <<_ACEOF
37921 #define HAVE__LDEXPL 1
37922 _ACEOF
37923
37924 fi
37925 done
37926
37927     fi
37928   fi
37929
37930
37931
37932
37933
37934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37935 $as_echo_n "checking for logl declaration... " >&6; }
37936   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37937     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37938   $as_echo_n "(cached) " >&6
37939 else
37940
37941
37942       ac_ext=cpp
37943 ac_cpp='$CXXCPP $CPPFLAGS'
37944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37947
37948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37949 /* end confdefs.h.  */
37950 #include <math.h>
37951                       #ifdef HAVE_IEEEFP_H
37952                       #include <ieeefp.h>
37953                       #endif
37954
37955 int
37956 main ()
37957 {
37958  logl(0);
37959   ;
37960   return 0;
37961 }
37962 _ACEOF
37963 if ac_fn_cxx_try_compile "$LINENO"; then :
37964   glibcxx_cv_func_logl_use=yes
37965 else
37966   glibcxx_cv_func_logl_use=no
37967 fi
37968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37969       ac_ext=c
37970 ac_cpp='$CPP $CPPFLAGS'
37971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37974
37975
37976 fi
37977
37978   fi
37979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37980 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37981
37982   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37983     for ac_func in logl
37984 do :
37985   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37986 if test "x$ac_cv_func_logl" = x""yes; then :
37987   cat >>confdefs.h <<_ACEOF
37988 #define HAVE_LOGL 1
37989 _ACEOF
37990
37991 fi
37992 done
37993
37994   else
37995
37996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37997 $as_echo_n "checking for _logl declaration... " >&6; }
37998   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37999     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38000   $as_echo_n "(cached) " >&6
38001 else
38002
38003
38004       ac_ext=cpp
38005 ac_cpp='$CXXCPP $CPPFLAGS'
38006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38009
38010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38011 /* end confdefs.h.  */
38012 #include <math.h>
38013                       #ifdef HAVE_IEEEFP_H
38014                       #include <ieeefp.h>
38015                       #endif
38016
38017 int
38018 main ()
38019 {
38020  _logl(0);
38021   ;
38022   return 0;
38023 }
38024 _ACEOF
38025 if ac_fn_cxx_try_compile "$LINENO"; then :
38026   glibcxx_cv_func__logl_use=yes
38027 else
38028   glibcxx_cv_func__logl_use=no
38029 fi
38030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38031       ac_ext=c
38032 ac_cpp='$CPP $CPPFLAGS'
38033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38036
38037
38038 fi
38039
38040   fi
38041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38042 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38043
38044     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38045       for ac_func in _logl
38046 do :
38047   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38048 if test "x$ac_cv_func__logl" = x""yes; then :
38049   cat >>confdefs.h <<_ACEOF
38050 #define HAVE__LOGL 1
38051 _ACEOF
38052
38053 fi
38054 done
38055
38056     fi
38057   fi
38058
38059
38060
38061
38062
38063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38064 $as_echo_n "checking for log10l declaration... " >&6; }
38065   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38066     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38067   $as_echo_n "(cached) " >&6
38068 else
38069
38070
38071       ac_ext=cpp
38072 ac_cpp='$CXXCPP $CPPFLAGS'
38073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38076
38077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38078 /* end confdefs.h.  */
38079 #include <math.h>
38080                       #ifdef HAVE_IEEEFP_H
38081                       #include <ieeefp.h>
38082                       #endif
38083
38084 int
38085 main ()
38086 {
38087  log10l(0);
38088   ;
38089   return 0;
38090 }
38091 _ACEOF
38092 if ac_fn_cxx_try_compile "$LINENO"; then :
38093   glibcxx_cv_func_log10l_use=yes
38094 else
38095   glibcxx_cv_func_log10l_use=no
38096 fi
38097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38098       ac_ext=c
38099 ac_cpp='$CPP $CPPFLAGS'
38100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38103
38104
38105 fi
38106
38107   fi
38108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38109 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38110
38111   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38112     for ac_func in log10l
38113 do :
38114   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38115 if test "x$ac_cv_func_log10l" = x""yes; then :
38116   cat >>confdefs.h <<_ACEOF
38117 #define HAVE_LOG10L 1
38118 _ACEOF
38119
38120 fi
38121 done
38122
38123   else
38124
38125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38126 $as_echo_n "checking for _log10l declaration... " >&6; }
38127   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38128     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38129   $as_echo_n "(cached) " >&6
38130 else
38131
38132
38133       ac_ext=cpp
38134 ac_cpp='$CXXCPP $CPPFLAGS'
38135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38138
38139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38140 /* end confdefs.h.  */
38141 #include <math.h>
38142                       #ifdef HAVE_IEEEFP_H
38143                       #include <ieeefp.h>
38144                       #endif
38145
38146 int
38147 main ()
38148 {
38149  _log10l(0);
38150   ;
38151   return 0;
38152 }
38153 _ACEOF
38154 if ac_fn_cxx_try_compile "$LINENO"; then :
38155   glibcxx_cv_func__log10l_use=yes
38156 else
38157   glibcxx_cv_func__log10l_use=no
38158 fi
38159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38160       ac_ext=c
38161 ac_cpp='$CPP $CPPFLAGS'
38162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38165
38166
38167 fi
38168
38169   fi
38170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38171 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38172
38173     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38174       for ac_func in _log10l
38175 do :
38176   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38177 if test "x$ac_cv_func__log10l" = x""yes; then :
38178   cat >>confdefs.h <<_ACEOF
38179 #define HAVE__LOG10L 1
38180 _ACEOF
38181
38182 fi
38183 done
38184
38185     fi
38186   fi
38187
38188
38189
38190
38191
38192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38193 $as_echo_n "checking for modfl declaration... " >&6; }
38194   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38195     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38196   $as_echo_n "(cached) " >&6
38197 else
38198
38199
38200       ac_ext=cpp
38201 ac_cpp='$CXXCPP $CPPFLAGS'
38202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38205
38206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38207 /* end confdefs.h.  */
38208 #include <math.h>
38209 int
38210 main ()
38211 {
38212  modfl(0, 0);
38213   ;
38214   return 0;
38215 }
38216 _ACEOF
38217 if ac_fn_cxx_try_compile "$LINENO"; then :
38218   glibcxx_cv_func_modfl_use=yes
38219 else
38220   glibcxx_cv_func_modfl_use=no
38221 fi
38222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38223       ac_ext=c
38224 ac_cpp='$CPP $CPPFLAGS'
38225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38228
38229
38230 fi
38231
38232   fi
38233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38234 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38235
38236   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38237     for ac_func in modfl
38238 do :
38239   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38240 if test "x$ac_cv_func_modfl" = x""yes; then :
38241   cat >>confdefs.h <<_ACEOF
38242 #define HAVE_MODFL 1
38243 _ACEOF
38244
38245 fi
38246 done
38247
38248   else
38249
38250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38251 $as_echo_n "checking for _modfl declaration... " >&6; }
38252   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38253     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38254   $as_echo_n "(cached) " >&6
38255 else
38256
38257
38258       ac_ext=cpp
38259 ac_cpp='$CXXCPP $CPPFLAGS'
38260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38263
38264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38265 /* end confdefs.h.  */
38266 #include <math.h>
38267 int
38268 main ()
38269 {
38270  _modfl(0, 0);
38271   ;
38272   return 0;
38273 }
38274 _ACEOF
38275 if ac_fn_cxx_try_compile "$LINENO"; then :
38276   glibcxx_cv_func__modfl_use=yes
38277 else
38278   glibcxx_cv_func__modfl_use=no
38279 fi
38280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38281       ac_ext=c
38282 ac_cpp='$CPP $CPPFLAGS'
38283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38286
38287
38288 fi
38289
38290   fi
38291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38292 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38293
38294     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38295       for ac_func in _modfl
38296 do :
38297   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38298 if test "x$ac_cv_func__modfl" = x""yes; then :
38299   cat >>confdefs.h <<_ACEOF
38300 #define HAVE__MODFL 1
38301 _ACEOF
38302
38303 fi
38304 done
38305
38306     fi
38307   fi
38308
38309
38310
38311
38312
38313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38314 $as_echo_n "checking for powl declaration... " >&6; }
38315   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38316     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38317   $as_echo_n "(cached) " >&6
38318 else
38319
38320
38321       ac_ext=cpp
38322 ac_cpp='$CXXCPP $CPPFLAGS'
38323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38326
38327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38328 /* end confdefs.h.  */
38329 #include <math.h>
38330 int
38331 main ()
38332 {
38333  powl(0, 0);
38334   ;
38335   return 0;
38336 }
38337 _ACEOF
38338 if ac_fn_cxx_try_compile "$LINENO"; then :
38339   glibcxx_cv_func_powl_use=yes
38340 else
38341   glibcxx_cv_func_powl_use=no
38342 fi
38343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38344       ac_ext=c
38345 ac_cpp='$CPP $CPPFLAGS'
38346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38349
38350
38351 fi
38352
38353   fi
38354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38355 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38356
38357   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38358     for ac_func in powl
38359 do :
38360   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38361 if test "x$ac_cv_func_powl" = x""yes; then :
38362   cat >>confdefs.h <<_ACEOF
38363 #define HAVE_POWL 1
38364 _ACEOF
38365
38366 fi
38367 done
38368
38369   else
38370
38371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38372 $as_echo_n "checking for _powl declaration... " >&6; }
38373   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38374     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38375   $as_echo_n "(cached) " >&6
38376 else
38377
38378
38379       ac_ext=cpp
38380 ac_cpp='$CXXCPP $CPPFLAGS'
38381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38384
38385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38386 /* end confdefs.h.  */
38387 #include <math.h>
38388 int
38389 main ()
38390 {
38391  _powl(0, 0);
38392   ;
38393   return 0;
38394 }
38395 _ACEOF
38396 if ac_fn_cxx_try_compile "$LINENO"; then :
38397   glibcxx_cv_func__powl_use=yes
38398 else
38399   glibcxx_cv_func__powl_use=no
38400 fi
38401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38402       ac_ext=c
38403 ac_cpp='$CPP $CPPFLAGS'
38404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38407
38408
38409 fi
38410
38411   fi
38412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38413 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38414
38415     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38416       for ac_func in _powl
38417 do :
38418   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38419 if test "x$ac_cv_func__powl" = x""yes; then :
38420   cat >>confdefs.h <<_ACEOF
38421 #define HAVE__POWL 1
38422 _ACEOF
38423
38424 fi
38425 done
38426
38427     fi
38428   fi
38429
38430
38431
38432
38433
38434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38435 $as_echo_n "checking for sqrtl declaration... " >&6; }
38436   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38437     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38438   $as_echo_n "(cached) " >&6
38439 else
38440
38441
38442       ac_ext=cpp
38443 ac_cpp='$CXXCPP $CPPFLAGS'
38444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38447
38448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38449 /* end confdefs.h.  */
38450 #include <math.h>
38451                       #ifdef HAVE_IEEEFP_H
38452                       #include <ieeefp.h>
38453                       #endif
38454
38455 int
38456 main ()
38457 {
38458  sqrtl(0);
38459   ;
38460   return 0;
38461 }
38462 _ACEOF
38463 if ac_fn_cxx_try_compile "$LINENO"; then :
38464   glibcxx_cv_func_sqrtl_use=yes
38465 else
38466   glibcxx_cv_func_sqrtl_use=no
38467 fi
38468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38469       ac_ext=c
38470 ac_cpp='$CPP $CPPFLAGS'
38471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38474
38475
38476 fi
38477
38478   fi
38479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38480 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38481
38482   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38483     for ac_func in sqrtl
38484 do :
38485   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38486 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38487   cat >>confdefs.h <<_ACEOF
38488 #define HAVE_SQRTL 1
38489 _ACEOF
38490
38491 fi
38492 done
38493
38494   else
38495
38496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38497 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38498   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38499     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38500   $as_echo_n "(cached) " >&6
38501 else
38502
38503
38504       ac_ext=cpp
38505 ac_cpp='$CXXCPP $CPPFLAGS'
38506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38509
38510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38511 /* end confdefs.h.  */
38512 #include <math.h>
38513                       #ifdef HAVE_IEEEFP_H
38514                       #include <ieeefp.h>
38515                       #endif
38516
38517 int
38518 main ()
38519 {
38520  _sqrtl(0);
38521   ;
38522   return 0;
38523 }
38524 _ACEOF
38525 if ac_fn_cxx_try_compile "$LINENO"; then :
38526   glibcxx_cv_func__sqrtl_use=yes
38527 else
38528   glibcxx_cv_func__sqrtl_use=no
38529 fi
38530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38531       ac_ext=c
38532 ac_cpp='$CPP $CPPFLAGS'
38533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38536
38537
38538 fi
38539
38540   fi
38541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38542 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38543
38544     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38545       for ac_func in _sqrtl
38546 do :
38547   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38548 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38549   cat >>confdefs.h <<_ACEOF
38550 #define HAVE__SQRTL 1
38551 _ACEOF
38552
38553 fi
38554 done
38555
38556     fi
38557   fi
38558
38559
38560
38561
38562
38563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38564 $as_echo_n "checking for sincosl declaration... " >&6; }
38565   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38566     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38567   $as_echo_n "(cached) " >&6
38568 else
38569
38570
38571       ac_ext=cpp
38572 ac_cpp='$CXXCPP $CPPFLAGS'
38573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38576
38577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38578 /* end confdefs.h.  */
38579 #include <math.h>
38580 int
38581 main ()
38582 {
38583  sincosl(0, 0, 0);
38584   ;
38585   return 0;
38586 }
38587 _ACEOF
38588 if ac_fn_cxx_try_compile "$LINENO"; then :
38589   glibcxx_cv_func_sincosl_use=yes
38590 else
38591   glibcxx_cv_func_sincosl_use=no
38592 fi
38593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38594       ac_ext=c
38595 ac_cpp='$CPP $CPPFLAGS'
38596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38599
38600
38601 fi
38602
38603   fi
38604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38605 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38606
38607   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38608     for ac_func in sincosl
38609 do :
38610   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38611 if test "x$ac_cv_func_sincosl" = x""yes; then :
38612   cat >>confdefs.h <<_ACEOF
38613 #define HAVE_SINCOSL 1
38614 _ACEOF
38615
38616 fi
38617 done
38618
38619   else
38620
38621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38622 $as_echo_n "checking for _sincosl declaration... " >&6; }
38623   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38624     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38625   $as_echo_n "(cached) " >&6
38626 else
38627
38628
38629       ac_ext=cpp
38630 ac_cpp='$CXXCPP $CPPFLAGS'
38631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38634
38635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38636 /* end confdefs.h.  */
38637 #include <math.h>
38638 int
38639 main ()
38640 {
38641  _sincosl(0, 0, 0);
38642   ;
38643   return 0;
38644 }
38645 _ACEOF
38646 if ac_fn_cxx_try_compile "$LINENO"; then :
38647   glibcxx_cv_func__sincosl_use=yes
38648 else
38649   glibcxx_cv_func__sincosl_use=no
38650 fi
38651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38652       ac_ext=c
38653 ac_cpp='$CPP $CPPFLAGS'
38654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38657
38658
38659 fi
38660
38661   fi
38662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38663 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38664
38665     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38666       for ac_func in _sincosl
38667 do :
38668   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38669 if test "x$ac_cv_func__sincosl" = x""yes; then :
38670   cat >>confdefs.h <<_ACEOF
38671 #define HAVE__SINCOSL 1
38672 _ACEOF
38673
38674 fi
38675 done
38676
38677     fi
38678   fi
38679
38680
38681
38682
38683
38684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38685 $as_echo_n "checking for finitel declaration... " >&6; }
38686   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38687     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38688   $as_echo_n "(cached) " >&6
38689 else
38690
38691
38692       ac_ext=cpp
38693 ac_cpp='$CXXCPP $CPPFLAGS'
38694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38697
38698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38699 /* end confdefs.h.  */
38700 #include <math.h>
38701                       #ifdef HAVE_IEEEFP_H
38702                       #include <ieeefp.h>
38703                       #endif
38704
38705 int
38706 main ()
38707 {
38708  finitel(0);
38709   ;
38710   return 0;
38711 }
38712 _ACEOF
38713 if ac_fn_cxx_try_compile "$LINENO"; then :
38714   glibcxx_cv_func_finitel_use=yes
38715 else
38716   glibcxx_cv_func_finitel_use=no
38717 fi
38718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38719       ac_ext=c
38720 ac_cpp='$CPP $CPPFLAGS'
38721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38724
38725
38726 fi
38727
38728   fi
38729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38730 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38731
38732   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38733     for ac_func in finitel
38734 do :
38735   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38736 if test "x$ac_cv_func_finitel" = x""yes; then :
38737   cat >>confdefs.h <<_ACEOF
38738 #define HAVE_FINITEL 1
38739 _ACEOF
38740
38741 fi
38742 done
38743
38744   else
38745
38746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38747 $as_echo_n "checking for _finitel declaration... " >&6; }
38748   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38749     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38750   $as_echo_n "(cached) " >&6
38751 else
38752
38753
38754       ac_ext=cpp
38755 ac_cpp='$CXXCPP $CPPFLAGS'
38756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38759
38760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38761 /* end confdefs.h.  */
38762 #include <math.h>
38763                       #ifdef HAVE_IEEEFP_H
38764                       #include <ieeefp.h>
38765                       #endif
38766
38767 int
38768 main ()
38769 {
38770  _finitel(0);
38771   ;
38772   return 0;
38773 }
38774 _ACEOF
38775 if ac_fn_cxx_try_compile "$LINENO"; then :
38776   glibcxx_cv_func__finitel_use=yes
38777 else
38778   glibcxx_cv_func__finitel_use=no
38779 fi
38780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38781       ac_ext=c
38782 ac_cpp='$CPP $CPPFLAGS'
38783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38786
38787
38788 fi
38789
38790   fi
38791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38792 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38793
38794     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38795       for ac_func in _finitel
38796 do :
38797   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38798 if test "x$ac_cv_func__finitel" = x""yes; then :
38799   cat >>confdefs.h <<_ACEOF
38800 #define HAVE__FINITEL 1
38801 _ACEOF
38802
38803 fi
38804 done
38805
38806     fi
38807   fi
38808
38809
38810
38811
38812   LIBS="$ac_save_LIBS"
38813   CXXFLAGS="$ac_save_CXXFLAGS"
38814
38815
38816   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38817   ac_save_CXXFLAGS="$CXXFLAGS"
38818   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38819
38820
38821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38822 $as_echo_n "checking for strtold declaration... " >&6; }
38823   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38824     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38825   $as_echo_n "(cached) " >&6
38826 else
38827
38828
38829       ac_ext=cpp
38830 ac_cpp='$CXXCPP $CPPFLAGS'
38831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38834
38835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38836 /* end confdefs.h.  */
38837 #include <stdlib.h>
38838 int
38839 main ()
38840 {
38841  strtold(0, 0);
38842   ;
38843   return 0;
38844 }
38845 _ACEOF
38846 if ac_fn_cxx_try_compile "$LINENO"; then :
38847   glibcxx_cv_func_strtold_use=yes
38848 else
38849   glibcxx_cv_func_strtold_use=no
38850 fi
38851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38852       ac_ext=c
38853 ac_cpp='$CPP $CPPFLAGS'
38854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38857
38858
38859 fi
38860
38861   fi
38862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38863 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38864   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38865     for ac_func in strtold
38866 do :
38867   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38868 if test "x$ac_cv_func_strtold" = x""yes; then :
38869   cat >>confdefs.h <<_ACEOF
38870 #define HAVE_STRTOLD 1
38871 _ACEOF
38872
38873 fi
38874 done
38875
38876   fi
38877
38878
38879
38880
38881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38882 $as_echo_n "checking for strtof declaration... " >&6; }
38883   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38884     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38885   $as_echo_n "(cached) " >&6
38886 else
38887
38888
38889       ac_ext=cpp
38890 ac_cpp='$CXXCPP $CPPFLAGS'
38891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38894
38895       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38896 /* end confdefs.h.  */
38897 #include <stdlib.h>
38898 int
38899 main ()
38900 {
38901  strtof(0, 0);
38902   ;
38903   return 0;
38904 }
38905 _ACEOF
38906 if ac_fn_cxx_try_compile "$LINENO"; then :
38907   glibcxx_cv_func_strtof_use=yes
38908 else
38909   glibcxx_cv_func_strtof_use=no
38910 fi
38911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38912       ac_ext=c
38913 ac_cpp='$CPP $CPPFLAGS'
38914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38917
38918
38919 fi
38920
38921   fi
38922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38923 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38924   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38925     for ac_func in strtof
38926 do :
38927   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38928 if test "x$ac_cv_func_strtof" = x""yes; then :
38929   cat >>confdefs.h <<_ACEOF
38930 #define HAVE_STRTOF 1
38931 _ACEOF
38932
38933 fi
38934 done
38935
38936   fi
38937
38938
38939
38940
38941   CXXFLAGS="$ac_save_CXXFLAGS"
38942
38943     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38944
38945     # We don't yet support AIX's TLS ABI.
38946     #GCC_CHECK_TLS
38947
38948
38949
38950
38951
38952           am_save_CPPFLAGS="$CPPFLAGS"
38953
38954   for element in $INCICONV; do
38955     haveit=
38956     for x in $CPPFLAGS; do
38957
38958   acl_save_prefix="$prefix"
38959   prefix="$acl_final_prefix"
38960   acl_save_exec_prefix="$exec_prefix"
38961   exec_prefix="$acl_final_exec_prefix"
38962   eval x=\"$x\"
38963   exec_prefix="$acl_save_exec_prefix"
38964   prefix="$acl_save_prefix"
38965
38966       if test "X$x" = "X$element"; then
38967         haveit=yes
38968         break
38969       fi
38970     done
38971     if test -z "$haveit"; then
38972       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38973     fi
38974   done
38975
38976
38977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38978 $as_echo_n "checking for iconv... " >&6; }
38979 if test "${am_cv_func_iconv+set}" = set; then :
38980   $as_echo_n "(cached) " >&6
38981 else
38982
38983     am_cv_func_iconv="no, consider installing GNU libiconv"
38984     am_cv_lib_iconv=no
38985     if test x$gcc_no_link = xyes; then
38986   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38987 fi
38988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38989 /* end confdefs.h.  */
38990 #include <stdlib.h>
38991 #include <iconv.h>
38992 int
38993 main ()
38994 {
38995 iconv_t cd = iconv_open("","");
38996        iconv(cd,NULL,NULL,NULL,NULL);
38997        iconv_close(cd);
38998   ;
38999   return 0;
39000 }
39001 _ACEOF
39002 if ac_fn_c_try_link "$LINENO"; then :
39003   am_cv_func_iconv=yes
39004 fi
39005 rm -f core conftest.err conftest.$ac_objext \
39006     conftest$ac_exeext conftest.$ac_ext
39007     if test "$am_cv_func_iconv" != yes; then
39008       am_save_LIBS="$LIBS"
39009       LIBS="$LIBS $LIBICONV"
39010       if test x$gcc_no_link = xyes; then
39011   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39012 fi
39013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39014 /* end confdefs.h.  */
39015 #include <stdlib.h>
39016 #include <iconv.h>
39017 int
39018 main ()
39019 {
39020 iconv_t cd = iconv_open("","");
39021          iconv(cd,NULL,NULL,NULL,NULL);
39022          iconv_close(cd);
39023   ;
39024   return 0;
39025 }
39026 _ACEOF
39027 if ac_fn_c_try_link "$LINENO"; then :
39028   am_cv_lib_iconv=yes
39029         am_cv_func_iconv=yes
39030 fi
39031 rm -f core conftest.err conftest.$ac_objext \
39032     conftest$ac_exeext conftest.$ac_ext
39033       LIBS="$am_save_LIBS"
39034     fi
39035
39036 fi
39037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39038 $as_echo "$am_cv_func_iconv" >&6; }
39039   if test "$am_cv_func_iconv" = yes; then
39040
39041 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39042
39043   fi
39044   if test "$am_cv_lib_iconv" = yes; then
39045     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39046 $as_echo_n "checking how to link with libiconv... " >&6; }
39047     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39048 $as_echo "$LIBICONV" >&6; }
39049   else
39050             CPPFLAGS="$am_save_CPPFLAGS"
39051     LIBICONV=
39052     LTLIBICONV=
39053   fi
39054
39055
39056
39057   if test "$am_cv_func_iconv" = yes; then
39058     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39059 $as_echo_n "checking for iconv declaration... " >&6; }
39060     if test "${am_cv_proto_iconv+set}" = set; then :
39061   $as_echo_n "(cached) " >&6
39062 else
39063
39064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39065 /* end confdefs.h.  */
39066
39067 #include <stdlib.h>
39068 #include <iconv.h>
39069 extern
39070 #ifdef __cplusplus
39071 "C"
39072 #endif
39073 #if defined(__STDC__) || defined(__cplusplus)
39074 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39075 #else
39076 size_t iconv();
39077 #endif
39078
39079 int
39080 main ()
39081 {
39082
39083   ;
39084   return 0;
39085 }
39086 _ACEOF
39087 if ac_fn_c_try_compile "$LINENO"; then :
39088   am_cv_proto_iconv_arg1=""
39089 else
39090   am_cv_proto_iconv_arg1="const"
39091 fi
39092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39093       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);"
39094 fi
39095
39096     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39097     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39098          }$am_cv_proto_iconv" >&5
39099 $as_echo "${ac_t:-
39100          }$am_cv_proto_iconv" >&6; }
39101
39102 cat >>confdefs.h <<_ACEOF
39103 #define ICONV_CONST $am_cv_proto_iconv_arg1
39104 _ACEOF
39105
39106   fi
39107
39108     ;;
39109
39110   *-darwin*)
39111     # Darwin versions vary, but the linker should work in a cross environment,
39112     # so we just check for all the features here.
39113     # Check for available headers.
39114
39115     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39116
39117   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39118   ac_save_CXXFLAGS="$CXXFLAGS"
39119   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39120
39121     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39122 $as_echo_n "checking for sin in -lm... " >&6; }
39123 if test "${ac_cv_lib_m_sin+set}" = set; then :
39124   $as_echo_n "(cached) " >&6
39125 else
39126   ac_check_lib_save_LIBS=$LIBS
39127 LIBS="-lm  $LIBS"
39128 if test x$gcc_no_link = xyes; then
39129   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39130 fi
39131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39132 /* end confdefs.h.  */
39133
39134 /* Override any GCC internal prototype to avoid an error.
39135    Use char because int might match the return type of a GCC
39136    builtin and then its argument prototype would still apply.  */
39137 #ifdef __cplusplus
39138 extern "C"
39139 #endif
39140 char sin ();
39141 int
39142 main ()
39143 {
39144 return sin ();
39145   ;
39146   return 0;
39147 }
39148 _ACEOF
39149 if ac_fn_c_try_link "$LINENO"; then :
39150   ac_cv_lib_m_sin=yes
39151 else
39152   ac_cv_lib_m_sin=no
39153 fi
39154 rm -f core conftest.err conftest.$ac_objext \
39155     conftest$ac_exeext conftest.$ac_ext
39156 LIBS=$ac_check_lib_save_LIBS
39157 fi
39158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39159 $as_echo "$ac_cv_lib_m_sin" >&6; }
39160 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39161   libm="-lm"
39162 fi
39163
39164   ac_save_LIBS="$LIBS"
39165   LIBS="$LIBS $libm"
39166
39167
39168
39169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39170 $as_echo_n "checking for isinf declaration... " >&6; }
39171   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39172     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39173   $as_echo_n "(cached) " >&6
39174 else
39175
39176
39177       ac_ext=cpp
39178 ac_cpp='$CXXCPP $CPPFLAGS'
39179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39182
39183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39184 /* end confdefs.h.  */
39185 #include <math.h>
39186                       #ifdef HAVE_IEEEFP_H
39187                       #include <ieeefp.h>
39188                       #endif
39189
39190 int
39191 main ()
39192 {
39193  isinf(0);
39194   ;
39195   return 0;
39196 }
39197 _ACEOF
39198 if ac_fn_cxx_try_compile "$LINENO"; then :
39199   glibcxx_cv_func_isinf_use=yes
39200 else
39201   glibcxx_cv_func_isinf_use=no
39202 fi
39203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39204       ac_ext=c
39205 ac_cpp='$CPP $CPPFLAGS'
39206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39209
39210
39211 fi
39212
39213   fi
39214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39215 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39216
39217   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39218     for ac_func in isinf
39219 do :
39220   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39221 if test "x$ac_cv_func_isinf" = x""yes; then :
39222   cat >>confdefs.h <<_ACEOF
39223 #define HAVE_ISINF 1
39224 _ACEOF
39225
39226 fi
39227 done
39228
39229   else
39230
39231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39232 $as_echo_n "checking for _isinf declaration... " >&6; }
39233   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39234     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39235   $as_echo_n "(cached) " >&6
39236 else
39237
39238
39239       ac_ext=cpp
39240 ac_cpp='$CXXCPP $CPPFLAGS'
39241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39244
39245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39246 /* end confdefs.h.  */
39247 #include <math.h>
39248                       #ifdef HAVE_IEEEFP_H
39249                       #include <ieeefp.h>
39250                       #endif
39251
39252 int
39253 main ()
39254 {
39255  _isinf(0);
39256   ;
39257   return 0;
39258 }
39259 _ACEOF
39260 if ac_fn_cxx_try_compile "$LINENO"; then :
39261   glibcxx_cv_func__isinf_use=yes
39262 else
39263   glibcxx_cv_func__isinf_use=no
39264 fi
39265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39266       ac_ext=c
39267 ac_cpp='$CPP $CPPFLAGS'
39268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39271
39272
39273 fi
39274
39275   fi
39276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39277 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39278
39279     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39280       for ac_func in _isinf
39281 do :
39282   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39283 if test "x$ac_cv_func__isinf" = x""yes; then :
39284   cat >>confdefs.h <<_ACEOF
39285 #define HAVE__ISINF 1
39286 _ACEOF
39287
39288 fi
39289 done
39290
39291     fi
39292   fi
39293
39294
39295
39296
39297
39298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39299 $as_echo_n "checking for isnan declaration... " >&6; }
39300   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39301     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39302   $as_echo_n "(cached) " >&6
39303 else
39304
39305
39306       ac_ext=cpp
39307 ac_cpp='$CXXCPP $CPPFLAGS'
39308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39311
39312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39313 /* end confdefs.h.  */
39314 #include <math.h>
39315                       #ifdef HAVE_IEEEFP_H
39316                       #include <ieeefp.h>
39317                       #endif
39318
39319 int
39320 main ()
39321 {
39322  isnan(0);
39323   ;
39324   return 0;
39325 }
39326 _ACEOF
39327 if ac_fn_cxx_try_compile "$LINENO"; then :
39328   glibcxx_cv_func_isnan_use=yes
39329 else
39330   glibcxx_cv_func_isnan_use=no
39331 fi
39332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39333       ac_ext=c
39334 ac_cpp='$CPP $CPPFLAGS'
39335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39338
39339
39340 fi
39341
39342   fi
39343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39344 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39345
39346   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39347     for ac_func in isnan
39348 do :
39349   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39350 if test "x$ac_cv_func_isnan" = x""yes; then :
39351   cat >>confdefs.h <<_ACEOF
39352 #define HAVE_ISNAN 1
39353 _ACEOF
39354
39355 fi
39356 done
39357
39358   else
39359
39360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39361 $as_echo_n "checking for _isnan declaration... " >&6; }
39362   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39363     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39364   $as_echo_n "(cached) " >&6
39365 else
39366
39367
39368       ac_ext=cpp
39369 ac_cpp='$CXXCPP $CPPFLAGS'
39370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39373
39374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39375 /* end confdefs.h.  */
39376 #include <math.h>
39377                       #ifdef HAVE_IEEEFP_H
39378                       #include <ieeefp.h>
39379                       #endif
39380
39381 int
39382 main ()
39383 {
39384  _isnan(0);
39385   ;
39386   return 0;
39387 }
39388 _ACEOF
39389 if ac_fn_cxx_try_compile "$LINENO"; then :
39390   glibcxx_cv_func__isnan_use=yes
39391 else
39392   glibcxx_cv_func__isnan_use=no
39393 fi
39394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39395       ac_ext=c
39396 ac_cpp='$CPP $CPPFLAGS'
39397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39400
39401
39402 fi
39403
39404   fi
39405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39406 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39407
39408     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39409       for ac_func in _isnan
39410 do :
39411   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39412 if test "x$ac_cv_func__isnan" = x""yes; then :
39413   cat >>confdefs.h <<_ACEOF
39414 #define HAVE__ISNAN 1
39415 _ACEOF
39416
39417 fi
39418 done
39419
39420     fi
39421   fi
39422
39423
39424
39425
39426
39427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39428 $as_echo_n "checking for finite declaration... " >&6; }
39429   if test x${glibcxx_cv_func_finite_use+set} != xset; then
39430     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39431   $as_echo_n "(cached) " >&6
39432 else
39433
39434
39435       ac_ext=cpp
39436 ac_cpp='$CXXCPP $CPPFLAGS'
39437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39440
39441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39442 /* end confdefs.h.  */
39443 #include <math.h>
39444                       #ifdef HAVE_IEEEFP_H
39445                       #include <ieeefp.h>
39446                       #endif
39447
39448 int
39449 main ()
39450 {
39451  finite(0);
39452   ;
39453   return 0;
39454 }
39455 _ACEOF
39456 if ac_fn_cxx_try_compile "$LINENO"; then :
39457   glibcxx_cv_func_finite_use=yes
39458 else
39459   glibcxx_cv_func_finite_use=no
39460 fi
39461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39462       ac_ext=c
39463 ac_cpp='$CPP $CPPFLAGS'
39464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39467
39468
39469 fi
39470
39471   fi
39472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39473 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39474
39475   if test x$glibcxx_cv_func_finite_use = x"yes"; then
39476     for ac_func in finite
39477 do :
39478   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39479 if test "x$ac_cv_func_finite" = x""yes; then :
39480   cat >>confdefs.h <<_ACEOF
39481 #define HAVE_FINITE 1
39482 _ACEOF
39483
39484 fi
39485 done
39486
39487   else
39488
39489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39490 $as_echo_n "checking for _finite declaration... " >&6; }
39491   if test x${glibcxx_cv_func__finite_use+set} != xset; then
39492     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39493   $as_echo_n "(cached) " >&6
39494 else
39495
39496
39497       ac_ext=cpp
39498 ac_cpp='$CXXCPP $CPPFLAGS'
39499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39502
39503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39504 /* end confdefs.h.  */
39505 #include <math.h>
39506                       #ifdef HAVE_IEEEFP_H
39507                       #include <ieeefp.h>
39508                       #endif
39509
39510 int
39511 main ()
39512 {
39513  _finite(0);
39514   ;
39515   return 0;
39516 }
39517 _ACEOF
39518 if ac_fn_cxx_try_compile "$LINENO"; then :
39519   glibcxx_cv_func__finite_use=yes
39520 else
39521   glibcxx_cv_func__finite_use=no
39522 fi
39523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39524       ac_ext=c
39525 ac_cpp='$CPP $CPPFLAGS'
39526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39529
39530
39531 fi
39532
39533   fi
39534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39535 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39536
39537     if test x$glibcxx_cv_func__finite_use = x"yes"; then
39538       for ac_func in _finite
39539 do :
39540   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39541 if test "x$ac_cv_func__finite" = x""yes; then :
39542   cat >>confdefs.h <<_ACEOF
39543 #define HAVE__FINITE 1
39544 _ACEOF
39545
39546 fi
39547 done
39548
39549     fi
39550   fi
39551
39552
39553
39554
39555
39556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39557 $as_echo_n "checking for sincos declaration... " >&6; }
39558   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39559     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39560   $as_echo_n "(cached) " >&6
39561 else
39562
39563
39564       ac_ext=cpp
39565 ac_cpp='$CXXCPP $CPPFLAGS'
39566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39569
39570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39571 /* end confdefs.h.  */
39572 #include <math.h>
39573 int
39574 main ()
39575 {
39576  sincos(0, 0, 0);
39577   ;
39578   return 0;
39579 }
39580 _ACEOF
39581 if ac_fn_cxx_try_compile "$LINENO"; then :
39582   glibcxx_cv_func_sincos_use=yes
39583 else
39584   glibcxx_cv_func_sincos_use=no
39585 fi
39586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39587       ac_ext=c
39588 ac_cpp='$CPP $CPPFLAGS'
39589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39592
39593
39594 fi
39595
39596   fi
39597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39598 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39599
39600   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39601     for ac_func in sincos
39602 do :
39603   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39604 if test "x$ac_cv_func_sincos" = x""yes; then :
39605   cat >>confdefs.h <<_ACEOF
39606 #define HAVE_SINCOS 1
39607 _ACEOF
39608
39609 fi
39610 done
39611
39612   else
39613
39614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39615 $as_echo_n "checking for _sincos declaration... " >&6; }
39616   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39617     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39618   $as_echo_n "(cached) " >&6
39619 else
39620
39621
39622       ac_ext=cpp
39623 ac_cpp='$CXXCPP $CPPFLAGS'
39624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39627
39628       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39629 /* end confdefs.h.  */
39630 #include <math.h>
39631 int
39632 main ()
39633 {
39634  _sincos(0, 0, 0);
39635   ;
39636   return 0;
39637 }
39638 _ACEOF
39639 if ac_fn_cxx_try_compile "$LINENO"; then :
39640   glibcxx_cv_func__sincos_use=yes
39641 else
39642   glibcxx_cv_func__sincos_use=no
39643 fi
39644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39645       ac_ext=c
39646 ac_cpp='$CPP $CPPFLAGS'
39647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39650
39651
39652 fi
39653
39654   fi
39655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39656 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39657
39658     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39659       for ac_func in _sincos
39660 do :
39661   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39662 if test "x$ac_cv_func__sincos" = x""yes; then :
39663   cat >>confdefs.h <<_ACEOF
39664 #define HAVE__SINCOS 1
39665 _ACEOF
39666
39667 fi
39668 done
39669
39670     fi
39671   fi
39672
39673
39674
39675
39676
39677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39678 $as_echo_n "checking for fpclass declaration... " >&6; }
39679   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39680     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39681   $as_echo_n "(cached) " >&6
39682 else
39683
39684
39685       ac_ext=cpp
39686 ac_cpp='$CXXCPP $CPPFLAGS'
39687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39690
39691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39692 /* end confdefs.h.  */
39693 #include <math.h>
39694                       #ifdef HAVE_IEEEFP_H
39695                       #include <ieeefp.h>
39696                       #endif
39697
39698 int
39699 main ()
39700 {
39701  fpclass(0);
39702   ;
39703   return 0;
39704 }
39705 _ACEOF
39706 if ac_fn_cxx_try_compile "$LINENO"; then :
39707   glibcxx_cv_func_fpclass_use=yes
39708 else
39709   glibcxx_cv_func_fpclass_use=no
39710 fi
39711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39712       ac_ext=c
39713 ac_cpp='$CPP $CPPFLAGS'
39714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39717
39718
39719 fi
39720
39721   fi
39722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39723 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39724
39725   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39726     for ac_func in fpclass
39727 do :
39728   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39729 if test "x$ac_cv_func_fpclass" = x""yes; then :
39730   cat >>confdefs.h <<_ACEOF
39731 #define HAVE_FPCLASS 1
39732 _ACEOF
39733
39734 fi
39735 done
39736
39737   else
39738
39739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39740 $as_echo_n "checking for _fpclass declaration... " >&6; }
39741   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39742     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39743   $as_echo_n "(cached) " >&6
39744 else
39745
39746
39747       ac_ext=cpp
39748 ac_cpp='$CXXCPP $CPPFLAGS'
39749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39752
39753       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39754 /* end confdefs.h.  */
39755 #include <math.h>
39756                       #ifdef HAVE_IEEEFP_H
39757                       #include <ieeefp.h>
39758                       #endif
39759
39760 int
39761 main ()
39762 {
39763  _fpclass(0);
39764   ;
39765   return 0;
39766 }
39767 _ACEOF
39768 if ac_fn_cxx_try_compile "$LINENO"; then :
39769   glibcxx_cv_func__fpclass_use=yes
39770 else
39771   glibcxx_cv_func__fpclass_use=no
39772 fi
39773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39774       ac_ext=c
39775 ac_cpp='$CPP $CPPFLAGS'
39776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39779
39780
39781 fi
39782
39783   fi
39784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39785 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39786
39787     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39788       for ac_func in _fpclass
39789 do :
39790   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39791 if test "x$ac_cv_func__fpclass" = x""yes; then :
39792   cat >>confdefs.h <<_ACEOF
39793 #define HAVE__FPCLASS 1
39794 _ACEOF
39795
39796 fi
39797 done
39798
39799     fi
39800   fi
39801
39802
39803
39804
39805
39806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39807 $as_echo_n "checking for qfpclass declaration... " >&6; }
39808   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39809     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39810   $as_echo_n "(cached) " >&6
39811 else
39812
39813
39814       ac_ext=cpp
39815 ac_cpp='$CXXCPP $CPPFLAGS'
39816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39819
39820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39821 /* end confdefs.h.  */
39822 #include <math.h>
39823                       #ifdef HAVE_IEEEFP_H
39824                       #include <ieeefp.h>
39825                       #endif
39826
39827 int
39828 main ()
39829 {
39830  qfpclass(0);
39831   ;
39832   return 0;
39833 }
39834 _ACEOF
39835 if ac_fn_cxx_try_compile "$LINENO"; then :
39836   glibcxx_cv_func_qfpclass_use=yes
39837 else
39838   glibcxx_cv_func_qfpclass_use=no
39839 fi
39840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39841       ac_ext=c
39842 ac_cpp='$CPP $CPPFLAGS'
39843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39846
39847
39848 fi
39849
39850   fi
39851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39852 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39853
39854   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39855     for ac_func in qfpclass
39856 do :
39857   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39858 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39859   cat >>confdefs.h <<_ACEOF
39860 #define HAVE_QFPCLASS 1
39861 _ACEOF
39862
39863 fi
39864 done
39865
39866   else
39867
39868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39869 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39870   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39871     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39872   $as_echo_n "(cached) " >&6
39873 else
39874
39875
39876       ac_ext=cpp
39877 ac_cpp='$CXXCPP $CPPFLAGS'
39878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39881
39882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39883 /* end confdefs.h.  */
39884 #include <math.h>
39885                       #ifdef HAVE_IEEEFP_H
39886                       #include <ieeefp.h>
39887                       #endif
39888
39889 int
39890 main ()
39891 {
39892  _qfpclass(0);
39893   ;
39894   return 0;
39895 }
39896 _ACEOF
39897 if ac_fn_cxx_try_compile "$LINENO"; then :
39898   glibcxx_cv_func__qfpclass_use=yes
39899 else
39900   glibcxx_cv_func__qfpclass_use=no
39901 fi
39902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39903       ac_ext=c
39904 ac_cpp='$CPP $CPPFLAGS'
39905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39908
39909
39910 fi
39911
39912   fi
39913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39914 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39915
39916     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39917       for ac_func in _qfpclass
39918 do :
39919   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39920 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39921   cat >>confdefs.h <<_ACEOF
39922 #define HAVE__QFPCLASS 1
39923 _ACEOF
39924
39925 fi
39926 done
39927
39928     fi
39929   fi
39930
39931
39932
39933
39934
39935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39936 $as_echo_n "checking for hypot declaration... " >&6; }
39937   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39938     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39939   $as_echo_n "(cached) " >&6
39940 else
39941
39942
39943       ac_ext=cpp
39944 ac_cpp='$CXXCPP $CPPFLAGS'
39945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39948
39949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39950 /* end confdefs.h.  */
39951 #include <math.h>
39952 int
39953 main ()
39954 {
39955  hypot(0, 0);
39956   ;
39957   return 0;
39958 }
39959 _ACEOF
39960 if ac_fn_cxx_try_compile "$LINENO"; then :
39961   glibcxx_cv_func_hypot_use=yes
39962 else
39963   glibcxx_cv_func_hypot_use=no
39964 fi
39965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39966       ac_ext=c
39967 ac_cpp='$CPP $CPPFLAGS'
39968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39971
39972
39973 fi
39974
39975   fi
39976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39977 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39978
39979   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39980     for ac_func in hypot
39981 do :
39982   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39983 if test "x$ac_cv_func_hypot" = x""yes; then :
39984   cat >>confdefs.h <<_ACEOF
39985 #define HAVE_HYPOT 1
39986 _ACEOF
39987
39988 fi
39989 done
39990
39991   else
39992
39993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39994 $as_echo_n "checking for _hypot declaration... " >&6; }
39995   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39996     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39997   $as_echo_n "(cached) " >&6
39998 else
39999
40000
40001       ac_ext=cpp
40002 ac_cpp='$CXXCPP $CPPFLAGS'
40003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40006
40007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40008 /* end confdefs.h.  */
40009 #include <math.h>
40010 int
40011 main ()
40012 {
40013  _hypot(0, 0);
40014   ;
40015   return 0;
40016 }
40017 _ACEOF
40018 if ac_fn_cxx_try_compile "$LINENO"; then :
40019   glibcxx_cv_func__hypot_use=yes
40020 else
40021   glibcxx_cv_func__hypot_use=no
40022 fi
40023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40024       ac_ext=c
40025 ac_cpp='$CPP $CPPFLAGS'
40026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40029
40030
40031 fi
40032
40033   fi
40034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40035 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40036
40037     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40038       for ac_func in _hypot
40039 do :
40040   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40041 if test "x$ac_cv_func__hypot" = x""yes; then :
40042   cat >>confdefs.h <<_ACEOF
40043 #define HAVE__HYPOT 1
40044 _ACEOF
40045
40046 fi
40047 done
40048
40049     fi
40050   fi
40051
40052
40053
40054
40055
40056     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40057 $as_echo_n "checking for float trig functions... " >&6; }
40058   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40059   $as_echo_n "(cached) " >&6
40060 else
40061
40062
40063     ac_ext=cpp
40064 ac_cpp='$CXXCPP $CPPFLAGS'
40065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40068
40069     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40070 /* end confdefs.h.  */
40071 #include <math.h>
40072 int
40073 main ()
40074 {
40075 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40076   ;
40077   return 0;
40078 }
40079 _ACEOF
40080 if ac_fn_cxx_try_compile "$LINENO"; then :
40081   glibcxx_cv_func_float_trig_use=yes
40082 else
40083   glibcxx_cv_func_float_trig_use=no
40084 fi
40085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40086     ac_ext=c
40087 ac_cpp='$CPP $CPPFLAGS'
40088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40091
40092 fi
40093
40094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40095 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40096   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40097     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40098 do :
40099   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40101 eval as_val=\$$as_ac_var
40102    if test "x$as_val" = x""yes; then :
40103   cat >>confdefs.h <<_ACEOF
40104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40105 _ACEOF
40106
40107 fi
40108 done
40109
40110   else
40111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40112 $as_echo_n "checking for _float trig functions... " >&6; }
40113     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40114   $as_echo_n "(cached) " >&6
40115 else
40116
40117
40118       ac_ext=cpp
40119 ac_cpp='$CXXCPP $CPPFLAGS'
40120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40123
40124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40125 /* end confdefs.h.  */
40126 #include <math.h>
40127 int
40128 main ()
40129 {
40130 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40131   ;
40132   return 0;
40133 }
40134 _ACEOF
40135 if ac_fn_cxx_try_compile "$LINENO"; then :
40136   glibcxx_cv_func__float_trig_use=yes
40137 else
40138   glibcxx_cv_func__float_trig_use=no
40139 fi
40140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40141       ac_ext=c
40142 ac_cpp='$CPP $CPPFLAGS'
40143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40146
40147 fi
40148
40149     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40150 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40151     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40152       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40153 do :
40154   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40156 eval as_val=\$$as_ac_var
40157    if test "x$as_val" = x""yes; then :
40158   cat >>confdefs.h <<_ACEOF
40159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40160 _ACEOF
40161
40162 fi
40163 done
40164
40165     fi
40166   fi
40167
40168
40169
40170
40171
40172     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40173 $as_echo_n "checking for float round functions... " >&6; }
40174   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40175   $as_echo_n "(cached) " >&6
40176 else
40177
40178
40179     ac_ext=cpp
40180 ac_cpp='$CXXCPP $CPPFLAGS'
40181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40184
40185     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40186 /* end confdefs.h.  */
40187 #include <math.h>
40188 int
40189 main ()
40190 {
40191 ceilf (0); floorf (0);
40192   ;
40193   return 0;
40194 }
40195 _ACEOF
40196 if ac_fn_cxx_try_compile "$LINENO"; then :
40197   glibcxx_cv_func_float_round_use=yes
40198 else
40199   glibcxx_cv_func_float_round_use=no
40200 fi
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40202     ac_ext=c
40203 ac_cpp='$CPP $CPPFLAGS'
40204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40207
40208 fi
40209
40210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40211 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40212   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40213     for ac_func in ceilf floorf
40214 do :
40215   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40217 eval as_val=\$$as_ac_var
40218    if test "x$as_val" = x""yes; then :
40219   cat >>confdefs.h <<_ACEOF
40220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40221 _ACEOF
40222
40223 fi
40224 done
40225
40226   else
40227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40228 $as_echo_n "checking for _float round functions... " >&6; }
40229     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40230   $as_echo_n "(cached) " >&6
40231 else
40232
40233
40234       ac_ext=cpp
40235 ac_cpp='$CXXCPP $CPPFLAGS'
40236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40239
40240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40241 /* end confdefs.h.  */
40242 #include <math.h>
40243 int
40244 main ()
40245 {
40246 _ceilf (0); _floorf (0);
40247   ;
40248   return 0;
40249 }
40250 _ACEOF
40251 if ac_fn_cxx_try_compile "$LINENO"; then :
40252   glibcxx_cv_func__float_round_use=yes
40253 else
40254   glibcxx_cv_func__float_round_use=no
40255 fi
40256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40257       ac_ext=c
40258 ac_cpp='$CPP $CPPFLAGS'
40259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40262
40263 fi
40264
40265     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40266 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40267     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40268       for ac_func in _ceilf _floorf
40269 do :
40270   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40272 eval as_val=\$$as_ac_var
40273    if test "x$as_val" = x""yes; then :
40274   cat >>confdefs.h <<_ACEOF
40275 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40276 _ACEOF
40277
40278 fi
40279 done
40280
40281     fi
40282   fi
40283
40284
40285
40286
40287
40288
40289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40290 $as_echo_n "checking for expf declaration... " >&6; }
40291   if test x${glibcxx_cv_func_expf_use+set} != xset; then
40292     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40293   $as_echo_n "(cached) " >&6
40294 else
40295
40296
40297       ac_ext=cpp
40298 ac_cpp='$CXXCPP $CPPFLAGS'
40299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40302
40303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40304 /* end confdefs.h.  */
40305 #include <math.h>
40306                       #ifdef HAVE_IEEEFP_H
40307                       #include <ieeefp.h>
40308                       #endif
40309
40310 int
40311 main ()
40312 {
40313  expf(0);
40314   ;
40315   return 0;
40316 }
40317 _ACEOF
40318 if ac_fn_cxx_try_compile "$LINENO"; then :
40319   glibcxx_cv_func_expf_use=yes
40320 else
40321   glibcxx_cv_func_expf_use=no
40322 fi
40323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40324       ac_ext=c
40325 ac_cpp='$CPP $CPPFLAGS'
40326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40329
40330
40331 fi
40332
40333   fi
40334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40335 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40336
40337   if test x$glibcxx_cv_func_expf_use = x"yes"; then
40338     for ac_func in expf
40339 do :
40340   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40341 if test "x$ac_cv_func_expf" = x""yes; then :
40342   cat >>confdefs.h <<_ACEOF
40343 #define HAVE_EXPF 1
40344 _ACEOF
40345
40346 fi
40347 done
40348
40349   else
40350
40351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40352 $as_echo_n "checking for _expf declaration... " >&6; }
40353   if test x${glibcxx_cv_func__expf_use+set} != xset; then
40354     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40355   $as_echo_n "(cached) " >&6
40356 else
40357
40358
40359       ac_ext=cpp
40360 ac_cpp='$CXXCPP $CPPFLAGS'
40361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40364
40365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40366 /* end confdefs.h.  */
40367 #include <math.h>
40368                       #ifdef HAVE_IEEEFP_H
40369                       #include <ieeefp.h>
40370                       #endif
40371
40372 int
40373 main ()
40374 {
40375  _expf(0);
40376   ;
40377   return 0;
40378 }
40379 _ACEOF
40380 if ac_fn_cxx_try_compile "$LINENO"; then :
40381   glibcxx_cv_func__expf_use=yes
40382 else
40383   glibcxx_cv_func__expf_use=no
40384 fi
40385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40386       ac_ext=c
40387 ac_cpp='$CPP $CPPFLAGS'
40388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40391
40392
40393 fi
40394
40395   fi
40396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40397 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40398
40399     if test x$glibcxx_cv_func__expf_use = x"yes"; then
40400       for ac_func in _expf
40401 do :
40402   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40403 if test "x$ac_cv_func__expf" = x""yes; then :
40404   cat >>confdefs.h <<_ACEOF
40405 #define HAVE__EXPF 1
40406 _ACEOF
40407
40408 fi
40409 done
40410
40411     fi
40412   fi
40413
40414
40415
40416
40417
40418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40419 $as_echo_n "checking for isnanf declaration... " >&6; }
40420   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40421     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40422   $as_echo_n "(cached) " >&6
40423 else
40424
40425
40426       ac_ext=cpp
40427 ac_cpp='$CXXCPP $CPPFLAGS'
40428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40431
40432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40433 /* end confdefs.h.  */
40434 #include <math.h>
40435                       #ifdef HAVE_IEEEFP_H
40436                       #include <ieeefp.h>
40437                       #endif
40438
40439 int
40440 main ()
40441 {
40442  isnanf(0);
40443   ;
40444   return 0;
40445 }
40446 _ACEOF
40447 if ac_fn_cxx_try_compile "$LINENO"; then :
40448   glibcxx_cv_func_isnanf_use=yes
40449 else
40450   glibcxx_cv_func_isnanf_use=no
40451 fi
40452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40453       ac_ext=c
40454 ac_cpp='$CPP $CPPFLAGS'
40455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40458
40459
40460 fi
40461
40462   fi
40463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40464 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40465
40466   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40467     for ac_func in isnanf
40468 do :
40469   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40470 if test "x$ac_cv_func_isnanf" = x""yes; then :
40471   cat >>confdefs.h <<_ACEOF
40472 #define HAVE_ISNANF 1
40473 _ACEOF
40474
40475 fi
40476 done
40477
40478   else
40479
40480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40481 $as_echo_n "checking for _isnanf declaration... " >&6; }
40482   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40483     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40484   $as_echo_n "(cached) " >&6
40485 else
40486
40487
40488       ac_ext=cpp
40489 ac_cpp='$CXXCPP $CPPFLAGS'
40490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40493
40494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40495 /* end confdefs.h.  */
40496 #include <math.h>
40497                       #ifdef HAVE_IEEEFP_H
40498                       #include <ieeefp.h>
40499                       #endif
40500
40501 int
40502 main ()
40503 {
40504  _isnanf(0);
40505   ;
40506   return 0;
40507 }
40508 _ACEOF
40509 if ac_fn_cxx_try_compile "$LINENO"; then :
40510   glibcxx_cv_func__isnanf_use=yes
40511 else
40512   glibcxx_cv_func__isnanf_use=no
40513 fi
40514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40515       ac_ext=c
40516 ac_cpp='$CPP $CPPFLAGS'
40517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40520
40521
40522 fi
40523
40524   fi
40525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40526 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40527
40528     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40529       for ac_func in _isnanf
40530 do :
40531   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40532 if test "x$ac_cv_func__isnanf" = x""yes; then :
40533   cat >>confdefs.h <<_ACEOF
40534 #define HAVE__ISNANF 1
40535 _ACEOF
40536
40537 fi
40538 done
40539
40540     fi
40541   fi
40542
40543
40544
40545
40546
40547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40548 $as_echo_n "checking for isinff declaration... " >&6; }
40549   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40550     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40551   $as_echo_n "(cached) " >&6
40552 else
40553
40554
40555       ac_ext=cpp
40556 ac_cpp='$CXXCPP $CPPFLAGS'
40557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40560
40561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40562 /* end confdefs.h.  */
40563 #include <math.h>
40564                       #ifdef HAVE_IEEEFP_H
40565                       #include <ieeefp.h>
40566                       #endif
40567
40568 int
40569 main ()
40570 {
40571  isinff(0);
40572   ;
40573   return 0;
40574 }
40575 _ACEOF
40576 if ac_fn_cxx_try_compile "$LINENO"; then :
40577   glibcxx_cv_func_isinff_use=yes
40578 else
40579   glibcxx_cv_func_isinff_use=no
40580 fi
40581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40582       ac_ext=c
40583 ac_cpp='$CPP $CPPFLAGS'
40584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40587
40588
40589 fi
40590
40591   fi
40592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40593 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40594
40595   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40596     for ac_func in isinff
40597 do :
40598   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40599 if test "x$ac_cv_func_isinff" = x""yes; then :
40600   cat >>confdefs.h <<_ACEOF
40601 #define HAVE_ISINFF 1
40602 _ACEOF
40603
40604 fi
40605 done
40606
40607   else
40608
40609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40610 $as_echo_n "checking for _isinff declaration... " >&6; }
40611   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40612     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40613   $as_echo_n "(cached) " >&6
40614 else
40615
40616
40617       ac_ext=cpp
40618 ac_cpp='$CXXCPP $CPPFLAGS'
40619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40622
40623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40624 /* end confdefs.h.  */
40625 #include <math.h>
40626                       #ifdef HAVE_IEEEFP_H
40627                       #include <ieeefp.h>
40628                       #endif
40629
40630 int
40631 main ()
40632 {
40633  _isinff(0);
40634   ;
40635   return 0;
40636 }
40637 _ACEOF
40638 if ac_fn_cxx_try_compile "$LINENO"; then :
40639   glibcxx_cv_func__isinff_use=yes
40640 else
40641   glibcxx_cv_func__isinff_use=no
40642 fi
40643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40644       ac_ext=c
40645 ac_cpp='$CPP $CPPFLAGS'
40646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40649
40650
40651 fi
40652
40653   fi
40654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40655 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40656
40657     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40658       for ac_func in _isinff
40659 do :
40660   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40661 if test "x$ac_cv_func__isinff" = x""yes; then :
40662   cat >>confdefs.h <<_ACEOF
40663 #define HAVE__ISINFF 1
40664 _ACEOF
40665
40666 fi
40667 done
40668
40669     fi
40670   fi
40671
40672
40673
40674
40675
40676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40677 $as_echo_n "checking for atan2f declaration... " >&6; }
40678   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40679     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40680   $as_echo_n "(cached) " >&6
40681 else
40682
40683
40684       ac_ext=cpp
40685 ac_cpp='$CXXCPP $CPPFLAGS'
40686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40689
40690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40691 /* end confdefs.h.  */
40692 #include <math.h>
40693 int
40694 main ()
40695 {
40696  atan2f(0, 0);
40697   ;
40698   return 0;
40699 }
40700 _ACEOF
40701 if ac_fn_cxx_try_compile "$LINENO"; then :
40702   glibcxx_cv_func_atan2f_use=yes
40703 else
40704   glibcxx_cv_func_atan2f_use=no
40705 fi
40706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40707       ac_ext=c
40708 ac_cpp='$CPP $CPPFLAGS'
40709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40712
40713
40714 fi
40715
40716   fi
40717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40718 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40719
40720   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40721     for ac_func in atan2f
40722 do :
40723   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40724 if test "x$ac_cv_func_atan2f" = x""yes; then :
40725   cat >>confdefs.h <<_ACEOF
40726 #define HAVE_ATAN2F 1
40727 _ACEOF
40728
40729 fi
40730 done
40731
40732   else
40733
40734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40735 $as_echo_n "checking for _atan2f declaration... " >&6; }
40736   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40737     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40738   $as_echo_n "(cached) " >&6
40739 else
40740
40741
40742       ac_ext=cpp
40743 ac_cpp='$CXXCPP $CPPFLAGS'
40744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40747
40748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40749 /* end confdefs.h.  */
40750 #include <math.h>
40751 int
40752 main ()
40753 {
40754  _atan2f(0, 0);
40755   ;
40756   return 0;
40757 }
40758 _ACEOF
40759 if ac_fn_cxx_try_compile "$LINENO"; then :
40760   glibcxx_cv_func__atan2f_use=yes
40761 else
40762   glibcxx_cv_func__atan2f_use=no
40763 fi
40764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40765       ac_ext=c
40766 ac_cpp='$CPP $CPPFLAGS'
40767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40770
40771
40772 fi
40773
40774   fi
40775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40776 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40777
40778     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40779       for ac_func in _atan2f
40780 do :
40781   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40782 if test "x$ac_cv_func__atan2f" = x""yes; then :
40783   cat >>confdefs.h <<_ACEOF
40784 #define HAVE__ATAN2F 1
40785 _ACEOF
40786
40787 fi
40788 done
40789
40790     fi
40791   fi
40792
40793
40794
40795
40796
40797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40798 $as_echo_n "checking for fabsf declaration... " >&6; }
40799   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40800     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40801   $as_echo_n "(cached) " >&6
40802 else
40803
40804
40805       ac_ext=cpp
40806 ac_cpp='$CXXCPP $CPPFLAGS'
40807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40810
40811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40812 /* end confdefs.h.  */
40813 #include <math.h>
40814                       #ifdef HAVE_IEEEFP_H
40815                       #include <ieeefp.h>
40816                       #endif
40817
40818 int
40819 main ()
40820 {
40821  fabsf(0);
40822   ;
40823   return 0;
40824 }
40825 _ACEOF
40826 if ac_fn_cxx_try_compile "$LINENO"; then :
40827   glibcxx_cv_func_fabsf_use=yes
40828 else
40829   glibcxx_cv_func_fabsf_use=no
40830 fi
40831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40832       ac_ext=c
40833 ac_cpp='$CPP $CPPFLAGS'
40834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40837
40838
40839 fi
40840
40841   fi
40842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40843 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40844
40845   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40846     for ac_func in fabsf
40847 do :
40848   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40849 if test "x$ac_cv_func_fabsf" = x""yes; then :
40850   cat >>confdefs.h <<_ACEOF
40851 #define HAVE_FABSF 1
40852 _ACEOF
40853
40854 fi
40855 done
40856
40857   else
40858
40859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40860 $as_echo_n "checking for _fabsf declaration... " >&6; }
40861   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40862     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40863   $as_echo_n "(cached) " >&6
40864 else
40865
40866
40867       ac_ext=cpp
40868 ac_cpp='$CXXCPP $CPPFLAGS'
40869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40872
40873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40874 /* end confdefs.h.  */
40875 #include <math.h>
40876                       #ifdef HAVE_IEEEFP_H
40877                       #include <ieeefp.h>
40878                       #endif
40879
40880 int
40881 main ()
40882 {
40883  _fabsf(0);
40884   ;
40885   return 0;
40886 }
40887 _ACEOF
40888 if ac_fn_cxx_try_compile "$LINENO"; then :
40889   glibcxx_cv_func__fabsf_use=yes
40890 else
40891   glibcxx_cv_func__fabsf_use=no
40892 fi
40893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40894       ac_ext=c
40895 ac_cpp='$CPP $CPPFLAGS'
40896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40899
40900
40901 fi
40902
40903   fi
40904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40905 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40906
40907     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40908       for ac_func in _fabsf
40909 do :
40910   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40911 if test "x$ac_cv_func__fabsf" = x""yes; then :
40912   cat >>confdefs.h <<_ACEOF
40913 #define HAVE__FABSF 1
40914 _ACEOF
40915
40916 fi
40917 done
40918
40919     fi
40920   fi
40921
40922
40923
40924
40925
40926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40927 $as_echo_n "checking for fmodf declaration... " >&6; }
40928   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40929     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40930   $as_echo_n "(cached) " >&6
40931 else
40932
40933
40934       ac_ext=cpp
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40939
40940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40941 /* end confdefs.h.  */
40942 #include <math.h>
40943 int
40944 main ()
40945 {
40946  fmodf(0, 0);
40947   ;
40948   return 0;
40949 }
40950 _ACEOF
40951 if ac_fn_cxx_try_compile "$LINENO"; then :
40952   glibcxx_cv_func_fmodf_use=yes
40953 else
40954   glibcxx_cv_func_fmodf_use=no
40955 fi
40956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40957       ac_ext=c
40958 ac_cpp='$CPP $CPPFLAGS'
40959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40962
40963
40964 fi
40965
40966   fi
40967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40968 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40969
40970   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40971     for ac_func in fmodf
40972 do :
40973   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40974 if test "x$ac_cv_func_fmodf" = x""yes; then :
40975   cat >>confdefs.h <<_ACEOF
40976 #define HAVE_FMODF 1
40977 _ACEOF
40978
40979 fi
40980 done
40981
40982   else
40983
40984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40985 $as_echo_n "checking for _fmodf declaration... " >&6; }
40986   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40987     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40988   $as_echo_n "(cached) " >&6
40989 else
40990
40991
40992       ac_ext=cpp
40993 ac_cpp='$CXXCPP $CPPFLAGS'
40994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40997
40998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40999 /* end confdefs.h.  */
41000 #include <math.h>
41001 int
41002 main ()
41003 {
41004  _fmodf(0, 0);
41005   ;
41006   return 0;
41007 }
41008 _ACEOF
41009 if ac_fn_cxx_try_compile "$LINENO"; then :
41010   glibcxx_cv_func__fmodf_use=yes
41011 else
41012   glibcxx_cv_func__fmodf_use=no
41013 fi
41014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41015       ac_ext=c
41016 ac_cpp='$CPP $CPPFLAGS'
41017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41020
41021
41022 fi
41023
41024   fi
41025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41026 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41027
41028     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41029       for ac_func in _fmodf
41030 do :
41031   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41032 if test "x$ac_cv_func__fmodf" = x""yes; then :
41033   cat >>confdefs.h <<_ACEOF
41034 #define HAVE__FMODF 1
41035 _ACEOF
41036
41037 fi
41038 done
41039
41040     fi
41041   fi
41042
41043
41044
41045
41046
41047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41048 $as_echo_n "checking for frexpf declaration... " >&6; }
41049   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41050     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41051   $as_echo_n "(cached) " >&6
41052 else
41053
41054
41055       ac_ext=cpp
41056 ac_cpp='$CXXCPP $CPPFLAGS'
41057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41060
41061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41062 /* end confdefs.h.  */
41063 #include <math.h>
41064 int
41065 main ()
41066 {
41067  frexpf(0, 0);
41068   ;
41069   return 0;
41070 }
41071 _ACEOF
41072 if ac_fn_cxx_try_compile "$LINENO"; then :
41073   glibcxx_cv_func_frexpf_use=yes
41074 else
41075   glibcxx_cv_func_frexpf_use=no
41076 fi
41077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41078       ac_ext=c
41079 ac_cpp='$CPP $CPPFLAGS'
41080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41083
41084
41085 fi
41086
41087   fi
41088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41089 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41090
41091   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41092     for ac_func in frexpf
41093 do :
41094   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41095 if test "x$ac_cv_func_frexpf" = x""yes; then :
41096   cat >>confdefs.h <<_ACEOF
41097 #define HAVE_FREXPF 1
41098 _ACEOF
41099
41100 fi
41101 done
41102
41103   else
41104
41105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41106 $as_echo_n "checking for _frexpf declaration... " >&6; }
41107   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41108     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41109   $as_echo_n "(cached) " >&6
41110 else
41111
41112
41113       ac_ext=cpp
41114 ac_cpp='$CXXCPP $CPPFLAGS'
41115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41118
41119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41120 /* end confdefs.h.  */
41121 #include <math.h>
41122 int
41123 main ()
41124 {
41125  _frexpf(0, 0);
41126   ;
41127   return 0;
41128 }
41129 _ACEOF
41130 if ac_fn_cxx_try_compile "$LINENO"; then :
41131   glibcxx_cv_func__frexpf_use=yes
41132 else
41133   glibcxx_cv_func__frexpf_use=no
41134 fi
41135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41136       ac_ext=c
41137 ac_cpp='$CPP $CPPFLAGS'
41138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41141
41142
41143 fi
41144
41145   fi
41146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41147 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41148
41149     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41150       for ac_func in _frexpf
41151 do :
41152   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41153 if test "x$ac_cv_func__frexpf" = x""yes; then :
41154   cat >>confdefs.h <<_ACEOF
41155 #define HAVE__FREXPF 1
41156 _ACEOF
41157
41158 fi
41159 done
41160
41161     fi
41162   fi
41163
41164
41165
41166
41167
41168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41169 $as_echo_n "checking for hypotf declaration... " >&6; }
41170   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41171     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41172   $as_echo_n "(cached) " >&6
41173 else
41174
41175
41176       ac_ext=cpp
41177 ac_cpp='$CXXCPP $CPPFLAGS'
41178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41181
41182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41183 /* end confdefs.h.  */
41184 #include <math.h>
41185 int
41186 main ()
41187 {
41188  hypotf(0, 0);
41189   ;
41190   return 0;
41191 }
41192 _ACEOF
41193 if ac_fn_cxx_try_compile "$LINENO"; then :
41194   glibcxx_cv_func_hypotf_use=yes
41195 else
41196   glibcxx_cv_func_hypotf_use=no
41197 fi
41198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41199       ac_ext=c
41200 ac_cpp='$CPP $CPPFLAGS'
41201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41204
41205
41206 fi
41207
41208   fi
41209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41210 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41211
41212   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41213     for ac_func in hypotf
41214 do :
41215   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41216 if test "x$ac_cv_func_hypotf" = x""yes; then :
41217   cat >>confdefs.h <<_ACEOF
41218 #define HAVE_HYPOTF 1
41219 _ACEOF
41220
41221 fi
41222 done
41223
41224   else
41225
41226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41227 $as_echo_n "checking for _hypotf declaration... " >&6; }
41228   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41229     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41230   $as_echo_n "(cached) " >&6
41231 else
41232
41233
41234       ac_ext=cpp
41235 ac_cpp='$CXXCPP $CPPFLAGS'
41236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41239
41240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41241 /* end confdefs.h.  */
41242 #include <math.h>
41243 int
41244 main ()
41245 {
41246  _hypotf(0, 0);
41247   ;
41248   return 0;
41249 }
41250 _ACEOF
41251 if ac_fn_cxx_try_compile "$LINENO"; then :
41252   glibcxx_cv_func__hypotf_use=yes
41253 else
41254   glibcxx_cv_func__hypotf_use=no
41255 fi
41256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41257       ac_ext=c
41258 ac_cpp='$CPP $CPPFLAGS'
41259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41262
41263
41264 fi
41265
41266   fi
41267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41268 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41269
41270     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41271       for ac_func in _hypotf
41272 do :
41273   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41274 if test "x$ac_cv_func__hypotf" = x""yes; then :
41275   cat >>confdefs.h <<_ACEOF
41276 #define HAVE__HYPOTF 1
41277 _ACEOF
41278
41279 fi
41280 done
41281
41282     fi
41283   fi
41284
41285
41286
41287
41288
41289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41290 $as_echo_n "checking for ldexpf declaration... " >&6; }
41291   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41292     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41293   $as_echo_n "(cached) " >&6
41294 else
41295
41296
41297       ac_ext=cpp
41298 ac_cpp='$CXXCPP $CPPFLAGS'
41299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41302
41303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41304 /* end confdefs.h.  */
41305 #include <math.h>
41306 int
41307 main ()
41308 {
41309  ldexpf(0, 0);
41310   ;
41311   return 0;
41312 }
41313 _ACEOF
41314 if ac_fn_cxx_try_compile "$LINENO"; then :
41315   glibcxx_cv_func_ldexpf_use=yes
41316 else
41317   glibcxx_cv_func_ldexpf_use=no
41318 fi
41319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41320       ac_ext=c
41321 ac_cpp='$CPP $CPPFLAGS'
41322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41325
41326
41327 fi
41328
41329   fi
41330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41331 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41332
41333   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41334     for ac_func in ldexpf
41335 do :
41336   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41337 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41338   cat >>confdefs.h <<_ACEOF
41339 #define HAVE_LDEXPF 1
41340 _ACEOF
41341
41342 fi
41343 done
41344
41345   else
41346
41347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41348 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41349   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41350     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41351   $as_echo_n "(cached) " >&6
41352 else
41353
41354
41355       ac_ext=cpp
41356 ac_cpp='$CXXCPP $CPPFLAGS'
41357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41360
41361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41362 /* end confdefs.h.  */
41363 #include <math.h>
41364 int
41365 main ()
41366 {
41367  _ldexpf(0, 0);
41368   ;
41369   return 0;
41370 }
41371 _ACEOF
41372 if ac_fn_cxx_try_compile "$LINENO"; then :
41373   glibcxx_cv_func__ldexpf_use=yes
41374 else
41375   glibcxx_cv_func__ldexpf_use=no
41376 fi
41377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41378       ac_ext=c
41379 ac_cpp='$CPP $CPPFLAGS'
41380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41383
41384
41385 fi
41386
41387   fi
41388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41389 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41390
41391     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41392       for ac_func in _ldexpf
41393 do :
41394   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41395 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41396   cat >>confdefs.h <<_ACEOF
41397 #define HAVE__LDEXPF 1
41398 _ACEOF
41399
41400 fi
41401 done
41402
41403     fi
41404   fi
41405
41406
41407
41408
41409
41410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41411 $as_echo_n "checking for logf declaration... " >&6; }
41412   if test x${glibcxx_cv_func_logf_use+set} != xset; then
41413     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41414   $as_echo_n "(cached) " >&6
41415 else
41416
41417
41418       ac_ext=cpp
41419 ac_cpp='$CXXCPP $CPPFLAGS'
41420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41423
41424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41425 /* end confdefs.h.  */
41426 #include <math.h>
41427                       #ifdef HAVE_IEEEFP_H
41428                       #include <ieeefp.h>
41429                       #endif
41430
41431 int
41432 main ()
41433 {
41434  logf(0);
41435   ;
41436   return 0;
41437 }
41438 _ACEOF
41439 if ac_fn_cxx_try_compile "$LINENO"; then :
41440   glibcxx_cv_func_logf_use=yes
41441 else
41442   glibcxx_cv_func_logf_use=no
41443 fi
41444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41445       ac_ext=c
41446 ac_cpp='$CPP $CPPFLAGS'
41447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41450
41451
41452 fi
41453
41454   fi
41455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41456 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41457
41458   if test x$glibcxx_cv_func_logf_use = x"yes"; then
41459     for ac_func in logf
41460 do :
41461   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41462 if test "x$ac_cv_func_logf" = x""yes; then :
41463   cat >>confdefs.h <<_ACEOF
41464 #define HAVE_LOGF 1
41465 _ACEOF
41466
41467 fi
41468 done
41469
41470   else
41471
41472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41473 $as_echo_n "checking for _logf declaration... " >&6; }
41474   if test x${glibcxx_cv_func__logf_use+set} != xset; then
41475     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41476   $as_echo_n "(cached) " >&6
41477 else
41478
41479
41480       ac_ext=cpp
41481 ac_cpp='$CXXCPP $CPPFLAGS'
41482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41485
41486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41487 /* end confdefs.h.  */
41488 #include <math.h>
41489                       #ifdef HAVE_IEEEFP_H
41490                       #include <ieeefp.h>
41491                       #endif
41492
41493 int
41494 main ()
41495 {
41496  _logf(0);
41497   ;
41498   return 0;
41499 }
41500 _ACEOF
41501 if ac_fn_cxx_try_compile "$LINENO"; then :
41502   glibcxx_cv_func__logf_use=yes
41503 else
41504   glibcxx_cv_func__logf_use=no
41505 fi
41506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41507       ac_ext=c
41508 ac_cpp='$CPP $CPPFLAGS'
41509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41512
41513
41514 fi
41515
41516   fi
41517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41518 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41519
41520     if test x$glibcxx_cv_func__logf_use = x"yes"; then
41521       for ac_func in _logf
41522 do :
41523   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41524 if test "x$ac_cv_func__logf" = x""yes; then :
41525   cat >>confdefs.h <<_ACEOF
41526 #define HAVE__LOGF 1
41527 _ACEOF
41528
41529 fi
41530 done
41531
41532     fi
41533   fi
41534
41535
41536
41537
41538
41539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41540 $as_echo_n "checking for log10f declaration... " >&6; }
41541   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41542     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41543   $as_echo_n "(cached) " >&6
41544 else
41545
41546
41547       ac_ext=cpp
41548 ac_cpp='$CXXCPP $CPPFLAGS'
41549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41552
41553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41554 /* end confdefs.h.  */
41555 #include <math.h>
41556                       #ifdef HAVE_IEEEFP_H
41557                       #include <ieeefp.h>
41558                       #endif
41559
41560 int
41561 main ()
41562 {
41563  log10f(0);
41564   ;
41565   return 0;
41566 }
41567 _ACEOF
41568 if ac_fn_cxx_try_compile "$LINENO"; then :
41569   glibcxx_cv_func_log10f_use=yes
41570 else
41571   glibcxx_cv_func_log10f_use=no
41572 fi
41573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41574       ac_ext=c
41575 ac_cpp='$CPP $CPPFLAGS'
41576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41579
41580
41581 fi
41582
41583   fi
41584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41585 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41586
41587   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41588     for ac_func in log10f
41589 do :
41590   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41591 if test "x$ac_cv_func_log10f" = x""yes; then :
41592   cat >>confdefs.h <<_ACEOF
41593 #define HAVE_LOG10F 1
41594 _ACEOF
41595
41596 fi
41597 done
41598
41599   else
41600
41601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41602 $as_echo_n "checking for _log10f declaration... " >&6; }
41603   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41604     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41605   $as_echo_n "(cached) " >&6
41606 else
41607
41608
41609       ac_ext=cpp
41610 ac_cpp='$CXXCPP $CPPFLAGS'
41611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41614
41615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41616 /* end confdefs.h.  */
41617 #include <math.h>
41618                       #ifdef HAVE_IEEEFP_H
41619                       #include <ieeefp.h>
41620                       #endif
41621
41622 int
41623 main ()
41624 {
41625  _log10f(0);
41626   ;
41627   return 0;
41628 }
41629 _ACEOF
41630 if ac_fn_cxx_try_compile "$LINENO"; then :
41631   glibcxx_cv_func__log10f_use=yes
41632 else
41633   glibcxx_cv_func__log10f_use=no
41634 fi
41635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41636       ac_ext=c
41637 ac_cpp='$CPP $CPPFLAGS'
41638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41641
41642
41643 fi
41644
41645   fi
41646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41647 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41648
41649     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41650       for ac_func in _log10f
41651 do :
41652   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41653 if test "x$ac_cv_func__log10f" = x""yes; then :
41654   cat >>confdefs.h <<_ACEOF
41655 #define HAVE__LOG10F 1
41656 _ACEOF
41657
41658 fi
41659 done
41660
41661     fi
41662   fi
41663
41664
41665
41666
41667
41668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41669 $as_echo_n "checking for modff declaration... " >&6; }
41670   if test x${glibcxx_cv_func_modff_use+set} != xset; then
41671     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41672   $as_echo_n "(cached) " >&6
41673 else
41674
41675
41676       ac_ext=cpp
41677 ac_cpp='$CXXCPP $CPPFLAGS'
41678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41681
41682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41683 /* end confdefs.h.  */
41684 #include <math.h>
41685 int
41686 main ()
41687 {
41688  modff(0, 0);
41689   ;
41690   return 0;
41691 }
41692 _ACEOF
41693 if ac_fn_cxx_try_compile "$LINENO"; then :
41694   glibcxx_cv_func_modff_use=yes
41695 else
41696   glibcxx_cv_func_modff_use=no
41697 fi
41698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41699       ac_ext=c
41700 ac_cpp='$CPP $CPPFLAGS'
41701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41704
41705
41706 fi
41707
41708   fi
41709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41710 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41711
41712   if test x$glibcxx_cv_func_modff_use = x"yes"; then
41713     for ac_func in modff
41714 do :
41715   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41716 if test "x$ac_cv_func_modff" = x""yes; then :
41717   cat >>confdefs.h <<_ACEOF
41718 #define HAVE_MODFF 1
41719 _ACEOF
41720
41721 fi
41722 done
41723
41724   else
41725
41726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41727 $as_echo_n "checking for _modff declaration... " >&6; }
41728   if test x${glibcxx_cv_func__modff_use+set} != xset; then
41729     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41730   $as_echo_n "(cached) " >&6
41731 else
41732
41733
41734       ac_ext=cpp
41735 ac_cpp='$CXXCPP $CPPFLAGS'
41736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41739
41740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41741 /* end confdefs.h.  */
41742 #include <math.h>
41743 int
41744 main ()
41745 {
41746  _modff(0, 0);
41747   ;
41748   return 0;
41749 }
41750 _ACEOF
41751 if ac_fn_cxx_try_compile "$LINENO"; then :
41752   glibcxx_cv_func__modff_use=yes
41753 else
41754   glibcxx_cv_func__modff_use=no
41755 fi
41756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41757       ac_ext=c
41758 ac_cpp='$CPP $CPPFLAGS'
41759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41762
41763
41764 fi
41765
41766   fi
41767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41768 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41769
41770     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41771       for ac_func in _modff
41772 do :
41773   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41774 if test "x$ac_cv_func__modff" = x""yes; then :
41775   cat >>confdefs.h <<_ACEOF
41776 #define HAVE__MODFF 1
41777 _ACEOF
41778
41779 fi
41780 done
41781
41782     fi
41783   fi
41784
41785
41786
41787
41788
41789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41790 $as_echo_n "checking for modf declaration... " >&6; }
41791   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41792     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41793   $as_echo_n "(cached) " >&6
41794 else
41795
41796
41797       ac_ext=cpp
41798 ac_cpp='$CXXCPP $CPPFLAGS'
41799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41802
41803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41804 /* end confdefs.h.  */
41805 #include <math.h>
41806 int
41807 main ()
41808 {
41809  modf(0, 0);
41810   ;
41811   return 0;
41812 }
41813 _ACEOF
41814 if ac_fn_cxx_try_compile "$LINENO"; then :
41815   glibcxx_cv_func_modf_use=yes
41816 else
41817   glibcxx_cv_func_modf_use=no
41818 fi
41819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41820       ac_ext=c
41821 ac_cpp='$CPP $CPPFLAGS'
41822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41825
41826
41827 fi
41828
41829   fi
41830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41831 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41832
41833   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41834     for ac_func in modf
41835 do :
41836   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41837 if test "x$ac_cv_func_modf" = x""yes; then :
41838   cat >>confdefs.h <<_ACEOF
41839 #define HAVE_MODF 1
41840 _ACEOF
41841
41842 fi
41843 done
41844
41845   else
41846
41847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41848 $as_echo_n "checking for _modf declaration... " >&6; }
41849   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41850     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41851   $as_echo_n "(cached) " >&6
41852 else
41853
41854
41855       ac_ext=cpp
41856 ac_cpp='$CXXCPP $CPPFLAGS'
41857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41860
41861       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41862 /* end confdefs.h.  */
41863 #include <math.h>
41864 int
41865 main ()
41866 {
41867  _modf(0, 0);
41868   ;
41869   return 0;
41870 }
41871 _ACEOF
41872 if ac_fn_cxx_try_compile "$LINENO"; then :
41873   glibcxx_cv_func__modf_use=yes
41874 else
41875   glibcxx_cv_func__modf_use=no
41876 fi
41877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41878       ac_ext=c
41879 ac_cpp='$CPP $CPPFLAGS'
41880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41883
41884
41885 fi
41886
41887   fi
41888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41889 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41890
41891     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41892       for ac_func in _modf
41893 do :
41894   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41895 if test "x$ac_cv_func__modf" = x""yes; then :
41896   cat >>confdefs.h <<_ACEOF
41897 #define HAVE__MODF 1
41898 _ACEOF
41899
41900 fi
41901 done
41902
41903     fi
41904   fi
41905
41906
41907
41908
41909
41910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41911 $as_echo_n "checking for powf declaration... " >&6; }
41912   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41913     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41914   $as_echo_n "(cached) " >&6
41915 else
41916
41917
41918       ac_ext=cpp
41919 ac_cpp='$CXXCPP $CPPFLAGS'
41920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41923
41924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41925 /* end confdefs.h.  */
41926 #include <math.h>
41927 int
41928 main ()
41929 {
41930  powf(0, 0);
41931   ;
41932   return 0;
41933 }
41934 _ACEOF
41935 if ac_fn_cxx_try_compile "$LINENO"; then :
41936   glibcxx_cv_func_powf_use=yes
41937 else
41938   glibcxx_cv_func_powf_use=no
41939 fi
41940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41941       ac_ext=c
41942 ac_cpp='$CPP $CPPFLAGS'
41943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41946
41947
41948 fi
41949
41950   fi
41951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41952 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41953
41954   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41955     for ac_func in powf
41956 do :
41957   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41958 if test "x$ac_cv_func_powf" = x""yes; then :
41959   cat >>confdefs.h <<_ACEOF
41960 #define HAVE_POWF 1
41961 _ACEOF
41962
41963 fi
41964 done
41965
41966   else
41967
41968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41969 $as_echo_n "checking for _powf declaration... " >&6; }
41970   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41971     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41972   $as_echo_n "(cached) " >&6
41973 else
41974
41975
41976       ac_ext=cpp
41977 ac_cpp='$CXXCPP $CPPFLAGS'
41978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41981
41982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41983 /* end confdefs.h.  */
41984 #include <math.h>
41985 int
41986 main ()
41987 {
41988  _powf(0, 0);
41989   ;
41990   return 0;
41991 }
41992 _ACEOF
41993 if ac_fn_cxx_try_compile "$LINENO"; then :
41994   glibcxx_cv_func__powf_use=yes
41995 else
41996   glibcxx_cv_func__powf_use=no
41997 fi
41998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41999       ac_ext=c
42000 ac_cpp='$CPP $CPPFLAGS'
42001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42004
42005
42006 fi
42007
42008   fi
42009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42010 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42011
42012     if test x$glibcxx_cv_func__powf_use = x"yes"; then
42013       for ac_func in _powf
42014 do :
42015   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42016 if test "x$ac_cv_func__powf" = x""yes; then :
42017   cat >>confdefs.h <<_ACEOF
42018 #define HAVE__POWF 1
42019 _ACEOF
42020
42021 fi
42022 done
42023
42024     fi
42025   fi
42026
42027
42028
42029
42030
42031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42032 $as_echo_n "checking for sqrtf declaration... " >&6; }
42033   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42034     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42035   $as_echo_n "(cached) " >&6
42036 else
42037
42038
42039       ac_ext=cpp
42040 ac_cpp='$CXXCPP $CPPFLAGS'
42041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42044
42045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42046 /* end confdefs.h.  */
42047 #include <math.h>
42048                       #ifdef HAVE_IEEEFP_H
42049                       #include <ieeefp.h>
42050                       #endif
42051
42052 int
42053 main ()
42054 {
42055  sqrtf(0);
42056   ;
42057   return 0;
42058 }
42059 _ACEOF
42060 if ac_fn_cxx_try_compile "$LINENO"; then :
42061   glibcxx_cv_func_sqrtf_use=yes
42062 else
42063   glibcxx_cv_func_sqrtf_use=no
42064 fi
42065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42066       ac_ext=c
42067 ac_cpp='$CPP $CPPFLAGS'
42068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42071
42072
42073 fi
42074
42075   fi
42076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42077 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42078
42079   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42080     for ac_func in sqrtf
42081 do :
42082   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42083 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42084   cat >>confdefs.h <<_ACEOF
42085 #define HAVE_SQRTF 1
42086 _ACEOF
42087
42088 fi
42089 done
42090
42091   else
42092
42093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42094 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42095   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42096     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42097   $as_echo_n "(cached) " >&6
42098 else
42099
42100
42101       ac_ext=cpp
42102 ac_cpp='$CXXCPP $CPPFLAGS'
42103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42106
42107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42108 /* end confdefs.h.  */
42109 #include <math.h>
42110                       #ifdef HAVE_IEEEFP_H
42111                       #include <ieeefp.h>
42112                       #endif
42113
42114 int
42115 main ()
42116 {
42117  _sqrtf(0);
42118   ;
42119   return 0;
42120 }
42121 _ACEOF
42122 if ac_fn_cxx_try_compile "$LINENO"; then :
42123   glibcxx_cv_func__sqrtf_use=yes
42124 else
42125   glibcxx_cv_func__sqrtf_use=no
42126 fi
42127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42128       ac_ext=c
42129 ac_cpp='$CPP $CPPFLAGS'
42130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42133
42134
42135 fi
42136
42137   fi
42138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42139 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42140
42141     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42142       for ac_func in _sqrtf
42143 do :
42144   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42145 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42146   cat >>confdefs.h <<_ACEOF
42147 #define HAVE__SQRTF 1
42148 _ACEOF
42149
42150 fi
42151 done
42152
42153     fi
42154   fi
42155
42156
42157
42158
42159
42160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42161 $as_echo_n "checking for sincosf declaration... " >&6; }
42162   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42163     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42164   $as_echo_n "(cached) " >&6
42165 else
42166
42167
42168       ac_ext=cpp
42169 ac_cpp='$CXXCPP $CPPFLAGS'
42170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42173
42174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42175 /* end confdefs.h.  */
42176 #include <math.h>
42177 int
42178 main ()
42179 {
42180  sincosf(0, 0, 0);
42181   ;
42182   return 0;
42183 }
42184 _ACEOF
42185 if ac_fn_cxx_try_compile "$LINENO"; then :
42186   glibcxx_cv_func_sincosf_use=yes
42187 else
42188   glibcxx_cv_func_sincosf_use=no
42189 fi
42190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42191       ac_ext=c
42192 ac_cpp='$CPP $CPPFLAGS'
42193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42196
42197
42198 fi
42199
42200   fi
42201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42202 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42203
42204   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42205     for ac_func in sincosf
42206 do :
42207   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42208 if test "x$ac_cv_func_sincosf" = x""yes; then :
42209   cat >>confdefs.h <<_ACEOF
42210 #define HAVE_SINCOSF 1
42211 _ACEOF
42212
42213 fi
42214 done
42215
42216   else
42217
42218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42219 $as_echo_n "checking for _sincosf declaration... " >&6; }
42220   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42221     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42222   $as_echo_n "(cached) " >&6
42223 else
42224
42225
42226       ac_ext=cpp
42227 ac_cpp='$CXXCPP $CPPFLAGS'
42228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42231
42232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42233 /* end confdefs.h.  */
42234 #include <math.h>
42235 int
42236 main ()
42237 {
42238  _sincosf(0, 0, 0);
42239   ;
42240   return 0;
42241 }
42242 _ACEOF
42243 if ac_fn_cxx_try_compile "$LINENO"; then :
42244   glibcxx_cv_func__sincosf_use=yes
42245 else
42246   glibcxx_cv_func__sincosf_use=no
42247 fi
42248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42249       ac_ext=c
42250 ac_cpp='$CPP $CPPFLAGS'
42251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42254
42255
42256 fi
42257
42258   fi
42259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42260 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42261
42262     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42263       for ac_func in _sincosf
42264 do :
42265   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42266 if test "x$ac_cv_func__sincosf" = x""yes; then :
42267   cat >>confdefs.h <<_ACEOF
42268 #define HAVE__SINCOSF 1
42269 _ACEOF
42270
42271 fi
42272 done
42273
42274     fi
42275   fi
42276
42277
42278
42279
42280
42281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42282 $as_echo_n "checking for finitef declaration... " >&6; }
42283   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42284     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42285   $as_echo_n "(cached) " >&6
42286 else
42287
42288
42289       ac_ext=cpp
42290 ac_cpp='$CXXCPP $CPPFLAGS'
42291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42294
42295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42296 /* end confdefs.h.  */
42297 #include <math.h>
42298                       #ifdef HAVE_IEEEFP_H
42299                       #include <ieeefp.h>
42300                       #endif
42301
42302 int
42303 main ()
42304 {
42305  finitef(0);
42306   ;
42307   return 0;
42308 }
42309 _ACEOF
42310 if ac_fn_cxx_try_compile "$LINENO"; then :
42311   glibcxx_cv_func_finitef_use=yes
42312 else
42313   glibcxx_cv_func_finitef_use=no
42314 fi
42315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42316       ac_ext=c
42317 ac_cpp='$CPP $CPPFLAGS'
42318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42321
42322
42323 fi
42324
42325   fi
42326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42327 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42328
42329   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42330     for ac_func in finitef
42331 do :
42332   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42333 if test "x$ac_cv_func_finitef" = x""yes; then :
42334   cat >>confdefs.h <<_ACEOF
42335 #define HAVE_FINITEF 1
42336 _ACEOF
42337
42338 fi
42339 done
42340
42341   else
42342
42343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42344 $as_echo_n "checking for _finitef declaration... " >&6; }
42345   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42346     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42347   $as_echo_n "(cached) " >&6
42348 else
42349
42350
42351       ac_ext=cpp
42352 ac_cpp='$CXXCPP $CPPFLAGS'
42353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42356
42357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42358 /* end confdefs.h.  */
42359 #include <math.h>
42360                       #ifdef HAVE_IEEEFP_H
42361                       #include <ieeefp.h>
42362                       #endif
42363
42364 int
42365 main ()
42366 {
42367  _finitef(0);
42368   ;
42369   return 0;
42370 }
42371 _ACEOF
42372 if ac_fn_cxx_try_compile "$LINENO"; then :
42373   glibcxx_cv_func__finitef_use=yes
42374 else
42375   glibcxx_cv_func__finitef_use=no
42376 fi
42377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42378       ac_ext=c
42379 ac_cpp='$CPP $CPPFLAGS'
42380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42383
42384
42385 fi
42386
42387   fi
42388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42389 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42390
42391     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42392       for ac_func in _finitef
42393 do :
42394   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42395 if test "x$ac_cv_func__finitef" = x""yes; then :
42396   cat >>confdefs.h <<_ACEOF
42397 #define HAVE__FINITEF 1
42398 _ACEOF
42399
42400 fi
42401 done
42402
42403     fi
42404   fi
42405
42406
42407
42408
42409
42410     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42411 $as_echo_n "checking for long double trig functions... " >&6; }
42412   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42413   $as_echo_n "(cached) " >&6
42414 else
42415
42416
42417     ac_ext=cpp
42418 ac_cpp='$CXXCPP $CPPFLAGS'
42419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42422
42423     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42424 /* end confdefs.h.  */
42425 #include <math.h>
42426 int
42427 main ()
42428 {
42429 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42430   ;
42431   return 0;
42432 }
42433 _ACEOF
42434 if ac_fn_cxx_try_compile "$LINENO"; then :
42435   glibcxx_cv_func_long_double_trig_use=yes
42436 else
42437   glibcxx_cv_func_long_double_trig_use=no
42438 fi
42439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42440     ac_ext=c
42441 ac_cpp='$CPP $CPPFLAGS'
42442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42445
42446 fi
42447
42448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42449 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42450   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42451     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42452 do :
42453   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42455 eval as_val=\$$as_ac_var
42456    if test "x$as_val" = x""yes; then :
42457   cat >>confdefs.h <<_ACEOF
42458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42459 _ACEOF
42460
42461 fi
42462 done
42463
42464   else
42465     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42466 $as_echo_n "checking for _long double trig functions... " >&6; }
42467     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42468   $as_echo_n "(cached) " >&6
42469 else
42470
42471
42472       ac_ext=cpp
42473 ac_cpp='$CXXCPP $CPPFLAGS'
42474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42477
42478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42479 /* end confdefs.h.  */
42480 #include <math.h>
42481 int
42482 main ()
42483 {
42484 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42485   ;
42486   return 0;
42487 }
42488 _ACEOF
42489 if ac_fn_cxx_try_compile "$LINENO"; then :
42490   glibcxx_cv_func__long_double_trig_use=yes
42491 else
42492   glibcxx_cv_func__long_double_trig_use=no
42493 fi
42494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42495       ac_ext=c
42496 ac_cpp='$CPP $CPPFLAGS'
42497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42500
42501 fi
42502
42503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42504 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42505     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42506       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42507 do :
42508   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42510 eval as_val=\$$as_ac_var
42511    if test "x$as_val" = x""yes; then :
42512   cat >>confdefs.h <<_ACEOF
42513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42514 _ACEOF
42515
42516 fi
42517 done
42518
42519     fi
42520   fi
42521
42522
42523
42524
42525
42526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42527 $as_echo_n "checking for long double round functions... " >&6; }
42528   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42529   $as_echo_n "(cached) " >&6
42530 else
42531
42532
42533     ac_ext=cpp
42534 ac_cpp='$CXXCPP $CPPFLAGS'
42535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42538
42539     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42540 /* end confdefs.h.  */
42541 #include <math.h>
42542 int
42543 main ()
42544 {
42545 ceill (0); floorl (0);
42546   ;
42547   return 0;
42548 }
42549 _ACEOF
42550 if ac_fn_cxx_try_compile "$LINENO"; then :
42551   glibcxx_cv_func_long_double_round_use=yes
42552 else
42553   glibcxx_cv_func_long_double_round_use=no
42554 fi
42555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42556     ac_ext=c
42557 ac_cpp='$CPP $CPPFLAGS'
42558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42561
42562 fi
42563
42564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42565 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42566   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42567     for ac_func in ceill floorl
42568 do :
42569   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42571 eval as_val=\$$as_ac_var
42572    if test "x$as_val" = x""yes; then :
42573   cat >>confdefs.h <<_ACEOF
42574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42575 _ACEOF
42576
42577 fi
42578 done
42579
42580   else
42581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42582 $as_echo_n "checking for _long double round functions... " >&6; }
42583     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42584   $as_echo_n "(cached) " >&6
42585 else
42586
42587
42588       ac_ext=cpp
42589 ac_cpp='$CXXCPP $CPPFLAGS'
42590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42593
42594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42595 /* end confdefs.h.  */
42596 #include <math.h>
42597 int
42598 main ()
42599 {
42600 _ceill (0); _floorl (0);
42601   ;
42602   return 0;
42603 }
42604 _ACEOF
42605 if ac_fn_cxx_try_compile "$LINENO"; then :
42606   glibcxx_cv_func__long_double_round_use=yes
42607 else
42608   glibcxx_cv_func__long_double_round_use=no
42609 fi
42610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42611       ac_ext=c
42612 ac_cpp='$CPP $CPPFLAGS'
42613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42616
42617 fi
42618
42619     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42620 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42621     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42622       for ac_func in _ceill _floorl
42623 do :
42624   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42626 eval as_val=\$$as_ac_var
42627    if test "x$as_val" = x""yes; then :
42628   cat >>confdefs.h <<_ACEOF
42629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42630 _ACEOF
42631
42632 fi
42633 done
42634
42635     fi
42636   fi
42637
42638
42639
42640
42641
42642
42643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42644 $as_echo_n "checking for isnanl declaration... " >&6; }
42645   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42646     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42647   $as_echo_n "(cached) " >&6
42648 else
42649
42650
42651       ac_ext=cpp
42652 ac_cpp='$CXXCPP $CPPFLAGS'
42653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42656
42657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42658 /* end confdefs.h.  */
42659 #include <math.h>
42660                       #ifdef HAVE_IEEEFP_H
42661                       #include <ieeefp.h>
42662                       #endif
42663
42664 int
42665 main ()
42666 {
42667  isnanl(0);
42668   ;
42669   return 0;
42670 }
42671 _ACEOF
42672 if ac_fn_cxx_try_compile "$LINENO"; then :
42673   glibcxx_cv_func_isnanl_use=yes
42674 else
42675   glibcxx_cv_func_isnanl_use=no
42676 fi
42677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42678       ac_ext=c
42679 ac_cpp='$CPP $CPPFLAGS'
42680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42683
42684
42685 fi
42686
42687   fi
42688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42689 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42690
42691   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42692     for ac_func in isnanl
42693 do :
42694   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42695 if test "x$ac_cv_func_isnanl" = x""yes; then :
42696   cat >>confdefs.h <<_ACEOF
42697 #define HAVE_ISNANL 1
42698 _ACEOF
42699
42700 fi
42701 done
42702
42703   else
42704
42705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42706 $as_echo_n "checking for _isnanl declaration... " >&6; }
42707   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42708     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42709   $as_echo_n "(cached) " >&6
42710 else
42711
42712
42713       ac_ext=cpp
42714 ac_cpp='$CXXCPP $CPPFLAGS'
42715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42718
42719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42720 /* end confdefs.h.  */
42721 #include <math.h>
42722                       #ifdef HAVE_IEEEFP_H
42723                       #include <ieeefp.h>
42724                       #endif
42725
42726 int
42727 main ()
42728 {
42729  _isnanl(0);
42730   ;
42731   return 0;
42732 }
42733 _ACEOF
42734 if ac_fn_cxx_try_compile "$LINENO"; then :
42735   glibcxx_cv_func__isnanl_use=yes
42736 else
42737   glibcxx_cv_func__isnanl_use=no
42738 fi
42739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42740       ac_ext=c
42741 ac_cpp='$CPP $CPPFLAGS'
42742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42745
42746
42747 fi
42748
42749   fi
42750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42751 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42752
42753     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42754       for ac_func in _isnanl
42755 do :
42756   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42757 if test "x$ac_cv_func__isnanl" = x""yes; then :
42758   cat >>confdefs.h <<_ACEOF
42759 #define HAVE__ISNANL 1
42760 _ACEOF
42761
42762 fi
42763 done
42764
42765     fi
42766   fi
42767
42768
42769
42770
42771
42772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42773 $as_echo_n "checking for isinfl declaration... " >&6; }
42774   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42775     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42776   $as_echo_n "(cached) " >&6
42777 else
42778
42779
42780       ac_ext=cpp
42781 ac_cpp='$CXXCPP $CPPFLAGS'
42782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42785
42786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42787 /* end confdefs.h.  */
42788 #include <math.h>
42789                       #ifdef HAVE_IEEEFP_H
42790                       #include <ieeefp.h>
42791                       #endif
42792
42793 int
42794 main ()
42795 {
42796  isinfl(0);
42797   ;
42798   return 0;
42799 }
42800 _ACEOF
42801 if ac_fn_cxx_try_compile "$LINENO"; then :
42802   glibcxx_cv_func_isinfl_use=yes
42803 else
42804   glibcxx_cv_func_isinfl_use=no
42805 fi
42806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42807       ac_ext=c
42808 ac_cpp='$CPP $CPPFLAGS'
42809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42812
42813
42814 fi
42815
42816   fi
42817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42818 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42819
42820   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42821     for ac_func in isinfl
42822 do :
42823   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42824 if test "x$ac_cv_func_isinfl" = x""yes; then :
42825   cat >>confdefs.h <<_ACEOF
42826 #define HAVE_ISINFL 1
42827 _ACEOF
42828
42829 fi
42830 done
42831
42832   else
42833
42834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42835 $as_echo_n "checking for _isinfl declaration... " >&6; }
42836   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42837     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42838   $as_echo_n "(cached) " >&6
42839 else
42840
42841
42842       ac_ext=cpp
42843 ac_cpp='$CXXCPP $CPPFLAGS'
42844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42847
42848       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42849 /* end confdefs.h.  */
42850 #include <math.h>
42851                       #ifdef HAVE_IEEEFP_H
42852                       #include <ieeefp.h>
42853                       #endif
42854
42855 int
42856 main ()
42857 {
42858  _isinfl(0);
42859   ;
42860   return 0;
42861 }
42862 _ACEOF
42863 if ac_fn_cxx_try_compile "$LINENO"; then :
42864   glibcxx_cv_func__isinfl_use=yes
42865 else
42866   glibcxx_cv_func__isinfl_use=no
42867 fi
42868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42869       ac_ext=c
42870 ac_cpp='$CPP $CPPFLAGS'
42871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42874
42875
42876 fi
42877
42878   fi
42879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42880 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42881
42882     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42883       for ac_func in _isinfl
42884 do :
42885   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42886 if test "x$ac_cv_func__isinfl" = x""yes; then :
42887   cat >>confdefs.h <<_ACEOF
42888 #define HAVE__ISINFL 1
42889 _ACEOF
42890
42891 fi
42892 done
42893
42894     fi
42895   fi
42896
42897
42898
42899
42900
42901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42902 $as_echo_n "checking for atan2l declaration... " >&6; }
42903   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42904     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42905   $as_echo_n "(cached) " >&6
42906 else
42907
42908
42909       ac_ext=cpp
42910 ac_cpp='$CXXCPP $CPPFLAGS'
42911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42914
42915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42916 /* end confdefs.h.  */
42917 #include <math.h>
42918 int
42919 main ()
42920 {
42921  atan2l(0, 0);
42922   ;
42923   return 0;
42924 }
42925 _ACEOF
42926 if ac_fn_cxx_try_compile "$LINENO"; then :
42927   glibcxx_cv_func_atan2l_use=yes
42928 else
42929   glibcxx_cv_func_atan2l_use=no
42930 fi
42931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42932       ac_ext=c
42933 ac_cpp='$CPP $CPPFLAGS'
42934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42937
42938
42939 fi
42940
42941   fi
42942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42943 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42944
42945   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42946     for ac_func in atan2l
42947 do :
42948   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42949 if test "x$ac_cv_func_atan2l" = x""yes; then :
42950   cat >>confdefs.h <<_ACEOF
42951 #define HAVE_ATAN2L 1
42952 _ACEOF
42953
42954 fi
42955 done
42956
42957   else
42958
42959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42960 $as_echo_n "checking for _atan2l declaration... " >&6; }
42961   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42962     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42963   $as_echo_n "(cached) " >&6
42964 else
42965
42966
42967       ac_ext=cpp
42968 ac_cpp='$CXXCPP $CPPFLAGS'
42969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42972
42973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42974 /* end confdefs.h.  */
42975 #include <math.h>
42976 int
42977 main ()
42978 {
42979  _atan2l(0, 0);
42980   ;
42981   return 0;
42982 }
42983 _ACEOF
42984 if ac_fn_cxx_try_compile "$LINENO"; then :
42985   glibcxx_cv_func__atan2l_use=yes
42986 else
42987   glibcxx_cv_func__atan2l_use=no
42988 fi
42989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42990       ac_ext=c
42991 ac_cpp='$CPP $CPPFLAGS'
42992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42995
42996
42997 fi
42998
42999   fi
43000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43001 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43002
43003     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43004       for ac_func in _atan2l
43005 do :
43006   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43007 if test "x$ac_cv_func__atan2l" = x""yes; then :
43008   cat >>confdefs.h <<_ACEOF
43009 #define HAVE__ATAN2L 1
43010 _ACEOF
43011
43012 fi
43013 done
43014
43015     fi
43016   fi
43017
43018
43019
43020
43021
43022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43023 $as_echo_n "checking for expl declaration... " >&6; }
43024   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43025     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43026   $as_echo_n "(cached) " >&6
43027 else
43028
43029
43030       ac_ext=cpp
43031 ac_cpp='$CXXCPP $CPPFLAGS'
43032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43035
43036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43037 /* end confdefs.h.  */
43038 #include <math.h>
43039                       #ifdef HAVE_IEEEFP_H
43040                       #include <ieeefp.h>
43041                       #endif
43042
43043 int
43044 main ()
43045 {
43046  expl(0);
43047   ;
43048   return 0;
43049 }
43050 _ACEOF
43051 if ac_fn_cxx_try_compile "$LINENO"; then :
43052   glibcxx_cv_func_expl_use=yes
43053 else
43054   glibcxx_cv_func_expl_use=no
43055 fi
43056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43057       ac_ext=c
43058 ac_cpp='$CPP $CPPFLAGS'
43059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43062
43063
43064 fi
43065
43066   fi
43067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43068 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43069
43070   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43071     for ac_func in expl
43072 do :
43073   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43074 if test "x$ac_cv_func_expl" = x""yes; then :
43075   cat >>confdefs.h <<_ACEOF
43076 #define HAVE_EXPL 1
43077 _ACEOF
43078
43079 fi
43080 done
43081
43082   else
43083
43084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43085 $as_echo_n "checking for _expl declaration... " >&6; }
43086   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43087     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43088   $as_echo_n "(cached) " >&6
43089 else
43090
43091
43092       ac_ext=cpp
43093 ac_cpp='$CXXCPP $CPPFLAGS'
43094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43097
43098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43099 /* end confdefs.h.  */
43100 #include <math.h>
43101                       #ifdef HAVE_IEEEFP_H
43102                       #include <ieeefp.h>
43103                       #endif
43104
43105 int
43106 main ()
43107 {
43108  _expl(0);
43109   ;
43110   return 0;
43111 }
43112 _ACEOF
43113 if ac_fn_cxx_try_compile "$LINENO"; then :
43114   glibcxx_cv_func__expl_use=yes
43115 else
43116   glibcxx_cv_func__expl_use=no
43117 fi
43118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43119       ac_ext=c
43120 ac_cpp='$CPP $CPPFLAGS'
43121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43124
43125
43126 fi
43127
43128   fi
43129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43130 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43131
43132     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43133       for ac_func in _expl
43134 do :
43135   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43136 if test "x$ac_cv_func__expl" = x""yes; then :
43137   cat >>confdefs.h <<_ACEOF
43138 #define HAVE__EXPL 1
43139 _ACEOF
43140
43141 fi
43142 done
43143
43144     fi
43145   fi
43146
43147
43148
43149
43150
43151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43152 $as_echo_n "checking for fabsl declaration... " >&6; }
43153   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43154     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43155   $as_echo_n "(cached) " >&6
43156 else
43157
43158
43159       ac_ext=cpp
43160 ac_cpp='$CXXCPP $CPPFLAGS'
43161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43164
43165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43166 /* end confdefs.h.  */
43167 #include <math.h>
43168                       #ifdef HAVE_IEEEFP_H
43169                       #include <ieeefp.h>
43170                       #endif
43171
43172 int
43173 main ()
43174 {
43175  fabsl(0);
43176   ;
43177   return 0;
43178 }
43179 _ACEOF
43180 if ac_fn_cxx_try_compile "$LINENO"; then :
43181   glibcxx_cv_func_fabsl_use=yes
43182 else
43183   glibcxx_cv_func_fabsl_use=no
43184 fi
43185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43186       ac_ext=c
43187 ac_cpp='$CPP $CPPFLAGS'
43188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43191
43192
43193 fi
43194
43195   fi
43196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43197 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43198
43199   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43200     for ac_func in fabsl
43201 do :
43202   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43203 if test "x$ac_cv_func_fabsl" = x""yes; then :
43204   cat >>confdefs.h <<_ACEOF
43205 #define HAVE_FABSL 1
43206 _ACEOF
43207
43208 fi
43209 done
43210
43211   else
43212
43213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43214 $as_echo_n "checking for _fabsl declaration... " >&6; }
43215   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43216     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43217   $as_echo_n "(cached) " >&6
43218 else
43219
43220
43221       ac_ext=cpp
43222 ac_cpp='$CXXCPP $CPPFLAGS'
43223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43226
43227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43228 /* end confdefs.h.  */
43229 #include <math.h>
43230                       #ifdef HAVE_IEEEFP_H
43231                       #include <ieeefp.h>
43232                       #endif
43233
43234 int
43235 main ()
43236 {
43237  _fabsl(0);
43238   ;
43239   return 0;
43240 }
43241 _ACEOF
43242 if ac_fn_cxx_try_compile "$LINENO"; then :
43243   glibcxx_cv_func__fabsl_use=yes
43244 else
43245   glibcxx_cv_func__fabsl_use=no
43246 fi
43247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43248       ac_ext=c
43249 ac_cpp='$CPP $CPPFLAGS'
43250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43253
43254
43255 fi
43256
43257   fi
43258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43259 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43260
43261     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43262       for ac_func in _fabsl
43263 do :
43264   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43265 if test "x$ac_cv_func__fabsl" = x""yes; then :
43266   cat >>confdefs.h <<_ACEOF
43267 #define HAVE__FABSL 1
43268 _ACEOF
43269
43270 fi
43271 done
43272
43273     fi
43274   fi
43275
43276
43277
43278
43279
43280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43281 $as_echo_n "checking for fmodl declaration... " >&6; }
43282   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43283     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43284   $as_echo_n "(cached) " >&6
43285 else
43286
43287
43288       ac_ext=cpp
43289 ac_cpp='$CXXCPP $CPPFLAGS'
43290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43293
43294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43295 /* end confdefs.h.  */
43296 #include <math.h>
43297 int
43298 main ()
43299 {
43300  fmodl(0, 0);
43301   ;
43302   return 0;
43303 }
43304 _ACEOF
43305 if ac_fn_cxx_try_compile "$LINENO"; then :
43306   glibcxx_cv_func_fmodl_use=yes
43307 else
43308   glibcxx_cv_func_fmodl_use=no
43309 fi
43310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43311       ac_ext=c
43312 ac_cpp='$CPP $CPPFLAGS'
43313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43316
43317
43318 fi
43319
43320   fi
43321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43322 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43323
43324   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43325     for ac_func in fmodl
43326 do :
43327   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43328 if test "x$ac_cv_func_fmodl" = x""yes; then :
43329   cat >>confdefs.h <<_ACEOF
43330 #define HAVE_FMODL 1
43331 _ACEOF
43332
43333 fi
43334 done
43335
43336   else
43337
43338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43339 $as_echo_n "checking for _fmodl declaration... " >&6; }
43340   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43341     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43342   $as_echo_n "(cached) " >&6
43343 else
43344
43345
43346       ac_ext=cpp
43347 ac_cpp='$CXXCPP $CPPFLAGS'
43348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43351
43352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43353 /* end confdefs.h.  */
43354 #include <math.h>
43355 int
43356 main ()
43357 {
43358  _fmodl(0, 0);
43359   ;
43360   return 0;
43361 }
43362 _ACEOF
43363 if ac_fn_cxx_try_compile "$LINENO"; then :
43364   glibcxx_cv_func__fmodl_use=yes
43365 else
43366   glibcxx_cv_func__fmodl_use=no
43367 fi
43368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43369       ac_ext=c
43370 ac_cpp='$CPP $CPPFLAGS'
43371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43374
43375
43376 fi
43377
43378   fi
43379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43380 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43381
43382     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43383       for ac_func in _fmodl
43384 do :
43385   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43386 if test "x$ac_cv_func__fmodl" = x""yes; then :
43387   cat >>confdefs.h <<_ACEOF
43388 #define HAVE__FMODL 1
43389 _ACEOF
43390
43391 fi
43392 done
43393
43394     fi
43395   fi
43396
43397
43398
43399
43400
43401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43402 $as_echo_n "checking for frexpl declaration... " >&6; }
43403   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43404     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43405   $as_echo_n "(cached) " >&6
43406 else
43407
43408
43409       ac_ext=cpp
43410 ac_cpp='$CXXCPP $CPPFLAGS'
43411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43414
43415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43416 /* end confdefs.h.  */
43417 #include <math.h>
43418 int
43419 main ()
43420 {
43421  frexpl(0, 0);
43422   ;
43423   return 0;
43424 }
43425 _ACEOF
43426 if ac_fn_cxx_try_compile "$LINENO"; then :
43427   glibcxx_cv_func_frexpl_use=yes
43428 else
43429   glibcxx_cv_func_frexpl_use=no
43430 fi
43431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43432       ac_ext=c
43433 ac_cpp='$CPP $CPPFLAGS'
43434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43437
43438
43439 fi
43440
43441   fi
43442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43443 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43444
43445   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43446     for ac_func in frexpl
43447 do :
43448   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43449 if test "x$ac_cv_func_frexpl" = x""yes; then :
43450   cat >>confdefs.h <<_ACEOF
43451 #define HAVE_FREXPL 1
43452 _ACEOF
43453
43454 fi
43455 done
43456
43457   else
43458
43459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43460 $as_echo_n "checking for _frexpl declaration... " >&6; }
43461   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43462     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43463   $as_echo_n "(cached) " >&6
43464 else
43465
43466
43467       ac_ext=cpp
43468 ac_cpp='$CXXCPP $CPPFLAGS'
43469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43472
43473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43474 /* end confdefs.h.  */
43475 #include <math.h>
43476 int
43477 main ()
43478 {
43479  _frexpl(0, 0);
43480   ;
43481   return 0;
43482 }
43483 _ACEOF
43484 if ac_fn_cxx_try_compile "$LINENO"; then :
43485   glibcxx_cv_func__frexpl_use=yes
43486 else
43487   glibcxx_cv_func__frexpl_use=no
43488 fi
43489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43490       ac_ext=c
43491 ac_cpp='$CPP $CPPFLAGS'
43492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43495
43496
43497 fi
43498
43499   fi
43500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43501 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43502
43503     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43504       for ac_func in _frexpl
43505 do :
43506   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43507 if test "x$ac_cv_func__frexpl" = x""yes; then :
43508   cat >>confdefs.h <<_ACEOF
43509 #define HAVE__FREXPL 1
43510 _ACEOF
43511
43512 fi
43513 done
43514
43515     fi
43516   fi
43517
43518
43519
43520
43521
43522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43523 $as_echo_n "checking for hypotl declaration... " >&6; }
43524   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43525     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43526   $as_echo_n "(cached) " >&6
43527 else
43528
43529
43530       ac_ext=cpp
43531 ac_cpp='$CXXCPP $CPPFLAGS'
43532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43535
43536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43537 /* end confdefs.h.  */
43538 #include <math.h>
43539 int
43540 main ()
43541 {
43542  hypotl(0, 0);
43543   ;
43544   return 0;
43545 }
43546 _ACEOF
43547 if ac_fn_cxx_try_compile "$LINENO"; then :
43548   glibcxx_cv_func_hypotl_use=yes
43549 else
43550   glibcxx_cv_func_hypotl_use=no
43551 fi
43552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43553       ac_ext=c
43554 ac_cpp='$CPP $CPPFLAGS'
43555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43558
43559
43560 fi
43561
43562   fi
43563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43564 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43565
43566   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43567     for ac_func in hypotl
43568 do :
43569   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43570 if test "x$ac_cv_func_hypotl" = x""yes; then :
43571   cat >>confdefs.h <<_ACEOF
43572 #define HAVE_HYPOTL 1
43573 _ACEOF
43574
43575 fi
43576 done
43577
43578   else
43579
43580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43581 $as_echo_n "checking for _hypotl declaration... " >&6; }
43582   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43583     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43584   $as_echo_n "(cached) " >&6
43585 else
43586
43587
43588       ac_ext=cpp
43589 ac_cpp='$CXXCPP $CPPFLAGS'
43590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43593
43594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43595 /* end confdefs.h.  */
43596 #include <math.h>
43597 int
43598 main ()
43599 {
43600  _hypotl(0, 0);
43601   ;
43602   return 0;
43603 }
43604 _ACEOF
43605 if ac_fn_cxx_try_compile "$LINENO"; then :
43606   glibcxx_cv_func__hypotl_use=yes
43607 else
43608   glibcxx_cv_func__hypotl_use=no
43609 fi
43610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43611       ac_ext=c
43612 ac_cpp='$CPP $CPPFLAGS'
43613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43616
43617
43618 fi
43619
43620   fi
43621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43622 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43623
43624     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43625       for ac_func in _hypotl
43626 do :
43627   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43628 if test "x$ac_cv_func__hypotl" = x""yes; then :
43629   cat >>confdefs.h <<_ACEOF
43630 #define HAVE__HYPOTL 1
43631 _ACEOF
43632
43633 fi
43634 done
43635
43636     fi
43637   fi
43638
43639
43640
43641
43642
43643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43644 $as_echo_n "checking for ldexpl declaration... " >&6; }
43645   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43646     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43647   $as_echo_n "(cached) " >&6
43648 else
43649
43650
43651       ac_ext=cpp
43652 ac_cpp='$CXXCPP $CPPFLAGS'
43653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43656
43657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43658 /* end confdefs.h.  */
43659 #include <math.h>
43660 int
43661 main ()
43662 {
43663  ldexpl(0, 0);
43664   ;
43665   return 0;
43666 }
43667 _ACEOF
43668 if ac_fn_cxx_try_compile "$LINENO"; then :
43669   glibcxx_cv_func_ldexpl_use=yes
43670 else
43671   glibcxx_cv_func_ldexpl_use=no
43672 fi
43673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43674       ac_ext=c
43675 ac_cpp='$CPP $CPPFLAGS'
43676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43679
43680
43681 fi
43682
43683   fi
43684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43685 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43686
43687   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43688     for ac_func in ldexpl
43689 do :
43690   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43691 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43692   cat >>confdefs.h <<_ACEOF
43693 #define HAVE_LDEXPL 1
43694 _ACEOF
43695
43696 fi
43697 done
43698
43699   else
43700
43701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43702 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43703   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43704     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43705   $as_echo_n "(cached) " >&6
43706 else
43707
43708
43709       ac_ext=cpp
43710 ac_cpp='$CXXCPP $CPPFLAGS'
43711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43714
43715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43716 /* end confdefs.h.  */
43717 #include <math.h>
43718 int
43719 main ()
43720 {
43721  _ldexpl(0, 0);
43722   ;
43723   return 0;
43724 }
43725 _ACEOF
43726 if ac_fn_cxx_try_compile "$LINENO"; then :
43727   glibcxx_cv_func__ldexpl_use=yes
43728 else
43729   glibcxx_cv_func__ldexpl_use=no
43730 fi
43731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43732       ac_ext=c
43733 ac_cpp='$CPP $CPPFLAGS'
43734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43737
43738
43739 fi
43740
43741   fi
43742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43743 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43744
43745     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43746       for ac_func in _ldexpl
43747 do :
43748   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43749 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43750   cat >>confdefs.h <<_ACEOF
43751 #define HAVE__LDEXPL 1
43752 _ACEOF
43753
43754 fi
43755 done
43756
43757     fi
43758   fi
43759
43760
43761
43762
43763
43764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43765 $as_echo_n "checking for logl declaration... " >&6; }
43766   if test x${glibcxx_cv_func_logl_use+set} != xset; then
43767     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43768   $as_echo_n "(cached) " >&6
43769 else
43770
43771
43772       ac_ext=cpp
43773 ac_cpp='$CXXCPP $CPPFLAGS'
43774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43777
43778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43779 /* end confdefs.h.  */
43780 #include <math.h>
43781                       #ifdef HAVE_IEEEFP_H
43782                       #include <ieeefp.h>
43783                       #endif
43784
43785 int
43786 main ()
43787 {
43788  logl(0);
43789   ;
43790   return 0;
43791 }
43792 _ACEOF
43793 if ac_fn_cxx_try_compile "$LINENO"; then :
43794   glibcxx_cv_func_logl_use=yes
43795 else
43796   glibcxx_cv_func_logl_use=no
43797 fi
43798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43799       ac_ext=c
43800 ac_cpp='$CPP $CPPFLAGS'
43801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43804
43805
43806 fi
43807
43808   fi
43809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43810 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43811
43812   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43813     for ac_func in logl
43814 do :
43815   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43816 if test "x$ac_cv_func_logl" = x""yes; then :
43817   cat >>confdefs.h <<_ACEOF
43818 #define HAVE_LOGL 1
43819 _ACEOF
43820
43821 fi
43822 done
43823
43824   else
43825
43826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43827 $as_echo_n "checking for _logl declaration... " >&6; }
43828   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43829     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43830   $as_echo_n "(cached) " >&6
43831 else
43832
43833
43834       ac_ext=cpp
43835 ac_cpp='$CXXCPP $CPPFLAGS'
43836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43839
43840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43841 /* end confdefs.h.  */
43842 #include <math.h>
43843                       #ifdef HAVE_IEEEFP_H
43844                       #include <ieeefp.h>
43845                       #endif
43846
43847 int
43848 main ()
43849 {
43850  _logl(0);
43851   ;
43852   return 0;
43853 }
43854 _ACEOF
43855 if ac_fn_cxx_try_compile "$LINENO"; then :
43856   glibcxx_cv_func__logl_use=yes
43857 else
43858   glibcxx_cv_func__logl_use=no
43859 fi
43860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43861       ac_ext=c
43862 ac_cpp='$CPP $CPPFLAGS'
43863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43866
43867
43868 fi
43869
43870   fi
43871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43872 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43873
43874     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43875       for ac_func in _logl
43876 do :
43877   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43878 if test "x$ac_cv_func__logl" = x""yes; then :
43879   cat >>confdefs.h <<_ACEOF
43880 #define HAVE__LOGL 1
43881 _ACEOF
43882
43883 fi
43884 done
43885
43886     fi
43887   fi
43888
43889
43890
43891
43892
43893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43894 $as_echo_n "checking for log10l declaration... " >&6; }
43895   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43896     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43897   $as_echo_n "(cached) " >&6
43898 else
43899
43900
43901       ac_ext=cpp
43902 ac_cpp='$CXXCPP $CPPFLAGS'
43903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43906
43907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43908 /* end confdefs.h.  */
43909 #include <math.h>
43910                       #ifdef HAVE_IEEEFP_H
43911                       #include <ieeefp.h>
43912                       #endif
43913
43914 int
43915 main ()
43916 {
43917  log10l(0);
43918   ;
43919   return 0;
43920 }
43921 _ACEOF
43922 if ac_fn_cxx_try_compile "$LINENO"; then :
43923   glibcxx_cv_func_log10l_use=yes
43924 else
43925   glibcxx_cv_func_log10l_use=no
43926 fi
43927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43928       ac_ext=c
43929 ac_cpp='$CPP $CPPFLAGS'
43930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43933
43934
43935 fi
43936
43937   fi
43938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43939 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43940
43941   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43942     for ac_func in log10l
43943 do :
43944   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43945 if test "x$ac_cv_func_log10l" = x""yes; then :
43946   cat >>confdefs.h <<_ACEOF
43947 #define HAVE_LOG10L 1
43948 _ACEOF
43949
43950 fi
43951 done
43952
43953   else
43954
43955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43956 $as_echo_n "checking for _log10l declaration... " >&6; }
43957   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43958     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43959   $as_echo_n "(cached) " >&6
43960 else
43961
43962
43963       ac_ext=cpp
43964 ac_cpp='$CXXCPP $CPPFLAGS'
43965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43968
43969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43970 /* end confdefs.h.  */
43971 #include <math.h>
43972                       #ifdef HAVE_IEEEFP_H
43973                       #include <ieeefp.h>
43974                       #endif
43975
43976 int
43977 main ()
43978 {
43979  _log10l(0);
43980   ;
43981   return 0;
43982 }
43983 _ACEOF
43984 if ac_fn_cxx_try_compile "$LINENO"; then :
43985   glibcxx_cv_func__log10l_use=yes
43986 else
43987   glibcxx_cv_func__log10l_use=no
43988 fi
43989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43990       ac_ext=c
43991 ac_cpp='$CPP $CPPFLAGS'
43992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43995
43996
43997 fi
43998
43999   fi
44000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44001 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44002
44003     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44004       for ac_func in _log10l
44005 do :
44006   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44007 if test "x$ac_cv_func__log10l" = x""yes; then :
44008   cat >>confdefs.h <<_ACEOF
44009 #define HAVE__LOG10L 1
44010 _ACEOF
44011
44012 fi
44013 done
44014
44015     fi
44016   fi
44017
44018
44019
44020
44021
44022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44023 $as_echo_n "checking for modfl declaration... " >&6; }
44024   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44025     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44026   $as_echo_n "(cached) " >&6
44027 else
44028
44029
44030       ac_ext=cpp
44031 ac_cpp='$CXXCPP $CPPFLAGS'
44032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44035
44036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44037 /* end confdefs.h.  */
44038 #include <math.h>
44039 int
44040 main ()
44041 {
44042  modfl(0, 0);
44043   ;
44044   return 0;
44045 }
44046 _ACEOF
44047 if ac_fn_cxx_try_compile "$LINENO"; then :
44048   glibcxx_cv_func_modfl_use=yes
44049 else
44050   glibcxx_cv_func_modfl_use=no
44051 fi
44052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44053       ac_ext=c
44054 ac_cpp='$CPP $CPPFLAGS'
44055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44058
44059
44060 fi
44061
44062   fi
44063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44064 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44065
44066   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44067     for ac_func in modfl
44068 do :
44069   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44070 if test "x$ac_cv_func_modfl" = x""yes; then :
44071   cat >>confdefs.h <<_ACEOF
44072 #define HAVE_MODFL 1
44073 _ACEOF
44074
44075 fi
44076 done
44077
44078   else
44079
44080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44081 $as_echo_n "checking for _modfl declaration... " >&6; }
44082   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44083     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44084   $as_echo_n "(cached) " >&6
44085 else
44086
44087
44088       ac_ext=cpp
44089 ac_cpp='$CXXCPP $CPPFLAGS'
44090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44093
44094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44095 /* end confdefs.h.  */
44096 #include <math.h>
44097 int
44098 main ()
44099 {
44100  _modfl(0, 0);
44101   ;
44102   return 0;
44103 }
44104 _ACEOF
44105 if ac_fn_cxx_try_compile "$LINENO"; then :
44106   glibcxx_cv_func__modfl_use=yes
44107 else
44108   glibcxx_cv_func__modfl_use=no
44109 fi
44110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44111       ac_ext=c
44112 ac_cpp='$CPP $CPPFLAGS'
44113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44116
44117
44118 fi
44119
44120   fi
44121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44122 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44123
44124     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44125       for ac_func in _modfl
44126 do :
44127   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44128 if test "x$ac_cv_func__modfl" = x""yes; then :
44129   cat >>confdefs.h <<_ACEOF
44130 #define HAVE__MODFL 1
44131 _ACEOF
44132
44133 fi
44134 done
44135
44136     fi
44137   fi
44138
44139
44140
44141
44142
44143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44144 $as_echo_n "checking for powl declaration... " >&6; }
44145   if test x${glibcxx_cv_func_powl_use+set} != xset; then
44146     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44147   $as_echo_n "(cached) " >&6
44148 else
44149
44150
44151       ac_ext=cpp
44152 ac_cpp='$CXXCPP $CPPFLAGS'
44153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44156
44157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44158 /* end confdefs.h.  */
44159 #include <math.h>
44160 int
44161 main ()
44162 {
44163  powl(0, 0);
44164   ;
44165   return 0;
44166 }
44167 _ACEOF
44168 if ac_fn_cxx_try_compile "$LINENO"; then :
44169   glibcxx_cv_func_powl_use=yes
44170 else
44171   glibcxx_cv_func_powl_use=no
44172 fi
44173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44174       ac_ext=c
44175 ac_cpp='$CPP $CPPFLAGS'
44176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44179
44180
44181 fi
44182
44183   fi
44184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44185 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44186
44187   if test x$glibcxx_cv_func_powl_use = x"yes"; then
44188     for ac_func in powl
44189 do :
44190   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44191 if test "x$ac_cv_func_powl" = x""yes; then :
44192   cat >>confdefs.h <<_ACEOF
44193 #define HAVE_POWL 1
44194 _ACEOF
44195
44196 fi
44197 done
44198
44199   else
44200
44201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44202 $as_echo_n "checking for _powl declaration... " >&6; }
44203   if test x${glibcxx_cv_func__powl_use+set} != xset; then
44204     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44205   $as_echo_n "(cached) " >&6
44206 else
44207
44208
44209       ac_ext=cpp
44210 ac_cpp='$CXXCPP $CPPFLAGS'
44211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44214
44215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44216 /* end confdefs.h.  */
44217 #include <math.h>
44218 int
44219 main ()
44220 {
44221  _powl(0, 0);
44222   ;
44223   return 0;
44224 }
44225 _ACEOF
44226 if ac_fn_cxx_try_compile "$LINENO"; then :
44227   glibcxx_cv_func__powl_use=yes
44228 else
44229   glibcxx_cv_func__powl_use=no
44230 fi
44231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44232       ac_ext=c
44233 ac_cpp='$CPP $CPPFLAGS'
44234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44237
44238
44239 fi
44240
44241   fi
44242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44243 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44244
44245     if test x$glibcxx_cv_func__powl_use = x"yes"; then
44246       for ac_func in _powl
44247 do :
44248   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44249 if test "x$ac_cv_func__powl" = x""yes; then :
44250   cat >>confdefs.h <<_ACEOF
44251 #define HAVE__POWL 1
44252 _ACEOF
44253
44254 fi
44255 done
44256
44257     fi
44258   fi
44259
44260
44261
44262
44263
44264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44265 $as_echo_n "checking for sqrtl declaration... " >&6; }
44266   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44267     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44268   $as_echo_n "(cached) " >&6
44269 else
44270
44271
44272       ac_ext=cpp
44273 ac_cpp='$CXXCPP $CPPFLAGS'
44274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44277
44278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44279 /* end confdefs.h.  */
44280 #include <math.h>
44281                       #ifdef HAVE_IEEEFP_H
44282                       #include <ieeefp.h>
44283                       #endif
44284
44285 int
44286 main ()
44287 {
44288  sqrtl(0);
44289   ;
44290   return 0;
44291 }
44292 _ACEOF
44293 if ac_fn_cxx_try_compile "$LINENO"; then :
44294   glibcxx_cv_func_sqrtl_use=yes
44295 else
44296   glibcxx_cv_func_sqrtl_use=no
44297 fi
44298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44299       ac_ext=c
44300 ac_cpp='$CPP $CPPFLAGS'
44301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44304
44305
44306 fi
44307
44308   fi
44309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44310 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44311
44312   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44313     for ac_func in sqrtl
44314 do :
44315   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44316 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44317   cat >>confdefs.h <<_ACEOF
44318 #define HAVE_SQRTL 1
44319 _ACEOF
44320
44321 fi
44322 done
44323
44324   else
44325
44326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44327 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44328   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44329     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44330   $as_echo_n "(cached) " >&6
44331 else
44332
44333
44334       ac_ext=cpp
44335 ac_cpp='$CXXCPP $CPPFLAGS'
44336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44339
44340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44341 /* end confdefs.h.  */
44342 #include <math.h>
44343                       #ifdef HAVE_IEEEFP_H
44344                       #include <ieeefp.h>
44345                       #endif
44346
44347 int
44348 main ()
44349 {
44350  _sqrtl(0);
44351   ;
44352   return 0;
44353 }
44354 _ACEOF
44355 if ac_fn_cxx_try_compile "$LINENO"; then :
44356   glibcxx_cv_func__sqrtl_use=yes
44357 else
44358   glibcxx_cv_func__sqrtl_use=no
44359 fi
44360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44361       ac_ext=c
44362 ac_cpp='$CPP $CPPFLAGS'
44363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44366
44367
44368 fi
44369
44370   fi
44371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44372 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44373
44374     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44375       for ac_func in _sqrtl
44376 do :
44377   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44378 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44379   cat >>confdefs.h <<_ACEOF
44380 #define HAVE__SQRTL 1
44381 _ACEOF
44382
44383 fi
44384 done
44385
44386     fi
44387   fi
44388
44389
44390
44391
44392
44393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44394 $as_echo_n "checking for sincosl declaration... " >&6; }
44395   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44396     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44397   $as_echo_n "(cached) " >&6
44398 else
44399
44400
44401       ac_ext=cpp
44402 ac_cpp='$CXXCPP $CPPFLAGS'
44403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44406
44407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44408 /* end confdefs.h.  */
44409 #include <math.h>
44410 int
44411 main ()
44412 {
44413  sincosl(0, 0, 0);
44414   ;
44415   return 0;
44416 }
44417 _ACEOF
44418 if ac_fn_cxx_try_compile "$LINENO"; then :
44419   glibcxx_cv_func_sincosl_use=yes
44420 else
44421   glibcxx_cv_func_sincosl_use=no
44422 fi
44423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44424       ac_ext=c
44425 ac_cpp='$CPP $CPPFLAGS'
44426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44429
44430
44431 fi
44432
44433   fi
44434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44435 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44436
44437   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44438     for ac_func in sincosl
44439 do :
44440   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44441 if test "x$ac_cv_func_sincosl" = x""yes; then :
44442   cat >>confdefs.h <<_ACEOF
44443 #define HAVE_SINCOSL 1
44444 _ACEOF
44445
44446 fi
44447 done
44448
44449   else
44450
44451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44452 $as_echo_n "checking for _sincosl declaration... " >&6; }
44453   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44454     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44455   $as_echo_n "(cached) " >&6
44456 else
44457
44458
44459       ac_ext=cpp
44460 ac_cpp='$CXXCPP $CPPFLAGS'
44461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44464
44465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44466 /* end confdefs.h.  */
44467 #include <math.h>
44468 int
44469 main ()
44470 {
44471  _sincosl(0, 0, 0);
44472   ;
44473   return 0;
44474 }
44475 _ACEOF
44476 if ac_fn_cxx_try_compile "$LINENO"; then :
44477   glibcxx_cv_func__sincosl_use=yes
44478 else
44479   glibcxx_cv_func__sincosl_use=no
44480 fi
44481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44482       ac_ext=c
44483 ac_cpp='$CPP $CPPFLAGS'
44484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44487
44488
44489 fi
44490
44491   fi
44492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44493 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44494
44495     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44496       for ac_func in _sincosl
44497 do :
44498   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44499 if test "x$ac_cv_func__sincosl" = x""yes; then :
44500   cat >>confdefs.h <<_ACEOF
44501 #define HAVE__SINCOSL 1
44502 _ACEOF
44503
44504 fi
44505 done
44506
44507     fi
44508   fi
44509
44510
44511
44512
44513
44514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44515 $as_echo_n "checking for finitel declaration... " >&6; }
44516   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44517     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44518   $as_echo_n "(cached) " >&6
44519 else
44520
44521
44522       ac_ext=cpp
44523 ac_cpp='$CXXCPP $CPPFLAGS'
44524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44527
44528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44529 /* end confdefs.h.  */
44530 #include <math.h>
44531                       #ifdef HAVE_IEEEFP_H
44532                       #include <ieeefp.h>
44533                       #endif
44534
44535 int
44536 main ()
44537 {
44538  finitel(0);
44539   ;
44540   return 0;
44541 }
44542 _ACEOF
44543 if ac_fn_cxx_try_compile "$LINENO"; then :
44544   glibcxx_cv_func_finitel_use=yes
44545 else
44546   glibcxx_cv_func_finitel_use=no
44547 fi
44548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44549       ac_ext=c
44550 ac_cpp='$CPP $CPPFLAGS'
44551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44554
44555
44556 fi
44557
44558   fi
44559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44560 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44561
44562   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44563     for ac_func in finitel
44564 do :
44565   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44566 if test "x$ac_cv_func_finitel" = x""yes; then :
44567   cat >>confdefs.h <<_ACEOF
44568 #define HAVE_FINITEL 1
44569 _ACEOF
44570
44571 fi
44572 done
44573
44574   else
44575
44576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44577 $as_echo_n "checking for _finitel declaration... " >&6; }
44578   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44579     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44580   $as_echo_n "(cached) " >&6
44581 else
44582
44583
44584       ac_ext=cpp
44585 ac_cpp='$CXXCPP $CPPFLAGS'
44586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44589
44590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44591 /* end confdefs.h.  */
44592 #include <math.h>
44593                       #ifdef HAVE_IEEEFP_H
44594                       #include <ieeefp.h>
44595                       #endif
44596
44597 int
44598 main ()
44599 {
44600  _finitel(0);
44601   ;
44602   return 0;
44603 }
44604 _ACEOF
44605 if ac_fn_cxx_try_compile "$LINENO"; then :
44606   glibcxx_cv_func__finitel_use=yes
44607 else
44608   glibcxx_cv_func__finitel_use=no
44609 fi
44610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44611       ac_ext=c
44612 ac_cpp='$CPP $CPPFLAGS'
44613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44616
44617
44618 fi
44619
44620   fi
44621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44622 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44623
44624     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44625       for ac_func in _finitel
44626 do :
44627   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44628 if test "x$ac_cv_func__finitel" = x""yes; then :
44629   cat >>confdefs.h <<_ACEOF
44630 #define HAVE__FINITEL 1
44631 _ACEOF
44632
44633 fi
44634 done
44635
44636     fi
44637   fi
44638
44639
44640
44641
44642   LIBS="$ac_save_LIBS"
44643   CXXFLAGS="$ac_save_CXXFLAGS"
44644
44645
44646   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44647   ac_save_CXXFLAGS="$CXXFLAGS"
44648   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44649
44650
44651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44652 $as_echo_n "checking for strtold declaration... " >&6; }
44653   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44654     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44655   $as_echo_n "(cached) " >&6
44656 else
44657
44658
44659       ac_ext=cpp
44660 ac_cpp='$CXXCPP $CPPFLAGS'
44661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44664
44665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44666 /* end confdefs.h.  */
44667 #include <stdlib.h>
44668 int
44669 main ()
44670 {
44671  strtold(0, 0);
44672   ;
44673   return 0;
44674 }
44675 _ACEOF
44676 if ac_fn_cxx_try_compile "$LINENO"; then :
44677   glibcxx_cv_func_strtold_use=yes
44678 else
44679   glibcxx_cv_func_strtold_use=no
44680 fi
44681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44682       ac_ext=c
44683 ac_cpp='$CPP $CPPFLAGS'
44684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44687
44688
44689 fi
44690
44691   fi
44692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44693 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44694   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44695     for ac_func in strtold
44696 do :
44697   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44698 if test "x$ac_cv_func_strtold" = x""yes; then :
44699   cat >>confdefs.h <<_ACEOF
44700 #define HAVE_STRTOLD 1
44701 _ACEOF
44702
44703 fi
44704 done
44705
44706   fi
44707
44708
44709
44710
44711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44712 $as_echo_n "checking for strtof declaration... " >&6; }
44713   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44714     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44715   $as_echo_n "(cached) " >&6
44716 else
44717
44718
44719       ac_ext=cpp
44720 ac_cpp='$CXXCPP $CPPFLAGS'
44721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44724
44725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44726 /* end confdefs.h.  */
44727 #include <stdlib.h>
44728 int
44729 main ()
44730 {
44731  strtof(0, 0);
44732   ;
44733   return 0;
44734 }
44735 _ACEOF
44736 if ac_fn_cxx_try_compile "$LINENO"; then :
44737   glibcxx_cv_func_strtof_use=yes
44738 else
44739   glibcxx_cv_func_strtof_use=no
44740 fi
44741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44742       ac_ext=c
44743 ac_cpp='$CPP $CPPFLAGS'
44744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44747
44748
44749 fi
44750
44751   fi
44752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44753 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44754   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44755     for ac_func in strtof
44756 do :
44757   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44758 if test "x$ac_cv_func_strtof" = x""yes; then :
44759   cat >>confdefs.h <<_ACEOF
44760 #define HAVE_STRTOF 1
44761 _ACEOF
44762
44763 fi
44764 done
44765
44766   fi
44767
44768
44769
44770
44771   CXXFLAGS="$ac_save_CXXFLAGS"
44772
44773     ;;
44774
44775   *djgpp)
44776     # GLIBCXX_CHECK_MATH_SUPPORT
44777     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44778
44779     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44780
44781     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44782
44783     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44784
44785     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44786
44787     ;;
44788
44789   *-freebsd*)
44790     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44791
44792
44793   # If we're not using GNU ld, then there's no point in even trying these
44794   # tests.  Check for that first.  We should have already tested for gld
44795   # by now (in libtool), but require it now just to be safe...
44796   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44797   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44798
44799
44800
44801   # The name set by libtool depends on the version of libtool.  Shame on us
44802   # for depending on an impl detail, but c'est la vie.  Older versions used
44803   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44804   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44805   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44806   # set (hence we're using an older libtool), then set it.
44807   if test x${with_gnu_ld+set} != xset; then
44808     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44809       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44810       with_gnu_ld=no
44811     else
44812       with_gnu_ld=$ac_cv_prog_gnu_ld
44813     fi
44814   fi
44815
44816   # Start by getting the version number.  I think the libtool test already
44817   # does some of this, but throws away the result.
44818   glibcxx_ld_is_gold=no
44819   if test x"$with_gnu_ld" = x"yes"; then
44820     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44821 $as_echo_n "checking for ld version... " >&6; }
44822
44823     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44824       glibcxx_ld_is_gold=yes
44825     fi
44826     ldver=`$LD --version 2>/dev/null |
44827            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'`
44828
44829     glibcxx_gnu_ld_version=`echo $ldver | \
44830            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44831     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44832 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44833   fi
44834
44835   # Set --gc-sections.
44836   glibcxx_have_gc_sections=no
44837   if test "$glibcxx_ld_is_gold" = "yes"; then
44838     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44839       glibcxx_have_gc_sections=yes
44840     fi
44841   else
44842     glibcxx_gcsections_min_ld=21602
44843     if test x"$with_gnu_ld" = x"yes" &&
44844         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44845       glibcxx_have_gc_sections=yes
44846     fi
44847   fi
44848   if test "$glibcxx_have_gc_sections" = "yes"; then
44849     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44850     # NB: This flag only works reliably after 2.16.1. Configure tests
44851     # for this are difficult, so hard wire a value that should work.
44852
44853     ac_test_CFLAGS="${CFLAGS+set}"
44854     ac_save_CFLAGS="$CFLAGS"
44855     CFLAGS='-Wl,--gc-sections'
44856
44857     # Check for -Wl,--gc-sections
44858     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44859 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44860     if test x$gcc_no_link = xyes; then
44861   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44862 fi
44863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44864 /* end confdefs.h.  */
44865  int one(void) { return 1; }
44866      int two(void) { return 2; }
44867
44868 int
44869 main ()
44870 {
44871  two();
44872   ;
44873   return 0;
44874 }
44875 _ACEOF
44876 if ac_fn_c_try_link "$LINENO"; then :
44877   ac_gcsections=yes
44878 else
44879   ac_gcsections=no
44880 fi
44881 rm -f core conftest.err conftest.$ac_objext \
44882     conftest$ac_exeext conftest.$ac_ext
44883     if test "$ac_gcsections" = "yes"; then
44884       rm -f conftest.c
44885       touch conftest.c
44886       if $CC -c conftest.c; then
44887         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44888            grep "Warning: gc-sections option ignored" > /dev/null; then
44889           ac_gcsections=no
44890         fi
44891       fi
44892       rm -f conftest.c conftest.o conftest
44893     fi
44894     if test "$ac_gcsections" = "yes"; then
44895       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44896     fi
44897     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44898 $as_echo "$ac_gcsections" >&6; }
44899
44900     if test "$ac_test_CFLAGS" = set; then
44901       CFLAGS="$ac_save_CFLAGS"
44902     else
44903       # this is the suspicious part
44904       CFLAGS=''
44905     fi
44906   fi
44907
44908   # Set -z,relro.
44909   # Note this is only for shared objects.
44910   ac_ld_relro=no
44911   if test x"$with_gnu_ld" = x"yes"; then
44912     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44913 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44914     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44915     if test -n "$cxx_z_relo"; then
44916       OPT_LDFLAGS="-Wl,-z,relro"
44917       ac_ld_relro=yes
44918     fi
44919     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44920 $as_echo "$ac_ld_relro" >&6; }
44921   fi
44922
44923   # Set linker optimization flags.
44924   if test x"$with_gnu_ld" = x"yes"; then
44925     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44926   fi
44927
44928
44929
44930
44931     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44932
44933     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44934
44935     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44936
44937     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44938
44939     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44940
44941     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44942
44943     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44944
44945     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44946
44947     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44948
44949
44950     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44951
44952     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44953
44954     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44955
44956     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44957
44958     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44959
44960     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44961
44962     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44963
44964     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44965
44966     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44967
44968     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44969
44970     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44971
44972     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44973
44974     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44975
44976     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44977
44978     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44979
44980     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44981
44982     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44983
44984     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44985
44986     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44987
44988     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44989
44990     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44991
44992     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44993
44994     if test x"long_double_math_on_this_cpu" = x"yes"; then
44995       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44996
44997       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44998
44999       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45000
45001     fi
45002     ;;
45003   *-hpux*)
45004     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45005
45006
45007   # If we're not using GNU ld, then there's no point in even trying these
45008   # tests.  Check for that first.  We should have already tested for gld
45009   # by now (in libtool), but require it now just to be safe...
45010   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45011   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45012
45013
45014
45015   # The name set by libtool depends on the version of libtool.  Shame on us
45016   # for depending on an impl detail, but c'est la vie.  Older versions used
45017   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45018   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45019   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45020   # set (hence we're using an older libtool), then set it.
45021   if test x${with_gnu_ld+set} != xset; then
45022     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45023       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45024       with_gnu_ld=no
45025     else
45026       with_gnu_ld=$ac_cv_prog_gnu_ld
45027     fi
45028   fi
45029
45030   # Start by getting the version number.  I think the libtool test already
45031   # does some of this, but throws away the result.
45032   glibcxx_ld_is_gold=no
45033   if test x"$with_gnu_ld" = x"yes"; then
45034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45035 $as_echo_n "checking for ld version... " >&6; }
45036
45037     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45038       glibcxx_ld_is_gold=yes
45039     fi
45040     ldver=`$LD --version 2>/dev/null |
45041            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'`
45042
45043     glibcxx_gnu_ld_version=`echo $ldver | \
45044            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45045     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45046 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45047   fi
45048
45049   # Set --gc-sections.
45050   glibcxx_have_gc_sections=no
45051   if test "$glibcxx_ld_is_gold" = "yes"; then
45052     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45053       glibcxx_have_gc_sections=yes
45054     fi
45055   else
45056     glibcxx_gcsections_min_ld=21602
45057     if test x"$with_gnu_ld" = x"yes" &&
45058         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45059       glibcxx_have_gc_sections=yes
45060     fi
45061   fi
45062   if test "$glibcxx_have_gc_sections" = "yes"; then
45063     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45064     # NB: This flag only works reliably after 2.16.1. Configure tests
45065     # for this are difficult, so hard wire a value that should work.
45066
45067     ac_test_CFLAGS="${CFLAGS+set}"
45068     ac_save_CFLAGS="$CFLAGS"
45069     CFLAGS='-Wl,--gc-sections'
45070
45071     # Check for -Wl,--gc-sections
45072     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45073 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45074     if test x$gcc_no_link = xyes; then
45075   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45076 fi
45077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45078 /* end confdefs.h.  */
45079  int one(void) { return 1; }
45080      int two(void) { return 2; }
45081
45082 int
45083 main ()
45084 {
45085  two();
45086   ;
45087   return 0;
45088 }
45089 _ACEOF
45090 if ac_fn_c_try_link "$LINENO"; then :
45091   ac_gcsections=yes
45092 else
45093   ac_gcsections=no
45094 fi
45095 rm -f core conftest.err conftest.$ac_objext \
45096     conftest$ac_exeext conftest.$ac_ext
45097     if test "$ac_gcsections" = "yes"; then
45098       rm -f conftest.c
45099       touch conftest.c
45100       if $CC -c conftest.c; then
45101         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45102            grep "Warning: gc-sections option ignored" > /dev/null; then
45103           ac_gcsections=no
45104         fi
45105       fi
45106       rm -f conftest.c conftest.o conftest
45107     fi
45108     if test "$ac_gcsections" = "yes"; then
45109       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45110     fi
45111     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45112 $as_echo "$ac_gcsections" >&6; }
45113
45114     if test "$ac_test_CFLAGS" = set; then
45115       CFLAGS="$ac_save_CFLAGS"
45116     else
45117       # this is the suspicious part
45118       CFLAGS=''
45119     fi
45120   fi
45121
45122   # Set -z,relro.
45123   # Note this is only for shared objects.
45124   ac_ld_relro=no
45125   if test x"$with_gnu_ld" = x"yes"; then
45126     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45127 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45128     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45129     if test -n "$cxx_z_relo"; then
45130       OPT_LDFLAGS="-Wl,-z,relro"
45131       ac_ld_relro=yes
45132     fi
45133     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45134 $as_echo "$ac_ld_relro" >&6; }
45135   fi
45136
45137   # Set linker optimization flags.
45138   if test x"$with_gnu_ld" = x"yes"; then
45139     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45140   fi
45141
45142
45143
45144
45145
45146     # GLIBCXX_CHECK_MATH_SUPPORT
45147     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45148
45149     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45150
45151     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45152
45153     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45154
45155     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45156
45157     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45158
45159     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45160
45161     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45162
45163     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45164
45165     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45166
45167     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45168
45169     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45170
45171     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45172
45173     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45174
45175     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45176
45177     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45178
45179     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45180
45181     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45182
45183     $as_echo "#define HAVE_MODF 1" >>confdefs.h
45184
45185     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45186
45187     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45188
45189
45190     # GLIBCXX_CHECK_STDLIB_SUPPORT
45191     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45192
45193
45194
45195
45196    # Check whether --enable-tls was given.
45197 if test "${enable_tls+set}" = set; then :
45198   enableval=$enable_tls;
45199       case "$enableval" in
45200        yes|no) ;;
45201        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45202       esac
45203
45204 else
45205   enable_tls=yes
45206 fi
45207
45208
45209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45210 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45211 if test "${gcc_cv_have_tls+set}" = set; then :
45212   $as_echo_n "(cached) " >&6
45213 else
45214
45215     if test "$cross_compiling" = yes; then :
45216                 if test x$gcc_no_link = xyes; then
45217   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45218 fi
45219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45220 /* end confdefs.h.  */
45221 __thread int a; int b; int main() { return a = b; }
45222 _ACEOF
45223 if ac_fn_c_try_link "$LINENO"; then :
45224   chktls_save_LDFLAGS="$LDFLAGS"
45225                           case $host in
45226             *-*-linux*)
45227               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45228               ;;
45229           esac
45230           chktls_save_CFLAGS="$CFLAGS"
45231           CFLAGS="-fPIC $CFLAGS"
45232                   if test x$gcc_no_link = xyes; then
45233   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45234 fi
45235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45236 /* end confdefs.h.  */
45237 int f() { return 0; }
45238 _ACEOF
45239 if ac_fn_c_try_link "$LINENO"; then :
45240   if test x$gcc_no_link = xyes; then
45241   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45242 fi
45243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45244 /* end confdefs.h.  */
45245 __thread int a; int b; int f() { return a = b; }
45246 _ACEOF
45247 if ac_fn_c_try_link "$LINENO"; then :
45248   gcc_cv_have_tls=yes
45249 else
45250   gcc_cv_have_tls=no
45251 fi
45252 rm -f core conftest.err conftest.$ac_objext \
45253     conftest$ac_exeext conftest.$ac_ext
45254 else
45255   gcc_cv_have_tls=yes
45256 fi
45257 rm -f core conftest.err conftest.$ac_objext \
45258     conftest$ac_exeext conftest.$ac_ext
45259           CFLAGS="$chktls_save_CFLAGS"
45260           LDFLAGS="$chktls_save_LDFLAGS"
45261 else
45262   gcc_cv_have_tls=no
45263 fi
45264 rm -f core conftest.err conftest.$ac_objext \
45265     conftest$ac_exeext conftest.$ac_ext
45266
45267
45268 else
45269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45270 /* end confdefs.h.  */
45271 __thread int a; int b; int main() { return a = b; }
45272 _ACEOF
45273 if ac_fn_c_try_run "$LINENO"; then :
45274                       chktls_save_LDFLAGS="$LDFLAGS"
45275       LDFLAGS="-static $LDFLAGS"
45276       if test x$gcc_no_link = xyes; then
45277   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45278 fi
45279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45280 /* end confdefs.h.  */
45281 int main() { return 0; }
45282 _ACEOF
45283 if ac_fn_c_try_link "$LINENO"; then :
45284   if test "$cross_compiling" = yes; then :
45285   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45287 as_fn_error "cannot run test program while cross compiling
45288 See \`config.log' for more details." "$LINENO" 5; }
45289 else
45290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45291 /* end confdefs.h.  */
45292 __thread int a; int b; int main() { return a = b; }
45293 _ACEOF
45294 if ac_fn_c_try_run "$LINENO"; then :
45295   gcc_cv_have_tls=yes
45296 else
45297   gcc_cv_have_tls=no
45298 fi
45299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45300   conftest.$ac_objext conftest.beam conftest.$ac_ext
45301 fi
45302
45303 else
45304   gcc_cv_have_tls=yes
45305 fi
45306 rm -f core conftest.err conftest.$ac_objext \
45307     conftest$ac_exeext conftest.$ac_ext
45308       LDFLAGS="$chktls_save_LDFLAGS"
45309       if test $gcc_cv_have_tls = yes; then
45310                                                 chktls_save_CFLAGS="$CFLAGS"
45311         thread_CFLAGS=failed
45312         for flag in '' '-pthread' '-lpthread'; do
45313           CFLAGS="$flag $chktls_save_CFLAGS"
45314           if test x$gcc_no_link = xyes; then
45315   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45316 fi
45317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45318 /* end confdefs.h.  */
45319 #include <pthread.h>
45320                 void *g(void *d) { return NULL; }
45321 int
45322 main ()
45323 {
45324 pthread_t t; pthread_create(&t,NULL,g,NULL);
45325   ;
45326   return 0;
45327 }
45328 _ACEOF
45329 if ac_fn_c_try_link "$LINENO"; then :
45330   thread_CFLAGS="$flag"
45331 fi
45332 rm -f core conftest.err conftest.$ac_objext \
45333     conftest$ac_exeext conftest.$ac_ext
45334           if test "X$thread_CFLAGS" != Xfailed; then
45335             break
45336           fi
45337         done
45338         CFLAGS="$chktls_save_CFLAGS"
45339         if test "X$thread_CFLAGS" != Xfailed; then
45340           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45341                                                   if test "$cross_compiling" = yes; then :
45342   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45344 as_fn_error "cannot run test program while cross compiling
45345 See \`config.log' for more details." "$LINENO" 5; }
45346 else
45347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45348 /* end confdefs.h.  */
45349 #include <pthread.h>
45350                 __thread int a;
45351                 static int *volatile a_in_other_thread;
45352                 static void *
45353                 thread_func (void *arg)
45354                 {
45355                   a_in_other_thread = &a;
45356                   return (void *)0;
45357                 }
45358 int
45359 main ()
45360 {
45361 pthread_t thread;
45362                 void *thread_retval;
45363                 int *volatile a_in_main_thread;
45364                 a_in_main_thread = &a;
45365                 if (pthread_create (&thread, (pthread_attr_t *)0,
45366                                     thread_func, (void *)0))
45367                   return 0;
45368                 if (pthread_join (thread, &thread_retval))
45369                   return 0;
45370                 return (a_in_other_thread == a_in_main_thread);
45371   ;
45372   return 0;
45373 }
45374 _ACEOF
45375 if ac_fn_c_try_run "$LINENO"; then :
45376   gcc_cv_have_tls=yes
45377 else
45378   gcc_cv_have_tls=no
45379 fi
45380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45381   conftest.$ac_objext conftest.beam conftest.$ac_ext
45382 fi
45383
45384           CFLAGS="$chktls_save_CFLAGS"
45385         fi
45386       fi
45387 else
45388   gcc_cv_have_tls=no
45389 fi
45390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45391   conftest.$ac_objext conftest.beam conftest.$ac_ext
45392 fi
45393
45394 fi
45395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45396 $as_echo "$gcc_cv_have_tls" >&6; }
45397   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45398
45399 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45400
45401   fi
45402     case "$target" in
45403       *-hpux10*)
45404         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45405
45406         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45407
45408         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45409
45410         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45411
45412         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45413
45414         ;;
45415     esac
45416     ;;
45417   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45418
45419   # All these tests are for C++; save the language and the compiler flags.
45420   # The CXXFLAGS thing is suspicious, but based on similar bits previously
45421   # found in GLIBCXX_CONFIGURE.
45422
45423   ac_ext=cpp
45424 ac_cpp='$CXXCPP $CPPFLAGS'
45425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45428
45429   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45430   ac_save_CXXFLAGS="$CXXFLAGS"
45431
45432   # Check for maintainer-mode bits.
45433   if test x"$USE_MAINTAINER_MODE" = xno; then
45434     WERROR=''
45435   else
45436     WERROR='-Werror'
45437   fi
45438
45439   # Check for -ffunction-sections -fdata-sections
45440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45441 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45442   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45444 /* end confdefs.h.  */
45445 int foo; void bar() { };
45446 int
45447 main ()
45448 {
45449
45450   ;
45451   return 0;
45452 }
45453 _ACEOF
45454 if ac_fn_cxx_try_compile "$LINENO"; then :
45455   ac_fdsections=yes
45456 else
45457   ac_fdsections=no
45458 fi
45459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45460   if test "$ac_test_CXXFLAGS" = set; then
45461     CXXFLAGS="$ac_save_CXXFLAGS"
45462   else
45463     # this is the suspicious part
45464     CXXFLAGS=''
45465   fi
45466   if test x"$ac_fdsections" = x"yes"; then
45467     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45468   fi
45469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45470 $as_echo "$ac_fdsections" >&6; }
45471
45472   ac_ext=c
45473 ac_cpp='$CPP $CPPFLAGS'
45474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45477
45478
45479
45480
45481
45482   # If we're not using GNU ld, then there's no point in even trying these
45483   # tests.  Check for that first.  We should have already tested for gld
45484   # by now (in libtool), but require it now just to be safe...
45485   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45486   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45487
45488
45489
45490   # The name set by libtool depends on the version of libtool.  Shame on us
45491   # for depending on an impl detail, but c'est la vie.  Older versions used
45492   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45493   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45494   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45495   # set (hence we're using an older libtool), then set it.
45496   if test x${with_gnu_ld+set} != xset; then
45497     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45498       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45499       with_gnu_ld=no
45500     else
45501       with_gnu_ld=$ac_cv_prog_gnu_ld
45502     fi
45503   fi
45504
45505   # Start by getting the version number.  I think the libtool test already
45506   # does some of this, but throws away the result.
45507   glibcxx_ld_is_gold=no
45508   if test x"$with_gnu_ld" = x"yes"; then
45509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45510 $as_echo_n "checking for ld version... " >&6; }
45511
45512     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45513       glibcxx_ld_is_gold=yes
45514     fi
45515     ldver=`$LD --version 2>/dev/null |
45516            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'`
45517
45518     glibcxx_gnu_ld_version=`echo $ldver | \
45519            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45520     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45521 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45522   fi
45523
45524   # Set --gc-sections.
45525   glibcxx_have_gc_sections=no
45526   if test "$glibcxx_ld_is_gold" = "yes"; then
45527     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45528       glibcxx_have_gc_sections=yes
45529     fi
45530   else
45531     glibcxx_gcsections_min_ld=21602
45532     if test x"$with_gnu_ld" = x"yes" &&
45533         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45534       glibcxx_have_gc_sections=yes
45535     fi
45536   fi
45537   if test "$glibcxx_have_gc_sections" = "yes"; then
45538     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45539     # NB: This flag only works reliably after 2.16.1. Configure tests
45540     # for this are difficult, so hard wire a value that should work.
45541
45542     ac_test_CFLAGS="${CFLAGS+set}"
45543     ac_save_CFLAGS="$CFLAGS"
45544     CFLAGS='-Wl,--gc-sections'
45545
45546     # Check for -Wl,--gc-sections
45547     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45548 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45549     if test x$gcc_no_link = xyes; then
45550   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45551 fi
45552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45553 /* end confdefs.h.  */
45554  int one(void) { return 1; }
45555      int two(void) { return 2; }
45556
45557 int
45558 main ()
45559 {
45560  two();
45561   ;
45562   return 0;
45563 }
45564 _ACEOF
45565 if ac_fn_c_try_link "$LINENO"; then :
45566   ac_gcsections=yes
45567 else
45568   ac_gcsections=no
45569 fi
45570 rm -f core conftest.err conftest.$ac_objext \
45571     conftest$ac_exeext conftest.$ac_ext
45572     if test "$ac_gcsections" = "yes"; then
45573       rm -f conftest.c
45574       touch conftest.c
45575       if $CC -c conftest.c; then
45576         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45577            grep "Warning: gc-sections option ignored" > /dev/null; then
45578           ac_gcsections=no
45579         fi
45580       fi
45581       rm -f conftest.c conftest.o conftest
45582     fi
45583     if test "$ac_gcsections" = "yes"; then
45584       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45585     fi
45586     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45587 $as_echo "$ac_gcsections" >&6; }
45588
45589     if test "$ac_test_CFLAGS" = set; then
45590       CFLAGS="$ac_save_CFLAGS"
45591     else
45592       # this is the suspicious part
45593       CFLAGS=''
45594     fi
45595   fi
45596
45597   # Set -z,relro.
45598   # Note this is only for shared objects.
45599   ac_ld_relro=no
45600   if test x"$with_gnu_ld" = x"yes"; then
45601     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45602 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45603     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45604     if test -n "$cxx_z_relo"; then
45605       OPT_LDFLAGS="-Wl,-z,relro"
45606       ac_ld_relro=yes
45607     fi
45608     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45609 $as_echo "$ac_ld_relro" >&6; }
45610   fi
45611
45612   # Set linker optimization flags.
45613   if test x"$with_gnu_ld" = x"yes"; then
45614     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45615   fi
45616
45617
45618
45619
45620
45621   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45622   ac_save_CXXFLAGS="$CXXFLAGS"
45623   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45624
45625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45626 $as_echo_n "checking for sin in -lm... " >&6; }
45627 if test "${ac_cv_lib_m_sin+set}" = set; then :
45628   $as_echo_n "(cached) " >&6
45629 else
45630   ac_check_lib_save_LIBS=$LIBS
45631 LIBS="-lm  $LIBS"
45632 if test x$gcc_no_link = xyes; then
45633   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45634 fi
45635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45636 /* end confdefs.h.  */
45637
45638 /* Override any GCC internal prototype to avoid an error.
45639    Use char because int might match the return type of a GCC
45640    builtin and then its argument prototype would still apply.  */
45641 #ifdef __cplusplus
45642 extern "C"
45643 #endif
45644 char sin ();
45645 int
45646 main ()
45647 {
45648 return sin ();
45649   ;
45650   return 0;
45651 }
45652 _ACEOF
45653 if ac_fn_c_try_link "$LINENO"; then :
45654   ac_cv_lib_m_sin=yes
45655 else
45656   ac_cv_lib_m_sin=no
45657 fi
45658 rm -f core conftest.err conftest.$ac_objext \
45659     conftest$ac_exeext conftest.$ac_ext
45660 LIBS=$ac_check_lib_save_LIBS
45661 fi
45662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45663 $as_echo "$ac_cv_lib_m_sin" >&6; }
45664 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45665   libm="-lm"
45666 fi
45667
45668   ac_save_LIBS="$LIBS"
45669   LIBS="$LIBS $libm"
45670
45671
45672
45673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45674 $as_echo_n "checking for isinf declaration... " >&6; }
45675   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45676     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45677   $as_echo_n "(cached) " >&6
45678 else
45679
45680
45681       ac_ext=cpp
45682 ac_cpp='$CXXCPP $CPPFLAGS'
45683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45686
45687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45688 /* end confdefs.h.  */
45689 #include <math.h>
45690                       #ifdef HAVE_IEEEFP_H
45691                       #include <ieeefp.h>
45692                       #endif
45693
45694 int
45695 main ()
45696 {
45697  isinf(0);
45698   ;
45699   return 0;
45700 }
45701 _ACEOF
45702 if ac_fn_cxx_try_compile "$LINENO"; then :
45703   glibcxx_cv_func_isinf_use=yes
45704 else
45705   glibcxx_cv_func_isinf_use=no
45706 fi
45707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45708       ac_ext=c
45709 ac_cpp='$CPP $CPPFLAGS'
45710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45713
45714
45715 fi
45716
45717   fi
45718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45719 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45720
45721   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45722     for ac_func in isinf
45723 do :
45724   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45725 if test "x$ac_cv_func_isinf" = x""yes; then :
45726   cat >>confdefs.h <<_ACEOF
45727 #define HAVE_ISINF 1
45728 _ACEOF
45729
45730 fi
45731 done
45732
45733   else
45734
45735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45736 $as_echo_n "checking for _isinf declaration... " >&6; }
45737   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45738     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45739   $as_echo_n "(cached) " >&6
45740 else
45741
45742
45743       ac_ext=cpp
45744 ac_cpp='$CXXCPP $CPPFLAGS'
45745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45748
45749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45750 /* end confdefs.h.  */
45751 #include <math.h>
45752                       #ifdef HAVE_IEEEFP_H
45753                       #include <ieeefp.h>
45754                       #endif
45755
45756 int
45757 main ()
45758 {
45759  _isinf(0);
45760   ;
45761   return 0;
45762 }
45763 _ACEOF
45764 if ac_fn_cxx_try_compile "$LINENO"; then :
45765   glibcxx_cv_func__isinf_use=yes
45766 else
45767   glibcxx_cv_func__isinf_use=no
45768 fi
45769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45770       ac_ext=c
45771 ac_cpp='$CPP $CPPFLAGS'
45772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45775
45776
45777 fi
45778
45779   fi
45780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45781 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45782
45783     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45784       for ac_func in _isinf
45785 do :
45786   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45787 if test "x$ac_cv_func__isinf" = x""yes; then :
45788   cat >>confdefs.h <<_ACEOF
45789 #define HAVE__ISINF 1
45790 _ACEOF
45791
45792 fi
45793 done
45794
45795     fi
45796   fi
45797
45798
45799
45800
45801
45802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45803 $as_echo_n "checking for isnan declaration... " >&6; }
45804   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45805     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45806   $as_echo_n "(cached) " >&6
45807 else
45808
45809
45810       ac_ext=cpp
45811 ac_cpp='$CXXCPP $CPPFLAGS'
45812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45815
45816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45817 /* end confdefs.h.  */
45818 #include <math.h>
45819                       #ifdef HAVE_IEEEFP_H
45820                       #include <ieeefp.h>
45821                       #endif
45822
45823 int
45824 main ()
45825 {
45826  isnan(0);
45827   ;
45828   return 0;
45829 }
45830 _ACEOF
45831 if ac_fn_cxx_try_compile "$LINENO"; then :
45832   glibcxx_cv_func_isnan_use=yes
45833 else
45834   glibcxx_cv_func_isnan_use=no
45835 fi
45836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45837       ac_ext=c
45838 ac_cpp='$CPP $CPPFLAGS'
45839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45842
45843
45844 fi
45845
45846   fi
45847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45848 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45849
45850   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45851     for ac_func in isnan
45852 do :
45853   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45854 if test "x$ac_cv_func_isnan" = x""yes; then :
45855   cat >>confdefs.h <<_ACEOF
45856 #define HAVE_ISNAN 1
45857 _ACEOF
45858
45859 fi
45860 done
45861
45862   else
45863
45864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45865 $as_echo_n "checking for _isnan declaration... " >&6; }
45866   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45867     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45868   $as_echo_n "(cached) " >&6
45869 else
45870
45871
45872       ac_ext=cpp
45873 ac_cpp='$CXXCPP $CPPFLAGS'
45874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45877
45878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45879 /* end confdefs.h.  */
45880 #include <math.h>
45881                       #ifdef HAVE_IEEEFP_H
45882                       #include <ieeefp.h>
45883                       #endif
45884
45885 int
45886 main ()
45887 {
45888  _isnan(0);
45889   ;
45890   return 0;
45891 }
45892 _ACEOF
45893 if ac_fn_cxx_try_compile "$LINENO"; then :
45894   glibcxx_cv_func__isnan_use=yes
45895 else
45896   glibcxx_cv_func__isnan_use=no
45897 fi
45898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45899       ac_ext=c
45900 ac_cpp='$CPP $CPPFLAGS'
45901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45904
45905
45906 fi
45907
45908   fi
45909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45910 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45911
45912     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45913       for ac_func in _isnan
45914 do :
45915   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45916 if test "x$ac_cv_func__isnan" = x""yes; then :
45917   cat >>confdefs.h <<_ACEOF
45918 #define HAVE__ISNAN 1
45919 _ACEOF
45920
45921 fi
45922 done
45923
45924     fi
45925   fi
45926
45927
45928
45929
45930
45931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45932 $as_echo_n "checking for finite declaration... " >&6; }
45933   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45934     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45935   $as_echo_n "(cached) " >&6
45936 else
45937
45938
45939       ac_ext=cpp
45940 ac_cpp='$CXXCPP $CPPFLAGS'
45941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45944
45945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45946 /* end confdefs.h.  */
45947 #include <math.h>
45948                       #ifdef HAVE_IEEEFP_H
45949                       #include <ieeefp.h>
45950                       #endif
45951
45952 int
45953 main ()
45954 {
45955  finite(0);
45956   ;
45957   return 0;
45958 }
45959 _ACEOF
45960 if ac_fn_cxx_try_compile "$LINENO"; then :
45961   glibcxx_cv_func_finite_use=yes
45962 else
45963   glibcxx_cv_func_finite_use=no
45964 fi
45965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45966       ac_ext=c
45967 ac_cpp='$CPP $CPPFLAGS'
45968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45971
45972
45973 fi
45974
45975   fi
45976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45977 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45978
45979   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45980     for ac_func in finite
45981 do :
45982   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45983 if test "x$ac_cv_func_finite" = x""yes; then :
45984   cat >>confdefs.h <<_ACEOF
45985 #define HAVE_FINITE 1
45986 _ACEOF
45987
45988 fi
45989 done
45990
45991   else
45992
45993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45994 $as_echo_n "checking for _finite declaration... " >&6; }
45995   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45996     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45997   $as_echo_n "(cached) " >&6
45998 else
45999
46000
46001       ac_ext=cpp
46002 ac_cpp='$CXXCPP $CPPFLAGS'
46003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46006
46007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46008 /* end confdefs.h.  */
46009 #include <math.h>
46010                       #ifdef HAVE_IEEEFP_H
46011                       #include <ieeefp.h>
46012                       #endif
46013
46014 int
46015 main ()
46016 {
46017  _finite(0);
46018   ;
46019   return 0;
46020 }
46021 _ACEOF
46022 if ac_fn_cxx_try_compile "$LINENO"; then :
46023   glibcxx_cv_func__finite_use=yes
46024 else
46025   glibcxx_cv_func__finite_use=no
46026 fi
46027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46028       ac_ext=c
46029 ac_cpp='$CPP $CPPFLAGS'
46030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46033
46034
46035 fi
46036
46037   fi
46038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46039 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46040
46041     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46042       for ac_func in _finite
46043 do :
46044   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46045 if test "x$ac_cv_func__finite" = x""yes; then :
46046   cat >>confdefs.h <<_ACEOF
46047 #define HAVE__FINITE 1
46048 _ACEOF
46049
46050 fi
46051 done
46052
46053     fi
46054   fi
46055
46056
46057
46058
46059
46060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46061 $as_echo_n "checking for sincos declaration... " >&6; }
46062   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46063     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46064   $as_echo_n "(cached) " >&6
46065 else
46066
46067
46068       ac_ext=cpp
46069 ac_cpp='$CXXCPP $CPPFLAGS'
46070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46073
46074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46075 /* end confdefs.h.  */
46076 #include <math.h>
46077 int
46078 main ()
46079 {
46080  sincos(0, 0, 0);
46081   ;
46082   return 0;
46083 }
46084 _ACEOF
46085 if ac_fn_cxx_try_compile "$LINENO"; then :
46086   glibcxx_cv_func_sincos_use=yes
46087 else
46088   glibcxx_cv_func_sincos_use=no
46089 fi
46090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46091       ac_ext=c
46092 ac_cpp='$CPP $CPPFLAGS'
46093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46096
46097
46098 fi
46099
46100   fi
46101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46102 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46103
46104   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46105     for ac_func in sincos
46106 do :
46107   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46108 if test "x$ac_cv_func_sincos" = x""yes; then :
46109   cat >>confdefs.h <<_ACEOF
46110 #define HAVE_SINCOS 1
46111 _ACEOF
46112
46113 fi
46114 done
46115
46116   else
46117
46118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46119 $as_echo_n "checking for _sincos declaration... " >&6; }
46120   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46121     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46122   $as_echo_n "(cached) " >&6
46123 else
46124
46125
46126       ac_ext=cpp
46127 ac_cpp='$CXXCPP $CPPFLAGS'
46128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46131
46132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46133 /* end confdefs.h.  */
46134 #include <math.h>
46135 int
46136 main ()
46137 {
46138  _sincos(0, 0, 0);
46139   ;
46140   return 0;
46141 }
46142 _ACEOF
46143 if ac_fn_cxx_try_compile "$LINENO"; then :
46144   glibcxx_cv_func__sincos_use=yes
46145 else
46146   glibcxx_cv_func__sincos_use=no
46147 fi
46148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46149       ac_ext=c
46150 ac_cpp='$CPP $CPPFLAGS'
46151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46154
46155
46156 fi
46157
46158   fi
46159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46160 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46161
46162     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46163       for ac_func in _sincos
46164 do :
46165   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46166 if test "x$ac_cv_func__sincos" = x""yes; then :
46167   cat >>confdefs.h <<_ACEOF
46168 #define HAVE__SINCOS 1
46169 _ACEOF
46170
46171 fi
46172 done
46173
46174     fi
46175   fi
46176
46177
46178
46179
46180
46181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46182 $as_echo_n "checking for fpclass declaration... " >&6; }
46183   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46184     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46185   $as_echo_n "(cached) " >&6
46186 else
46187
46188
46189       ac_ext=cpp
46190 ac_cpp='$CXXCPP $CPPFLAGS'
46191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46194
46195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46196 /* end confdefs.h.  */
46197 #include <math.h>
46198                       #ifdef HAVE_IEEEFP_H
46199                       #include <ieeefp.h>
46200                       #endif
46201
46202 int
46203 main ()
46204 {
46205  fpclass(0);
46206   ;
46207   return 0;
46208 }
46209 _ACEOF
46210 if ac_fn_cxx_try_compile "$LINENO"; then :
46211   glibcxx_cv_func_fpclass_use=yes
46212 else
46213   glibcxx_cv_func_fpclass_use=no
46214 fi
46215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46216       ac_ext=c
46217 ac_cpp='$CPP $CPPFLAGS'
46218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46221
46222
46223 fi
46224
46225   fi
46226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46227 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46228
46229   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46230     for ac_func in fpclass
46231 do :
46232   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46233 if test "x$ac_cv_func_fpclass" = x""yes; then :
46234   cat >>confdefs.h <<_ACEOF
46235 #define HAVE_FPCLASS 1
46236 _ACEOF
46237
46238 fi
46239 done
46240
46241   else
46242
46243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46244 $as_echo_n "checking for _fpclass declaration... " >&6; }
46245   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46246     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46247   $as_echo_n "(cached) " >&6
46248 else
46249
46250
46251       ac_ext=cpp
46252 ac_cpp='$CXXCPP $CPPFLAGS'
46253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46256
46257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46258 /* end confdefs.h.  */
46259 #include <math.h>
46260                       #ifdef HAVE_IEEEFP_H
46261                       #include <ieeefp.h>
46262                       #endif
46263
46264 int
46265 main ()
46266 {
46267  _fpclass(0);
46268   ;
46269   return 0;
46270 }
46271 _ACEOF
46272 if ac_fn_cxx_try_compile "$LINENO"; then :
46273   glibcxx_cv_func__fpclass_use=yes
46274 else
46275   glibcxx_cv_func__fpclass_use=no
46276 fi
46277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46278       ac_ext=c
46279 ac_cpp='$CPP $CPPFLAGS'
46280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46283
46284
46285 fi
46286
46287   fi
46288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46289 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46290
46291     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46292       for ac_func in _fpclass
46293 do :
46294   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46295 if test "x$ac_cv_func__fpclass" = x""yes; then :
46296   cat >>confdefs.h <<_ACEOF
46297 #define HAVE__FPCLASS 1
46298 _ACEOF
46299
46300 fi
46301 done
46302
46303     fi
46304   fi
46305
46306
46307
46308
46309
46310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46311 $as_echo_n "checking for qfpclass declaration... " >&6; }
46312   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46313     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46314   $as_echo_n "(cached) " >&6
46315 else
46316
46317
46318       ac_ext=cpp
46319 ac_cpp='$CXXCPP $CPPFLAGS'
46320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46323
46324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46325 /* end confdefs.h.  */
46326 #include <math.h>
46327                       #ifdef HAVE_IEEEFP_H
46328                       #include <ieeefp.h>
46329                       #endif
46330
46331 int
46332 main ()
46333 {
46334  qfpclass(0);
46335   ;
46336   return 0;
46337 }
46338 _ACEOF
46339 if ac_fn_cxx_try_compile "$LINENO"; then :
46340   glibcxx_cv_func_qfpclass_use=yes
46341 else
46342   glibcxx_cv_func_qfpclass_use=no
46343 fi
46344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46345       ac_ext=c
46346 ac_cpp='$CPP $CPPFLAGS'
46347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46350
46351
46352 fi
46353
46354   fi
46355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46356 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46357
46358   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46359     for ac_func in qfpclass
46360 do :
46361   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46362 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46363   cat >>confdefs.h <<_ACEOF
46364 #define HAVE_QFPCLASS 1
46365 _ACEOF
46366
46367 fi
46368 done
46369
46370   else
46371
46372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46373 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46374   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46375     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46376   $as_echo_n "(cached) " >&6
46377 else
46378
46379
46380       ac_ext=cpp
46381 ac_cpp='$CXXCPP $CPPFLAGS'
46382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46385
46386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46387 /* end confdefs.h.  */
46388 #include <math.h>
46389                       #ifdef HAVE_IEEEFP_H
46390                       #include <ieeefp.h>
46391                       #endif
46392
46393 int
46394 main ()
46395 {
46396  _qfpclass(0);
46397   ;
46398   return 0;
46399 }
46400 _ACEOF
46401 if ac_fn_cxx_try_compile "$LINENO"; then :
46402   glibcxx_cv_func__qfpclass_use=yes
46403 else
46404   glibcxx_cv_func__qfpclass_use=no
46405 fi
46406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46407       ac_ext=c
46408 ac_cpp='$CPP $CPPFLAGS'
46409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46412
46413
46414 fi
46415
46416   fi
46417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46418 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46419
46420     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46421       for ac_func in _qfpclass
46422 do :
46423   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46424 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46425   cat >>confdefs.h <<_ACEOF
46426 #define HAVE__QFPCLASS 1
46427 _ACEOF
46428
46429 fi
46430 done
46431
46432     fi
46433   fi
46434
46435
46436
46437
46438
46439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46440 $as_echo_n "checking for hypot declaration... " >&6; }
46441   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46442     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46443   $as_echo_n "(cached) " >&6
46444 else
46445
46446
46447       ac_ext=cpp
46448 ac_cpp='$CXXCPP $CPPFLAGS'
46449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46452
46453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46454 /* end confdefs.h.  */
46455 #include <math.h>
46456 int
46457 main ()
46458 {
46459  hypot(0, 0);
46460   ;
46461   return 0;
46462 }
46463 _ACEOF
46464 if ac_fn_cxx_try_compile "$LINENO"; then :
46465   glibcxx_cv_func_hypot_use=yes
46466 else
46467   glibcxx_cv_func_hypot_use=no
46468 fi
46469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46470       ac_ext=c
46471 ac_cpp='$CPP $CPPFLAGS'
46472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46475
46476
46477 fi
46478
46479   fi
46480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46481 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46482
46483   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46484     for ac_func in hypot
46485 do :
46486   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46487 if test "x$ac_cv_func_hypot" = x""yes; then :
46488   cat >>confdefs.h <<_ACEOF
46489 #define HAVE_HYPOT 1
46490 _ACEOF
46491
46492 fi
46493 done
46494
46495   else
46496
46497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46498 $as_echo_n "checking for _hypot declaration... " >&6; }
46499   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46500     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46501   $as_echo_n "(cached) " >&6
46502 else
46503
46504
46505       ac_ext=cpp
46506 ac_cpp='$CXXCPP $CPPFLAGS'
46507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46510
46511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46512 /* end confdefs.h.  */
46513 #include <math.h>
46514 int
46515 main ()
46516 {
46517  _hypot(0, 0);
46518   ;
46519   return 0;
46520 }
46521 _ACEOF
46522 if ac_fn_cxx_try_compile "$LINENO"; then :
46523   glibcxx_cv_func__hypot_use=yes
46524 else
46525   glibcxx_cv_func__hypot_use=no
46526 fi
46527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46528       ac_ext=c
46529 ac_cpp='$CPP $CPPFLAGS'
46530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46533
46534
46535 fi
46536
46537   fi
46538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46539 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46540
46541     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46542       for ac_func in _hypot
46543 do :
46544   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46545 if test "x$ac_cv_func__hypot" = x""yes; then :
46546   cat >>confdefs.h <<_ACEOF
46547 #define HAVE__HYPOT 1
46548 _ACEOF
46549
46550 fi
46551 done
46552
46553     fi
46554   fi
46555
46556
46557
46558
46559
46560     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46561 $as_echo_n "checking for float trig functions... " >&6; }
46562   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46563   $as_echo_n "(cached) " >&6
46564 else
46565
46566
46567     ac_ext=cpp
46568 ac_cpp='$CXXCPP $CPPFLAGS'
46569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46572
46573     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46574 /* end confdefs.h.  */
46575 #include <math.h>
46576 int
46577 main ()
46578 {
46579 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46580   ;
46581   return 0;
46582 }
46583 _ACEOF
46584 if ac_fn_cxx_try_compile "$LINENO"; then :
46585   glibcxx_cv_func_float_trig_use=yes
46586 else
46587   glibcxx_cv_func_float_trig_use=no
46588 fi
46589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46590     ac_ext=c
46591 ac_cpp='$CPP $CPPFLAGS'
46592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46595
46596 fi
46597
46598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46599 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46600   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46601     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46602 do :
46603   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46605 eval as_val=\$$as_ac_var
46606    if test "x$as_val" = x""yes; then :
46607   cat >>confdefs.h <<_ACEOF
46608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46609 _ACEOF
46610
46611 fi
46612 done
46613
46614   else
46615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46616 $as_echo_n "checking for _float trig functions... " >&6; }
46617     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46618   $as_echo_n "(cached) " >&6
46619 else
46620
46621
46622       ac_ext=cpp
46623 ac_cpp='$CXXCPP $CPPFLAGS'
46624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46627
46628       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46629 /* end confdefs.h.  */
46630 #include <math.h>
46631 int
46632 main ()
46633 {
46634 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46635   ;
46636   return 0;
46637 }
46638 _ACEOF
46639 if ac_fn_cxx_try_compile "$LINENO"; then :
46640   glibcxx_cv_func__float_trig_use=yes
46641 else
46642   glibcxx_cv_func__float_trig_use=no
46643 fi
46644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46645       ac_ext=c
46646 ac_cpp='$CPP $CPPFLAGS'
46647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46650
46651 fi
46652
46653     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46654 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46655     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46656       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46657 do :
46658   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46659 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46660 eval as_val=\$$as_ac_var
46661    if test "x$as_val" = x""yes; then :
46662   cat >>confdefs.h <<_ACEOF
46663 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46664 _ACEOF
46665
46666 fi
46667 done
46668
46669     fi
46670   fi
46671
46672
46673
46674
46675
46676     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46677 $as_echo_n "checking for float round functions... " >&6; }
46678   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46679   $as_echo_n "(cached) " >&6
46680 else
46681
46682
46683     ac_ext=cpp
46684 ac_cpp='$CXXCPP $CPPFLAGS'
46685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46688
46689     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46690 /* end confdefs.h.  */
46691 #include <math.h>
46692 int
46693 main ()
46694 {
46695 ceilf (0); floorf (0);
46696   ;
46697   return 0;
46698 }
46699 _ACEOF
46700 if ac_fn_cxx_try_compile "$LINENO"; then :
46701   glibcxx_cv_func_float_round_use=yes
46702 else
46703   glibcxx_cv_func_float_round_use=no
46704 fi
46705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46706     ac_ext=c
46707 ac_cpp='$CPP $CPPFLAGS'
46708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46711
46712 fi
46713
46714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46715 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46716   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46717     for ac_func in ceilf floorf
46718 do :
46719   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46721 eval as_val=\$$as_ac_var
46722    if test "x$as_val" = x""yes; then :
46723   cat >>confdefs.h <<_ACEOF
46724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46725 _ACEOF
46726
46727 fi
46728 done
46729
46730   else
46731     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46732 $as_echo_n "checking for _float round functions... " >&6; }
46733     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46734   $as_echo_n "(cached) " >&6
46735 else
46736
46737
46738       ac_ext=cpp
46739 ac_cpp='$CXXCPP $CPPFLAGS'
46740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46743
46744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46745 /* end confdefs.h.  */
46746 #include <math.h>
46747 int
46748 main ()
46749 {
46750 _ceilf (0); _floorf (0);
46751   ;
46752   return 0;
46753 }
46754 _ACEOF
46755 if ac_fn_cxx_try_compile "$LINENO"; then :
46756   glibcxx_cv_func__float_round_use=yes
46757 else
46758   glibcxx_cv_func__float_round_use=no
46759 fi
46760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46761       ac_ext=c
46762 ac_cpp='$CPP $CPPFLAGS'
46763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46766
46767 fi
46768
46769     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46770 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46771     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46772       for ac_func in _ceilf _floorf
46773 do :
46774   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46776 eval as_val=\$$as_ac_var
46777    if test "x$as_val" = x""yes; then :
46778   cat >>confdefs.h <<_ACEOF
46779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46780 _ACEOF
46781
46782 fi
46783 done
46784
46785     fi
46786   fi
46787
46788
46789
46790
46791
46792
46793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46794 $as_echo_n "checking for expf declaration... " >&6; }
46795   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46796     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46797   $as_echo_n "(cached) " >&6
46798 else
46799
46800
46801       ac_ext=cpp
46802 ac_cpp='$CXXCPP $CPPFLAGS'
46803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46806
46807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46808 /* end confdefs.h.  */
46809 #include <math.h>
46810                       #ifdef HAVE_IEEEFP_H
46811                       #include <ieeefp.h>
46812                       #endif
46813
46814 int
46815 main ()
46816 {
46817  expf(0);
46818   ;
46819   return 0;
46820 }
46821 _ACEOF
46822 if ac_fn_cxx_try_compile "$LINENO"; then :
46823   glibcxx_cv_func_expf_use=yes
46824 else
46825   glibcxx_cv_func_expf_use=no
46826 fi
46827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46828       ac_ext=c
46829 ac_cpp='$CPP $CPPFLAGS'
46830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46833
46834
46835 fi
46836
46837   fi
46838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46839 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46840
46841   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46842     for ac_func in expf
46843 do :
46844   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46845 if test "x$ac_cv_func_expf" = x""yes; then :
46846   cat >>confdefs.h <<_ACEOF
46847 #define HAVE_EXPF 1
46848 _ACEOF
46849
46850 fi
46851 done
46852
46853   else
46854
46855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46856 $as_echo_n "checking for _expf declaration... " >&6; }
46857   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46858     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46859   $as_echo_n "(cached) " >&6
46860 else
46861
46862
46863       ac_ext=cpp
46864 ac_cpp='$CXXCPP $CPPFLAGS'
46865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46868
46869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46870 /* end confdefs.h.  */
46871 #include <math.h>
46872                       #ifdef HAVE_IEEEFP_H
46873                       #include <ieeefp.h>
46874                       #endif
46875
46876 int
46877 main ()
46878 {
46879  _expf(0);
46880   ;
46881   return 0;
46882 }
46883 _ACEOF
46884 if ac_fn_cxx_try_compile "$LINENO"; then :
46885   glibcxx_cv_func__expf_use=yes
46886 else
46887   glibcxx_cv_func__expf_use=no
46888 fi
46889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46890       ac_ext=c
46891 ac_cpp='$CPP $CPPFLAGS'
46892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46895
46896
46897 fi
46898
46899   fi
46900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46901 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46902
46903     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46904       for ac_func in _expf
46905 do :
46906   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46907 if test "x$ac_cv_func__expf" = x""yes; then :
46908   cat >>confdefs.h <<_ACEOF
46909 #define HAVE__EXPF 1
46910 _ACEOF
46911
46912 fi
46913 done
46914
46915     fi
46916   fi
46917
46918
46919
46920
46921
46922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46923 $as_echo_n "checking for isnanf declaration... " >&6; }
46924   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46925     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46926   $as_echo_n "(cached) " >&6
46927 else
46928
46929
46930       ac_ext=cpp
46931 ac_cpp='$CXXCPP $CPPFLAGS'
46932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46935
46936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46937 /* end confdefs.h.  */
46938 #include <math.h>
46939                       #ifdef HAVE_IEEEFP_H
46940                       #include <ieeefp.h>
46941                       #endif
46942
46943 int
46944 main ()
46945 {
46946  isnanf(0);
46947   ;
46948   return 0;
46949 }
46950 _ACEOF
46951 if ac_fn_cxx_try_compile "$LINENO"; then :
46952   glibcxx_cv_func_isnanf_use=yes
46953 else
46954   glibcxx_cv_func_isnanf_use=no
46955 fi
46956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46957       ac_ext=c
46958 ac_cpp='$CPP $CPPFLAGS'
46959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46962
46963
46964 fi
46965
46966   fi
46967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46968 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46969
46970   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46971     for ac_func in isnanf
46972 do :
46973   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46974 if test "x$ac_cv_func_isnanf" = x""yes; then :
46975   cat >>confdefs.h <<_ACEOF
46976 #define HAVE_ISNANF 1
46977 _ACEOF
46978
46979 fi
46980 done
46981
46982   else
46983
46984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46985 $as_echo_n "checking for _isnanf declaration... " >&6; }
46986   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46987     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46988   $as_echo_n "(cached) " >&6
46989 else
46990
46991
46992       ac_ext=cpp
46993 ac_cpp='$CXXCPP $CPPFLAGS'
46994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46997
46998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46999 /* end confdefs.h.  */
47000 #include <math.h>
47001                       #ifdef HAVE_IEEEFP_H
47002                       #include <ieeefp.h>
47003                       #endif
47004
47005 int
47006 main ()
47007 {
47008  _isnanf(0);
47009   ;
47010   return 0;
47011 }
47012 _ACEOF
47013 if ac_fn_cxx_try_compile "$LINENO"; then :
47014   glibcxx_cv_func__isnanf_use=yes
47015 else
47016   glibcxx_cv_func__isnanf_use=no
47017 fi
47018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47019       ac_ext=c
47020 ac_cpp='$CPP $CPPFLAGS'
47021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47024
47025
47026 fi
47027
47028   fi
47029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47030 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47031
47032     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47033       for ac_func in _isnanf
47034 do :
47035   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47036 if test "x$ac_cv_func__isnanf" = x""yes; then :
47037   cat >>confdefs.h <<_ACEOF
47038 #define HAVE__ISNANF 1
47039 _ACEOF
47040
47041 fi
47042 done
47043
47044     fi
47045   fi
47046
47047
47048
47049
47050
47051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47052 $as_echo_n "checking for isinff declaration... " >&6; }
47053   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47054     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47055   $as_echo_n "(cached) " >&6
47056 else
47057
47058
47059       ac_ext=cpp
47060 ac_cpp='$CXXCPP $CPPFLAGS'
47061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47064
47065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47066 /* end confdefs.h.  */
47067 #include <math.h>
47068                       #ifdef HAVE_IEEEFP_H
47069                       #include <ieeefp.h>
47070                       #endif
47071
47072 int
47073 main ()
47074 {
47075  isinff(0);
47076   ;
47077   return 0;
47078 }
47079 _ACEOF
47080 if ac_fn_cxx_try_compile "$LINENO"; then :
47081   glibcxx_cv_func_isinff_use=yes
47082 else
47083   glibcxx_cv_func_isinff_use=no
47084 fi
47085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47086       ac_ext=c
47087 ac_cpp='$CPP $CPPFLAGS'
47088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47091
47092
47093 fi
47094
47095   fi
47096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47097 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47098
47099   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47100     for ac_func in isinff
47101 do :
47102   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47103 if test "x$ac_cv_func_isinff" = x""yes; then :
47104   cat >>confdefs.h <<_ACEOF
47105 #define HAVE_ISINFF 1
47106 _ACEOF
47107
47108 fi
47109 done
47110
47111   else
47112
47113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47114 $as_echo_n "checking for _isinff declaration... " >&6; }
47115   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47116     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47117   $as_echo_n "(cached) " >&6
47118 else
47119
47120
47121       ac_ext=cpp
47122 ac_cpp='$CXXCPP $CPPFLAGS'
47123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47126
47127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47128 /* end confdefs.h.  */
47129 #include <math.h>
47130                       #ifdef HAVE_IEEEFP_H
47131                       #include <ieeefp.h>
47132                       #endif
47133
47134 int
47135 main ()
47136 {
47137  _isinff(0);
47138   ;
47139   return 0;
47140 }
47141 _ACEOF
47142 if ac_fn_cxx_try_compile "$LINENO"; then :
47143   glibcxx_cv_func__isinff_use=yes
47144 else
47145   glibcxx_cv_func__isinff_use=no
47146 fi
47147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47148       ac_ext=c
47149 ac_cpp='$CPP $CPPFLAGS'
47150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47153
47154
47155 fi
47156
47157   fi
47158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47159 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47160
47161     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47162       for ac_func in _isinff
47163 do :
47164   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47165 if test "x$ac_cv_func__isinff" = x""yes; then :
47166   cat >>confdefs.h <<_ACEOF
47167 #define HAVE__ISINFF 1
47168 _ACEOF
47169
47170 fi
47171 done
47172
47173     fi
47174   fi
47175
47176
47177
47178
47179
47180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47181 $as_echo_n "checking for atan2f declaration... " >&6; }
47182   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47183     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47184   $as_echo_n "(cached) " >&6
47185 else
47186
47187
47188       ac_ext=cpp
47189 ac_cpp='$CXXCPP $CPPFLAGS'
47190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47193
47194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47195 /* end confdefs.h.  */
47196 #include <math.h>
47197 int
47198 main ()
47199 {
47200  atan2f(0, 0);
47201   ;
47202   return 0;
47203 }
47204 _ACEOF
47205 if ac_fn_cxx_try_compile "$LINENO"; then :
47206   glibcxx_cv_func_atan2f_use=yes
47207 else
47208   glibcxx_cv_func_atan2f_use=no
47209 fi
47210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47211       ac_ext=c
47212 ac_cpp='$CPP $CPPFLAGS'
47213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47216
47217
47218 fi
47219
47220   fi
47221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47222 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47223
47224   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47225     for ac_func in atan2f
47226 do :
47227   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47228 if test "x$ac_cv_func_atan2f" = x""yes; then :
47229   cat >>confdefs.h <<_ACEOF
47230 #define HAVE_ATAN2F 1
47231 _ACEOF
47232
47233 fi
47234 done
47235
47236   else
47237
47238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47239 $as_echo_n "checking for _atan2f declaration... " >&6; }
47240   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47241     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47242   $as_echo_n "(cached) " >&6
47243 else
47244
47245
47246       ac_ext=cpp
47247 ac_cpp='$CXXCPP $CPPFLAGS'
47248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47251
47252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47253 /* end confdefs.h.  */
47254 #include <math.h>
47255 int
47256 main ()
47257 {
47258  _atan2f(0, 0);
47259   ;
47260   return 0;
47261 }
47262 _ACEOF
47263 if ac_fn_cxx_try_compile "$LINENO"; then :
47264   glibcxx_cv_func__atan2f_use=yes
47265 else
47266   glibcxx_cv_func__atan2f_use=no
47267 fi
47268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47269       ac_ext=c
47270 ac_cpp='$CPP $CPPFLAGS'
47271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47274
47275
47276 fi
47277
47278   fi
47279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47280 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47281
47282     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47283       for ac_func in _atan2f
47284 do :
47285   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47286 if test "x$ac_cv_func__atan2f" = x""yes; then :
47287   cat >>confdefs.h <<_ACEOF
47288 #define HAVE__ATAN2F 1
47289 _ACEOF
47290
47291 fi
47292 done
47293
47294     fi
47295   fi
47296
47297
47298
47299
47300
47301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47302 $as_echo_n "checking for fabsf declaration... " >&6; }
47303   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47304     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47305   $as_echo_n "(cached) " >&6
47306 else
47307
47308
47309       ac_ext=cpp
47310 ac_cpp='$CXXCPP $CPPFLAGS'
47311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47314
47315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47316 /* end confdefs.h.  */
47317 #include <math.h>
47318                       #ifdef HAVE_IEEEFP_H
47319                       #include <ieeefp.h>
47320                       #endif
47321
47322 int
47323 main ()
47324 {
47325  fabsf(0);
47326   ;
47327   return 0;
47328 }
47329 _ACEOF
47330 if ac_fn_cxx_try_compile "$LINENO"; then :
47331   glibcxx_cv_func_fabsf_use=yes
47332 else
47333   glibcxx_cv_func_fabsf_use=no
47334 fi
47335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47336       ac_ext=c
47337 ac_cpp='$CPP $CPPFLAGS'
47338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47341
47342
47343 fi
47344
47345   fi
47346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47347 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47348
47349   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47350     for ac_func in fabsf
47351 do :
47352   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47353 if test "x$ac_cv_func_fabsf" = x""yes; then :
47354   cat >>confdefs.h <<_ACEOF
47355 #define HAVE_FABSF 1
47356 _ACEOF
47357
47358 fi
47359 done
47360
47361   else
47362
47363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47364 $as_echo_n "checking for _fabsf declaration... " >&6; }
47365   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47366     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47367   $as_echo_n "(cached) " >&6
47368 else
47369
47370
47371       ac_ext=cpp
47372 ac_cpp='$CXXCPP $CPPFLAGS'
47373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47376
47377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47378 /* end confdefs.h.  */
47379 #include <math.h>
47380                       #ifdef HAVE_IEEEFP_H
47381                       #include <ieeefp.h>
47382                       #endif
47383
47384 int
47385 main ()
47386 {
47387  _fabsf(0);
47388   ;
47389   return 0;
47390 }
47391 _ACEOF
47392 if ac_fn_cxx_try_compile "$LINENO"; then :
47393   glibcxx_cv_func__fabsf_use=yes
47394 else
47395   glibcxx_cv_func__fabsf_use=no
47396 fi
47397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47398       ac_ext=c
47399 ac_cpp='$CPP $CPPFLAGS'
47400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47403
47404
47405 fi
47406
47407   fi
47408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47409 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47410
47411     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47412       for ac_func in _fabsf
47413 do :
47414   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47415 if test "x$ac_cv_func__fabsf" = x""yes; then :
47416   cat >>confdefs.h <<_ACEOF
47417 #define HAVE__FABSF 1
47418 _ACEOF
47419
47420 fi
47421 done
47422
47423     fi
47424   fi
47425
47426
47427
47428
47429
47430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47431 $as_echo_n "checking for fmodf declaration... " >&6; }
47432   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47433     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47434   $as_echo_n "(cached) " >&6
47435 else
47436
47437
47438       ac_ext=cpp
47439 ac_cpp='$CXXCPP $CPPFLAGS'
47440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47443
47444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47445 /* end confdefs.h.  */
47446 #include <math.h>
47447 int
47448 main ()
47449 {
47450  fmodf(0, 0);
47451   ;
47452   return 0;
47453 }
47454 _ACEOF
47455 if ac_fn_cxx_try_compile "$LINENO"; then :
47456   glibcxx_cv_func_fmodf_use=yes
47457 else
47458   glibcxx_cv_func_fmodf_use=no
47459 fi
47460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47461       ac_ext=c
47462 ac_cpp='$CPP $CPPFLAGS'
47463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47466
47467
47468 fi
47469
47470   fi
47471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47472 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47473
47474   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47475     for ac_func in fmodf
47476 do :
47477   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47478 if test "x$ac_cv_func_fmodf" = x""yes; then :
47479   cat >>confdefs.h <<_ACEOF
47480 #define HAVE_FMODF 1
47481 _ACEOF
47482
47483 fi
47484 done
47485
47486   else
47487
47488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47489 $as_echo_n "checking for _fmodf declaration... " >&6; }
47490   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47491     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47492   $as_echo_n "(cached) " >&6
47493 else
47494
47495
47496       ac_ext=cpp
47497 ac_cpp='$CXXCPP $CPPFLAGS'
47498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47501
47502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47503 /* end confdefs.h.  */
47504 #include <math.h>
47505 int
47506 main ()
47507 {
47508  _fmodf(0, 0);
47509   ;
47510   return 0;
47511 }
47512 _ACEOF
47513 if ac_fn_cxx_try_compile "$LINENO"; then :
47514   glibcxx_cv_func__fmodf_use=yes
47515 else
47516   glibcxx_cv_func__fmodf_use=no
47517 fi
47518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47519       ac_ext=c
47520 ac_cpp='$CPP $CPPFLAGS'
47521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47524
47525
47526 fi
47527
47528   fi
47529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47530 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47531
47532     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47533       for ac_func in _fmodf
47534 do :
47535   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47536 if test "x$ac_cv_func__fmodf" = x""yes; then :
47537   cat >>confdefs.h <<_ACEOF
47538 #define HAVE__FMODF 1
47539 _ACEOF
47540
47541 fi
47542 done
47543
47544     fi
47545   fi
47546
47547
47548
47549
47550
47551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47552 $as_echo_n "checking for frexpf declaration... " >&6; }
47553   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47554     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47555   $as_echo_n "(cached) " >&6
47556 else
47557
47558
47559       ac_ext=cpp
47560 ac_cpp='$CXXCPP $CPPFLAGS'
47561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47564
47565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47566 /* end confdefs.h.  */
47567 #include <math.h>
47568 int
47569 main ()
47570 {
47571  frexpf(0, 0);
47572   ;
47573   return 0;
47574 }
47575 _ACEOF
47576 if ac_fn_cxx_try_compile "$LINENO"; then :
47577   glibcxx_cv_func_frexpf_use=yes
47578 else
47579   glibcxx_cv_func_frexpf_use=no
47580 fi
47581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47582       ac_ext=c
47583 ac_cpp='$CPP $CPPFLAGS'
47584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47587
47588
47589 fi
47590
47591   fi
47592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47593 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47594
47595   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47596     for ac_func in frexpf
47597 do :
47598   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47599 if test "x$ac_cv_func_frexpf" = x""yes; then :
47600   cat >>confdefs.h <<_ACEOF
47601 #define HAVE_FREXPF 1
47602 _ACEOF
47603
47604 fi
47605 done
47606
47607   else
47608
47609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47610 $as_echo_n "checking for _frexpf declaration... " >&6; }
47611   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47612     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47613   $as_echo_n "(cached) " >&6
47614 else
47615
47616
47617       ac_ext=cpp
47618 ac_cpp='$CXXCPP $CPPFLAGS'
47619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47622
47623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47624 /* end confdefs.h.  */
47625 #include <math.h>
47626 int
47627 main ()
47628 {
47629  _frexpf(0, 0);
47630   ;
47631   return 0;
47632 }
47633 _ACEOF
47634 if ac_fn_cxx_try_compile "$LINENO"; then :
47635   glibcxx_cv_func__frexpf_use=yes
47636 else
47637   glibcxx_cv_func__frexpf_use=no
47638 fi
47639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47640       ac_ext=c
47641 ac_cpp='$CPP $CPPFLAGS'
47642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47645
47646
47647 fi
47648
47649   fi
47650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47651 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47652
47653     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47654       for ac_func in _frexpf
47655 do :
47656   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47657 if test "x$ac_cv_func__frexpf" = x""yes; then :
47658   cat >>confdefs.h <<_ACEOF
47659 #define HAVE__FREXPF 1
47660 _ACEOF
47661
47662 fi
47663 done
47664
47665     fi
47666   fi
47667
47668
47669
47670
47671
47672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47673 $as_echo_n "checking for hypotf declaration... " >&6; }
47674   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47675     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47676   $as_echo_n "(cached) " >&6
47677 else
47678
47679
47680       ac_ext=cpp
47681 ac_cpp='$CXXCPP $CPPFLAGS'
47682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47685
47686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47687 /* end confdefs.h.  */
47688 #include <math.h>
47689 int
47690 main ()
47691 {
47692  hypotf(0, 0);
47693   ;
47694   return 0;
47695 }
47696 _ACEOF
47697 if ac_fn_cxx_try_compile "$LINENO"; then :
47698   glibcxx_cv_func_hypotf_use=yes
47699 else
47700   glibcxx_cv_func_hypotf_use=no
47701 fi
47702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47703       ac_ext=c
47704 ac_cpp='$CPP $CPPFLAGS'
47705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47708
47709
47710 fi
47711
47712   fi
47713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47714 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47715
47716   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47717     for ac_func in hypotf
47718 do :
47719   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47720 if test "x$ac_cv_func_hypotf" = x""yes; then :
47721   cat >>confdefs.h <<_ACEOF
47722 #define HAVE_HYPOTF 1
47723 _ACEOF
47724
47725 fi
47726 done
47727
47728   else
47729
47730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47731 $as_echo_n "checking for _hypotf declaration... " >&6; }
47732   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47733     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47734   $as_echo_n "(cached) " >&6
47735 else
47736
47737
47738       ac_ext=cpp
47739 ac_cpp='$CXXCPP $CPPFLAGS'
47740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47743
47744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47745 /* end confdefs.h.  */
47746 #include <math.h>
47747 int
47748 main ()
47749 {
47750  _hypotf(0, 0);
47751   ;
47752   return 0;
47753 }
47754 _ACEOF
47755 if ac_fn_cxx_try_compile "$LINENO"; then :
47756   glibcxx_cv_func__hypotf_use=yes
47757 else
47758   glibcxx_cv_func__hypotf_use=no
47759 fi
47760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47761       ac_ext=c
47762 ac_cpp='$CPP $CPPFLAGS'
47763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47766
47767
47768 fi
47769
47770   fi
47771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47772 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47773
47774     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47775       for ac_func in _hypotf
47776 do :
47777   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47778 if test "x$ac_cv_func__hypotf" = x""yes; then :
47779   cat >>confdefs.h <<_ACEOF
47780 #define HAVE__HYPOTF 1
47781 _ACEOF
47782
47783 fi
47784 done
47785
47786     fi
47787   fi
47788
47789
47790
47791
47792
47793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47794 $as_echo_n "checking for ldexpf declaration... " >&6; }
47795   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47796     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47797   $as_echo_n "(cached) " >&6
47798 else
47799
47800
47801       ac_ext=cpp
47802 ac_cpp='$CXXCPP $CPPFLAGS'
47803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47806
47807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47808 /* end confdefs.h.  */
47809 #include <math.h>
47810 int
47811 main ()
47812 {
47813  ldexpf(0, 0);
47814   ;
47815   return 0;
47816 }
47817 _ACEOF
47818 if ac_fn_cxx_try_compile "$LINENO"; then :
47819   glibcxx_cv_func_ldexpf_use=yes
47820 else
47821   glibcxx_cv_func_ldexpf_use=no
47822 fi
47823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47824       ac_ext=c
47825 ac_cpp='$CPP $CPPFLAGS'
47826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47829
47830
47831 fi
47832
47833   fi
47834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47835 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47836
47837   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47838     for ac_func in ldexpf
47839 do :
47840   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47841 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47842   cat >>confdefs.h <<_ACEOF
47843 #define HAVE_LDEXPF 1
47844 _ACEOF
47845
47846 fi
47847 done
47848
47849   else
47850
47851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47852 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47853   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47854     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47855   $as_echo_n "(cached) " >&6
47856 else
47857
47858
47859       ac_ext=cpp
47860 ac_cpp='$CXXCPP $CPPFLAGS'
47861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47864
47865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47866 /* end confdefs.h.  */
47867 #include <math.h>
47868 int
47869 main ()
47870 {
47871  _ldexpf(0, 0);
47872   ;
47873   return 0;
47874 }
47875 _ACEOF
47876 if ac_fn_cxx_try_compile "$LINENO"; then :
47877   glibcxx_cv_func__ldexpf_use=yes
47878 else
47879   glibcxx_cv_func__ldexpf_use=no
47880 fi
47881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47882       ac_ext=c
47883 ac_cpp='$CPP $CPPFLAGS'
47884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47887
47888
47889 fi
47890
47891   fi
47892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47893 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47894
47895     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47896       for ac_func in _ldexpf
47897 do :
47898   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47899 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47900   cat >>confdefs.h <<_ACEOF
47901 #define HAVE__LDEXPF 1
47902 _ACEOF
47903
47904 fi
47905 done
47906
47907     fi
47908   fi
47909
47910
47911
47912
47913
47914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47915 $as_echo_n "checking for logf declaration... " >&6; }
47916   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47917     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47918   $as_echo_n "(cached) " >&6
47919 else
47920
47921
47922       ac_ext=cpp
47923 ac_cpp='$CXXCPP $CPPFLAGS'
47924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47927
47928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47929 /* end confdefs.h.  */
47930 #include <math.h>
47931                       #ifdef HAVE_IEEEFP_H
47932                       #include <ieeefp.h>
47933                       #endif
47934
47935 int
47936 main ()
47937 {
47938  logf(0);
47939   ;
47940   return 0;
47941 }
47942 _ACEOF
47943 if ac_fn_cxx_try_compile "$LINENO"; then :
47944   glibcxx_cv_func_logf_use=yes
47945 else
47946   glibcxx_cv_func_logf_use=no
47947 fi
47948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47949       ac_ext=c
47950 ac_cpp='$CPP $CPPFLAGS'
47951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47954
47955
47956 fi
47957
47958   fi
47959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47960 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47961
47962   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47963     for ac_func in logf
47964 do :
47965   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47966 if test "x$ac_cv_func_logf" = x""yes; then :
47967   cat >>confdefs.h <<_ACEOF
47968 #define HAVE_LOGF 1
47969 _ACEOF
47970
47971 fi
47972 done
47973
47974   else
47975
47976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47977 $as_echo_n "checking for _logf declaration... " >&6; }
47978   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47979     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47980   $as_echo_n "(cached) " >&6
47981 else
47982
47983
47984       ac_ext=cpp
47985 ac_cpp='$CXXCPP $CPPFLAGS'
47986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47989
47990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47991 /* end confdefs.h.  */
47992 #include <math.h>
47993                       #ifdef HAVE_IEEEFP_H
47994                       #include <ieeefp.h>
47995                       #endif
47996
47997 int
47998 main ()
47999 {
48000  _logf(0);
48001   ;
48002   return 0;
48003 }
48004 _ACEOF
48005 if ac_fn_cxx_try_compile "$LINENO"; then :
48006   glibcxx_cv_func__logf_use=yes
48007 else
48008   glibcxx_cv_func__logf_use=no
48009 fi
48010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48011       ac_ext=c
48012 ac_cpp='$CPP $CPPFLAGS'
48013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48016
48017
48018 fi
48019
48020   fi
48021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48022 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48023
48024     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48025       for ac_func in _logf
48026 do :
48027   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48028 if test "x$ac_cv_func__logf" = x""yes; then :
48029   cat >>confdefs.h <<_ACEOF
48030 #define HAVE__LOGF 1
48031 _ACEOF
48032
48033 fi
48034 done
48035
48036     fi
48037   fi
48038
48039
48040
48041
48042
48043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48044 $as_echo_n "checking for log10f declaration... " >&6; }
48045   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48046     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48047   $as_echo_n "(cached) " >&6
48048 else
48049
48050
48051       ac_ext=cpp
48052 ac_cpp='$CXXCPP $CPPFLAGS'
48053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48056
48057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48058 /* end confdefs.h.  */
48059 #include <math.h>
48060                       #ifdef HAVE_IEEEFP_H
48061                       #include <ieeefp.h>
48062                       #endif
48063
48064 int
48065 main ()
48066 {
48067  log10f(0);
48068   ;
48069   return 0;
48070 }
48071 _ACEOF
48072 if ac_fn_cxx_try_compile "$LINENO"; then :
48073   glibcxx_cv_func_log10f_use=yes
48074 else
48075   glibcxx_cv_func_log10f_use=no
48076 fi
48077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48078       ac_ext=c
48079 ac_cpp='$CPP $CPPFLAGS'
48080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48083
48084
48085 fi
48086
48087   fi
48088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48089 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48090
48091   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48092     for ac_func in log10f
48093 do :
48094   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48095 if test "x$ac_cv_func_log10f" = x""yes; then :
48096   cat >>confdefs.h <<_ACEOF
48097 #define HAVE_LOG10F 1
48098 _ACEOF
48099
48100 fi
48101 done
48102
48103   else
48104
48105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48106 $as_echo_n "checking for _log10f declaration... " >&6; }
48107   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48108     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48109   $as_echo_n "(cached) " >&6
48110 else
48111
48112
48113       ac_ext=cpp
48114 ac_cpp='$CXXCPP $CPPFLAGS'
48115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48118
48119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48120 /* end confdefs.h.  */
48121 #include <math.h>
48122                       #ifdef HAVE_IEEEFP_H
48123                       #include <ieeefp.h>
48124                       #endif
48125
48126 int
48127 main ()
48128 {
48129  _log10f(0);
48130   ;
48131   return 0;
48132 }
48133 _ACEOF
48134 if ac_fn_cxx_try_compile "$LINENO"; then :
48135   glibcxx_cv_func__log10f_use=yes
48136 else
48137   glibcxx_cv_func__log10f_use=no
48138 fi
48139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48140       ac_ext=c
48141 ac_cpp='$CPP $CPPFLAGS'
48142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48145
48146
48147 fi
48148
48149   fi
48150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48151 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48152
48153     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48154       for ac_func in _log10f
48155 do :
48156   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48157 if test "x$ac_cv_func__log10f" = x""yes; then :
48158   cat >>confdefs.h <<_ACEOF
48159 #define HAVE__LOG10F 1
48160 _ACEOF
48161
48162 fi
48163 done
48164
48165     fi
48166   fi
48167
48168
48169
48170
48171
48172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48173 $as_echo_n "checking for modff declaration... " >&6; }
48174   if test x${glibcxx_cv_func_modff_use+set} != xset; then
48175     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48176   $as_echo_n "(cached) " >&6
48177 else
48178
48179
48180       ac_ext=cpp
48181 ac_cpp='$CXXCPP $CPPFLAGS'
48182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48185
48186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48187 /* end confdefs.h.  */
48188 #include <math.h>
48189 int
48190 main ()
48191 {
48192  modff(0, 0);
48193   ;
48194   return 0;
48195 }
48196 _ACEOF
48197 if ac_fn_cxx_try_compile "$LINENO"; then :
48198   glibcxx_cv_func_modff_use=yes
48199 else
48200   glibcxx_cv_func_modff_use=no
48201 fi
48202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48203       ac_ext=c
48204 ac_cpp='$CPP $CPPFLAGS'
48205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48208
48209
48210 fi
48211
48212   fi
48213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48214 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48215
48216   if test x$glibcxx_cv_func_modff_use = x"yes"; then
48217     for ac_func in modff
48218 do :
48219   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48220 if test "x$ac_cv_func_modff" = x""yes; then :
48221   cat >>confdefs.h <<_ACEOF
48222 #define HAVE_MODFF 1
48223 _ACEOF
48224
48225 fi
48226 done
48227
48228   else
48229
48230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48231 $as_echo_n "checking for _modff declaration... " >&6; }
48232   if test x${glibcxx_cv_func__modff_use+set} != xset; then
48233     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48234   $as_echo_n "(cached) " >&6
48235 else
48236
48237
48238       ac_ext=cpp
48239 ac_cpp='$CXXCPP $CPPFLAGS'
48240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48243
48244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48245 /* end confdefs.h.  */
48246 #include <math.h>
48247 int
48248 main ()
48249 {
48250  _modff(0, 0);
48251   ;
48252   return 0;
48253 }
48254 _ACEOF
48255 if ac_fn_cxx_try_compile "$LINENO"; then :
48256   glibcxx_cv_func__modff_use=yes
48257 else
48258   glibcxx_cv_func__modff_use=no
48259 fi
48260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48261       ac_ext=c
48262 ac_cpp='$CPP $CPPFLAGS'
48263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48266
48267
48268 fi
48269
48270   fi
48271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48272 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48273
48274     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48275       for ac_func in _modff
48276 do :
48277   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48278 if test "x$ac_cv_func__modff" = x""yes; then :
48279   cat >>confdefs.h <<_ACEOF
48280 #define HAVE__MODFF 1
48281 _ACEOF
48282
48283 fi
48284 done
48285
48286     fi
48287   fi
48288
48289
48290
48291
48292
48293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48294 $as_echo_n "checking for modf declaration... " >&6; }
48295   if test x${glibcxx_cv_func_modf_use+set} != xset; then
48296     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48297   $as_echo_n "(cached) " >&6
48298 else
48299
48300
48301       ac_ext=cpp
48302 ac_cpp='$CXXCPP $CPPFLAGS'
48303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48306
48307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48308 /* end confdefs.h.  */
48309 #include <math.h>
48310 int
48311 main ()
48312 {
48313  modf(0, 0);
48314   ;
48315   return 0;
48316 }
48317 _ACEOF
48318 if ac_fn_cxx_try_compile "$LINENO"; then :
48319   glibcxx_cv_func_modf_use=yes
48320 else
48321   glibcxx_cv_func_modf_use=no
48322 fi
48323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48324       ac_ext=c
48325 ac_cpp='$CPP $CPPFLAGS'
48326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48329
48330
48331 fi
48332
48333   fi
48334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48335 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48336
48337   if test x$glibcxx_cv_func_modf_use = x"yes"; then
48338     for ac_func in modf
48339 do :
48340   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48341 if test "x$ac_cv_func_modf" = x""yes; then :
48342   cat >>confdefs.h <<_ACEOF
48343 #define HAVE_MODF 1
48344 _ACEOF
48345
48346 fi
48347 done
48348
48349   else
48350
48351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48352 $as_echo_n "checking for _modf declaration... " >&6; }
48353   if test x${glibcxx_cv_func__modf_use+set} != xset; then
48354     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48355   $as_echo_n "(cached) " >&6
48356 else
48357
48358
48359       ac_ext=cpp
48360 ac_cpp='$CXXCPP $CPPFLAGS'
48361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48364
48365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48366 /* end confdefs.h.  */
48367 #include <math.h>
48368 int
48369 main ()
48370 {
48371  _modf(0, 0);
48372   ;
48373   return 0;
48374 }
48375 _ACEOF
48376 if ac_fn_cxx_try_compile "$LINENO"; then :
48377   glibcxx_cv_func__modf_use=yes
48378 else
48379   glibcxx_cv_func__modf_use=no
48380 fi
48381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48382       ac_ext=c
48383 ac_cpp='$CPP $CPPFLAGS'
48384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48387
48388
48389 fi
48390
48391   fi
48392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48393 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48394
48395     if test x$glibcxx_cv_func__modf_use = x"yes"; then
48396       for ac_func in _modf
48397 do :
48398   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48399 if test "x$ac_cv_func__modf" = x""yes; then :
48400   cat >>confdefs.h <<_ACEOF
48401 #define HAVE__MODF 1
48402 _ACEOF
48403
48404 fi
48405 done
48406
48407     fi
48408   fi
48409
48410
48411
48412
48413
48414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48415 $as_echo_n "checking for powf declaration... " >&6; }
48416   if test x${glibcxx_cv_func_powf_use+set} != xset; then
48417     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48418   $as_echo_n "(cached) " >&6
48419 else
48420
48421
48422       ac_ext=cpp
48423 ac_cpp='$CXXCPP $CPPFLAGS'
48424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48427
48428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48429 /* end confdefs.h.  */
48430 #include <math.h>
48431 int
48432 main ()
48433 {
48434  powf(0, 0);
48435   ;
48436   return 0;
48437 }
48438 _ACEOF
48439 if ac_fn_cxx_try_compile "$LINENO"; then :
48440   glibcxx_cv_func_powf_use=yes
48441 else
48442   glibcxx_cv_func_powf_use=no
48443 fi
48444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48445       ac_ext=c
48446 ac_cpp='$CPP $CPPFLAGS'
48447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48450
48451
48452 fi
48453
48454   fi
48455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48456 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48457
48458   if test x$glibcxx_cv_func_powf_use = x"yes"; then
48459     for ac_func in powf
48460 do :
48461   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48462 if test "x$ac_cv_func_powf" = x""yes; then :
48463   cat >>confdefs.h <<_ACEOF
48464 #define HAVE_POWF 1
48465 _ACEOF
48466
48467 fi
48468 done
48469
48470   else
48471
48472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48473 $as_echo_n "checking for _powf declaration... " >&6; }
48474   if test x${glibcxx_cv_func__powf_use+set} != xset; then
48475     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48476   $as_echo_n "(cached) " >&6
48477 else
48478
48479
48480       ac_ext=cpp
48481 ac_cpp='$CXXCPP $CPPFLAGS'
48482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48485
48486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48487 /* end confdefs.h.  */
48488 #include <math.h>
48489 int
48490 main ()
48491 {
48492  _powf(0, 0);
48493   ;
48494   return 0;
48495 }
48496 _ACEOF
48497 if ac_fn_cxx_try_compile "$LINENO"; then :
48498   glibcxx_cv_func__powf_use=yes
48499 else
48500   glibcxx_cv_func__powf_use=no
48501 fi
48502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48503       ac_ext=c
48504 ac_cpp='$CPP $CPPFLAGS'
48505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48508
48509
48510 fi
48511
48512   fi
48513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48514 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48515
48516     if test x$glibcxx_cv_func__powf_use = x"yes"; then
48517       for ac_func in _powf
48518 do :
48519   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48520 if test "x$ac_cv_func__powf" = x""yes; then :
48521   cat >>confdefs.h <<_ACEOF
48522 #define HAVE__POWF 1
48523 _ACEOF
48524
48525 fi
48526 done
48527
48528     fi
48529   fi
48530
48531
48532
48533
48534
48535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48536 $as_echo_n "checking for sqrtf declaration... " >&6; }
48537   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48538     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48539   $as_echo_n "(cached) " >&6
48540 else
48541
48542
48543       ac_ext=cpp
48544 ac_cpp='$CXXCPP $CPPFLAGS'
48545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48548
48549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48550 /* end confdefs.h.  */
48551 #include <math.h>
48552                       #ifdef HAVE_IEEEFP_H
48553                       #include <ieeefp.h>
48554                       #endif
48555
48556 int
48557 main ()
48558 {
48559  sqrtf(0);
48560   ;
48561   return 0;
48562 }
48563 _ACEOF
48564 if ac_fn_cxx_try_compile "$LINENO"; then :
48565   glibcxx_cv_func_sqrtf_use=yes
48566 else
48567   glibcxx_cv_func_sqrtf_use=no
48568 fi
48569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48570       ac_ext=c
48571 ac_cpp='$CPP $CPPFLAGS'
48572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48575
48576
48577 fi
48578
48579   fi
48580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48581 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48582
48583   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48584     for ac_func in sqrtf
48585 do :
48586   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48587 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48588   cat >>confdefs.h <<_ACEOF
48589 #define HAVE_SQRTF 1
48590 _ACEOF
48591
48592 fi
48593 done
48594
48595   else
48596
48597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48598 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48599   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48600     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48601   $as_echo_n "(cached) " >&6
48602 else
48603
48604
48605       ac_ext=cpp
48606 ac_cpp='$CXXCPP $CPPFLAGS'
48607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48610
48611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48612 /* end confdefs.h.  */
48613 #include <math.h>
48614                       #ifdef HAVE_IEEEFP_H
48615                       #include <ieeefp.h>
48616                       #endif
48617
48618 int
48619 main ()
48620 {
48621  _sqrtf(0);
48622   ;
48623   return 0;
48624 }
48625 _ACEOF
48626 if ac_fn_cxx_try_compile "$LINENO"; then :
48627   glibcxx_cv_func__sqrtf_use=yes
48628 else
48629   glibcxx_cv_func__sqrtf_use=no
48630 fi
48631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48632       ac_ext=c
48633 ac_cpp='$CPP $CPPFLAGS'
48634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48637
48638
48639 fi
48640
48641   fi
48642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48643 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48644
48645     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48646       for ac_func in _sqrtf
48647 do :
48648   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48649 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48650   cat >>confdefs.h <<_ACEOF
48651 #define HAVE__SQRTF 1
48652 _ACEOF
48653
48654 fi
48655 done
48656
48657     fi
48658   fi
48659
48660
48661
48662
48663
48664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48665 $as_echo_n "checking for sincosf declaration... " >&6; }
48666   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48667     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48668   $as_echo_n "(cached) " >&6
48669 else
48670
48671
48672       ac_ext=cpp
48673 ac_cpp='$CXXCPP $CPPFLAGS'
48674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48677
48678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48679 /* end confdefs.h.  */
48680 #include <math.h>
48681 int
48682 main ()
48683 {
48684  sincosf(0, 0, 0);
48685   ;
48686   return 0;
48687 }
48688 _ACEOF
48689 if ac_fn_cxx_try_compile "$LINENO"; then :
48690   glibcxx_cv_func_sincosf_use=yes
48691 else
48692   glibcxx_cv_func_sincosf_use=no
48693 fi
48694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48695       ac_ext=c
48696 ac_cpp='$CPP $CPPFLAGS'
48697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48700
48701
48702 fi
48703
48704   fi
48705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48706 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48707
48708   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48709     for ac_func in sincosf
48710 do :
48711   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48712 if test "x$ac_cv_func_sincosf" = x""yes; then :
48713   cat >>confdefs.h <<_ACEOF
48714 #define HAVE_SINCOSF 1
48715 _ACEOF
48716
48717 fi
48718 done
48719
48720   else
48721
48722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48723 $as_echo_n "checking for _sincosf declaration... " >&6; }
48724   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48725     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48726   $as_echo_n "(cached) " >&6
48727 else
48728
48729
48730       ac_ext=cpp
48731 ac_cpp='$CXXCPP $CPPFLAGS'
48732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48735
48736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48737 /* end confdefs.h.  */
48738 #include <math.h>
48739 int
48740 main ()
48741 {
48742  _sincosf(0, 0, 0);
48743   ;
48744   return 0;
48745 }
48746 _ACEOF
48747 if ac_fn_cxx_try_compile "$LINENO"; then :
48748   glibcxx_cv_func__sincosf_use=yes
48749 else
48750   glibcxx_cv_func__sincosf_use=no
48751 fi
48752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48753       ac_ext=c
48754 ac_cpp='$CPP $CPPFLAGS'
48755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48758
48759
48760 fi
48761
48762   fi
48763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48764 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48765
48766     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48767       for ac_func in _sincosf
48768 do :
48769   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48770 if test "x$ac_cv_func__sincosf" = x""yes; then :
48771   cat >>confdefs.h <<_ACEOF
48772 #define HAVE__SINCOSF 1
48773 _ACEOF
48774
48775 fi
48776 done
48777
48778     fi
48779   fi
48780
48781
48782
48783
48784
48785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48786 $as_echo_n "checking for finitef declaration... " >&6; }
48787   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48788     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48789   $as_echo_n "(cached) " >&6
48790 else
48791
48792
48793       ac_ext=cpp
48794 ac_cpp='$CXXCPP $CPPFLAGS'
48795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48798
48799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48800 /* end confdefs.h.  */
48801 #include <math.h>
48802                       #ifdef HAVE_IEEEFP_H
48803                       #include <ieeefp.h>
48804                       #endif
48805
48806 int
48807 main ()
48808 {
48809  finitef(0);
48810   ;
48811   return 0;
48812 }
48813 _ACEOF
48814 if ac_fn_cxx_try_compile "$LINENO"; then :
48815   glibcxx_cv_func_finitef_use=yes
48816 else
48817   glibcxx_cv_func_finitef_use=no
48818 fi
48819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48820       ac_ext=c
48821 ac_cpp='$CPP $CPPFLAGS'
48822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48825
48826
48827 fi
48828
48829   fi
48830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48831 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48832
48833   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48834     for ac_func in finitef
48835 do :
48836   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48837 if test "x$ac_cv_func_finitef" = x""yes; then :
48838   cat >>confdefs.h <<_ACEOF
48839 #define HAVE_FINITEF 1
48840 _ACEOF
48841
48842 fi
48843 done
48844
48845   else
48846
48847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48848 $as_echo_n "checking for _finitef declaration... " >&6; }
48849   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48850     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48851   $as_echo_n "(cached) " >&6
48852 else
48853
48854
48855       ac_ext=cpp
48856 ac_cpp='$CXXCPP $CPPFLAGS'
48857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48860
48861       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48862 /* end confdefs.h.  */
48863 #include <math.h>
48864                       #ifdef HAVE_IEEEFP_H
48865                       #include <ieeefp.h>
48866                       #endif
48867
48868 int
48869 main ()
48870 {
48871  _finitef(0);
48872   ;
48873   return 0;
48874 }
48875 _ACEOF
48876 if ac_fn_cxx_try_compile "$LINENO"; then :
48877   glibcxx_cv_func__finitef_use=yes
48878 else
48879   glibcxx_cv_func__finitef_use=no
48880 fi
48881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48882       ac_ext=c
48883 ac_cpp='$CPP $CPPFLAGS'
48884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48887
48888
48889 fi
48890
48891   fi
48892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48893 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48894
48895     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48896       for ac_func in _finitef
48897 do :
48898   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48899 if test "x$ac_cv_func__finitef" = x""yes; then :
48900   cat >>confdefs.h <<_ACEOF
48901 #define HAVE__FINITEF 1
48902 _ACEOF
48903
48904 fi
48905 done
48906
48907     fi
48908   fi
48909
48910
48911
48912
48913
48914     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48915 $as_echo_n "checking for long double trig functions... " >&6; }
48916   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48917   $as_echo_n "(cached) " >&6
48918 else
48919
48920
48921     ac_ext=cpp
48922 ac_cpp='$CXXCPP $CPPFLAGS'
48923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48926
48927     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48928 /* end confdefs.h.  */
48929 #include <math.h>
48930 int
48931 main ()
48932 {
48933 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48934   ;
48935   return 0;
48936 }
48937 _ACEOF
48938 if ac_fn_cxx_try_compile "$LINENO"; then :
48939   glibcxx_cv_func_long_double_trig_use=yes
48940 else
48941   glibcxx_cv_func_long_double_trig_use=no
48942 fi
48943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48944     ac_ext=c
48945 ac_cpp='$CPP $CPPFLAGS'
48946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48949
48950 fi
48951
48952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48953 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48954   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48955     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48956 do :
48957   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48958 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48959 eval as_val=\$$as_ac_var
48960    if test "x$as_val" = x""yes; then :
48961   cat >>confdefs.h <<_ACEOF
48962 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48963 _ACEOF
48964
48965 fi
48966 done
48967
48968   else
48969     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48970 $as_echo_n "checking for _long double trig functions... " >&6; }
48971     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48972   $as_echo_n "(cached) " >&6
48973 else
48974
48975
48976       ac_ext=cpp
48977 ac_cpp='$CXXCPP $CPPFLAGS'
48978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48981
48982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48983 /* end confdefs.h.  */
48984 #include <math.h>
48985 int
48986 main ()
48987 {
48988 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48989   ;
48990   return 0;
48991 }
48992 _ACEOF
48993 if ac_fn_cxx_try_compile "$LINENO"; then :
48994   glibcxx_cv_func__long_double_trig_use=yes
48995 else
48996   glibcxx_cv_func__long_double_trig_use=no
48997 fi
48998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48999       ac_ext=c
49000 ac_cpp='$CPP $CPPFLAGS'
49001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49004
49005 fi
49006
49007     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49008 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49009     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49010       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49011 do :
49012   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49014 eval as_val=\$$as_ac_var
49015    if test "x$as_val" = x""yes; then :
49016   cat >>confdefs.h <<_ACEOF
49017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49018 _ACEOF
49019
49020 fi
49021 done
49022
49023     fi
49024   fi
49025
49026
49027
49028
49029
49030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49031 $as_echo_n "checking for long double round functions... " >&6; }
49032   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49033   $as_echo_n "(cached) " >&6
49034 else
49035
49036
49037     ac_ext=cpp
49038 ac_cpp='$CXXCPP $CPPFLAGS'
49039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49042
49043     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49044 /* end confdefs.h.  */
49045 #include <math.h>
49046 int
49047 main ()
49048 {
49049 ceill (0); floorl (0);
49050   ;
49051   return 0;
49052 }
49053 _ACEOF
49054 if ac_fn_cxx_try_compile "$LINENO"; then :
49055   glibcxx_cv_func_long_double_round_use=yes
49056 else
49057   glibcxx_cv_func_long_double_round_use=no
49058 fi
49059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49060     ac_ext=c
49061 ac_cpp='$CPP $CPPFLAGS'
49062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49065
49066 fi
49067
49068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49069 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49070   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49071     for ac_func in ceill floorl
49072 do :
49073   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49075 eval as_val=\$$as_ac_var
49076    if test "x$as_val" = x""yes; then :
49077   cat >>confdefs.h <<_ACEOF
49078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49079 _ACEOF
49080
49081 fi
49082 done
49083
49084   else
49085     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49086 $as_echo_n "checking for _long double round functions... " >&6; }
49087     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49088   $as_echo_n "(cached) " >&6
49089 else
49090
49091
49092       ac_ext=cpp
49093 ac_cpp='$CXXCPP $CPPFLAGS'
49094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49097
49098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49099 /* end confdefs.h.  */
49100 #include <math.h>
49101 int
49102 main ()
49103 {
49104 _ceill (0); _floorl (0);
49105   ;
49106   return 0;
49107 }
49108 _ACEOF
49109 if ac_fn_cxx_try_compile "$LINENO"; then :
49110   glibcxx_cv_func__long_double_round_use=yes
49111 else
49112   glibcxx_cv_func__long_double_round_use=no
49113 fi
49114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49115       ac_ext=c
49116 ac_cpp='$CPP $CPPFLAGS'
49117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49120
49121 fi
49122
49123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49124 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49125     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49126       for ac_func in _ceill _floorl
49127 do :
49128   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49130 eval as_val=\$$as_ac_var
49131    if test "x$as_val" = x""yes; then :
49132   cat >>confdefs.h <<_ACEOF
49133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49134 _ACEOF
49135
49136 fi
49137 done
49138
49139     fi
49140   fi
49141
49142
49143
49144
49145
49146
49147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49148 $as_echo_n "checking for isnanl declaration... " >&6; }
49149   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49150     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49151   $as_echo_n "(cached) " >&6
49152 else
49153
49154
49155       ac_ext=cpp
49156 ac_cpp='$CXXCPP $CPPFLAGS'
49157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49160
49161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49162 /* end confdefs.h.  */
49163 #include <math.h>
49164                       #ifdef HAVE_IEEEFP_H
49165                       #include <ieeefp.h>
49166                       #endif
49167
49168 int
49169 main ()
49170 {
49171  isnanl(0);
49172   ;
49173   return 0;
49174 }
49175 _ACEOF
49176 if ac_fn_cxx_try_compile "$LINENO"; then :
49177   glibcxx_cv_func_isnanl_use=yes
49178 else
49179   glibcxx_cv_func_isnanl_use=no
49180 fi
49181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49182       ac_ext=c
49183 ac_cpp='$CPP $CPPFLAGS'
49184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49187
49188
49189 fi
49190
49191   fi
49192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49193 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49194
49195   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49196     for ac_func in isnanl
49197 do :
49198   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49199 if test "x$ac_cv_func_isnanl" = x""yes; then :
49200   cat >>confdefs.h <<_ACEOF
49201 #define HAVE_ISNANL 1
49202 _ACEOF
49203
49204 fi
49205 done
49206
49207   else
49208
49209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49210 $as_echo_n "checking for _isnanl declaration... " >&6; }
49211   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49212     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49213   $as_echo_n "(cached) " >&6
49214 else
49215
49216
49217       ac_ext=cpp
49218 ac_cpp='$CXXCPP $CPPFLAGS'
49219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49222
49223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49224 /* end confdefs.h.  */
49225 #include <math.h>
49226                       #ifdef HAVE_IEEEFP_H
49227                       #include <ieeefp.h>
49228                       #endif
49229
49230 int
49231 main ()
49232 {
49233  _isnanl(0);
49234   ;
49235   return 0;
49236 }
49237 _ACEOF
49238 if ac_fn_cxx_try_compile "$LINENO"; then :
49239   glibcxx_cv_func__isnanl_use=yes
49240 else
49241   glibcxx_cv_func__isnanl_use=no
49242 fi
49243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49244       ac_ext=c
49245 ac_cpp='$CPP $CPPFLAGS'
49246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49249
49250
49251 fi
49252
49253   fi
49254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49255 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49256
49257     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49258       for ac_func in _isnanl
49259 do :
49260   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49261 if test "x$ac_cv_func__isnanl" = x""yes; then :
49262   cat >>confdefs.h <<_ACEOF
49263 #define HAVE__ISNANL 1
49264 _ACEOF
49265
49266 fi
49267 done
49268
49269     fi
49270   fi
49271
49272
49273
49274
49275
49276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49277 $as_echo_n "checking for isinfl declaration... " >&6; }
49278   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49279     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49280   $as_echo_n "(cached) " >&6
49281 else
49282
49283
49284       ac_ext=cpp
49285 ac_cpp='$CXXCPP $CPPFLAGS'
49286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49289
49290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49291 /* end confdefs.h.  */
49292 #include <math.h>
49293                       #ifdef HAVE_IEEEFP_H
49294                       #include <ieeefp.h>
49295                       #endif
49296
49297 int
49298 main ()
49299 {
49300  isinfl(0);
49301   ;
49302   return 0;
49303 }
49304 _ACEOF
49305 if ac_fn_cxx_try_compile "$LINENO"; then :
49306   glibcxx_cv_func_isinfl_use=yes
49307 else
49308   glibcxx_cv_func_isinfl_use=no
49309 fi
49310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49311       ac_ext=c
49312 ac_cpp='$CPP $CPPFLAGS'
49313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49316
49317
49318 fi
49319
49320   fi
49321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49322 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49323
49324   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49325     for ac_func in isinfl
49326 do :
49327   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49328 if test "x$ac_cv_func_isinfl" = x""yes; then :
49329   cat >>confdefs.h <<_ACEOF
49330 #define HAVE_ISINFL 1
49331 _ACEOF
49332
49333 fi
49334 done
49335
49336   else
49337
49338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49339 $as_echo_n "checking for _isinfl declaration... " >&6; }
49340   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49341     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49342   $as_echo_n "(cached) " >&6
49343 else
49344
49345
49346       ac_ext=cpp
49347 ac_cpp='$CXXCPP $CPPFLAGS'
49348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49351
49352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49353 /* end confdefs.h.  */
49354 #include <math.h>
49355                       #ifdef HAVE_IEEEFP_H
49356                       #include <ieeefp.h>
49357                       #endif
49358
49359 int
49360 main ()
49361 {
49362  _isinfl(0);
49363   ;
49364   return 0;
49365 }
49366 _ACEOF
49367 if ac_fn_cxx_try_compile "$LINENO"; then :
49368   glibcxx_cv_func__isinfl_use=yes
49369 else
49370   glibcxx_cv_func__isinfl_use=no
49371 fi
49372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49373       ac_ext=c
49374 ac_cpp='$CPP $CPPFLAGS'
49375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49378
49379
49380 fi
49381
49382   fi
49383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49384 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49385
49386     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49387       for ac_func in _isinfl
49388 do :
49389   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49390 if test "x$ac_cv_func__isinfl" = x""yes; then :
49391   cat >>confdefs.h <<_ACEOF
49392 #define HAVE__ISINFL 1
49393 _ACEOF
49394
49395 fi
49396 done
49397
49398     fi
49399   fi
49400
49401
49402
49403
49404
49405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49406 $as_echo_n "checking for atan2l declaration... " >&6; }
49407   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49408     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49409   $as_echo_n "(cached) " >&6
49410 else
49411
49412
49413       ac_ext=cpp
49414 ac_cpp='$CXXCPP $CPPFLAGS'
49415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49418
49419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49420 /* end confdefs.h.  */
49421 #include <math.h>
49422 int
49423 main ()
49424 {
49425  atan2l(0, 0);
49426   ;
49427   return 0;
49428 }
49429 _ACEOF
49430 if ac_fn_cxx_try_compile "$LINENO"; then :
49431   glibcxx_cv_func_atan2l_use=yes
49432 else
49433   glibcxx_cv_func_atan2l_use=no
49434 fi
49435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49436       ac_ext=c
49437 ac_cpp='$CPP $CPPFLAGS'
49438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49441
49442
49443 fi
49444
49445   fi
49446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49447 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49448
49449   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49450     for ac_func in atan2l
49451 do :
49452   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49453 if test "x$ac_cv_func_atan2l" = x""yes; then :
49454   cat >>confdefs.h <<_ACEOF
49455 #define HAVE_ATAN2L 1
49456 _ACEOF
49457
49458 fi
49459 done
49460
49461   else
49462
49463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49464 $as_echo_n "checking for _atan2l declaration... " >&6; }
49465   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49466     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49467   $as_echo_n "(cached) " >&6
49468 else
49469
49470
49471       ac_ext=cpp
49472 ac_cpp='$CXXCPP $CPPFLAGS'
49473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49476
49477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49478 /* end confdefs.h.  */
49479 #include <math.h>
49480 int
49481 main ()
49482 {
49483  _atan2l(0, 0);
49484   ;
49485   return 0;
49486 }
49487 _ACEOF
49488 if ac_fn_cxx_try_compile "$LINENO"; then :
49489   glibcxx_cv_func__atan2l_use=yes
49490 else
49491   glibcxx_cv_func__atan2l_use=no
49492 fi
49493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49494       ac_ext=c
49495 ac_cpp='$CPP $CPPFLAGS'
49496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49499
49500
49501 fi
49502
49503   fi
49504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49505 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49506
49507     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49508       for ac_func in _atan2l
49509 do :
49510   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49511 if test "x$ac_cv_func__atan2l" = x""yes; then :
49512   cat >>confdefs.h <<_ACEOF
49513 #define HAVE__ATAN2L 1
49514 _ACEOF
49515
49516 fi
49517 done
49518
49519     fi
49520   fi
49521
49522
49523
49524
49525
49526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49527 $as_echo_n "checking for expl declaration... " >&6; }
49528   if test x${glibcxx_cv_func_expl_use+set} != xset; then
49529     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49530   $as_echo_n "(cached) " >&6
49531 else
49532
49533
49534       ac_ext=cpp
49535 ac_cpp='$CXXCPP $CPPFLAGS'
49536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49539
49540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49541 /* end confdefs.h.  */
49542 #include <math.h>
49543                       #ifdef HAVE_IEEEFP_H
49544                       #include <ieeefp.h>
49545                       #endif
49546
49547 int
49548 main ()
49549 {
49550  expl(0);
49551   ;
49552   return 0;
49553 }
49554 _ACEOF
49555 if ac_fn_cxx_try_compile "$LINENO"; then :
49556   glibcxx_cv_func_expl_use=yes
49557 else
49558   glibcxx_cv_func_expl_use=no
49559 fi
49560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49561       ac_ext=c
49562 ac_cpp='$CPP $CPPFLAGS'
49563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49566
49567
49568 fi
49569
49570   fi
49571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49572 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49573
49574   if test x$glibcxx_cv_func_expl_use = x"yes"; then
49575     for ac_func in expl
49576 do :
49577   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49578 if test "x$ac_cv_func_expl" = x""yes; then :
49579   cat >>confdefs.h <<_ACEOF
49580 #define HAVE_EXPL 1
49581 _ACEOF
49582
49583 fi
49584 done
49585
49586   else
49587
49588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49589 $as_echo_n "checking for _expl declaration... " >&6; }
49590   if test x${glibcxx_cv_func__expl_use+set} != xset; then
49591     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49592   $as_echo_n "(cached) " >&6
49593 else
49594
49595
49596       ac_ext=cpp
49597 ac_cpp='$CXXCPP $CPPFLAGS'
49598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49601
49602       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49603 /* end confdefs.h.  */
49604 #include <math.h>
49605                       #ifdef HAVE_IEEEFP_H
49606                       #include <ieeefp.h>
49607                       #endif
49608
49609 int
49610 main ()
49611 {
49612  _expl(0);
49613   ;
49614   return 0;
49615 }
49616 _ACEOF
49617 if ac_fn_cxx_try_compile "$LINENO"; then :
49618   glibcxx_cv_func__expl_use=yes
49619 else
49620   glibcxx_cv_func__expl_use=no
49621 fi
49622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49623       ac_ext=c
49624 ac_cpp='$CPP $CPPFLAGS'
49625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49628
49629
49630 fi
49631
49632   fi
49633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49634 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49635
49636     if test x$glibcxx_cv_func__expl_use = x"yes"; then
49637       for ac_func in _expl
49638 do :
49639   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49640 if test "x$ac_cv_func__expl" = x""yes; then :
49641   cat >>confdefs.h <<_ACEOF
49642 #define HAVE__EXPL 1
49643 _ACEOF
49644
49645 fi
49646 done
49647
49648     fi
49649   fi
49650
49651
49652
49653
49654
49655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49656 $as_echo_n "checking for fabsl declaration... " >&6; }
49657   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49658     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49659   $as_echo_n "(cached) " >&6
49660 else
49661
49662
49663       ac_ext=cpp
49664 ac_cpp='$CXXCPP $CPPFLAGS'
49665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49668
49669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49670 /* end confdefs.h.  */
49671 #include <math.h>
49672                       #ifdef HAVE_IEEEFP_H
49673                       #include <ieeefp.h>
49674                       #endif
49675
49676 int
49677 main ()
49678 {
49679  fabsl(0);
49680   ;
49681   return 0;
49682 }
49683 _ACEOF
49684 if ac_fn_cxx_try_compile "$LINENO"; then :
49685   glibcxx_cv_func_fabsl_use=yes
49686 else
49687   glibcxx_cv_func_fabsl_use=no
49688 fi
49689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49690       ac_ext=c
49691 ac_cpp='$CPP $CPPFLAGS'
49692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49695
49696
49697 fi
49698
49699   fi
49700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49701 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49702
49703   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49704     for ac_func in fabsl
49705 do :
49706   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49707 if test "x$ac_cv_func_fabsl" = x""yes; then :
49708   cat >>confdefs.h <<_ACEOF
49709 #define HAVE_FABSL 1
49710 _ACEOF
49711
49712 fi
49713 done
49714
49715   else
49716
49717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49718 $as_echo_n "checking for _fabsl declaration... " >&6; }
49719   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49720     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49721   $as_echo_n "(cached) " >&6
49722 else
49723
49724
49725       ac_ext=cpp
49726 ac_cpp='$CXXCPP $CPPFLAGS'
49727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49730
49731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49732 /* end confdefs.h.  */
49733 #include <math.h>
49734                       #ifdef HAVE_IEEEFP_H
49735                       #include <ieeefp.h>
49736                       #endif
49737
49738 int
49739 main ()
49740 {
49741  _fabsl(0);
49742   ;
49743   return 0;
49744 }
49745 _ACEOF
49746 if ac_fn_cxx_try_compile "$LINENO"; then :
49747   glibcxx_cv_func__fabsl_use=yes
49748 else
49749   glibcxx_cv_func__fabsl_use=no
49750 fi
49751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49752       ac_ext=c
49753 ac_cpp='$CPP $CPPFLAGS'
49754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49757
49758
49759 fi
49760
49761   fi
49762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49763 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49764
49765     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49766       for ac_func in _fabsl
49767 do :
49768   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49769 if test "x$ac_cv_func__fabsl" = x""yes; then :
49770   cat >>confdefs.h <<_ACEOF
49771 #define HAVE__FABSL 1
49772 _ACEOF
49773
49774 fi
49775 done
49776
49777     fi
49778   fi
49779
49780
49781
49782
49783
49784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49785 $as_echo_n "checking for fmodl declaration... " >&6; }
49786   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49787     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49788   $as_echo_n "(cached) " >&6
49789 else
49790
49791
49792       ac_ext=cpp
49793 ac_cpp='$CXXCPP $CPPFLAGS'
49794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49797
49798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49799 /* end confdefs.h.  */
49800 #include <math.h>
49801 int
49802 main ()
49803 {
49804  fmodl(0, 0);
49805   ;
49806   return 0;
49807 }
49808 _ACEOF
49809 if ac_fn_cxx_try_compile "$LINENO"; then :
49810   glibcxx_cv_func_fmodl_use=yes
49811 else
49812   glibcxx_cv_func_fmodl_use=no
49813 fi
49814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49815       ac_ext=c
49816 ac_cpp='$CPP $CPPFLAGS'
49817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49820
49821
49822 fi
49823
49824   fi
49825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49826 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49827
49828   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49829     for ac_func in fmodl
49830 do :
49831   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49832 if test "x$ac_cv_func_fmodl" = x""yes; then :
49833   cat >>confdefs.h <<_ACEOF
49834 #define HAVE_FMODL 1
49835 _ACEOF
49836
49837 fi
49838 done
49839
49840   else
49841
49842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49843 $as_echo_n "checking for _fmodl declaration... " >&6; }
49844   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49845     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49846   $as_echo_n "(cached) " >&6
49847 else
49848
49849
49850       ac_ext=cpp
49851 ac_cpp='$CXXCPP $CPPFLAGS'
49852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49855
49856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49857 /* end confdefs.h.  */
49858 #include <math.h>
49859 int
49860 main ()
49861 {
49862  _fmodl(0, 0);
49863   ;
49864   return 0;
49865 }
49866 _ACEOF
49867 if ac_fn_cxx_try_compile "$LINENO"; then :
49868   glibcxx_cv_func__fmodl_use=yes
49869 else
49870   glibcxx_cv_func__fmodl_use=no
49871 fi
49872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49873       ac_ext=c
49874 ac_cpp='$CPP $CPPFLAGS'
49875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49878
49879
49880 fi
49881
49882   fi
49883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49884 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49885
49886     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49887       for ac_func in _fmodl
49888 do :
49889   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49890 if test "x$ac_cv_func__fmodl" = x""yes; then :
49891   cat >>confdefs.h <<_ACEOF
49892 #define HAVE__FMODL 1
49893 _ACEOF
49894
49895 fi
49896 done
49897
49898     fi
49899   fi
49900
49901
49902
49903
49904
49905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49906 $as_echo_n "checking for frexpl declaration... " >&6; }
49907   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49908     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49909   $as_echo_n "(cached) " >&6
49910 else
49911
49912
49913       ac_ext=cpp
49914 ac_cpp='$CXXCPP $CPPFLAGS'
49915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49918
49919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49920 /* end confdefs.h.  */
49921 #include <math.h>
49922 int
49923 main ()
49924 {
49925  frexpl(0, 0);
49926   ;
49927   return 0;
49928 }
49929 _ACEOF
49930 if ac_fn_cxx_try_compile "$LINENO"; then :
49931   glibcxx_cv_func_frexpl_use=yes
49932 else
49933   glibcxx_cv_func_frexpl_use=no
49934 fi
49935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49936       ac_ext=c
49937 ac_cpp='$CPP $CPPFLAGS'
49938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49941
49942
49943 fi
49944
49945   fi
49946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49947 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49948
49949   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49950     for ac_func in frexpl
49951 do :
49952   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49953 if test "x$ac_cv_func_frexpl" = x""yes; then :
49954   cat >>confdefs.h <<_ACEOF
49955 #define HAVE_FREXPL 1
49956 _ACEOF
49957
49958 fi
49959 done
49960
49961   else
49962
49963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49964 $as_echo_n "checking for _frexpl declaration... " >&6; }
49965   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49966     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49967   $as_echo_n "(cached) " >&6
49968 else
49969
49970
49971       ac_ext=cpp
49972 ac_cpp='$CXXCPP $CPPFLAGS'
49973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49976
49977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49978 /* end confdefs.h.  */
49979 #include <math.h>
49980 int
49981 main ()
49982 {
49983  _frexpl(0, 0);
49984   ;
49985   return 0;
49986 }
49987 _ACEOF
49988 if ac_fn_cxx_try_compile "$LINENO"; then :
49989   glibcxx_cv_func__frexpl_use=yes
49990 else
49991   glibcxx_cv_func__frexpl_use=no
49992 fi
49993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49994       ac_ext=c
49995 ac_cpp='$CPP $CPPFLAGS'
49996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49999
50000
50001 fi
50002
50003   fi
50004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50005 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50006
50007     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50008       for ac_func in _frexpl
50009 do :
50010   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50011 if test "x$ac_cv_func__frexpl" = x""yes; then :
50012   cat >>confdefs.h <<_ACEOF
50013 #define HAVE__FREXPL 1
50014 _ACEOF
50015
50016 fi
50017 done
50018
50019     fi
50020   fi
50021
50022
50023
50024
50025
50026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50027 $as_echo_n "checking for hypotl declaration... " >&6; }
50028   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50029     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50030   $as_echo_n "(cached) " >&6
50031 else
50032
50033
50034       ac_ext=cpp
50035 ac_cpp='$CXXCPP $CPPFLAGS'
50036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50039
50040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50041 /* end confdefs.h.  */
50042 #include <math.h>
50043 int
50044 main ()
50045 {
50046  hypotl(0, 0);
50047   ;
50048   return 0;
50049 }
50050 _ACEOF
50051 if ac_fn_cxx_try_compile "$LINENO"; then :
50052   glibcxx_cv_func_hypotl_use=yes
50053 else
50054   glibcxx_cv_func_hypotl_use=no
50055 fi
50056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50057       ac_ext=c
50058 ac_cpp='$CPP $CPPFLAGS'
50059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50062
50063
50064 fi
50065
50066   fi
50067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50068 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50069
50070   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50071     for ac_func in hypotl
50072 do :
50073   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50074 if test "x$ac_cv_func_hypotl" = x""yes; then :
50075   cat >>confdefs.h <<_ACEOF
50076 #define HAVE_HYPOTL 1
50077 _ACEOF
50078
50079 fi
50080 done
50081
50082   else
50083
50084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50085 $as_echo_n "checking for _hypotl declaration... " >&6; }
50086   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50087     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50088   $as_echo_n "(cached) " >&6
50089 else
50090
50091
50092       ac_ext=cpp
50093 ac_cpp='$CXXCPP $CPPFLAGS'
50094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50097
50098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50099 /* end confdefs.h.  */
50100 #include <math.h>
50101 int
50102 main ()
50103 {
50104  _hypotl(0, 0);
50105   ;
50106   return 0;
50107 }
50108 _ACEOF
50109 if ac_fn_cxx_try_compile "$LINENO"; then :
50110   glibcxx_cv_func__hypotl_use=yes
50111 else
50112   glibcxx_cv_func__hypotl_use=no
50113 fi
50114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50115       ac_ext=c
50116 ac_cpp='$CPP $CPPFLAGS'
50117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50120
50121
50122 fi
50123
50124   fi
50125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50126 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50127
50128     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50129       for ac_func in _hypotl
50130 do :
50131   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50132 if test "x$ac_cv_func__hypotl" = x""yes; then :
50133   cat >>confdefs.h <<_ACEOF
50134 #define HAVE__HYPOTL 1
50135 _ACEOF
50136
50137 fi
50138 done
50139
50140     fi
50141   fi
50142
50143
50144
50145
50146
50147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50148 $as_echo_n "checking for ldexpl declaration... " >&6; }
50149   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50150     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50151   $as_echo_n "(cached) " >&6
50152 else
50153
50154
50155       ac_ext=cpp
50156 ac_cpp='$CXXCPP $CPPFLAGS'
50157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50160
50161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50162 /* end confdefs.h.  */
50163 #include <math.h>
50164 int
50165 main ()
50166 {
50167  ldexpl(0, 0);
50168   ;
50169   return 0;
50170 }
50171 _ACEOF
50172 if ac_fn_cxx_try_compile "$LINENO"; then :
50173   glibcxx_cv_func_ldexpl_use=yes
50174 else
50175   glibcxx_cv_func_ldexpl_use=no
50176 fi
50177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50178       ac_ext=c
50179 ac_cpp='$CPP $CPPFLAGS'
50180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50183
50184
50185 fi
50186
50187   fi
50188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50189 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50190
50191   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50192     for ac_func in ldexpl
50193 do :
50194   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50195 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50196   cat >>confdefs.h <<_ACEOF
50197 #define HAVE_LDEXPL 1
50198 _ACEOF
50199
50200 fi
50201 done
50202
50203   else
50204
50205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50206 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50207   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50208     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50209   $as_echo_n "(cached) " >&6
50210 else
50211
50212
50213       ac_ext=cpp
50214 ac_cpp='$CXXCPP $CPPFLAGS'
50215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50218
50219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50220 /* end confdefs.h.  */
50221 #include <math.h>
50222 int
50223 main ()
50224 {
50225  _ldexpl(0, 0);
50226   ;
50227   return 0;
50228 }
50229 _ACEOF
50230 if ac_fn_cxx_try_compile "$LINENO"; then :
50231   glibcxx_cv_func__ldexpl_use=yes
50232 else
50233   glibcxx_cv_func__ldexpl_use=no
50234 fi
50235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50236       ac_ext=c
50237 ac_cpp='$CPP $CPPFLAGS'
50238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50241
50242
50243 fi
50244
50245   fi
50246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50247 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50248
50249     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50250       for ac_func in _ldexpl
50251 do :
50252   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50253 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50254   cat >>confdefs.h <<_ACEOF
50255 #define HAVE__LDEXPL 1
50256 _ACEOF
50257
50258 fi
50259 done
50260
50261     fi
50262   fi
50263
50264
50265
50266
50267
50268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50269 $as_echo_n "checking for logl declaration... " >&6; }
50270   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50271     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50272   $as_echo_n "(cached) " >&6
50273 else
50274
50275
50276       ac_ext=cpp
50277 ac_cpp='$CXXCPP $CPPFLAGS'
50278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50281
50282       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50283 /* end confdefs.h.  */
50284 #include <math.h>
50285                       #ifdef HAVE_IEEEFP_H
50286                       #include <ieeefp.h>
50287                       #endif
50288
50289 int
50290 main ()
50291 {
50292  logl(0);
50293   ;
50294   return 0;
50295 }
50296 _ACEOF
50297 if ac_fn_cxx_try_compile "$LINENO"; then :
50298   glibcxx_cv_func_logl_use=yes
50299 else
50300   glibcxx_cv_func_logl_use=no
50301 fi
50302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50303       ac_ext=c
50304 ac_cpp='$CPP $CPPFLAGS'
50305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50308
50309
50310 fi
50311
50312   fi
50313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50314 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50315
50316   if test x$glibcxx_cv_func_logl_use = x"yes"; then
50317     for ac_func in logl
50318 do :
50319   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50320 if test "x$ac_cv_func_logl" = x""yes; then :
50321   cat >>confdefs.h <<_ACEOF
50322 #define HAVE_LOGL 1
50323 _ACEOF
50324
50325 fi
50326 done
50327
50328   else
50329
50330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50331 $as_echo_n "checking for _logl declaration... " >&6; }
50332   if test x${glibcxx_cv_func__logl_use+set} != xset; then
50333     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50334   $as_echo_n "(cached) " >&6
50335 else
50336
50337
50338       ac_ext=cpp
50339 ac_cpp='$CXXCPP $CPPFLAGS'
50340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50343
50344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50345 /* end confdefs.h.  */
50346 #include <math.h>
50347                       #ifdef HAVE_IEEEFP_H
50348                       #include <ieeefp.h>
50349                       #endif
50350
50351 int
50352 main ()
50353 {
50354  _logl(0);
50355   ;
50356   return 0;
50357 }
50358 _ACEOF
50359 if ac_fn_cxx_try_compile "$LINENO"; then :
50360   glibcxx_cv_func__logl_use=yes
50361 else
50362   glibcxx_cv_func__logl_use=no
50363 fi
50364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50365       ac_ext=c
50366 ac_cpp='$CPP $CPPFLAGS'
50367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50370
50371
50372 fi
50373
50374   fi
50375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50376 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50377
50378     if test x$glibcxx_cv_func__logl_use = x"yes"; then
50379       for ac_func in _logl
50380 do :
50381   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50382 if test "x$ac_cv_func__logl" = x""yes; then :
50383   cat >>confdefs.h <<_ACEOF
50384 #define HAVE__LOGL 1
50385 _ACEOF
50386
50387 fi
50388 done
50389
50390     fi
50391   fi
50392
50393
50394
50395
50396
50397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50398 $as_echo_n "checking for log10l declaration... " >&6; }
50399   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50400     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50401   $as_echo_n "(cached) " >&6
50402 else
50403
50404
50405       ac_ext=cpp
50406 ac_cpp='$CXXCPP $CPPFLAGS'
50407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50410
50411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50412 /* end confdefs.h.  */
50413 #include <math.h>
50414                       #ifdef HAVE_IEEEFP_H
50415                       #include <ieeefp.h>
50416                       #endif
50417
50418 int
50419 main ()
50420 {
50421  log10l(0);
50422   ;
50423   return 0;
50424 }
50425 _ACEOF
50426 if ac_fn_cxx_try_compile "$LINENO"; then :
50427   glibcxx_cv_func_log10l_use=yes
50428 else
50429   glibcxx_cv_func_log10l_use=no
50430 fi
50431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50432       ac_ext=c
50433 ac_cpp='$CPP $CPPFLAGS'
50434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50437
50438
50439 fi
50440
50441   fi
50442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50443 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50444
50445   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50446     for ac_func in log10l
50447 do :
50448   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50449 if test "x$ac_cv_func_log10l" = x""yes; then :
50450   cat >>confdefs.h <<_ACEOF
50451 #define HAVE_LOG10L 1
50452 _ACEOF
50453
50454 fi
50455 done
50456
50457   else
50458
50459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50460 $as_echo_n "checking for _log10l declaration... " >&6; }
50461   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50462     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50463   $as_echo_n "(cached) " >&6
50464 else
50465
50466
50467       ac_ext=cpp
50468 ac_cpp='$CXXCPP $CPPFLAGS'
50469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50472
50473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50474 /* end confdefs.h.  */
50475 #include <math.h>
50476                       #ifdef HAVE_IEEEFP_H
50477                       #include <ieeefp.h>
50478                       #endif
50479
50480 int
50481 main ()
50482 {
50483  _log10l(0);
50484   ;
50485   return 0;
50486 }
50487 _ACEOF
50488 if ac_fn_cxx_try_compile "$LINENO"; then :
50489   glibcxx_cv_func__log10l_use=yes
50490 else
50491   glibcxx_cv_func__log10l_use=no
50492 fi
50493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50494       ac_ext=c
50495 ac_cpp='$CPP $CPPFLAGS'
50496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50499
50500
50501 fi
50502
50503   fi
50504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50505 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50506
50507     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50508       for ac_func in _log10l
50509 do :
50510   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50511 if test "x$ac_cv_func__log10l" = x""yes; then :
50512   cat >>confdefs.h <<_ACEOF
50513 #define HAVE__LOG10L 1
50514 _ACEOF
50515
50516 fi
50517 done
50518
50519     fi
50520   fi
50521
50522
50523
50524
50525
50526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50527 $as_echo_n "checking for modfl declaration... " >&6; }
50528   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50529     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50530   $as_echo_n "(cached) " >&6
50531 else
50532
50533
50534       ac_ext=cpp
50535 ac_cpp='$CXXCPP $CPPFLAGS'
50536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50539
50540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50541 /* end confdefs.h.  */
50542 #include <math.h>
50543 int
50544 main ()
50545 {
50546  modfl(0, 0);
50547   ;
50548   return 0;
50549 }
50550 _ACEOF
50551 if ac_fn_cxx_try_compile "$LINENO"; then :
50552   glibcxx_cv_func_modfl_use=yes
50553 else
50554   glibcxx_cv_func_modfl_use=no
50555 fi
50556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50557       ac_ext=c
50558 ac_cpp='$CPP $CPPFLAGS'
50559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50562
50563
50564 fi
50565
50566   fi
50567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50568 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50569
50570   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50571     for ac_func in modfl
50572 do :
50573   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50574 if test "x$ac_cv_func_modfl" = x""yes; then :
50575   cat >>confdefs.h <<_ACEOF
50576 #define HAVE_MODFL 1
50577 _ACEOF
50578
50579 fi
50580 done
50581
50582   else
50583
50584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50585 $as_echo_n "checking for _modfl declaration... " >&6; }
50586   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50587     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50588   $as_echo_n "(cached) " >&6
50589 else
50590
50591
50592       ac_ext=cpp
50593 ac_cpp='$CXXCPP $CPPFLAGS'
50594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50597
50598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50599 /* end confdefs.h.  */
50600 #include <math.h>
50601 int
50602 main ()
50603 {
50604  _modfl(0, 0);
50605   ;
50606   return 0;
50607 }
50608 _ACEOF
50609 if ac_fn_cxx_try_compile "$LINENO"; then :
50610   glibcxx_cv_func__modfl_use=yes
50611 else
50612   glibcxx_cv_func__modfl_use=no
50613 fi
50614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50615       ac_ext=c
50616 ac_cpp='$CPP $CPPFLAGS'
50617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50620
50621
50622 fi
50623
50624   fi
50625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50626 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50627
50628     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50629       for ac_func in _modfl
50630 do :
50631   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50632 if test "x$ac_cv_func__modfl" = x""yes; then :
50633   cat >>confdefs.h <<_ACEOF
50634 #define HAVE__MODFL 1
50635 _ACEOF
50636
50637 fi
50638 done
50639
50640     fi
50641   fi
50642
50643
50644
50645
50646
50647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50648 $as_echo_n "checking for powl declaration... " >&6; }
50649   if test x${glibcxx_cv_func_powl_use+set} != xset; then
50650     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50651   $as_echo_n "(cached) " >&6
50652 else
50653
50654
50655       ac_ext=cpp
50656 ac_cpp='$CXXCPP $CPPFLAGS'
50657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50660
50661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50662 /* end confdefs.h.  */
50663 #include <math.h>
50664 int
50665 main ()
50666 {
50667  powl(0, 0);
50668   ;
50669   return 0;
50670 }
50671 _ACEOF
50672 if ac_fn_cxx_try_compile "$LINENO"; then :
50673   glibcxx_cv_func_powl_use=yes
50674 else
50675   glibcxx_cv_func_powl_use=no
50676 fi
50677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50678       ac_ext=c
50679 ac_cpp='$CPP $CPPFLAGS'
50680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50683
50684
50685 fi
50686
50687   fi
50688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50689 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50690
50691   if test x$glibcxx_cv_func_powl_use = x"yes"; then
50692     for ac_func in powl
50693 do :
50694   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50695 if test "x$ac_cv_func_powl" = x""yes; then :
50696   cat >>confdefs.h <<_ACEOF
50697 #define HAVE_POWL 1
50698 _ACEOF
50699
50700 fi
50701 done
50702
50703   else
50704
50705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50706 $as_echo_n "checking for _powl declaration... " >&6; }
50707   if test x${glibcxx_cv_func__powl_use+set} != xset; then
50708     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50709   $as_echo_n "(cached) " >&6
50710 else
50711
50712
50713       ac_ext=cpp
50714 ac_cpp='$CXXCPP $CPPFLAGS'
50715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50718
50719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50720 /* end confdefs.h.  */
50721 #include <math.h>
50722 int
50723 main ()
50724 {
50725  _powl(0, 0);
50726   ;
50727   return 0;
50728 }
50729 _ACEOF
50730 if ac_fn_cxx_try_compile "$LINENO"; then :
50731   glibcxx_cv_func__powl_use=yes
50732 else
50733   glibcxx_cv_func__powl_use=no
50734 fi
50735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50736       ac_ext=c
50737 ac_cpp='$CPP $CPPFLAGS'
50738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50741
50742
50743 fi
50744
50745   fi
50746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50747 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50748
50749     if test x$glibcxx_cv_func__powl_use = x"yes"; then
50750       for ac_func in _powl
50751 do :
50752   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50753 if test "x$ac_cv_func__powl" = x""yes; then :
50754   cat >>confdefs.h <<_ACEOF
50755 #define HAVE__POWL 1
50756 _ACEOF
50757
50758 fi
50759 done
50760
50761     fi
50762   fi
50763
50764
50765
50766
50767
50768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50769 $as_echo_n "checking for sqrtl declaration... " >&6; }
50770   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50771     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50772   $as_echo_n "(cached) " >&6
50773 else
50774
50775
50776       ac_ext=cpp
50777 ac_cpp='$CXXCPP $CPPFLAGS'
50778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50781
50782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50783 /* end confdefs.h.  */
50784 #include <math.h>
50785                       #ifdef HAVE_IEEEFP_H
50786                       #include <ieeefp.h>
50787                       #endif
50788
50789 int
50790 main ()
50791 {
50792  sqrtl(0);
50793   ;
50794   return 0;
50795 }
50796 _ACEOF
50797 if ac_fn_cxx_try_compile "$LINENO"; then :
50798   glibcxx_cv_func_sqrtl_use=yes
50799 else
50800   glibcxx_cv_func_sqrtl_use=no
50801 fi
50802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50803       ac_ext=c
50804 ac_cpp='$CPP $CPPFLAGS'
50805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50808
50809
50810 fi
50811
50812   fi
50813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50814 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50815
50816   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50817     for ac_func in sqrtl
50818 do :
50819   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50820 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50821   cat >>confdefs.h <<_ACEOF
50822 #define HAVE_SQRTL 1
50823 _ACEOF
50824
50825 fi
50826 done
50827
50828   else
50829
50830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50831 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50832   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50833     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50834   $as_echo_n "(cached) " >&6
50835 else
50836
50837
50838       ac_ext=cpp
50839 ac_cpp='$CXXCPP $CPPFLAGS'
50840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50843
50844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50845 /* end confdefs.h.  */
50846 #include <math.h>
50847                       #ifdef HAVE_IEEEFP_H
50848                       #include <ieeefp.h>
50849                       #endif
50850
50851 int
50852 main ()
50853 {
50854  _sqrtl(0);
50855   ;
50856   return 0;
50857 }
50858 _ACEOF
50859 if ac_fn_cxx_try_compile "$LINENO"; then :
50860   glibcxx_cv_func__sqrtl_use=yes
50861 else
50862   glibcxx_cv_func__sqrtl_use=no
50863 fi
50864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50865       ac_ext=c
50866 ac_cpp='$CPP $CPPFLAGS'
50867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50870
50871
50872 fi
50873
50874   fi
50875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50876 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50877
50878     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50879       for ac_func in _sqrtl
50880 do :
50881   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50882 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50883   cat >>confdefs.h <<_ACEOF
50884 #define HAVE__SQRTL 1
50885 _ACEOF
50886
50887 fi
50888 done
50889
50890     fi
50891   fi
50892
50893
50894
50895
50896
50897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50898 $as_echo_n "checking for sincosl declaration... " >&6; }
50899   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50900     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50901   $as_echo_n "(cached) " >&6
50902 else
50903
50904
50905       ac_ext=cpp
50906 ac_cpp='$CXXCPP $CPPFLAGS'
50907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50910
50911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50912 /* end confdefs.h.  */
50913 #include <math.h>
50914 int
50915 main ()
50916 {
50917  sincosl(0, 0, 0);
50918   ;
50919   return 0;
50920 }
50921 _ACEOF
50922 if ac_fn_cxx_try_compile "$LINENO"; then :
50923   glibcxx_cv_func_sincosl_use=yes
50924 else
50925   glibcxx_cv_func_sincosl_use=no
50926 fi
50927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50928       ac_ext=c
50929 ac_cpp='$CPP $CPPFLAGS'
50930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50933
50934
50935 fi
50936
50937   fi
50938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50939 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50940
50941   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50942     for ac_func in sincosl
50943 do :
50944   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50945 if test "x$ac_cv_func_sincosl" = x""yes; then :
50946   cat >>confdefs.h <<_ACEOF
50947 #define HAVE_SINCOSL 1
50948 _ACEOF
50949
50950 fi
50951 done
50952
50953   else
50954
50955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50956 $as_echo_n "checking for _sincosl declaration... " >&6; }
50957   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50958     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50959   $as_echo_n "(cached) " >&6
50960 else
50961
50962
50963       ac_ext=cpp
50964 ac_cpp='$CXXCPP $CPPFLAGS'
50965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50968
50969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50970 /* end confdefs.h.  */
50971 #include <math.h>
50972 int
50973 main ()
50974 {
50975  _sincosl(0, 0, 0);
50976   ;
50977   return 0;
50978 }
50979 _ACEOF
50980 if ac_fn_cxx_try_compile "$LINENO"; then :
50981   glibcxx_cv_func__sincosl_use=yes
50982 else
50983   glibcxx_cv_func__sincosl_use=no
50984 fi
50985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50986       ac_ext=c
50987 ac_cpp='$CPP $CPPFLAGS'
50988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50991
50992
50993 fi
50994
50995   fi
50996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50997 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50998
50999     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51000       for ac_func in _sincosl
51001 do :
51002   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51003 if test "x$ac_cv_func__sincosl" = x""yes; then :
51004   cat >>confdefs.h <<_ACEOF
51005 #define HAVE__SINCOSL 1
51006 _ACEOF
51007
51008 fi
51009 done
51010
51011     fi
51012   fi
51013
51014
51015
51016
51017
51018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51019 $as_echo_n "checking for finitel declaration... " >&6; }
51020   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51021     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51022   $as_echo_n "(cached) " >&6
51023 else
51024
51025
51026       ac_ext=cpp
51027 ac_cpp='$CXXCPP $CPPFLAGS'
51028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51031
51032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51033 /* end confdefs.h.  */
51034 #include <math.h>
51035                       #ifdef HAVE_IEEEFP_H
51036                       #include <ieeefp.h>
51037                       #endif
51038
51039 int
51040 main ()
51041 {
51042  finitel(0);
51043   ;
51044   return 0;
51045 }
51046 _ACEOF
51047 if ac_fn_cxx_try_compile "$LINENO"; then :
51048   glibcxx_cv_func_finitel_use=yes
51049 else
51050   glibcxx_cv_func_finitel_use=no
51051 fi
51052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51053       ac_ext=c
51054 ac_cpp='$CPP $CPPFLAGS'
51055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51058
51059
51060 fi
51061
51062   fi
51063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51064 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51065
51066   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51067     for ac_func in finitel
51068 do :
51069   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51070 if test "x$ac_cv_func_finitel" = x""yes; then :
51071   cat >>confdefs.h <<_ACEOF
51072 #define HAVE_FINITEL 1
51073 _ACEOF
51074
51075 fi
51076 done
51077
51078   else
51079
51080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51081 $as_echo_n "checking for _finitel declaration... " >&6; }
51082   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51083     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51084   $as_echo_n "(cached) " >&6
51085 else
51086
51087
51088       ac_ext=cpp
51089 ac_cpp='$CXXCPP $CPPFLAGS'
51090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51093
51094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51095 /* end confdefs.h.  */
51096 #include <math.h>
51097                       #ifdef HAVE_IEEEFP_H
51098                       #include <ieeefp.h>
51099                       #endif
51100
51101 int
51102 main ()
51103 {
51104  _finitel(0);
51105   ;
51106   return 0;
51107 }
51108 _ACEOF
51109 if ac_fn_cxx_try_compile "$LINENO"; then :
51110   glibcxx_cv_func__finitel_use=yes
51111 else
51112   glibcxx_cv_func__finitel_use=no
51113 fi
51114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51115       ac_ext=c
51116 ac_cpp='$CPP $CPPFLAGS'
51117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51120
51121
51122 fi
51123
51124   fi
51125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51126 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51127
51128     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51129       for ac_func in _finitel
51130 do :
51131   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51132 if test "x$ac_cv_func__finitel" = x""yes; then :
51133   cat >>confdefs.h <<_ACEOF
51134 #define HAVE__FINITEL 1
51135 _ACEOF
51136
51137 fi
51138 done
51139
51140     fi
51141   fi
51142
51143
51144
51145
51146   LIBS="$ac_save_LIBS"
51147   CXXFLAGS="$ac_save_CXXFLAGS"
51148
51149
51150   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51151   ac_save_CXXFLAGS="$CXXFLAGS"
51152   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51153
51154
51155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51156 $as_echo_n "checking for strtold declaration... " >&6; }
51157   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51158     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51159   $as_echo_n "(cached) " >&6
51160 else
51161
51162
51163       ac_ext=cpp
51164 ac_cpp='$CXXCPP $CPPFLAGS'
51165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51168
51169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51170 /* end confdefs.h.  */
51171 #include <stdlib.h>
51172 int
51173 main ()
51174 {
51175  strtold(0, 0);
51176   ;
51177   return 0;
51178 }
51179 _ACEOF
51180 if ac_fn_cxx_try_compile "$LINENO"; then :
51181   glibcxx_cv_func_strtold_use=yes
51182 else
51183   glibcxx_cv_func_strtold_use=no
51184 fi
51185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51186       ac_ext=c
51187 ac_cpp='$CPP $CPPFLAGS'
51188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51191
51192
51193 fi
51194
51195   fi
51196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51197 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51198   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51199     for ac_func in strtold
51200 do :
51201   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51202 if test "x$ac_cv_func_strtold" = x""yes; then :
51203   cat >>confdefs.h <<_ACEOF
51204 #define HAVE_STRTOLD 1
51205 _ACEOF
51206
51207 fi
51208 done
51209
51210   fi
51211
51212
51213
51214
51215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51216 $as_echo_n "checking for strtof declaration... " >&6; }
51217   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51218     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51219   $as_echo_n "(cached) " >&6
51220 else
51221
51222
51223       ac_ext=cpp
51224 ac_cpp='$CXXCPP $CPPFLAGS'
51225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51228
51229       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51230 /* end confdefs.h.  */
51231 #include <stdlib.h>
51232 int
51233 main ()
51234 {
51235  strtof(0, 0);
51236   ;
51237   return 0;
51238 }
51239 _ACEOF
51240 if ac_fn_cxx_try_compile "$LINENO"; then :
51241   glibcxx_cv_func_strtof_use=yes
51242 else
51243   glibcxx_cv_func_strtof_use=no
51244 fi
51245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51246       ac_ext=c
51247 ac_cpp='$CPP $CPPFLAGS'
51248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51251
51252
51253 fi
51254
51255   fi
51256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51257 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51258   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51259     for ac_func in strtof
51260 do :
51261   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51262 if test "x$ac_cv_func_strtof" = x""yes; then :
51263   cat >>confdefs.h <<_ACEOF
51264 #define HAVE_STRTOF 1
51265 _ACEOF
51266
51267 fi
51268 done
51269
51270   fi
51271
51272
51273
51274
51275   CXXFLAGS="$ac_save_CXXFLAGS"
51276
51277     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51278
51279
51280
51281    # Check whether --enable-tls was given.
51282 if test "${enable_tls+set}" = set; then :
51283   enableval=$enable_tls;
51284       case "$enableval" in
51285        yes|no) ;;
51286        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51287       esac
51288
51289 else
51290   enable_tls=yes
51291 fi
51292
51293
51294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51295 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51296 if test "${gcc_cv_have_tls+set}" = set; then :
51297   $as_echo_n "(cached) " >&6
51298 else
51299
51300     if test "$cross_compiling" = yes; then :
51301                 if test x$gcc_no_link = xyes; then
51302   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51303 fi
51304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51305 /* end confdefs.h.  */
51306 __thread int a; int b; int main() { return a = b; }
51307 _ACEOF
51308 if ac_fn_c_try_link "$LINENO"; then :
51309   chktls_save_LDFLAGS="$LDFLAGS"
51310                           case $host in
51311             *-*-linux*)
51312               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51313               ;;
51314           esac
51315           chktls_save_CFLAGS="$CFLAGS"
51316           CFLAGS="-fPIC $CFLAGS"
51317                   if test x$gcc_no_link = xyes; then
51318   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51319 fi
51320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51321 /* end confdefs.h.  */
51322 int f() { return 0; }
51323 _ACEOF
51324 if ac_fn_c_try_link "$LINENO"; then :
51325   if test x$gcc_no_link = xyes; then
51326   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51327 fi
51328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51329 /* end confdefs.h.  */
51330 __thread int a; int b; int f() { return a = b; }
51331 _ACEOF
51332 if ac_fn_c_try_link "$LINENO"; then :
51333   gcc_cv_have_tls=yes
51334 else
51335   gcc_cv_have_tls=no
51336 fi
51337 rm -f core conftest.err conftest.$ac_objext \
51338     conftest$ac_exeext conftest.$ac_ext
51339 else
51340   gcc_cv_have_tls=yes
51341 fi
51342 rm -f core conftest.err conftest.$ac_objext \
51343     conftest$ac_exeext conftest.$ac_ext
51344           CFLAGS="$chktls_save_CFLAGS"
51345           LDFLAGS="$chktls_save_LDFLAGS"
51346 else
51347   gcc_cv_have_tls=no
51348 fi
51349 rm -f core conftest.err conftest.$ac_objext \
51350     conftest$ac_exeext conftest.$ac_ext
51351
51352
51353 else
51354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51355 /* end confdefs.h.  */
51356 __thread int a; int b; int main() { return a = b; }
51357 _ACEOF
51358 if ac_fn_c_try_run "$LINENO"; then :
51359                       chktls_save_LDFLAGS="$LDFLAGS"
51360       LDFLAGS="-static $LDFLAGS"
51361       if test x$gcc_no_link = xyes; then
51362   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51363 fi
51364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51365 /* end confdefs.h.  */
51366 int main() { return 0; }
51367 _ACEOF
51368 if ac_fn_c_try_link "$LINENO"; then :
51369   if test "$cross_compiling" = yes; then :
51370   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51372 as_fn_error "cannot run test program while cross compiling
51373 See \`config.log' for more details." "$LINENO" 5; }
51374 else
51375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51376 /* end confdefs.h.  */
51377 __thread int a; int b; int main() { return a = b; }
51378 _ACEOF
51379 if ac_fn_c_try_run "$LINENO"; then :
51380   gcc_cv_have_tls=yes
51381 else
51382   gcc_cv_have_tls=no
51383 fi
51384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51385   conftest.$ac_objext conftest.beam conftest.$ac_ext
51386 fi
51387
51388 else
51389   gcc_cv_have_tls=yes
51390 fi
51391 rm -f core conftest.err conftest.$ac_objext \
51392     conftest$ac_exeext conftest.$ac_ext
51393       LDFLAGS="$chktls_save_LDFLAGS"
51394       if test $gcc_cv_have_tls = yes; then
51395                                                 chktls_save_CFLAGS="$CFLAGS"
51396         thread_CFLAGS=failed
51397         for flag in '' '-pthread' '-lpthread'; do
51398           CFLAGS="$flag $chktls_save_CFLAGS"
51399           if test x$gcc_no_link = xyes; then
51400   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51401 fi
51402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51403 /* end confdefs.h.  */
51404 #include <pthread.h>
51405                 void *g(void *d) { return NULL; }
51406 int
51407 main ()
51408 {
51409 pthread_t t; pthread_create(&t,NULL,g,NULL);
51410   ;
51411   return 0;
51412 }
51413 _ACEOF
51414 if ac_fn_c_try_link "$LINENO"; then :
51415   thread_CFLAGS="$flag"
51416 fi
51417 rm -f core conftest.err conftest.$ac_objext \
51418     conftest$ac_exeext conftest.$ac_ext
51419           if test "X$thread_CFLAGS" != Xfailed; then
51420             break
51421           fi
51422         done
51423         CFLAGS="$chktls_save_CFLAGS"
51424         if test "X$thread_CFLAGS" != Xfailed; then
51425           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51426                                                   if test "$cross_compiling" = yes; then :
51427   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51429 as_fn_error "cannot run test program while cross compiling
51430 See \`config.log' for more details." "$LINENO" 5; }
51431 else
51432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51433 /* end confdefs.h.  */
51434 #include <pthread.h>
51435                 __thread int a;
51436                 static int *volatile a_in_other_thread;
51437                 static void *
51438                 thread_func (void *arg)
51439                 {
51440                   a_in_other_thread = &a;
51441                   return (void *)0;
51442                 }
51443 int
51444 main ()
51445 {
51446 pthread_t thread;
51447                 void *thread_retval;
51448                 int *volatile a_in_main_thread;
51449                 a_in_main_thread = &a;
51450                 if (pthread_create (&thread, (pthread_attr_t *)0,
51451                                     thread_func, (void *)0))
51452                   return 0;
51453                 if (pthread_join (thread, &thread_retval))
51454                   return 0;
51455                 return (a_in_other_thread == a_in_main_thread);
51456   ;
51457   return 0;
51458 }
51459 _ACEOF
51460 if ac_fn_c_try_run "$LINENO"; then :
51461   gcc_cv_have_tls=yes
51462 else
51463   gcc_cv_have_tls=no
51464 fi
51465 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51466   conftest.$ac_objext conftest.beam conftest.$ac_ext
51467 fi
51468
51469           CFLAGS="$chktls_save_CFLAGS"
51470         fi
51471       fi
51472 else
51473   gcc_cv_have_tls=no
51474 fi
51475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51476   conftest.$ac_objext conftest.beam conftest.$ac_ext
51477 fi
51478
51479 fi
51480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51481 $as_echo "$gcc_cv_have_tls" >&6; }
51482   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51483
51484 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51485
51486   fi
51487
51488
51489
51490
51491
51492           am_save_CPPFLAGS="$CPPFLAGS"
51493
51494   for element in $INCICONV; do
51495     haveit=
51496     for x in $CPPFLAGS; do
51497
51498   acl_save_prefix="$prefix"
51499   prefix="$acl_final_prefix"
51500   acl_save_exec_prefix="$exec_prefix"
51501   exec_prefix="$acl_final_exec_prefix"
51502   eval x=\"$x\"
51503   exec_prefix="$acl_save_exec_prefix"
51504   prefix="$acl_save_prefix"
51505
51506       if test "X$x" = "X$element"; then
51507         haveit=yes
51508         break
51509       fi
51510     done
51511     if test -z "$haveit"; then
51512       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51513     fi
51514   done
51515
51516
51517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51518 $as_echo_n "checking for iconv... " >&6; }
51519 if test "${am_cv_func_iconv+set}" = set; then :
51520   $as_echo_n "(cached) " >&6
51521 else
51522
51523     am_cv_func_iconv="no, consider installing GNU libiconv"
51524     am_cv_lib_iconv=no
51525     if test x$gcc_no_link = xyes; then
51526   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51527 fi
51528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51529 /* end confdefs.h.  */
51530 #include <stdlib.h>
51531 #include <iconv.h>
51532 int
51533 main ()
51534 {
51535 iconv_t cd = iconv_open("","");
51536        iconv(cd,NULL,NULL,NULL,NULL);
51537        iconv_close(cd);
51538   ;
51539   return 0;
51540 }
51541 _ACEOF
51542 if ac_fn_c_try_link "$LINENO"; then :
51543   am_cv_func_iconv=yes
51544 fi
51545 rm -f core conftest.err conftest.$ac_objext \
51546     conftest$ac_exeext conftest.$ac_ext
51547     if test "$am_cv_func_iconv" != yes; then
51548       am_save_LIBS="$LIBS"
51549       LIBS="$LIBS $LIBICONV"
51550       if test x$gcc_no_link = xyes; then
51551   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51552 fi
51553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51554 /* end confdefs.h.  */
51555 #include <stdlib.h>
51556 #include <iconv.h>
51557 int
51558 main ()
51559 {
51560 iconv_t cd = iconv_open("","");
51561          iconv(cd,NULL,NULL,NULL,NULL);
51562          iconv_close(cd);
51563   ;
51564   return 0;
51565 }
51566 _ACEOF
51567 if ac_fn_c_try_link "$LINENO"; then :
51568   am_cv_lib_iconv=yes
51569         am_cv_func_iconv=yes
51570 fi
51571 rm -f core conftest.err conftest.$ac_objext \
51572     conftest$ac_exeext conftest.$ac_ext
51573       LIBS="$am_save_LIBS"
51574     fi
51575
51576 fi
51577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51578 $as_echo "$am_cv_func_iconv" >&6; }
51579   if test "$am_cv_func_iconv" = yes; then
51580
51581 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51582
51583   fi
51584   if test "$am_cv_lib_iconv" = yes; then
51585     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51586 $as_echo_n "checking how to link with libiconv... " >&6; }
51587     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51588 $as_echo "$LIBICONV" >&6; }
51589   else
51590             CPPFLAGS="$am_save_CPPFLAGS"
51591     LIBICONV=
51592     LTLIBICONV=
51593   fi
51594
51595
51596
51597   if test "$am_cv_func_iconv" = yes; then
51598     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51599 $as_echo_n "checking for iconv declaration... " >&6; }
51600     if test "${am_cv_proto_iconv+set}" = set; then :
51601   $as_echo_n "(cached) " >&6
51602 else
51603
51604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51605 /* end confdefs.h.  */
51606
51607 #include <stdlib.h>
51608 #include <iconv.h>
51609 extern
51610 #ifdef __cplusplus
51611 "C"
51612 #endif
51613 #if defined(__STDC__) || defined(__cplusplus)
51614 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51615 #else
51616 size_t iconv();
51617 #endif
51618
51619 int
51620 main ()
51621 {
51622
51623   ;
51624   return 0;
51625 }
51626 _ACEOF
51627 if ac_fn_c_try_compile "$LINENO"; then :
51628   am_cv_proto_iconv_arg1=""
51629 else
51630   am_cv_proto_iconv_arg1="const"
51631 fi
51632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51633       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);"
51634 fi
51635
51636     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51637     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51638          }$am_cv_proto_iconv" >&5
51639 $as_echo "${ac_t:-
51640          }$am_cv_proto_iconv" >&6; }
51641
51642 cat >>confdefs.h <<_ACEOF
51643 #define ICONV_CONST $am_cv_proto_iconv_arg1
51644 _ACEOF
51645
51646   fi
51647
51648     ;;
51649   *-mingw32*)
51650
51651   # If we're not using GNU ld, then there's no point in even trying these
51652   # tests.  Check for that first.  We should have already tested for gld
51653   # by now (in libtool), but require it now just to be safe...
51654   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51655   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51656
51657
51658
51659   # The name set by libtool depends on the version of libtool.  Shame on us
51660   # for depending on an impl detail, but c'est la vie.  Older versions used
51661   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51662   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51663   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51664   # set (hence we're using an older libtool), then set it.
51665   if test x${with_gnu_ld+set} != xset; then
51666     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51667       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51668       with_gnu_ld=no
51669     else
51670       with_gnu_ld=$ac_cv_prog_gnu_ld
51671     fi
51672   fi
51673
51674   # Start by getting the version number.  I think the libtool test already
51675   # does some of this, but throws away the result.
51676   glibcxx_ld_is_gold=no
51677   if test x"$with_gnu_ld" = x"yes"; then
51678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51679 $as_echo_n "checking for ld version... " >&6; }
51680
51681     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51682       glibcxx_ld_is_gold=yes
51683     fi
51684     ldver=`$LD --version 2>/dev/null |
51685            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'`
51686
51687     glibcxx_gnu_ld_version=`echo $ldver | \
51688            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51689     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51690 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51691   fi
51692
51693   # Set --gc-sections.
51694   glibcxx_have_gc_sections=no
51695   if test "$glibcxx_ld_is_gold" = "yes"; then
51696     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51697       glibcxx_have_gc_sections=yes
51698     fi
51699   else
51700     glibcxx_gcsections_min_ld=21602
51701     if test x"$with_gnu_ld" = x"yes" &&
51702         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51703       glibcxx_have_gc_sections=yes
51704     fi
51705   fi
51706   if test "$glibcxx_have_gc_sections" = "yes"; then
51707     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
51708     # NB: This flag only works reliably after 2.16.1. Configure tests
51709     # for this are difficult, so hard wire a value that should work.
51710
51711     ac_test_CFLAGS="${CFLAGS+set}"
51712     ac_save_CFLAGS="$CFLAGS"
51713     CFLAGS='-Wl,--gc-sections'
51714
51715     # Check for -Wl,--gc-sections
51716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51717 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51718     if test x$gcc_no_link = xyes; then
51719   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51720 fi
51721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51722 /* end confdefs.h.  */
51723  int one(void) { return 1; }
51724      int two(void) { return 2; }
51725
51726 int
51727 main ()
51728 {
51729  two();
51730   ;
51731   return 0;
51732 }
51733 _ACEOF
51734 if ac_fn_c_try_link "$LINENO"; then :
51735   ac_gcsections=yes
51736 else
51737   ac_gcsections=no
51738 fi
51739 rm -f core conftest.err conftest.$ac_objext \
51740     conftest$ac_exeext conftest.$ac_ext
51741     if test "$ac_gcsections" = "yes"; then
51742       rm -f conftest.c
51743       touch conftest.c
51744       if $CC -c conftest.c; then
51745         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51746            grep "Warning: gc-sections option ignored" > /dev/null; then
51747           ac_gcsections=no
51748         fi
51749       fi
51750       rm -f conftest.c conftest.o conftest
51751     fi
51752     if test "$ac_gcsections" = "yes"; then
51753       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51754     fi
51755     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51756 $as_echo "$ac_gcsections" >&6; }
51757
51758     if test "$ac_test_CFLAGS" = set; then
51759       CFLAGS="$ac_save_CFLAGS"
51760     else
51761       # this is the suspicious part
51762       CFLAGS=''
51763     fi
51764   fi
51765
51766   # Set -z,relro.
51767   # Note this is only for shared objects.
51768   ac_ld_relro=no
51769   if test x"$with_gnu_ld" = x"yes"; then
51770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51771 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51772     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51773     if test -n "$cxx_z_relo"; then
51774       OPT_LDFLAGS="-Wl,-z,relro"
51775       ac_ld_relro=yes
51776     fi
51777     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51778 $as_echo "$ac_ld_relro" >&6; }
51779   fi
51780
51781   # Set linker optimization flags.
51782   if test x"$with_gnu_ld" = x"yes"; then
51783     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51784   fi
51785
51786
51787
51788
51789
51790   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51791   ac_save_CXXFLAGS="$CXXFLAGS"
51792   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51793
51794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51795 $as_echo_n "checking for sin in -lm... " >&6; }
51796 if test "${ac_cv_lib_m_sin+set}" = set; then :
51797   $as_echo_n "(cached) " >&6
51798 else
51799   ac_check_lib_save_LIBS=$LIBS
51800 LIBS="-lm  $LIBS"
51801 if test x$gcc_no_link = xyes; then
51802   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51803 fi
51804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51805 /* end confdefs.h.  */
51806
51807 /* Override any GCC internal prototype to avoid an error.
51808    Use char because int might match the return type of a GCC
51809    builtin and then its argument prototype would still apply.  */
51810 #ifdef __cplusplus
51811 extern "C"
51812 #endif
51813 char sin ();
51814 int
51815 main ()
51816 {
51817 return sin ();
51818   ;
51819   return 0;
51820 }
51821 _ACEOF
51822 if ac_fn_c_try_link "$LINENO"; then :
51823   ac_cv_lib_m_sin=yes
51824 else
51825   ac_cv_lib_m_sin=no
51826 fi
51827 rm -f core conftest.err conftest.$ac_objext \
51828     conftest$ac_exeext conftest.$ac_ext
51829 LIBS=$ac_check_lib_save_LIBS
51830 fi
51831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51832 $as_echo "$ac_cv_lib_m_sin" >&6; }
51833 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51834   libm="-lm"
51835 fi
51836
51837   ac_save_LIBS="$LIBS"
51838   LIBS="$LIBS $libm"
51839
51840
51841
51842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51843 $as_echo_n "checking for isinf declaration... " >&6; }
51844   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51845     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51846   $as_echo_n "(cached) " >&6
51847 else
51848
51849
51850       ac_ext=cpp
51851 ac_cpp='$CXXCPP $CPPFLAGS'
51852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51855
51856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51857 /* end confdefs.h.  */
51858 #include <math.h>
51859                       #ifdef HAVE_IEEEFP_H
51860                       #include <ieeefp.h>
51861                       #endif
51862
51863 int
51864 main ()
51865 {
51866  isinf(0);
51867   ;
51868   return 0;
51869 }
51870 _ACEOF
51871 if ac_fn_cxx_try_compile "$LINENO"; then :
51872   glibcxx_cv_func_isinf_use=yes
51873 else
51874   glibcxx_cv_func_isinf_use=no
51875 fi
51876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51877       ac_ext=c
51878 ac_cpp='$CPP $CPPFLAGS'
51879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51882
51883
51884 fi
51885
51886   fi
51887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51888 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51889
51890   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51891     for ac_func in isinf
51892 do :
51893   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51894 if test "x$ac_cv_func_isinf" = x""yes; then :
51895   cat >>confdefs.h <<_ACEOF
51896 #define HAVE_ISINF 1
51897 _ACEOF
51898
51899 fi
51900 done
51901
51902   else
51903
51904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51905 $as_echo_n "checking for _isinf declaration... " >&6; }
51906   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51907     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51908   $as_echo_n "(cached) " >&6
51909 else
51910
51911
51912       ac_ext=cpp
51913 ac_cpp='$CXXCPP $CPPFLAGS'
51914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51917
51918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51919 /* end confdefs.h.  */
51920 #include <math.h>
51921                       #ifdef HAVE_IEEEFP_H
51922                       #include <ieeefp.h>
51923                       #endif
51924
51925 int
51926 main ()
51927 {
51928  _isinf(0);
51929   ;
51930   return 0;
51931 }
51932 _ACEOF
51933 if ac_fn_cxx_try_compile "$LINENO"; then :
51934   glibcxx_cv_func__isinf_use=yes
51935 else
51936   glibcxx_cv_func__isinf_use=no
51937 fi
51938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51939       ac_ext=c
51940 ac_cpp='$CPP $CPPFLAGS'
51941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51944
51945
51946 fi
51947
51948   fi
51949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51950 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51951
51952     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51953       for ac_func in _isinf
51954 do :
51955   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51956 if test "x$ac_cv_func__isinf" = x""yes; then :
51957   cat >>confdefs.h <<_ACEOF
51958 #define HAVE__ISINF 1
51959 _ACEOF
51960
51961 fi
51962 done
51963
51964     fi
51965   fi
51966
51967
51968
51969
51970
51971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51972 $as_echo_n "checking for isnan declaration... " >&6; }
51973   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51974     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51975   $as_echo_n "(cached) " >&6
51976 else
51977
51978
51979       ac_ext=cpp
51980 ac_cpp='$CXXCPP $CPPFLAGS'
51981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51984
51985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51986 /* end confdefs.h.  */
51987 #include <math.h>
51988                       #ifdef HAVE_IEEEFP_H
51989                       #include <ieeefp.h>
51990                       #endif
51991
51992 int
51993 main ()
51994 {
51995  isnan(0);
51996   ;
51997   return 0;
51998 }
51999 _ACEOF
52000 if ac_fn_cxx_try_compile "$LINENO"; then :
52001   glibcxx_cv_func_isnan_use=yes
52002 else
52003   glibcxx_cv_func_isnan_use=no
52004 fi
52005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52006       ac_ext=c
52007 ac_cpp='$CPP $CPPFLAGS'
52008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52011
52012
52013 fi
52014
52015   fi
52016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52017 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52018
52019   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52020     for ac_func in isnan
52021 do :
52022   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52023 if test "x$ac_cv_func_isnan" = x""yes; then :
52024   cat >>confdefs.h <<_ACEOF
52025 #define HAVE_ISNAN 1
52026 _ACEOF
52027
52028 fi
52029 done
52030
52031   else
52032
52033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52034 $as_echo_n "checking for _isnan declaration... " >&6; }
52035   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52036     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52037   $as_echo_n "(cached) " >&6
52038 else
52039
52040
52041       ac_ext=cpp
52042 ac_cpp='$CXXCPP $CPPFLAGS'
52043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52046
52047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52048 /* end confdefs.h.  */
52049 #include <math.h>
52050                       #ifdef HAVE_IEEEFP_H
52051                       #include <ieeefp.h>
52052                       #endif
52053
52054 int
52055 main ()
52056 {
52057  _isnan(0);
52058   ;
52059   return 0;
52060 }
52061 _ACEOF
52062 if ac_fn_cxx_try_compile "$LINENO"; then :
52063   glibcxx_cv_func__isnan_use=yes
52064 else
52065   glibcxx_cv_func__isnan_use=no
52066 fi
52067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52068       ac_ext=c
52069 ac_cpp='$CPP $CPPFLAGS'
52070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52073
52074
52075 fi
52076
52077   fi
52078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52079 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52080
52081     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52082       for ac_func in _isnan
52083 do :
52084   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52085 if test "x$ac_cv_func__isnan" = x""yes; then :
52086   cat >>confdefs.h <<_ACEOF
52087 #define HAVE__ISNAN 1
52088 _ACEOF
52089
52090 fi
52091 done
52092
52093     fi
52094   fi
52095
52096
52097
52098
52099
52100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52101 $as_echo_n "checking for finite declaration... " >&6; }
52102   if test x${glibcxx_cv_func_finite_use+set} != xset; then
52103     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52104   $as_echo_n "(cached) " >&6
52105 else
52106
52107
52108       ac_ext=cpp
52109 ac_cpp='$CXXCPP $CPPFLAGS'
52110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52113
52114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52115 /* end confdefs.h.  */
52116 #include <math.h>
52117                       #ifdef HAVE_IEEEFP_H
52118                       #include <ieeefp.h>
52119                       #endif
52120
52121 int
52122 main ()
52123 {
52124  finite(0);
52125   ;
52126   return 0;
52127 }
52128 _ACEOF
52129 if ac_fn_cxx_try_compile "$LINENO"; then :
52130   glibcxx_cv_func_finite_use=yes
52131 else
52132   glibcxx_cv_func_finite_use=no
52133 fi
52134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52135       ac_ext=c
52136 ac_cpp='$CPP $CPPFLAGS'
52137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52140
52141
52142 fi
52143
52144   fi
52145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52146 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52147
52148   if test x$glibcxx_cv_func_finite_use = x"yes"; then
52149     for ac_func in finite
52150 do :
52151   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52152 if test "x$ac_cv_func_finite" = x""yes; then :
52153   cat >>confdefs.h <<_ACEOF
52154 #define HAVE_FINITE 1
52155 _ACEOF
52156
52157 fi
52158 done
52159
52160   else
52161
52162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52163 $as_echo_n "checking for _finite declaration... " >&6; }
52164   if test x${glibcxx_cv_func__finite_use+set} != xset; then
52165     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52166   $as_echo_n "(cached) " >&6
52167 else
52168
52169
52170       ac_ext=cpp
52171 ac_cpp='$CXXCPP $CPPFLAGS'
52172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52175
52176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52177 /* end confdefs.h.  */
52178 #include <math.h>
52179                       #ifdef HAVE_IEEEFP_H
52180                       #include <ieeefp.h>
52181                       #endif
52182
52183 int
52184 main ()
52185 {
52186  _finite(0);
52187   ;
52188   return 0;
52189 }
52190 _ACEOF
52191 if ac_fn_cxx_try_compile "$LINENO"; then :
52192   glibcxx_cv_func__finite_use=yes
52193 else
52194   glibcxx_cv_func__finite_use=no
52195 fi
52196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52197       ac_ext=c
52198 ac_cpp='$CPP $CPPFLAGS'
52199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52202
52203
52204 fi
52205
52206   fi
52207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52208 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52209
52210     if test x$glibcxx_cv_func__finite_use = x"yes"; then
52211       for ac_func in _finite
52212 do :
52213   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52214 if test "x$ac_cv_func__finite" = x""yes; then :
52215   cat >>confdefs.h <<_ACEOF
52216 #define HAVE__FINITE 1
52217 _ACEOF
52218
52219 fi
52220 done
52221
52222     fi
52223   fi
52224
52225
52226
52227
52228
52229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52230 $as_echo_n "checking for sincos declaration... " >&6; }
52231   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52232     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52233   $as_echo_n "(cached) " >&6
52234 else
52235
52236
52237       ac_ext=cpp
52238 ac_cpp='$CXXCPP $CPPFLAGS'
52239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52242
52243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52244 /* end confdefs.h.  */
52245 #include <math.h>
52246 int
52247 main ()
52248 {
52249  sincos(0, 0, 0);
52250   ;
52251   return 0;
52252 }
52253 _ACEOF
52254 if ac_fn_cxx_try_compile "$LINENO"; then :
52255   glibcxx_cv_func_sincos_use=yes
52256 else
52257   glibcxx_cv_func_sincos_use=no
52258 fi
52259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52260       ac_ext=c
52261 ac_cpp='$CPP $CPPFLAGS'
52262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52265
52266
52267 fi
52268
52269   fi
52270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52271 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52272
52273   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52274     for ac_func in sincos
52275 do :
52276   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52277 if test "x$ac_cv_func_sincos" = x""yes; then :
52278   cat >>confdefs.h <<_ACEOF
52279 #define HAVE_SINCOS 1
52280 _ACEOF
52281
52282 fi
52283 done
52284
52285   else
52286
52287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52288 $as_echo_n "checking for _sincos declaration... " >&6; }
52289   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52290     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52291   $as_echo_n "(cached) " >&6
52292 else
52293
52294
52295       ac_ext=cpp
52296 ac_cpp='$CXXCPP $CPPFLAGS'
52297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52300
52301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52302 /* end confdefs.h.  */
52303 #include <math.h>
52304 int
52305 main ()
52306 {
52307  _sincos(0, 0, 0);
52308   ;
52309   return 0;
52310 }
52311 _ACEOF
52312 if ac_fn_cxx_try_compile "$LINENO"; then :
52313   glibcxx_cv_func__sincos_use=yes
52314 else
52315   glibcxx_cv_func__sincos_use=no
52316 fi
52317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52318       ac_ext=c
52319 ac_cpp='$CPP $CPPFLAGS'
52320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52323
52324
52325 fi
52326
52327   fi
52328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52329 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52330
52331     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52332       for ac_func in _sincos
52333 do :
52334   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52335 if test "x$ac_cv_func__sincos" = x""yes; then :
52336   cat >>confdefs.h <<_ACEOF
52337 #define HAVE__SINCOS 1
52338 _ACEOF
52339
52340 fi
52341 done
52342
52343     fi
52344   fi
52345
52346
52347
52348
52349
52350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52351 $as_echo_n "checking for fpclass declaration... " >&6; }
52352   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52353     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52354   $as_echo_n "(cached) " >&6
52355 else
52356
52357
52358       ac_ext=cpp
52359 ac_cpp='$CXXCPP $CPPFLAGS'
52360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52363
52364       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52365 /* end confdefs.h.  */
52366 #include <math.h>
52367                       #ifdef HAVE_IEEEFP_H
52368                       #include <ieeefp.h>
52369                       #endif
52370
52371 int
52372 main ()
52373 {
52374  fpclass(0);
52375   ;
52376   return 0;
52377 }
52378 _ACEOF
52379 if ac_fn_cxx_try_compile "$LINENO"; then :
52380   glibcxx_cv_func_fpclass_use=yes
52381 else
52382   glibcxx_cv_func_fpclass_use=no
52383 fi
52384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52385       ac_ext=c
52386 ac_cpp='$CPP $CPPFLAGS'
52387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52390
52391
52392 fi
52393
52394   fi
52395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52396 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52397
52398   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52399     for ac_func in fpclass
52400 do :
52401   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52402 if test "x$ac_cv_func_fpclass" = x""yes; then :
52403   cat >>confdefs.h <<_ACEOF
52404 #define HAVE_FPCLASS 1
52405 _ACEOF
52406
52407 fi
52408 done
52409
52410   else
52411
52412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52413 $as_echo_n "checking for _fpclass declaration... " >&6; }
52414   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52415     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52416   $as_echo_n "(cached) " >&6
52417 else
52418
52419
52420       ac_ext=cpp
52421 ac_cpp='$CXXCPP $CPPFLAGS'
52422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52425
52426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52427 /* end confdefs.h.  */
52428 #include <math.h>
52429                       #ifdef HAVE_IEEEFP_H
52430                       #include <ieeefp.h>
52431                       #endif
52432
52433 int
52434 main ()
52435 {
52436  _fpclass(0);
52437   ;
52438   return 0;
52439 }
52440 _ACEOF
52441 if ac_fn_cxx_try_compile "$LINENO"; then :
52442   glibcxx_cv_func__fpclass_use=yes
52443 else
52444   glibcxx_cv_func__fpclass_use=no
52445 fi
52446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52447       ac_ext=c
52448 ac_cpp='$CPP $CPPFLAGS'
52449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52452
52453
52454 fi
52455
52456   fi
52457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52458 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52459
52460     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52461       for ac_func in _fpclass
52462 do :
52463   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52464 if test "x$ac_cv_func__fpclass" = x""yes; then :
52465   cat >>confdefs.h <<_ACEOF
52466 #define HAVE__FPCLASS 1
52467 _ACEOF
52468
52469 fi
52470 done
52471
52472     fi
52473   fi
52474
52475
52476
52477
52478
52479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52480 $as_echo_n "checking for qfpclass declaration... " >&6; }
52481   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52482     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52483   $as_echo_n "(cached) " >&6
52484 else
52485
52486
52487       ac_ext=cpp
52488 ac_cpp='$CXXCPP $CPPFLAGS'
52489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52492
52493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52494 /* end confdefs.h.  */
52495 #include <math.h>
52496                       #ifdef HAVE_IEEEFP_H
52497                       #include <ieeefp.h>
52498                       #endif
52499
52500 int
52501 main ()
52502 {
52503  qfpclass(0);
52504   ;
52505   return 0;
52506 }
52507 _ACEOF
52508 if ac_fn_cxx_try_compile "$LINENO"; then :
52509   glibcxx_cv_func_qfpclass_use=yes
52510 else
52511   glibcxx_cv_func_qfpclass_use=no
52512 fi
52513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52514       ac_ext=c
52515 ac_cpp='$CPP $CPPFLAGS'
52516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52519
52520
52521 fi
52522
52523   fi
52524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52525 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52526
52527   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52528     for ac_func in qfpclass
52529 do :
52530   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52531 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52532   cat >>confdefs.h <<_ACEOF
52533 #define HAVE_QFPCLASS 1
52534 _ACEOF
52535
52536 fi
52537 done
52538
52539   else
52540
52541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52542 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52543   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52544     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52545   $as_echo_n "(cached) " >&6
52546 else
52547
52548
52549       ac_ext=cpp
52550 ac_cpp='$CXXCPP $CPPFLAGS'
52551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52554
52555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52556 /* end confdefs.h.  */
52557 #include <math.h>
52558                       #ifdef HAVE_IEEEFP_H
52559                       #include <ieeefp.h>
52560                       #endif
52561
52562 int
52563 main ()
52564 {
52565  _qfpclass(0);
52566   ;
52567   return 0;
52568 }
52569 _ACEOF
52570 if ac_fn_cxx_try_compile "$LINENO"; then :
52571   glibcxx_cv_func__qfpclass_use=yes
52572 else
52573   glibcxx_cv_func__qfpclass_use=no
52574 fi
52575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52576       ac_ext=c
52577 ac_cpp='$CPP $CPPFLAGS'
52578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52581
52582
52583 fi
52584
52585   fi
52586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52587 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52588
52589     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52590       for ac_func in _qfpclass
52591 do :
52592   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52593 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52594   cat >>confdefs.h <<_ACEOF
52595 #define HAVE__QFPCLASS 1
52596 _ACEOF
52597
52598 fi
52599 done
52600
52601     fi
52602   fi
52603
52604
52605
52606
52607
52608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52609 $as_echo_n "checking for hypot declaration... " >&6; }
52610   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52611     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52612   $as_echo_n "(cached) " >&6
52613 else
52614
52615
52616       ac_ext=cpp
52617 ac_cpp='$CXXCPP $CPPFLAGS'
52618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52621
52622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52623 /* end confdefs.h.  */
52624 #include <math.h>
52625 int
52626 main ()
52627 {
52628  hypot(0, 0);
52629   ;
52630   return 0;
52631 }
52632 _ACEOF
52633 if ac_fn_cxx_try_compile "$LINENO"; then :
52634   glibcxx_cv_func_hypot_use=yes
52635 else
52636   glibcxx_cv_func_hypot_use=no
52637 fi
52638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52639       ac_ext=c
52640 ac_cpp='$CPP $CPPFLAGS'
52641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52644
52645
52646 fi
52647
52648   fi
52649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52650 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52651
52652   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52653     for ac_func in hypot
52654 do :
52655   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52656 if test "x$ac_cv_func_hypot" = x""yes; then :
52657   cat >>confdefs.h <<_ACEOF
52658 #define HAVE_HYPOT 1
52659 _ACEOF
52660
52661 fi
52662 done
52663
52664   else
52665
52666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52667 $as_echo_n "checking for _hypot declaration... " >&6; }
52668   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52669     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52670   $as_echo_n "(cached) " >&6
52671 else
52672
52673
52674       ac_ext=cpp
52675 ac_cpp='$CXXCPP $CPPFLAGS'
52676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52679
52680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52681 /* end confdefs.h.  */
52682 #include <math.h>
52683 int
52684 main ()
52685 {
52686  _hypot(0, 0);
52687   ;
52688   return 0;
52689 }
52690 _ACEOF
52691 if ac_fn_cxx_try_compile "$LINENO"; then :
52692   glibcxx_cv_func__hypot_use=yes
52693 else
52694   glibcxx_cv_func__hypot_use=no
52695 fi
52696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52697       ac_ext=c
52698 ac_cpp='$CPP $CPPFLAGS'
52699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52702
52703
52704 fi
52705
52706   fi
52707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52708 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52709
52710     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52711       for ac_func in _hypot
52712 do :
52713   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52714 if test "x$ac_cv_func__hypot" = x""yes; then :
52715   cat >>confdefs.h <<_ACEOF
52716 #define HAVE__HYPOT 1
52717 _ACEOF
52718
52719 fi
52720 done
52721
52722     fi
52723   fi
52724
52725
52726
52727
52728
52729     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52730 $as_echo_n "checking for float trig functions... " >&6; }
52731   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52732   $as_echo_n "(cached) " >&6
52733 else
52734
52735
52736     ac_ext=cpp
52737 ac_cpp='$CXXCPP $CPPFLAGS'
52738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52741
52742     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52743 /* end confdefs.h.  */
52744 #include <math.h>
52745 int
52746 main ()
52747 {
52748 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52749   ;
52750   return 0;
52751 }
52752 _ACEOF
52753 if ac_fn_cxx_try_compile "$LINENO"; then :
52754   glibcxx_cv_func_float_trig_use=yes
52755 else
52756   glibcxx_cv_func_float_trig_use=no
52757 fi
52758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52759     ac_ext=c
52760 ac_cpp='$CPP $CPPFLAGS'
52761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52764
52765 fi
52766
52767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52768 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52769   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52770     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52771 do :
52772   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52773 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52774 eval as_val=\$$as_ac_var
52775    if test "x$as_val" = x""yes; then :
52776   cat >>confdefs.h <<_ACEOF
52777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52778 _ACEOF
52779
52780 fi
52781 done
52782
52783   else
52784     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52785 $as_echo_n "checking for _float trig functions... " >&6; }
52786     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52787   $as_echo_n "(cached) " >&6
52788 else
52789
52790
52791       ac_ext=cpp
52792 ac_cpp='$CXXCPP $CPPFLAGS'
52793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52796
52797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52798 /* end confdefs.h.  */
52799 #include <math.h>
52800 int
52801 main ()
52802 {
52803 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52804   ;
52805   return 0;
52806 }
52807 _ACEOF
52808 if ac_fn_cxx_try_compile "$LINENO"; then :
52809   glibcxx_cv_func__float_trig_use=yes
52810 else
52811   glibcxx_cv_func__float_trig_use=no
52812 fi
52813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52814       ac_ext=c
52815 ac_cpp='$CPP $CPPFLAGS'
52816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52819
52820 fi
52821
52822     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52823 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52824     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52825       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52826 do :
52827   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52828 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52829 eval as_val=\$$as_ac_var
52830    if test "x$as_val" = x""yes; then :
52831   cat >>confdefs.h <<_ACEOF
52832 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52833 _ACEOF
52834
52835 fi
52836 done
52837
52838     fi
52839   fi
52840
52841
52842
52843
52844
52845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52846 $as_echo_n "checking for float round functions... " >&6; }
52847   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52848   $as_echo_n "(cached) " >&6
52849 else
52850
52851
52852     ac_ext=cpp
52853 ac_cpp='$CXXCPP $CPPFLAGS'
52854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52857
52858     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52859 /* end confdefs.h.  */
52860 #include <math.h>
52861 int
52862 main ()
52863 {
52864 ceilf (0); floorf (0);
52865   ;
52866   return 0;
52867 }
52868 _ACEOF
52869 if ac_fn_cxx_try_compile "$LINENO"; then :
52870   glibcxx_cv_func_float_round_use=yes
52871 else
52872   glibcxx_cv_func_float_round_use=no
52873 fi
52874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52875     ac_ext=c
52876 ac_cpp='$CPP $CPPFLAGS'
52877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52880
52881 fi
52882
52883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52884 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52885   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52886     for ac_func in ceilf floorf
52887 do :
52888   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52890 eval as_val=\$$as_ac_var
52891    if test "x$as_val" = x""yes; then :
52892   cat >>confdefs.h <<_ACEOF
52893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52894 _ACEOF
52895
52896 fi
52897 done
52898
52899   else
52900     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52901 $as_echo_n "checking for _float round functions... " >&6; }
52902     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52903   $as_echo_n "(cached) " >&6
52904 else
52905
52906
52907       ac_ext=cpp
52908 ac_cpp='$CXXCPP $CPPFLAGS'
52909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52912
52913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52914 /* end confdefs.h.  */
52915 #include <math.h>
52916 int
52917 main ()
52918 {
52919 _ceilf (0); _floorf (0);
52920   ;
52921   return 0;
52922 }
52923 _ACEOF
52924 if ac_fn_cxx_try_compile "$LINENO"; then :
52925   glibcxx_cv_func__float_round_use=yes
52926 else
52927   glibcxx_cv_func__float_round_use=no
52928 fi
52929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52930       ac_ext=c
52931 ac_cpp='$CPP $CPPFLAGS'
52932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52935
52936 fi
52937
52938     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52939 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52940     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52941       for ac_func in _ceilf _floorf
52942 do :
52943   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52945 eval as_val=\$$as_ac_var
52946    if test "x$as_val" = x""yes; then :
52947   cat >>confdefs.h <<_ACEOF
52948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52949 _ACEOF
52950
52951 fi
52952 done
52953
52954     fi
52955   fi
52956
52957
52958
52959
52960
52961
52962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52963 $as_echo_n "checking for expf declaration... " >&6; }
52964   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52965     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52966   $as_echo_n "(cached) " >&6
52967 else
52968
52969
52970       ac_ext=cpp
52971 ac_cpp='$CXXCPP $CPPFLAGS'
52972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52975
52976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52977 /* end confdefs.h.  */
52978 #include <math.h>
52979                       #ifdef HAVE_IEEEFP_H
52980                       #include <ieeefp.h>
52981                       #endif
52982
52983 int
52984 main ()
52985 {
52986  expf(0);
52987   ;
52988   return 0;
52989 }
52990 _ACEOF
52991 if ac_fn_cxx_try_compile "$LINENO"; then :
52992   glibcxx_cv_func_expf_use=yes
52993 else
52994   glibcxx_cv_func_expf_use=no
52995 fi
52996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52997       ac_ext=c
52998 ac_cpp='$CPP $CPPFLAGS'
52999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53002
53003
53004 fi
53005
53006   fi
53007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53008 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53009
53010   if test x$glibcxx_cv_func_expf_use = x"yes"; then
53011     for ac_func in expf
53012 do :
53013   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53014 if test "x$ac_cv_func_expf" = x""yes; then :
53015   cat >>confdefs.h <<_ACEOF
53016 #define HAVE_EXPF 1
53017 _ACEOF
53018
53019 fi
53020 done
53021
53022   else
53023
53024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53025 $as_echo_n "checking for _expf declaration... " >&6; }
53026   if test x${glibcxx_cv_func__expf_use+set} != xset; then
53027     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53028   $as_echo_n "(cached) " >&6
53029 else
53030
53031
53032       ac_ext=cpp
53033 ac_cpp='$CXXCPP $CPPFLAGS'
53034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53037
53038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53039 /* end confdefs.h.  */
53040 #include <math.h>
53041                       #ifdef HAVE_IEEEFP_H
53042                       #include <ieeefp.h>
53043                       #endif
53044
53045 int
53046 main ()
53047 {
53048  _expf(0);
53049   ;
53050   return 0;
53051 }
53052 _ACEOF
53053 if ac_fn_cxx_try_compile "$LINENO"; then :
53054   glibcxx_cv_func__expf_use=yes
53055 else
53056   glibcxx_cv_func__expf_use=no
53057 fi
53058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53059       ac_ext=c
53060 ac_cpp='$CPP $CPPFLAGS'
53061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53064
53065
53066 fi
53067
53068   fi
53069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53070 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53071
53072     if test x$glibcxx_cv_func__expf_use = x"yes"; then
53073       for ac_func in _expf
53074 do :
53075   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53076 if test "x$ac_cv_func__expf" = x""yes; then :
53077   cat >>confdefs.h <<_ACEOF
53078 #define HAVE__EXPF 1
53079 _ACEOF
53080
53081 fi
53082 done
53083
53084     fi
53085   fi
53086
53087
53088
53089
53090
53091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53092 $as_echo_n "checking for isnanf declaration... " >&6; }
53093   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53094     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53095   $as_echo_n "(cached) " >&6
53096 else
53097
53098
53099       ac_ext=cpp
53100 ac_cpp='$CXXCPP $CPPFLAGS'
53101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53104
53105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53106 /* end confdefs.h.  */
53107 #include <math.h>
53108                       #ifdef HAVE_IEEEFP_H
53109                       #include <ieeefp.h>
53110                       #endif
53111
53112 int
53113 main ()
53114 {
53115  isnanf(0);
53116   ;
53117   return 0;
53118 }
53119 _ACEOF
53120 if ac_fn_cxx_try_compile "$LINENO"; then :
53121   glibcxx_cv_func_isnanf_use=yes
53122 else
53123   glibcxx_cv_func_isnanf_use=no
53124 fi
53125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53126       ac_ext=c
53127 ac_cpp='$CPP $CPPFLAGS'
53128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53131
53132
53133 fi
53134
53135   fi
53136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53137 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53138
53139   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53140     for ac_func in isnanf
53141 do :
53142   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53143 if test "x$ac_cv_func_isnanf" = x""yes; then :
53144   cat >>confdefs.h <<_ACEOF
53145 #define HAVE_ISNANF 1
53146 _ACEOF
53147
53148 fi
53149 done
53150
53151   else
53152
53153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53154 $as_echo_n "checking for _isnanf declaration... " >&6; }
53155   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53156     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53157   $as_echo_n "(cached) " >&6
53158 else
53159
53160
53161       ac_ext=cpp
53162 ac_cpp='$CXXCPP $CPPFLAGS'
53163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53166
53167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53168 /* end confdefs.h.  */
53169 #include <math.h>
53170                       #ifdef HAVE_IEEEFP_H
53171                       #include <ieeefp.h>
53172                       #endif
53173
53174 int
53175 main ()
53176 {
53177  _isnanf(0);
53178   ;
53179   return 0;
53180 }
53181 _ACEOF
53182 if ac_fn_cxx_try_compile "$LINENO"; then :
53183   glibcxx_cv_func__isnanf_use=yes
53184 else
53185   glibcxx_cv_func__isnanf_use=no
53186 fi
53187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53188       ac_ext=c
53189 ac_cpp='$CPP $CPPFLAGS'
53190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53193
53194
53195 fi
53196
53197   fi
53198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53199 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53200
53201     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53202       for ac_func in _isnanf
53203 do :
53204   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53205 if test "x$ac_cv_func__isnanf" = x""yes; then :
53206   cat >>confdefs.h <<_ACEOF
53207 #define HAVE__ISNANF 1
53208 _ACEOF
53209
53210 fi
53211 done
53212
53213     fi
53214   fi
53215
53216
53217
53218
53219
53220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53221 $as_echo_n "checking for isinff declaration... " >&6; }
53222   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53223     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53224   $as_echo_n "(cached) " >&6
53225 else
53226
53227
53228       ac_ext=cpp
53229 ac_cpp='$CXXCPP $CPPFLAGS'
53230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53233
53234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53235 /* end confdefs.h.  */
53236 #include <math.h>
53237                       #ifdef HAVE_IEEEFP_H
53238                       #include <ieeefp.h>
53239                       #endif
53240
53241 int
53242 main ()
53243 {
53244  isinff(0);
53245   ;
53246   return 0;
53247 }
53248 _ACEOF
53249 if ac_fn_cxx_try_compile "$LINENO"; then :
53250   glibcxx_cv_func_isinff_use=yes
53251 else
53252   glibcxx_cv_func_isinff_use=no
53253 fi
53254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53255       ac_ext=c
53256 ac_cpp='$CPP $CPPFLAGS'
53257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53260
53261
53262 fi
53263
53264   fi
53265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53266 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53267
53268   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53269     for ac_func in isinff
53270 do :
53271   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53272 if test "x$ac_cv_func_isinff" = x""yes; then :
53273   cat >>confdefs.h <<_ACEOF
53274 #define HAVE_ISINFF 1
53275 _ACEOF
53276
53277 fi
53278 done
53279
53280   else
53281
53282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53283 $as_echo_n "checking for _isinff declaration... " >&6; }
53284   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53285     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53286   $as_echo_n "(cached) " >&6
53287 else
53288
53289
53290       ac_ext=cpp
53291 ac_cpp='$CXXCPP $CPPFLAGS'
53292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53295
53296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53297 /* end confdefs.h.  */
53298 #include <math.h>
53299                       #ifdef HAVE_IEEEFP_H
53300                       #include <ieeefp.h>
53301                       #endif
53302
53303 int
53304 main ()
53305 {
53306  _isinff(0);
53307   ;
53308   return 0;
53309 }
53310 _ACEOF
53311 if ac_fn_cxx_try_compile "$LINENO"; then :
53312   glibcxx_cv_func__isinff_use=yes
53313 else
53314   glibcxx_cv_func__isinff_use=no
53315 fi
53316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53317       ac_ext=c
53318 ac_cpp='$CPP $CPPFLAGS'
53319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53322
53323
53324 fi
53325
53326   fi
53327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53328 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53329
53330     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53331       for ac_func in _isinff
53332 do :
53333   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53334 if test "x$ac_cv_func__isinff" = x""yes; then :
53335   cat >>confdefs.h <<_ACEOF
53336 #define HAVE__ISINFF 1
53337 _ACEOF
53338
53339 fi
53340 done
53341
53342     fi
53343   fi
53344
53345
53346
53347
53348
53349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53350 $as_echo_n "checking for atan2f declaration... " >&6; }
53351   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53352     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53353   $as_echo_n "(cached) " >&6
53354 else
53355
53356
53357       ac_ext=cpp
53358 ac_cpp='$CXXCPP $CPPFLAGS'
53359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53362
53363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53364 /* end confdefs.h.  */
53365 #include <math.h>
53366 int
53367 main ()
53368 {
53369  atan2f(0, 0);
53370   ;
53371   return 0;
53372 }
53373 _ACEOF
53374 if ac_fn_cxx_try_compile "$LINENO"; then :
53375   glibcxx_cv_func_atan2f_use=yes
53376 else
53377   glibcxx_cv_func_atan2f_use=no
53378 fi
53379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53380       ac_ext=c
53381 ac_cpp='$CPP $CPPFLAGS'
53382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53385
53386
53387 fi
53388
53389   fi
53390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53391 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53392
53393   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53394     for ac_func in atan2f
53395 do :
53396   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53397 if test "x$ac_cv_func_atan2f" = x""yes; then :
53398   cat >>confdefs.h <<_ACEOF
53399 #define HAVE_ATAN2F 1
53400 _ACEOF
53401
53402 fi
53403 done
53404
53405   else
53406
53407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53408 $as_echo_n "checking for _atan2f declaration... " >&6; }
53409   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53410     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53411   $as_echo_n "(cached) " >&6
53412 else
53413
53414
53415       ac_ext=cpp
53416 ac_cpp='$CXXCPP $CPPFLAGS'
53417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53420
53421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53422 /* end confdefs.h.  */
53423 #include <math.h>
53424 int
53425 main ()
53426 {
53427  _atan2f(0, 0);
53428   ;
53429   return 0;
53430 }
53431 _ACEOF
53432 if ac_fn_cxx_try_compile "$LINENO"; then :
53433   glibcxx_cv_func__atan2f_use=yes
53434 else
53435   glibcxx_cv_func__atan2f_use=no
53436 fi
53437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53438       ac_ext=c
53439 ac_cpp='$CPP $CPPFLAGS'
53440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53443
53444
53445 fi
53446
53447   fi
53448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53449 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53450
53451     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53452       for ac_func in _atan2f
53453 do :
53454   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53455 if test "x$ac_cv_func__atan2f" = x""yes; then :
53456   cat >>confdefs.h <<_ACEOF
53457 #define HAVE__ATAN2F 1
53458 _ACEOF
53459
53460 fi
53461 done
53462
53463     fi
53464   fi
53465
53466
53467
53468
53469
53470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53471 $as_echo_n "checking for fabsf declaration... " >&6; }
53472   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53473     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53474   $as_echo_n "(cached) " >&6
53475 else
53476
53477
53478       ac_ext=cpp
53479 ac_cpp='$CXXCPP $CPPFLAGS'
53480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53483
53484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53485 /* end confdefs.h.  */
53486 #include <math.h>
53487                       #ifdef HAVE_IEEEFP_H
53488                       #include <ieeefp.h>
53489                       #endif
53490
53491 int
53492 main ()
53493 {
53494  fabsf(0);
53495   ;
53496   return 0;
53497 }
53498 _ACEOF
53499 if ac_fn_cxx_try_compile "$LINENO"; then :
53500   glibcxx_cv_func_fabsf_use=yes
53501 else
53502   glibcxx_cv_func_fabsf_use=no
53503 fi
53504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53505       ac_ext=c
53506 ac_cpp='$CPP $CPPFLAGS'
53507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53510
53511
53512 fi
53513
53514   fi
53515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53516 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53517
53518   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53519     for ac_func in fabsf
53520 do :
53521   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53522 if test "x$ac_cv_func_fabsf" = x""yes; then :
53523   cat >>confdefs.h <<_ACEOF
53524 #define HAVE_FABSF 1
53525 _ACEOF
53526
53527 fi
53528 done
53529
53530   else
53531
53532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53533 $as_echo_n "checking for _fabsf declaration... " >&6; }
53534   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53535     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53536   $as_echo_n "(cached) " >&6
53537 else
53538
53539
53540       ac_ext=cpp
53541 ac_cpp='$CXXCPP $CPPFLAGS'
53542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53545
53546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53547 /* end confdefs.h.  */
53548 #include <math.h>
53549                       #ifdef HAVE_IEEEFP_H
53550                       #include <ieeefp.h>
53551                       #endif
53552
53553 int
53554 main ()
53555 {
53556  _fabsf(0);
53557   ;
53558   return 0;
53559 }
53560 _ACEOF
53561 if ac_fn_cxx_try_compile "$LINENO"; then :
53562   glibcxx_cv_func__fabsf_use=yes
53563 else
53564   glibcxx_cv_func__fabsf_use=no
53565 fi
53566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53567       ac_ext=c
53568 ac_cpp='$CPP $CPPFLAGS'
53569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53572
53573
53574 fi
53575
53576   fi
53577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53578 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53579
53580     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53581       for ac_func in _fabsf
53582 do :
53583   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53584 if test "x$ac_cv_func__fabsf" = x""yes; then :
53585   cat >>confdefs.h <<_ACEOF
53586 #define HAVE__FABSF 1
53587 _ACEOF
53588
53589 fi
53590 done
53591
53592     fi
53593   fi
53594
53595
53596
53597
53598
53599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53600 $as_echo_n "checking for fmodf declaration... " >&6; }
53601   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53602     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53603   $as_echo_n "(cached) " >&6
53604 else
53605
53606
53607       ac_ext=cpp
53608 ac_cpp='$CXXCPP $CPPFLAGS'
53609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53612
53613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53614 /* end confdefs.h.  */
53615 #include <math.h>
53616 int
53617 main ()
53618 {
53619  fmodf(0, 0);
53620   ;
53621   return 0;
53622 }
53623 _ACEOF
53624 if ac_fn_cxx_try_compile "$LINENO"; then :
53625   glibcxx_cv_func_fmodf_use=yes
53626 else
53627   glibcxx_cv_func_fmodf_use=no
53628 fi
53629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53630       ac_ext=c
53631 ac_cpp='$CPP $CPPFLAGS'
53632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53635
53636
53637 fi
53638
53639   fi
53640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53641 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53642
53643   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53644     for ac_func in fmodf
53645 do :
53646   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53647 if test "x$ac_cv_func_fmodf" = x""yes; then :
53648   cat >>confdefs.h <<_ACEOF
53649 #define HAVE_FMODF 1
53650 _ACEOF
53651
53652 fi
53653 done
53654
53655   else
53656
53657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53658 $as_echo_n "checking for _fmodf declaration... " >&6; }
53659   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53660     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53661   $as_echo_n "(cached) " >&6
53662 else
53663
53664
53665       ac_ext=cpp
53666 ac_cpp='$CXXCPP $CPPFLAGS'
53667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53670
53671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53672 /* end confdefs.h.  */
53673 #include <math.h>
53674 int
53675 main ()
53676 {
53677  _fmodf(0, 0);
53678   ;
53679   return 0;
53680 }
53681 _ACEOF
53682 if ac_fn_cxx_try_compile "$LINENO"; then :
53683   glibcxx_cv_func__fmodf_use=yes
53684 else
53685   glibcxx_cv_func__fmodf_use=no
53686 fi
53687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53688       ac_ext=c
53689 ac_cpp='$CPP $CPPFLAGS'
53690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53693
53694
53695 fi
53696
53697   fi
53698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53699 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53700
53701     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53702       for ac_func in _fmodf
53703 do :
53704   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53705 if test "x$ac_cv_func__fmodf" = x""yes; then :
53706   cat >>confdefs.h <<_ACEOF
53707 #define HAVE__FMODF 1
53708 _ACEOF
53709
53710 fi
53711 done
53712
53713     fi
53714   fi
53715
53716
53717
53718
53719
53720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53721 $as_echo_n "checking for frexpf declaration... " >&6; }
53722   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53723     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53724   $as_echo_n "(cached) " >&6
53725 else
53726
53727
53728       ac_ext=cpp
53729 ac_cpp='$CXXCPP $CPPFLAGS'
53730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53733
53734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53735 /* end confdefs.h.  */
53736 #include <math.h>
53737 int
53738 main ()
53739 {
53740  frexpf(0, 0);
53741   ;
53742   return 0;
53743 }
53744 _ACEOF
53745 if ac_fn_cxx_try_compile "$LINENO"; then :
53746   glibcxx_cv_func_frexpf_use=yes
53747 else
53748   glibcxx_cv_func_frexpf_use=no
53749 fi
53750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53751       ac_ext=c
53752 ac_cpp='$CPP $CPPFLAGS'
53753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53756
53757
53758 fi
53759
53760   fi
53761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53762 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53763
53764   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53765     for ac_func in frexpf
53766 do :
53767   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53768 if test "x$ac_cv_func_frexpf" = x""yes; then :
53769   cat >>confdefs.h <<_ACEOF
53770 #define HAVE_FREXPF 1
53771 _ACEOF
53772
53773 fi
53774 done
53775
53776   else
53777
53778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53779 $as_echo_n "checking for _frexpf declaration... " >&6; }
53780   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53781     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53782   $as_echo_n "(cached) " >&6
53783 else
53784
53785
53786       ac_ext=cpp
53787 ac_cpp='$CXXCPP $CPPFLAGS'
53788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53791
53792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53793 /* end confdefs.h.  */
53794 #include <math.h>
53795 int
53796 main ()
53797 {
53798  _frexpf(0, 0);
53799   ;
53800   return 0;
53801 }
53802 _ACEOF
53803 if ac_fn_cxx_try_compile "$LINENO"; then :
53804   glibcxx_cv_func__frexpf_use=yes
53805 else
53806   glibcxx_cv_func__frexpf_use=no
53807 fi
53808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53809       ac_ext=c
53810 ac_cpp='$CPP $CPPFLAGS'
53811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53814
53815
53816 fi
53817
53818   fi
53819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53820 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53821
53822     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53823       for ac_func in _frexpf
53824 do :
53825   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53826 if test "x$ac_cv_func__frexpf" = x""yes; then :
53827   cat >>confdefs.h <<_ACEOF
53828 #define HAVE__FREXPF 1
53829 _ACEOF
53830
53831 fi
53832 done
53833
53834     fi
53835   fi
53836
53837
53838
53839
53840
53841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53842 $as_echo_n "checking for hypotf declaration... " >&6; }
53843   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53844     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53845   $as_echo_n "(cached) " >&6
53846 else
53847
53848
53849       ac_ext=cpp
53850 ac_cpp='$CXXCPP $CPPFLAGS'
53851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53854
53855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53856 /* end confdefs.h.  */
53857 #include <math.h>
53858 int
53859 main ()
53860 {
53861  hypotf(0, 0);
53862   ;
53863   return 0;
53864 }
53865 _ACEOF
53866 if ac_fn_cxx_try_compile "$LINENO"; then :
53867   glibcxx_cv_func_hypotf_use=yes
53868 else
53869   glibcxx_cv_func_hypotf_use=no
53870 fi
53871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53872       ac_ext=c
53873 ac_cpp='$CPP $CPPFLAGS'
53874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53877
53878
53879 fi
53880
53881   fi
53882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53883 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53884
53885   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53886     for ac_func in hypotf
53887 do :
53888   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53889 if test "x$ac_cv_func_hypotf" = x""yes; then :
53890   cat >>confdefs.h <<_ACEOF
53891 #define HAVE_HYPOTF 1
53892 _ACEOF
53893
53894 fi
53895 done
53896
53897   else
53898
53899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53900 $as_echo_n "checking for _hypotf declaration... " >&6; }
53901   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53902     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53903   $as_echo_n "(cached) " >&6
53904 else
53905
53906
53907       ac_ext=cpp
53908 ac_cpp='$CXXCPP $CPPFLAGS'
53909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53912
53913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53914 /* end confdefs.h.  */
53915 #include <math.h>
53916 int
53917 main ()
53918 {
53919  _hypotf(0, 0);
53920   ;
53921   return 0;
53922 }
53923 _ACEOF
53924 if ac_fn_cxx_try_compile "$LINENO"; then :
53925   glibcxx_cv_func__hypotf_use=yes
53926 else
53927   glibcxx_cv_func__hypotf_use=no
53928 fi
53929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53930       ac_ext=c
53931 ac_cpp='$CPP $CPPFLAGS'
53932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53935
53936
53937 fi
53938
53939   fi
53940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53941 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53942
53943     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53944       for ac_func in _hypotf
53945 do :
53946   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53947 if test "x$ac_cv_func__hypotf" = x""yes; then :
53948   cat >>confdefs.h <<_ACEOF
53949 #define HAVE__HYPOTF 1
53950 _ACEOF
53951
53952 fi
53953 done
53954
53955     fi
53956   fi
53957
53958
53959
53960
53961
53962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53963 $as_echo_n "checking for ldexpf declaration... " >&6; }
53964   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53965     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53966   $as_echo_n "(cached) " >&6
53967 else
53968
53969
53970       ac_ext=cpp
53971 ac_cpp='$CXXCPP $CPPFLAGS'
53972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53975
53976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53977 /* end confdefs.h.  */
53978 #include <math.h>
53979 int
53980 main ()
53981 {
53982  ldexpf(0, 0);
53983   ;
53984   return 0;
53985 }
53986 _ACEOF
53987 if ac_fn_cxx_try_compile "$LINENO"; then :
53988   glibcxx_cv_func_ldexpf_use=yes
53989 else
53990   glibcxx_cv_func_ldexpf_use=no
53991 fi
53992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53993       ac_ext=c
53994 ac_cpp='$CPP $CPPFLAGS'
53995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53998
53999
54000 fi
54001
54002   fi
54003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54004 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54005
54006   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54007     for ac_func in ldexpf
54008 do :
54009   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54010 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54011   cat >>confdefs.h <<_ACEOF
54012 #define HAVE_LDEXPF 1
54013 _ACEOF
54014
54015 fi
54016 done
54017
54018   else
54019
54020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54021 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54022   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54023     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54024   $as_echo_n "(cached) " >&6
54025 else
54026
54027
54028       ac_ext=cpp
54029 ac_cpp='$CXXCPP $CPPFLAGS'
54030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54033
54034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54035 /* end confdefs.h.  */
54036 #include <math.h>
54037 int
54038 main ()
54039 {
54040  _ldexpf(0, 0);
54041   ;
54042   return 0;
54043 }
54044 _ACEOF
54045 if ac_fn_cxx_try_compile "$LINENO"; then :
54046   glibcxx_cv_func__ldexpf_use=yes
54047 else
54048   glibcxx_cv_func__ldexpf_use=no
54049 fi
54050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54051       ac_ext=c
54052 ac_cpp='$CPP $CPPFLAGS'
54053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54056
54057
54058 fi
54059
54060   fi
54061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54062 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54063
54064     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54065       for ac_func in _ldexpf
54066 do :
54067   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54068 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54069   cat >>confdefs.h <<_ACEOF
54070 #define HAVE__LDEXPF 1
54071 _ACEOF
54072
54073 fi
54074 done
54075
54076     fi
54077   fi
54078
54079
54080
54081
54082
54083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54084 $as_echo_n "checking for logf declaration... " >&6; }
54085   if test x${glibcxx_cv_func_logf_use+set} != xset; then
54086     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54087   $as_echo_n "(cached) " >&6
54088 else
54089
54090
54091       ac_ext=cpp
54092 ac_cpp='$CXXCPP $CPPFLAGS'
54093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54096
54097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54098 /* end confdefs.h.  */
54099 #include <math.h>
54100                       #ifdef HAVE_IEEEFP_H
54101                       #include <ieeefp.h>
54102                       #endif
54103
54104 int
54105 main ()
54106 {
54107  logf(0);
54108   ;
54109   return 0;
54110 }
54111 _ACEOF
54112 if ac_fn_cxx_try_compile "$LINENO"; then :
54113   glibcxx_cv_func_logf_use=yes
54114 else
54115   glibcxx_cv_func_logf_use=no
54116 fi
54117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54118       ac_ext=c
54119 ac_cpp='$CPP $CPPFLAGS'
54120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54123
54124
54125 fi
54126
54127   fi
54128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54129 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54130
54131   if test x$glibcxx_cv_func_logf_use = x"yes"; then
54132     for ac_func in logf
54133 do :
54134   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54135 if test "x$ac_cv_func_logf" = x""yes; then :
54136   cat >>confdefs.h <<_ACEOF
54137 #define HAVE_LOGF 1
54138 _ACEOF
54139
54140 fi
54141 done
54142
54143   else
54144
54145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54146 $as_echo_n "checking for _logf declaration... " >&6; }
54147   if test x${glibcxx_cv_func__logf_use+set} != xset; then
54148     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54149   $as_echo_n "(cached) " >&6
54150 else
54151
54152
54153       ac_ext=cpp
54154 ac_cpp='$CXXCPP $CPPFLAGS'
54155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54158
54159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54160 /* end confdefs.h.  */
54161 #include <math.h>
54162                       #ifdef HAVE_IEEEFP_H
54163                       #include <ieeefp.h>
54164                       #endif
54165
54166 int
54167 main ()
54168 {
54169  _logf(0);
54170   ;
54171   return 0;
54172 }
54173 _ACEOF
54174 if ac_fn_cxx_try_compile "$LINENO"; then :
54175   glibcxx_cv_func__logf_use=yes
54176 else
54177   glibcxx_cv_func__logf_use=no
54178 fi
54179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54180       ac_ext=c
54181 ac_cpp='$CPP $CPPFLAGS'
54182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54185
54186
54187 fi
54188
54189   fi
54190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54191 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54192
54193     if test x$glibcxx_cv_func__logf_use = x"yes"; then
54194       for ac_func in _logf
54195 do :
54196   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54197 if test "x$ac_cv_func__logf" = x""yes; then :
54198   cat >>confdefs.h <<_ACEOF
54199 #define HAVE__LOGF 1
54200 _ACEOF
54201
54202 fi
54203 done
54204
54205     fi
54206   fi
54207
54208
54209
54210
54211
54212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54213 $as_echo_n "checking for log10f declaration... " >&6; }
54214   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54215     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54216   $as_echo_n "(cached) " >&6
54217 else
54218
54219
54220       ac_ext=cpp
54221 ac_cpp='$CXXCPP $CPPFLAGS'
54222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54225
54226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54227 /* end confdefs.h.  */
54228 #include <math.h>
54229                       #ifdef HAVE_IEEEFP_H
54230                       #include <ieeefp.h>
54231                       #endif
54232
54233 int
54234 main ()
54235 {
54236  log10f(0);
54237   ;
54238   return 0;
54239 }
54240 _ACEOF
54241 if ac_fn_cxx_try_compile "$LINENO"; then :
54242   glibcxx_cv_func_log10f_use=yes
54243 else
54244   glibcxx_cv_func_log10f_use=no
54245 fi
54246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54247       ac_ext=c
54248 ac_cpp='$CPP $CPPFLAGS'
54249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54252
54253
54254 fi
54255
54256   fi
54257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54258 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54259
54260   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54261     for ac_func in log10f
54262 do :
54263   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54264 if test "x$ac_cv_func_log10f" = x""yes; then :
54265   cat >>confdefs.h <<_ACEOF
54266 #define HAVE_LOG10F 1
54267 _ACEOF
54268
54269 fi
54270 done
54271
54272   else
54273
54274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54275 $as_echo_n "checking for _log10f declaration... " >&6; }
54276   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54277     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54278   $as_echo_n "(cached) " >&6
54279 else
54280
54281
54282       ac_ext=cpp
54283 ac_cpp='$CXXCPP $CPPFLAGS'
54284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54287
54288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54289 /* end confdefs.h.  */
54290 #include <math.h>
54291                       #ifdef HAVE_IEEEFP_H
54292                       #include <ieeefp.h>
54293                       #endif
54294
54295 int
54296 main ()
54297 {
54298  _log10f(0);
54299   ;
54300   return 0;
54301 }
54302 _ACEOF
54303 if ac_fn_cxx_try_compile "$LINENO"; then :
54304   glibcxx_cv_func__log10f_use=yes
54305 else
54306   glibcxx_cv_func__log10f_use=no
54307 fi
54308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54309       ac_ext=c
54310 ac_cpp='$CPP $CPPFLAGS'
54311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54314
54315
54316 fi
54317
54318   fi
54319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54320 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54321
54322     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54323       for ac_func in _log10f
54324 do :
54325   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54326 if test "x$ac_cv_func__log10f" = x""yes; then :
54327   cat >>confdefs.h <<_ACEOF
54328 #define HAVE__LOG10F 1
54329 _ACEOF
54330
54331 fi
54332 done
54333
54334     fi
54335   fi
54336
54337
54338
54339
54340
54341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54342 $as_echo_n "checking for modff declaration... " >&6; }
54343   if test x${glibcxx_cv_func_modff_use+set} != xset; then
54344     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54345   $as_echo_n "(cached) " >&6
54346 else
54347
54348
54349       ac_ext=cpp
54350 ac_cpp='$CXXCPP $CPPFLAGS'
54351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54354
54355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54356 /* end confdefs.h.  */
54357 #include <math.h>
54358 int
54359 main ()
54360 {
54361  modff(0, 0);
54362   ;
54363   return 0;
54364 }
54365 _ACEOF
54366 if ac_fn_cxx_try_compile "$LINENO"; then :
54367   glibcxx_cv_func_modff_use=yes
54368 else
54369   glibcxx_cv_func_modff_use=no
54370 fi
54371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54372       ac_ext=c
54373 ac_cpp='$CPP $CPPFLAGS'
54374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54377
54378
54379 fi
54380
54381   fi
54382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54383 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54384
54385   if test x$glibcxx_cv_func_modff_use = x"yes"; then
54386     for ac_func in modff
54387 do :
54388   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54389 if test "x$ac_cv_func_modff" = x""yes; then :
54390   cat >>confdefs.h <<_ACEOF
54391 #define HAVE_MODFF 1
54392 _ACEOF
54393
54394 fi
54395 done
54396
54397   else
54398
54399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54400 $as_echo_n "checking for _modff declaration... " >&6; }
54401   if test x${glibcxx_cv_func__modff_use+set} != xset; then
54402     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54403   $as_echo_n "(cached) " >&6
54404 else
54405
54406
54407       ac_ext=cpp
54408 ac_cpp='$CXXCPP $CPPFLAGS'
54409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54412
54413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54414 /* end confdefs.h.  */
54415 #include <math.h>
54416 int
54417 main ()
54418 {
54419  _modff(0, 0);
54420   ;
54421   return 0;
54422 }
54423 _ACEOF
54424 if ac_fn_cxx_try_compile "$LINENO"; then :
54425   glibcxx_cv_func__modff_use=yes
54426 else
54427   glibcxx_cv_func__modff_use=no
54428 fi
54429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54430       ac_ext=c
54431 ac_cpp='$CPP $CPPFLAGS'
54432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54435
54436
54437 fi
54438
54439   fi
54440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54441 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54442
54443     if test x$glibcxx_cv_func__modff_use = x"yes"; then
54444       for ac_func in _modff
54445 do :
54446   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54447 if test "x$ac_cv_func__modff" = x""yes; then :
54448   cat >>confdefs.h <<_ACEOF
54449 #define HAVE__MODFF 1
54450 _ACEOF
54451
54452 fi
54453 done
54454
54455     fi
54456   fi
54457
54458
54459
54460
54461
54462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54463 $as_echo_n "checking for modf declaration... " >&6; }
54464   if test x${glibcxx_cv_func_modf_use+set} != xset; then
54465     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54466   $as_echo_n "(cached) " >&6
54467 else
54468
54469
54470       ac_ext=cpp
54471 ac_cpp='$CXXCPP $CPPFLAGS'
54472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54475
54476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54477 /* end confdefs.h.  */
54478 #include <math.h>
54479 int
54480 main ()
54481 {
54482  modf(0, 0);
54483   ;
54484   return 0;
54485 }
54486 _ACEOF
54487 if ac_fn_cxx_try_compile "$LINENO"; then :
54488   glibcxx_cv_func_modf_use=yes
54489 else
54490   glibcxx_cv_func_modf_use=no
54491 fi
54492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54493       ac_ext=c
54494 ac_cpp='$CPP $CPPFLAGS'
54495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54498
54499
54500 fi
54501
54502   fi
54503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54504 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54505
54506   if test x$glibcxx_cv_func_modf_use = x"yes"; then
54507     for ac_func in modf
54508 do :
54509   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54510 if test "x$ac_cv_func_modf" = x""yes; then :
54511   cat >>confdefs.h <<_ACEOF
54512 #define HAVE_MODF 1
54513 _ACEOF
54514
54515 fi
54516 done
54517
54518   else
54519
54520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54521 $as_echo_n "checking for _modf declaration... " >&6; }
54522   if test x${glibcxx_cv_func__modf_use+set} != xset; then
54523     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54524   $as_echo_n "(cached) " >&6
54525 else
54526
54527
54528       ac_ext=cpp
54529 ac_cpp='$CXXCPP $CPPFLAGS'
54530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54533
54534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54535 /* end confdefs.h.  */
54536 #include <math.h>
54537 int
54538 main ()
54539 {
54540  _modf(0, 0);
54541   ;
54542   return 0;
54543 }
54544 _ACEOF
54545 if ac_fn_cxx_try_compile "$LINENO"; then :
54546   glibcxx_cv_func__modf_use=yes
54547 else
54548   glibcxx_cv_func__modf_use=no
54549 fi
54550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54551       ac_ext=c
54552 ac_cpp='$CPP $CPPFLAGS'
54553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54556
54557
54558 fi
54559
54560   fi
54561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54562 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54563
54564     if test x$glibcxx_cv_func__modf_use = x"yes"; then
54565       for ac_func in _modf
54566 do :
54567   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54568 if test "x$ac_cv_func__modf" = x""yes; then :
54569   cat >>confdefs.h <<_ACEOF
54570 #define HAVE__MODF 1
54571 _ACEOF
54572
54573 fi
54574 done
54575
54576     fi
54577   fi
54578
54579
54580
54581
54582
54583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54584 $as_echo_n "checking for powf declaration... " >&6; }
54585   if test x${glibcxx_cv_func_powf_use+set} != xset; then
54586     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54587   $as_echo_n "(cached) " >&6
54588 else
54589
54590
54591       ac_ext=cpp
54592 ac_cpp='$CXXCPP $CPPFLAGS'
54593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54596
54597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54598 /* end confdefs.h.  */
54599 #include <math.h>
54600 int
54601 main ()
54602 {
54603  powf(0, 0);
54604   ;
54605   return 0;
54606 }
54607 _ACEOF
54608 if ac_fn_cxx_try_compile "$LINENO"; then :
54609   glibcxx_cv_func_powf_use=yes
54610 else
54611   glibcxx_cv_func_powf_use=no
54612 fi
54613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54614       ac_ext=c
54615 ac_cpp='$CPP $CPPFLAGS'
54616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54619
54620
54621 fi
54622
54623   fi
54624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54625 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54626
54627   if test x$glibcxx_cv_func_powf_use = x"yes"; then
54628     for ac_func in powf
54629 do :
54630   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54631 if test "x$ac_cv_func_powf" = x""yes; then :
54632   cat >>confdefs.h <<_ACEOF
54633 #define HAVE_POWF 1
54634 _ACEOF
54635
54636 fi
54637 done
54638
54639   else
54640
54641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54642 $as_echo_n "checking for _powf declaration... " >&6; }
54643   if test x${glibcxx_cv_func__powf_use+set} != xset; then
54644     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54645   $as_echo_n "(cached) " >&6
54646 else
54647
54648
54649       ac_ext=cpp
54650 ac_cpp='$CXXCPP $CPPFLAGS'
54651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54654
54655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54656 /* end confdefs.h.  */
54657 #include <math.h>
54658 int
54659 main ()
54660 {
54661  _powf(0, 0);
54662   ;
54663   return 0;
54664 }
54665 _ACEOF
54666 if ac_fn_cxx_try_compile "$LINENO"; then :
54667   glibcxx_cv_func__powf_use=yes
54668 else
54669   glibcxx_cv_func__powf_use=no
54670 fi
54671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54672       ac_ext=c
54673 ac_cpp='$CPP $CPPFLAGS'
54674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54677
54678
54679 fi
54680
54681   fi
54682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54683 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54684
54685     if test x$glibcxx_cv_func__powf_use = x"yes"; then
54686       for ac_func in _powf
54687 do :
54688   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54689 if test "x$ac_cv_func__powf" = x""yes; then :
54690   cat >>confdefs.h <<_ACEOF
54691 #define HAVE__POWF 1
54692 _ACEOF
54693
54694 fi
54695 done
54696
54697     fi
54698   fi
54699
54700
54701
54702
54703
54704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54705 $as_echo_n "checking for sqrtf declaration... " >&6; }
54706   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54707     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54708   $as_echo_n "(cached) " >&6
54709 else
54710
54711
54712       ac_ext=cpp
54713 ac_cpp='$CXXCPP $CPPFLAGS'
54714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54717
54718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54719 /* end confdefs.h.  */
54720 #include <math.h>
54721                       #ifdef HAVE_IEEEFP_H
54722                       #include <ieeefp.h>
54723                       #endif
54724
54725 int
54726 main ()
54727 {
54728  sqrtf(0);
54729   ;
54730   return 0;
54731 }
54732 _ACEOF
54733 if ac_fn_cxx_try_compile "$LINENO"; then :
54734   glibcxx_cv_func_sqrtf_use=yes
54735 else
54736   glibcxx_cv_func_sqrtf_use=no
54737 fi
54738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54739       ac_ext=c
54740 ac_cpp='$CPP $CPPFLAGS'
54741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54744
54745
54746 fi
54747
54748   fi
54749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54750 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54751
54752   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54753     for ac_func in sqrtf
54754 do :
54755   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54756 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54757   cat >>confdefs.h <<_ACEOF
54758 #define HAVE_SQRTF 1
54759 _ACEOF
54760
54761 fi
54762 done
54763
54764   else
54765
54766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54767 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54768   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54769     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54770   $as_echo_n "(cached) " >&6
54771 else
54772
54773
54774       ac_ext=cpp
54775 ac_cpp='$CXXCPP $CPPFLAGS'
54776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54779
54780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54781 /* end confdefs.h.  */
54782 #include <math.h>
54783                       #ifdef HAVE_IEEEFP_H
54784                       #include <ieeefp.h>
54785                       #endif
54786
54787 int
54788 main ()
54789 {
54790  _sqrtf(0);
54791   ;
54792   return 0;
54793 }
54794 _ACEOF
54795 if ac_fn_cxx_try_compile "$LINENO"; then :
54796   glibcxx_cv_func__sqrtf_use=yes
54797 else
54798   glibcxx_cv_func__sqrtf_use=no
54799 fi
54800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54801       ac_ext=c
54802 ac_cpp='$CPP $CPPFLAGS'
54803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54806
54807
54808 fi
54809
54810   fi
54811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54812 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54813
54814     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54815       for ac_func in _sqrtf
54816 do :
54817   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54818 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54819   cat >>confdefs.h <<_ACEOF
54820 #define HAVE__SQRTF 1
54821 _ACEOF
54822
54823 fi
54824 done
54825
54826     fi
54827   fi
54828
54829
54830
54831
54832
54833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54834 $as_echo_n "checking for sincosf declaration... " >&6; }
54835   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54836     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54837   $as_echo_n "(cached) " >&6
54838 else
54839
54840
54841       ac_ext=cpp
54842 ac_cpp='$CXXCPP $CPPFLAGS'
54843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54846
54847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54848 /* end confdefs.h.  */
54849 #include <math.h>
54850 int
54851 main ()
54852 {
54853  sincosf(0, 0, 0);
54854   ;
54855   return 0;
54856 }
54857 _ACEOF
54858 if ac_fn_cxx_try_compile "$LINENO"; then :
54859   glibcxx_cv_func_sincosf_use=yes
54860 else
54861   glibcxx_cv_func_sincosf_use=no
54862 fi
54863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54864       ac_ext=c
54865 ac_cpp='$CPP $CPPFLAGS'
54866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54869
54870
54871 fi
54872
54873   fi
54874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54875 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54876
54877   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54878     for ac_func in sincosf
54879 do :
54880   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54881 if test "x$ac_cv_func_sincosf" = x""yes; then :
54882   cat >>confdefs.h <<_ACEOF
54883 #define HAVE_SINCOSF 1
54884 _ACEOF
54885
54886 fi
54887 done
54888
54889   else
54890
54891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54892 $as_echo_n "checking for _sincosf declaration... " >&6; }
54893   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54894     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54895   $as_echo_n "(cached) " >&6
54896 else
54897
54898
54899       ac_ext=cpp
54900 ac_cpp='$CXXCPP $CPPFLAGS'
54901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54904
54905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54906 /* end confdefs.h.  */
54907 #include <math.h>
54908 int
54909 main ()
54910 {
54911  _sincosf(0, 0, 0);
54912   ;
54913   return 0;
54914 }
54915 _ACEOF
54916 if ac_fn_cxx_try_compile "$LINENO"; then :
54917   glibcxx_cv_func__sincosf_use=yes
54918 else
54919   glibcxx_cv_func__sincosf_use=no
54920 fi
54921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54922       ac_ext=c
54923 ac_cpp='$CPP $CPPFLAGS'
54924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54927
54928
54929 fi
54930
54931   fi
54932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54933 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54934
54935     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54936       for ac_func in _sincosf
54937 do :
54938   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54939 if test "x$ac_cv_func__sincosf" = x""yes; then :
54940   cat >>confdefs.h <<_ACEOF
54941 #define HAVE__SINCOSF 1
54942 _ACEOF
54943
54944 fi
54945 done
54946
54947     fi
54948   fi
54949
54950
54951
54952
54953
54954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54955 $as_echo_n "checking for finitef declaration... " >&6; }
54956   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54957     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54958   $as_echo_n "(cached) " >&6
54959 else
54960
54961
54962       ac_ext=cpp
54963 ac_cpp='$CXXCPP $CPPFLAGS'
54964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54967
54968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54969 /* end confdefs.h.  */
54970 #include <math.h>
54971                       #ifdef HAVE_IEEEFP_H
54972                       #include <ieeefp.h>
54973                       #endif
54974
54975 int
54976 main ()
54977 {
54978  finitef(0);
54979   ;
54980   return 0;
54981 }
54982 _ACEOF
54983 if ac_fn_cxx_try_compile "$LINENO"; then :
54984   glibcxx_cv_func_finitef_use=yes
54985 else
54986   glibcxx_cv_func_finitef_use=no
54987 fi
54988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54989       ac_ext=c
54990 ac_cpp='$CPP $CPPFLAGS'
54991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54994
54995
54996 fi
54997
54998   fi
54999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55000 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55001
55002   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55003     for ac_func in finitef
55004 do :
55005   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55006 if test "x$ac_cv_func_finitef" = x""yes; then :
55007   cat >>confdefs.h <<_ACEOF
55008 #define HAVE_FINITEF 1
55009 _ACEOF
55010
55011 fi
55012 done
55013
55014   else
55015
55016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55017 $as_echo_n "checking for _finitef declaration... " >&6; }
55018   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55019     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55020   $as_echo_n "(cached) " >&6
55021 else
55022
55023
55024       ac_ext=cpp
55025 ac_cpp='$CXXCPP $CPPFLAGS'
55026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55029
55030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55031 /* end confdefs.h.  */
55032 #include <math.h>
55033                       #ifdef HAVE_IEEEFP_H
55034                       #include <ieeefp.h>
55035                       #endif
55036
55037 int
55038 main ()
55039 {
55040  _finitef(0);
55041   ;
55042   return 0;
55043 }
55044 _ACEOF
55045 if ac_fn_cxx_try_compile "$LINENO"; then :
55046   glibcxx_cv_func__finitef_use=yes
55047 else
55048   glibcxx_cv_func__finitef_use=no
55049 fi
55050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55051       ac_ext=c
55052 ac_cpp='$CPP $CPPFLAGS'
55053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55056
55057
55058 fi
55059
55060   fi
55061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55062 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55063
55064     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55065       for ac_func in _finitef
55066 do :
55067   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55068 if test "x$ac_cv_func__finitef" = x""yes; then :
55069   cat >>confdefs.h <<_ACEOF
55070 #define HAVE__FINITEF 1
55071 _ACEOF
55072
55073 fi
55074 done
55075
55076     fi
55077   fi
55078
55079
55080
55081
55082
55083     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55084 $as_echo_n "checking for long double trig functions... " >&6; }
55085   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55086   $as_echo_n "(cached) " >&6
55087 else
55088
55089
55090     ac_ext=cpp
55091 ac_cpp='$CXXCPP $CPPFLAGS'
55092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55095
55096     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55097 /* end confdefs.h.  */
55098 #include <math.h>
55099 int
55100 main ()
55101 {
55102 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55103   ;
55104   return 0;
55105 }
55106 _ACEOF
55107 if ac_fn_cxx_try_compile "$LINENO"; then :
55108   glibcxx_cv_func_long_double_trig_use=yes
55109 else
55110   glibcxx_cv_func_long_double_trig_use=no
55111 fi
55112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55113     ac_ext=c
55114 ac_cpp='$CPP $CPPFLAGS'
55115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55118
55119 fi
55120
55121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55122 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55123   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55124     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55125 do :
55126   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55128 eval as_val=\$$as_ac_var
55129    if test "x$as_val" = x""yes; then :
55130   cat >>confdefs.h <<_ACEOF
55131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55132 _ACEOF
55133
55134 fi
55135 done
55136
55137   else
55138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55139 $as_echo_n "checking for _long double trig functions... " >&6; }
55140     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55141   $as_echo_n "(cached) " >&6
55142 else
55143
55144
55145       ac_ext=cpp
55146 ac_cpp='$CXXCPP $CPPFLAGS'
55147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55150
55151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55152 /* end confdefs.h.  */
55153 #include <math.h>
55154 int
55155 main ()
55156 {
55157 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55158   ;
55159   return 0;
55160 }
55161 _ACEOF
55162 if ac_fn_cxx_try_compile "$LINENO"; then :
55163   glibcxx_cv_func__long_double_trig_use=yes
55164 else
55165   glibcxx_cv_func__long_double_trig_use=no
55166 fi
55167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55168       ac_ext=c
55169 ac_cpp='$CPP $CPPFLAGS'
55170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55173
55174 fi
55175
55176     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55177 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55178     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55179       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55180 do :
55181   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55183 eval as_val=\$$as_ac_var
55184    if test "x$as_val" = x""yes; then :
55185   cat >>confdefs.h <<_ACEOF
55186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55187 _ACEOF
55188
55189 fi
55190 done
55191
55192     fi
55193   fi
55194
55195
55196
55197
55198
55199     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55200 $as_echo_n "checking for long double round functions... " >&6; }
55201   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55202   $as_echo_n "(cached) " >&6
55203 else
55204
55205
55206     ac_ext=cpp
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55211
55212     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h.  */
55214 #include <math.h>
55215 int
55216 main ()
55217 {
55218 ceill (0); floorl (0);
55219   ;
55220   return 0;
55221 }
55222 _ACEOF
55223 if ac_fn_cxx_try_compile "$LINENO"; then :
55224   glibcxx_cv_func_long_double_round_use=yes
55225 else
55226   glibcxx_cv_func_long_double_round_use=no
55227 fi
55228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55229     ac_ext=c
55230 ac_cpp='$CPP $CPPFLAGS'
55231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55234
55235 fi
55236
55237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55238 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55239   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55240     for ac_func in ceill floorl
55241 do :
55242   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55244 eval as_val=\$$as_ac_var
55245    if test "x$as_val" = x""yes; then :
55246   cat >>confdefs.h <<_ACEOF
55247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55248 _ACEOF
55249
55250 fi
55251 done
55252
55253   else
55254     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55255 $as_echo_n "checking for _long double round functions... " >&6; }
55256     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55257   $as_echo_n "(cached) " >&6
55258 else
55259
55260
55261       ac_ext=cpp
55262 ac_cpp='$CXXCPP $CPPFLAGS'
55263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55266
55267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55268 /* end confdefs.h.  */
55269 #include <math.h>
55270 int
55271 main ()
55272 {
55273 _ceill (0); _floorl (0);
55274   ;
55275   return 0;
55276 }
55277 _ACEOF
55278 if ac_fn_cxx_try_compile "$LINENO"; then :
55279   glibcxx_cv_func__long_double_round_use=yes
55280 else
55281   glibcxx_cv_func__long_double_round_use=no
55282 fi
55283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55284       ac_ext=c
55285 ac_cpp='$CPP $CPPFLAGS'
55286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55289
55290 fi
55291
55292     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55293 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55294     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55295       for ac_func in _ceill _floorl
55296 do :
55297   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55298 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55299 eval as_val=\$$as_ac_var
55300    if test "x$as_val" = x""yes; then :
55301   cat >>confdefs.h <<_ACEOF
55302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55303 _ACEOF
55304
55305 fi
55306 done
55307
55308     fi
55309   fi
55310
55311
55312
55313
55314
55315
55316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55317 $as_echo_n "checking for isnanl declaration... " >&6; }
55318   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55319     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55320   $as_echo_n "(cached) " >&6
55321 else
55322
55323
55324       ac_ext=cpp
55325 ac_cpp='$CXXCPP $CPPFLAGS'
55326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55329
55330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55331 /* end confdefs.h.  */
55332 #include <math.h>
55333                       #ifdef HAVE_IEEEFP_H
55334                       #include <ieeefp.h>
55335                       #endif
55336
55337 int
55338 main ()
55339 {
55340  isnanl(0);
55341   ;
55342   return 0;
55343 }
55344 _ACEOF
55345 if ac_fn_cxx_try_compile "$LINENO"; then :
55346   glibcxx_cv_func_isnanl_use=yes
55347 else
55348   glibcxx_cv_func_isnanl_use=no
55349 fi
55350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55351       ac_ext=c
55352 ac_cpp='$CPP $CPPFLAGS'
55353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55356
55357
55358 fi
55359
55360   fi
55361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55362 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55363
55364   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55365     for ac_func in isnanl
55366 do :
55367   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55368 if test "x$ac_cv_func_isnanl" = x""yes; then :
55369   cat >>confdefs.h <<_ACEOF
55370 #define HAVE_ISNANL 1
55371 _ACEOF
55372
55373 fi
55374 done
55375
55376   else
55377
55378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55379 $as_echo_n "checking for _isnanl declaration... " >&6; }
55380   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55381     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55382   $as_echo_n "(cached) " >&6
55383 else
55384
55385
55386       ac_ext=cpp
55387 ac_cpp='$CXXCPP $CPPFLAGS'
55388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55391
55392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55393 /* end confdefs.h.  */
55394 #include <math.h>
55395                       #ifdef HAVE_IEEEFP_H
55396                       #include <ieeefp.h>
55397                       #endif
55398
55399 int
55400 main ()
55401 {
55402  _isnanl(0);
55403   ;
55404   return 0;
55405 }
55406 _ACEOF
55407 if ac_fn_cxx_try_compile "$LINENO"; then :
55408   glibcxx_cv_func__isnanl_use=yes
55409 else
55410   glibcxx_cv_func__isnanl_use=no
55411 fi
55412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55413       ac_ext=c
55414 ac_cpp='$CPP $CPPFLAGS'
55415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55418
55419
55420 fi
55421
55422   fi
55423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55424 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55425
55426     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55427       for ac_func in _isnanl
55428 do :
55429   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55430 if test "x$ac_cv_func__isnanl" = x""yes; then :
55431   cat >>confdefs.h <<_ACEOF
55432 #define HAVE__ISNANL 1
55433 _ACEOF
55434
55435 fi
55436 done
55437
55438     fi
55439   fi
55440
55441
55442
55443
55444
55445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55446 $as_echo_n "checking for isinfl declaration... " >&6; }
55447   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55448     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55449   $as_echo_n "(cached) " >&6
55450 else
55451
55452
55453       ac_ext=cpp
55454 ac_cpp='$CXXCPP $CPPFLAGS'
55455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55458
55459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55460 /* end confdefs.h.  */
55461 #include <math.h>
55462                       #ifdef HAVE_IEEEFP_H
55463                       #include <ieeefp.h>
55464                       #endif
55465
55466 int
55467 main ()
55468 {
55469  isinfl(0);
55470   ;
55471   return 0;
55472 }
55473 _ACEOF
55474 if ac_fn_cxx_try_compile "$LINENO"; then :
55475   glibcxx_cv_func_isinfl_use=yes
55476 else
55477   glibcxx_cv_func_isinfl_use=no
55478 fi
55479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55480       ac_ext=c
55481 ac_cpp='$CPP $CPPFLAGS'
55482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55485
55486
55487 fi
55488
55489   fi
55490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55491 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55492
55493   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55494     for ac_func in isinfl
55495 do :
55496   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55497 if test "x$ac_cv_func_isinfl" = x""yes; then :
55498   cat >>confdefs.h <<_ACEOF
55499 #define HAVE_ISINFL 1
55500 _ACEOF
55501
55502 fi
55503 done
55504
55505   else
55506
55507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55508 $as_echo_n "checking for _isinfl declaration... " >&6; }
55509   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55510     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55511   $as_echo_n "(cached) " >&6
55512 else
55513
55514
55515       ac_ext=cpp
55516 ac_cpp='$CXXCPP $CPPFLAGS'
55517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55520
55521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55522 /* end confdefs.h.  */
55523 #include <math.h>
55524                       #ifdef HAVE_IEEEFP_H
55525                       #include <ieeefp.h>
55526                       #endif
55527
55528 int
55529 main ()
55530 {
55531  _isinfl(0);
55532   ;
55533   return 0;
55534 }
55535 _ACEOF
55536 if ac_fn_cxx_try_compile "$LINENO"; then :
55537   glibcxx_cv_func__isinfl_use=yes
55538 else
55539   glibcxx_cv_func__isinfl_use=no
55540 fi
55541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55542       ac_ext=c
55543 ac_cpp='$CPP $CPPFLAGS'
55544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55547
55548
55549 fi
55550
55551   fi
55552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55553 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55554
55555     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55556       for ac_func in _isinfl
55557 do :
55558   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55559 if test "x$ac_cv_func__isinfl" = x""yes; then :
55560   cat >>confdefs.h <<_ACEOF
55561 #define HAVE__ISINFL 1
55562 _ACEOF
55563
55564 fi
55565 done
55566
55567     fi
55568   fi
55569
55570
55571
55572
55573
55574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55575 $as_echo_n "checking for atan2l declaration... " >&6; }
55576   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55577     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55578   $as_echo_n "(cached) " >&6
55579 else
55580
55581
55582       ac_ext=cpp
55583 ac_cpp='$CXXCPP $CPPFLAGS'
55584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55587
55588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55589 /* end confdefs.h.  */
55590 #include <math.h>
55591 int
55592 main ()
55593 {
55594  atan2l(0, 0);
55595   ;
55596   return 0;
55597 }
55598 _ACEOF
55599 if ac_fn_cxx_try_compile "$LINENO"; then :
55600   glibcxx_cv_func_atan2l_use=yes
55601 else
55602   glibcxx_cv_func_atan2l_use=no
55603 fi
55604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55605       ac_ext=c
55606 ac_cpp='$CPP $CPPFLAGS'
55607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55610
55611
55612 fi
55613
55614   fi
55615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55616 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55617
55618   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55619     for ac_func in atan2l
55620 do :
55621   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55622 if test "x$ac_cv_func_atan2l" = x""yes; then :
55623   cat >>confdefs.h <<_ACEOF
55624 #define HAVE_ATAN2L 1
55625 _ACEOF
55626
55627 fi
55628 done
55629
55630   else
55631
55632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55633 $as_echo_n "checking for _atan2l declaration... " >&6; }
55634   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55635     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55636   $as_echo_n "(cached) " >&6
55637 else
55638
55639
55640       ac_ext=cpp
55641 ac_cpp='$CXXCPP $CPPFLAGS'
55642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55645
55646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55647 /* end confdefs.h.  */
55648 #include <math.h>
55649 int
55650 main ()
55651 {
55652  _atan2l(0, 0);
55653   ;
55654   return 0;
55655 }
55656 _ACEOF
55657 if ac_fn_cxx_try_compile "$LINENO"; then :
55658   glibcxx_cv_func__atan2l_use=yes
55659 else
55660   glibcxx_cv_func__atan2l_use=no
55661 fi
55662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55663       ac_ext=c
55664 ac_cpp='$CPP $CPPFLAGS'
55665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55668
55669
55670 fi
55671
55672   fi
55673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55674 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55675
55676     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55677       for ac_func in _atan2l
55678 do :
55679   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55680 if test "x$ac_cv_func__atan2l" = x""yes; then :
55681   cat >>confdefs.h <<_ACEOF
55682 #define HAVE__ATAN2L 1
55683 _ACEOF
55684
55685 fi
55686 done
55687
55688     fi
55689   fi
55690
55691
55692
55693
55694
55695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55696 $as_echo_n "checking for expl declaration... " >&6; }
55697   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55698     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55699   $as_echo_n "(cached) " >&6
55700 else
55701
55702
55703       ac_ext=cpp
55704 ac_cpp='$CXXCPP $CPPFLAGS'
55705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55708
55709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55710 /* end confdefs.h.  */
55711 #include <math.h>
55712                       #ifdef HAVE_IEEEFP_H
55713                       #include <ieeefp.h>
55714                       #endif
55715
55716 int
55717 main ()
55718 {
55719  expl(0);
55720   ;
55721   return 0;
55722 }
55723 _ACEOF
55724 if ac_fn_cxx_try_compile "$LINENO"; then :
55725   glibcxx_cv_func_expl_use=yes
55726 else
55727   glibcxx_cv_func_expl_use=no
55728 fi
55729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55730       ac_ext=c
55731 ac_cpp='$CPP $CPPFLAGS'
55732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55735
55736
55737 fi
55738
55739   fi
55740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55741 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55742
55743   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55744     for ac_func in expl
55745 do :
55746   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55747 if test "x$ac_cv_func_expl" = x""yes; then :
55748   cat >>confdefs.h <<_ACEOF
55749 #define HAVE_EXPL 1
55750 _ACEOF
55751
55752 fi
55753 done
55754
55755   else
55756
55757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55758 $as_echo_n "checking for _expl declaration... " >&6; }
55759   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55760     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55761   $as_echo_n "(cached) " >&6
55762 else
55763
55764
55765       ac_ext=cpp
55766 ac_cpp='$CXXCPP $CPPFLAGS'
55767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55770
55771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55772 /* end confdefs.h.  */
55773 #include <math.h>
55774                       #ifdef HAVE_IEEEFP_H
55775                       #include <ieeefp.h>
55776                       #endif
55777
55778 int
55779 main ()
55780 {
55781  _expl(0);
55782   ;
55783   return 0;
55784 }
55785 _ACEOF
55786 if ac_fn_cxx_try_compile "$LINENO"; then :
55787   glibcxx_cv_func__expl_use=yes
55788 else
55789   glibcxx_cv_func__expl_use=no
55790 fi
55791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55792       ac_ext=c
55793 ac_cpp='$CPP $CPPFLAGS'
55794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55797
55798
55799 fi
55800
55801   fi
55802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55803 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55804
55805     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55806       for ac_func in _expl
55807 do :
55808   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55809 if test "x$ac_cv_func__expl" = x""yes; then :
55810   cat >>confdefs.h <<_ACEOF
55811 #define HAVE__EXPL 1
55812 _ACEOF
55813
55814 fi
55815 done
55816
55817     fi
55818   fi
55819
55820
55821
55822
55823
55824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55825 $as_echo_n "checking for fabsl declaration... " >&6; }
55826   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55827     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55828   $as_echo_n "(cached) " >&6
55829 else
55830
55831
55832       ac_ext=cpp
55833 ac_cpp='$CXXCPP $CPPFLAGS'
55834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55837
55838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55839 /* end confdefs.h.  */
55840 #include <math.h>
55841                       #ifdef HAVE_IEEEFP_H
55842                       #include <ieeefp.h>
55843                       #endif
55844
55845 int
55846 main ()
55847 {
55848  fabsl(0);
55849   ;
55850   return 0;
55851 }
55852 _ACEOF
55853 if ac_fn_cxx_try_compile "$LINENO"; then :
55854   glibcxx_cv_func_fabsl_use=yes
55855 else
55856   glibcxx_cv_func_fabsl_use=no
55857 fi
55858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55859       ac_ext=c
55860 ac_cpp='$CPP $CPPFLAGS'
55861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55864
55865
55866 fi
55867
55868   fi
55869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55870 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55871
55872   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55873     for ac_func in fabsl
55874 do :
55875   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55876 if test "x$ac_cv_func_fabsl" = x""yes; then :
55877   cat >>confdefs.h <<_ACEOF
55878 #define HAVE_FABSL 1
55879 _ACEOF
55880
55881 fi
55882 done
55883
55884   else
55885
55886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55887 $as_echo_n "checking for _fabsl declaration... " >&6; }
55888   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55889     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55890   $as_echo_n "(cached) " >&6
55891 else
55892
55893
55894       ac_ext=cpp
55895 ac_cpp='$CXXCPP $CPPFLAGS'
55896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55899
55900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55901 /* end confdefs.h.  */
55902 #include <math.h>
55903                       #ifdef HAVE_IEEEFP_H
55904                       #include <ieeefp.h>
55905                       #endif
55906
55907 int
55908 main ()
55909 {
55910  _fabsl(0);
55911   ;
55912   return 0;
55913 }
55914 _ACEOF
55915 if ac_fn_cxx_try_compile "$LINENO"; then :
55916   glibcxx_cv_func__fabsl_use=yes
55917 else
55918   glibcxx_cv_func__fabsl_use=no
55919 fi
55920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55921       ac_ext=c
55922 ac_cpp='$CPP $CPPFLAGS'
55923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55926
55927
55928 fi
55929
55930   fi
55931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55932 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55933
55934     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55935       for ac_func in _fabsl
55936 do :
55937   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55938 if test "x$ac_cv_func__fabsl" = x""yes; then :
55939   cat >>confdefs.h <<_ACEOF
55940 #define HAVE__FABSL 1
55941 _ACEOF
55942
55943 fi
55944 done
55945
55946     fi
55947   fi
55948
55949
55950
55951
55952
55953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55954 $as_echo_n "checking for fmodl declaration... " >&6; }
55955   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55956     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55957   $as_echo_n "(cached) " >&6
55958 else
55959
55960
55961       ac_ext=cpp
55962 ac_cpp='$CXXCPP $CPPFLAGS'
55963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55966
55967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55968 /* end confdefs.h.  */
55969 #include <math.h>
55970 int
55971 main ()
55972 {
55973  fmodl(0, 0);
55974   ;
55975   return 0;
55976 }
55977 _ACEOF
55978 if ac_fn_cxx_try_compile "$LINENO"; then :
55979   glibcxx_cv_func_fmodl_use=yes
55980 else
55981   glibcxx_cv_func_fmodl_use=no
55982 fi
55983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55984       ac_ext=c
55985 ac_cpp='$CPP $CPPFLAGS'
55986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55989
55990
55991 fi
55992
55993   fi
55994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55995 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55996
55997   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55998     for ac_func in fmodl
55999 do :
56000   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56001 if test "x$ac_cv_func_fmodl" = x""yes; then :
56002   cat >>confdefs.h <<_ACEOF
56003 #define HAVE_FMODL 1
56004 _ACEOF
56005
56006 fi
56007 done
56008
56009   else
56010
56011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56012 $as_echo_n "checking for _fmodl declaration... " >&6; }
56013   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56014     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56015   $as_echo_n "(cached) " >&6
56016 else
56017
56018
56019       ac_ext=cpp
56020 ac_cpp='$CXXCPP $CPPFLAGS'
56021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56024
56025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56026 /* end confdefs.h.  */
56027 #include <math.h>
56028 int
56029 main ()
56030 {
56031  _fmodl(0, 0);
56032   ;
56033   return 0;
56034 }
56035 _ACEOF
56036 if ac_fn_cxx_try_compile "$LINENO"; then :
56037   glibcxx_cv_func__fmodl_use=yes
56038 else
56039   glibcxx_cv_func__fmodl_use=no
56040 fi
56041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56042       ac_ext=c
56043 ac_cpp='$CPP $CPPFLAGS'
56044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56047
56048
56049 fi
56050
56051   fi
56052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56053 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56054
56055     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56056       for ac_func in _fmodl
56057 do :
56058   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56059 if test "x$ac_cv_func__fmodl" = x""yes; then :
56060   cat >>confdefs.h <<_ACEOF
56061 #define HAVE__FMODL 1
56062 _ACEOF
56063
56064 fi
56065 done
56066
56067     fi
56068   fi
56069
56070
56071
56072
56073
56074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56075 $as_echo_n "checking for frexpl declaration... " >&6; }
56076   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56077     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56078   $as_echo_n "(cached) " >&6
56079 else
56080
56081
56082       ac_ext=cpp
56083 ac_cpp='$CXXCPP $CPPFLAGS'
56084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56087
56088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h.  */
56090 #include <math.h>
56091 int
56092 main ()
56093 {
56094  frexpl(0, 0);
56095   ;
56096   return 0;
56097 }
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100   glibcxx_cv_func_frexpl_use=yes
56101 else
56102   glibcxx_cv_func_frexpl_use=no
56103 fi
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105       ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56110
56111
56112 fi
56113
56114   fi
56115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56116 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56117
56118   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56119     for ac_func in frexpl
56120 do :
56121   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56122 if test "x$ac_cv_func_frexpl" = x""yes; then :
56123   cat >>confdefs.h <<_ACEOF
56124 #define HAVE_FREXPL 1
56125 _ACEOF
56126
56127 fi
56128 done
56129
56130   else
56131
56132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56133 $as_echo_n "checking for _frexpl declaration... " >&6; }
56134   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56135     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56136   $as_echo_n "(cached) " >&6
56137 else
56138
56139
56140       ac_ext=cpp
56141 ac_cpp='$CXXCPP $CPPFLAGS'
56142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56145
56146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56147 /* end confdefs.h.  */
56148 #include <math.h>
56149 int
56150 main ()
56151 {
56152  _frexpl(0, 0);
56153   ;
56154   return 0;
56155 }
56156 _ACEOF
56157 if ac_fn_cxx_try_compile "$LINENO"; then :
56158   glibcxx_cv_func__frexpl_use=yes
56159 else
56160   glibcxx_cv_func__frexpl_use=no
56161 fi
56162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56163       ac_ext=c
56164 ac_cpp='$CPP $CPPFLAGS'
56165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56168
56169
56170 fi
56171
56172   fi
56173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56174 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56175
56176     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56177       for ac_func in _frexpl
56178 do :
56179   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56180 if test "x$ac_cv_func__frexpl" = x""yes; then :
56181   cat >>confdefs.h <<_ACEOF
56182 #define HAVE__FREXPL 1
56183 _ACEOF
56184
56185 fi
56186 done
56187
56188     fi
56189   fi
56190
56191
56192
56193
56194
56195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56196 $as_echo_n "checking for hypotl declaration... " >&6; }
56197   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56198     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56199   $as_echo_n "(cached) " >&6
56200 else
56201
56202
56203       ac_ext=cpp
56204 ac_cpp='$CXXCPP $CPPFLAGS'
56205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56208
56209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56210 /* end confdefs.h.  */
56211 #include <math.h>
56212 int
56213 main ()
56214 {
56215  hypotl(0, 0);
56216   ;
56217   return 0;
56218 }
56219 _ACEOF
56220 if ac_fn_cxx_try_compile "$LINENO"; then :
56221   glibcxx_cv_func_hypotl_use=yes
56222 else
56223   glibcxx_cv_func_hypotl_use=no
56224 fi
56225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56226       ac_ext=c
56227 ac_cpp='$CPP $CPPFLAGS'
56228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56231
56232
56233 fi
56234
56235   fi
56236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56237 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56238
56239   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56240     for ac_func in hypotl
56241 do :
56242   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56243 if test "x$ac_cv_func_hypotl" = x""yes; then :
56244   cat >>confdefs.h <<_ACEOF
56245 #define HAVE_HYPOTL 1
56246 _ACEOF
56247
56248 fi
56249 done
56250
56251   else
56252
56253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56254 $as_echo_n "checking for _hypotl declaration... " >&6; }
56255   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56256     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56257   $as_echo_n "(cached) " >&6
56258 else
56259
56260
56261       ac_ext=cpp
56262 ac_cpp='$CXXCPP $CPPFLAGS'
56263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56266
56267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56268 /* end confdefs.h.  */
56269 #include <math.h>
56270 int
56271 main ()
56272 {
56273  _hypotl(0, 0);
56274   ;
56275   return 0;
56276 }
56277 _ACEOF
56278 if ac_fn_cxx_try_compile "$LINENO"; then :
56279   glibcxx_cv_func__hypotl_use=yes
56280 else
56281   glibcxx_cv_func__hypotl_use=no
56282 fi
56283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56284       ac_ext=c
56285 ac_cpp='$CPP $CPPFLAGS'
56286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56289
56290
56291 fi
56292
56293   fi
56294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56295 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56296
56297     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56298       for ac_func in _hypotl
56299 do :
56300   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56301 if test "x$ac_cv_func__hypotl" = x""yes; then :
56302   cat >>confdefs.h <<_ACEOF
56303 #define HAVE__HYPOTL 1
56304 _ACEOF
56305
56306 fi
56307 done
56308
56309     fi
56310   fi
56311
56312
56313
56314
56315
56316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56317 $as_echo_n "checking for ldexpl declaration... " >&6; }
56318   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56319     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56320   $as_echo_n "(cached) " >&6
56321 else
56322
56323
56324       ac_ext=cpp
56325 ac_cpp='$CXXCPP $CPPFLAGS'
56326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56329
56330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56331 /* end confdefs.h.  */
56332 #include <math.h>
56333 int
56334 main ()
56335 {
56336  ldexpl(0, 0);
56337   ;
56338   return 0;
56339 }
56340 _ACEOF
56341 if ac_fn_cxx_try_compile "$LINENO"; then :
56342   glibcxx_cv_func_ldexpl_use=yes
56343 else
56344   glibcxx_cv_func_ldexpl_use=no
56345 fi
56346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56347       ac_ext=c
56348 ac_cpp='$CPP $CPPFLAGS'
56349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56352
56353
56354 fi
56355
56356   fi
56357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56358 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56359
56360   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56361     for ac_func in ldexpl
56362 do :
56363   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56364 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56365   cat >>confdefs.h <<_ACEOF
56366 #define HAVE_LDEXPL 1
56367 _ACEOF
56368
56369 fi
56370 done
56371
56372   else
56373
56374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56375 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56376   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56377     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56378   $as_echo_n "(cached) " >&6
56379 else
56380
56381
56382       ac_ext=cpp
56383 ac_cpp='$CXXCPP $CPPFLAGS'
56384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56387
56388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56389 /* end confdefs.h.  */
56390 #include <math.h>
56391 int
56392 main ()
56393 {
56394  _ldexpl(0, 0);
56395   ;
56396   return 0;
56397 }
56398 _ACEOF
56399 if ac_fn_cxx_try_compile "$LINENO"; then :
56400   glibcxx_cv_func__ldexpl_use=yes
56401 else
56402   glibcxx_cv_func__ldexpl_use=no
56403 fi
56404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56405       ac_ext=c
56406 ac_cpp='$CPP $CPPFLAGS'
56407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56410
56411
56412 fi
56413
56414   fi
56415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56416 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56417
56418     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56419       for ac_func in _ldexpl
56420 do :
56421   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56422 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56423   cat >>confdefs.h <<_ACEOF
56424 #define HAVE__LDEXPL 1
56425 _ACEOF
56426
56427 fi
56428 done
56429
56430     fi
56431   fi
56432
56433
56434
56435
56436
56437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56438 $as_echo_n "checking for logl declaration... " >&6; }
56439   if test x${glibcxx_cv_func_logl_use+set} != xset; then
56440     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56441   $as_echo_n "(cached) " >&6
56442 else
56443
56444
56445       ac_ext=cpp
56446 ac_cpp='$CXXCPP $CPPFLAGS'
56447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56450
56451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56452 /* end confdefs.h.  */
56453 #include <math.h>
56454                       #ifdef HAVE_IEEEFP_H
56455                       #include <ieeefp.h>
56456                       #endif
56457
56458 int
56459 main ()
56460 {
56461  logl(0);
56462   ;
56463   return 0;
56464 }
56465 _ACEOF
56466 if ac_fn_cxx_try_compile "$LINENO"; then :
56467   glibcxx_cv_func_logl_use=yes
56468 else
56469   glibcxx_cv_func_logl_use=no
56470 fi
56471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56472       ac_ext=c
56473 ac_cpp='$CPP $CPPFLAGS'
56474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56477
56478
56479 fi
56480
56481   fi
56482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56483 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56484
56485   if test x$glibcxx_cv_func_logl_use = x"yes"; then
56486     for ac_func in logl
56487 do :
56488   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56489 if test "x$ac_cv_func_logl" = x""yes; then :
56490   cat >>confdefs.h <<_ACEOF
56491 #define HAVE_LOGL 1
56492 _ACEOF
56493
56494 fi
56495 done
56496
56497   else
56498
56499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56500 $as_echo_n "checking for _logl declaration... " >&6; }
56501   if test x${glibcxx_cv_func__logl_use+set} != xset; then
56502     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56503   $as_echo_n "(cached) " >&6
56504 else
56505
56506
56507       ac_ext=cpp
56508 ac_cpp='$CXXCPP $CPPFLAGS'
56509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56512
56513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56514 /* end confdefs.h.  */
56515 #include <math.h>
56516                       #ifdef HAVE_IEEEFP_H
56517                       #include <ieeefp.h>
56518                       #endif
56519
56520 int
56521 main ()
56522 {
56523  _logl(0);
56524   ;
56525   return 0;
56526 }
56527 _ACEOF
56528 if ac_fn_cxx_try_compile "$LINENO"; then :
56529   glibcxx_cv_func__logl_use=yes
56530 else
56531   glibcxx_cv_func__logl_use=no
56532 fi
56533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56534       ac_ext=c
56535 ac_cpp='$CPP $CPPFLAGS'
56536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56539
56540
56541 fi
56542
56543   fi
56544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56545 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56546
56547     if test x$glibcxx_cv_func__logl_use = x"yes"; then
56548       for ac_func in _logl
56549 do :
56550   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56551 if test "x$ac_cv_func__logl" = x""yes; then :
56552   cat >>confdefs.h <<_ACEOF
56553 #define HAVE__LOGL 1
56554 _ACEOF
56555
56556 fi
56557 done
56558
56559     fi
56560   fi
56561
56562
56563
56564
56565
56566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56567 $as_echo_n "checking for log10l declaration... " >&6; }
56568   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56569     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56570   $as_echo_n "(cached) " >&6
56571 else
56572
56573
56574       ac_ext=cpp
56575 ac_cpp='$CXXCPP $CPPFLAGS'
56576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56579
56580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56581 /* end confdefs.h.  */
56582 #include <math.h>
56583                       #ifdef HAVE_IEEEFP_H
56584                       #include <ieeefp.h>
56585                       #endif
56586
56587 int
56588 main ()
56589 {
56590  log10l(0);
56591   ;
56592   return 0;
56593 }
56594 _ACEOF
56595 if ac_fn_cxx_try_compile "$LINENO"; then :
56596   glibcxx_cv_func_log10l_use=yes
56597 else
56598   glibcxx_cv_func_log10l_use=no
56599 fi
56600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56601       ac_ext=c
56602 ac_cpp='$CPP $CPPFLAGS'
56603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56606
56607
56608 fi
56609
56610   fi
56611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56612 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56613
56614   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56615     for ac_func in log10l
56616 do :
56617   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56618 if test "x$ac_cv_func_log10l" = x""yes; then :
56619   cat >>confdefs.h <<_ACEOF
56620 #define HAVE_LOG10L 1
56621 _ACEOF
56622
56623 fi
56624 done
56625
56626   else
56627
56628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56629 $as_echo_n "checking for _log10l declaration... " >&6; }
56630   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56631     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56632   $as_echo_n "(cached) " >&6
56633 else
56634
56635
56636       ac_ext=cpp
56637 ac_cpp='$CXXCPP $CPPFLAGS'
56638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56641
56642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56643 /* end confdefs.h.  */
56644 #include <math.h>
56645                       #ifdef HAVE_IEEEFP_H
56646                       #include <ieeefp.h>
56647                       #endif
56648
56649 int
56650 main ()
56651 {
56652  _log10l(0);
56653   ;
56654   return 0;
56655 }
56656 _ACEOF
56657 if ac_fn_cxx_try_compile "$LINENO"; then :
56658   glibcxx_cv_func__log10l_use=yes
56659 else
56660   glibcxx_cv_func__log10l_use=no
56661 fi
56662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56663       ac_ext=c
56664 ac_cpp='$CPP $CPPFLAGS'
56665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56668
56669
56670 fi
56671
56672   fi
56673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56674 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56675
56676     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56677       for ac_func in _log10l
56678 do :
56679   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56680 if test "x$ac_cv_func__log10l" = x""yes; then :
56681   cat >>confdefs.h <<_ACEOF
56682 #define HAVE__LOG10L 1
56683 _ACEOF
56684
56685 fi
56686 done
56687
56688     fi
56689   fi
56690
56691
56692
56693
56694
56695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56696 $as_echo_n "checking for modfl declaration... " >&6; }
56697   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56698     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56699   $as_echo_n "(cached) " >&6
56700 else
56701
56702
56703       ac_ext=cpp
56704 ac_cpp='$CXXCPP $CPPFLAGS'
56705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56708
56709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56710 /* end confdefs.h.  */
56711 #include <math.h>
56712 int
56713 main ()
56714 {
56715  modfl(0, 0);
56716   ;
56717   return 0;
56718 }
56719 _ACEOF
56720 if ac_fn_cxx_try_compile "$LINENO"; then :
56721   glibcxx_cv_func_modfl_use=yes
56722 else
56723   glibcxx_cv_func_modfl_use=no
56724 fi
56725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56726       ac_ext=c
56727 ac_cpp='$CPP $CPPFLAGS'
56728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56731
56732
56733 fi
56734
56735   fi
56736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56737 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56738
56739   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56740     for ac_func in modfl
56741 do :
56742   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56743 if test "x$ac_cv_func_modfl" = x""yes; then :
56744   cat >>confdefs.h <<_ACEOF
56745 #define HAVE_MODFL 1
56746 _ACEOF
56747
56748 fi
56749 done
56750
56751   else
56752
56753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56754 $as_echo_n "checking for _modfl declaration... " >&6; }
56755   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56756     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56757   $as_echo_n "(cached) " >&6
56758 else
56759
56760
56761       ac_ext=cpp
56762 ac_cpp='$CXXCPP $CPPFLAGS'
56763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56766
56767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56768 /* end confdefs.h.  */
56769 #include <math.h>
56770 int
56771 main ()
56772 {
56773  _modfl(0, 0);
56774   ;
56775   return 0;
56776 }
56777 _ACEOF
56778 if ac_fn_cxx_try_compile "$LINENO"; then :
56779   glibcxx_cv_func__modfl_use=yes
56780 else
56781   glibcxx_cv_func__modfl_use=no
56782 fi
56783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56784       ac_ext=c
56785 ac_cpp='$CPP $CPPFLAGS'
56786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56789
56790
56791 fi
56792
56793   fi
56794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56795 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56796
56797     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56798       for ac_func in _modfl
56799 do :
56800   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56801 if test "x$ac_cv_func__modfl" = x""yes; then :
56802   cat >>confdefs.h <<_ACEOF
56803 #define HAVE__MODFL 1
56804 _ACEOF
56805
56806 fi
56807 done
56808
56809     fi
56810   fi
56811
56812
56813
56814
56815
56816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56817 $as_echo_n "checking for powl declaration... " >&6; }
56818   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56819     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56820   $as_echo_n "(cached) " >&6
56821 else
56822
56823
56824       ac_ext=cpp
56825 ac_cpp='$CXXCPP $CPPFLAGS'
56826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56829
56830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56831 /* end confdefs.h.  */
56832 #include <math.h>
56833 int
56834 main ()
56835 {
56836  powl(0, 0);
56837   ;
56838   return 0;
56839 }
56840 _ACEOF
56841 if ac_fn_cxx_try_compile "$LINENO"; then :
56842   glibcxx_cv_func_powl_use=yes
56843 else
56844   glibcxx_cv_func_powl_use=no
56845 fi
56846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56847       ac_ext=c
56848 ac_cpp='$CPP $CPPFLAGS'
56849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56852
56853
56854 fi
56855
56856   fi
56857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56858 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56859
56860   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56861     for ac_func in powl
56862 do :
56863   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56864 if test "x$ac_cv_func_powl" = x""yes; then :
56865   cat >>confdefs.h <<_ACEOF
56866 #define HAVE_POWL 1
56867 _ACEOF
56868
56869 fi
56870 done
56871
56872   else
56873
56874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56875 $as_echo_n "checking for _powl declaration... " >&6; }
56876   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56877     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56878   $as_echo_n "(cached) " >&6
56879 else
56880
56881
56882       ac_ext=cpp
56883 ac_cpp='$CXXCPP $CPPFLAGS'
56884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56887
56888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56889 /* end confdefs.h.  */
56890 #include <math.h>
56891 int
56892 main ()
56893 {
56894  _powl(0, 0);
56895   ;
56896   return 0;
56897 }
56898 _ACEOF
56899 if ac_fn_cxx_try_compile "$LINENO"; then :
56900   glibcxx_cv_func__powl_use=yes
56901 else
56902   glibcxx_cv_func__powl_use=no
56903 fi
56904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56905       ac_ext=c
56906 ac_cpp='$CPP $CPPFLAGS'
56907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56910
56911
56912 fi
56913
56914   fi
56915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56916 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56917
56918     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56919       for ac_func in _powl
56920 do :
56921   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56922 if test "x$ac_cv_func__powl" = x""yes; then :
56923   cat >>confdefs.h <<_ACEOF
56924 #define HAVE__POWL 1
56925 _ACEOF
56926
56927 fi
56928 done
56929
56930     fi
56931   fi
56932
56933
56934
56935
56936
56937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56938 $as_echo_n "checking for sqrtl declaration... " >&6; }
56939   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56940     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56941   $as_echo_n "(cached) " >&6
56942 else
56943
56944
56945       ac_ext=cpp
56946 ac_cpp='$CXXCPP $CPPFLAGS'
56947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56950
56951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56952 /* end confdefs.h.  */
56953 #include <math.h>
56954                       #ifdef HAVE_IEEEFP_H
56955                       #include <ieeefp.h>
56956                       #endif
56957
56958 int
56959 main ()
56960 {
56961  sqrtl(0);
56962   ;
56963   return 0;
56964 }
56965 _ACEOF
56966 if ac_fn_cxx_try_compile "$LINENO"; then :
56967   glibcxx_cv_func_sqrtl_use=yes
56968 else
56969   glibcxx_cv_func_sqrtl_use=no
56970 fi
56971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56972       ac_ext=c
56973 ac_cpp='$CPP $CPPFLAGS'
56974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56977
56978
56979 fi
56980
56981   fi
56982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56983 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56984
56985   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56986     for ac_func in sqrtl
56987 do :
56988   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56989 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56990   cat >>confdefs.h <<_ACEOF
56991 #define HAVE_SQRTL 1
56992 _ACEOF
56993
56994 fi
56995 done
56996
56997   else
56998
56999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57000 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57001   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57002     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57003   $as_echo_n "(cached) " >&6
57004 else
57005
57006
57007       ac_ext=cpp
57008 ac_cpp='$CXXCPP $CPPFLAGS'
57009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57012
57013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57014 /* end confdefs.h.  */
57015 #include <math.h>
57016                       #ifdef HAVE_IEEEFP_H
57017                       #include <ieeefp.h>
57018                       #endif
57019
57020 int
57021 main ()
57022 {
57023  _sqrtl(0);
57024   ;
57025   return 0;
57026 }
57027 _ACEOF
57028 if ac_fn_cxx_try_compile "$LINENO"; then :
57029   glibcxx_cv_func__sqrtl_use=yes
57030 else
57031   glibcxx_cv_func__sqrtl_use=no
57032 fi
57033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57034       ac_ext=c
57035 ac_cpp='$CPP $CPPFLAGS'
57036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57039
57040
57041 fi
57042
57043   fi
57044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57045 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57046
57047     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57048       for ac_func in _sqrtl
57049 do :
57050   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57051 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57052   cat >>confdefs.h <<_ACEOF
57053 #define HAVE__SQRTL 1
57054 _ACEOF
57055
57056 fi
57057 done
57058
57059     fi
57060   fi
57061
57062
57063
57064
57065
57066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57067 $as_echo_n "checking for sincosl declaration... " >&6; }
57068   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57069     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57070   $as_echo_n "(cached) " >&6
57071 else
57072
57073
57074       ac_ext=cpp
57075 ac_cpp='$CXXCPP $CPPFLAGS'
57076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57079
57080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57081 /* end confdefs.h.  */
57082 #include <math.h>
57083 int
57084 main ()
57085 {
57086  sincosl(0, 0, 0);
57087   ;
57088   return 0;
57089 }
57090 _ACEOF
57091 if ac_fn_cxx_try_compile "$LINENO"; then :
57092   glibcxx_cv_func_sincosl_use=yes
57093 else
57094   glibcxx_cv_func_sincosl_use=no
57095 fi
57096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57097       ac_ext=c
57098 ac_cpp='$CPP $CPPFLAGS'
57099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57102
57103
57104 fi
57105
57106   fi
57107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57108 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57109
57110   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57111     for ac_func in sincosl
57112 do :
57113   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57114 if test "x$ac_cv_func_sincosl" = x""yes; then :
57115   cat >>confdefs.h <<_ACEOF
57116 #define HAVE_SINCOSL 1
57117 _ACEOF
57118
57119 fi
57120 done
57121
57122   else
57123
57124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57125 $as_echo_n "checking for _sincosl declaration... " >&6; }
57126   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57127     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57128   $as_echo_n "(cached) " >&6
57129 else
57130
57131
57132       ac_ext=cpp
57133 ac_cpp='$CXXCPP $CPPFLAGS'
57134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57137
57138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57139 /* end confdefs.h.  */
57140 #include <math.h>
57141 int
57142 main ()
57143 {
57144  _sincosl(0, 0, 0);
57145   ;
57146   return 0;
57147 }
57148 _ACEOF
57149 if ac_fn_cxx_try_compile "$LINENO"; then :
57150   glibcxx_cv_func__sincosl_use=yes
57151 else
57152   glibcxx_cv_func__sincosl_use=no
57153 fi
57154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57155       ac_ext=c
57156 ac_cpp='$CPP $CPPFLAGS'
57157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57160
57161
57162 fi
57163
57164   fi
57165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57166 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57167
57168     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57169       for ac_func in _sincosl
57170 do :
57171   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57172 if test "x$ac_cv_func__sincosl" = x""yes; then :
57173   cat >>confdefs.h <<_ACEOF
57174 #define HAVE__SINCOSL 1
57175 _ACEOF
57176
57177 fi
57178 done
57179
57180     fi
57181   fi
57182
57183
57184
57185
57186
57187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57188 $as_echo_n "checking for finitel declaration... " >&6; }
57189   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57190     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57191   $as_echo_n "(cached) " >&6
57192 else
57193
57194
57195       ac_ext=cpp
57196 ac_cpp='$CXXCPP $CPPFLAGS'
57197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57200
57201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57202 /* end confdefs.h.  */
57203 #include <math.h>
57204                       #ifdef HAVE_IEEEFP_H
57205                       #include <ieeefp.h>
57206                       #endif
57207
57208 int
57209 main ()
57210 {
57211  finitel(0);
57212   ;
57213   return 0;
57214 }
57215 _ACEOF
57216 if ac_fn_cxx_try_compile "$LINENO"; then :
57217   glibcxx_cv_func_finitel_use=yes
57218 else
57219   glibcxx_cv_func_finitel_use=no
57220 fi
57221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57222       ac_ext=c
57223 ac_cpp='$CPP $CPPFLAGS'
57224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57227
57228
57229 fi
57230
57231   fi
57232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57233 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57234
57235   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57236     for ac_func in finitel
57237 do :
57238   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57239 if test "x$ac_cv_func_finitel" = x""yes; then :
57240   cat >>confdefs.h <<_ACEOF
57241 #define HAVE_FINITEL 1
57242 _ACEOF
57243
57244 fi
57245 done
57246
57247   else
57248
57249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57250 $as_echo_n "checking for _finitel declaration... " >&6; }
57251   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57252     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57253   $as_echo_n "(cached) " >&6
57254 else
57255
57256
57257       ac_ext=cpp
57258 ac_cpp='$CXXCPP $CPPFLAGS'
57259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57262
57263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57264 /* end confdefs.h.  */
57265 #include <math.h>
57266                       #ifdef HAVE_IEEEFP_H
57267                       #include <ieeefp.h>
57268                       #endif
57269
57270 int
57271 main ()
57272 {
57273  _finitel(0);
57274   ;
57275   return 0;
57276 }
57277 _ACEOF
57278 if ac_fn_cxx_try_compile "$LINENO"; then :
57279   glibcxx_cv_func__finitel_use=yes
57280 else
57281   glibcxx_cv_func__finitel_use=no
57282 fi
57283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57284       ac_ext=c
57285 ac_cpp='$CPP $CPPFLAGS'
57286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57289
57290
57291 fi
57292
57293   fi
57294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57295 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57296
57297     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57298       for ac_func in _finitel
57299 do :
57300   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57301 if test "x$ac_cv_func__finitel" = x""yes; then :
57302   cat >>confdefs.h <<_ACEOF
57303 #define HAVE__FINITEL 1
57304 _ACEOF
57305
57306 fi
57307 done
57308
57309     fi
57310   fi
57311
57312
57313
57314
57315   LIBS="$ac_save_LIBS"
57316   CXXFLAGS="$ac_save_CXXFLAGS"
57317
57318
57319   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57320   ac_save_CXXFLAGS="$CXXFLAGS"
57321   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57322
57323
57324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57325 $as_echo_n "checking for strtold declaration... " >&6; }
57326   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57327     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57328   $as_echo_n "(cached) " >&6
57329 else
57330
57331
57332       ac_ext=cpp
57333 ac_cpp='$CXXCPP $CPPFLAGS'
57334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57337
57338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57339 /* end confdefs.h.  */
57340 #include <stdlib.h>
57341 int
57342 main ()
57343 {
57344  strtold(0, 0);
57345   ;
57346   return 0;
57347 }
57348 _ACEOF
57349 if ac_fn_cxx_try_compile "$LINENO"; then :
57350   glibcxx_cv_func_strtold_use=yes
57351 else
57352   glibcxx_cv_func_strtold_use=no
57353 fi
57354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355       ac_ext=c
57356 ac_cpp='$CPP $CPPFLAGS'
57357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57360
57361
57362 fi
57363
57364   fi
57365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57366 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57367   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57368     for ac_func in strtold
57369 do :
57370   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57371 if test "x$ac_cv_func_strtold" = x""yes; then :
57372   cat >>confdefs.h <<_ACEOF
57373 #define HAVE_STRTOLD 1
57374 _ACEOF
57375
57376 fi
57377 done
57378
57379   fi
57380
57381
57382
57383
57384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57385 $as_echo_n "checking for strtof declaration... " >&6; }
57386   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57387     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57388   $as_echo_n "(cached) " >&6
57389 else
57390
57391
57392       ac_ext=cpp
57393 ac_cpp='$CXXCPP $CPPFLAGS'
57394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57397
57398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57399 /* end confdefs.h.  */
57400 #include <stdlib.h>
57401 int
57402 main ()
57403 {
57404  strtof(0, 0);
57405   ;
57406   return 0;
57407 }
57408 _ACEOF
57409 if ac_fn_cxx_try_compile "$LINENO"; then :
57410   glibcxx_cv_func_strtof_use=yes
57411 else
57412   glibcxx_cv_func_strtof_use=no
57413 fi
57414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57415       ac_ext=c
57416 ac_cpp='$CPP $CPPFLAGS'
57417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57420
57421
57422 fi
57423
57424   fi
57425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57426 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57427   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57428     for ac_func in strtof
57429 do :
57430   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57431 if test "x$ac_cv_func_strtof" = x""yes; then :
57432   cat >>confdefs.h <<_ACEOF
57433 #define HAVE_STRTOF 1
57434 _ACEOF
57435
57436 fi
57437 done
57438
57439   fi
57440
57441
57442
57443
57444   CXXFLAGS="$ac_save_CXXFLAGS"
57445
57446     ;;
57447   *-netbsd*)
57448     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57449
57450
57451   # If we're not using GNU ld, then there's no point in even trying these
57452   # tests.  Check for that first.  We should have already tested for gld
57453   # by now (in libtool), but require it now just to be safe...
57454   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57455   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57456
57457
57458
57459   # The name set by libtool depends on the version of libtool.  Shame on us
57460   # for depending on an impl detail, but c'est la vie.  Older versions used
57461   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57462   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57463   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57464   # set (hence we're using an older libtool), then set it.
57465   if test x${with_gnu_ld+set} != xset; then
57466     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57467       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57468       with_gnu_ld=no
57469     else
57470       with_gnu_ld=$ac_cv_prog_gnu_ld
57471     fi
57472   fi
57473
57474   # Start by getting the version number.  I think the libtool test already
57475   # does some of this, but throws away the result.
57476   glibcxx_ld_is_gold=no
57477   if test x"$with_gnu_ld" = x"yes"; then
57478     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57479 $as_echo_n "checking for ld version... " >&6; }
57480
57481     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57482       glibcxx_ld_is_gold=yes
57483     fi
57484     ldver=`$LD --version 2>/dev/null |
57485            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'`
57486
57487     glibcxx_gnu_ld_version=`echo $ldver | \
57488            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57490 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57491   fi
57492
57493   # Set --gc-sections.
57494   glibcxx_have_gc_sections=no
57495   if test "$glibcxx_ld_is_gold" = "yes"; then
57496     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57497       glibcxx_have_gc_sections=yes
57498     fi
57499   else
57500     glibcxx_gcsections_min_ld=21602
57501     if test x"$with_gnu_ld" = x"yes" &&
57502         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57503       glibcxx_have_gc_sections=yes
57504     fi
57505   fi
57506   if test "$glibcxx_have_gc_sections" = "yes"; then
57507     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57508     # NB: This flag only works reliably after 2.16.1. Configure tests
57509     # for this are difficult, so hard wire a value that should work.
57510
57511     ac_test_CFLAGS="${CFLAGS+set}"
57512     ac_save_CFLAGS="$CFLAGS"
57513     CFLAGS='-Wl,--gc-sections'
57514
57515     # Check for -Wl,--gc-sections
57516     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57517 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57518     if test x$gcc_no_link = xyes; then
57519   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57520 fi
57521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57522 /* end confdefs.h.  */
57523  int one(void) { return 1; }
57524      int two(void) { return 2; }
57525
57526 int
57527 main ()
57528 {
57529  two();
57530   ;
57531   return 0;
57532 }
57533 _ACEOF
57534 if ac_fn_c_try_link "$LINENO"; then :
57535   ac_gcsections=yes
57536 else
57537   ac_gcsections=no
57538 fi
57539 rm -f core conftest.err conftest.$ac_objext \
57540     conftest$ac_exeext conftest.$ac_ext
57541     if test "$ac_gcsections" = "yes"; then
57542       rm -f conftest.c
57543       touch conftest.c
57544       if $CC -c conftest.c; then
57545         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57546            grep "Warning: gc-sections option ignored" > /dev/null; then
57547           ac_gcsections=no
57548         fi
57549       fi
57550       rm -f conftest.c conftest.o conftest
57551     fi
57552     if test "$ac_gcsections" = "yes"; then
57553       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57554     fi
57555     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57556 $as_echo "$ac_gcsections" >&6; }
57557
57558     if test "$ac_test_CFLAGS" = set; then
57559       CFLAGS="$ac_save_CFLAGS"
57560     else
57561       # this is the suspicious part
57562       CFLAGS=''
57563     fi
57564   fi
57565
57566   # Set -z,relro.
57567   # Note this is only for shared objects.
57568   ac_ld_relro=no
57569   if test x"$with_gnu_ld" = x"yes"; then
57570     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57571 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57572     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57573     if test -n "$cxx_z_relo"; then
57574       OPT_LDFLAGS="-Wl,-z,relro"
57575       ac_ld_relro=yes
57576     fi
57577     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57578 $as_echo "$ac_ld_relro" >&6; }
57579   fi
57580
57581   # Set linker optimization flags.
57582   if test x"$with_gnu_ld" = x"yes"; then
57583     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57584   fi
57585
57586
57587
57588
57589     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57590
57591     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57592
57593     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57594
57595     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57596
57597     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57598
57599     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57600
57601     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57602
57603     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57604
57605     if test x"long_double_math_on_this_cpu" = x"yes"; then
57606       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57607
57608       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57609
57610       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57611
57612     fi
57613     ;;
57614   *-qnx6.1* | *-qnx6.2*)
57615     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57616
57617
57618   # If we're not using GNU ld, then there's no point in even trying these
57619   # tests.  Check for that first.  We should have already tested for gld
57620   # by now (in libtool), but require it now just to be safe...
57621   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57622   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57623
57624
57625
57626   # The name set by libtool depends on the version of libtool.  Shame on us
57627   # for depending on an impl detail, but c'est la vie.  Older versions used
57628   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57629   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57630   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57631   # set (hence we're using an older libtool), then set it.
57632   if test x${with_gnu_ld+set} != xset; then
57633     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57634       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57635       with_gnu_ld=no
57636     else
57637       with_gnu_ld=$ac_cv_prog_gnu_ld
57638     fi
57639   fi
57640
57641   # Start by getting the version number.  I think the libtool test already
57642   # does some of this, but throws away the result.
57643   glibcxx_ld_is_gold=no
57644   if test x"$with_gnu_ld" = x"yes"; then
57645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57646 $as_echo_n "checking for ld version... " >&6; }
57647
57648     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57649       glibcxx_ld_is_gold=yes
57650     fi
57651     ldver=`$LD --version 2>/dev/null |
57652            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'`
57653
57654     glibcxx_gnu_ld_version=`echo $ldver | \
57655            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57656     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57657 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57658   fi
57659
57660   # Set --gc-sections.
57661   glibcxx_have_gc_sections=no
57662   if test "$glibcxx_ld_is_gold" = "yes"; then
57663     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57664       glibcxx_have_gc_sections=yes
57665     fi
57666   else
57667     glibcxx_gcsections_min_ld=21602
57668     if test x"$with_gnu_ld" = x"yes" &&
57669         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57670       glibcxx_have_gc_sections=yes
57671     fi
57672   fi
57673   if test "$glibcxx_have_gc_sections" = "yes"; then
57674     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57675     # NB: This flag only works reliably after 2.16.1. Configure tests
57676     # for this are difficult, so hard wire a value that should work.
57677
57678     ac_test_CFLAGS="${CFLAGS+set}"
57679     ac_save_CFLAGS="$CFLAGS"
57680     CFLAGS='-Wl,--gc-sections'
57681
57682     # Check for -Wl,--gc-sections
57683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57684 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57685     if test x$gcc_no_link = xyes; then
57686   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57687 fi
57688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57689 /* end confdefs.h.  */
57690  int one(void) { return 1; }
57691      int two(void) { return 2; }
57692
57693 int
57694 main ()
57695 {
57696  two();
57697   ;
57698   return 0;
57699 }
57700 _ACEOF
57701 if ac_fn_c_try_link "$LINENO"; then :
57702   ac_gcsections=yes
57703 else
57704   ac_gcsections=no
57705 fi
57706 rm -f core conftest.err conftest.$ac_objext \
57707     conftest$ac_exeext conftest.$ac_ext
57708     if test "$ac_gcsections" = "yes"; then
57709       rm -f conftest.c
57710       touch conftest.c
57711       if $CC -c conftest.c; then
57712         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57713            grep "Warning: gc-sections option ignored" > /dev/null; then
57714           ac_gcsections=no
57715         fi
57716       fi
57717       rm -f conftest.c conftest.o conftest
57718     fi
57719     if test "$ac_gcsections" = "yes"; then
57720       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57721     fi
57722     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57723 $as_echo "$ac_gcsections" >&6; }
57724
57725     if test "$ac_test_CFLAGS" = set; then
57726       CFLAGS="$ac_save_CFLAGS"
57727     else
57728       # this is the suspicious part
57729       CFLAGS=''
57730     fi
57731   fi
57732
57733   # Set -z,relro.
57734   # Note this is only for shared objects.
57735   ac_ld_relro=no
57736   if test x"$with_gnu_ld" = x"yes"; then
57737     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57738 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57739     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57740     if test -n "$cxx_z_relo"; then
57741       OPT_LDFLAGS="-Wl,-z,relro"
57742       ac_ld_relro=yes
57743     fi
57744     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57745 $as_echo "$ac_ld_relro" >&6; }
57746   fi
57747
57748   # Set linker optimization flags.
57749   if test x"$with_gnu_ld" = x"yes"; then
57750     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57751   fi
57752
57753
57754
57755
57756     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57757
57758     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57759
57760     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57761
57762     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57763
57764     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57765
57766     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57767
57768     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57769
57770     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57771
57772     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57773
57774     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57775
57776     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57777
57778     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57779
57780     ;;
57781   *-rtems*)
57782
57783   # All these tests are for C++; save the language and the compiler flags.
57784   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57785   # found in GLIBCXX_CONFIGURE.
57786
57787   ac_ext=cpp
57788 ac_cpp='$CXXCPP $CPPFLAGS'
57789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57792
57793   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57794   ac_save_CXXFLAGS="$CXXFLAGS"
57795
57796   # Check for maintainer-mode bits.
57797   if test x"$USE_MAINTAINER_MODE" = xno; then
57798     WERROR=''
57799   else
57800     WERROR='-Werror'
57801   fi
57802
57803   # Check for -ffunction-sections -fdata-sections
57804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57805 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57806   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57808 /* end confdefs.h.  */
57809 int foo; void bar() { };
57810 int
57811 main ()
57812 {
57813
57814   ;
57815   return 0;
57816 }
57817 _ACEOF
57818 if ac_fn_cxx_try_compile "$LINENO"; then :
57819   ac_fdsections=yes
57820 else
57821   ac_fdsections=no
57822 fi
57823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57824   if test "$ac_test_CXXFLAGS" = set; then
57825     CXXFLAGS="$ac_save_CXXFLAGS"
57826   else
57827     # this is the suspicious part
57828     CXXFLAGS=''
57829   fi
57830   if test x"$ac_fdsections" = x"yes"; then
57831     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57832   fi
57833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57834 $as_echo "$ac_fdsections" >&6; }
57835
57836   ac_ext=c
57837 ac_cpp='$CPP $CPPFLAGS'
57838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57841
57842
57843
57844
57845
57846   # If we're not using GNU ld, then there's no point in even trying these
57847   # tests.  Check for that first.  We should have already tested for gld
57848   # by now (in libtool), but require it now just to be safe...
57849   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57850   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57851
57852
57853
57854   # The name set by libtool depends on the version of libtool.  Shame on us
57855   # for depending on an impl detail, but c'est la vie.  Older versions used
57856   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57857   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57858   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57859   # set (hence we're using an older libtool), then set it.
57860   if test x${with_gnu_ld+set} != xset; then
57861     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57862       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57863       with_gnu_ld=no
57864     else
57865       with_gnu_ld=$ac_cv_prog_gnu_ld
57866     fi
57867   fi
57868
57869   # Start by getting the version number.  I think the libtool test already
57870   # does some of this, but throws away the result.
57871   glibcxx_ld_is_gold=no
57872   if test x"$with_gnu_ld" = x"yes"; then
57873     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57874 $as_echo_n "checking for ld version... " >&6; }
57875
57876     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57877       glibcxx_ld_is_gold=yes
57878     fi
57879     ldver=`$LD --version 2>/dev/null |
57880            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'`
57881
57882     glibcxx_gnu_ld_version=`echo $ldver | \
57883            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57884     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57885 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57886   fi
57887
57888   # Set --gc-sections.
57889   glibcxx_have_gc_sections=no
57890   if test "$glibcxx_ld_is_gold" = "yes"; then
57891     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57892       glibcxx_have_gc_sections=yes
57893     fi
57894   else
57895     glibcxx_gcsections_min_ld=21602
57896     if test x"$with_gnu_ld" = x"yes" &&
57897         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57898       glibcxx_have_gc_sections=yes
57899     fi
57900   fi
57901   if test "$glibcxx_have_gc_sections" = "yes"; then
57902     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57903     # NB: This flag only works reliably after 2.16.1. Configure tests
57904     # for this are difficult, so hard wire a value that should work.
57905
57906     ac_test_CFLAGS="${CFLAGS+set}"
57907     ac_save_CFLAGS="$CFLAGS"
57908     CFLAGS='-Wl,--gc-sections'
57909
57910     # Check for -Wl,--gc-sections
57911     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57912 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57913     if test x$gcc_no_link = xyes; then
57914   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57915 fi
57916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57917 /* end confdefs.h.  */
57918  int one(void) { return 1; }
57919      int two(void) { return 2; }
57920
57921 int
57922 main ()
57923 {
57924  two();
57925   ;
57926   return 0;
57927 }
57928 _ACEOF
57929 if ac_fn_c_try_link "$LINENO"; then :
57930   ac_gcsections=yes
57931 else
57932   ac_gcsections=no
57933 fi
57934 rm -f core conftest.err conftest.$ac_objext \
57935     conftest$ac_exeext conftest.$ac_ext
57936     if test "$ac_gcsections" = "yes"; then
57937       rm -f conftest.c
57938       touch conftest.c
57939       if $CC -c conftest.c; then
57940         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57941            grep "Warning: gc-sections option ignored" > /dev/null; then
57942           ac_gcsections=no
57943         fi
57944       fi
57945       rm -f conftest.c conftest.o conftest
57946     fi
57947     if test "$ac_gcsections" = "yes"; then
57948       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57949     fi
57950     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57951 $as_echo "$ac_gcsections" >&6; }
57952
57953     if test "$ac_test_CFLAGS" = set; then
57954       CFLAGS="$ac_save_CFLAGS"
57955     else
57956       # this is the suspicious part
57957       CFLAGS=''
57958     fi
57959   fi
57960
57961   # Set -z,relro.
57962   # Note this is only for shared objects.
57963   ac_ld_relro=no
57964   if test x"$with_gnu_ld" = x"yes"; then
57965     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57966 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57967     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57968     if test -n "$cxx_z_relo"; then
57969       OPT_LDFLAGS="-Wl,-z,relro"
57970       ac_ld_relro=yes
57971     fi
57972     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57973 $as_echo "$ac_ld_relro" >&6; }
57974   fi
57975
57976   # Set linker optimization flags.
57977   if test x"$with_gnu_ld" = x"yes"; then
57978     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57979   fi
57980
57981
57982
57983
57984
57985   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57986   ac_save_CXXFLAGS="$CXXFLAGS"
57987   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57988
57989     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57990 $as_echo_n "checking for sin in -lm... " >&6; }
57991 if test "${ac_cv_lib_m_sin+set}" = set; then :
57992   $as_echo_n "(cached) " >&6
57993 else
57994   ac_check_lib_save_LIBS=$LIBS
57995 LIBS="-lm  $LIBS"
57996 if test x$gcc_no_link = xyes; then
57997   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57998 fi
57999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58000 /* end confdefs.h.  */
58001
58002 /* Override any GCC internal prototype to avoid an error.
58003    Use char because int might match the return type of a GCC
58004    builtin and then its argument prototype would still apply.  */
58005 #ifdef __cplusplus
58006 extern "C"
58007 #endif
58008 char sin ();
58009 int
58010 main ()
58011 {
58012 return sin ();
58013   ;
58014   return 0;
58015 }
58016 _ACEOF
58017 if ac_fn_c_try_link "$LINENO"; then :
58018   ac_cv_lib_m_sin=yes
58019 else
58020   ac_cv_lib_m_sin=no
58021 fi
58022 rm -f core conftest.err conftest.$ac_objext \
58023     conftest$ac_exeext conftest.$ac_ext
58024 LIBS=$ac_check_lib_save_LIBS
58025 fi
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58027 $as_echo "$ac_cv_lib_m_sin" >&6; }
58028 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58029   libm="-lm"
58030 fi
58031
58032   ac_save_LIBS="$LIBS"
58033   LIBS="$LIBS $libm"
58034
58035
58036
58037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58038 $as_echo_n "checking for isinf declaration... " >&6; }
58039   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58040     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58041   $as_echo_n "(cached) " >&6
58042 else
58043
58044
58045       ac_ext=cpp
58046 ac_cpp='$CXXCPP $CPPFLAGS'
58047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58050
58051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58052 /* end confdefs.h.  */
58053 #include <math.h>
58054                       #ifdef HAVE_IEEEFP_H
58055                       #include <ieeefp.h>
58056                       #endif
58057
58058 int
58059 main ()
58060 {
58061  isinf(0);
58062   ;
58063   return 0;
58064 }
58065 _ACEOF
58066 if ac_fn_cxx_try_compile "$LINENO"; then :
58067   glibcxx_cv_func_isinf_use=yes
58068 else
58069   glibcxx_cv_func_isinf_use=no
58070 fi
58071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58072       ac_ext=c
58073 ac_cpp='$CPP $CPPFLAGS'
58074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58077
58078
58079 fi
58080
58081   fi
58082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58083 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58084
58085   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58086     for ac_func in isinf
58087 do :
58088   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58089 if test "x$ac_cv_func_isinf" = x""yes; then :
58090   cat >>confdefs.h <<_ACEOF
58091 #define HAVE_ISINF 1
58092 _ACEOF
58093
58094 fi
58095 done
58096
58097   else
58098
58099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58100 $as_echo_n "checking for _isinf declaration... " >&6; }
58101   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58102     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58103   $as_echo_n "(cached) " >&6
58104 else
58105
58106
58107       ac_ext=cpp
58108 ac_cpp='$CXXCPP $CPPFLAGS'
58109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58112
58113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58114 /* end confdefs.h.  */
58115 #include <math.h>
58116                       #ifdef HAVE_IEEEFP_H
58117                       #include <ieeefp.h>
58118                       #endif
58119
58120 int
58121 main ()
58122 {
58123  _isinf(0);
58124   ;
58125   return 0;
58126 }
58127 _ACEOF
58128 if ac_fn_cxx_try_compile "$LINENO"; then :
58129   glibcxx_cv_func__isinf_use=yes
58130 else
58131   glibcxx_cv_func__isinf_use=no
58132 fi
58133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58134       ac_ext=c
58135 ac_cpp='$CPP $CPPFLAGS'
58136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58139
58140
58141 fi
58142
58143   fi
58144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58145 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58146
58147     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58148       for ac_func in _isinf
58149 do :
58150   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58151 if test "x$ac_cv_func__isinf" = x""yes; then :
58152   cat >>confdefs.h <<_ACEOF
58153 #define HAVE__ISINF 1
58154 _ACEOF
58155
58156 fi
58157 done
58158
58159     fi
58160   fi
58161
58162
58163
58164
58165
58166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58167 $as_echo_n "checking for isnan declaration... " >&6; }
58168   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58169     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58170   $as_echo_n "(cached) " >&6
58171 else
58172
58173
58174       ac_ext=cpp
58175 ac_cpp='$CXXCPP $CPPFLAGS'
58176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58179
58180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58181 /* end confdefs.h.  */
58182 #include <math.h>
58183                       #ifdef HAVE_IEEEFP_H
58184                       #include <ieeefp.h>
58185                       #endif
58186
58187 int
58188 main ()
58189 {
58190  isnan(0);
58191   ;
58192   return 0;
58193 }
58194 _ACEOF
58195 if ac_fn_cxx_try_compile "$LINENO"; then :
58196   glibcxx_cv_func_isnan_use=yes
58197 else
58198   glibcxx_cv_func_isnan_use=no
58199 fi
58200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58201       ac_ext=c
58202 ac_cpp='$CPP $CPPFLAGS'
58203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58206
58207
58208 fi
58209
58210   fi
58211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58212 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58213
58214   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58215     for ac_func in isnan
58216 do :
58217   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58218 if test "x$ac_cv_func_isnan" = x""yes; then :
58219   cat >>confdefs.h <<_ACEOF
58220 #define HAVE_ISNAN 1
58221 _ACEOF
58222
58223 fi
58224 done
58225
58226   else
58227
58228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58229 $as_echo_n "checking for _isnan declaration... " >&6; }
58230   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58231     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58232   $as_echo_n "(cached) " >&6
58233 else
58234
58235
58236       ac_ext=cpp
58237 ac_cpp='$CXXCPP $CPPFLAGS'
58238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58241
58242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58243 /* end confdefs.h.  */
58244 #include <math.h>
58245                       #ifdef HAVE_IEEEFP_H
58246                       #include <ieeefp.h>
58247                       #endif
58248
58249 int
58250 main ()
58251 {
58252  _isnan(0);
58253   ;
58254   return 0;
58255 }
58256 _ACEOF
58257 if ac_fn_cxx_try_compile "$LINENO"; then :
58258   glibcxx_cv_func__isnan_use=yes
58259 else
58260   glibcxx_cv_func__isnan_use=no
58261 fi
58262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58263       ac_ext=c
58264 ac_cpp='$CPP $CPPFLAGS'
58265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58268
58269
58270 fi
58271
58272   fi
58273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58274 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58275
58276     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58277       for ac_func in _isnan
58278 do :
58279   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58280 if test "x$ac_cv_func__isnan" = x""yes; then :
58281   cat >>confdefs.h <<_ACEOF
58282 #define HAVE__ISNAN 1
58283 _ACEOF
58284
58285 fi
58286 done
58287
58288     fi
58289   fi
58290
58291
58292
58293
58294
58295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58296 $as_echo_n "checking for finite declaration... " >&6; }
58297   if test x${glibcxx_cv_func_finite_use+set} != xset; then
58298     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58299   $as_echo_n "(cached) " >&6
58300 else
58301
58302
58303       ac_ext=cpp
58304 ac_cpp='$CXXCPP $CPPFLAGS'
58305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58308
58309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58310 /* end confdefs.h.  */
58311 #include <math.h>
58312                       #ifdef HAVE_IEEEFP_H
58313                       #include <ieeefp.h>
58314                       #endif
58315
58316 int
58317 main ()
58318 {
58319  finite(0);
58320   ;
58321   return 0;
58322 }
58323 _ACEOF
58324 if ac_fn_cxx_try_compile "$LINENO"; then :
58325   glibcxx_cv_func_finite_use=yes
58326 else
58327   glibcxx_cv_func_finite_use=no
58328 fi
58329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58330       ac_ext=c
58331 ac_cpp='$CPP $CPPFLAGS'
58332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58335
58336
58337 fi
58338
58339   fi
58340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58341 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58342
58343   if test x$glibcxx_cv_func_finite_use = x"yes"; then
58344     for ac_func in finite
58345 do :
58346   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58347 if test "x$ac_cv_func_finite" = x""yes; then :
58348   cat >>confdefs.h <<_ACEOF
58349 #define HAVE_FINITE 1
58350 _ACEOF
58351
58352 fi
58353 done
58354
58355   else
58356
58357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58358 $as_echo_n "checking for _finite declaration... " >&6; }
58359   if test x${glibcxx_cv_func__finite_use+set} != xset; then
58360     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58361   $as_echo_n "(cached) " >&6
58362 else
58363
58364
58365       ac_ext=cpp
58366 ac_cpp='$CXXCPP $CPPFLAGS'
58367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58370
58371       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58372 /* end confdefs.h.  */
58373 #include <math.h>
58374                       #ifdef HAVE_IEEEFP_H
58375                       #include <ieeefp.h>
58376                       #endif
58377
58378 int
58379 main ()
58380 {
58381  _finite(0);
58382   ;
58383   return 0;
58384 }
58385 _ACEOF
58386 if ac_fn_cxx_try_compile "$LINENO"; then :
58387   glibcxx_cv_func__finite_use=yes
58388 else
58389   glibcxx_cv_func__finite_use=no
58390 fi
58391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58392       ac_ext=c
58393 ac_cpp='$CPP $CPPFLAGS'
58394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58397
58398
58399 fi
58400
58401   fi
58402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58403 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58404
58405     if test x$glibcxx_cv_func__finite_use = x"yes"; then
58406       for ac_func in _finite
58407 do :
58408   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58409 if test "x$ac_cv_func__finite" = x""yes; then :
58410   cat >>confdefs.h <<_ACEOF
58411 #define HAVE__FINITE 1
58412 _ACEOF
58413
58414 fi
58415 done
58416
58417     fi
58418   fi
58419
58420
58421
58422
58423
58424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58425 $as_echo_n "checking for sincos declaration... " >&6; }
58426   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58427     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58428   $as_echo_n "(cached) " >&6
58429 else
58430
58431
58432       ac_ext=cpp
58433 ac_cpp='$CXXCPP $CPPFLAGS'
58434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58437
58438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58439 /* end confdefs.h.  */
58440 #include <math.h>
58441 int
58442 main ()
58443 {
58444  sincos(0, 0, 0);
58445   ;
58446   return 0;
58447 }
58448 _ACEOF
58449 if ac_fn_cxx_try_compile "$LINENO"; then :
58450   glibcxx_cv_func_sincos_use=yes
58451 else
58452   glibcxx_cv_func_sincos_use=no
58453 fi
58454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58455       ac_ext=c
58456 ac_cpp='$CPP $CPPFLAGS'
58457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58460
58461
58462 fi
58463
58464   fi
58465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58466 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58467
58468   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58469     for ac_func in sincos
58470 do :
58471   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58472 if test "x$ac_cv_func_sincos" = x""yes; then :
58473   cat >>confdefs.h <<_ACEOF
58474 #define HAVE_SINCOS 1
58475 _ACEOF
58476
58477 fi
58478 done
58479
58480   else
58481
58482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58483 $as_echo_n "checking for _sincos declaration... " >&6; }
58484   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58485     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58486   $as_echo_n "(cached) " >&6
58487 else
58488
58489
58490       ac_ext=cpp
58491 ac_cpp='$CXXCPP $CPPFLAGS'
58492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58495
58496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58497 /* end confdefs.h.  */
58498 #include <math.h>
58499 int
58500 main ()
58501 {
58502  _sincos(0, 0, 0);
58503   ;
58504   return 0;
58505 }
58506 _ACEOF
58507 if ac_fn_cxx_try_compile "$LINENO"; then :
58508   glibcxx_cv_func__sincos_use=yes
58509 else
58510   glibcxx_cv_func__sincos_use=no
58511 fi
58512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58513       ac_ext=c
58514 ac_cpp='$CPP $CPPFLAGS'
58515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58518
58519
58520 fi
58521
58522   fi
58523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58524 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58525
58526     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58527       for ac_func in _sincos
58528 do :
58529   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58530 if test "x$ac_cv_func__sincos" = x""yes; then :
58531   cat >>confdefs.h <<_ACEOF
58532 #define HAVE__SINCOS 1
58533 _ACEOF
58534
58535 fi
58536 done
58537
58538     fi
58539   fi
58540
58541
58542
58543
58544
58545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58546 $as_echo_n "checking for fpclass declaration... " >&6; }
58547   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58548     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58549   $as_echo_n "(cached) " >&6
58550 else
58551
58552
58553       ac_ext=cpp
58554 ac_cpp='$CXXCPP $CPPFLAGS'
58555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58558
58559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58560 /* end confdefs.h.  */
58561 #include <math.h>
58562                       #ifdef HAVE_IEEEFP_H
58563                       #include <ieeefp.h>
58564                       #endif
58565
58566 int
58567 main ()
58568 {
58569  fpclass(0);
58570   ;
58571   return 0;
58572 }
58573 _ACEOF
58574 if ac_fn_cxx_try_compile "$LINENO"; then :
58575   glibcxx_cv_func_fpclass_use=yes
58576 else
58577   glibcxx_cv_func_fpclass_use=no
58578 fi
58579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58580       ac_ext=c
58581 ac_cpp='$CPP $CPPFLAGS'
58582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58585
58586
58587 fi
58588
58589   fi
58590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58591 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58592
58593   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58594     for ac_func in fpclass
58595 do :
58596   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58597 if test "x$ac_cv_func_fpclass" = x""yes; then :
58598   cat >>confdefs.h <<_ACEOF
58599 #define HAVE_FPCLASS 1
58600 _ACEOF
58601
58602 fi
58603 done
58604
58605   else
58606
58607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58608 $as_echo_n "checking for _fpclass declaration... " >&6; }
58609   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58610     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58611   $as_echo_n "(cached) " >&6
58612 else
58613
58614
58615       ac_ext=cpp
58616 ac_cpp='$CXXCPP $CPPFLAGS'
58617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58620
58621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58622 /* end confdefs.h.  */
58623 #include <math.h>
58624                       #ifdef HAVE_IEEEFP_H
58625                       #include <ieeefp.h>
58626                       #endif
58627
58628 int
58629 main ()
58630 {
58631  _fpclass(0);
58632   ;
58633   return 0;
58634 }
58635 _ACEOF
58636 if ac_fn_cxx_try_compile "$LINENO"; then :
58637   glibcxx_cv_func__fpclass_use=yes
58638 else
58639   glibcxx_cv_func__fpclass_use=no
58640 fi
58641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58642       ac_ext=c
58643 ac_cpp='$CPP $CPPFLAGS'
58644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58647
58648
58649 fi
58650
58651   fi
58652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58653 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58654
58655     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58656       for ac_func in _fpclass
58657 do :
58658   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58659 if test "x$ac_cv_func__fpclass" = x""yes; then :
58660   cat >>confdefs.h <<_ACEOF
58661 #define HAVE__FPCLASS 1
58662 _ACEOF
58663
58664 fi
58665 done
58666
58667     fi
58668   fi
58669
58670
58671
58672
58673
58674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58675 $as_echo_n "checking for qfpclass declaration... " >&6; }
58676   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58677     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58678   $as_echo_n "(cached) " >&6
58679 else
58680
58681
58682       ac_ext=cpp
58683 ac_cpp='$CXXCPP $CPPFLAGS'
58684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58687
58688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58689 /* end confdefs.h.  */
58690 #include <math.h>
58691                       #ifdef HAVE_IEEEFP_H
58692                       #include <ieeefp.h>
58693                       #endif
58694
58695 int
58696 main ()
58697 {
58698  qfpclass(0);
58699   ;
58700   return 0;
58701 }
58702 _ACEOF
58703 if ac_fn_cxx_try_compile "$LINENO"; then :
58704   glibcxx_cv_func_qfpclass_use=yes
58705 else
58706   glibcxx_cv_func_qfpclass_use=no
58707 fi
58708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58709       ac_ext=c
58710 ac_cpp='$CPP $CPPFLAGS'
58711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58714
58715
58716 fi
58717
58718   fi
58719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58720 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58721
58722   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58723     for ac_func in qfpclass
58724 do :
58725   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58726 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58727   cat >>confdefs.h <<_ACEOF
58728 #define HAVE_QFPCLASS 1
58729 _ACEOF
58730
58731 fi
58732 done
58733
58734   else
58735
58736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58737 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58738   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58739     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58740   $as_echo_n "(cached) " >&6
58741 else
58742
58743
58744       ac_ext=cpp
58745 ac_cpp='$CXXCPP $CPPFLAGS'
58746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58749
58750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58751 /* end confdefs.h.  */
58752 #include <math.h>
58753                       #ifdef HAVE_IEEEFP_H
58754                       #include <ieeefp.h>
58755                       #endif
58756
58757 int
58758 main ()
58759 {
58760  _qfpclass(0);
58761   ;
58762   return 0;
58763 }
58764 _ACEOF
58765 if ac_fn_cxx_try_compile "$LINENO"; then :
58766   glibcxx_cv_func__qfpclass_use=yes
58767 else
58768   glibcxx_cv_func__qfpclass_use=no
58769 fi
58770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58771       ac_ext=c
58772 ac_cpp='$CPP $CPPFLAGS'
58773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58776
58777
58778 fi
58779
58780   fi
58781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58782 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58783
58784     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58785       for ac_func in _qfpclass
58786 do :
58787   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58788 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58789   cat >>confdefs.h <<_ACEOF
58790 #define HAVE__QFPCLASS 1
58791 _ACEOF
58792
58793 fi
58794 done
58795
58796     fi
58797   fi
58798
58799
58800
58801
58802
58803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58804 $as_echo_n "checking for hypot declaration... " >&6; }
58805   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58806     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58807   $as_echo_n "(cached) " >&6
58808 else
58809
58810
58811       ac_ext=cpp
58812 ac_cpp='$CXXCPP $CPPFLAGS'
58813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58816
58817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58818 /* end confdefs.h.  */
58819 #include <math.h>
58820 int
58821 main ()
58822 {
58823  hypot(0, 0);
58824   ;
58825   return 0;
58826 }
58827 _ACEOF
58828 if ac_fn_cxx_try_compile "$LINENO"; then :
58829   glibcxx_cv_func_hypot_use=yes
58830 else
58831   glibcxx_cv_func_hypot_use=no
58832 fi
58833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58834       ac_ext=c
58835 ac_cpp='$CPP $CPPFLAGS'
58836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58839
58840
58841 fi
58842
58843   fi
58844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58845 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58846
58847   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58848     for ac_func in hypot
58849 do :
58850   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58851 if test "x$ac_cv_func_hypot" = x""yes; then :
58852   cat >>confdefs.h <<_ACEOF
58853 #define HAVE_HYPOT 1
58854 _ACEOF
58855
58856 fi
58857 done
58858
58859   else
58860
58861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58862 $as_echo_n "checking for _hypot declaration... " >&6; }
58863   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58864     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58865   $as_echo_n "(cached) " >&6
58866 else
58867
58868
58869       ac_ext=cpp
58870 ac_cpp='$CXXCPP $CPPFLAGS'
58871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58874
58875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58876 /* end confdefs.h.  */
58877 #include <math.h>
58878 int
58879 main ()
58880 {
58881  _hypot(0, 0);
58882   ;
58883   return 0;
58884 }
58885 _ACEOF
58886 if ac_fn_cxx_try_compile "$LINENO"; then :
58887   glibcxx_cv_func__hypot_use=yes
58888 else
58889   glibcxx_cv_func__hypot_use=no
58890 fi
58891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58892       ac_ext=c
58893 ac_cpp='$CPP $CPPFLAGS'
58894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58897
58898
58899 fi
58900
58901   fi
58902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58903 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58904
58905     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58906       for ac_func in _hypot
58907 do :
58908   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58909 if test "x$ac_cv_func__hypot" = x""yes; then :
58910   cat >>confdefs.h <<_ACEOF
58911 #define HAVE__HYPOT 1
58912 _ACEOF
58913
58914 fi
58915 done
58916
58917     fi
58918   fi
58919
58920
58921
58922
58923
58924     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58925 $as_echo_n "checking for float trig functions... " >&6; }
58926   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58927   $as_echo_n "(cached) " >&6
58928 else
58929
58930
58931     ac_ext=cpp
58932 ac_cpp='$CXXCPP $CPPFLAGS'
58933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58936
58937     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58938 /* end confdefs.h.  */
58939 #include <math.h>
58940 int
58941 main ()
58942 {
58943 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58944   ;
58945   return 0;
58946 }
58947 _ACEOF
58948 if ac_fn_cxx_try_compile "$LINENO"; then :
58949   glibcxx_cv_func_float_trig_use=yes
58950 else
58951   glibcxx_cv_func_float_trig_use=no
58952 fi
58953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58954     ac_ext=c
58955 ac_cpp='$CPP $CPPFLAGS'
58956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58959
58960 fi
58961
58962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58963 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58964   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58965     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58966 do :
58967   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58969 eval as_val=\$$as_ac_var
58970    if test "x$as_val" = x""yes; then :
58971   cat >>confdefs.h <<_ACEOF
58972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58973 _ACEOF
58974
58975 fi
58976 done
58977
58978   else
58979     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58980 $as_echo_n "checking for _float trig functions... " >&6; }
58981     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58982   $as_echo_n "(cached) " >&6
58983 else
58984
58985
58986       ac_ext=cpp
58987 ac_cpp='$CXXCPP $CPPFLAGS'
58988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58991
58992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58993 /* end confdefs.h.  */
58994 #include <math.h>
58995 int
58996 main ()
58997 {
58998 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58999   ;
59000   return 0;
59001 }
59002 _ACEOF
59003 if ac_fn_cxx_try_compile "$LINENO"; then :
59004   glibcxx_cv_func__float_trig_use=yes
59005 else
59006   glibcxx_cv_func__float_trig_use=no
59007 fi
59008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59009       ac_ext=c
59010 ac_cpp='$CPP $CPPFLAGS'
59011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59014
59015 fi
59016
59017     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59018 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59019     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59020       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59021 do :
59022   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59023 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59024 eval as_val=\$$as_ac_var
59025    if test "x$as_val" = x""yes; then :
59026   cat >>confdefs.h <<_ACEOF
59027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59028 _ACEOF
59029
59030 fi
59031 done
59032
59033     fi
59034   fi
59035
59036
59037
59038
59039
59040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59041 $as_echo_n "checking for float round functions... " >&6; }
59042   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59043   $as_echo_n "(cached) " >&6
59044 else
59045
59046
59047     ac_ext=cpp
59048 ac_cpp='$CXXCPP $CPPFLAGS'
59049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59052
59053     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59054 /* end confdefs.h.  */
59055 #include <math.h>
59056 int
59057 main ()
59058 {
59059 ceilf (0); floorf (0);
59060   ;
59061   return 0;
59062 }
59063 _ACEOF
59064 if ac_fn_cxx_try_compile "$LINENO"; then :
59065   glibcxx_cv_func_float_round_use=yes
59066 else
59067   glibcxx_cv_func_float_round_use=no
59068 fi
59069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59070     ac_ext=c
59071 ac_cpp='$CPP $CPPFLAGS'
59072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59075
59076 fi
59077
59078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59079 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59080   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59081     for ac_func in ceilf floorf
59082 do :
59083   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59085 eval as_val=\$$as_ac_var
59086    if test "x$as_val" = x""yes; then :
59087   cat >>confdefs.h <<_ACEOF
59088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59089 _ACEOF
59090
59091 fi
59092 done
59093
59094   else
59095     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59096 $as_echo_n "checking for _float round functions... " >&6; }
59097     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59098   $as_echo_n "(cached) " >&6
59099 else
59100
59101
59102       ac_ext=cpp
59103 ac_cpp='$CXXCPP $CPPFLAGS'
59104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59107
59108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59109 /* end confdefs.h.  */
59110 #include <math.h>
59111 int
59112 main ()
59113 {
59114 _ceilf (0); _floorf (0);
59115   ;
59116   return 0;
59117 }
59118 _ACEOF
59119 if ac_fn_cxx_try_compile "$LINENO"; then :
59120   glibcxx_cv_func__float_round_use=yes
59121 else
59122   glibcxx_cv_func__float_round_use=no
59123 fi
59124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59125       ac_ext=c
59126 ac_cpp='$CPP $CPPFLAGS'
59127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59130
59131 fi
59132
59133     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59134 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59135     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59136       for ac_func in _ceilf _floorf
59137 do :
59138   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59140 eval as_val=\$$as_ac_var
59141    if test "x$as_val" = x""yes; then :
59142   cat >>confdefs.h <<_ACEOF
59143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59144 _ACEOF
59145
59146 fi
59147 done
59148
59149     fi
59150   fi
59151
59152
59153
59154
59155
59156
59157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59158 $as_echo_n "checking for expf declaration... " >&6; }
59159   if test x${glibcxx_cv_func_expf_use+set} != xset; then
59160     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59161   $as_echo_n "(cached) " >&6
59162 else
59163
59164
59165       ac_ext=cpp
59166 ac_cpp='$CXXCPP $CPPFLAGS'
59167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59170
59171       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59172 /* end confdefs.h.  */
59173 #include <math.h>
59174                       #ifdef HAVE_IEEEFP_H
59175                       #include <ieeefp.h>
59176                       #endif
59177
59178 int
59179 main ()
59180 {
59181  expf(0);
59182   ;
59183   return 0;
59184 }
59185 _ACEOF
59186 if ac_fn_cxx_try_compile "$LINENO"; then :
59187   glibcxx_cv_func_expf_use=yes
59188 else
59189   glibcxx_cv_func_expf_use=no
59190 fi
59191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59192       ac_ext=c
59193 ac_cpp='$CPP $CPPFLAGS'
59194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59197
59198
59199 fi
59200
59201   fi
59202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59203 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59204
59205   if test x$glibcxx_cv_func_expf_use = x"yes"; then
59206     for ac_func in expf
59207 do :
59208   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59209 if test "x$ac_cv_func_expf" = x""yes; then :
59210   cat >>confdefs.h <<_ACEOF
59211 #define HAVE_EXPF 1
59212 _ACEOF
59213
59214 fi
59215 done
59216
59217   else
59218
59219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59220 $as_echo_n "checking for _expf declaration... " >&6; }
59221   if test x${glibcxx_cv_func__expf_use+set} != xset; then
59222     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59223   $as_echo_n "(cached) " >&6
59224 else
59225
59226
59227       ac_ext=cpp
59228 ac_cpp='$CXXCPP $CPPFLAGS'
59229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59232
59233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59234 /* end confdefs.h.  */
59235 #include <math.h>
59236                       #ifdef HAVE_IEEEFP_H
59237                       #include <ieeefp.h>
59238                       #endif
59239
59240 int
59241 main ()
59242 {
59243  _expf(0);
59244   ;
59245   return 0;
59246 }
59247 _ACEOF
59248 if ac_fn_cxx_try_compile "$LINENO"; then :
59249   glibcxx_cv_func__expf_use=yes
59250 else
59251   glibcxx_cv_func__expf_use=no
59252 fi
59253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59254       ac_ext=c
59255 ac_cpp='$CPP $CPPFLAGS'
59256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59259
59260
59261 fi
59262
59263   fi
59264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59265 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59266
59267     if test x$glibcxx_cv_func__expf_use = x"yes"; then
59268       for ac_func in _expf
59269 do :
59270   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59271 if test "x$ac_cv_func__expf" = x""yes; then :
59272   cat >>confdefs.h <<_ACEOF
59273 #define HAVE__EXPF 1
59274 _ACEOF
59275
59276 fi
59277 done
59278
59279     fi
59280   fi
59281
59282
59283
59284
59285
59286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59287 $as_echo_n "checking for isnanf declaration... " >&6; }
59288   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59289     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59290   $as_echo_n "(cached) " >&6
59291 else
59292
59293
59294       ac_ext=cpp
59295 ac_cpp='$CXXCPP $CPPFLAGS'
59296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59299
59300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59301 /* end confdefs.h.  */
59302 #include <math.h>
59303                       #ifdef HAVE_IEEEFP_H
59304                       #include <ieeefp.h>
59305                       #endif
59306
59307 int
59308 main ()
59309 {
59310  isnanf(0);
59311   ;
59312   return 0;
59313 }
59314 _ACEOF
59315 if ac_fn_cxx_try_compile "$LINENO"; then :
59316   glibcxx_cv_func_isnanf_use=yes
59317 else
59318   glibcxx_cv_func_isnanf_use=no
59319 fi
59320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59321       ac_ext=c
59322 ac_cpp='$CPP $CPPFLAGS'
59323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59326
59327
59328 fi
59329
59330   fi
59331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59332 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59333
59334   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59335     for ac_func in isnanf
59336 do :
59337   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59338 if test "x$ac_cv_func_isnanf" = x""yes; then :
59339   cat >>confdefs.h <<_ACEOF
59340 #define HAVE_ISNANF 1
59341 _ACEOF
59342
59343 fi
59344 done
59345
59346   else
59347
59348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59349 $as_echo_n "checking for _isnanf declaration... " >&6; }
59350   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59351     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59352   $as_echo_n "(cached) " >&6
59353 else
59354
59355
59356       ac_ext=cpp
59357 ac_cpp='$CXXCPP $CPPFLAGS'
59358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59361
59362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59363 /* end confdefs.h.  */
59364 #include <math.h>
59365                       #ifdef HAVE_IEEEFP_H
59366                       #include <ieeefp.h>
59367                       #endif
59368
59369 int
59370 main ()
59371 {
59372  _isnanf(0);
59373   ;
59374   return 0;
59375 }
59376 _ACEOF
59377 if ac_fn_cxx_try_compile "$LINENO"; then :
59378   glibcxx_cv_func__isnanf_use=yes
59379 else
59380   glibcxx_cv_func__isnanf_use=no
59381 fi
59382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59383       ac_ext=c
59384 ac_cpp='$CPP $CPPFLAGS'
59385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59388
59389
59390 fi
59391
59392   fi
59393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59394 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59395
59396     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59397       for ac_func in _isnanf
59398 do :
59399   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59400 if test "x$ac_cv_func__isnanf" = x""yes; then :
59401   cat >>confdefs.h <<_ACEOF
59402 #define HAVE__ISNANF 1
59403 _ACEOF
59404
59405 fi
59406 done
59407
59408     fi
59409   fi
59410
59411
59412
59413
59414
59415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59416 $as_echo_n "checking for isinff declaration... " >&6; }
59417   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59418     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59419   $as_echo_n "(cached) " >&6
59420 else
59421
59422
59423       ac_ext=cpp
59424 ac_cpp='$CXXCPP $CPPFLAGS'
59425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59428
59429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59430 /* end confdefs.h.  */
59431 #include <math.h>
59432                       #ifdef HAVE_IEEEFP_H
59433                       #include <ieeefp.h>
59434                       #endif
59435
59436 int
59437 main ()
59438 {
59439  isinff(0);
59440   ;
59441   return 0;
59442 }
59443 _ACEOF
59444 if ac_fn_cxx_try_compile "$LINENO"; then :
59445   glibcxx_cv_func_isinff_use=yes
59446 else
59447   glibcxx_cv_func_isinff_use=no
59448 fi
59449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59450       ac_ext=c
59451 ac_cpp='$CPP $CPPFLAGS'
59452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59455
59456
59457 fi
59458
59459   fi
59460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59461 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59462
59463   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59464     for ac_func in isinff
59465 do :
59466   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59467 if test "x$ac_cv_func_isinff" = x""yes; then :
59468   cat >>confdefs.h <<_ACEOF
59469 #define HAVE_ISINFF 1
59470 _ACEOF
59471
59472 fi
59473 done
59474
59475   else
59476
59477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59478 $as_echo_n "checking for _isinff declaration... " >&6; }
59479   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59480     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59481   $as_echo_n "(cached) " >&6
59482 else
59483
59484
59485       ac_ext=cpp
59486 ac_cpp='$CXXCPP $CPPFLAGS'
59487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59490
59491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59492 /* end confdefs.h.  */
59493 #include <math.h>
59494                       #ifdef HAVE_IEEEFP_H
59495                       #include <ieeefp.h>
59496                       #endif
59497
59498 int
59499 main ()
59500 {
59501  _isinff(0);
59502   ;
59503   return 0;
59504 }
59505 _ACEOF
59506 if ac_fn_cxx_try_compile "$LINENO"; then :
59507   glibcxx_cv_func__isinff_use=yes
59508 else
59509   glibcxx_cv_func__isinff_use=no
59510 fi
59511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59512       ac_ext=c
59513 ac_cpp='$CPP $CPPFLAGS'
59514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59517
59518
59519 fi
59520
59521   fi
59522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59523 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59524
59525     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59526       for ac_func in _isinff
59527 do :
59528   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59529 if test "x$ac_cv_func__isinff" = x""yes; then :
59530   cat >>confdefs.h <<_ACEOF
59531 #define HAVE__ISINFF 1
59532 _ACEOF
59533
59534 fi
59535 done
59536
59537     fi
59538   fi
59539
59540
59541
59542
59543
59544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59545 $as_echo_n "checking for atan2f declaration... " >&6; }
59546   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59547     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59548   $as_echo_n "(cached) " >&6
59549 else
59550
59551
59552       ac_ext=cpp
59553 ac_cpp='$CXXCPP $CPPFLAGS'
59554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59557
59558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59559 /* end confdefs.h.  */
59560 #include <math.h>
59561 int
59562 main ()
59563 {
59564  atan2f(0, 0);
59565   ;
59566   return 0;
59567 }
59568 _ACEOF
59569 if ac_fn_cxx_try_compile "$LINENO"; then :
59570   glibcxx_cv_func_atan2f_use=yes
59571 else
59572   glibcxx_cv_func_atan2f_use=no
59573 fi
59574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59575       ac_ext=c
59576 ac_cpp='$CPP $CPPFLAGS'
59577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59580
59581
59582 fi
59583
59584   fi
59585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59586 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59587
59588   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59589     for ac_func in atan2f
59590 do :
59591   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59592 if test "x$ac_cv_func_atan2f" = x""yes; then :
59593   cat >>confdefs.h <<_ACEOF
59594 #define HAVE_ATAN2F 1
59595 _ACEOF
59596
59597 fi
59598 done
59599
59600   else
59601
59602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59603 $as_echo_n "checking for _atan2f declaration... " >&6; }
59604   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59605     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59606   $as_echo_n "(cached) " >&6
59607 else
59608
59609
59610       ac_ext=cpp
59611 ac_cpp='$CXXCPP $CPPFLAGS'
59612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59615
59616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59617 /* end confdefs.h.  */
59618 #include <math.h>
59619 int
59620 main ()
59621 {
59622  _atan2f(0, 0);
59623   ;
59624   return 0;
59625 }
59626 _ACEOF
59627 if ac_fn_cxx_try_compile "$LINENO"; then :
59628   glibcxx_cv_func__atan2f_use=yes
59629 else
59630   glibcxx_cv_func__atan2f_use=no
59631 fi
59632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59633       ac_ext=c
59634 ac_cpp='$CPP $CPPFLAGS'
59635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59638
59639
59640 fi
59641
59642   fi
59643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59644 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59645
59646     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59647       for ac_func in _atan2f
59648 do :
59649   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59650 if test "x$ac_cv_func__atan2f" = x""yes; then :
59651   cat >>confdefs.h <<_ACEOF
59652 #define HAVE__ATAN2F 1
59653 _ACEOF
59654
59655 fi
59656 done
59657
59658     fi
59659   fi
59660
59661
59662
59663
59664
59665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59666 $as_echo_n "checking for fabsf declaration... " >&6; }
59667   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59668     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59669   $as_echo_n "(cached) " >&6
59670 else
59671
59672
59673       ac_ext=cpp
59674 ac_cpp='$CXXCPP $CPPFLAGS'
59675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59678
59679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59680 /* end confdefs.h.  */
59681 #include <math.h>
59682                       #ifdef HAVE_IEEEFP_H
59683                       #include <ieeefp.h>
59684                       #endif
59685
59686 int
59687 main ()
59688 {
59689  fabsf(0);
59690   ;
59691   return 0;
59692 }
59693 _ACEOF
59694 if ac_fn_cxx_try_compile "$LINENO"; then :
59695   glibcxx_cv_func_fabsf_use=yes
59696 else
59697   glibcxx_cv_func_fabsf_use=no
59698 fi
59699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59700       ac_ext=c
59701 ac_cpp='$CPP $CPPFLAGS'
59702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59705
59706
59707 fi
59708
59709   fi
59710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59711 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59712
59713   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59714     for ac_func in fabsf
59715 do :
59716   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59717 if test "x$ac_cv_func_fabsf" = x""yes; then :
59718   cat >>confdefs.h <<_ACEOF
59719 #define HAVE_FABSF 1
59720 _ACEOF
59721
59722 fi
59723 done
59724
59725   else
59726
59727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59728 $as_echo_n "checking for _fabsf declaration... " >&6; }
59729   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59730     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59731   $as_echo_n "(cached) " >&6
59732 else
59733
59734
59735       ac_ext=cpp
59736 ac_cpp='$CXXCPP $CPPFLAGS'
59737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59740
59741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59742 /* end confdefs.h.  */
59743 #include <math.h>
59744                       #ifdef HAVE_IEEEFP_H
59745                       #include <ieeefp.h>
59746                       #endif
59747
59748 int
59749 main ()
59750 {
59751  _fabsf(0);
59752   ;
59753   return 0;
59754 }
59755 _ACEOF
59756 if ac_fn_cxx_try_compile "$LINENO"; then :
59757   glibcxx_cv_func__fabsf_use=yes
59758 else
59759   glibcxx_cv_func__fabsf_use=no
59760 fi
59761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59762       ac_ext=c
59763 ac_cpp='$CPP $CPPFLAGS'
59764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59767
59768
59769 fi
59770
59771   fi
59772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59773 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59774
59775     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59776       for ac_func in _fabsf
59777 do :
59778   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59779 if test "x$ac_cv_func__fabsf" = x""yes; then :
59780   cat >>confdefs.h <<_ACEOF
59781 #define HAVE__FABSF 1
59782 _ACEOF
59783
59784 fi
59785 done
59786
59787     fi
59788   fi
59789
59790
59791
59792
59793
59794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59795 $as_echo_n "checking for fmodf declaration... " >&6; }
59796   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59797     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59798   $as_echo_n "(cached) " >&6
59799 else
59800
59801
59802       ac_ext=cpp
59803 ac_cpp='$CXXCPP $CPPFLAGS'
59804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59807
59808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59809 /* end confdefs.h.  */
59810 #include <math.h>
59811 int
59812 main ()
59813 {
59814  fmodf(0, 0);
59815   ;
59816   return 0;
59817 }
59818 _ACEOF
59819 if ac_fn_cxx_try_compile "$LINENO"; then :
59820   glibcxx_cv_func_fmodf_use=yes
59821 else
59822   glibcxx_cv_func_fmodf_use=no
59823 fi
59824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59825       ac_ext=c
59826 ac_cpp='$CPP $CPPFLAGS'
59827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59830
59831
59832 fi
59833
59834   fi
59835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59836 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59837
59838   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59839     for ac_func in fmodf
59840 do :
59841   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59842 if test "x$ac_cv_func_fmodf" = x""yes; then :
59843   cat >>confdefs.h <<_ACEOF
59844 #define HAVE_FMODF 1
59845 _ACEOF
59846
59847 fi
59848 done
59849
59850   else
59851
59852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59853 $as_echo_n "checking for _fmodf declaration... " >&6; }
59854   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59855     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59856   $as_echo_n "(cached) " >&6
59857 else
59858
59859
59860       ac_ext=cpp
59861 ac_cpp='$CXXCPP $CPPFLAGS'
59862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59865
59866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59867 /* end confdefs.h.  */
59868 #include <math.h>
59869 int
59870 main ()
59871 {
59872  _fmodf(0, 0);
59873   ;
59874   return 0;
59875 }
59876 _ACEOF
59877 if ac_fn_cxx_try_compile "$LINENO"; then :
59878   glibcxx_cv_func__fmodf_use=yes
59879 else
59880   glibcxx_cv_func__fmodf_use=no
59881 fi
59882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59883       ac_ext=c
59884 ac_cpp='$CPP $CPPFLAGS'
59885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59888
59889
59890 fi
59891
59892   fi
59893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59894 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59895
59896     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59897       for ac_func in _fmodf
59898 do :
59899   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59900 if test "x$ac_cv_func__fmodf" = x""yes; then :
59901   cat >>confdefs.h <<_ACEOF
59902 #define HAVE__FMODF 1
59903 _ACEOF
59904
59905 fi
59906 done
59907
59908     fi
59909   fi
59910
59911
59912
59913
59914
59915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59916 $as_echo_n "checking for frexpf declaration... " >&6; }
59917   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59918     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59919   $as_echo_n "(cached) " >&6
59920 else
59921
59922
59923       ac_ext=cpp
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59928
59929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h.  */
59931 #include <math.h>
59932 int
59933 main ()
59934 {
59935  frexpf(0, 0);
59936   ;
59937   return 0;
59938 }
59939 _ACEOF
59940 if ac_fn_cxx_try_compile "$LINENO"; then :
59941   glibcxx_cv_func_frexpf_use=yes
59942 else
59943   glibcxx_cv_func_frexpf_use=no
59944 fi
59945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59946       ac_ext=c
59947 ac_cpp='$CPP $CPPFLAGS'
59948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59951
59952
59953 fi
59954
59955   fi
59956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59957 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59958
59959   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59960     for ac_func in frexpf
59961 do :
59962   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59963 if test "x$ac_cv_func_frexpf" = x""yes; then :
59964   cat >>confdefs.h <<_ACEOF
59965 #define HAVE_FREXPF 1
59966 _ACEOF
59967
59968 fi
59969 done
59970
59971   else
59972
59973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59974 $as_echo_n "checking for _frexpf declaration... " >&6; }
59975   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59976     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59977   $as_echo_n "(cached) " >&6
59978 else
59979
59980
59981       ac_ext=cpp
59982 ac_cpp='$CXXCPP $CPPFLAGS'
59983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59986
59987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59988 /* end confdefs.h.  */
59989 #include <math.h>
59990 int
59991 main ()
59992 {
59993  _frexpf(0, 0);
59994   ;
59995   return 0;
59996 }
59997 _ACEOF
59998 if ac_fn_cxx_try_compile "$LINENO"; then :
59999   glibcxx_cv_func__frexpf_use=yes
60000 else
60001   glibcxx_cv_func__frexpf_use=no
60002 fi
60003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60004       ac_ext=c
60005 ac_cpp='$CPP $CPPFLAGS'
60006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60009
60010
60011 fi
60012
60013   fi
60014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60015 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60016
60017     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60018       for ac_func in _frexpf
60019 do :
60020   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60021 if test "x$ac_cv_func__frexpf" = x""yes; then :
60022   cat >>confdefs.h <<_ACEOF
60023 #define HAVE__FREXPF 1
60024 _ACEOF
60025
60026 fi
60027 done
60028
60029     fi
60030   fi
60031
60032
60033
60034
60035
60036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60037 $as_echo_n "checking for hypotf declaration... " >&6; }
60038   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60039     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60040   $as_echo_n "(cached) " >&6
60041 else
60042
60043
60044       ac_ext=cpp
60045 ac_cpp='$CXXCPP $CPPFLAGS'
60046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60049
60050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60051 /* end confdefs.h.  */
60052 #include <math.h>
60053 int
60054 main ()
60055 {
60056  hypotf(0, 0);
60057   ;
60058   return 0;
60059 }
60060 _ACEOF
60061 if ac_fn_cxx_try_compile "$LINENO"; then :
60062   glibcxx_cv_func_hypotf_use=yes
60063 else
60064   glibcxx_cv_func_hypotf_use=no
60065 fi
60066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60067       ac_ext=c
60068 ac_cpp='$CPP $CPPFLAGS'
60069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60072
60073
60074 fi
60075
60076   fi
60077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60078 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60079
60080   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60081     for ac_func in hypotf
60082 do :
60083   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60084 if test "x$ac_cv_func_hypotf" = x""yes; then :
60085   cat >>confdefs.h <<_ACEOF
60086 #define HAVE_HYPOTF 1
60087 _ACEOF
60088
60089 fi
60090 done
60091
60092   else
60093
60094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60095 $as_echo_n "checking for _hypotf declaration... " >&6; }
60096   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60097     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60098   $as_echo_n "(cached) " >&6
60099 else
60100
60101
60102       ac_ext=cpp
60103 ac_cpp='$CXXCPP $CPPFLAGS'
60104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60107
60108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60109 /* end confdefs.h.  */
60110 #include <math.h>
60111 int
60112 main ()
60113 {
60114  _hypotf(0, 0);
60115   ;
60116   return 0;
60117 }
60118 _ACEOF
60119 if ac_fn_cxx_try_compile "$LINENO"; then :
60120   glibcxx_cv_func__hypotf_use=yes
60121 else
60122   glibcxx_cv_func__hypotf_use=no
60123 fi
60124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60125       ac_ext=c
60126 ac_cpp='$CPP $CPPFLAGS'
60127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60130
60131
60132 fi
60133
60134   fi
60135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60136 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60137
60138     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60139       for ac_func in _hypotf
60140 do :
60141   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60142 if test "x$ac_cv_func__hypotf" = x""yes; then :
60143   cat >>confdefs.h <<_ACEOF
60144 #define HAVE__HYPOTF 1
60145 _ACEOF
60146
60147 fi
60148 done
60149
60150     fi
60151   fi
60152
60153
60154
60155
60156
60157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60158 $as_echo_n "checking for ldexpf declaration... " >&6; }
60159   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60160     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60161   $as_echo_n "(cached) " >&6
60162 else
60163
60164
60165       ac_ext=cpp
60166 ac_cpp='$CXXCPP $CPPFLAGS'
60167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60170
60171       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60172 /* end confdefs.h.  */
60173 #include <math.h>
60174 int
60175 main ()
60176 {
60177  ldexpf(0, 0);
60178   ;
60179   return 0;
60180 }
60181 _ACEOF
60182 if ac_fn_cxx_try_compile "$LINENO"; then :
60183   glibcxx_cv_func_ldexpf_use=yes
60184 else
60185   glibcxx_cv_func_ldexpf_use=no
60186 fi
60187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60188       ac_ext=c
60189 ac_cpp='$CPP $CPPFLAGS'
60190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60193
60194
60195 fi
60196
60197   fi
60198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60199 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60200
60201   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60202     for ac_func in ldexpf
60203 do :
60204   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60205 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60206   cat >>confdefs.h <<_ACEOF
60207 #define HAVE_LDEXPF 1
60208 _ACEOF
60209
60210 fi
60211 done
60212
60213   else
60214
60215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60216 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60217   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60218     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60219   $as_echo_n "(cached) " >&6
60220 else
60221
60222
60223       ac_ext=cpp
60224 ac_cpp='$CXXCPP $CPPFLAGS'
60225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60228
60229       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60230 /* end confdefs.h.  */
60231 #include <math.h>
60232 int
60233 main ()
60234 {
60235  _ldexpf(0, 0);
60236   ;
60237   return 0;
60238 }
60239 _ACEOF
60240 if ac_fn_cxx_try_compile "$LINENO"; then :
60241   glibcxx_cv_func__ldexpf_use=yes
60242 else
60243   glibcxx_cv_func__ldexpf_use=no
60244 fi
60245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60246       ac_ext=c
60247 ac_cpp='$CPP $CPPFLAGS'
60248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60251
60252
60253 fi
60254
60255   fi
60256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60257 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60258
60259     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60260       for ac_func in _ldexpf
60261 do :
60262   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60263 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60264   cat >>confdefs.h <<_ACEOF
60265 #define HAVE__LDEXPF 1
60266 _ACEOF
60267
60268 fi
60269 done
60270
60271     fi
60272   fi
60273
60274
60275
60276
60277
60278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60279 $as_echo_n "checking for logf declaration... " >&6; }
60280   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60281     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60282   $as_echo_n "(cached) " >&6
60283 else
60284
60285
60286       ac_ext=cpp
60287 ac_cpp='$CXXCPP $CPPFLAGS'
60288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60291
60292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60293 /* end confdefs.h.  */
60294 #include <math.h>
60295                       #ifdef HAVE_IEEEFP_H
60296                       #include <ieeefp.h>
60297                       #endif
60298
60299 int
60300 main ()
60301 {
60302  logf(0);
60303   ;
60304   return 0;
60305 }
60306 _ACEOF
60307 if ac_fn_cxx_try_compile "$LINENO"; then :
60308   glibcxx_cv_func_logf_use=yes
60309 else
60310   glibcxx_cv_func_logf_use=no
60311 fi
60312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60313       ac_ext=c
60314 ac_cpp='$CPP $CPPFLAGS'
60315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60318
60319
60320 fi
60321
60322   fi
60323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60324 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60325
60326   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60327     for ac_func in logf
60328 do :
60329   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60330 if test "x$ac_cv_func_logf" = x""yes; then :
60331   cat >>confdefs.h <<_ACEOF
60332 #define HAVE_LOGF 1
60333 _ACEOF
60334
60335 fi
60336 done
60337
60338   else
60339
60340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60341 $as_echo_n "checking for _logf declaration... " >&6; }
60342   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60343     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60344   $as_echo_n "(cached) " >&6
60345 else
60346
60347
60348       ac_ext=cpp
60349 ac_cpp='$CXXCPP $CPPFLAGS'
60350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60353
60354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60355 /* end confdefs.h.  */
60356 #include <math.h>
60357                       #ifdef HAVE_IEEEFP_H
60358                       #include <ieeefp.h>
60359                       #endif
60360
60361 int
60362 main ()
60363 {
60364  _logf(0);
60365   ;
60366   return 0;
60367 }
60368 _ACEOF
60369 if ac_fn_cxx_try_compile "$LINENO"; then :
60370   glibcxx_cv_func__logf_use=yes
60371 else
60372   glibcxx_cv_func__logf_use=no
60373 fi
60374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60375       ac_ext=c
60376 ac_cpp='$CPP $CPPFLAGS'
60377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60380
60381
60382 fi
60383
60384   fi
60385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60386 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60387
60388     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60389       for ac_func in _logf
60390 do :
60391   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60392 if test "x$ac_cv_func__logf" = x""yes; then :
60393   cat >>confdefs.h <<_ACEOF
60394 #define HAVE__LOGF 1
60395 _ACEOF
60396
60397 fi
60398 done
60399
60400     fi
60401   fi
60402
60403
60404
60405
60406
60407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60408 $as_echo_n "checking for log10f declaration... " >&6; }
60409   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60410     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60411   $as_echo_n "(cached) " >&6
60412 else
60413
60414
60415       ac_ext=cpp
60416 ac_cpp='$CXXCPP $CPPFLAGS'
60417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60420
60421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60422 /* end confdefs.h.  */
60423 #include <math.h>
60424                       #ifdef HAVE_IEEEFP_H
60425                       #include <ieeefp.h>
60426                       #endif
60427
60428 int
60429 main ()
60430 {
60431  log10f(0);
60432   ;
60433   return 0;
60434 }
60435 _ACEOF
60436 if ac_fn_cxx_try_compile "$LINENO"; then :
60437   glibcxx_cv_func_log10f_use=yes
60438 else
60439   glibcxx_cv_func_log10f_use=no
60440 fi
60441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60442       ac_ext=c
60443 ac_cpp='$CPP $CPPFLAGS'
60444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60447
60448
60449 fi
60450
60451   fi
60452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60453 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60454
60455   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60456     for ac_func in log10f
60457 do :
60458   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60459 if test "x$ac_cv_func_log10f" = x""yes; then :
60460   cat >>confdefs.h <<_ACEOF
60461 #define HAVE_LOG10F 1
60462 _ACEOF
60463
60464 fi
60465 done
60466
60467   else
60468
60469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60470 $as_echo_n "checking for _log10f declaration... " >&6; }
60471   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60472     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60473   $as_echo_n "(cached) " >&6
60474 else
60475
60476
60477       ac_ext=cpp
60478 ac_cpp='$CXXCPP $CPPFLAGS'
60479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60482
60483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60484 /* end confdefs.h.  */
60485 #include <math.h>
60486                       #ifdef HAVE_IEEEFP_H
60487                       #include <ieeefp.h>
60488                       #endif
60489
60490 int
60491 main ()
60492 {
60493  _log10f(0);
60494   ;
60495   return 0;
60496 }
60497 _ACEOF
60498 if ac_fn_cxx_try_compile "$LINENO"; then :
60499   glibcxx_cv_func__log10f_use=yes
60500 else
60501   glibcxx_cv_func__log10f_use=no
60502 fi
60503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60504       ac_ext=c
60505 ac_cpp='$CPP $CPPFLAGS'
60506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60509
60510
60511 fi
60512
60513   fi
60514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60515 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60516
60517     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60518       for ac_func in _log10f
60519 do :
60520   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60521 if test "x$ac_cv_func__log10f" = x""yes; then :
60522   cat >>confdefs.h <<_ACEOF
60523 #define HAVE__LOG10F 1
60524 _ACEOF
60525
60526 fi
60527 done
60528
60529     fi
60530   fi
60531
60532
60533
60534
60535
60536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60537 $as_echo_n "checking for modff declaration... " >&6; }
60538   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60539     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60540   $as_echo_n "(cached) " >&6
60541 else
60542
60543
60544       ac_ext=cpp
60545 ac_cpp='$CXXCPP $CPPFLAGS'
60546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60549
60550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60551 /* end confdefs.h.  */
60552 #include <math.h>
60553 int
60554 main ()
60555 {
60556  modff(0, 0);
60557   ;
60558   return 0;
60559 }
60560 _ACEOF
60561 if ac_fn_cxx_try_compile "$LINENO"; then :
60562   glibcxx_cv_func_modff_use=yes
60563 else
60564   glibcxx_cv_func_modff_use=no
60565 fi
60566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60567       ac_ext=c
60568 ac_cpp='$CPP $CPPFLAGS'
60569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60572
60573
60574 fi
60575
60576   fi
60577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60578 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60579
60580   if test x$glibcxx_cv_func_modff_use = x"yes"; then
60581     for ac_func in modff
60582 do :
60583   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60584 if test "x$ac_cv_func_modff" = x""yes; then :
60585   cat >>confdefs.h <<_ACEOF
60586 #define HAVE_MODFF 1
60587 _ACEOF
60588
60589 fi
60590 done
60591
60592   else
60593
60594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60595 $as_echo_n "checking for _modff declaration... " >&6; }
60596   if test x${glibcxx_cv_func__modff_use+set} != xset; then
60597     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60598   $as_echo_n "(cached) " >&6
60599 else
60600
60601
60602       ac_ext=cpp
60603 ac_cpp='$CXXCPP $CPPFLAGS'
60604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60607
60608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60609 /* end confdefs.h.  */
60610 #include <math.h>
60611 int
60612 main ()
60613 {
60614  _modff(0, 0);
60615   ;
60616   return 0;
60617 }
60618 _ACEOF
60619 if ac_fn_cxx_try_compile "$LINENO"; then :
60620   glibcxx_cv_func__modff_use=yes
60621 else
60622   glibcxx_cv_func__modff_use=no
60623 fi
60624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60625       ac_ext=c
60626 ac_cpp='$CPP $CPPFLAGS'
60627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60630
60631
60632 fi
60633
60634   fi
60635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60636 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60637
60638     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60639       for ac_func in _modff
60640 do :
60641   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60642 if test "x$ac_cv_func__modff" = x""yes; then :
60643   cat >>confdefs.h <<_ACEOF
60644 #define HAVE__MODFF 1
60645 _ACEOF
60646
60647 fi
60648 done
60649
60650     fi
60651   fi
60652
60653
60654
60655
60656
60657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60658 $as_echo_n "checking for modf declaration... " >&6; }
60659   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60660     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60661   $as_echo_n "(cached) " >&6
60662 else
60663
60664
60665       ac_ext=cpp
60666 ac_cpp='$CXXCPP $CPPFLAGS'
60667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60670
60671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60672 /* end confdefs.h.  */
60673 #include <math.h>
60674 int
60675 main ()
60676 {
60677  modf(0, 0);
60678   ;
60679   return 0;
60680 }
60681 _ACEOF
60682 if ac_fn_cxx_try_compile "$LINENO"; then :
60683   glibcxx_cv_func_modf_use=yes
60684 else
60685   glibcxx_cv_func_modf_use=no
60686 fi
60687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60688       ac_ext=c
60689 ac_cpp='$CPP $CPPFLAGS'
60690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60693
60694
60695 fi
60696
60697   fi
60698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60699 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60700
60701   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60702     for ac_func in modf
60703 do :
60704   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60705 if test "x$ac_cv_func_modf" = x""yes; then :
60706   cat >>confdefs.h <<_ACEOF
60707 #define HAVE_MODF 1
60708 _ACEOF
60709
60710 fi
60711 done
60712
60713   else
60714
60715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60716 $as_echo_n "checking for _modf declaration... " >&6; }
60717   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60718     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60719   $as_echo_n "(cached) " >&6
60720 else
60721
60722
60723       ac_ext=cpp
60724 ac_cpp='$CXXCPP $CPPFLAGS'
60725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60728
60729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60730 /* end confdefs.h.  */
60731 #include <math.h>
60732 int
60733 main ()
60734 {
60735  _modf(0, 0);
60736   ;
60737   return 0;
60738 }
60739 _ACEOF
60740 if ac_fn_cxx_try_compile "$LINENO"; then :
60741   glibcxx_cv_func__modf_use=yes
60742 else
60743   glibcxx_cv_func__modf_use=no
60744 fi
60745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60746       ac_ext=c
60747 ac_cpp='$CPP $CPPFLAGS'
60748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60751
60752
60753 fi
60754
60755   fi
60756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60757 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60758
60759     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60760       for ac_func in _modf
60761 do :
60762   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60763 if test "x$ac_cv_func__modf" = x""yes; then :
60764   cat >>confdefs.h <<_ACEOF
60765 #define HAVE__MODF 1
60766 _ACEOF
60767
60768 fi
60769 done
60770
60771     fi
60772   fi
60773
60774
60775
60776
60777
60778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60779 $as_echo_n "checking for powf declaration... " >&6; }
60780   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60781     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60782   $as_echo_n "(cached) " >&6
60783 else
60784
60785
60786       ac_ext=cpp
60787 ac_cpp='$CXXCPP $CPPFLAGS'
60788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60791
60792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60793 /* end confdefs.h.  */
60794 #include <math.h>
60795 int
60796 main ()
60797 {
60798  powf(0, 0);
60799   ;
60800   return 0;
60801 }
60802 _ACEOF
60803 if ac_fn_cxx_try_compile "$LINENO"; then :
60804   glibcxx_cv_func_powf_use=yes
60805 else
60806   glibcxx_cv_func_powf_use=no
60807 fi
60808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60809       ac_ext=c
60810 ac_cpp='$CPP $CPPFLAGS'
60811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60814
60815
60816 fi
60817
60818   fi
60819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60820 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60821
60822   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60823     for ac_func in powf
60824 do :
60825   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60826 if test "x$ac_cv_func_powf" = x""yes; then :
60827   cat >>confdefs.h <<_ACEOF
60828 #define HAVE_POWF 1
60829 _ACEOF
60830
60831 fi
60832 done
60833
60834   else
60835
60836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60837 $as_echo_n "checking for _powf declaration... " >&6; }
60838   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60839     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60840   $as_echo_n "(cached) " >&6
60841 else
60842
60843
60844       ac_ext=cpp
60845 ac_cpp='$CXXCPP $CPPFLAGS'
60846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60849
60850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60851 /* end confdefs.h.  */
60852 #include <math.h>
60853 int
60854 main ()
60855 {
60856  _powf(0, 0);
60857   ;
60858   return 0;
60859 }
60860 _ACEOF
60861 if ac_fn_cxx_try_compile "$LINENO"; then :
60862   glibcxx_cv_func__powf_use=yes
60863 else
60864   glibcxx_cv_func__powf_use=no
60865 fi
60866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60867       ac_ext=c
60868 ac_cpp='$CPP $CPPFLAGS'
60869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60872
60873
60874 fi
60875
60876   fi
60877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60878 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60879
60880     if test x$glibcxx_cv_func__powf_use = x"yes"; then
60881       for ac_func in _powf
60882 do :
60883   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60884 if test "x$ac_cv_func__powf" = x""yes; then :
60885   cat >>confdefs.h <<_ACEOF
60886 #define HAVE__POWF 1
60887 _ACEOF
60888
60889 fi
60890 done
60891
60892     fi
60893   fi
60894
60895
60896
60897
60898
60899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60900 $as_echo_n "checking for sqrtf declaration... " >&6; }
60901   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60902     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60903   $as_echo_n "(cached) " >&6
60904 else
60905
60906
60907       ac_ext=cpp
60908 ac_cpp='$CXXCPP $CPPFLAGS'
60909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60912
60913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60914 /* end confdefs.h.  */
60915 #include <math.h>
60916                       #ifdef HAVE_IEEEFP_H
60917                       #include <ieeefp.h>
60918                       #endif
60919
60920 int
60921 main ()
60922 {
60923  sqrtf(0);
60924   ;
60925   return 0;
60926 }
60927 _ACEOF
60928 if ac_fn_cxx_try_compile "$LINENO"; then :
60929   glibcxx_cv_func_sqrtf_use=yes
60930 else
60931   glibcxx_cv_func_sqrtf_use=no
60932 fi
60933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60934       ac_ext=c
60935 ac_cpp='$CPP $CPPFLAGS'
60936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60939
60940
60941 fi
60942
60943   fi
60944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60945 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60946
60947   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60948     for ac_func in sqrtf
60949 do :
60950   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60951 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60952   cat >>confdefs.h <<_ACEOF
60953 #define HAVE_SQRTF 1
60954 _ACEOF
60955
60956 fi
60957 done
60958
60959   else
60960
60961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60962 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60963   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60964     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60965   $as_echo_n "(cached) " >&6
60966 else
60967
60968
60969       ac_ext=cpp
60970 ac_cpp='$CXXCPP $CPPFLAGS'
60971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60974
60975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60976 /* end confdefs.h.  */
60977 #include <math.h>
60978                       #ifdef HAVE_IEEEFP_H
60979                       #include <ieeefp.h>
60980                       #endif
60981
60982 int
60983 main ()
60984 {
60985  _sqrtf(0);
60986   ;
60987   return 0;
60988 }
60989 _ACEOF
60990 if ac_fn_cxx_try_compile "$LINENO"; then :
60991   glibcxx_cv_func__sqrtf_use=yes
60992 else
60993   glibcxx_cv_func__sqrtf_use=no
60994 fi
60995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60996       ac_ext=c
60997 ac_cpp='$CPP $CPPFLAGS'
60998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61001
61002
61003 fi
61004
61005   fi
61006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61007 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61008
61009     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61010       for ac_func in _sqrtf
61011 do :
61012   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61013 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61014   cat >>confdefs.h <<_ACEOF
61015 #define HAVE__SQRTF 1
61016 _ACEOF
61017
61018 fi
61019 done
61020
61021     fi
61022   fi
61023
61024
61025
61026
61027
61028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61029 $as_echo_n "checking for sincosf declaration... " >&6; }
61030   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61031     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61032   $as_echo_n "(cached) " >&6
61033 else
61034
61035
61036       ac_ext=cpp
61037 ac_cpp='$CXXCPP $CPPFLAGS'
61038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61041
61042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61043 /* end confdefs.h.  */
61044 #include <math.h>
61045 int
61046 main ()
61047 {
61048  sincosf(0, 0, 0);
61049   ;
61050   return 0;
61051 }
61052 _ACEOF
61053 if ac_fn_cxx_try_compile "$LINENO"; then :
61054   glibcxx_cv_func_sincosf_use=yes
61055 else
61056   glibcxx_cv_func_sincosf_use=no
61057 fi
61058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61059       ac_ext=c
61060 ac_cpp='$CPP $CPPFLAGS'
61061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61064
61065
61066 fi
61067
61068   fi
61069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61070 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61071
61072   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61073     for ac_func in sincosf
61074 do :
61075   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61076 if test "x$ac_cv_func_sincosf" = x""yes; then :
61077   cat >>confdefs.h <<_ACEOF
61078 #define HAVE_SINCOSF 1
61079 _ACEOF
61080
61081 fi
61082 done
61083
61084   else
61085
61086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61087 $as_echo_n "checking for _sincosf declaration... " >&6; }
61088   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61089     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61090   $as_echo_n "(cached) " >&6
61091 else
61092
61093
61094       ac_ext=cpp
61095 ac_cpp='$CXXCPP $CPPFLAGS'
61096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61099
61100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61101 /* end confdefs.h.  */
61102 #include <math.h>
61103 int
61104 main ()
61105 {
61106  _sincosf(0, 0, 0);
61107   ;
61108   return 0;
61109 }
61110 _ACEOF
61111 if ac_fn_cxx_try_compile "$LINENO"; then :
61112   glibcxx_cv_func__sincosf_use=yes
61113 else
61114   glibcxx_cv_func__sincosf_use=no
61115 fi
61116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61117       ac_ext=c
61118 ac_cpp='$CPP $CPPFLAGS'
61119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61122
61123
61124 fi
61125
61126   fi
61127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61128 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61129
61130     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61131       for ac_func in _sincosf
61132 do :
61133   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61134 if test "x$ac_cv_func__sincosf" = x""yes; then :
61135   cat >>confdefs.h <<_ACEOF
61136 #define HAVE__SINCOSF 1
61137 _ACEOF
61138
61139 fi
61140 done
61141
61142     fi
61143   fi
61144
61145
61146
61147
61148
61149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61150 $as_echo_n "checking for finitef declaration... " >&6; }
61151   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61152     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61153   $as_echo_n "(cached) " >&6
61154 else
61155
61156
61157       ac_ext=cpp
61158 ac_cpp='$CXXCPP $CPPFLAGS'
61159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61162
61163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61164 /* end confdefs.h.  */
61165 #include <math.h>
61166                       #ifdef HAVE_IEEEFP_H
61167                       #include <ieeefp.h>
61168                       #endif
61169
61170 int
61171 main ()
61172 {
61173  finitef(0);
61174   ;
61175   return 0;
61176 }
61177 _ACEOF
61178 if ac_fn_cxx_try_compile "$LINENO"; then :
61179   glibcxx_cv_func_finitef_use=yes
61180 else
61181   glibcxx_cv_func_finitef_use=no
61182 fi
61183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61184       ac_ext=c
61185 ac_cpp='$CPP $CPPFLAGS'
61186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61189
61190
61191 fi
61192
61193   fi
61194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61195 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61196
61197   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61198     for ac_func in finitef
61199 do :
61200   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61201 if test "x$ac_cv_func_finitef" = x""yes; then :
61202   cat >>confdefs.h <<_ACEOF
61203 #define HAVE_FINITEF 1
61204 _ACEOF
61205
61206 fi
61207 done
61208
61209   else
61210
61211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61212 $as_echo_n "checking for _finitef declaration... " >&6; }
61213   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61214     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61215   $as_echo_n "(cached) " >&6
61216 else
61217
61218
61219       ac_ext=cpp
61220 ac_cpp='$CXXCPP $CPPFLAGS'
61221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61224
61225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61226 /* end confdefs.h.  */
61227 #include <math.h>
61228                       #ifdef HAVE_IEEEFP_H
61229                       #include <ieeefp.h>
61230                       #endif
61231
61232 int
61233 main ()
61234 {
61235  _finitef(0);
61236   ;
61237   return 0;
61238 }
61239 _ACEOF
61240 if ac_fn_cxx_try_compile "$LINENO"; then :
61241   glibcxx_cv_func__finitef_use=yes
61242 else
61243   glibcxx_cv_func__finitef_use=no
61244 fi
61245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61246       ac_ext=c
61247 ac_cpp='$CPP $CPPFLAGS'
61248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61251
61252
61253 fi
61254
61255   fi
61256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61257 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61258
61259     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61260       for ac_func in _finitef
61261 do :
61262   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61263 if test "x$ac_cv_func__finitef" = x""yes; then :
61264   cat >>confdefs.h <<_ACEOF
61265 #define HAVE__FINITEF 1
61266 _ACEOF
61267
61268 fi
61269 done
61270
61271     fi
61272   fi
61273
61274
61275
61276
61277
61278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61279 $as_echo_n "checking for long double trig functions... " >&6; }
61280   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61281   $as_echo_n "(cached) " >&6
61282 else
61283
61284
61285     ac_ext=cpp
61286 ac_cpp='$CXXCPP $CPPFLAGS'
61287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61290
61291     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61292 /* end confdefs.h.  */
61293 #include <math.h>
61294 int
61295 main ()
61296 {
61297 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61298   ;
61299   return 0;
61300 }
61301 _ACEOF
61302 if ac_fn_cxx_try_compile "$LINENO"; then :
61303   glibcxx_cv_func_long_double_trig_use=yes
61304 else
61305   glibcxx_cv_func_long_double_trig_use=no
61306 fi
61307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61308     ac_ext=c
61309 ac_cpp='$CPP $CPPFLAGS'
61310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61313
61314 fi
61315
61316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61317 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61318   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61319     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61320 do :
61321   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61323 eval as_val=\$$as_ac_var
61324    if test "x$as_val" = x""yes; then :
61325   cat >>confdefs.h <<_ACEOF
61326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61327 _ACEOF
61328
61329 fi
61330 done
61331
61332   else
61333     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61334 $as_echo_n "checking for _long double trig functions... " >&6; }
61335     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61336   $as_echo_n "(cached) " >&6
61337 else
61338
61339
61340       ac_ext=cpp
61341 ac_cpp='$CXXCPP $CPPFLAGS'
61342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61345
61346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61347 /* end confdefs.h.  */
61348 #include <math.h>
61349 int
61350 main ()
61351 {
61352 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61353   ;
61354   return 0;
61355 }
61356 _ACEOF
61357 if ac_fn_cxx_try_compile "$LINENO"; then :
61358   glibcxx_cv_func__long_double_trig_use=yes
61359 else
61360   glibcxx_cv_func__long_double_trig_use=no
61361 fi
61362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61363       ac_ext=c
61364 ac_cpp='$CPP $CPPFLAGS'
61365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61368
61369 fi
61370
61371     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61372 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61373     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61374       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61375 do :
61376   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61378 eval as_val=\$$as_ac_var
61379    if test "x$as_val" = x""yes; then :
61380   cat >>confdefs.h <<_ACEOF
61381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61382 _ACEOF
61383
61384 fi
61385 done
61386
61387     fi
61388   fi
61389
61390
61391
61392
61393
61394     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61395 $as_echo_n "checking for long double round functions... " >&6; }
61396   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61397   $as_echo_n "(cached) " >&6
61398 else
61399
61400
61401     ac_ext=cpp
61402 ac_cpp='$CXXCPP $CPPFLAGS'
61403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61406
61407     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61408 /* end confdefs.h.  */
61409 #include <math.h>
61410 int
61411 main ()
61412 {
61413 ceill (0); floorl (0);
61414   ;
61415   return 0;
61416 }
61417 _ACEOF
61418 if ac_fn_cxx_try_compile "$LINENO"; then :
61419   glibcxx_cv_func_long_double_round_use=yes
61420 else
61421   glibcxx_cv_func_long_double_round_use=no
61422 fi
61423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61424     ac_ext=c
61425 ac_cpp='$CPP $CPPFLAGS'
61426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61429
61430 fi
61431
61432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61433 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61434   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61435     for ac_func in ceill floorl
61436 do :
61437   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61439 eval as_val=\$$as_ac_var
61440    if test "x$as_val" = x""yes; then :
61441   cat >>confdefs.h <<_ACEOF
61442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61443 _ACEOF
61444
61445 fi
61446 done
61447
61448   else
61449     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61450 $as_echo_n "checking for _long double round functions... " >&6; }
61451     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61452   $as_echo_n "(cached) " >&6
61453 else
61454
61455
61456       ac_ext=cpp
61457 ac_cpp='$CXXCPP $CPPFLAGS'
61458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61461
61462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61463 /* end confdefs.h.  */
61464 #include <math.h>
61465 int
61466 main ()
61467 {
61468 _ceill (0); _floorl (0);
61469   ;
61470   return 0;
61471 }
61472 _ACEOF
61473 if ac_fn_cxx_try_compile "$LINENO"; then :
61474   glibcxx_cv_func__long_double_round_use=yes
61475 else
61476   glibcxx_cv_func__long_double_round_use=no
61477 fi
61478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61479       ac_ext=c
61480 ac_cpp='$CPP $CPPFLAGS'
61481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61484
61485 fi
61486
61487     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61488 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61489     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61490       for ac_func in _ceill _floorl
61491 do :
61492   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61494 eval as_val=\$$as_ac_var
61495    if test "x$as_val" = x""yes; then :
61496   cat >>confdefs.h <<_ACEOF
61497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61498 _ACEOF
61499
61500 fi
61501 done
61502
61503     fi
61504   fi
61505
61506
61507
61508
61509
61510
61511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61512 $as_echo_n "checking for isnanl declaration... " >&6; }
61513   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61514     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61515   $as_echo_n "(cached) " >&6
61516 else
61517
61518
61519       ac_ext=cpp
61520 ac_cpp='$CXXCPP $CPPFLAGS'
61521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61524
61525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61526 /* end confdefs.h.  */
61527 #include <math.h>
61528                       #ifdef HAVE_IEEEFP_H
61529                       #include <ieeefp.h>
61530                       #endif
61531
61532 int
61533 main ()
61534 {
61535  isnanl(0);
61536   ;
61537   return 0;
61538 }
61539 _ACEOF
61540 if ac_fn_cxx_try_compile "$LINENO"; then :
61541   glibcxx_cv_func_isnanl_use=yes
61542 else
61543   glibcxx_cv_func_isnanl_use=no
61544 fi
61545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61546       ac_ext=c
61547 ac_cpp='$CPP $CPPFLAGS'
61548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61551
61552
61553 fi
61554
61555   fi
61556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61557 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61558
61559   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61560     for ac_func in isnanl
61561 do :
61562   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61563 if test "x$ac_cv_func_isnanl" = x""yes; then :
61564   cat >>confdefs.h <<_ACEOF
61565 #define HAVE_ISNANL 1
61566 _ACEOF
61567
61568 fi
61569 done
61570
61571   else
61572
61573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61574 $as_echo_n "checking for _isnanl declaration... " >&6; }
61575   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61576     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61577   $as_echo_n "(cached) " >&6
61578 else
61579
61580
61581       ac_ext=cpp
61582 ac_cpp='$CXXCPP $CPPFLAGS'
61583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61586
61587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61588 /* end confdefs.h.  */
61589 #include <math.h>
61590                       #ifdef HAVE_IEEEFP_H
61591                       #include <ieeefp.h>
61592                       #endif
61593
61594 int
61595 main ()
61596 {
61597  _isnanl(0);
61598   ;
61599   return 0;
61600 }
61601 _ACEOF
61602 if ac_fn_cxx_try_compile "$LINENO"; then :
61603   glibcxx_cv_func__isnanl_use=yes
61604 else
61605   glibcxx_cv_func__isnanl_use=no
61606 fi
61607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61608       ac_ext=c
61609 ac_cpp='$CPP $CPPFLAGS'
61610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61613
61614
61615 fi
61616
61617   fi
61618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61619 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61620
61621     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61622       for ac_func in _isnanl
61623 do :
61624   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61625 if test "x$ac_cv_func__isnanl" = x""yes; then :
61626   cat >>confdefs.h <<_ACEOF
61627 #define HAVE__ISNANL 1
61628 _ACEOF
61629
61630 fi
61631 done
61632
61633     fi
61634   fi
61635
61636
61637
61638
61639
61640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61641 $as_echo_n "checking for isinfl declaration... " >&6; }
61642   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61643     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61644   $as_echo_n "(cached) " >&6
61645 else
61646
61647
61648       ac_ext=cpp
61649 ac_cpp='$CXXCPP $CPPFLAGS'
61650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61653
61654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61655 /* end confdefs.h.  */
61656 #include <math.h>
61657                       #ifdef HAVE_IEEEFP_H
61658                       #include <ieeefp.h>
61659                       #endif
61660
61661 int
61662 main ()
61663 {
61664  isinfl(0);
61665   ;
61666   return 0;
61667 }
61668 _ACEOF
61669 if ac_fn_cxx_try_compile "$LINENO"; then :
61670   glibcxx_cv_func_isinfl_use=yes
61671 else
61672   glibcxx_cv_func_isinfl_use=no
61673 fi
61674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61675       ac_ext=c
61676 ac_cpp='$CPP $CPPFLAGS'
61677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61680
61681
61682 fi
61683
61684   fi
61685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61686 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61687
61688   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61689     for ac_func in isinfl
61690 do :
61691   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61692 if test "x$ac_cv_func_isinfl" = x""yes; then :
61693   cat >>confdefs.h <<_ACEOF
61694 #define HAVE_ISINFL 1
61695 _ACEOF
61696
61697 fi
61698 done
61699
61700   else
61701
61702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61703 $as_echo_n "checking for _isinfl declaration... " >&6; }
61704   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61705     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61706   $as_echo_n "(cached) " >&6
61707 else
61708
61709
61710       ac_ext=cpp
61711 ac_cpp='$CXXCPP $CPPFLAGS'
61712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61715
61716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61717 /* end confdefs.h.  */
61718 #include <math.h>
61719                       #ifdef HAVE_IEEEFP_H
61720                       #include <ieeefp.h>
61721                       #endif
61722
61723 int
61724 main ()
61725 {
61726  _isinfl(0);
61727   ;
61728   return 0;
61729 }
61730 _ACEOF
61731 if ac_fn_cxx_try_compile "$LINENO"; then :
61732   glibcxx_cv_func__isinfl_use=yes
61733 else
61734   glibcxx_cv_func__isinfl_use=no
61735 fi
61736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61737       ac_ext=c
61738 ac_cpp='$CPP $CPPFLAGS'
61739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61742
61743
61744 fi
61745
61746   fi
61747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61748 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61749
61750     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61751       for ac_func in _isinfl
61752 do :
61753   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61754 if test "x$ac_cv_func__isinfl" = x""yes; then :
61755   cat >>confdefs.h <<_ACEOF
61756 #define HAVE__ISINFL 1
61757 _ACEOF
61758
61759 fi
61760 done
61761
61762     fi
61763   fi
61764
61765
61766
61767
61768
61769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61770 $as_echo_n "checking for atan2l declaration... " >&6; }
61771   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61772     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61773   $as_echo_n "(cached) " >&6
61774 else
61775
61776
61777       ac_ext=cpp
61778 ac_cpp='$CXXCPP $CPPFLAGS'
61779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61782
61783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61784 /* end confdefs.h.  */
61785 #include <math.h>
61786 int
61787 main ()
61788 {
61789  atan2l(0, 0);
61790   ;
61791   return 0;
61792 }
61793 _ACEOF
61794 if ac_fn_cxx_try_compile "$LINENO"; then :
61795   glibcxx_cv_func_atan2l_use=yes
61796 else
61797   glibcxx_cv_func_atan2l_use=no
61798 fi
61799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61800       ac_ext=c
61801 ac_cpp='$CPP $CPPFLAGS'
61802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61805
61806
61807 fi
61808
61809   fi
61810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61811 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61812
61813   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61814     for ac_func in atan2l
61815 do :
61816   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61817 if test "x$ac_cv_func_atan2l" = x""yes; then :
61818   cat >>confdefs.h <<_ACEOF
61819 #define HAVE_ATAN2L 1
61820 _ACEOF
61821
61822 fi
61823 done
61824
61825   else
61826
61827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61828 $as_echo_n "checking for _atan2l declaration... " >&6; }
61829   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61830     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61831   $as_echo_n "(cached) " >&6
61832 else
61833
61834
61835       ac_ext=cpp
61836 ac_cpp='$CXXCPP $CPPFLAGS'
61837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61840
61841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61842 /* end confdefs.h.  */
61843 #include <math.h>
61844 int
61845 main ()
61846 {
61847  _atan2l(0, 0);
61848   ;
61849   return 0;
61850 }
61851 _ACEOF
61852 if ac_fn_cxx_try_compile "$LINENO"; then :
61853   glibcxx_cv_func__atan2l_use=yes
61854 else
61855   glibcxx_cv_func__atan2l_use=no
61856 fi
61857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61858       ac_ext=c
61859 ac_cpp='$CPP $CPPFLAGS'
61860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61863
61864
61865 fi
61866
61867   fi
61868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61869 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61870
61871     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61872       for ac_func in _atan2l
61873 do :
61874   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61875 if test "x$ac_cv_func__atan2l" = x""yes; then :
61876   cat >>confdefs.h <<_ACEOF
61877 #define HAVE__ATAN2L 1
61878 _ACEOF
61879
61880 fi
61881 done
61882
61883     fi
61884   fi
61885
61886
61887
61888
61889
61890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61891 $as_echo_n "checking for expl declaration... " >&6; }
61892   if test x${glibcxx_cv_func_expl_use+set} != xset; then
61893     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61894   $as_echo_n "(cached) " >&6
61895 else
61896
61897
61898       ac_ext=cpp
61899 ac_cpp='$CXXCPP $CPPFLAGS'
61900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61903
61904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61905 /* end confdefs.h.  */
61906 #include <math.h>
61907                       #ifdef HAVE_IEEEFP_H
61908                       #include <ieeefp.h>
61909                       #endif
61910
61911 int
61912 main ()
61913 {
61914  expl(0);
61915   ;
61916   return 0;
61917 }
61918 _ACEOF
61919 if ac_fn_cxx_try_compile "$LINENO"; then :
61920   glibcxx_cv_func_expl_use=yes
61921 else
61922   glibcxx_cv_func_expl_use=no
61923 fi
61924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61925       ac_ext=c
61926 ac_cpp='$CPP $CPPFLAGS'
61927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61930
61931
61932 fi
61933
61934   fi
61935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61936 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61937
61938   if test x$glibcxx_cv_func_expl_use = x"yes"; then
61939     for ac_func in expl
61940 do :
61941   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61942 if test "x$ac_cv_func_expl" = x""yes; then :
61943   cat >>confdefs.h <<_ACEOF
61944 #define HAVE_EXPL 1
61945 _ACEOF
61946
61947 fi
61948 done
61949
61950   else
61951
61952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61953 $as_echo_n "checking for _expl declaration... " >&6; }
61954   if test x${glibcxx_cv_func__expl_use+set} != xset; then
61955     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61956   $as_echo_n "(cached) " >&6
61957 else
61958
61959
61960       ac_ext=cpp
61961 ac_cpp='$CXXCPP $CPPFLAGS'
61962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61965
61966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61967 /* end confdefs.h.  */
61968 #include <math.h>
61969                       #ifdef HAVE_IEEEFP_H
61970                       #include <ieeefp.h>
61971                       #endif
61972
61973 int
61974 main ()
61975 {
61976  _expl(0);
61977   ;
61978   return 0;
61979 }
61980 _ACEOF
61981 if ac_fn_cxx_try_compile "$LINENO"; then :
61982   glibcxx_cv_func__expl_use=yes
61983 else
61984   glibcxx_cv_func__expl_use=no
61985 fi
61986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61987       ac_ext=c
61988 ac_cpp='$CPP $CPPFLAGS'
61989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61992
61993
61994 fi
61995
61996   fi
61997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61998 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61999
62000     if test x$glibcxx_cv_func__expl_use = x"yes"; then
62001       for ac_func in _expl
62002 do :
62003   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62004 if test "x$ac_cv_func__expl" = x""yes; then :
62005   cat >>confdefs.h <<_ACEOF
62006 #define HAVE__EXPL 1
62007 _ACEOF
62008
62009 fi
62010 done
62011
62012     fi
62013   fi
62014
62015
62016
62017
62018
62019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62020 $as_echo_n "checking for fabsl declaration... " >&6; }
62021   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62022     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62023   $as_echo_n "(cached) " >&6
62024 else
62025
62026
62027       ac_ext=cpp
62028 ac_cpp='$CXXCPP $CPPFLAGS'
62029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62032
62033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62034 /* end confdefs.h.  */
62035 #include <math.h>
62036                       #ifdef HAVE_IEEEFP_H
62037                       #include <ieeefp.h>
62038                       #endif
62039
62040 int
62041 main ()
62042 {
62043  fabsl(0);
62044   ;
62045   return 0;
62046 }
62047 _ACEOF
62048 if ac_fn_cxx_try_compile "$LINENO"; then :
62049   glibcxx_cv_func_fabsl_use=yes
62050 else
62051   glibcxx_cv_func_fabsl_use=no
62052 fi
62053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62054       ac_ext=c
62055 ac_cpp='$CPP $CPPFLAGS'
62056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62059
62060
62061 fi
62062
62063   fi
62064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62065 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62066
62067   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62068     for ac_func in fabsl
62069 do :
62070   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62071 if test "x$ac_cv_func_fabsl" = x""yes; then :
62072   cat >>confdefs.h <<_ACEOF
62073 #define HAVE_FABSL 1
62074 _ACEOF
62075
62076 fi
62077 done
62078
62079   else
62080
62081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62082 $as_echo_n "checking for _fabsl declaration... " >&6; }
62083   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62084     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62085   $as_echo_n "(cached) " >&6
62086 else
62087
62088
62089       ac_ext=cpp
62090 ac_cpp='$CXXCPP $CPPFLAGS'
62091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62094
62095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62096 /* end confdefs.h.  */
62097 #include <math.h>
62098                       #ifdef HAVE_IEEEFP_H
62099                       #include <ieeefp.h>
62100                       #endif
62101
62102 int
62103 main ()
62104 {
62105  _fabsl(0);
62106   ;
62107   return 0;
62108 }
62109 _ACEOF
62110 if ac_fn_cxx_try_compile "$LINENO"; then :
62111   glibcxx_cv_func__fabsl_use=yes
62112 else
62113   glibcxx_cv_func__fabsl_use=no
62114 fi
62115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62116       ac_ext=c
62117 ac_cpp='$CPP $CPPFLAGS'
62118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62121
62122
62123 fi
62124
62125   fi
62126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62127 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62128
62129     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62130       for ac_func in _fabsl
62131 do :
62132   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62133 if test "x$ac_cv_func__fabsl" = x""yes; then :
62134   cat >>confdefs.h <<_ACEOF
62135 #define HAVE__FABSL 1
62136 _ACEOF
62137
62138 fi
62139 done
62140
62141     fi
62142   fi
62143
62144
62145
62146
62147
62148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62149 $as_echo_n "checking for fmodl declaration... " >&6; }
62150   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62151     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62152   $as_echo_n "(cached) " >&6
62153 else
62154
62155
62156       ac_ext=cpp
62157 ac_cpp='$CXXCPP $CPPFLAGS'
62158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62161
62162       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62163 /* end confdefs.h.  */
62164 #include <math.h>
62165 int
62166 main ()
62167 {
62168  fmodl(0, 0);
62169   ;
62170   return 0;
62171 }
62172 _ACEOF
62173 if ac_fn_cxx_try_compile "$LINENO"; then :
62174   glibcxx_cv_func_fmodl_use=yes
62175 else
62176   glibcxx_cv_func_fmodl_use=no
62177 fi
62178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62179       ac_ext=c
62180 ac_cpp='$CPP $CPPFLAGS'
62181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62184
62185
62186 fi
62187
62188   fi
62189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62190 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62191
62192   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62193     for ac_func in fmodl
62194 do :
62195   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62196 if test "x$ac_cv_func_fmodl" = x""yes; then :
62197   cat >>confdefs.h <<_ACEOF
62198 #define HAVE_FMODL 1
62199 _ACEOF
62200
62201 fi
62202 done
62203
62204   else
62205
62206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62207 $as_echo_n "checking for _fmodl declaration... " >&6; }
62208   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62209     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62210   $as_echo_n "(cached) " >&6
62211 else
62212
62213
62214       ac_ext=cpp
62215 ac_cpp='$CXXCPP $CPPFLAGS'
62216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62219
62220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62221 /* end confdefs.h.  */
62222 #include <math.h>
62223 int
62224 main ()
62225 {
62226  _fmodl(0, 0);
62227   ;
62228   return 0;
62229 }
62230 _ACEOF
62231 if ac_fn_cxx_try_compile "$LINENO"; then :
62232   glibcxx_cv_func__fmodl_use=yes
62233 else
62234   glibcxx_cv_func__fmodl_use=no
62235 fi
62236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62237       ac_ext=c
62238 ac_cpp='$CPP $CPPFLAGS'
62239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62242
62243
62244 fi
62245
62246   fi
62247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62248 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62249
62250     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62251       for ac_func in _fmodl
62252 do :
62253   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62254 if test "x$ac_cv_func__fmodl" = x""yes; then :
62255   cat >>confdefs.h <<_ACEOF
62256 #define HAVE__FMODL 1
62257 _ACEOF
62258
62259 fi
62260 done
62261
62262     fi
62263   fi
62264
62265
62266
62267
62268
62269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62270 $as_echo_n "checking for frexpl declaration... " >&6; }
62271   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62272     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62273   $as_echo_n "(cached) " >&6
62274 else
62275
62276
62277       ac_ext=cpp
62278 ac_cpp='$CXXCPP $CPPFLAGS'
62279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62282
62283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62284 /* end confdefs.h.  */
62285 #include <math.h>
62286 int
62287 main ()
62288 {
62289  frexpl(0, 0);
62290   ;
62291   return 0;
62292 }
62293 _ACEOF
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295   glibcxx_cv_func_frexpl_use=yes
62296 else
62297   glibcxx_cv_func_frexpl_use=no
62298 fi
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62300       ac_ext=c
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62305
62306
62307 fi
62308
62309   fi
62310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62311 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62312
62313   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62314     for ac_func in frexpl
62315 do :
62316   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62317 if test "x$ac_cv_func_frexpl" = x""yes; then :
62318   cat >>confdefs.h <<_ACEOF
62319 #define HAVE_FREXPL 1
62320 _ACEOF
62321
62322 fi
62323 done
62324
62325   else
62326
62327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62328 $as_echo_n "checking for _frexpl declaration... " >&6; }
62329   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62330     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62331   $as_echo_n "(cached) " >&6
62332 else
62333
62334
62335       ac_ext=cpp
62336 ac_cpp='$CXXCPP $CPPFLAGS'
62337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62340
62341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62342 /* end confdefs.h.  */
62343 #include <math.h>
62344 int
62345 main ()
62346 {
62347  _frexpl(0, 0);
62348   ;
62349   return 0;
62350 }
62351 _ACEOF
62352 if ac_fn_cxx_try_compile "$LINENO"; then :
62353   glibcxx_cv_func__frexpl_use=yes
62354 else
62355   glibcxx_cv_func__frexpl_use=no
62356 fi
62357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62358       ac_ext=c
62359 ac_cpp='$CPP $CPPFLAGS'
62360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62363
62364
62365 fi
62366
62367   fi
62368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62369 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62370
62371     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62372       for ac_func in _frexpl
62373 do :
62374   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62375 if test "x$ac_cv_func__frexpl" = x""yes; then :
62376   cat >>confdefs.h <<_ACEOF
62377 #define HAVE__FREXPL 1
62378 _ACEOF
62379
62380 fi
62381 done
62382
62383     fi
62384   fi
62385
62386
62387
62388
62389
62390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62391 $as_echo_n "checking for hypotl declaration... " >&6; }
62392   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62393     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62394   $as_echo_n "(cached) " >&6
62395 else
62396
62397
62398       ac_ext=cpp
62399 ac_cpp='$CXXCPP $CPPFLAGS'
62400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62403
62404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62405 /* end confdefs.h.  */
62406 #include <math.h>
62407 int
62408 main ()
62409 {
62410  hypotl(0, 0);
62411   ;
62412   return 0;
62413 }
62414 _ACEOF
62415 if ac_fn_cxx_try_compile "$LINENO"; then :
62416   glibcxx_cv_func_hypotl_use=yes
62417 else
62418   glibcxx_cv_func_hypotl_use=no
62419 fi
62420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62421       ac_ext=c
62422 ac_cpp='$CPP $CPPFLAGS'
62423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62426
62427
62428 fi
62429
62430   fi
62431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62432 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62433
62434   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62435     for ac_func in hypotl
62436 do :
62437   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62438 if test "x$ac_cv_func_hypotl" = x""yes; then :
62439   cat >>confdefs.h <<_ACEOF
62440 #define HAVE_HYPOTL 1
62441 _ACEOF
62442
62443 fi
62444 done
62445
62446   else
62447
62448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62449 $as_echo_n "checking for _hypotl declaration... " >&6; }
62450   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62451     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62452   $as_echo_n "(cached) " >&6
62453 else
62454
62455
62456       ac_ext=cpp
62457 ac_cpp='$CXXCPP $CPPFLAGS'
62458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62461
62462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62463 /* end confdefs.h.  */
62464 #include <math.h>
62465 int
62466 main ()
62467 {
62468  _hypotl(0, 0);
62469   ;
62470   return 0;
62471 }
62472 _ACEOF
62473 if ac_fn_cxx_try_compile "$LINENO"; then :
62474   glibcxx_cv_func__hypotl_use=yes
62475 else
62476   glibcxx_cv_func__hypotl_use=no
62477 fi
62478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62479       ac_ext=c
62480 ac_cpp='$CPP $CPPFLAGS'
62481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62484
62485
62486 fi
62487
62488   fi
62489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62490 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62491
62492     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62493       for ac_func in _hypotl
62494 do :
62495   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62496 if test "x$ac_cv_func__hypotl" = x""yes; then :
62497   cat >>confdefs.h <<_ACEOF
62498 #define HAVE__HYPOTL 1
62499 _ACEOF
62500
62501 fi
62502 done
62503
62504     fi
62505   fi
62506
62507
62508
62509
62510
62511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62512 $as_echo_n "checking for ldexpl declaration... " >&6; }
62513   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62514     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62515   $as_echo_n "(cached) " >&6
62516 else
62517
62518
62519       ac_ext=cpp
62520 ac_cpp='$CXXCPP $CPPFLAGS'
62521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62524
62525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62526 /* end confdefs.h.  */
62527 #include <math.h>
62528 int
62529 main ()
62530 {
62531  ldexpl(0, 0);
62532   ;
62533   return 0;
62534 }
62535 _ACEOF
62536 if ac_fn_cxx_try_compile "$LINENO"; then :
62537   glibcxx_cv_func_ldexpl_use=yes
62538 else
62539   glibcxx_cv_func_ldexpl_use=no
62540 fi
62541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62542       ac_ext=c
62543 ac_cpp='$CPP $CPPFLAGS'
62544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62547
62548
62549 fi
62550
62551   fi
62552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62553 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62554
62555   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62556     for ac_func in ldexpl
62557 do :
62558   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62559 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62560   cat >>confdefs.h <<_ACEOF
62561 #define HAVE_LDEXPL 1
62562 _ACEOF
62563
62564 fi
62565 done
62566
62567   else
62568
62569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62570 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62571   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62572     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62573   $as_echo_n "(cached) " >&6
62574 else
62575
62576
62577       ac_ext=cpp
62578 ac_cpp='$CXXCPP $CPPFLAGS'
62579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62582
62583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62584 /* end confdefs.h.  */
62585 #include <math.h>
62586 int
62587 main ()
62588 {
62589  _ldexpl(0, 0);
62590   ;
62591   return 0;
62592 }
62593 _ACEOF
62594 if ac_fn_cxx_try_compile "$LINENO"; then :
62595   glibcxx_cv_func__ldexpl_use=yes
62596 else
62597   glibcxx_cv_func__ldexpl_use=no
62598 fi
62599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62600       ac_ext=c
62601 ac_cpp='$CPP $CPPFLAGS'
62602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62605
62606
62607 fi
62608
62609   fi
62610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62611 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62612
62613     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62614       for ac_func in _ldexpl
62615 do :
62616   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62617 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62618   cat >>confdefs.h <<_ACEOF
62619 #define HAVE__LDEXPL 1
62620 _ACEOF
62621
62622 fi
62623 done
62624
62625     fi
62626   fi
62627
62628
62629
62630
62631
62632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62633 $as_echo_n "checking for logl declaration... " >&6; }
62634   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62635     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62636   $as_echo_n "(cached) " >&6
62637 else
62638
62639
62640       ac_ext=cpp
62641 ac_cpp='$CXXCPP $CPPFLAGS'
62642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62645
62646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62647 /* end confdefs.h.  */
62648 #include <math.h>
62649                       #ifdef HAVE_IEEEFP_H
62650                       #include <ieeefp.h>
62651                       #endif
62652
62653 int
62654 main ()
62655 {
62656  logl(0);
62657   ;
62658   return 0;
62659 }
62660 _ACEOF
62661 if ac_fn_cxx_try_compile "$LINENO"; then :
62662   glibcxx_cv_func_logl_use=yes
62663 else
62664   glibcxx_cv_func_logl_use=no
62665 fi
62666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62667       ac_ext=c
62668 ac_cpp='$CPP $CPPFLAGS'
62669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62672
62673
62674 fi
62675
62676   fi
62677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62678 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62679
62680   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62681     for ac_func in logl
62682 do :
62683   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62684 if test "x$ac_cv_func_logl" = x""yes; then :
62685   cat >>confdefs.h <<_ACEOF
62686 #define HAVE_LOGL 1
62687 _ACEOF
62688
62689 fi
62690 done
62691
62692   else
62693
62694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62695 $as_echo_n "checking for _logl declaration... " >&6; }
62696   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62697     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62698   $as_echo_n "(cached) " >&6
62699 else
62700
62701
62702       ac_ext=cpp
62703 ac_cpp='$CXXCPP $CPPFLAGS'
62704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62707
62708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62709 /* end confdefs.h.  */
62710 #include <math.h>
62711                       #ifdef HAVE_IEEEFP_H
62712                       #include <ieeefp.h>
62713                       #endif
62714
62715 int
62716 main ()
62717 {
62718  _logl(0);
62719   ;
62720   return 0;
62721 }
62722 _ACEOF
62723 if ac_fn_cxx_try_compile "$LINENO"; then :
62724   glibcxx_cv_func__logl_use=yes
62725 else
62726   glibcxx_cv_func__logl_use=no
62727 fi
62728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62729       ac_ext=c
62730 ac_cpp='$CPP $CPPFLAGS'
62731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62734
62735
62736 fi
62737
62738   fi
62739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62740 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62741
62742     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62743       for ac_func in _logl
62744 do :
62745   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62746 if test "x$ac_cv_func__logl" = x""yes; then :
62747   cat >>confdefs.h <<_ACEOF
62748 #define HAVE__LOGL 1
62749 _ACEOF
62750
62751 fi
62752 done
62753
62754     fi
62755   fi
62756
62757
62758
62759
62760
62761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62762 $as_echo_n "checking for log10l declaration... " >&6; }
62763   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62764     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62765   $as_echo_n "(cached) " >&6
62766 else
62767
62768
62769       ac_ext=cpp
62770 ac_cpp='$CXXCPP $CPPFLAGS'
62771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62774
62775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62776 /* end confdefs.h.  */
62777 #include <math.h>
62778                       #ifdef HAVE_IEEEFP_H
62779                       #include <ieeefp.h>
62780                       #endif
62781
62782 int
62783 main ()
62784 {
62785  log10l(0);
62786   ;
62787   return 0;
62788 }
62789 _ACEOF
62790 if ac_fn_cxx_try_compile "$LINENO"; then :
62791   glibcxx_cv_func_log10l_use=yes
62792 else
62793   glibcxx_cv_func_log10l_use=no
62794 fi
62795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62796       ac_ext=c
62797 ac_cpp='$CPP $CPPFLAGS'
62798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62801
62802
62803 fi
62804
62805   fi
62806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62807 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62808
62809   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62810     for ac_func in log10l
62811 do :
62812   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62813 if test "x$ac_cv_func_log10l" = x""yes; then :
62814   cat >>confdefs.h <<_ACEOF
62815 #define HAVE_LOG10L 1
62816 _ACEOF
62817
62818 fi
62819 done
62820
62821   else
62822
62823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62824 $as_echo_n "checking for _log10l declaration... " >&6; }
62825   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62826     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62827   $as_echo_n "(cached) " >&6
62828 else
62829
62830
62831       ac_ext=cpp
62832 ac_cpp='$CXXCPP $CPPFLAGS'
62833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62836
62837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62838 /* end confdefs.h.  */
62839 #include <math.h>
62840                       #ifdef HAVE_IEEEFP_H
62841                       #include <ieeefp.h>
62842                       #endif
62843
62844 int
62845 main ()
62846 {
62847  _log10l(0);
62848   ;
62849   return 0;
62850 }
62851 _ACEOF
62852 if ac_fn_cxx_try_compile "$LINENO"; then :
62853   glibcxx_cv_func__log10l_use=yes
62854 else
62855   glibcxx_cv_func__log10l_use=no
62856 fi
62857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62858       ac_ext=c
62859 ac_cpp='$CPP $CPPFLAGS'
62860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62863
62864
62865 fi
62866
62867   fi
62868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62869 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62870
62871     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62872       for ac_func in _log10l
62873 do :
62874   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62875 if test "x$ac_cv_func__log10l" = x""yes; then :
62876   cat >>confdefs.h <<_ACEOF
62877 #define HAVE__LOG10L 1
62878 _ACEOF
62879
62880 fi
62881 done
62882
62883     fi
62884   fi
62885
62886
62887
62888
62889
62890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62891 $as_echo_n "checking for modfl declaration... " >&6; }
62892   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62893     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62894   $as_echo_n "(cached) " >&6
62895 else
62896
62897
62898       ac_ext=cpp
62899 ac_cpp='$CXXCPP $CPPFLAGS'
62900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62903
62904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62905 /* end confdefs.h.  */
62906 #include <math.h>
62907 int
62908 main ()
62909 {
62910  modfl(0, 0);
62911   ;
62912   return 0;
62913 }
62914 _ACEOF
62915 if ac_fn_cxx_try_compile "$LINENO"; then :
62916   glibcxx_cv_func_modfl_use=yes
62917 else
62918   glibcxx_cv_func_modfl_use=no
62919 fi
62920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62921       ac_ext=c
62922 ac_cpp='$CPP $CPPFLAGS'
62923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62926
62927
62928 fi
62929
62930   fi
62931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62932 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62933
62934   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62935     for ac_func in modfl
62936 do :
62937   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62938 if test "x$ac_cv_func_modfl" = x""yes; then :
62939   cat >>confdefs.h <<_ACEOF
62940 #define HAVE_MODFL 1
62941 _ACEOF
62942
62943 fi
62944 done
62945
62946   else
62947
62948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62949 $as_echo_n "checking for _modfl declaration... " >&6; }
62950   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62951     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62952   $as_echo_n "(cached) " >&6
62953 else
62954
62955
62956       ac_ext=cpp
62957 ac_cpp='$CXXCPP $CPPFLAGS'
62958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62961
62962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62963 /* end confdefs.h.  */
62964 #include <math.h>
62965 int
62966 main ()
62967 {
62968  _modfl(0, 0);
62969   ;
62970   return 0;
62971 }
62972 _ACEOF
62973 if ac_fn_cxx_try_compile "$LINENO"; then :
62974   glibcxx_cv_func__modfl_use=yes
62975 else
62976   glibcxx_cv_func__modfl_use=no
62977 fi
62978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62979       ac_ext=c
62980 ac_cpp='$CPP $CPPFLAGS'
62981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62984
62985
62986 fi
62987
62988   fi
62989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62990 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62991
62992     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62993       for ac_func in _modfl
62994 do :
62995   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62996 if test "x$ac_cv_func__modfl" = x""yes; then :
62997   cat >>confdefs.h <<_ACEOF
62998 #define HAVE__MODFL 1
62999 _ACEOF
63000
63001 fi
63002 done
63003
63004     fi
63005   fi
63006
63007
63008
63009
63010
63011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63012 $as_echo_n "checking for powl declaration... " >&6; }
63013   if test x${glibcxx_cv_func_powl_use+set} != xset; then
63014     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63015   $as_echo_n "(cached) " >&6
63016 else
63017
63018
63019       ac_ext=cpp
63020 ac_cpp='$CXXCPP $CPPFLAGS'
63021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63024
63025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63026 /* end confdefs.h.  */
63027 #include <math.h>
63028 int
63029 main ()
63030 {
63031  powl(0, 0);
63032   ;
63033   return 0;
63034 }
63035 _ACEOF
63036 if ac_fn_cxx_try_compile "$LINENO"; then :
63037   glibcxx_cv_func_powl_use=yes
63038 else
63039   glibcxx_cv_func_powl_use=no
63040 fi
63041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63042       ac_ext=c
63043 ac_cpp='$CPP $CPPFLAGS'
63044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63047
63048
63049 fi
63050
63051   fi
63052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63053 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63054
63055   if test x$glibcxx_cv_func_powl_use = x"yes"; then
63056     for ac_func in powl
63057 do :
63058   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63059 if test "x$ac_cv_func_powl" = x""yes; then :
63060   cat >>confdefs.h <<_ACEOF
63061 #define HAVE_POWL 1
63062 _ACEOF
63063
63064 fi
63065 done
63066
63067   else
63068
63069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63070 $as_echo_n "checking for _powl declaration... " >&6; }
63071   if test x${glibcxx_cv_func__powl_use+set} != xset; then
63072     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63073   $as_echo_n "(cached) " >&6
63074 else
63075
63076
63077       ac_ext=cpp
63078 ac_cpp='$CXXCPP $CPPFLAGS'
63079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63082
63083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63084 /* end confdefs.h.  */
63085 #include <math.h>
63086 int
63087 main ()
63088 {
63089  _powl(0, 0);
63090   ;
63091   return 0;
63092 }
63093 _ACEOF
63094 if ac_fn_cxx_try_compile "$LINENO"; then :
63095   glibcxx_cv_func__powl_use=yes
63096 else
63097   glibcxx_cv_func__powl_use=no
63098 fi
63099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63100       ac_ext=c
63101 ac_cpp='$CPP $CPPFLAGS'
63102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63105
63106
63107 fi
63108
63109   fi
63110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63111 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63112
63113     if test x$glibcxx_cv_func__powl_use = x"yes"; then
63114       for ac_func in _powl
63115 do :
63116   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63117 if test "x$ac_cv_func__powl" = x""yes; then :
63118   cat >>confdefs.h <<_ACEOF
63119 #define HAVE__POWL 1
63120 _ACEOF
63121
63122 fi
63123 done
63124
63125     fi
63126   fi
63127
63128
63129
63130
63131
63132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63133 $as_echo_n "checking for sqrtl declaration... " >&6; }
63134   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63135     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63136   $as_echo_n "(cached) " >&6
63137 else
63138
63139
63140       ac_ext=cpp
63141 ac_cpp='$CXXCPP $CPPFLAGS'
63142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63145
63146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63147 /* end confdefs.h.  */
63148 #include <math.h>
63149                       #ifdef HAVE_IEEEFP_H
63150                       #include <ieeefp.h>
63151                       #endif
63152
63153 int
63154 main ()
63155 {
63156  sqrtl(0);
63157   ;
63158   return 0;
63159 }
63160 _ACEOF
63161 if ac_fn_cxx_try_compile "$LINENO"; then :
63162   glibcxx_cv_func_sqrtl_use=yes
63163 else
63164   glibcxx_cv_func_sqrtl_use=no
63165 fi
63166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63167       ac_ext=c
63168 ac_cpp='$CPP $CPPFLAGS'
63169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63172
63173
63174 fi
63175
63176   fi
63177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63178 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63179
63180   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63181     for ac_func in sqrtl
63182 do :
63183   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63184 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63185   cat >>confdefs.h <<_ACEOF
63186 #define HAVE_SQRTL 1
63187 _ACEOF
63188
63189 fi
63190 done
63191
63192   else
63193
63194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63195 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63196   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63197     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63198   $as_echo_n "(cached) " >&6
63199 else
63200
63201
63202       ac_ext=cpp
63203 ac_cpp='$CXXCPP $CPPFLAGS'
63204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63207
63208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63209 /* end confdefs.h.  */
63210 #include <math.h>
63211                       #ifdef HAVE_IEEEFP_H
63212                       #include <ieeefp.h>
63213                       #endif
63214
63215 int
63216 main ()
63217 {
63218  _sqrtl(0);
63219   ;
63220   return 0;
63221 }
63222 _ACEOF
63223 if ac_fn_cxx_try_compile "$LINENO"; then :
63224   glibcxx_cv_func__sqrtl_use=yes
63225 else
63226   glibcxx_cv_func__sqrtl_use=no
63227 fi
63228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63229       ac_ext=c
63230 ac_cpp='$CPP $CPPFLAGS'
63231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63234
63235
63236 fi
63237
63238   fi
63239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63240 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63241
63242     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63243       for ac_func in _sqrtl
63244 do :
63245   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63246 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63247   cat >>confdefs.h <<_ACEOF
63248 #define HAVE__SQRTL 1
63249 _ACEOF
63250
63251 fi
63252 done
63253
63254     fi
63255   fi
63256
63257
63258
63259
63260
63261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63262 $as_echo_n "checking for sincosl declaration... " >&6; }
63263   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63264     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63265   $as_echo_n "(cached) " >&6
63266 else
63267
63268
63269       ac_ext=cpp
63270 ac_cpp='$CXXCPP $CPPFLAGS'
63271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63274
63275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63276 /* end confdefs.h.  */
63277 #include <math.h>
63278 int
63279 main ()
63280 {
63281  sincosl(0, 0, 0);
63282   ;
63283   return 0;
63284 }
63285 _ACEOF
63286 if ac_fn_cxx_try_compile "$LINENO"; then :
63287   glibcxx_cv_func_sincosl_use=yes
63288 else
63289   glibcxx_cv_func_sincosl_use=no
63290 fi
63291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63292       ac_ext=c
63293 ac_cpp='$CPP $CPPFLAGS'
63294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63297
63298
63299 fi
63300
63301   fi
63302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63303 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63304
63305   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63306     for ac_func in sincosl
63307 do :
63308   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63309 if test "x$ac_cv_func_sincosl" = x""yes; then :
63310   cat >>confdefs.h <<_ACEOF
63311 #define HAVE_SINCOSL 1
63312 _ACEOF
63313
63314 fi
63315 done
63316
63317   else
63318
63319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63320 $as_echo_n "checking for _sincosl declaration... " >&6; }
63321   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63322     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63323   $as_echo_n "(cached) " >&6
63324 else
63325
63326
63327       ac_ext=cpp
63328 ac_cpp='$CXXCPP $CPPFLAGS'
63329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63332
63333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63334 /* end confdefs.h.  */
63335 #include <math.h>
63336 int
63337 main ()
63338 {
63339  _sincosl(0, 0, 0);
63340   ;
63341   return 0;
63342 }
63343 _ACEOF
63344 if ac_fn_cxx_try_compile "$LINENO"; then :
63345   glibcxx_cv_func__sincosl_use=yes
63346 else
63347   glibcxx_cv_func__sincosl_use=no
63348 fi
63349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63350       ac_ext=c
63351 ac_cpp='$CPP $CPPFLAGS'
63352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63355
63356
63357 fi
63358
63359   fi
63360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63361 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63362
63363     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63364       for ac_func in _sincosl
63365 do :
63366   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63367 if test "x$ac_cv_func__sincosl" = x""yes; then :
63368   cat >>confdefs.h <<_ACEOF
63369 #define HAVE__SINCOSL 1
63370 _ACEOF
63371
63372 fi
63373 done
63374
63375     fi
63376   fi
63377
63378
63379
63380
63381
63382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63383 $as_echo_n "checking for finitel declaration... " >&6; }
63384   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63385     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63386   $as_echo_n "(cached) " >&6
63387 else
63388
63389
63390       ac_ext=cpp
63391 ac_cpp='$CXXCPP $CPPFLAGS'
63392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63395
63396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63397 /* end confdefs.h.  */
63398 #include <math.h>
63399                       #ifdef HAVE_IEEEFP_H
63400                       #include <ieeefp.h>
63401                       #endif
63402
63403 int
63404 main ()
63405 {
63406  finitel(0);
63407   ;
63408   return 0;
63409 }
63410 _ACEOF
63411 if ac_fn_cxx_try_compile "$LINENO"; then :
63412   glibcxx_cv_func_finitel_use=yes
63413 else
63414   glibcxx_cv_func_finitel_use=no
63415 fi
63416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63417       ac_ext=c
63418 ac_cpp='$CPP $CPPFLAGS'
63419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63422
63423
63424 fi
63425
63426   fi
63427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63428 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63429
63430   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63431     for ac_func in finitel
63432 do :
63433   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63434 if test "x$ac_cv_func_finitel" = x""yes; then :
63435   cat >>confdefs.h <<_ACEOF
63436 #define HAVE_FINITEL 1
63437 _ACEOF
63438
63439 fi
63440 done
63441
63442   else
63443
63444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63445 $as_echo_n "checking for _finitel declaration... " >&6; }
63446   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63447     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63448   $as_echo_n "(cached) " >&6
63449 else
63450
63451
63452       ac_ext=cpp
63453 ac_cpp='$CXXCPP $CPPFLAGS'
63454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63457
63458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63459 /* end confdefs.h.  */
63460 #include <math.h>
63461                       #ifdef HAVE_IEEEFP_H
63462                       #include <ieeefp.h>
63463                       #endif
63464
63465 int
63466 main ()
63467 {
63468  _finitel(0);
63469   ;
63470   return 0;
63471 }
63472 _ACEOF
63473 if ac_fn_cxx_try_compile "$LINENO"; then :
63474   glibcxx_cv_func__finitel_use=yes
63475 else
63476   glibcxx_cv_func__finitel_use=no
63477 fi
63478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63479       ac_ext=c
63480 ac_cpp='$CPP $CPPFLAGS'
63481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63484
63485
63486 fi
63487
63488   fi
63489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63490 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63491
63492     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63493       for ac_func in _finitel
63494 do :
63495   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63496 if test "x$ac_cv_func__finitel" = x""yes; then :
63497   cat >>confdefs.h <<_ACEOF
63498 #define HAVE__FINITEL 1
63499 _ACEOF
63500
63501 fi
63502 done
63503
63504     fi
63505   fi
63506
63507
63508
63509
63510   LIBS="$ac_save_LIBS"
63511   CXXFLAGS="$ac_save_CXXFLAGS"
63512
63513
63514   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63515   ac_save_CXXFLAGS="$CXXFLAGS"
63516   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63517
63518
63519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63520 $as_echo_n "checking for strtold declaration... " >&6; }
63521   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63522     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63523   $as_echo_n "(cached) " >&6
63524 else
63525
63526
63527       ac_ext=cpp
63528 ac_cpp='$CXXCPP $CPPFLAGS'
63529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63532
63533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63534 /* end confdefs.h.  */
63535 #include <stdlib.h>
63536 int
63537 main ()
63538 {
63539  strtold(0, 0);
63540   ;
63541   return 0;
63542 }
63543 _ACEOF
63544 if ac_fn_cxx_try_compile "$LINENO"; then :
63545   glibcxx_cv_func_strtold_use=yes
63546 else
63547   glibcxx_cv_func_strtold_use=no
63548 fi
63549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63550       ac_ext=c
63551 ac_cpp='$CPP $CPPFLAGS'
63552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63555
63556
63557 fi
63558
63559   fi
63560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63561 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63562   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63563     for ac_func in strtold
63564 do :
63565   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63566 if test "x$ac_cv_func_strtold" = x""yes; then :
63567   cat >>confdefs.h <<_ACEOF
63568 #define HAVE_STRTOLD 1
63569 _ACEOF
63570
63571 fi
63572 done
63573
63574   fi
63575
63576
63577
63578
63579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63580 $as_echo_n "checking for strtof declaration... " >&6; }
63581   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63582     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63583   $as_echo_n "(cached) " >&6
63584 else
63585
63586
63587       ac_ext=cpp
63588 ac_cpp='$CXXCPP $CPPFLAGS'
63589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63592
63593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63594 /* end confdefs.h.  */
63595 #include <stdlib.h>
63596 int
63597 main ()
63598 {
63599  strtof(0, 0);
63600   ;
63601   return 0;
63602 }
63603 _ACEOF
63604 if ac_fn_cxx_try_compile "$LINENO"; then :
63605   glibcxx_cv_func_strtof_use=yes
63606 else
63607   glibcxx_cv_func_strtof_use=no
63608 fi
63609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63610       ac_ext=c
63611 ac_cpp='$CPP $CPPFLAGS'
63612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63615
63616
63617 fi
63618
63619   fi
63620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63621 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63622   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63623     for ac_func in strtof
63624 do :
63625   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63626 if test "x$ac_cv_func_strtof" = x""yes; then :
63627   cat >>confdefs.h <<_ACEOF
63628 #define HAVE_STRTOF 1
63629 _ACEOF
63630
63631 fi
63632 done
63633
63634   fi
63635
63636
63637
63638
63639   CXXFLAGS="$ac_save_CXXFLAGS"
63640
63641     ;;
63642   *-solaris*)
63643     case "$target" in
63644       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63645
63646   # If we're not using GNU ld, then there's no point in even trying these
63647   # tests.  Check for that first.  We should have already tested for gld
63648   # by now (in libtool), but require it now just to be safe...
63649   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63650   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63651
63652
63653
63654   # The name set by libtool depends on the version of libtool.  Shame on us
63655   # for depending on an impl detail, but c'est la vie.  Older versions used
63656   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63657   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63658   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63659   # set (hence we're using an older libtool), then set it.
63660   if test x${with_gnu_ld+set} != xset; then
63661     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63662       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63663       with_gnu_ld=no
63664     else
63665       with_gnu_ld=$ac_cv_prog_gnu_ld
63666     fi
63667   fi
63668
63669   # Start by getting the version number.  I think the libtool test already
63670   # does some of this, but throws away the result.
63671   glibcxx_ld_is_gold=no
63672   if test x"$with_gnu_ld" = x"yes"; then
63673     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63674 $as_echo_n "checking for ld version... " >&6; }
63675
63676     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63677       glibcxx_ld_is_gold=yes
63678     fi
63679     ldver=`$LD --version 2>/dev/null |
63680            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'`
63681
63682     glibcxx_gnu_ld_version=`echo $ldver | \
63683            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63684     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63685 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63686   fi
63687
63688   # Set --gc-sections.
63689   glibcxx_have_gc_sections=no
63690   if test "$glibcxx_ld_is_gold" = "yes"; then
63691     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63692       glibcxx_have_gc_sections=yes
63693     fi
63694   else
63695     glibcxx_gcsections_min_ld=21602
63696     if test x"$with_gnu_ld" = x"yes" &&
63697         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63698       glibcxx_have_gc_sections=yes
63699     fi
63700   fi
63701   if test "$glibcxx_have_gc_sections" = "yes"; then
63702     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63703     # NB: This flag only works reliably after 2.16.1. Configure tests
63704     # for this are difficult, so hard wire a value that should work.
63705
63706     ac_test_CFLAGS="${CFLAGS+set}"
63707     ac_save_CFLAGS="$CFLAGS"
63708     CFLAGS='-Wl,--gc-sections'
63709
63710     # Check for -Wl,--gc-sections
63711     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63712 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63713     if test x$gcc_no_link = xyes; then
63714   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63715 fi
63716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63717 /* end confdefs.h.  */
63718  int one(void) { return 1; }
63719      int two(void) { return 2; }
63720
63721 int
63722 main ()
63723 {
63724  two();
63725   ;
63726   return 0;
63727 }
63728 _ACEOF
63729 if ac_fn_c_try_link "$LINENO"; then :
63730   ac_gcsections=yes
63731 else
63732   ac_gcsections=no
63733 fi
63734 rm -f core conftest.err conftest.$ac_objext \
63735     conftest$ac_exeext conftest.$ac_ext
63736     if test "$ac_gcsections" = "yes"; then
63737       rm -f conftest.c
63738       touch conftest.c
63739       if $CC -c conftest.c; then
63740         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63741            grep "Warning: gc-sections option ignored" > /dev/null; then
63742           ac_gcsections=no
63743         fi
63744       fi
63745       rm -f conftest.c conftest.o conftest
63746     fi
63747     if test "$ac_gcsections" = "yes"; then
63748       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63749     fi
63750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63751 $as_echo "$ac_gcsections" >&6; }
63752
63753     if test "$ac_test_CFLAGS" = set; then
63754       CFLAGS="$ac_save_CFLAGS"
63755     else
63756       # this is the suspicious part
63757       CFLAGS=''
63758     fi
63759   fi
63760
63761   # Set -z,relro.
63762   # Note this is only for shared objects.
63763   ac_ld_relro=no
63764   if test x"$with_gnu_ld" = x"yes"; then
63765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63766 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63767     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63768     if test -n "$cxx_z_relo"; then
63769       OPT_LDFLAGS="-Wl,-z,relro"
63770       ac_ld_relro=yes
63771     fi
63772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63773 $as_echo "$ac_ld_relro" >&6; }
63774   fi
63775
63776   # Set linker optimization flags.
63777   if test x"$with_gnu_ld" = x"yes"; then
63778     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63779   fi
63780
63781
63782
63783
63784          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63785
63786          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63787
63788          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63789
63790          # All of the dependencies for wide character support are here, so
63791          # turn it on.
63792          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63793
63794         ;;
63795     esac
63796     case "$target" in
63797       *-*-solaris2.10)
63798       # These two C99 functions are present only in Solaris >= 10
63799       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63800
63801       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63802
63803      ;;
63804     esac
63805     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63806
63807     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63808
63809     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63810
63811     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63812
63813     ;;
63814   *-tpf)
63815     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63816
63817
63818   # If we're not using GNU ld, then there's no point in even trying these
63819   # tests.  Check for that first.  We should have already tested for gld
63820   # by now (in libtool), but require it now just to be safe...
63821   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63822   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63823
63824
63825
63826   # The name set by libtool depends on the version of libtool.  Shame on us
63827   # for depending on an impl detail, but c'est la vie.  Older versions used
63828   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63829   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63830   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63831   # set (hence we're using an older libtool), then set it.
63832   if test x${with_gnu_ld+set} != xset; then
63833     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63834       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63835       with_gnu_ld=no
63836     else
63837       with_gnu_ld=$ac_cv_prog_gnu_ld
63838     fi
63839   fi
63840
63841   # Start by getting the version number.  I think the libtool test already
63842   # does some of this, but throws away the result.
63843   glibcxx_ld_is_gold=no
63844   if test x"$with_gnu_ld" = x"yes"; then
63845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63846 $as_echo_n "checking for ld version... " >&6; }
63847
63848     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63849       glibcxx_ld_is_gold=yes
63850     fi
63851     ldver=`$LD --version 2>/dev/null |
63852            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'`
63853
63854     glibcxx_gnu_ld_version=`echo $ldver | \
63855            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63856     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63857 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63858   fi
63859
63860   # Set --gc-sections.
63861   glibcxx_have_gc_sections=no
63862   if test "$glibcxx_ld_is_gold" = "yes"; then
63863     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63864       glibcxx_have_gc_sections=yes
63865     fi
63866   else
63867     glibcxx_gcsections_min_ld=21602
63868     if test x"$with_gnu_ld" = x"yes" &&
63869         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63870       glibcxx_have_gc_sections=yes
63871     fi
63872   fi
63873   if test "$glibcxx_have_gc_sections" = "yes"; then
63874     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63875     # NB: This flag only works reliably after 2.16.1. Configure tests
63876     # for this are difficult, so hard wire a value that should work.
63877
63878     ac_test_CFLAGS="${CFLAGS+set}"
63879     ac_save_CFLAGS="$CFLAGS"
63880     CFLAGS='-Wl,--gc-sections'
63881
63882     # Check for -Wl,--gc-sections
63883     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63884 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63885     if test x$gcc_no_link = xyes; then
63886   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63887 fi
63888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63889 /* end confdefs.h.  */
63890  int one(void) { return 1; }
63891      int two(void) { return 2; }
63892
63893 int
63894 main ()
63895 {
63896  two();
63897   ;
63898   return 0;
63899 }
63900 _ACEOF
63901 if ac_fn_c_try_link "$LINENO"; then :
63902   ac_gcsections=yes
63903 else
63904   ac_gcsections=no
63905 fi
63906 rm -f core conftest.err conftest.$ac_objext \
63907     conftest$ac_exeext conftest.$ac_ext
63908     if test "$ac_gcsections" = "yes"; then
63909       rm -f conftest.c
63910       touch conftest.c
63911       if $CC -c conftest.c; then
63912         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63913            grep "Warning: gc-sections option ignored" > /dev/null; then
63914           ac_gcsections=no
63915         fi
63916       fi
63917       rm -f conftest.c conftest.o conftest
63918     fi
63919     if test "$ac_gcsections" = "yes"; then
63920       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63921     fi
63922     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63923 $as_echo "$ac_gcsections" >&6; }
63924
63925     if test "$ac_test_CFLAGS" = set; then
63926       CFLAGS="$ac_save_CFLAGS"
63927     else
63928       # this is the suspicious part
63929       CFLAGS=''
63930     fi
63931   fi
63932
63933   # Set -z,relro.
63934   # Note this is only for shared objects.
63935   ac_ld_relro=no
63936   if test x"$with_gnu_ld" = x"yes"; then
63937     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63938 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63939     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63940     if test -n "$cxx_z_relo"; then
63941       OPT_LDFLAGS="-Wl,-z,relro"
63942       ac_ld_relro=yes
63943     fi
63944     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63945 $as_echo "$ac_ld_relro" >&6; }
63946   fi
63947
63948   # Set linker optimization flags.
63949   if test x"$with_gnu_ld" = x"yes"; then
63950     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63951   fi
63952
63953
63954
63955
63956     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63957
63958     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63959
63960     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63961
63962     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63963
63964     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63965
63966     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63967
63968     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63969
63970     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63971
63972     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63973
63974     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63975
63976     if test x"long_double_math_on_this_cpu" = x"yes"; then
63977       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63978
63979       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63980
63981       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63982
63983       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63984
63985     fi
63986     ;;
63987   *-vxworks)
63988     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63989
63990     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63991
63992     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63993
63994     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63995
63996     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63997
63998     $as_echo "#define HAVE_COSF 1" >>confdefs.h
63999
64000     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64001
64002     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64003
64004     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64005
64006     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64007
64008     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64009
64010     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64011
64012     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64013
64014     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64015
64016     $as_echo "#define HAVE_POWF 1" >>confdefs.h
64017
64018     $as_echo "#define HAVE_SINF 1" >>confdefs.h
64019
64020     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64021
64022     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64023
64024     $as_echo "#define HAVE_TANF 1" >>confdefs.h
64025
64026     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64027
64028     ;;
64029   *)
64030     as_fn_error "No support for this host/target combination." "$LINENO" 5
64031    ;;
64032 esac
64033
64034   fi
64035
64036   # At some point, we should differentiate between architectures
64037   # like x86, which have long double versions, and alpha/powerpc/etc.,
64038   # which don't. For the time being, punt.
64039   if test x"long_double_math_on_this_cpu" = x"yes"; then
64040     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64041
64042     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64043
64044     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64045
64046     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64047
64048     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64049
64050     $as_echo "#define HAVE_COSL 1" >>confdefs.h
64051
64052     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64053
64054     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64055
64056     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64057
64058     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64059
64060     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64061
64062     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64063
64064     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64065
64066     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64067
64068     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64069
64070     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64071
64072     $as_echo "#define HAVE_POWL 1" >>confdefs.h
64073
64074     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64075
64076     $as_echo "#define HAVE_SINL 1" >>confdefs.h
64077
64078     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64079
64080     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64081
64082     $as_echo "#define HAVE_TANL 1" >>confdefs.h
64083
64084     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64085
64086   fi
64087 fi
64088
64089 # Check for _Unwind_GetIPInfo.
64090
64091
64092 # Check whether --with-system-libunwind was given.
64093 if test "${with_system_libunwind+set}" = set; then :
64094   withval=$with_system_libunwind;
64095 fi
64096
64097   # If system-libunwind was not specifically set, pick a default setting.
64098   if test x$with_system_libunwind = x; then
64099     case ${target} in
64100       ia64-*-hpux*) with_system_libunwind=yes ;;
64101       *) with_system_libunwind=no ;;
64102     esac
64103   fi
64104   # Based on system-libunwind and target, do we have ipinfo?
64105   if  test x$with_system_libunwind = xyes; then
64106     case ${target} in
64107       ia64-*-*) have_unwind_getipinfo=no ;;
64108       *) have_unwind_getipinfo=yes ;;
64109     esac
64110   else
64111     # Darwin before version 9 does not have _Unwind_GetIPInfo.
64112
64113     case ${target} in
64114       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64115       *) have_unwind_getipinfo=yes ;;
64116     esac
64117
64118   fi
64119
64120   if test x$have_unwind_getipinfo = xyes; then
64121
64122 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64123
64124   fi
64125
64126
64127  # Check whether --enable-linux-futex was given.
64128 if test "${enable_linux_futex+set}" = set; then :
64129   enableval=$enable_linux_futex;
64130       case "$enableval" in
64131        yes|no|default) ;;
64132        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64133                           esac
64134
64135 else
64136   enable_linux_futex=default
64137 fi
64138
64139
64140 case "$target" in
64141   *-linux*)
64142     case "$enable_linux_futex" in
64143       default)
64144         # If headers don't have gettid/futex syscalls definition, then
64145         # default to no, otherwise there will be compile time failures.
64146         # Otherwise, default to yes.  If we don't detect we are
64147         # compiled/linked against NPTL and not cross-compiling, check
64148         # if programs are run by default against NPTL and if not, issue
64149         # a warning.
64150         enable_linux_futex=no
64151         if test x$gcc_no_link = xyes; then
64152   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64153 fi
64154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64155 /* end confdefs.h.  */
64156 #include <sys/syscall.h>
64157            int lk;
64158 int
64159 main ()
64160 {
64161 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64162   ;
64163   return 0;
64164 }
64165 _ACEOF
64166 if ac_fn_c_try_link "$LINENO"; then :
64167   save_LIBS="$LIBS"
64168            LIBS="-lpthread $LIBS"
64169            if test x$gcc_no_link = xyes; then
64170   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64171 fi
64172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64173 /* end confdefs.h.  */
64174 #ifndef _GNU_SOURCE
64175              #define _GNU_SOURCE 1
64176              #endif
64177              #include <pthread.h>
64178              pthread_t th; void *status;
64179 int
64180 main ()
64181 {
64182 pthread_tryjoin_np (th, &status);
64183   ;
64184   return 0;
64185 }
64186 _ACEOF
64187 if ac_fn_c_try_link "$LINENO"; then :
64188   enable_linux_futex=yes
64189 else
64190   if test x$cross_compiling = xno; then
64191                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64192                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64193                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64194 If so, please configure with --disable-linux-futex" >&5
64195 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64196 If so, please configure with --disable-linux-futex" >&2;}
64197                fi
64198              fi
64199              enable_linux_futex=yes
64200 fi
64201 rm -f core conftest.err conftest.$ac_objext \
64202     conftest$ac_exeext conftest.$ac_ext
64203            LIBS="$save_LIBS"
64204 fi
64205 rm -f core conftest.err conftest.$ac_objext \
64206     conftest$ac_exeext conftest.$ac_ext
64207         ;;
64208       yes)
64209         if test x$gcc_no_link = xyes; then
64210   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64211 fi
64212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64213 /* end confdefs.h.  */
64214 #include <sys/syscall.h>
64215            int lk;
64216 int
64217 main ()
64218 {
64219 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64220   ;
64221   return 0;
64222 }
64223 _ACEOF
64224 if ac_fn_c_try_link "$LINENO"; then :
64225
64226 else
64227   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64228 fi
64229 rm -f core conftest.err conftest.$ac_objext \
64230     conftest$ac_exeext conftest.$ac_ext
64231         ;;
64232     esac
64233     ;;
64234   *)
64235     enable_linux_futex=no
64236     ;;
64237 esac
64238 if test x$enable_linux_futex = xyes; then
64239
64240 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64241
64242 fi
64243
64244
64245
64246
64247 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
64248
64249 acx_cv_header_stdint=stddef.h
64250 acx_cv_header_stdint_kind="(already complete)"
64251 for i in stdint.h $inttype_headers; do
64252   unset ac_cv_type_uintptr_t
64253   unset ac_cv_type_uintmax_t
64254   unset ac_cv_type_int_least32_t
64255   unset ac_cv_type_int_fast32_t
64256   unset ac_cv_type_uint64_t
64257   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64258   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64259 #include <$i>
64260 "
64261 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64262   acx_cv_header_stdint=$i
64263 else
64264   continue
64265 fi
64266
64267   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64268 #include <$i>
64269 "
64270 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64271
64272 else
64273   acx_cv_header_stdint_kind="(mostly complete)"
64274 fi
64275
64276   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64277 #include <$i>
64278 "
64279 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64280
64281 else
64282   acx_cv_header_stdint_kind="(mostly complete)"
64283 fi
64284
64285   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64286 #include <$i>
64287 "
64288 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64289
64290 else
64291   acx_cv_header_stdint_kind="(mostly complete)"
64292 fi
64293
64294   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64295 #include <$i>
64296 "
64297 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64298
64299 else
64300   acx_cv_header_stdint_kind="(lacks uint64_t)"
64301 fi
64302
64303   break
64304 done
64305 if test "$acx_cv_header_stdint" = stddef.h; then
64306   acx_cv_header_stdint_kind="(lacks uintmax_t)"
64307   for i in stdint.h $inttype_headers; do
64308     unset ac_cv_type_uintptr_t
64309     unset ac_cv_type_uint32_t
64310     unset ac_cv_type_uint64_t
64311     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64312     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64313 #include <$i>
64314 "
64315 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64316   acx_cv_header_stdint=$i
64317 else
64318   continue
64319 fi
64320
64321     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64322 #include <$i>
64323 "
64324 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64325
64326 fi
64327
64328     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64329 #include <$i>
64330 "
64331 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64332
64333 fi
64334
64335     break
64336   done
64337 fi
64338 if test "$acx_cv_header_stdint" = stddef.h; then
64339   acx_cv_header_stdint_kind="(u_intXX_t style)"
64340   for i in sys/types.h $inttype_headers; do
64341     unset ac_cv_type_u_int32_t
64342     unset ac_cv_type_u_int64_t
64343     $as_echo_n "looking for u_intXX_t types in $i, " >&6
64344     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64345 #include <$i>
64346 "
64347 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64348   acx_cv_header_stdint=$i
64349 else
64350   continue
64351 fi
64352
64353     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64354 #include <$i>
64355 "
64356 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64357
64358 fi
64359
64360     break
64361   done
64362 fi
64363 if test "$acx_cv_header_stdint" = stddef.h; then
64364   acx_cv_header_stdint_kind="(using manual detection)"
64365 fi
64366
64367 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64368 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64369 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64370 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64371 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64372
64373 # ----------------- Summarize what we found so far
64374
64375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64376 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64377
64378 case `$as_basename -- include/gstdint.h ||
64379 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64380          Xinclude/gstdint.h : 'X\(//\)$' \| \
64381          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64382 $as_echo X/include/gstdint.h |
64383     sed '/^.*\/\([^/][^/]*\)\/*$/{
64384             s//\1/
64385             q
64386           }
64387           /^X\/\(\/\/\)$/{
64388             s//\1/
64389             q
64390           }
64391           /^X\/\(\/\).*/{
64392             s//\1/
64393             q
64394           }
64395           s/.*/./; q'` in
64396   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64397 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64398   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64399 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64400   *) ;;
64401 esac
64402
64403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64404 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64405
64406 # ----------------- done included file, check C basic types --------
64407
64408 # Lacking an uintptr_t?  Test size of void *
64409 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64410   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64411 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64412 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64413 # This bug is HP SR number 8606223364.
64414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64415 $as_echo_n "checking size of void *... " >&6; }
64416 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64417   $as_echo_n "(cached) " >&6
64418 else
64419   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
64420
64421 else
64422   if test "$ac_cv_type_void_p" = yes; then
64423      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64425 { as_fn_set_status 77
64426 as_fn_error "cannot compute sizeof (void *)
64427 See \`config.log' for more details." "$LINENO" 5; }; }
64428    else
64429      ac_cv_sizeof_void_p=0
64430    fi
64431 fi
64432
64433 fi
64434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64435 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64436
64437
64438
64439 cat >>confdefs.h <<_ACEOF
64440 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64441 _ACEOF
64442
64443  ;;
64444 esac
64445
64446 # Lacking an uint64_t?  Test size of long
64447 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64448   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64449 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64450 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64451 # This bug is HP SR number 8606223364.
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64453 $as_echo_n "checking size of long... " >&6; }
64454 if test "${ac_cv_sizeof_long+set}" = set; then :
64455   $as_echo_n "(cached) " >&6
64456 else
64457   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
64458
64459 else
64460   if test "$ac_cv_type_long" = yes; then
64461      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64463 { as_fn_set_status 77
64464 as_fn_error "cannot compute sizeof (long)
64465 See \`config.log' for more details." "$LINENO" 5; }; }
64466    else
64467      ac_cv_sizeof_long=0
64468    fi
64469 fi
64470
64471 fi
64472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64473 $as_echo "$ac_cv_sizeof_long" >&6; }
64474
64475
64476
64477 cat >>confdefs.h <<_ACEOF
64478 #define SIZEOF_LONG $ac_cv_sizeof_long
64479 _ACEOF
64480
64481  ;;
64482 esac
64483
64484 if test $acx_cv_header_stdint = stddef.h; then
64485   # Lacking a good header?  Test size of everything and deduce all types.
64486   # The cast to long int works around a bug in the HP C Compiler
64487 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64488 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64489 # This bug is HP SR number 8606223364.
64490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64491 $as_echo_n "checking size of int... " >&6; }
64492 if test "${ac_cv_sizeof_int+set}" = set; then :
64493   $as_echo_n "(cached) " >&6
64494 else
64495   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
64496
64497 else
64498   if test "$ac_cv_type_int" = yes; then
64499      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64501 { as_fn_set_status 77
64502 as_fn_error "cannot compute sizeof (int)
64503 See \`config.log' for more details." "$LINENO" 5; }; }
64504    else
64505      ac_cv_sizeof_int=0
64506    fi
64507 fi
64508
64509 fi
64510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64511 $as_echo "$ac_cv_sizeof_int" >&6; }
64512
64513
64514
64515 cat >>confdefs.h <<_ACEOF
64516 #define SIZEOF_INT $ac_cv_sizeof_int
64517 _ACEOF
64518
64519
64520   # The cast to long int works around a bug in the HP C Compiler
64521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64522 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64523 # This bug is HP SR number 8606223364.
64524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64525 $as_echo_n "checking size of short... " >&6; }
64526 if test "${ac_cv_sizeof_short+set}" = set; then :
64527   $as_echo_n "(cached) " >&6
64528 else
64529   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
64530
64531 else
64532   if test "$ac_cv_type_short" = yes; then
64533      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64535 { as_fn_set_status 77
64536 as_fn_error "cannot compute sizeof (short)
64537 See \`config.log' for more details." "$LINENO" 5; }; }
64538    else
64539      ac_cv_sizeof_short=0
64540    fi
64541 fi
64542
64543 fi
64544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64545 $as_echo "$ac_cv_sizeof_short" >&6; }
64546
64547
64548
64549 cat >>confdefs.h <<_ACEOF
64550 #define SIZEOF_SHORT $ac_cv_sizeof_short
64551 _ACEOF
64552
64553
64554   # The cast to long int works around a bug in the HP C Compiler
64555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64557 # This bug is HP SR number 8606223364.
64558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64559 $as_echo_n "checking size of char... " >&6; }
64560 if test "${ac_cv_sizeof_char+set}" = set; then :
64561   $as_echo_n "(cached) " >&6
64562 else
64563   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
64564
64565 else
64566   if test "$ac_cv_type_char" = yes; then
64567      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64569 { as_fn_set_status 77
64570 as_fn_error "cannot compute sizeof (char)
64571 See \`config.log' for more details." "$LINENO" 5; }; }
64572    else
64573      ac_cv_sizeof_char=0
64574    fi
64575 fi
64576
64577 fi
64578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64579 $as_echo "$ac_cv_sizeof_char" >&6; }
64580
64581
64582
64583 cat >>confdefs.h <<_ACEOF
64584 #define SIZEOF_CHAR $ac_cv_sizeof_char
64585 _ACEOF
64586
64587
64588
64589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64590 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64591   case "$ac_cv_sizeof_char" in
64592     1) acx_cv_type_int8_t=char ;;
64593     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64594   esac
64595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64596 $as_echo "$acx_cv_type_int8_t" >&6; }
64597
64598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64599 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64600   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64601     2:*) acx_cv_type_int16_t=int ;;
64602     *:2) acx_cv_type_int16_t=short ;;
64603     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64604   esac
64605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64606 $as_echo "$acx_cv_type_int16_t" >&6; }
64607
64608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64609 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64610   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64611     4:*) acx_cv_type_int32_t=int ;;
64612     *:4) acx_cv_type_int32_t=long ;;
64613     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64614   esac
64615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64616 $as_echo "$acx_cv_type_int32_t" >&6; }
64617 fi
64618
64619 # These tests are here to make the output prettier
64620
64621 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64622   case "$ac_cv_sizeof_long" in
64623     8) acx_cv_type_int64_t=long ;;
64624   esac
64625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64626 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64628 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64629 fi
64630
64631 # Now we can use the above types
64632
64633 if test "$ac_cv_type_uintptr_t" != yes; then
64634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64635 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64636   case $ac_cv_sizeof_void_p in
64637     2) acx_cv_type_intptr_t=int16_t ;;
64638     4) acx_cv_type_intptr_t=int32_t ;;
64639     8) acx_cv_type_intptr_t=int64_t ;;
64640     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64641   esac
64642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64643 $as_echo "$acx_cv_type_intptr_t" >&6; }
64644 fi
64645
64646 # ----------------- done all checks, emit header -------------
64647 ac_config_commands="$ac_config_commands include/gstdint.h"
64648
64649
64650
64651
64652
64653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64654 $as_echo_n "checking for GNU c++filt... " >&6; }
64655 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64656   $as_echo_n "(cached) " >&6
64657 else
64658   if test -z "$CXXFILT"; then
64659   ac_path_CXXFILT_found=false
64660   # Loop through the user's path and test for each of PROGNAME-LIST
64661   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64662 for as_dir in $PATH
64663 do
64664   IFS=$as_save_IFS
64665   test -z "$as_dir" && as_dir=.
64666     for ac_prog in c++filt gc++filt; do
64667     for ac_exec_ext in '' $ac_executable_extensions; do
64668       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64669       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64670 # Check for GNU $ac_path_CXXFILT
64671 case `"$ac_path_CXXFILT" --version 2>&1` in
64672 *GNU*)
64673   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64674 esac
64675
64676       $ac_path_CXXFILT_found && break 3
64677     done
64678   done
64679   done
64680 IFS=$as_save_IFS
64681   if test -z "$ac_cv_path_CXXFILT"; then
64682     :
64683   fi
64684 else
64685   ac_cv_path_CXXFILT=$CXXFILT
64686 fi
64687
64688 fi
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64690 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64691   CXXFILT=$ac_cv_path_CXXFILT
64692
64693
64694
64695  # Check whether --enable-symvers was given.
64696 if test "${enable_symvers+set}" = set; then :
64697   enableval=$enable_symvers;
64698       case "$enableval" in
64699        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64700        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64701                         esac
64702
64703 else
64704   enable_symvers=yes
64705 fi
64706
64707
64708
64709 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64710 # don't know enough about $LD to do tricks...
64711
64712 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64713 # with extern "C++" in version scripts.
64714
64715
64716 # Turn a 'yes' into a suitable default.
64717 if test x$enable_symvers = xyes ; then
64718   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64719     enable_symvers=no
64720   else
64721     if test $with_gnu_ld = yes ; then
64722       case ${target_os} in
64723         hpux*)
64724           enable_symvers=no ;;
64725         *)
64726           enable_symvers=gnu ;;
64727       esac
64728     else
64729       case ${target_os} in
64730         darwin*)
64731           enable_symvers=darwin ;;
64732         # Sun symbol versioning exists since Solaris 2.5.
64733         solaris2.[5-9]* | solaris2.1[0-9]*)
64734           # make_sunver.pl needs GNU c++filt to support extern "C++" in
64735           # version scripts, so disable symbol versioning if none can be
64736           # found.
64737           if test -z "$ac_cv_path_CXXFILT"; then
64738             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64739 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64740             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
64741 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
64742             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64743 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64744             enable_symvers=no
64745           else
64746             enable_symvers=sun
64747           fi
64748           ;;
64749         *)
64750           enable_symvers=no ;;
64751       esac
64752     fi
64753   fi
64754 fi
64755
64756 # Check to see if 'darwin' or 'darwin-export' can win.
64757 if test x$enable_symvers = xdarwin-export ; then
64758     enable_symvers=darwin
64759 fi
64760
64761 # Check if 'sun' was requested on non-Solaris 2 platforms.
64762 if test x$enable_symvers = xsun ; then
64763   case ${target_os} in
64764     solaris2*)
64765       # All fine.
64766       ;;
64767     *)
64768       # Unlikely to work.
64769       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64770 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64771       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64772 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64773       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64774 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64775       enable_symvers=no
64776       ;;
64777   esac
64778 fi
64779
64780 # Check to see if 'gnu' can win.
64781 if test $enable_symvers = gnu ||
64782   test $enable_symvers = gnu-versioned-namespace ||
64783   test $enable_symvers = sun; then
64784   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64786 $as_echo_n "checking for shared libgcc... " >&6; }
64787   ac_save_CFLAGS="$CFLAGS"
64788   CFLAGS=' -lgcc_s'
64789   if test x$gcc_no_link = xyes; then
64790   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64791 fi
64792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64793 /* end confdefs.h.  */
64794
64795 int
64796 main ()
64797 {
64798 return 0;
64799   ;
64800   return 0;
64801 }
64802 _ACEOF
64803 if ac_fn_c_try_link "$LINENO"; then :
64804   glibcxx_shared_libgcc=yes
64805 else
64806   glibcxx_shared_libgcc=no
64807 fi
64808 rm -f core conftest.err conftest.$ac_objext \
64809     conftest$ac_exeext conftest.$ac_ext
64810   CFLAGS="$ac_save_CFLAGS"
64811   if test $glibcxx_shared_libgcc = no; then
64812     cat > conftest.c <<EOF
64813 int main (void) { return 0; }
64814 EOF
64815     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64816                              -shared -shared-libgcc -o conftest.so \
64817                              conftest.c -v 2>&1 >/dev/null \
64818                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64819     rm -f conftest.c conftest.so
64820     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64821       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64822       if test x$gcc_no_link = xyes; then
64823   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64824 fi
64825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64826 /* end confdefs.h.  */
64827
64828 int
64829 main ()
64830 {
64831 return 0;
64832   ;
64833   return 0;
64834 }
64835 _ACEOF
64836 if ac_fn_c_try_link "$LINENO"; then :
64837   glibcxx_shared_libgcc=yes
64838 fi
64839 rm -f core conftest.err conftest.$ac_objext \
64840     conftest$ac_exeext conftest.$ac_ext
64841       CFLAGS="$ac_save_CFLAGS"
64842     fi
64843   fi
64844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64845 $as_echo "$glibcxx_shared_libgcc" >&6; }
64846
64847   # For GNU ld, we need at least this version.  The format is described in
64848   # GLIBCXX_CHECK_LINKER_FEATURES above.
64849   glibcxx_min_gnu_ld_version=21400
64850
64851   # If no shared libgcc, can't win.
64852   if test $glibcxx_shared_libgcc != yes; then
64853       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64854 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64855       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64856 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64857       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64858 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64859       enable_symvers=no
64860   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64861     : All interesting versions of Sun ld support sun style symbol versioning.
64862   elif test $with_gnu_ld != yes ; then
64863     # just fail for now
64864     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64865 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64866     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64867 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64868     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64869 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64870     enable_symvers=no
64871   elif test $glibcxx_ld_is_gold = yes ; then
64872     : All versions of gold support symbol versioning.
64873   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64874     # The right tools, the right setup, but too old.  Fallbacks?
64875     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64876 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64877     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64878 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64879     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64880 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64881     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64882 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64883     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64884 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64885     enable_symvers=no
64886   fi
64887 fi
64888
64889 # For libtool versioning info, format is CURRENT:REVISION:AGE
64890 libtool_VERSION=6:17:0
64891
64892 # Everything parsed; figure out what files and settings to use.
64893 case $enable_symvers in
64894   no)
64895     SYMVER_FILE=config/abi/pre/none.ver
64896     ;;
64897   gnu)
64898     SYMVER_FILE=config/abi/pre/gnu.ver
64899
64900 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64901
64902     ;;
64903   gnu-versioned-namespace)
64904     libtool_VERSION=7:0:0
64905     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64906
64907 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64908
64909     ;;
64910   darwin)
64911     SYMVER_FILE=config/abi/pre/gnu.ver
64912
64913 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64914
64915     ;;
64916   sun)
64917     SYMVER_FILE=config/abi/pre/gnu.ver
64918
64919 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64920
64921     ;;
64922 esac
64923
64924 if test x$enable_symvers != xno ; then
64925
64926 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64927
64928 fi
64929
64930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64931 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64932 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64933   $as_echo_n "(cached) " >&6
64934 else
64935
64936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64937 /* end confdefs.h.  */
64938 void foo (void); __asm (".symver foo, bar@SYMVER");
64939 int
64940 main ()
64941 {
64942
64943   ;
64944   return 0;
64945 }
64946 _ACEOF
64947 if ac_fn_c_try_compile "$LINENO"; then :
64948   glibcxx_cv_have_as_symver_directive=yes
64949 else
64950   glibcxx_cv_have_as_symver_directive=no
64951 fi
64952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64953 fi
64954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64955 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64956 if test $glibcxx_cv_have_as_symver_directive = yes; then
64957
64958 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64959
64960 fi
64961
64962
64963
64964
64965
64966
64967
64968
64969 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64970 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64971
64972 if test $enable_symvers != no ; then
64973    case ${target_os} in
64974      # The Solaris 2 runtime linker doesn't support the GNU extension of
64975      # binding the same symbol to different versions
64976      solaris2*)
64977        symvers_renaming=no  ;;
64978      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64979      *)
64980
64981 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64982
64983        symvers_renaming=yes  ;;
64984     esac
64985 else
64986     symvers_renaming=no
64987 fi
64988
64989
64990 # Now, set up compatibility support, if any.
64991 # In addition, need this to deal with std::size_t mangling in
64992 # src/compatibility.cc.  In a perfect world, could use
64993 # typeid(std::size_t).name()[0] to do direct substitution.
64994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64995 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64996 ac_save_CFLAGS="$CFLAGS"
64997 CFLAGS="-Werror"
64998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64999 /* end confdefs.h.  */
65000
65001 int
65002 main ()
65003 {
65004 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65005   ;
65006   return 0;
65007 }
65008 _ACEOF
65009 if ac_fn_c_try_compile "$LINENO"; then :
65010   glibcxx_size_t_is_i=yes
65011 else
65012   glibcxx_size_t_is_i=no
65013 fi
65014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65015 CFLAGS=$ac_save_CFLAGS
65016 if test "$glibcxx_size_t_is_i" = yes; then
65017
65018 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65019
65020 fi
65021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65022 $as_echo "$glibcxx_size_t_is_i" >&6; }
65023
65024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65025 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65026 ac_save_CFLAGS="$CFLAGS"
65027 CFLAGS="-Werror"
65028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65029 /* end confdefs.h.  */
65030
65031 int
65032 main ()
65033 {
65034 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65035   ;
65036   return 0;
65037 }
65038 _ACEOF
65039 if ac_fn_c_try_compile "$LINENO"; then :
65040   glibcxx_ptrdiff_t_is_i=yes
65041 else
65042   glibcxx_ptrdiff_t_is_i=no
65043 fi
65044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65045 CFLAGS=$ac_save_CFLAGS
65046 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65047
65048 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65049
65050 fi
65051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65052 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65053
65054
65055
65056
65057  # Check whether --enable-libstdcxx-visibility was given.
65058 if test "${enable_libstdcxx_visibility+set}" = set; then :
65059   enableval=$enable_libstdcxx_visibility;
65060       case "$enableval" in
65061        yes|no) ;;
65062        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65063       esac
65064
65065 else
65066   enable_libstdcxx_visibility=yes
65067 fi
65068
65069
65070
65071 if test x$enable_libstdcxx_visibility = xyes ; then
65072       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65073 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65074 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65075   $as_echo_n "(cached) " >&6
65076 else
65077
65078   save_CFLAGS="$CFLAGS"
65079   CFLAGS="$CFLAGS -Werror"
65080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65081 /* end confdefs.h.  */
65082 void __attribute__((visibility("hidden"))) foo(void) { }
65083 int
65084 main ()
65085 {
65086
65087   ;
65088   return 0;
65089 }
65090 _ACEOF
65091 if ac_fn_c_try_compile "$LINENO"; then :
65092   glibcxx_cv_have_attribute_visibility=yes
65093 else
65094   glibcxx_cv_have_attribute_visibility=no
65095 fi
65096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65097   CFLAGS="$save_CFLAGS"
65098 fi
65099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65100 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65101   if test $glibcxx_cv_have_attribute_visibility = no; then
65102     enable_libstdcxx_visibility=no
65103   fi
65104 fi
65105
65106
65107 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65108 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65109
65110
65111 ac_ldbl_compat=no
65112 case "$target" in
65113   powerpc*-*-linux* | \
65114   sparc*-*-linux* | \
65115   s390*-*-linux* | \
65116   alpha*-*-linux*)
65117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65118 /* end confdefs.h.  */
65119
65120 int
65121 main ()
65122 {
65123
65124 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65125 #error no need for long double compatibility
65126 #endif
65127
65128   ;
65129   return 0;
65130 }
65131 _ACEOF
65132 if ac_fn_c_try_compile "$LINENO"; then :
65133   ac_ldbl_compat=yes
65134 else
65135   ac_ldbl_compat=no
65136 fi
65137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65138   if test "$ac_ldbl_compat" = yes; then
65139
65140 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65141
65142     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65143   fi
65144 esac
65145
65146
65147 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65148
65149   if $GLIBCXX_IS_NATIVE ; then
65150     # Do checks for resource limit functions.
65151
65152   setrlimit_have_headers=yes
65153   for ac_header in unistd.h sys/time.h sys/resource.h
65154 do :
65155   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65156 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65157 eval as_val=\$$as_ac_Header
65158    if test "x$as_val" = x""yes; then :
65159   cat >>confdefs.h <<_ACEOF
65160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65161 _ACEOF
65162
65163 else
65164   setrlimit_have_headers=no
65165 fi
65166
65167 done
65168
65169   # If don't have the headers, then we can't run the tests now, and we
65170   # won't be seeing any of these during testsuite compilation.
65171   if test $setrlimit_have_headers = yes; then
65172     # Can't do these in a loop, else the resulting syntax is wrong.
65173
65174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65175 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65177 /* end confdefs.h.  */
65178 #include <unistd.h>
65179      #include <sys/time.h>
65180      #include <sys/resource.h>
65181
65182 int
65183 main ()
65184 {
65185  int f = RLIMIT_DATA ;
65186   ;
65187   return 0;
65188 }
65189 _ACEOF
65190 if ac_fn_c_try_compile "$LINENO"; then :
65191   glibcxx_mresult=1
65192 else
65193   glibcxx_mresult=0
65194 fi
65195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65196
65197 cat >>confdefs.h <<_ACEOF
65198 #define HAVE_LIMIT_DATA $glibcxx_mresult
65199 _ACEOF
65200
65201   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65203 $as_echo "$res" >&6; }
65204
65205
65206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65207 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65209 /* end confdefs.h.  */
65210 #include <unistd.h>
65211      #include <sys/time.h>
65212      #include <sys/resource.h>
65213
65214 int
65215 main ()
65216 {
65217  int f = RLIMIT_RSS ;
65218   ;
65219   return 0;
65220 }
65221 _ACEOF
65222 if ac_fn_c_try_compile "$LINENO"; then :
65223   glibcxx_mresult=1
65224 else
65225   glibcxx_mresult=0
65226 fi
65227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65228
65229 cat >>confdefs.h <<_ACEOF
65230 #define HAVE_LIMIT_RSS $glibcxx_mresult
65231 _ACEOF
65232
65233   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65235 $as_echo "$res" >&6; }
65236
65237
65238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65239 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65241 /* end confdefs.h.  */
65242 #include <unistd.h>
65243      #include <sys/time.h>
65244      #include <sys/resource.h>
65245
65246 int
65247 main ()
65248 {
65249  int f = RLIMIT_VMEM ;
65250   ;
65251   return 0;
65252 }
65253 _ACEOF
65254 if ac_fn_c_try_compile "$LINENO"; then :
65255   glibcxx_mresult=1
65256 else
65257   glibcxx_mresult=0
65258 fi
65259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65260
65261 cat >>confdefs.h <<_ACEOF
65262 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65263 _ACEOF
65264
65265   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65267 $as_echo "$res" >&6; }
65268
65269
65270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65271 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65273 /* end confdefs.h.  */
65274 #include <unistd.h>
65275      #include <sys/time.h>
65276      #include <sys/resource.h>
65277
65278 int
65279 main ()
65280 {
65281  int f = RLIMIT_AS ;
65282   ;
65283   return 0;
65284 }
65285 _ACEOF
65286 if ac_fn_c_try_compile "$LINENO"; then :
65287   glibcxx_mresult=1
65288 else
65289   glibcxx_mresult=0
65290 fi
65291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65292
65293 cat >>confdefs.h <<_ACEOF
65294 #define HAVE_LIMIT_AS $glibcxx_mresult
65295 _ACEOF
65296
65297   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65299 $as_echo "$res" >&6; }
65300
65301
65302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65303 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65305 /* end confdefs.h.  */
65306 #include <unistd.h>
65307      #include <sys/time.h>
65308      #include <sys/resource.h>
65309
65310 int
65311 main ()
65312 {
65313  int f = RLIMIT_FSIZE ;
65314   ;
65315   return 0;
65316 }
65317 _ACEOF
65318 if ac_fn_c_try_compile "$LINENO"; then :
65319   glibcxx_mresult=1
65320 else
65321   glibcxx_mresult=0
65322 fi
65323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65324
65325 cat >>confdefs.h <<_ACEOF
65326 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65327 _ACEOF
65328
65329   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65331 $as_echo "$res" >&6; }
65332
65333
65334     # Check for rlimit, setrlimit.
65335     if test "${glibcxx_cv_setrlimit+set}" = set; then :
65336   $as_echo_n "(cached) " >&6
65337 else
65338
65339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65340 /* end confdefs.h.  */
65341 #include <unistd.h>
65342          #include <sys/time.h>
65343          #include <sys/resource.h>
65344
65345 int
65346 main ()
65347 {
65348 struct rlimit r;
65349          setrlimit(0, &r);
65350   ;
65351   return 0;
65352 }
65353 _ACEOF
65354 if ac_fn_c_try_compile "$LINENO"; then :
65355   glibcxx_cv_setrlimit=yes
65356 else
65357   glibcxx_cv_setrlimit=no
65358 fi
65359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65360
65361 fi
65362
65363   fi
65364
65365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65366 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65367   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65368     ac_res_limits=yes
65369
65370 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65371
65372   else
65373     ac_res_limits=no
65374   fi
65375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65376 $as_echo "$ac_res_limits" >&6; }
65377
65378
65379     # Look for setenv, so that extended locale tests can be performed.
65380
65381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65382 $as_echo_n "checking for setenv declaration... " >&6; }
65383   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65384     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65385   $as_echo_n "(cached) " >&6
65386 else
65387
65388
65389       ac_ext=cpp
65390 ac_cpp='$CXXCPP $CPPFLAGS'
65391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65394
65395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65396 /* end confdefs.h.  */
65397 #include <stdlib.h>
65398 int
65399 main ()
65400 {
65401  setenv(0, 0, 0);
65402   ;
65403   return 0;
65404 }
65405 _ACEOF
65406 if ac_fn_cxx_try_compile "$LINENO"; then :
65407   glibcxx_cv_func_setenv_use=yes
65408 else
65409   glibcxx_cv_func_setenv_use=no
65410 fi
65411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65412       ac_ext=c
65413 ac_cpp='$CPP $CPPFLAGS'
65414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65417
65418
65419 fi
65420
65421   fi
65422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65423 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65424   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65425     for ac_func in setenv
65426 do :
65427   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65428 if test "x$ac_cv_func_setenv" = x""yes; then :
65429   cat >>confdefs.h <<_ACEOF
65430 #define HAVE_SETENV 1
65431 _ACEOF
65432
65433 fi
65434 done
65435
65436   fi
65437
65438   fi
65439
65440   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65441      test $enable_symvers != no; then
65442     case "$host" in
65443       *-*-cygwin*)
65444         enable_abi_check=no ;;
65445       *)
65446         enable_abi_check=yes ;;
65447     esac
65448   else
65449     # Only build this as native, since automake does not understand
65450     # CXX_FOR_BUILD.
65451     enable_abi_check=no
65452   fi
65453
65454   # Export file names for ABI checking.
65455   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65456
65457   baseline_subdir_switch="$abi_baseline_subdir_switch"
65458
65459
65460
65461 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
65462
65463    # Check whether --enable-libstdcxx-threads was given.
65464 if test "${enable_libstdcxx_threads+set}" = set; then :
65465   enableval=$enable_libstdcxx_threads;
65466       case "$enableval" in
65467        yes|no) ;;
65468        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
65469       esac
65470
65471 else
65472   enable_libstdcxx_threads=auto
65473 fi
65474
65475
65476
65477   if test x$enable_libstdcxx_threads = xauto ||
65478      test x$enable_libstdcxx_threads = xyes; then
65479
65480
65481   ac_ext=cpp
65482 ac_cpp='$CXXCPP $CPPFLAGS'
65483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65486
65487
65488   ac_save_CXXFLAGS="$CXXFLAGS"
65489   CXXFLAGS="$CXXFLAGS -fno-exceptions \
65490         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
65491
65492   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
65493   case $target_thread_file in
65494     posix)
65495       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
65496   esac
65497
65498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
65499 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
65500
65501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65502 /* end confdefs.h.  */
65503 #include <unistd.h>
65504 int
65505 main ()
65506 {
65507
65508       // In case of POSIX threads check _POSIX_TIMEOUTS.
65509       #if (defined(_PTHREADS) \
65510           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
65511       #error
65512       #endif
65513
65514   ;
65515   return 0;
65516 }
65517 _ACEOF
65518 if ac_fn_cxx_try_compile "$LINENO"; then :
65519   ac_gthread_use_mutex_timedlock=1
65520 else
65521   ac_gthread_use_mutex_timedlock=0
65522 fi
65523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65524
65525
65526 cat >>confdefs.h <<_ACEOF
65527 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
65528 _ACEOF
65529
65530
65531   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
65532   else res_mutex_timedlock=no ; fi
65533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
65534 $as_echo "$res_mutex_timedlock" >&6; }
65535
65536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
65537 $as_echo_n "checking for gthreads library... " >&6; }
65538
65539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65540 /* end confdefs.h.  */
65541 #include "gthr.h"
65542 int
65543 main ()
65544 {
65545
65546       #ifndef __GTHREADS_CXX0X
65547       #error
65548       #endif
65549
65550   ;
65551   return 0;
65552 }
65553 _ACEOF
65554 if ac_fn_cxx_try_compile "$LINENO"; then :
65555   case $target_os in
65556           # gthreads support breaks symbol versioning on Solaris 8/9 (PR
65557           # libstdc++/52189).
65558           solaris2.[89]*)
65559             if test x$enable_symvers = xno; then
65560               ac_has_gthreads=yes
65561             elif test x$enable_libstdcxx_threads = xyes; then
65562               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
65563 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
65564               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
65565 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
65566               ac_has_gthreads=yes
65567             else
65568               ac_has_gthreads=no
65569             fi
65570             ;;
65571           *)
65572             ac_has_gthreads=yes
65573             ;;
65574         esac
65575 else
65576   ac_has_gthreads=no
65577 fi
65578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65579   else
65580     ac_has_gthreads=no
65581   fi
65582
65583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
65584 $as_echo "$ac_has_gthreads" >&6; }
65585
65586   if test x"$ac_has_gthreads" = x"yes"; then
65587
65588 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
65589
65590   fi
65591
65592   CXXFLAGS="$ac_save_CXXFLAGS"
65593   ac_ext=c
65594 ac_cpp='$CPP $CPPFLAGS'
65595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65598
65599
65600
65601 # Define documentation rules conditionally.
65602
65603 # See if makeinfo has been installed and is modern enough
65604 # that we can use it.
65605
65606   # Extract the first word of "makeinfo", so it can be a program name with args.
65607 set dummy makeinfo; ac_word=$2
65608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65609 $as_echo_n "checking for $ac_word... " >&6; }
65610 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65611   $as_echo_n "(cached) " >&6
65612 else
65613   if test -n "$MAKEINFO"; then
65614   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65615 else
65616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65617 for as_dir in $PATH
65618 do
65619   IFS=$as_save_IFS
65620   test -z "$as_dir" && as_dir=.
65621     for ac_exec_ext in '' $ac_executable_extensions; do
65622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65623     ac_cv_prog_MAKEINFO="makeinfo"
65624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65625     break 2
65626   fi
65627 done
65628   done
65629 IFS=$as_save_IFS
65630
65631 fi
65632 fi
65633 MAKEINFO=$ac_cv_prog_MAKEINFO
65634 if test -n "$MAKEINFO"; then
65635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65636 $as_echo "$MAKEINFO" >&6; }
65637 else
65638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65639 $as_echo "no" >&6; }
65640 fi
65641
65642
65643   if test -n "$MAKEINFO"; then
65644     # Found it, now check the version.
65645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65646 $as_echo_n "checking for modern makeinfo... " >&6; }
65647 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65648   $as_echo_n "(cached) " >&6
65649 else
65650   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65651                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65652
65653                     case $ac_prog_version in
65654                       '')  gcc_cv_prog_makeinfo_modern=no;;
65655                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
65656                       *)   gcc_cv_prog_makeinfo_modern=no;;
65657                     esac
65658
65659 fi
65660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65661 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65662   else
65663     gcc_cv_prog_makeinfo_modern=no
65664   fi
65665   if test $gcc_cv_prog_makeinfo_modern = no; then
65666     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65667   fi
65668
65669  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65670   BUILD_INFO_TRUE=
65671   BUILD_INFO_FALSE='#'
65672 else
65673   BUILD_INFO_TRUE='#'
65674   BUILD_INFO_FALSE=
65675 fi
65676
65677
65678 # Check for doxygen
65679 # Extract the first word of "doxygen", so it can be a program name with args.
65680 set dummy doxygen; ac_word=$2
65681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65682 $as_echo_n "checking for $ac_word... " >&6; }
65683 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65684   $as_echo_n "(cached) " >&6
65685 else
65686   if test -n "$DOXYGEN"; then
65687   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65688 else
65689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65690 for as_dir in $PATH
65691 do
65692   IFS=$as_save_IFS
65693   test -z "$as_dir" && as_dir=.
65694     for ac_exec_ext in '' $ac_executable_extensions; do
65695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65696     ac_cv_prog_DOXYGEN="yes"
65697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65698     break 2
65699   fi
65700 done
65701   done
65702 IFS=$as_save_IFS
65703
65704   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65705 fi
65706 fi
65707 DOXYGEN=$ac_cv_prog_DOXYGEN
65708 if test -n "$DOXYGEN"; then
65709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65710 $as_echo "$DOXYGEN" >&6; }
65711 else
65712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65713 $as_echo "no" >&6; }
65714 fi
65715
65716
65717 # Extract the first word of "dot", so it can be a program name with args.
65718 set dummy dot; ac_word=$2
65719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65720 $as_echo_n "checking for $ac_word... " >&6; }
65721 if test "${ac_cv_prog_DOT+set}" = set; then :
65722   $as_echo_n "(cached) " >&6
65723 else
65724   if test -n "$DOT"; then
65725   ac_cv_prog_DOT="$DOT" # Let the user override the test.
65726 else
65727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65728 for as_dir in $PATH
65729 do
65730   IFS=$as_save_IFS
65731   test -z "$as_dir" && as_dir=.
65732     for ac_exec_ext in '' $ac_executable_extensions; do
65733   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65734     ac_cv_prog_DOT="yes"
65735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65736     break 2
65737   fi
65738 done
65739   done
65740 IFS=$as_save_IFS
65741
65742   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65743 fi
65744 fi
65745 DOT=$ac_cv_prog_DOT
65746 if test -n "$DOT"; then
65747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65748 $as_echo "$DOT" >&6; }
65749 else
65750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65751 $as_echo "no" >&6; }
65752 fi
65753
65754
65755
65756 # Check for docbook
65757 # Extract the first word of "xsltproc", so it can be a program name with args.
65758 set dummy xsltproc; ac_word=$2
65759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65760 $as_echo_n "checking for $ac_word... " >&6; }
65761 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65762   $as_echo_n "(cached) " >&6
65763 else
65764   if test -n "$XSLTPROC"; then
65765   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65766 else
65767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65768 for as_dir in $PATH
65769 do
65770   IFS=$as_save_IFS
65771   test -z "$as_dir" && as_dir=.
65772     for ac_exec_ext in '' $ac_executable_extensions; do
65773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65774     ac_cv_prog_XSLTPROC="yes"
65775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65776     break 2
65777   fi
65778 done
65779   done
65780 IFS=$as_save_IFS
65781
65782   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65783 fi
65784 fi
65785 XSLTPROC=$ac_cv_prog_XSLTPROC
65786 if test -n "$XSLTPROC"; then
65787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65788 $as_echo "$XSLTPROC" >&6; }
65789 else
65790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65791 $as_echo "no" >&6; }
65792 fi
65793
65794
65795 # Extract the first word of "xmllint", so it can be a program name with args.
65796 set dummy xmllint; ac_word=$2
65797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65798 $as_echo_n "checking for $ac_word... " >&6; }
65799 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65800   $as_echo_n "(cached) " >&6
65801 else
65802   if test -n "$XMLLINT"; then
65803   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65804 else
65805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65806 for as_dir in $PATH
65807 do
65808   IFS=$as_save_IFS
65809   test -z "$as_dir" && as_dir=.
65810     for ac_exec_ext in '' $ac_executable_extensions; do
65811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65812     ac_cv_prog_XMLLINT="yes"
65813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65814     break 2
65815   fi
65816 done
65817   done
65818 IFS=$as_save_IFS
65819
65820   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65821 fi
65822 fi
65823 XMLLINT=$ac_cv_prog_XMLLINT
65824 if test -n "$XMLLINT"; then
65825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65826 $as_echo "$XMLLINT" >&6; }
65827 else
65828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65829 $as_echo "no" >&6; }
65830 fi
65831
65832
65833
65834
65835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
65836 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
65837 glibcxx_stylesheets=no
65838 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
65839   glibcxx_stylesheets=yes
65840 fi
65841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65842 $as_echo "$glibcxx_stylesheets" >&6; }
65843
65844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65845 $as_echo_n "checking for local stylesheet directory... " >&6; }
65846 glibcxx_local_stylesheets=no
65847 if test x"$glibcxx_stylesheets" = x"yes"; then
65848   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65849     glibcxx_local_stylesheets=yes
65850     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65851   fi
65852   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65853     glibcxx_local_stylesheets=yes
65854     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65855   fi
65856 fi
65857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65858 $as_echo "$glibcxx_local_stylesheets" >&6; }
65859
65860 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65861
65862   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65863 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65864 else
65865   glibcxx_stylesheets=no
65866 fi
65867
65868 # Check for epub3 dependencies.
65869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
65870 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
65871 glibcxx_epub_stylesheets=no
65872 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65873    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
65874       glibcxx_epub_stylesheets=yes
65875    fi
65876 fi
65877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
65878 $as_echo "$glibcxx_epub_stylesheets" >&6; }
65879  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
65880   BUILD_EPUB_TRUE=
65881   BUILD_EPUB_FALSE='#'
65882 else
65883   BUILD_EPUB_TRUE='#'
65884   BUILD_EPUB_FALSE=
65885 fi
65886
65887
65888
65889
65890 # Check for xml/html dependencies.
65891  if test $ac_cv_prog_DOXYGEN = "yes" &&
65892                test $ac_cv_prog_DOT = "yes" &&
65893                test $ac_cv_prog_XSLTPROC = "yes" &&
65894                test $ac_cv_prog_XMLLINT = "yes" &&
65895                test $glibcxx_stylesheets = "yes"; then
65896   BUILD_XML_TRUE=
65897   BUILD_XML_FALSE='#'
65898 else
65899   BUILD_XML_TRUE='#'
65900   BUILD_XML_FALSE=
65901 fi
65902
65903
65904  if test $ac_cv_prog_DOXYGEN = "yes" &&
65905                test $ac_cv_prog_DOT = "yes" &&
65906                test $ac_cv_prog_XSLTPROC = "yes" &&
65907                test $ac_cv_prog_XMLLINT = "yes" &&
65908                test $glibcxx_stylesheets = "yes"; then
65909   BUILD_HTML_TRUE=
65910   BUILD_HTML_FALSE='#'
65911 else
65912   BUILD_HTML_TRUE='#'
65913   BUILD_HTML_FALSE=
65914 fi
65915
65916
65917 # Check for man dependencies.
65918  if test $ac_cv_prog_DOXYGEN = "yes" &&
65919                test $ac_cv_prog_DOT = "yes"; then
65920   BUILD_MAN_TRUE=
65921   BUILD_MAN_FALSE='#'
65922 else
65923   BUILD_MAN_TRUE='#'
65924   BUILD_MAN_FALSE=
65925 fi
65926
65927
65928 # Check for pdf dependencies.
65929 # Extract the first word of "dblatex", so it can be a program name with args.
65930 set dummy dblatex; ac_word=$2
65931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65932 $as_echo_n "checking for $ac_word... " >&6; }
65933 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65934   $as_echo_n "(cached) " >&6
65935 else
65936   if test -n "$DBLATEX"; then
65937   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65938 else
65939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65940 for as_dir in $PATH
65941 do
65942   IFS=$as_save_IFS
65943   test -z "$as_dir" && as_dir=.
65944     for ac_exec_ext in '' $ac_executable_extensions; do
65945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65946     ac_cv_prog_DBLATEX="yes"
65947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65948     break 2
65949   fi
65950 done
65951   done
65952 IFS=$as_save_IFS
65953
65954   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65955 fi
65956 fi
65957 DBLATEX=$ac_cv_prog_DBLATEX
65958 if test -n "$DBLATEX"; then
65959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65960 $as_echo "$DBLATEX" >&6; }
65961 else
65962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65963 $as_echo "no" >&6; }
65964 fi
65965
65966
65967 # Extract the first word of "pdflatex", so it can be a program name with args.
65968 set dummy pdflatex; ac_word=$2
65969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65970 $as_echo_n "checking for $ac_word... " >&6; }
65971 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65972   $as_echo_n "(cached) " >&6
65973 else
65974   if test -n "$PDFLATEX"; then
65975   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65976 else
65977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65978 for as_dir in $PATH
65979 do
65980   IFS=$as_save_IFS
65981   test -z "$as_dir" && as_dir=.
65982     for ac_exec_ext in '' $ac_executable_extensions; do
65983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65984     ac_cv_prog_PDFLATEX="yes"
65985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65986     break 2
65987   fi
65988 done
65989   done
65990 IFS=$as_save_IFS
65991
65992   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65993 fi
65994 fi
65995 PDFLATEX=$ac_cv_prog_PDFLATEX
65996 if test -n "$PDFLATEX"; then
65997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65998 $as_echo "$PDFLATEX" >&6; }
65999 else
66000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66001 $as_echo "no" >&6; }
66002 fi
66003
66004
66005  if test $ac_cv_prog_DBLATEX = "yes" &&
66006                test $ac_cv_prog_PDFLATEX = "yes"; then
66007   BUILD_PDF_TRUE=
66008   BUILD_PDF_FALSE='#'
66009 else
66010   BUILD_PDF_TRUE='#'
66011   BUILD_PDF_FALSE=
66012 fi
66013
66014
66015
66016 # Propagate the target-specific source directories through the build chain.
66017 ATOMICITY_SRCDIR=config/${atomicity_dir}
66018 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
66019 ATOMIC_FLAGS=${atomic_flags}
66020 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
66021 OS_INC_SRCDIR=config/${os_include_dir}
66022 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
66023 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
66024
66025
66026
66027
66028
66029
66030
66031
66032
66033 # Determine cross-compile flags and AM_CONDITIONALs.
66034 #AC_SUBST(GLIBCXX_IS_NATIVE)
66035 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
66036     if test $is_hosted = yes; then
66037   GLIBCXX_HOSTED_TRUE=
66038   GLIBCXX_HOSTED_FALSE='#'
66039 else
66040   GLIBCXX_HOSTED_TRUE='#'
66041   GLIBCXX_HOSTED_FALSE=
66042 fi
66043
66044
66045     if test $enable_libstdcxx_pch = yes; then
66046   GLIBCXX_BUILD_PCH_TRUE=
66047   GLIBCXX_BUILD_PCH_FALSE='#'
66048 else
66049   GLIBCXX_BUILD_PCH_TRUE='#'
66050   GLIBCXX_BUILD_PCH_FALSE=
66051 fi
66052
66053
66054     if test $enable_cheaders = c; then
66055   GLIBCXX_C_HEADERS_C_TRUE=
66056   GLIBCXX_C_HEADERS_C_FALSE='#'
66057 else
66058   GLIBCXX_C_HEADERS_C_TRUE='#'
66059   GLIBCXX_C_HEADERS_C_FALSE=
66060 fi
66061
66062
66063     if test $enable_cheaders = c_std; then
66064   GLIBCXX_C_HEADERS_C_STD_TRUE=
66065   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
66066 else
66067   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
66068   GLIBCXX_C_HEADERS_C_STD_FALSE=
66069 fi
66070
66071
66072     if test $enable_cheaders = c_global; then
66073   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
66074   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
66075 else
66076   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
66077   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
66078 fi
66079
66080
66081     if test $c_compatibility = yes; then
66082   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66083   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66084 else
66085   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66086   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66087 fi
66088
66089
66090     if test $enable_libstdcxx_debug = yes; then
66091   GLIBCXX_BUILD_DEBUG_TRUE=
66092   GLIBCXX_BUILD_DEBUG_FALSE='#'
66093 else
66094   GLIBCXX_BUILD_DEBUG_TRUE='#'
66095   GLIBCXX_BUILD_DEBUG_FALSE=
66096 fi
66097
66098
66099     if test $enable_parallel = yes; then
66100   ENABLE_PARALLEL_TRUE=
66101   ENABLE_PARALLEL_FALSE='#'
66102 else
66103   ENABLE_PARALLEL_TRUE='#'
66104   ENABLE_PARALLEL_FALSE=
66105 fi
66106
66107
66108     if test $enable_extern_template = yes; then
66109   ENABLE_EXTERN_TEMPLATE_TRUE=
66110   ENABLE_EXTERN_TEMPLATE_FALSE='#'
66111 else
66112   ENABLE_EXTERN_TEMPLATE_TRUE='#'
66113   ENABLE_EXTERN_TEMPLATE_FALSE=
66114 fi
66115
66116
66117     if test $python_mod_dir != no; then
66118   ENABLE_PYTHONDIR_TRUE=
66119   ENABLE_PYTHONDIR_FALSE='#'
66120 else
66121   ENABLE_PYTHONDIR_TRUE='#'
66122   ENABLE_PYTHONDIR_FALSE=
66123 fi
66124
66125
66126     if test $enable_symvers != no; then
66127   ENABLE_SYMVERS_TRUE=
66128   ENABLE_SYMVERS_FALSE='#'
66129 else
66130   ENABLE_SYMVERS_TRUE='#'
66131   ENABLE_SYMVERS_FALSE=
66132 fi
66133
66134
66135     if test $enable_symvers = gnu; then
66136   ENABLE_SYMVERS_GNU_TRUE=
66137   ENABLE_SYMVERS_GNU_FALSE='#'
66138 else
66139   ENABLE_SYMVERS_GNU_TRUE='#'
66140   ENABLE_SYMVERS_GNU_FALSE=
66141 fi
66142
66143
66144     if test $enable_symvers = gnu-versioned-namespace; then
66145   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66146   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66147 else
66148   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66149   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66150 fi
66151
66152
66153     if test $enable_symvers = darwin; then
66154   ENABLE_SYMVERS_DARWIN_TRUE=
66155   ENABLE_SYMVERS_DARWIN_FALSE='#'
66156 else
66157   ENABLE_SYMVERS_DARWIN_TRUE='#'
66158   ENABLE_SYMVERS_DARWIN_FALSE=
66159 fi
66160
66161
66162     if test $enable_symvers = sun; then
66163   ENABLE_SYMVERS_SUN_TRUE=
66164   ENABLE_SYMVERS_SUN_FALSE='#'
66165 else
66166   ENABLE_SYMVERS_SUN_TRUE='#'
66167   ENABLE_SYMVERS_SUN_FALSE=
66168 fi
66169
66170
66171     if test $symvers_renaming = no; then
66172   ENABLE_SYMVERS_SOL2_TRUE=
66173   ENABLE_SYMVERS_SOL2_FALSE='#'
66174 else
66175   ENABLE_SYMVERS_SOL2_TRUE='#'
66176   ENABLE_SYMVERS_SOL2_FALSE=
66177 fi
66178
66179
66180     if test $enable_libstdcxx_visibility = yes; then
66181   ENABLE_VISIBILITY_TRUE=
66182   ENABLE_VISIBILITY_FALSE='#'
66183 else
66184   ENABLE_VISIBILITY_TRUE='#'
66185   ENABLE_VISIBILITY_FALSE=
66186 fi
66187
66188
66189     if test $ac_ldbl_compat = yes; then
66190   GLIBCXX_LDBL_COMPAT_TRUE=
66191   GLIBCXX_LDBL_COMPAT_FALSE='#'
66192 else
66193   GLIBCXX_LDBL_COMPAT_TRUE='#'
66194   GLIBCXX_LDBL_COMPAT_FALSE=
66195 fi
66196
66197
66198
66199
66200 cat >confcache <<\_ACEOF
66201 # This file is a shell script that caches the results of configure
66202 # tests run on this system so they can be shared between configure
66203 # scripts and configure runs, see configure's option --config-cache.
66204 # It is not useful on other systems.  If it contains results you don't
66205 # want to keep, you may remove or edit it.
66206 #
66207 # config.status only pays attention to the cache file if you give it
66208 # the --recheck option to rerun configure.
66209 #
66210 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66211 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66212 # following values.
66213
66214 _ACEOF
66215
66216 # The following way of writing the cache mishandles newlines in values,
66217 # but we know of no workaround that is simple, portable, and efficient.
66218 # So, we kill variables containing newlines.
66219 # Ultrix sh set writes to stderr and can't be redirected directly,
66220 # and sets the high bit in the cache file unless we assign to the vars.
66221 (
66222   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66223     eval ac_val=\$$ac_var
66224     case $ac_val in #(
66225     *${as_nl}*)
66226       case $ac_var in #(
66227       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66228 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66229       esac
66230       case $ac_var in #(
66231       _ | IFS | as_nl) ;; #(
66232       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66233       *) { eval $ac_var=; unset $ac_var;} ;;
66234       esac ;;
66235     esac
66236   done
66237
66238   (set) 2>&1 |
66239     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66240     *${as_nl}ac_space=\ *)
66241       # `set' does not quote correctly, so add quotes: double-quote
66242       # substitution turns \\\\ into \\, and sed turns \\ into \.
66243       sed -n \
66244         "s/'/'\\\\''/g;
66245           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66246       ;; #(
66247     *)
66248       # `set' quotes correctly as required by POSIX, so do not add quotes.
66249       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66250       ;;
66251     esac |
66252     sort
66253 ) |
66254   sed '
66255      /^ac_cv_env_/b end
66256      t clear
66257      :clear
66258      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66259      t end
66260      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66261      :end' >>confcache
66262 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66263   if test -w "$cache_file"; then
66264     test "x$cache_file" != "x/dev/null" &&
66265       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66266 $as_echo "$as_me: updating cache $cache_file" >&6;}
66267     cat confcache >$cache_file
66268   else
66269     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66270 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66271   fi
66272 fi
66273 rm -f confcache
66274
66275 if test ${multilib} = yes; then
66276   multilib_arg="--enable-multilib"
66277 else
66278   multilib_arg=
66279 fi
66280
66281 # Export all the install information.
66282
66283   glibcxx_toolexecdir=no
66284   glibcxx_toolexeclibdir=no
66285   glibcxx_prefixdir=$prefix
66286
66287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66288 $as_echo_n "checking for gxx-include-dir... " >&6; }
66289
66290 # Check whether --with-gxx-include-dir was given.
66291 if test "${with_gxx_include_dir+set}" = set; then :
66292   withval=$with_gxx_include_dir; case "$withval" in
66293       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66294       no)  gxx_include_dir=no ;;
66295       *)   gxx_include_dir=$withval ;;
66296      esac
66297 else
66298   gxx_include_dir=no
66299 fi
66300
66301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66302 $as_echo "$gxx_include_dir" >&6; }
66303
66304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66305 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66306   # Check whether --enable-version-specific-runtime-libs was given.
66307 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66308   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66309       yes) version_specific_libs=yes ;;
66310       no)  version_specific_libs=no ;;
66311       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66312      esac
66313 else
66314   version_specific_libs=no
66315 fi
66316
66317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66318 $as_echo "$version_specific_libs" >&6; }
66319
66320   # Default case for install directory for include files.
66321   if test $version_specific_libs = no && test $gxx_include_dir = no; then
66322     gxx_include_dir='include/c++/${gcc_version}'
66323     if test -n "$with_cross_host" &&
66324        test x"$with_cross_host" != x"no"; then
66325       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66326     else
66327       gxx_include_dir='${prefix}/'"$gxx_include_dir"
66328     fi
66329   fi
66330
66331   # Version-specific runtime libs processing.
66332   if test $version_specific_libs = yes; then
66333     # Need the gcc compiler version to know where to install libraries
66334     # and header files if --enable-version-specific-runtime-libs option
66335     # is selected.  FIXME: these variables are misnamed, there are
66336     # no executables installed in _toolexecdir or _toolexeclibdir.
66337     if test x"$gxx_include_dir" = x"no"; then
66338       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66339     fi
66340     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66341     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66342   fi
66343
66344   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66345   # Install a library built with a cross compiler in tooldir, not libdir.
66346   if test x"$glibcxx_toolexecdir" = x"no"; then
66347     if test -n "$with_cross_host" &&
66348        test x"$with_cross_host" != x"no"; then
66349       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66350       glibcxx_toolexeclibdir='${toolexecdir}/lib'
66351     else
66352       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66353       glibcxx_toolexeclibdir='${libdir}'
66354     fi
66355     multi_os_directory=`$CXX -print-multi-os-directory`
66356     case $multi_os_directory in
66357       .) ;; # Avoid trailing /.
66358       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66359     esac
66360   fi
66361
66362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66363 $as_echo_n "checking for install location... " >&6; }
66364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66365 $as_echo "$gxx_include_dir" >&6; }
66366
66367
66368
66369
66370
66371
66372
66373 # Export all the include and flag information to Makefiles.
66374
66375   # Used for every C++ compile we perform.
66376   GLIBCXX_INCLUDES="\
66377 -I$glibcxx_builddir/include/$host_alias \
66378 -I$glibcxx_builddir/include \
66379 -I$glibcxx_srcdir/libsupc++"
66380
66381   # For Canadian crosses, pick this up too.
66382   if test $CANADIAN = yes; then
66383     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66384   fi
66385
66386   # Stuff in the actual top level.  Currently only used by libsupc++ to
66387   # get unwind* headers from the libgcc dir.
66388   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66389   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66390
66391   # Now, export this to all the little Makefiles....
66392
66393
66394
66395
66396   # Optimization flags that are probably a good idea for thrill-seekers. Just
66397   # uncomment the lines below and make, everything else is ready to go...
66398   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66399   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66400
66401
66402   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66403
66404
66405
66406 if test "$enable_shared" = yes; then
66407   PIC_CXXFLAGS="-prefer-pic"
66408 else
66409   PIC_CXXFLAGS=
66410 fi
66411
66412
66413 ac_config_files="$ac_config_files Makefile"
66414
66415 ac_config_files="$ac_config_files scripts/testsuite_flags"
66416
66417 ac_config_files="$ac_config_files scripts/extract_symvers"
66418
66419
66420 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66421 # that multilib installs will end up installed in the correct place.
66422 # The testsuite needs it for multilib-aware ABI baseline files.
66423 # To work around this not being passed down from config-ml.in ->
66424 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66425 # append it here.  Only modify Makefiles that have just been created.
66426 #
66427 # Also, get rid of this simulated-VPATH thing that automake does.
66428 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"
66429
66430
66431 ac_config_commands="$ac_config_commands generate-headers"
66432
66433
66434 cat >confcache <<\_ACEOF
66435 # This file is a shell script that caches the results of configure
66436 # tests run on this system so they can be shared between configure
66437 # scripts and configure runs, see configure's option --config-cache.
66438 # It is not useful on other systems.  If it contains results you don't
66439 # want to keep, you may remove or edit it.
66440 #
66441 # config.status only pays attention to the cache file if you give it
66442 # the --recheck option to rerun configure.
66443 #
66444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66446 # following values.
66447
66448 _ACEOF
66449
66450 # The following way of writing the cache mishandles newlines in values,
66451 # but we know of no workaround that is simple, portable, and efficient.
66452 # So, we kill variables containing newlines.
66453 # Ultrix sh set writes to stderr and can't be redirected directly,
66454 # and sets the high bit in the cache file unless we assign to the vars.
66455 (
66456   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66457     eval ac_val=\$$ac_var
66458     case $ac_val in #(
66459     *${as_nl}*)
66460       case $ac_var in #(
66461       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66463       esac
66464       case $ac_var in #(
66465       _ | IFS | as_nl) ;; #(
66466       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66467       *) { eval $ac_var=; unset $ac_var;} ;;
66468       esac ;;
66469     esac
66470   done
66471
66472   (set) 2>&1 |
66473     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66474     *${as_nl}ac_space=\ *)
66475       # `set' does not quote correctly, so add quotes: double-quote
66476       # substitution turns \\\\ into \\, and sed turns \\ into \.
66477       sed -n \
66478         "s/'/'\\\\''/g;
66479           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66480       ;; #(
66481     *)
66482       # `set' quotes correctly as required by POSIX, so do not add quotes.
66483       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66484       ;;
66485     esac |
66486     sort
66487 ) |
66488   sed '
66489      /^ac_cv_env_/b end
66490      t clear
66491      :clear
66492      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66493      t end
66494      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66495      :end' >>confcache
66496 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66497   if test -w "$cache_file"; then
66498     test "x$cache_file" != "x/dev/null" &&
66499       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66500 $as_echo "$as_me: updating cache $cache_file" >&6;}
66501     cat confcache >$cache_file
66502   else
66503     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66504 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66505   fi
66506 fi
66507 rm -f confcache
66508
66509 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66510 # Let make expand exec_prefix.
66511 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66512
66513 DEFS=-DHAVE_CONFIG_H
66514
66515 ac_libobjs=
66516 ac_ltlibobjs=
66517 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66518   # 1. Remove the extension, and $U if already installed.
66519   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66520   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66521   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
66522   #    will be set to the directory where LIBOBJS objects are built.
66523   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66524   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66525 done
66526 LIBOBJS=$ac_libobjs
66527
66528 LTLIBOBJS=$ac_ltlibobjs
66529
66530
66531  if test -n "$EXEEXT"; then
66532   am__EXEEXT_TRUE=
66533   am__EXEEXT_FALSE='#'
66534 else
66535   am__EXEEXT_TRUE='#'
66536   am__EXEEXT_FALSE=
66537 fi
66538
66539 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66540   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66542 fi
66543 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66544   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66546 fi
66547 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66548   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66550 fi
66551 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66552   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66554 fi
66555 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66556   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66558 fi
66559 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66560   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66562 fi
66563 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66564   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66566 fi
66567 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66568   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66570 fi
66571 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66572   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66574 fi
66575 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66576   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66578 fi
66579 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
66580   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
66581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66582 fi
66583 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66584   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66586 fi
66587 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66588   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66590 fi
66591 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66592   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66594 fi
66595 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66596   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66598 fi
66599 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66600   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66602 fi
66603 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66604   as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66606 fi
66607 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66608   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66610 fi
66611 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66612   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66614 fi
66615 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66616   as_fn_error "conditional \"BUILD_INFO\" was never defined.
66617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66618 fi
66619 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66620   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66622 fi
66623 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66624   as_fn_error "conditional \"BUILD_XML\" was never defined.
66625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66626 fi
66627 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66628   as_fn_error "conditional \"BUILD_HTML\" was never defined.
66629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66630 fi
66631 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66632   as_fn_error "conditional \"BUILD_MAN\" was never defined.
66633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66634 fi
66635 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66636   as_fn_error "conditional \"BUILD_PDF\" was never defined.
66637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66638 fi
66639
66640 : ${CONFIG_STATUS=./config.status}
66641 ac_write_fail=0
66642 ac_clean_files_save=$ac_clean_files
66643 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66644 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66645 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66646 as_write_fail=0
66647 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66648 #! $SHELL
66649 # Generated by $as_me.
66650 # Run this file to recreate the current configuration.
66651 # Compiler output produced by configure, useful for debugging
66652 # configure, is in config.log if it exists.
66653
66654 debug=false
66655 ac_cs_recheck=false
66656 ac_cs_silent=false
66657
66658 SHELL=\${CONFIG_SHELL-$SHELL}
66659 export SHELL
66660 _ASEOF
66661 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66662 ## -------------------- ##
66663 ## M4sh Initialization. ##
66664 ## -------------------- ##
66665
66666 # Be more Bourne compatible
66667 DUALCASE=1; export DUALCASE # for MKS sh
66668 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66669   emulate sh
66670   NULLCMD=:
66671   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66672   # is contrary to our usage.  Disable this feature.
66673   alias -g '${1+"$@"}'='"$@"'
66674   setopt NO_GLOB_SUBST
66675 else
66676   case `(set -o) 2>/dev/null` in #(
66677   *posix*) :
66678     set -o posix ;; #(
66679   *) :
66680      ;;
66681 esac
66682 fi
66683
66684
66685 as_nl='
66686 '
66687 export as_nl
66688 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66689 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66690 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66691 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66692 # Prefer a ksh shell builtin over an external printf program on Solaris,
66693 # but without wasting forks for bash or zsh.
66694 if test -z "$BASH_VERSION$ZSH_VERSION" \
66695     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66696   as_echo='print -r --'
66697   as_echo_n='print -rn --'
66698 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66699   as_echo='printf %s\n'
66700   as_echo_n='printf %s'
66701 else
66702   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66703     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66704     as_echo_n='/usr/ucb/echo -n'
66705   else
66706     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66707     as_echo_n_body='eval
66708       arg=$1;
66709       case $arg in #(
66710       *"$as_nl"*)
66711         expr "X$arg" : "X\\(.*\\)$as_nl";
66712         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66713       esac;
66714       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66715     '
66716     export as_echo_n_body
66717     as_echo_n='sh -c $as_echo_n_body as_echo'
66718   fi
66719   export as_echo_body
66720   as_echo='sh -c $as_echo_body as_echo'
66721 fi
66722
66723 # The user is always right.
66724 if test "${PATH_SEPARATOR+set}" != set; then
66725   PATH_SEPARATOR=:
66726   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66727     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66728       PATH_SEPARATOR=';'
66729   }
66730 fi
66731
66732
66733 # IFS
66734 # We need space, tab and new line, in precisely that order.  Quoting is
66735 # there to prevent editors from complaining about space-tab.
66736 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66737 # splitting by setting IFS to empty value.)
66738 IFS=" ""        $as_nl"
66739
66740 # Find who we are.  Look in the path if we contain no directory separator.
66741 case $0 in #((
66742   *[\\/]* ) as_myself=$0 ;;
66743   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66744 for as_dir in $PATH
66745 do
66746   IFS=$as_save_IFS
66747   test -z "$as_dir" && as_dir=.
66748     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66749   done
66750 IFS=$as_save_IFS
66751
66752      ;;
66753 esac
66754 # We did not find ourselves, most probably we were run as `sh COMMAND'
66755 # in which case we are not to be found in the path.
66756 if test "x$as_myself" = x; then
66757   as_myself=$0
66758 fi
66759 if test ! -f "$as_myself"; then
66760   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66761   exit 1
66762 fi
66763
66764 # Unset variables that we do not need and which cause bugs (e.g. in
66765 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
66766 # suppresses any "Segmentation fault" message there.  '((' could
66767 # trigger a bug in pdksh 5.2.14.
66768 for as_var in BASH_ENV ENV MAIL MAILPATH
66769 do eval test x\${$as_var+set} = xset \
66770   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66771 done
66772 PS1='$ '
66773 PS2='> '
66774 PS4='+ '
66775
66776 # NLS nuisances.
66777 LC_ALL=C
66778 export LC_ALL
66779 LANGUAGE=C
66780 export LANGUAGE
66781
66782 # CDPATH.
66783 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66784
66785
66786 # as_fn_error ERROR [LINENO LOG_FD]
66787 # ---------------------------------
66788 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66789 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66790 # script with status $?, using 1 if that was 0.
66791 as_fn_error ()
66792 {
66793   as_status=$?; test $as_status -eq 0 && as_status=1
66794   if test "$3"; then
66795     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66796     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66797   fi
66798   $as_echo "$as_me: error: $1" >&2
66799   as_fn_exit $as_status
66800 } # as_fn_error
66801
66802
66803 # as_fn_set_status STATUS
66804 # -----------------------
66805 # Set $? to STATUS, without forking.
66806 as_fn_set_status ()
66807 {
66808   return $1
66809 } # as_fn_set_status
66810
66811 # as_fn_exit STATUS
66812 # -----------------
66813 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66814 as_fn_exit ()
66815 {
66816   set +e
66817   as_fn_set_status $1
66818   exit $1
66819 } # as_fn_exit
66820
66821 # as_fn_unset VAR
66822 # ---------------
66823 # Portably unset VAR.
66824 as_fn_unset ()
66825 {
66826   { eval $1=; unset $1;}
66827 }
66828 as_unset=as_fn_unset
66829 # as_fn_append VAR VALUE
66830 # ----------------------
66831 # Append the text in VALUE to the end of the definition contained in VAR. Take
66832 # advantage of any shell optimizations that allow amortized linear growth over
66833 # repeated appends, instead of the typical quadratic growth present in naive
66834 # implementations.
66835 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66836   eval 'as_fn_append ()
66837   {
66838     eval $1+=\$2
66839   }'
66840 else
66841   as_fn_append ()
66842   {
66843     eval $1=\$$1\$2
66844   }
66845 fi # as_fn_append
66846
66847 # as_fn_arith ARG...
66848 # ------------------
66849 # Perform arithmetic evaluation on the ARGs, and store the result in the
66850 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66851 # must be portable across $(()) and expr.
66852 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66853   eval 'as_fn_arith ()
66854   {
66855     as_val=$(( $* ))
66856   }'
66857 else
66858   as_fn_arith ()
66859   {
66860     as_val=`expr "$@" || test $? -eq 1`
66861   }
66862 fi # as_fn_arith
66863
66864
66865 if expr a : '\(a\)' >/dev/null 2>&1 &&
66866    test "X`expr 00001 : '.*\(...\)'`" = X001; then
66867   as_expr=expr
66868 else
66869   as_expr=false
66870 fi
66871
66872 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66873   as_basename=basename
66874 else
66875   as_basename=false
66876 fi
66877
66878 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66879   as_dirname=dirname
66880 else
66881   as_dirname=false
66882 fi
66883
66884 as_me=`$as_basename -- "$0" ||
66885 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66886          X"$0" : 'X\(//\)$' \| \
66887          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66888 $as_echo X/"$0" |
66889     sed '/^.*\/\([^/][^/]*\)\/*$/{
66890             s//\1/
66891             q
66892           }
66893           /^X\/\(\/\/\)$/{
66894             s//\1/
66895             q
66896           }
66897           /^X\/\(\/\).*/{
66898             s//\1/
66899             q
66900           }
66901           s/.*/./; q'`
66902
66903 # Avoid depending upon Character Ranges.
66904 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66905 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66906 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66907 as_cr_digits='0123456789'
66908 as_cr_alnum=$as_cr_Letters$as_cr_digits
66909
66910 ECHO_C= ECHO_N= ECHO_T=
66911 case `echo -n x` in #(((((
66912 -n*)
66913   case `echo 'xy\c'` in
66914   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
66915   xy)  ECHO_C='\c';;
66916   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
66917        ECHO_T=' ';;
66918   esac;;
66919 *)
66920   ECHO_N='-n';;
66921 esac
66922
66923 rm -f conf$$ conf$$.exe conf$$.file
66924 if test -d conf$$.dir; then
66925   rm -f conf$$.dir/conf$$.file
66926 else
66927   rm -f conf$$.dir
66928   mkdir conf$$.dir 2>/dev/null
66929 fi
66930 if (echo >conf$$.file) 2>/dev/null; then
66931   if ln -s conf$$.file conf$$ 2>/dev/null; then
66932     as_ln_s='ln -s'
66933     # ... but there are two gotchas:
66934     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66935     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66936     # In both cases, we have to default to `cp -p'.
66937     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66938       as_ln_s='cp -p'
66939   elif ln conf$$.file conf$$ 2>/dev/null; then
66940     as_ln_s=ln
66941   else
66942     as_ln_s='cp -p'
66943   fi
66944 else
66945   as_ln_s='cp -p'
66946 fi
66947 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66948 rmdir conf$$.dir 2>/dev/null
66949
66950
66951 # as_fn_mkdir_p
66952 # -------------
66953 # Create "$as_dir" as a directory, including parents if necessary.
66954 as_fn_mkdir_p ()
66955 {
66956
66957   case $as_dir in #(
66958   -*) as_dir=./$as_dir;;
66959   esac
66960   test -d "$as_dir" || eval $as_mkdir_p || {
66961     as_dirs=
66962     while :; do
66963       case $as_dir in #(
66964       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66965       *) as_qdir=$as_dir;;
66966       esac
66967       as_dirs="'$as_qdir' $as_dirs"
66968       as_dir=`$as_dirname -- "$as_dir" ||
66969 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66970          X"$as_dir" : 'X\(//\)[^/]' \| \
66971          X"$as_dir" : 'X\(//\)$' \| \
66972          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66973 $as_echo X"$as_dir" |
66974     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66975             s//\1/
66976             q
66977           }
66978           /^X\(\/\/\)[^/].*/{
66979             s//\1/
66980             q
66981           }
66982           /^X\(\/\/\)$/{
66983             s//\1/
66984             q
66985           }
66986           /^X\(\/\).*/{
66987             s//\1/
66988             q
66989           }
66990           s/.*/./; q'`
66991       test -d "$as_dir" && break
66992     done
66993     test -z "$as_dirs" || eval "mkdir $as_dirs"
66994   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66995
66996
66997 } # as_fn_mkdir_p
66998 if mkdir -p . 2>/dev/null; then
66999   as_mkdir_p='mkdir -p "$as_dir"'
67000 else
67001   test -d ./-p && rmdir ./-p
67002   as_mkdir_p=false
67003 fi
67004
67005 if test -x / >/dev/null 2>&1; then
67006   as_test_x='test -x'
67007 else
67008   if ls -dL / >/dev/null 2>&1; then
67009     as_ls_L_option=L
67010   else
67011     as_ls_L_option=
67012   fi
67013   as_test_x='
67014     eval sh -c '\''
67015       if test -d "$1"; then
67016         test -d "$1/.";
67017       else
67018         case $1 in #(
67019         -*)set "./$1";;
67020         esac;
67021         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
67022         ???[sx]*):;;*)false;;esac;fi
67023     '\'' sh
67024   '
67025 fi
67026 as_executable_p=$as_test_x
67027
67028 # Sed expression to map a string onto a valid CPP name.
67029 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
67030
67031 # Sed expression to map a string onto a valid variable name.
67032 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
67033
67034
67035 exec 6>&1
67036 ## ----------------------------------- ##
67037 ## Main body of $CONFIG_STATUS script. ##
67038 ## ----------------------------------- ##
67039 _ASEOF
67040 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
67041
67042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67043 # Save the log message, to keep $0 and so on meaningful, and to
67044 # report actual input values of CONFIG_FILES etc. instead of their
67045 # values after options handling.
67046 ac_log="
67047 This file was extended by package-unused $as_me version-unused, which was
67048 generated by GNU Autoconf 2.64.  Invocation command line was
67049
67050   CONFIG_FILES    = $CONFIG_FILES
67051   CONFIG_HEADERS  = $CONFIG_HEADERS
67052   CONFIG_LINKS    = $CONFIG_LINKS
67053   CONFIG_COMMANDS = $CONFIG_COMMANDS
67054   $ $0 $@
67055
67056 on `(hostname || uname -n) 2>/dev/null | sed 1q`
67057 "
67058
67059 _ACEOF
67060
67061 case $ac_config_files in *"
67062 "*) set x $ac_config_files; shift; ac_config_files=$*;;
67063 esac
67064
67065 case $ac_config_headers in *"
67066 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
67067 esac
67068
67069
67070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67071 # Files that config.status was made for.
67072 config_files="$ac_config_files"
67073 config_headers="$ac_config_headers"
67074 config_commands="$ac_config_commands"
67075
67076 _ACEOF
67077
67078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67079 ac_cs_usage="\
67080 \`$as_me' instantiates files and other configuration actions
67081 from templates according to the current configuration.  Unless the files
67082 and actions are specified as TAGs, all are instantiated by default.
67083
67084 Usage: $0 [OPTION]... [TAG]...
67085
67086   -h, --help       print this help, then exit
67087   -V, --version    print version number and configuration settings, then exit
67088   -q, --quiet, --silent
67089                    do not print progress messages
67090   -d, --debug      don't remove temporary files
67091       --recheck    update $as_me by reconfiguring in the same conditions
67092       --file=FILE[:TEMPLATE]
67093                    instantiate the configuration file FILE
67094       --header=FILE[:TEMPLATE]
67095                    instantiate the configuration header FILE
67096
67097 Configuration files:
67098 $config_files
67099
67100 Configuration headers:
67101 $config_headers
67102
67103 Configuration commands:
67104 $config_commands
67105
67106 Report bugs to the package provider."
67107
67108 _ACEOF
67109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67110 ac_cs_version="\\
67111 package-unused config.status version-unused
67112 configured by $0, generated by GNU Autoconf 2.64,
67113   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67114
67115 Copyright (C) 2009 Free Software Foundation, Inc.
67116 This config.status script is free software; the Free Software Foundation
67117 gives unlimited permission to copy, distribute and modify it."
67118
67119 ac_pwd='$ac_pwd'
67120 srcdir='$srcdir'
67121 INSTALL='$INSTALL'
67122 MKDIR_P='$MKDIR_P'
67123 AWK='$AWK'
67124 test -n "\$AWK" || AWK=awk
67125 _ACEOF
67126
67127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67128 # The default lists apply if the user does not specify any file.
67129 ac_need_defaults=:
67130 while test $# != 0
67131 do
67132   case $1 in
67133   --*=*)
67134     ac_option=`expr "X$1" : 'X\([^=]*\)='`
67135     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67136     ac_shift=:
67137     ;;
67138   *)
67139     ac_option=$1
67140     ac_optarg=$2
67141     ac_shift=shift
67142     ;;
67143   esac
67144
67145   case $ac_option in
67146   # Handling of the options.
67147   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67148     ac_cs_recheck=: ;;
67149   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67150     $as_echo "$ac_cs_version"; exit ;;
67151   --debug | --debu | --deb | --de | --d | -d )
67152     debug=: ;;
67153   --file | --fil | --fi | --f )
67154     $ac_shift
67155     case $ac_optarg in
67156     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67157     esac
67158     as_fn_append CONFIG_FILES " '$ac_optarg'"
67159     ac_need_defaults=false;;
67160   --header | --heade | --head | --hea )
67161     $ac_shift
67162     case $ac_optarg in
67163     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67164     esac
67165     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67166     ac_need_defaults=false;;
67167   --he | --h)
67168     # Conflict between --help and --header
67169     as_fn_error "ambiguous option: \`$1'
67170 Try \`$0 --help' for more information.";;
67171   --help | --hel | -h )
67172     $as_echo "$ac_cs_usage"; exit ;;
67173   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67174   | -silent | --silent | --silen | --sile | --sil | --si | --s)
67175     ac_cs_silent=: ;;
67176
67177   # This is an error.
67178   -*) as_fn_error "unrecognized option: \`$1'
67179 Try \`$0 --help' for more information." ;;
67180
67181   *) as_fn_append ac_config_targets " $1"
67182      ac_need_defaults=false ;;
67183
67184   esac
67185   shift
67186 done
67187
67188 ac_configure_extra_args=
67189
67190 if $ac_cs_silent; then
67191   exec 6>/dev/null
67192   ac_configure_extra_args="$ac_configure_extra_args --silent"
67193 fi
67194
67195 _ACEOF
67196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67197 if \$ac_cs_recheck; then
67198   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67199   shift
67200   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67201   CONFIG_SHELL='$SHELL'
67202   export CONFIG_SHELL
67203   exec "\$@"
67204 fi
67205
67206 _ACEOF
67207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67208 exec 5>>config.log
67209 {
67210   echo
67211   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67212 ## Running $as_me. ##
67213 _ASBOX
67214   $as_echo "$ac_log"
67215 } >&5
67216
67217 _ACEOF
67218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67219 #
67220 # INIT-COMMANDS
67221 #
67222
67223 srcdir="$srcdir"
67224 host="$host"
67225 target="$target"
67226 with_multisubdir="$with_multisubdir"
67227 with_multisrctop="$with_multisrctop"
67228 with_target_subdir="$with_target_subdir"
67229 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67230 multi_basedir="$multi_basedir"
67231 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67232 CC="$CC"
67233 CXX="$CXX"
67234 GFORTRAN="$GFORTRAN"
67235 GCJ="$GCJ"
67236
67237
67238 # The HP-UX ksh and POSIX shell print the target directory to stdout
67239 # if CDPATH is set.
67240 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67241
67242 sed_quote_subst='$sed_quote_subst'
67243 double_quote_subst='$double_quote_subst'
67244 delay_variable_subst='$delay_variable_subst'
67245 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67246 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67247 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67248 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67249 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67250 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67251 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67252 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67253 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67254 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67255 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67256 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67257 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67258 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67259 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67260 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67261 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67262 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67263 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67264 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67265 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67266 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67267 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67268 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67269 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67270 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67271 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67272 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67273 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67274 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67275 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67276 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67277 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67278 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67279 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67280 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67281 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67282 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67283 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67284 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67285 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67286 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67287 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67288 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67289 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67290 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67291 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67292 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67293 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"`'
67294 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67295 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67296 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67297 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67298 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67299 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67300 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67301 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67302 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67303 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67304 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67305 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67306 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67307 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67308 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67309 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67310 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67311 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67312 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67313 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67314 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67315 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67316 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67317 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67318 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67319 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67320 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67321 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67322 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67323 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67324 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67325 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67326 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67327 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67328 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67329 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67330 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67331 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67332 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67333 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67334 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67335 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67336 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67337 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67338 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67339 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67340 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67341 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67342 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67343 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67344 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67345 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67346 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67347 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67348 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67349 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67350 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67351 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67352 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67353 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67354 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67355 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67356 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67357 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67358 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67359 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67360 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67361 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67362 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67363 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67364 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67365 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67366 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67367 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67368 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67369 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67370 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67371 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67372 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67373 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67374 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67375 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67376 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67377 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67378 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67379 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67380 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67381 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67382 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67383 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67384 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67385 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67386 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67387 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67388 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67389 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67390 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67391 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67392 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67393 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67394 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67395 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67396 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67397 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67398 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67399 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67400 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67401 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67402 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67403 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67404 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67405 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67406 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67407 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67408 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67409 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67410 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67411 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67412 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67413 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67414 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67415 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67416 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67417 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67418 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67419 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67420
67421 LTCC='$LTCC'
67422 LTCFLAGS='$LTCFLAGS'
67423 compiler='$compiler_DEFAULT'
67424
67425 # A function that is used when there is no print builtin or printf.
67426 func_fallback_echo ()
67427 {
67428   eval 'cat <<_LTECHO_EOF
67429 \$1
67430 _LTECHO_EOF'
67431 }
67432
67433 # Quote evaled strings.
67434 for var in SHELL \
67435 ECHO \
67436 SED \
67437 GREP \
67438 EGREP \
67439 FGREP \
67440 LD \
67441 NM \
67442 LN_S \
67443 lt_SP2NL \
67444 lt_NL2SP \
67445 reload_flag \
67446 OBJDUMP \
67447 deplibs_check_method \
67448 file_magic_cmd \
67449 AR \
67450 AR_FLAGS \
67451 STRIP \
67452 RANLIB \
67453 CC \
67454 CFLAGS \
67455 compiler \
67456 lt_cv_sys_global_symbol_pipe \
67457 lt_cv_sys_global_symbol_to_cdecl \
67458 lt_cv_sys_global_symbol_to_c_name_address \
67459 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67460 lt_prog_compiler_no_builtin_flag \
67461 lt_prog_compiler_wl \
67462 lt_prog_compiler_pic \
67463 lt_prog_compiler_static \
67464 lt_cv_prog_compiler_c_o \
67465 need_locks \
67466 DSYMUTIL \
67467 NMEDIT \
67468 LIPO \
67469 OTOOL \
67470 OTOOL64 \
67471 shrext_cmds \
67472 export_dynamic_flag_spec \
67473 whole_archive_flag_spec \
67474 compiler_needs_object \
67475 with_gnu_ld \
67476 allow_undefined_flag \
67477 no_undefined_flag \
67478 hardcode_libdir_flag_spec \
67479 hardcode_libdir_flag_spec_ld \
67480 hardcode_libdir_separator \
67481 fix_srcfile_path \
67482 exclude_expsyms \
67483 include_expsyms \
67484 file_list_spec \
67485 variables_saved_for_relink \
67486 libname_spec \
67487 library_names_spec \
67488 soname_spec \
67489 install_override_mode \
67490 finish_eval \
67491 old_striplib \
67492 striplib \
67493 compiler_lib_search_dirs \
67494 predep_objects \
67495 postdep_objects \
67496 predeps \
67497 postdeps \
67498 compiler_lib_search_path \
67499 LD_CXX \
67500 reload_flag_CXX \
67501 compiler_CXX \
67502 lt_prog_compiler_no_builtin_flag_CXX \
67503 lt_prog_compiler_wl_CXX \
67504 lt_prog_compiler_pic_CXX \
67505 lt_prog_compiler_static_CXX \
67506 lt_cv_prog_compiler_c_o_CXX \
67507 export_dynamic_flag_spec_CXX \
67508 whole_archive_flag_spec_CXX \
67509 compiler_needs_object_CXX \
67510 with_gnu_ld_CXX \
67511 allow_undefined_flag_CXX \
67512 no_undefined_flag_CXX \
67513 hardcode_libdir_flag_spec_CXX \
67514 hardcode_libdir_flag_spec_ld_CXX \
67515 hardcode_libdir_separator_CXX \
67516 fix_srcfile_path_CXX \
67517 exclude_expsyms_CXX \
67518 include_expsyms_CXX \
67519 file_list_spec_CXX \
67520 compiler_lib_search_dirs_CXX \
67521 predep_objects_CXX \
67522 postdep_objects_CXX \
67523 predeps_CXX \
67524 postdeps_CXX \
67525 compiler_lib_search_path_CXX; do
67526     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67527     *[\\\\\\\`\\"\\\$]*)
67528       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67529       ;;
67530     *)
67531       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67532       ;;
67533     esac
67534 done
67535
67536 # Double-quote double-evaled strings.
67537 for var in reload_cmds \
67538 old_postinstall_cmds \
67539 old_postuninstall_cmds \
67540 old_archive_cmds \
67541 extract_expsyms_cmds \
67542 old_archive_from_new_cmds \
67543 old_archive_from_expsyms_cmds \
67544 archive_cmds \
67545 archive_expsym_cmds \
67546 module_cmds \
67547 module_expsym_cmds \
67548 export_symbols_cmds \
67549 prelink_cmds \
67550 postinstall_cmds \
67551 postuninstall_cmds \
67552 finish_cmds \
67553 sys_lib_search_path_spec \
67554 sys_lib_dlsearch_path_spec \
67555 reload_cmds_CXX \
67556 old_archive_cmds_CXX \
67557 old_archive_from_new_cmds_CXX \
67558 old_archive_from_expsyms_cmds_CXX \
67559 archive_cmds_CXX \
67560 archive_expsym_cmds_CXX \
67561 module_cmds_CXX \
67562 module_expsym_cmds_CXX \
67563 export_symbols_cmds_CXX \
67564 prelink_cmds_CXX; do
67565     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67566     *[\\\\\\\`\\"\\\$]*)
67567       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67568       ;;
67569     *)
67570       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67571       ;;
67572     esac
67573 done
67574
67575 ac_aux_dir='$ac_aux_dir'
67576 xsi_shell='$xsi_shell'
67577 lt_shell_append='$lt_shell_append'
67578
67579 # See if we are running on zsh, and set the options which allow our
67580 # commands through without removal of \ escapes INIT.
67581 if test -n "\${ZSH_VERSION+set}" ; then
67582    setopt NO_GLOB_SUBST
67583 fi
67584
67585
67586     PACKAGE='$PACKAGE'
67587     VERSION='$VERSION'
67588     TIMESTAMP='$TIMESTAMP'
67589     RM='$RM'
67590     ofile='$ofile'
67591
67592
67593
67594
67595
67596
67597 GCC="$GCC"
67598 CC="$CC"
67599 acx_cv_header_stdint="$acx_cv_header_stdint"
67600 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67601 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67602 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67603 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67604 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67605 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67606 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67607 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67608 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67609 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67610 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67611 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67612 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67613
67614
67615 _ACEOF
67616
67617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67618
67619 # Handling of arguments.
67620 for ac_config_target in $ac_config_targets
67621 do
67622   case $ac_config_target in
67623     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67624     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67625     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67626     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67627     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67628     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67629     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67630     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67631     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67632     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67633     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67634     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
67635     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
67636     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67637     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67638     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67639     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67640
67641   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67642   esac
67643 done
67644
67645
67646 # If the user did not use the arguments to specify the items to instantiate,
67647 # then the envvar interface is used.  Set only those that are not.
67648 # We use the long form for the default assignment because of an extremely
67649 # bizarre bug on SunOS 4.1.3.
67650 if $ac_need_defaults; then
67651   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67652   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67653   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67654 fi
67655
67656 # Have a temporary directory for convenience.  Make it in the build tree
67657 # simply because there is no reason against having it here, and in addition,
67658 # creating and moving files from /tmp can sometimes cause problems.
67659 # Hook for its removal unless debugging.
67660 # Note that there is a small window in which the directory will not be cleaned:
67661 # after its creation but before its name has been assigned to `$tmp'.
67662 $debug ||
67663 {
67664   tmp=
67665   trap 'exit_status=$?
67666   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67667 ' 0
67668   trap 'as_fn_exit 1' 1 2 13 15
67669 }
67670 # Create a (secure) tmp directory for tmp files.
67671
67672 {
67673   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67674   test -n "$tmp" && test -d "$tmp"
67675 }  ||
67676 {
67677   tmp=./conf$$-$RANDOM
67678   (umask 077 && mkdir "$tmp")
67679 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67680
67681 # Set up the scripts for CONFIG_FILES section.
67682 # No need to generate them if there are no CONFIG_FILES.
67683 # This happens for instance with `./config.status config.h'.
67684 if test -n "$CONFIG_FILES"; then
67685
67686
67687 ac_cr=`echo X | tr X '\015'`
67688 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67689 # But we know of no other shell where ac_cr would be empty at this
67690 # point, so we can use a bashism as a fallback.
67691 if test "x$ac_cr" = x; then
67692   eval ac_cr=\$\'\\r\'
67693 fi
67694 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67695 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67696   ac_cs_awk_cr='\r'
67697 else
67698   ac_cs_awk_cr=$ac_cr
67699 fi
67700
67701 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67702 _ACEOF
67703
67704
67705 {
67706   echo "cat >conf$$subs.awk <<_ACEOF" &&
67707   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67708   echo "_ACEOF"
67709 } >conf$$subs.sh ||
67710   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67711 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67712 ac_delim='%!_!# '
67713 for ac_last_try in false false false false false :; do
67714   . ./conf$$subs.sh ||
67715     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67716
67717   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67718   if test $ac_delim_n = $ac_delim_num; then
67719     break
67720   elif $ac_last_try; then
67721     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67722   else
67723     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67724   fi
67725 done
67726 rm -f conf$$subs.sh
67727
67728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67729 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67730 _ACEOF
67731 sed -n '
67732 h
67733 s/^/S["/; s/!.*/"]=/
67734 p
67735 g
67736 s/^[^!]*!//
67737 :repl
67738 t repl
67739 s/'"$ac_delim"'$//
67740 t delim
67741 :nl
67742 h
67743 s/\(.\{148\}\).*/\1/
67744 t more1
67745 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67746 p
67747 n
67748 b repl
67749 :more1
67750 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67751 p
67752 g
67753 s/.\{148\}//
67754 t nl
67755 :delim
67756 h
67757 s/\(.\{148\}\).*/\1/
67758 t more2
67759 s/["\\]/\\&/g; s/^/"/; s/$/"/
67760 p
67761 b
67762 :more2
67763 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67764 p
67765 g
67766 s/.\{148\}//
67767 t delim
67768 ' <conf$$subs.awk | sed '
67769 /^[^""]/{
67770   N
67771   s/\n//
67772 }
67773 ' >>$CONFIG_STATUS || ac_write_fail=1
67774 rm -f conf$$subs.awk
67775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67776 _ACAWK
67777 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67778   for (key in S) S_is_set[key] = 1
67779   FS = "\a"
67780
67781 }
67782 {
67783   line = $ 0
67784   nfields = split(line, field, "@")
67785   substed = 0
67786   len = length(field[1])
67787   for (i = 2; i < nfields; i++) {
67788     key = field[i]
67789     keylen = length(key)
67790     if (S_is_set[key]) {
67791       value = S[key]
67792       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67793       len += length(value) + length(field[++i])
67794       substed = 1
67795     } else
67796       len += 1 + keylen
67797   }
67798
67799   print line
67800 }
67801
67802 _ACAWK
67803 _ACEOF
67804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67805 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67806   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67807 else
67808   cat
67809 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67810   || as_fn_error "could not setup config files machinery" "$LINENO" 5
67811 _ACEOF
67812
67813 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67814 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67815 # trailing colons and then remove the whole line if VPATH becomes empty
67816 # (actually we leave an empty line to preserve line numbers).
67817 if test "x$srcdir" = x.; then
67818   ac_vpsub='/^[  ]*VPATH[        ]*=/{
67819 s/:*\$(srcdir):*/:/
67820 s/:*\${srcdir}:*/:/
67821 s/:*@srcdir@:*/:/
67822 s/^\([^=]*=[     ]*\):*/\1/
67823 s/:*$//
67824 s/^[^=]*=[       ]*$//
67825 }'
67826 fi
67827
67828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67829 fi # test -n "$CONFIG_FILES"
67830
67831 # Set up the scripts for CONFIG_HEADERS section.
67832 # No need to generate them if there are no CONFIG_HEADERS.
67833 # This happens for instance with `./config.status Makefile'.
67834 if test -n "$CONFIG_HEADERS"; then
67835 cat >"$tmp/defines.awk" <<\_ACAWK ||
67836 BEGIN {
67837 _ACEOF
67838
67839 # Transform confdefs.h into an awk script `defines.awk', embedded as
67840 # here-document in config.status, that substitutes the proper values into
67841 # config.h.in to produce config.h.
67842
67843 # Create a delimiter string that does not exist in confdefs.h, to ease
67844 # handling of long lines.
67845 ac_delim='%!_!# '
67846 for ac_last_try in false false :; do
67847   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67848   if test -z "$ac_t"; then
67849     break
67850   elif $ac_last_try; then
67851     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67852   else
67853     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67854   fi
67855 done
67856
67857 # For the awk script, D is an array of macro values keyed by name,
67858 # likewise P contains macro parameters if any.  Preserve backslash
67859 # newline sequences.
67860
67861 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67862 sed -n '
67863 s/.\{148\}/&'"$ac_delim"'/g
67864 t rset
67865 :rset
67866 s/^[     ]*#[    ]*define[       ][      ]*/ /
67867 t def
67868 d
67869 :def
67870 s/\\$//
67871 t bsnl
67872 s/["\\]/\\&/g
67873 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67874 D["\1"]=" \3"/p
67875 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
67876 d
67877 :bsnl
67878 s/["\\]/\\&/g
67879 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67880 D["\1"]=" \3\\\\\\n"\\/p
67881 t cont
67882 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67883 t cont
67884 d
67885 :cont
67886 n
67887 s/.\{148\}/&'"$ac_delim"'/g
67888 t clear
67889 :clear
67890 s/\\$//
67891 t bsnlc
67892 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67893 d
67894 :bsnlc
67895 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67896 b cont
67897 ' <confdefs.h | sed '
67898 s/'"$ac_delim"'/"\\\
67899 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67900
67901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67902   for (key in D) D_is_set[key] = 1
67903   FS = "\a"
67904 }
67905 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67906   line = \$ 0
67907   split(line, arg, " ")
67908   if (arg[1] == "#") {
67909     defundef = arg[2]
67910     mac1 = arg[3]
67911   } else {
67912     defundef = substr(arg[1], 2)
67913     mac1 = arg[2]
67914   }
67915   split(mac1, mac2, "(") #)
67916   macro = mac2[1]
67917   prefix = substr(line, 1, index(line, defundef) - 1)
67918   if (D_is_set[macro]) {
67919     # Preserve the white space surrounding the "#".
67920     print prefix "define", macro P[macro] D[macro]
67921     next
67922   } else {
67923     # Replace #undef with comments.  This is necessary, for example,
67924     # in the case of _POSIX_SOURCE, which is predefined and required
67925     # on some systems where configure will not decide to define it.
67926     if (defundef == "undef") {
67927       print "/*", prefix defundef, macro, "*/"
67928       next
67929     }
67930   }
67931 }
67932 { print }
67933 _ACAWK
67934 _ACEOF
67935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67936   as_fn_error "could not setup config headers machinery" "$LINENO" 5
67937 fi # test -n "$CONFIG_HEADERS"
67938
67939
67940 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
67941 shift
67942 for ac_tag
67943 do
67944   case $ac_tag in
67945   :[FHLC]) ac_mode=$ac_tag; continue;;
67946   esac
67947   case $ac_mode$ac_tag in
67948   :[FHL]*:*);;
67949   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67950   :[FH]-) ac_tag=-:-;;
67951   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67952   esac
67953   ac_save_IFS=$IFS
67954   IFS=:
67955   set x $ac_tag
67956   IFS=$ac_save_IFS
67957   shift
67958   ac_file=$1
67959   shift
67960
67961   case $ac_mode in
67962   :L) ac_source=$1;;
67963   :[FH])
67964     ac_file_inputs=
67965     for ac_f
67966     do
67967       case $ac_f in
67968       -) ac_f="$tmp/stdin";;
67969       *) # Look for the file first in the build tree, then in the source tree
67970          # (if the path is not absolute).  The absolute path cannot be DOS-style,
67971          # because $ac_f cannot contain `:'.
67972          test -f "$ac_f" ||
67973            case $ac_f in
67974            [\\/$]*) false;;
67975            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67976            esac ||
67977            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67978       esac
67979       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67980       as_fn_append ac_file_inputs " '$ac_f'"
67981     done
67982
67983     # Let's still pretend it is `configure' which instantiates (i.e., don't
67984     # use $as_me), people would be surprised to read:
67985     #    /* config.h.  Generated by config.status.  */
67986     configure_input='Generated from '`
67987           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67988         `' by configure.'
67989     if test x"$ac_file" != x-; then
67990       configure_input="$ac_file.  $configure_input"
67991       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67992 $as_echo "$as_me: creating $ac_file" >&6;}
67993     fi
67994     # Neutralize special characters interpreted by sed in replacement strings.
67995     case $configure_input in #(
67996     *\&* | *\|* | *\\* )
67997        ac_sed_conf_input=`$as_echo "$configure_input" |
67998        sed 's/[\\\\&|]/\\\\&/g'`;; #(
67999     *) ac_sed_conf_input=$configure_input;;
68000     esac
68001
68002     case $ac_tag in
68003     *:-:* | *:-) cat >"$tmp/stdin" \
68004       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
68005     esac
68006     ;;
68007   esac
68008
68009   ac_dir=`$as_dirname -- "$ac_file" ||
68010 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68011          X"$ac_file" : 'X\(//\)[^/]' \| \
68012          X"$ac_file" : 'X\(//\)$' \| \
68013          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
68014 $as_echo X"$ac_file" |
68015     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68016             s//\1/
68017             q
68018           }
68019           /^X\(\/\/\)[^/].*/{
68020             s//\1/
68021             q
68022           }
68023           /^X\(\/\/\)$/{
68024             s//\1/
68025             q
68026           }
68027           /^X\(\/\).*/{
68028             s//\1/
68029             q
68030           }
68031           s/.*/./; q'`
68032   as_dir="$ac_dir"; as_fn_mkdir_p
68033   ac_builddir=.
68034
68035 case "$ac_dir" in
68036 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
68037 *)
68038   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
68039   # A ".." for each directory in $ac_dir_suffix.
68040   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
68041   case $ac_top_builddir_sub in
68042   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
68043   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
68044   esac ;;
68045 esac
68046 ac_abs_top_builddir=$ac_pwd
68047 ac_abs_builddir=$ac_pwd$ac_dir_suffix
68048 # for backward compatibility:
68049 ac_top_builddir=$ac_top_build_prefix
68050
68051 case $srcdir in
68052   .)  # We are building in place.
68053     ac_srcdir=.
68054     ac_top_srcdir=$ac_top_builddir_sub
68055     ac_abs_top_srcdir=$ac_pwd ;;
68056   [\\/]* | ?:[\\/]* )  # Absolute name.
68057     ac_srcdir=$srcdir$ac_dir_suffix;
68058     ac_top_srcdir=$srcdir
68059     ac_abs_top_srcdir=$srcdir ;;
68060   *) # Relative name.
68061     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
68062     ac_top_srcdir=$ac_top_build_prefix$srcdir
68063     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
68064 esac
68065 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
68066
68067
68068   case $ac_mode in
68069   :F)
68070   #
68071   # CONFIG_FILE
68072   #
68073
68074   case $INSTALL in
68075   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
68076   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
68077   esac
68078   ac_MKDIR_P=$MKDIR_P
68079   case $MKDIR_P in
68080   [\\/$]* | ?:[\\/]* ) ;;
68081   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
68082   esac
68083 _ACEOF
68084
68085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68086 # If the template does not know about datarootdir, expand it.
68087 # FIXME: This hack should be removed a few years after 2.60.
68088 ac_datarootdir_hack=; ac_datarootdir_seen=
68089 ac_sed_dataroot='
68090 /datarootdir/ {
68091   p
68092   q
68093 }
68094 /@datadir@/p
68095 /@docdir@/p
68096 /@infodir@/p
68097 /@localedir@/p
68098 /@mandir@/p'
68099 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68100 *datarootdir*) ac_datarootdir_seen=yes;;
68101 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68102   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68103 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68104 _ACEOF
68105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68106   ac_datarootdir_hack='
68107   s&@datadir@&$datadir&g
68108   s&@docdir@&$docdir&g
68109   s&@infodir@&$infodir&g
68110   s&@localedir@&$localedir&g
68111   s&@mandir@&$mandir&g
68112   s&\\\${datarootdir}&$datarootdir&g' ;;
68113 esac
68114 _ACEOF
68115
68116 # Neutralize VPATH when `$srcdir' = `.'.
68117 # Shell code in configure.ac might set extrasub.
68118 # FIXME: do we really want to maintain this feature?
68119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68120 ac_sed_extra="$ac_vpsub
68121 $extrasub
68122 _ACEOF
68123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68124 :t
68125 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68126 s|@configure_input@|$ac_sed_conf_input|;t t
68127 s&@top_builddir@&$ac_top_builddir_sub&;t t
68128 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68129 s&@srcdir@&$ac_srcdir&;t t
68130 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68131 s&@top_srcdir@&$ac_top_srcdir&;t t
68132 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68133 s&@builddir@&$ac_builddir&;t t
68134 s&@abs_builddir@&$ac_abs_builddir&;t t
68135 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68136 s&@INSTALL@&$ac_INSTALL&;t t
68137 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68138 $ac_datarootdir_hack
68139 "
68140 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68141   || as_fn_error "could not create $ac_file" "$LINENO" 5
68142
68143 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68144   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68145   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68146   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68147 which seems to be undefined.  Please make sure it is defined." >&5
68148 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68149 which seems to be undefined.  Please make sure it is defined." >&2;}
68150
68151   rm -f "$tmp/stdin"
68152   case $ac_file in
68153   -) cat "$tmp/out" && rm -f "$tmp/out";;
68154   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68155   esac \
68156   || as_fn_error "could not create $ac_file" "$LINENO" 5
68157  ;;
68158   :H)
68159   #
68160   # CONFIG_HEADER
68161   #
68162   if test x"$ac_file" != x-; then
68163     {
68164       $as_echo "/* $configure_input  */" \
68165       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68166     } >"$tmp/config.h" \
68167       || as_fn_error "could not create $ac_file" "$LINENO" 5
68168     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68169       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68170 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68171     else
68172       rm -f "$ac_file"
68173       mv "$tmp/config.h" "$ac_file" \
68174         || as_fn_error "could not create $ac_file" "$LINENO" 5
68175     fi
68176   else
68177     $as_echo "/* $configure_input  */" \
68178       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68179       || as_fn_error "could not create -" "$LINENO" 5
68180   fi
68181 # Compute "$ac_file"'s index in $config_headers.
68182 _am_arg="$ac_file"
68183 _am_stamp_count=1
68184 for _am_header in $config_headers :; do
68185   case $_am_header in
68186     $_am_arg | $_am_arg:* )
68187       break ;;
68188     * )
68189       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68190   esac
68191 done
68192 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68193 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68194          X"$_am_arg" : 'X\(//\)[^/]' \| \
68195          X"$_am_arg" : 'X\(//\)$' \| \
68196          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68197 $as_echo X"$_am_arg" |
68198     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68199             s//\1/
68200             q
68201           }
68202           /^X\(\/\/\)[^/].*/{
68203             s//\1/
68204             q
68205           }
68206           /^X\(\/\/\)$/{
68207             s//\1/
68208             q
68209           }
68210           /^X\(\/\).*/{
68211             s//\1/
68212             q
68213           }
68214           s/.*/./; q'`/stamp-h$_am_stamp_count
68215  ;;
68216
68217   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68218 $as_echo "$as_me: executing $ac_file commands" >&6;}
68219  ;;
68220   esac
68221
68222
68223   case $ac_file$ac_mode in
68224     "default-1":C)
68225 # Only add multilib support code if we just rebuilt the top-level
68226 # Makefile.
68227 case " $CONFIG_FILES " in
68228  *" Makefile "*)
68229    ac_file=Makefile . ${multi_basedir}/config-ml.in
68230    ;;
68231 esac ;;
68232     "libtool":C)
68233
68234     # See if we are running on zsh, and set the options which allow our
68235     # commands through without removal of \ escapes.
68236     if test -n "${ZSH_VERSION+set}" ; then
68237       setopt NO_GLOB_SUBST
68238     fi
68239
68240     cfgfile="${ofile}T"
68241     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68242     $RM "$cfgfile"
68243
68244     cat <<_LT_EOF >> "$cfgfile"
68245 #! $SHELL
68246
68247 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68248 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68249 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68250 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68251 #
68252 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68253 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68254 #   Written by Gordon Matzigkeit, 1996
68255 #
68256 #   This file is part of GNU Libtool.
68257 #
68258 # GNU Libtool is free software; you can redistribute it and/or
68259 # modify it under the terms of the GNU General Public License as
68260 # published by the Free Software Foundation; either version 2 of
68261 # the License, or (at your option) any later version.
68262 #
68263 # As a special exception to the GNU General Public License,
68264 # if you distribute this file as part of a program or library that
68265 # is built using GNU Libtool, you may include this file under the
68266 # same distribution terms that you use for the rest of that program.
68267 #
68268 # GNU Libtool is distributed in the hope that it will be useful,
68269 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68270 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
68271 # GNU General Public License for more details.
68272 #
68273 # You should have received a copy of the GNU General Public License
68274 # along with GNU Libtool; see the file COPYING.  If not, a copy
68275 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68276 # obtained by writing to the Free Software Foundation, Inc.,
68277 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68278
68279
68280 # The names of the tagged configurations supported by this script.
68281 available_tags="CXX "
68282
68283 # ### BEGIN LIBTOOL CONFIG
68284
68285 # Which release of libtool.m4 was used?
68286 macro_version=$macro_version
68287 macro_revision=$macro_revision
68288
68289 # Whether or not to build shared libraries.
68290 build_libtool_libs=$enable_shared
68291
68292 # Whether or not to build static libraries.
68293 build_old_libs=$enable_static
68294
68295 # What type of objects to build.
68296 pic_mode=$pic_mode
68297
68298 # Whether or not to optimize for fast installation.
68299 fast_install=$enable_fast_install
68300
68301 # Shell to use when invoking shell scripts.
68302 SHELL=$lt_SHELL
68303
68304 # An echo program that protects backslashes.
68305 ECHO=$lt_ECHO
68306
68307 # The host system.
68308 host_alias=$host_alias
68309 host=$host
68310 host_os=$host_os
68311
68312 # The build system.
68313 build_alias=$build_alias
68314 build=$build
68315 build_os=$build_os
68316
68317 # A sed program that does not truncate output.
68318 SED=$lt_SED
68319
68320 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68321 Xsed="\$SED -e 1s/^X//"
68322
68323 # A grep program that handles long lines.
68324 GREP=$lt_GREP
68325
68326 # An ERE matcher.
68327 EGREP=$lt_EGREP
68328
68329 # A literal string matcher.
68330 FGREP=$lt_FGREP
68331
68332 # A BSD- or MS-compatible name lister.
68333 NM=$lt_NM
68334
68335 # Whether we need soft or hard links.
68336 LN_S=$lt_LN_S
68337
68338 # What is the maximum length of a command?
68339 max_cmd_len=$max_cmd_len
68340
68341 # Object file suffix (normally "o").
68342 objext=$ac_objext
68343
68344 # Executable file suffix (normally "").
68345 exeext=$exeext
68346
68347 # whether the shell understands "unset".
68348 lt_unset=$lt_unset
68349
68350 # turn spaces into newlines.
68351 SP2NL=$lt_lt_SP2NL
68352
68353 # turn newlines into spaces.
68354 NL2SP=$lt_lt_NL2SP
68355
68356 # An object symbol dumper.
68357 OBJDUMP=$lt_OBJDUMP
68358
68359 # Method to check whether dependent libraries are shared objects.
68360 deplibs_check_method=$lt_deplibs_check_method
68361
68362 # Command to use when deplibs_check_method == "file_magic".
68363 file_magic_cmd=$lt_file_magic_cmd
68364
68365 # The archiver.
68366 AR=$lt_AR
68367 AR_FLAGS=$lt_AR_FLAGS
68368
68369 # A symbol stripping program.
68370 STRIP=$lt_STRIP
68371
68372 # Commands used to install an old-style archive.
68373 RANLIB=$lt_RANLIB
68374 old_postinstall_cmds=$lt_old_postinstall_cmds
68375 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68376
68377 # Whether to use a lock for old archive extraction.
68378 lock_old_archive_extraction=$lock_old_archive_extraction
68379
68380 # A C compiler.
68381 LTCC=$lt_CC
68382
68383 # LTCC compiler flags.
68384 LTCFLAGS=$lt_CFLAGS
68385
68386 # Take the output of nm and produce a listing of raw symbols and C names.
68387 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68388
68389 # Transform the output of nm in a proper C declaration.
68390 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68391
68392 # Transform the output of nm in a C name address pair.
68393 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68394
68395 # Transform the output of nm in a C name address pair when lib prefix is needed.
68396 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68397
68398 # The name of the directory that contains temporary libtool files.
68399 objdir=$objdir
68400
68401 # Used to examine libraries when file_magic_cmd begins with "file".
68402 MAGIC_CMD=$MAGIC_CMD
68403
68404 # Must we lock files when doing compilation?
68405 need_locks=$lt_need_locks
68406
68407 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68408 DSYMUTIL=$lt_DSYMUTIL
68409
68410 # Tool to change global to local symbols on Mac OS X.
68411 NMEDIT=$lt_NMEDIT
68412
68413 # Tool to manipulate fat objects and archives on Mac OS X.
68414 LIPO=$lt_LIPO
68415
68416 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68417 OTOOL=$lt_OTOOL
68418
68419 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68420 OTOOL64=$lt_OTOOL64
68421
68422 # Old archive suffix (normally "a").
68423 libext=$libext
68424
68425 # Shared library suffix (normally ".so").
68426 shrext_cmds=$lt_shrext_cmds
68427
68428 # The commands to extract the exported symbol list from a shared archive.
68429 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68430
68431 # Variables whose values should be saved in libtool wrapper scripts and
68432 # restored at link time.
68433 variables_saved_for_relink=$lt_variables_saved_for_relink
68434
68435 # Do we need the "lib" prefix for modules?
68436 need_lib_prefix=$need_lib_prefix
68437
68438 # Do we need a version for libraries?
68439 need_version=$need_version
68440
68441 # Library versioning type.
68442 version_type=$version_type
68443
68444 # Shared library runtime path variable.
68445 runpath_var=$runpath_var
68446
68447 # Shared library path variable.
68448 shlibpath_var=$shlibpath_var
68449
68450 # Is shlibpath searched before the hard-coded library search path?
68451 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68452
68453 # Format of library name prefix.
68454 libname_spec=$lt_libname_spec
68455
68456 # List of archive names.  First name is the real one, the rest are links.
68457 # The last name is the one that the linker finds with -lNAME
68458 library_names_spec=$lt_library_names_spec
68459
68460 # The coded name of the library, if different from the real name.
68461 soname_spec=$lt_soname_spec
68462
68463 # Permission mode override for installation of shared libraries.
68464 install_override_mode=$lt_install_override_mode
68465
68466 # Command to use after installation of a shared archive.
68467 postinstall_cmds=$lt_postinstall_cmds
68468
68469 # Command to use after uninstallation of a shared archive.
68470 postuninstall_cmds=$lt_postuninstall_cmds
68471
68472 # Commands used to finish a libtool library installation in a directory.
68473 finish_cmds=$lt_finish_cmds
68474
68475 # As "finish_cmds", except a single script fragment to be evaled but
68476 # not shown.
68477 finish_eval=$lt_finish_eval
68478
68479 # Whether we should hardcode library paths into libraries.
68480 hardcode_into_libs=$hardcode_into_libs
68481
68482 # Compile-time system search path for libraries.
68483 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68484
68485 # Run-time system search path for libraries.
68486 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68487
68488 # Whether dlopen is supported.
68489 dlopen_support=$enable_dlopen
68490
68491 # Whether dlopen of programs is supported.
68492 dlopen_self=$enable_dlopen_self
68493
68494 # Whether dlopen of statically linked programs is supported.
68495 dlopen_self_static=$enable_dlopen_self_static
68496
68497 # Commands to strip libraries.
68498 old_striplib=$lt_old_striplib
68499 striplib=$lt_striplib
68500
68501
68502 # The linker used to build libraries.
68503 LD=$lt_LD
68504
68505 # How to create reloadable object files.
68506 reload_flag=$lt_reload_flag
68507 reload_cmds=$lt_reload_cmds
68508
68509 # Commands used to build an old-style archive.
68510 old_archive_cmds=$lt_old_archive_cmds
68511
68512 # A language specific compiler.
68513 CC=$lt_compiler
68514
68515 # Is the compiler the GNU compiler?
68516 with_gcc=$GCC
68517
68518 # Compiler flag to turn off builtin functions.
68519 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68520
68521 # How to pass a linker flag through the compiler.
68522 wl=$lt_lt_prog_compiler_wl
68523
68524 # Additional compiler flags for building library objects.
68525 pic_flag=$lt_lt_prog_compiler_pic
68526
68527 # Compiler flag to prevent dynamic linking.
68528 link_static_flag=$lt_lt_prog_compiler_static
68529
68530 # Does compiler simultaneously support -c and -o options?
68531 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68532
68533 # Whether or not to add -lc for building shared libraries.
68534 build_libtool_need_lc=$archive_cmds_need_lc
68535
68536 # Whether or not to disallow shared libs when runtime libs are static.
68537 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68538
68539 # Compiler flag to allow reflexive dlopens.
68540 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68541
68542 # Compiler flag to generate shared objects directly from archives.
68543 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68544
68545 # Whether the compiler copes with passing no objects directly.
68546 compiler_needs_object=$lt_compiler_needs_object
68547
68548 # Create an old-style archive from a shared archive.
68549 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68550
68551 # Create a temporary old-style archive to link instead of a shared archive.
68552 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68553
68554 # Commands used to build a shared archive.
68555 archive_cmds=$lt_archive_cmds
68556 archive_expsym_cmds=$lt_archive_expsym_cmds
68557
68558 # Commands used to build a loadable module if different from building
68559 # a shared archive.
68560 module_cmds=$lt_module_cmds
68561 module_expsym_cmds=$lt_module_expsym_cmds
68562
68563 # Whether we are building with GNU ld or not.
68564 with_gnu_ld=$lt_with_gnu_ld
68565
68566 # Flag that allows shared libraries with undefined symbols to be built.
68567 allow_undefined_flag=$lt_allow_undefined_flag
68568
68569 # Flag that enforces no undefined symbols.
68570 no_undefined_flag=$lt_no_undefined_flag
68571
68572 # Flag to hardcode \$libdir into a binary during linking.
68573 # This must work even if \$libdir does not exist
68574 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68575
68576 # If ld is used when linking, flag to hardcode \$libdir into a binary
68577 # during linking.  This must work even if \$libdir does not exist.
68578 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68579
68580 # Whether we need a single "-rpath" flag with a separated argument.
68581 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68582
68583 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68584 # DIR into the resulting binary.
68585 hardcode_direct=$hardcode_direct
68586
68587 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68588 # DIR into the resulting binary and the resulting library dependency is
68589 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68590 # library is relocated.
68591 hardcode_direct_absolute=$hardcode_direct_absolute
68592
68593 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68594 # into the resulting binary.
68595 hardcode_minus_L=$hardcode_minus_L
68596
68597 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68598 # into the resulting binary.
68599 hardcode_shlibpath_var=$hardcode_shlibpath_var
68600
68601 # Set to "yes" if building a shared library automatically hardcodes DIR
68602 # into the library and all subsequent libraries and executables linked
68603 # against it.
68604 hardcode_automatic=$hardcode_automatic
68605
68606 # Set to yes if linker adds runtime paths of dependent libraries
68607 # to runtime path list.
68608 inherit_rpath=$inherit_rpath
68609
68610 # Whether libtool must link a program against all its dependency libraries.
68611 link_all_deplibs=$link_all_deplibs
68612
68613 # Fix the shell variable \$srcfile for the compiler.
68614 fix_srcfile_path=$lt_fix_srcfile_path
68615
68616 # Set to "yes" if exported symbols are required.
68617 always_export_symbols=$always_export_symbols
68618
68619 # The commands to list exported symbols.
68620 export_symbols_cmds=$lt_export_symbols_cmds
68621
68622 # Symbols that should not be listed in the preloaded symbols.
68623 exclude_expsyms=$lt_exclude_expsyms
68624
68625 # Symbols that must always be exported.
68626 include_expsyms=$lt_include_expsyms
68627
68628 # Commands necessary for linking programs (against libraries) with templates.
68629 prelink_cmds=$lt_prelink_cmds
68630
68631 # Specify filename containing input files.
68632 file_list_spec=$lt_file_list_spec
68633
68634 # How to hardcode a shared library path into an executable.
68635 hardcode_action=$hardcode_action
68636
68637 # The directories searched by this compiler when creating a shared library.
68638 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68639
68640 # Dependencies to place before and after the objects being linked to
68641 # create a shared library.
68642 predep_objects=$lt_predep_objects
68643 postdep_objects=$lt_postdep_objects
68644 predeps=$lt_predeps
68645 postdeps=$lt_postdeps
68646
68647 # The library search path used internally by the compiler when linking
68648 # a shared library.
68649 compiler_lib_search_path=$lt_compiler_lib_search_path
68650
68651 # ### END LIBTOOL CONFIG
68652
68653 _LT_EOF
68654
68655   case $host_os in
68656   aix3*)
68657     cat <<\_LT_EOF >> "$cfgfile"
68658 # AIX sometimes has problems with the GCC collect2 program.  For some
68659 # reason, if we set the COLLECT_NAMES environment variable, the problems
68660 # vanish in a puff of smoke.
68661 if test "X${COLLECT_NAMES+set}" != Xset; then
68662   COLLECT_NAMES=
68663   export COLLECT_NAMES
68664 fi
68665 _LT_EOF
68666     ;;
68667   esac
68668
68669
68670 ltmain="$ac_aux_dir/ltmain.sh"
68671
68672
68673   # We use sed instead of cat because bash on DJGPP gets confused if
68674   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
68675   # text mode, it properly converts lines to CR/LF.  This bash problem
68676   # is reportedly fixed, but why not run on old versions too?
68677   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68678     || (rm -f "$cfgfile"; exit 1)
68679
68680   case $xsi_shell in
68681   yes)
68682     cat << \_LT_EOF >> "$cfgfile"
68683
68684 # func_dirname file append nondir_replacement
68685 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68686 # otherwise set result to NONDIR_REPLACEMENT.
68687 func_dirname ()
68688 {
68689   case ${1} in
68690     */*) func_dirname_result="${1%/*}${2}" ;;
68691     *  ) func_dirname_result="${3}" ;;
68692   esac
68693 }
68694
68695 # func_basename file
68696 func_basename ()
68697 {
68698   func_basename_result="${1##*/}"
68699 }
68700
68701 # func_dirname_and_basename file append nondir_replacement
68702 # perform func_basename and func_dirname in a single function
68703 # call:
68704 #   dirname:  Compute the dirname of FILE.  If nonempty,
68705 #             add APPEND to the result, otherwise set result
68706 #             to NONDIR_REPLACEMENT.
68707 #             value returned in "$func_dirname_result"
68708 #   basename: Compute filename of FILE.
68709 #             value retuned in "$func_basename_result"
68710 # Implementation must be kept synchronized with func_dirname
68711 # and func_basename. For efficiency, we do not delegate to
68712 # those functions but instead duplicate the functionality here.
68713 func_dirname_and_basename ()
68714 {
68715   case ${1} in
68716     */*) func_dirname_result="${1%/*}${2}" ;;
68717     *  ) func_dirname_result="${3}" ;;
68718   esac
68719   func_basename_result="${1##*/}"
68720 }
68721
68722 # func_stripname prefix suffix name
68723 # strip PREFIX and SUFFIX off of NAME.
68724 # PREFIX and SUFFIX must not contain globbing or regex special
68725 # characters, hashes, percent signs, but SUFFIX may contain a leading
68726 # dot (in which case that matches only a dot).
68727 func_stripname ()
68728 {
68729   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68730   # positional parameters, so assign one to ordinary parameter first.
68731   func_stripname_result=${3}
68732   func_stripname_result=${func_stripname_result#"${1}"}
68733   func_stripname_result=${func_stripname_result%"${2}"}
68734 }
68735
68736 # func_opt_split
68737 func_opt_split ()
68738 {
68739   func_opt_split_opt=${1%%=*}
68740   func_opt_split_arg=${1#*=}
68741 }
68742
68743 # func_lo2o object
68744 func_lo2o ()
68745 {
68746   case ${1} in
68747     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68748     *)    func_lo2o_result=${1} ;;
68749   esac
68750 }
68751
68752 # func_xform libobj-or-source
68753 func_xform ()
68754 {
68755   func_xform_result=${1%.*}.lo
68756 }
68757
68758 # func_arith arithmetic-term...
68759 func_arith ()
68760 {
68761   func_arith_result=$(( $* ))
68762 }
68763
68764 # func_len string
68765 # STRING may not start with a hyphen.
68766 func_len ()
68767 {
68768   func_len_result=${#1}
68769 }
68770
68771 _LT_EOF
68772     ;;
68773   *) # Bourne compatible functions.
68774     cat << \_LT_EOF >> "$cfgfile"
68775
68776 # func_dirname file append nondir_replacement
68777 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68778 # otherwise set result to NONDIR_REPLACEMENT.
68779 func_dirname ()
68780 {
68781   # Extract subdirectory from the argument.
68782   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68783   if test "X$func_dirname_result" = "X${1}"; then
68784     func_dirname_result="${3}"
68785   else
68786     func_dirname_result="$func_dirname_result${2}"
68787   fi
68788 }
68789
68790 # func_basename file
68791 func_basename ()
68792 {
68793   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68794 }
68795
68796
68797 # func_stripname prefix suffix name
68798 # strip PREFIX and SUFFIX off of NAME.
68799 # PREFIX and SUFFIX must not contain globbing or regex special
68800 # characters, hashes, percent signs, but SUFFIX may contain a leading
68801 # dot (in which case that matches only a dot).
68802 # func_strip_suffix prefix name
68803 func_stripname ()
68804 {
68805   case ${2} in
68806     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68807     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68808   esac
68809 }
68810
68811 # sed scripts:
68812 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68813 my_sed_long_arg='1s/^-[^=]*=//'
68814
68815 # func_opt_split
68816 func_opt_split ()
68817 {
68818   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68819   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68820 }
68821
68822 # func_lo2o object
68823 func_lo2o ()
68824 {
68825   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68826 }
68827
68828 # func_xform libobj-or-source
68829 func_xform ()
68830 {
68831   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68832 }
68833
68834 # func_arith arithmetic-term...
68835 func_arith ()
68836 {
68837   func_arith_result=`expr "$@"`
68838 }
68839
68840 # func_len string
68841 # STRING may not start with a hyphen.
68842 func_len ()
68843 {
68844   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68845 }
68846
68847 _LT_EOF
68848 esac
68849
68850 case $lt_shell_append in
68851   yes)
68852     cat << \_LT_EOF >> "$cfgfile"
68853
68854 # func_append var value
68855 # Append VALUE to the end of shell variable VAR.
68856 func_append ()
68857 {
68858   eval "$1+=\$2"
68859 }
68860 _LT_EOF
68861     ;;
68862   *)
68863     cat << \_LT_EOF >> "$cfgfile"
68864
68865 # func_append var value
68866 # Append VALUE to the end of shell variable VAR.
68867 func_append ()
68868 {
68869   eval "$1=\$$1\$2"
68870 }
68871
68872 _LT_EOF
68873     ;;
68874   esac
68875
68876
68877   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68878     || (rm -f "$cfgfile"; exit 1)
68879
68880   mv -f "$cfgfile" "$ofile" ||
68881     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68882   chmod +x "$ofile"
68883
68884
68885     cat <<_LT_EOF >> "$ofile"
68886
68887 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68888
68889 # The linker used to build libraries.
68890 LD=$lt_LD_CXX
68891
68892 # How to create reloadable object files.
68893 reload_flag=$lt_reload_flag_CXX
68894 reload_cmds=$lt_reload_cmds_CXX
68895
68896 # Commands used to build an old-style archive.
68897 old_archive_cmds=$lt_old_archive_cmds_CXX
68898
68899 # A language specific compiler.
68900 CC=$lt_compiler_CXX
68901
68902 # Is the compiler the GNU compiler?
68903 with_gcc=$GCC_CXX
68904
68905 # Compiler flag to turn off builtin functions.
68906 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68907
68908 # How to pass a linker flag through the compiler.
68909 wl=$lt_lt_prog_compiler_wl_CXX
68910
68911 # Additional compiler flags for building library objects.
68912 pic_flag=$lt_lt_prog_compiler_pic_CXX
68913
68914 # Compiler flag to prevent dynamic linking.
68915 link_static_flag=$lt_lt_prog_compiler_static_CXX
68916
68917 # Does compiler simultaneously support -c and -o options?
68918 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68919
68920 # Whether or not to add -lc for building shared libraries.
68921 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68922
68923 # Whether or not to disallow shared libs when runtime libs are static.
68924 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68925
68926 # Compiler flag to allow reflexive dlopens.
68927 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68928
68929 # Compiler flag to generate shared objects directly from archives.
68930 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68931
68932 # Whether the compiler copes with passing no objects directly.
68933 compiler_needs_object=$lt_compiler_needs_object_CXX
68934
68935 # Create an old-style archive from a shared archive.
68936 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68937
68938 # Create a temporary old-style archive to link instead of a shared archive.
68939 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68940
68941 # Commands used to build a shared archive.
68942 archive_cmds=$lt_archive_cmds_CXX
68943 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68944
68945 # Commands used to build a loadable module if different from building
68946 # a shared archive.
68947 module_cmds=$lt_module_cmds_CXX
68948 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68949
68950 # Whether we are building with GNU ld or not.
68951 with_gnu_ld=$lt_with_gnu_ld_CXX
68952
68953 # Flag that allows shared libraries with undefined symbols to be built.
68954 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68955
68956 # Flag that enforces no undefined symbols.
68957 no_undefined_flag=$lt_no_undefined_flag_CXX
68958
68959 # Flag to hardcode \$libdir into a binary during linking.
68960 # This must work even if \$libdir does not exist
68961 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68962
68963 # If ld is used when linking, flag to hardcode \$libdir into a binary
68964 # during linking.  This must work even if \$libdir does not exist.
68965 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68966
68967 # Whether we need a single "-rpath" flag with a separated argument.
68968 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68969
68970 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68971 # DIR into the resulting binary.
68972 hardcode_direct=$hardcode_direct_CXX
68973
68974 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68975 # DIR into the resulting binary and the resulting library dependency is
68976 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68977 # library is relocated.
68978 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68979
68980 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68981 # into the resulting binary.
68982 hardcode_minus_L=$hardcode_minus_L_CXX
68983
68984 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68985 # into the resulting binary.
68986 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68987
68988 # Set to "yes" if building a shared library automatically hardcodes DIR
68989 # into the library and all subsequent libraries and executables linked
68990 # against it.
68991 hardcode_automatic=$hardcode_automatic_CXX
68992
68993 # Set to yes if linker adds runtime paths of dependent libraries
68994 # to runtime path list.
68995 inherit_rpath=$inherit_rpath_CXX
68996
68997 # Whether libtool must link a program against all its dependency libraries.
68998 link_all_deplibs=$link_all_deplibs_CXX
68999
69000 # Fix the shell variable \$srcfile for the compiler.
69001 fix_srcfile_path=$lt_fix_srcfile_path_CXX
69002
69003 # Set to "yes" if exported symbols are required.
69004 always_export_symbols=$always_export_symbols_CXX
69005
69006 # The commands to list exported symbols.
69007 export_symbols_cmds=$lt_export_symbols_cmds_CXX
69008
69009 # Symbols that should not be listed in the preloaded symbols.
69010 exclude_expsyms=$lt_exclude_expsyms_CXX
69011
69012 # Symbols that must always be exported.
69013 include_expsyms=$lt_include_expsyms_CXX
69014
69015 # Commands necessary for linking programs (against libraries) with templates.
69016 prelink_cmds=$lt_prelink_cmds_CXX
69017
69018 # Specify filename containing input files.
69019 file_list_spec=$lt_file_list_spec_CXX
69020
69021 # How to hardcode a shared library path into an executable.
69022 hardcode_action=$hardcode_action_CXX
69023
69024 # The directories searched by this compiler when creating a shared library.
69025 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
69026
69027 # Dependencies to place before and after the objects being linked to
69028 # create a shared library.
69029 predep_objects=$lt_predep_objects_CXX
69030 postdep_objects=$lt_postdep_objects_CXX
69031 predeps=$lt_predeps_CXX
69032 postdeps=$lt_postdeps_CXX
69033
69034 # The library search path used internally by the compiler when linking
69035 # a shared library.
69036 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
69037
69038 # ### END LIBTOOL TAG CONFIG: CXX
69039 _LT_EOF
69040
69041  ;;
69042     "include/gstdint.h":C)
69043 if test "$GCC" = yes; then
69044   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
69045 else
69046   echo "/* generated for $CC */" > tmp-stdint.h
69047 fi
69048
69049 sed 's/^ *//' >> tmp-stdint.h <<EOF
69050
69051   #ifndef GCC_GENERATED_STDINT_H
69052   #define GCC_GENERATED_STDINT_H 1
69053
69054   #include <sys/types.h>
69055 EOF
69056
69057 if test "$acx_cv_header_stdint" != stdint.h; then
69058   echo "#include <stddef.h>" >> tmp-stdint.h
69059 fi
69060 if test "$acx_cv_header_stdint" != stddef.h; then
69061   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
69062 fi
69063
69064 sed 's/^ *//' >> tmp-stdint.h <<EOF
69065   /* glibc uses these symbols as guards to prevent redefinitions.  */
69066   #ifdef __int8_t_defined
69067   #define _INT8_T
69068   #define _INT16_T
69069   #define _INT32_T
69070   #endif
69071   #ifdef __uint32_t_defined
69072   #define _UINT32_T
69073   #endif
69074
69075 EOF
69076
69077 # ----------------- done header, emit basic int types -------------
69078 if test "$acx_cv_header_stdint" = stddef.h; then
69079   sed 's/^ *//' >> tmp-stdint.h <<EOF
69080
69081     #ifndef _UINT8_T
69082     #define _UINT8_T
69083     #ifndef __uint8_t_defined
69084     #define __uint8_t_defined
69085     #ifndef uint8_t
69086     typedef unsigned $acx_cv_type_int8_t uint8_t;
69087     #endif
69088     #endif
69089     #endif
69090
69091     #ifndef _UINT16_T
69092     #define _UINT16_T
69093     #ifndef __uint16_t_defined
69094     #define __uint16_t_defined
69095     #ifndef uint16_t
69096     typedef unsigned $acx_cv_type_int16_t uint16_t;
69097     #endif
69098     #endif
69099     #endif
69100
69101     #ifndef _UINT32_T
69102     #define _UINT32_T
69103     #ifndef __uint32_t_defined
69104     #define __uint32_t_defined
69105     #ifndef uint32_t
69106     typedef unsigned $acx_cv_type_int32_t uint32_t;
69107     #endif
69108     #endif
69109     #endif
69110
69111     #ifndef _INT8_T
69112     #define _INT8_T
69113     #ifndef __int8_t_defined
69114     #define __int8_t_defined
69115     #ifndef int8_t
69116     typedef $acx_cv_type_int8_t int8_t;
69117     #endif
69118     #endif
69119     #endif
69120
69121     #ifndef _INT16_T
69122     #define _INT16_T
69123     #ifndef __int16_t_defined
69124     #define __int16_t_defined
69125     #ifndef int16_t
69126     typedef $acx_cv_type_int16_t int16_t;
69127     #endif
69128     #endif
69129     #endif
69130
69131     #ifndef _INT32_T
69132     #define _INT32_T
69133     #ifndef __int32_t_defined
69134     #define __int32_t_defined
69135     #ifndef int32_t
69136     typedef $acx_cv_type_int32_t int32_t;
69137     #endif
69138     #endif
69139     #endif
69140 EOF
69141 elif test "$ac_cv_type_u_int32_t" = yes; then
69142   sed 's/^ *//' >> tmp-stdint.h <<EOF
69143
69144     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69145     #ifndef _INT8_T
69146     #define _INT8_T
69147     #endif
69148     #ifndef _INT16_T
69149     #define _INT16_T
69150     #endif
69151     #ifndef _INT32_T
69152     #define _INT32_T
69153     #endif
69154
69155     #ifndef _UINT8_T
69156     #define _UINT8_T
69157     #ifndef __uint8_t_defined
69158     #define __uint8_t_defined
69159     #ifndef uint8_t
69160     typedef u_int8_t uint8_t;
69161     #endif
69162     #endif
69163     #endif
69164
69165     #ifndef _UINT16_T
69166     #define _UINT16_T
69167     #ifndef __uint16_t_defined
69168     #define __uint16_t_defined
69169     #ifndef uint16_t
69170     typedef u_int16_t uint16_t;
69171     #endif
69172     #endif
69173     #endif
69174
69175     #ifndef _UINT32_T
69176     #define _UINT32_T
69177     #ifndef __uint32_t_defined
69178     #define __uint32_t_defined
69179     #ifndef uint32_t
69180     typedef u_int32_t uint32_t;
69181     #endif
69182     #endif
69183     #endif
69184 EOF
69185 else
69186   sed 's/^ *//' >> tmp-stdint.h <<EOF
69187
69188     /* Some systems have guard macros to prevent redefinitions, define them.  */
69189     #ifndef _INT8_T
69190     #define _INT8_T
69191     #endif
69192     #ifndef _INT16_T
69193     #define _INT16_T
69194     #endif
69195     #ifndef _INT32_T
69196     #define _INT32_T
69197     #endif
69198     #ifndef _UINT8_T
69199     #define _UINT8_T
69200     #endif
69201     #ifndef _UINT16_T
69202     #define _UINT16_T
69203     #endif
69204     #ifndef _UINT32_T
69205     #define _UINT32_T
69206     #endif
69207 EOF
69208 fi
69209
69210 # ------------- done basic int types, emit int64_t types ------------
69211 if test "$ac_cv_type_uint64_t" = yes; then
69212   sed 's/^ *//' >> tmp-stdint.h <<EOF
69213
69214     /* system headers have good uint64_t and int64_t */
69215     #ifndef _INT64_T
69216     #define _INT64_T
69217     #endif
69218     #ifndef _UINT64_T
69219     #define _UINT64_T
69220     #endif
69221 EOF
69222 elif test "$ac_cv_type_u_int64_t" = yes; then
69223   sed 's/^ *//' >> tmp-stdint.h <<EOF
69224
69225     /* system headers have an u_int64_t (and int64_t) */
69226     #ifndef _INT64_T
69227     #define _INT64_T
69228     #endif
69229     #ifndef _UINT64_T
69230     #define _UINT64_T
69231     #ifndef __uint64_t_defined
69232     #define __uint64_t_defined
69233     #ifndef uint64_t
69234     typedef u_int64_t uint64_t;
69235     #endif
69236     #endif
69237     #endif
69238 EOF
69239 elif test -n "$acx_cv_type_int64_t"; then
69240   sed 's/^ *//' >> tmp-stdint.h <<EOF
69241
69242     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69243     #ifndef _INT64_T
69244     #define _INT64_T
69245     #ifndef int64_t
69246     typedef $acx_cv_type_int64_t int64_t;
69247     #endif
69248     #endif
69249     #ifndef _UINT64_T
69250     #define _UINT64_T
69251     #ifndef __uint64_t_defined
69252     #define __uint64_t_defined
69253     #ifndef uint64_t
69254     typedef unsigned $acx_cv_type_int64_t uint64_t;
69255     #endif
69256     #endif
69257     #endif
69258 EOF
69259 else
69260   sed 's/^ *//' >> tmp-stdint.h <<EOF
69261
69262     /* some common heuristics for int64_t, using compiler-specific tests */
69263     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69264     #ifndef _INT64_T
69265     #define _INT64_T
69266     #ifndef __int64_t_defined
69267     #ifndef int64_t
69268     typedef long long int64_t;
69269     #endif
69270     #endif
69271     #endif
69272     #ifndef _UINT64_T
69273     #define _UINT64_T
69274     #ifndef uint64_t
69275     typedef unsigned long long uint64_t;
69276     #endif
69277     #endif
69278
69279     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69280     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69281        does not implement __extension__.  But that compiler doesn't define
69282        __GNUC_MINOR__.  */
69283     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69284     # define __extension__
69285     # endif
69286
69287     # ifndef _INT64_T
69288     # define _INT64_T
69289     # ifndef int64_t
69290     __extension__ typedef long long int64_t;
69291     # endif
69292     # endif
69293     # ifndef _UINT64_T
69294     # define _UINT64_T
69295     # ifndef uint64_t
69296     __extension__ typedef unsigned long long uint64_t;
69297     # endif
69298     # endif
69299
69300     #elif !defined __STRICT_ANSI__
69301     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69302
69303     #  ifndef _INT64_T
69304     #  define _INT64_T
69305     #  ifndef int64_t
69306     typedef __int64 int64_t;
69307     #  endif
69308     #  endif
69309     #  ifndef _UINT64_T
69310     #  define _UINT64_T
69311     #  ifndef uint64_t
69312     typedef unsigned __int64 uint64_t;
69313     #  endif
69314     #  endif
69315     # endif /* compiler */
69316
69317     #endif /* ANSI version */
69318 EOF
69319 fi
69320
69321 # ------------- done int64_t types, emit intptr types ------------
69322 if test "$ac_cv_type_uintptr_t" != yes; then
69323   sed 's/^ *//' >> tmp-stdint.h <<EOF
69324
69325     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69326     #ifndef __uintptr_t_defined
69327     #ifndef uintptr_t
69328     typedef u$acx_cv_type_intptr_t uintptr_t;
69329     #endif
69330     #endif
69331     #ifndef __intptr_t_defined
69332     #ifndef intptr_t
69333     typedef $acx_cv_type_intptr_t  intptr_t;
69334     #endif
69335     #endif
69336 EOF
69337 fi
69338
69339 # ------------- done intptr types, emit int_least types ------------
69340 if test "$ac_cv_type_int_least32_t" != yes; then
69341   sed 's/^ *//' >> tmp-stdint.h <<EOF
69342
69343     /* Define int_least types */
69344     typedef int8_t     int_least8_t;
69345     typedef int16_t    int_least16_t;
69346     typedef int32_t    int_least32_t;
69347     #ifdef _INT64_T
69348     typedef int64_t    int_least64_t;
69349     #endif
69350
69351     typedef uint8_t    uint_least8_t;
69352     typedef uint16_t   uint_least16_t;
69353     typedef uint32_t   uint_least32_t;
69354     #ifdef _UINT64_T
69355     typedef uint64_t   uint_least64_t;
69356     #endif
69357 EOF
69358 fi
69359
69360 # ------------- done intptr types, emit int_fast types ------------
69361 if test "$ac_cv_type_int_fast32_t" != yes; then
69362       sed 's/^ *//' >> tmp-stdint.h <<EOF
69363
69364     /* Define int_fast types.  short is often slow */
69365     typedef int8_t       int_fast8_t;
69366     typedef int          int_fast16_t;
69367     typedef int32_t      int_fast32_t;
69368     #ifdef _INT64_T
69369     typedef int64_t      int_fast64_t;
69370     #endif
69371
69372     typedef uint8_t      uint_fast8_t;
69373     typedef unsigned int uint_fast16_t;
69374     typedef uint32_t     uint_fast32_t;
69375     #ifdef _UINT64_T
69376     typedef uint64_t     uint_fast64_t;
69377     #endif
69378 EOF
69379 fi
69380
69381 if test "$ac_cv_type_uintmax_t" != yes; then
69382   sed 's/^ *//' >> tmp-stdint.h <<EOF
69383
69384     /* Define intmax based on what we found */
69385     #ifndef intmax_t
69386     #ifdef _INT64_T
69387     typedef int64_t       intmax_t;
69388     #else
69389     typedef long          intmax_t;
69390     #endif
69391     #endif
69392     #ifndef uintmax_t
69393     #ifdef _UINT64_T
69394     typedef uint64_t      uintmax_t;
69395     #else
69396     typedef unsigned long uintmax_t;
69397     #endif
69398     #endif
69399 EOF
69400 fi
69401
69402 sed 's/^ *//' >> tmp-stdint.h <<EOF
69403
69404   #endif /* GCC_GENERATED_STDINT_H */
69405 EOF
69406
69407 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69408   rm -f tmp-stdint.h
69409 else
69410   mv -f tmp-stdint.h include/gstdint.h
69411 fi
69412
69413  ;;
69414     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69415     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69416     "include/Makefile":F) cat > vpsed$$ << \_EOF
69417 s!`test -f '$<' || echo '$(srcdir)/'`!!
69418 _EOF
69419    sed -f vpsed$$ $ac_file > tmp$$
69420    mv tmp$$ $ac_file
69421    rm vpsed$$
69422    echo 'MULTISUBDIR =' >> $ac_file
69423    ml_norecursion=yes
69424    . ${multi_basedir}/config-ml.in
69425    { ml_norecursion=; unset ml_norecursion;}
69426  ;;
69427     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69428 s!`test -f '$<' || echo '$(srcdir)/'`!!
69429 _EOF
69430    sed -f vpsed$$ $ac_file > tmp$$
69431    mv tmp$$ $ac_file
69432    rm vpsed$$
69433    echo 'MULTISUBDIR =' >> $ac_file
69434    ml_norecursion=yes
69435    . ${multi_basedir}/config-ml.in
69436    { ml_norecursion=; unset ml_norecursion;}
69437  ;;
69438     "python/Makefile":F) cat > vpsed$$ << \_EOF
69439 s!`test -f '$<' || echo '$(srcdir)/'`!!
69440 _EOF
69441    sed -f vpsed$$ $ac_file > tmp$$
69442    mv tmp$$ $ac_file
69443    rm vpsed$$
69444    echo 'MULTISUBDIR =' >> $ac_file
69445    ml_norecursion=yes
69446    . ${multi_basedir}/config-ml.in
69447    { ml_norecursion=; unset ml_norecursion;}
69448  ;;
69449     "src/Makefile":F) cat > vpsed$$ << \_EOF
69450 s!`test -f '$<' || echo '$(srcdir)/'`!!
69451 _EOF
69452    sed -f vpsed$$ $ac_file > tmp$$
69453    mv tmp$$ $ac_file
69454    rm vpsed$$
69455    echo 'MULTISUBDIR =' >> $ac_file
69456    ml_norecursion=yes
69457    . ${multi_basedir}/config-ml.in
69458    { ml_norecursion=; unset ml_norecursion;}
69459  ;;
69460     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
69461 s!`test -f '$<' || echo '$(srcdir)/'`!!
69462 _EOF
69463    sed -f vpsed$$ $ac_file > tmp$$
69464    mv tmp$$ $ac_file
69465    rm vpsed$$
69466    echo 'MULTISUBDIR =' >> $ac_file
69467    ml_norecursion=yes
69468    . ${multi_basedir}/config-ml.in
69469    { ml_norecursion=; unset ml_norecursion;}
69470  ;;
69471     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
69472 s!`test -f '$<' || echo '$(srcdir)/'`!!
69473 _EOF
69474    sed -f vpsed$$ $ac_file > tmp$$
69475    mv tmp$$ $ac_file
69476    rm vpsed$$
69477    echo 'MULTISUBDIR =' >> $ac_file
69478    ml_norecursion=yes
69479    . ${multi_basedir}/config-ml.in
69480    { ml_norecursion=; unset ml_norecursion;}
69481  ;;
69482     "doc/Makefile":F) cat > vpsed$$ << \_EOF
69483 s!`test -f '$<' || echo '$(srcdir)/'`!!
69484 _EOF
69485    sed -f vpsed$$ $ac_file > tmp$$
69486    mv tmp$$ $ac_file
69487    rm vpsed$$
69488    echo 'MULTISUBDIR =' >> $ac_file
69489    ml_norecursion=yes
69490    . ${multi_basedir}/config-ml.in
69491    { ml_norecursion=; unset ml_norecursion;}
69492  ;;
69493     "po/Makefile":F) cat > vpsed$$ << \_EOF
69494 s!`test -f '$<' || echo '$(srcdir)/'`!!
69495 _EOF
69496    sed -f vpsed$$ $ac_file > tmp$$
69497    mv tmp$$ $ac_file
69498    rm vpsed$$
69499    echo 'MULTISUBDIR =' >> $ac_file
69500    ml_norecursion=yes
69501    . ${multi_basedir}/config-ml.in
69502    { ml_norecursion=; unset ml_norecursion;}
69503  ;;
69504     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69505 s!`test -f '$<' || echo '$(srcdir)/'`!!
69506 _EOF
69507    sed -f vpsed$$ $ac_file > tmp$$
69508    mv tmp$$ $ac_file
69509    rm vpsed$$
69510    echo 'MULTISUBDIR =' >> $ac_file
69511    ml_norecursion=yes
69512    . ${multi_basedir}/config-ml.in
69513    { ml_norecursion=; unset ml_norecursion;}
69514  ;;
69515     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69516
69517   esac
69518 done # for ac_tag
69519
69520
69521 as_fn_exit 0
69522 _ACEOF
69523 ac_clean_files=$ac_clean_files_save
69524
69525 test $ac_write_fail = 0 ||
69526   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69527
69528
69529 # configure is writing to config.log, and then calls config.status.
69530 # config.status does its own redirection, appending to config.log.
69531 # Unfortunately, on DOS this fails, as config.log is still kept open
69532 # by configure, so config.status won't be able to write to it; its
69533 # output is simply discarded.  So we exec the FD to /dev/null,
69534 # effectively closing config.log, so it can be properly (re)opened and
69535 # appended to by config.status.  When coming back to configure, we
69536 # need to make the FD available again.
69537 if test "$no_create" != yes; then
69538   ac_cs_success=:
69539   ac_config_status_args=
69540   test "$silent" = yes &&
69541     ac_config_status_args="$ac_config_status_args --quiet"
69542   exec 5>/dev/null
69543   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69544   exec 5>>config.log
69545   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69546   # would make configure fail if this is the last instruction.
69547   $ac_cs_success || as_fn_exit $?
69548 fi
69549 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69550   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69551 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69552 fi
69553